diff --git a/public/assets/dog.jpeg b/public/assets/dog.jpeg new file mode 100644 index 000000000..ca071a931 Binary files /dev/null and b/public/assets/dog.jpeg differ diff --git a/public/js/app.js b/public/js/app.js index fd6632358..7438c3fba 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+0tX":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Dashboard","join-a-team":"Sluit je aan bij een Team","create-a-team":"Maak een Team aan","your-teams":"Jouw Teams","leaderboard":"Team Scoreboard","settings":"Instellingen","teams-dashboard":"Teams Dashboard","photos-uploaded":"Foto\'s ge-upload","litter-tagged":"Afval voorzien van kenmerken","members-uploaded":"Teamleden hebben geupload","all-teams":"Alle Teams","times":{"today":"Vandaag","week":"Deze week","month":"Deze maand","year":"Dit jaar","all":"Alle tijden","created_at":"Geupload op","datetime":"Genomen op"}}')},"+2jo":function(t){t.exports=JSON.parse('{"what-about-litter":"E o lixo?","about2":"No momento, trilhões de pontas de cigarro com ponta de plástico estão sugando produtos químicos tóxicos e microplásticos para o meio ambiente.","about3":"O resultado?","about4":"Grandes quantidades de nicotina e outros produtos químicos tóxicos são liberados.","about5":"Esses produtos químicos tóxicos se bioacumulam em várias plantas e animais. Alguns dos quais comemos.","about6":"Uma emergência ambiental está ao nosso alcance.","about7":"Você pode nos ajudar a corrigir isso contribuindo para o OpenLitterMap.","about8":"Basta tirar uma foto, colocar uma tag e carregá-la.","about9":"Eu quero ajudar!","about9a":"Basta tirar uma foto","about9b":"Colocar uma tag no lixo","about9c":"Fazer o upload","about10":"Todos os anos, milhões de toneladas de plástico trafegam da terra para o mar.","about11":"Onde se torna significativamente mais prejudicial, mais difícil e mais caro de remover.","about12":"A ilusão de \\"limpesa urbana\\"","about13":"é facilitado pelo projeto de infraestrutura.","about14":"Os dados OpenLitterMap são","about14a":"Dados Abertos","about14b":"Isso significa que qualquer pessoa pode baixar os dados gratuitamente e usá-los para qualquer finalidade, sem permissão.","about15":"Dados abertos são essenciais para trazer transparência, democracia e responsabilidade para a ciência sobre poluição. Caso contrário, quem terá permissão para usar os dados?","about16":"OpenLitterMap capacita você com as ferramentas para você se tornar um cidadão cientista.","about17":"Você agora está autorizado a contribuir para a produção de conhecimento geoespacial sobre o nosso mundo. Isso tem o potencial de transformar o comportamento público e institucional.","about17a":"Nossos dados são mapeados por Espaço, Tempo, Localização e Comportamento.","about17b":"Confira esta incrível extensão de Dados Livres e Abertos sobre a poluição causada pelos produtos de um punhado de corporações globais","about17c":"Quer baixar os dados?","about18":"A produção de conhecimento geoespacial já foi realizada exclusivamente por grandes instituições e pessoas de poder.","about19":"Como um cidadão cientista, ","about20":"você pode criar conhecimento. ","about21":"Esta é uma mudança de paradigma na forma como as informações geográficas conhecidas são criadas sobre o nosso mundo.","about22":"Como ajudar:","about23":"Junte-se hoje!","about24":"Ative a marcação geográfica em seu dispositivo. As instruções sobre como fazer isso são enviadas em um e-mail de boas-vindas quando você se inscreve.","about25":"Você pode mapear qualquer coisa, desde uma única bituca de cigarro até o conteúdo de uma praia inteira ou rua limpa em 1 foto.","about26":"Se houver lixo demais e for incalculável, simplesmente use a categoria Dumping e avalie a área de 1-100 ou escolha \\"Lixo Aleatório\\" em \\"Outra\\" categoria","about27":"Se você deseja criar mapas realmente poderosos, tire o máximo de fotos possível. Ou, se não tiver tempo, pode registrar quantos itens quiser em uma única foto.","about28":"Imagens e conteúdos verificados serão adicionados automaticamente ao banco de dados, analisados quantitativamente e geoespacialmente e disponíveis para visualização pública para que o mundo veja!","about29":"Ajude-nos a comunicar os problemas e soluções para impedir que o plástico chegue ao oceano.","about29a":"Se você gosta do nosso trabalho e gostaria de apoiar, por favor, participe do crowdfunding","about30":"Junte-se ao Open Litter Map para criar um mundo com menos","about301":"isso","about302":"e isso...","about31":"Só em 2010, estima-se que pelo menos 8 milhões de toneladas de plástico foram para o oceano. Isso é uma média de 916 toneladas por hora.","about32":"Uma amostra do que está flutuando nos oceanos","about33":"A poluição do plástico é atualmente responsável pela morte anual de cerca de 1 milhão de pássaros e 100.000 mamíferos marinhos anualmente.","about34":"Em 2025, a quantidade de plástico que entra no oceano deve aumentar para 70 milhões de toneladas, assumindo que as tendências atuais continuem.","about35":"Eu quero ajudar!"}')},"+2sq":function(t,e,n){var i=n("ia29");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+4ci":function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Verify Photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Verify Boxes","about":"Acerca","global-map":"Mapa Global","world-cup":"Copa Mundial","community":"Comunidad","upload":"Subir","more":"Más","tag-litter":"Etiquetar Basura","profile":"Perfil","settings":"Ajustes","bounding-boxes":"Bounding Boxes","logout":"Cerrar Sesión","login":"Iniciar Sesión","signup":"Registrarse","teams":"Equipos"}')},"+7PB":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Plastic pollution is out of control","fires-out-of-control":"Cigarette butts can start fires","climate-change-out-of-control":"Plastic is increasing climate change","help-us":"Help us create the world\'s most advanced open database on litter, brands & plastic pollution","why-collect-data":"Why should we collect data","visibility":"Visibility","our-maps-reveal-litter-normality":"For many people, litter has become normal and invisible. Maps are powerful because they communicate what we cannot usually see","science":"Problem solving","our-data-open-source":"Our data is open and accessible. Everyone has equal, open and unlimited rights to download all of our data and use it for any purpose","community":"Community","must-work-together":"We need your help to create a paradigm shift in how we understand and respond to pollution","how-does-it-work":"How does it work","take-a-photo":"Take a photo","device-captures-info":"Your device can capture valuable information about the location, time, object, material and brand.","tag-the-litter":"Tag the litter","tag-litter-you-see":"Just tag what litter you see in the photo. You can tag if the litter has been picked up or if it\'s still there. You can upload your photos anytime","share-results":"Share your results","share":"Share the maps or download our data. Let\'s show everyone how badly polluted the world really is","verified":"Your email has been confirmed! You can now log in.","close":"Close","our-partners":"Our Partners","become-a-partner":"Become a partner"}')},"+7ij":function(t){t.exports=JSON.parse('{"finance":"Financier de ontwikkeling van OpenLitterMap","help":"We hebben jouw hulp nodig.","support":"Steun Open Data over Plastic Pollution","help-costs":"Help ons onze kosten te dekken","help-hire":"Huur ontwikkelaars, ontwerpers en afgestudeerden in","help-produce":"Maak videos","help-write":"Schrijf documenten","help-outreach":"Conferenties & outreach","help-incentivize":"Stimulier data verzamelen door Littercoin","more-soon":"Meer spannende updates volgen snel","click-to-support":"Klik hier om te helpen"}')},"+BMQ":function(t,e,n){var i=n("3xMu");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+BrE":function(t){t.exports=JSON.parse('{"card-number":"Kártyaszám","card-holder":"Kártyabirtokos Neve","exp":"Lejárati dátum","cvv":"CVV","placeholders":{"card-number":"16 jegyű kártyaszáma","card-holder":"Kártyabirtokos Neve","exp-month":"Hónap","exp-year":"Év","cvv":"***"}}')},"+Fkb":function(t,e,n){var i=n("UBjI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+LEQ":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a={name:"MapsPrivacy",computed:{maps_name:{get:function(){return this.$store.getters.user.show_name_maps},set:function(t){this.$store.commit("changePrivacy",{column:"show_name_maps",v:t})}},maps_username:{get:function(){return this.$store.getters.user.show_username_maps},set:function(t){this.$store.commit("changePrivacy",{column:"show_username_maps",v:t})}}}},o=n("KHd+"),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.maps"))+":\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.maps_name,expression:"maps_name"}],attrs:{id:"settings_maps_change_name",name:"settings_maps_change_name",type:"checkbox"},domProps:{checked:Array.isArray(t.maps_name)?t._i(t.maps_name,null)>-1:t.maps_name},on:{change:function(e){var n=t.maps_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.maps_name=n.concat([null])):a>-1&&(t.maps_name=n.slice(0,a).concat(n.slice(a+1)))}else t.maps_name=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_maps_change_name"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.maps_username,expression:"maps_username"}],attrs:{id:"settings_maps_change_username",name:"settings_maps_change_username",type:"checkbox"},domProps:{checked:Array.isArray(t.maps_username)?t._i(t.maps_username,null)>-1:t.maps_username},on:{change:function(e){var n=t.maps_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.maps_username=n.concat([null])):a>-1&&(t.maps_username=n.slice(0,a).concat(n.slice(a+1)))}else t.maps_username=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_maps_change_username"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")])]),t._v(" "),n("div",{staticClass:"mb1"},[t.maps_name&&t.maps_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n Both your name and username will appear on each image you upload to the maps.\n ")]):t.maps_name&&!t.maps_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-imgs-yes"))+"\n ")]):!t.maps_name&&t.maps_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.username-imgs-yes"))+"\n ")]):t.maps_name||t.maps_username?t._e():n("h1",{staticClass:"failed-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-username-map-no"))+"\n ")])])])}),[],!1,null,null,null).exports,l={name:"LeaderboardsPrivacy",computed:{leaderboard_name:{get:function(){return this.$store.getters.user.show_name},set:function(t){this.$store.commit("changePrivacy",{column:"show_name",v:t})}},leaderboard_username:{get:function(){return this.$store.getters.user.show_username},set:function(t){this.$store.commit("changePrivacy",{column:"show_username",v:t})}}}},u=Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.leaderboards"))+":\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.leaderboard_name,expression:"leaderboard_name"}],attrs:{id:"settings_privacy_leaderboards_name",name:"settings_privacy_leaderboards_name",type:"checkbox"},domProps:{checked:Array.isArray(t.leaderboard_name)?t._i(t.leaderboard_name,null)>-1:t.leaderboard_name},on:{change:function(e){var n=t.leaderboard_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.leaderboard_name=n.concat([null])):a>-1&&(t.leaderboard_name=n.slice(0,a).concat(n.slice(a+1)))}else t.leaderboard_name=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_leaderboards_name"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-my-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.leaderboard_username,expression:"leaderboard_username"}],attrs:{id:"settings_privacy_leaderboards_username",name:"settings_privacy_leaderboards_username",type:"checkbox"},domProps:{checked:Array.isArray(t.leaderboard_username)?t._i(t.leaderboard_username,null)>-1:t.leaderboard_username},on:{change:function(e){var n=t.leaderboard_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.leaderboard_username=n.concat([null])):a>-1&&(t.leaderboard_username=n.slice(0,a).concat(n.slice(a+1)))}else t.leaderboard_username=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_leaderboards_username"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-my-username"))+"\n ")])]),t._v(" "),n("div",{staticClass:"mb1"},[t.leaderboard_name&&t.leaderboard_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n Both your name and username will appear on the Leaderboards. Good luck!\n ")]):t.leaderboard_name&&!t.leaderboard_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-leaderboards-yes"))+"\n ")]):!t.leaderboard_name&&t.leaderboard_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.username-leaderboards-yes"))+"\n ")]):t.leaderboard_name||t.leaderboard_username?t._e():n("h1",{staticClass:"failed-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-username-leaderboards-no"))+"\n ")])])])}),[],!1,null,null,null).exports,c={name:"CreatedByPrivacy",computed:{createdby_name:{get:function(){return this.$store.getters.user.show_name_createdby},set:function(t){this.$store.commit("changePrivacy",{column:"show_name_createdby",v:t})}},createdby_username:{get:function(){return this.$store.getters.user.show_username_createdby},set:function(t){this.$store.commit("changePrivacy",{column:"show_username_createdby",v:t})}}}},h=Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.created-by"))+":\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createdby_name,expression:"createdby_name"}],attrs:{id:"settings_privacy_createdby_name",name:"settings_privacy_createdby_name",type:"checkbox"},domProps:{checked:Array.isArray(t.createdby_name)?t._i(t.createdby_name,null)>-1:t.createdby_name},on:{change:function(e){var n=t.createdby_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.createdby_name=n.concat([null])):a>-1&&(t.createdby_name=n.slice(0,a).concat(n.slice(a+1)))}else t.createdby_name=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_createdby_name"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.createdby_username,expression:"createdby_username"}],attrs:{id:"settings_privacy_createdby_username",name:"settings_privacy_createdby_username",type:"checkbox"},domProps:{checked:Array.isArray(t.createdby_username)?t._i(t.createdby_username,null)>-1:t.createdby_username},on:{change:function(e){var n=t.createdby_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.createdby_username=n.concat([null])):a>-1&&(t.createdby_username=n.slice(0,a).concat(n.slice(a+1)))}else t.createdby_username=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_createdby_username"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")])]),t._v(" "),n("div",{staticClass:"mb1"},[t.createdby_name&&t.createdby_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n Both your name and username will appear in the Created By section of any new locations you create by being the first to upload.\n ")]):t.createdby_name&&!t.createdby_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-locations-yes"))+"\n ")]):!t.createdby_name&&t.createdby_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.username-locations-yes"))+"\n ")]):t.createdby_name||t.createdby_username?t._e():n("h1",{staticClass:"failed-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-username-locations-yes"))+"\n ")])])])}),[],!1,null,null,null).exports,d={name:"PreventOthersTaggingMyPhotos",computed:{prevent_others_tagging_my_photos:{get:function(){return this.$store.getters.user.prevent_others_tagging_my_photos},set:function(t){this.$store.commit("changePrivacy",{column:"prevent_others_tagging_my_photos",v:t})}}}};function p(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var f={name:"Privacy",components:{PreventOthersTaggingMyPhotos:Object(o.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n Prevent others tagging my photos:\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.prevent_others_tagging_my_photos,expression:"prevent_others_tagging_my_photos"}],attrs:{id:"settings_privacy_prevent_others_tagging_my_photos",name:"settings_privacy_prevent_others_tagging_my_photos",type:"checkbox"},domProps:{checked:Array.isArray(t.prevent_others_tagging_my_photos)?t._i(t.prevent_others_tagging_my_photos,null)>-1:t.prevent_others_tagging_my_photos},on:{change:function(e){var n=t.prevent_others_tagging_my_photos,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.prevent_others_tagging_my_photos=n.concat([null])):a>-1&&(t.prevent_others_tagging_my_photos=n.slice(0,a).concat(n.slice(a+1)))}else t.prevent_others_tagging_my_photos=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_prevent_others_tagging_my_photos"}},[t._v("\n Prevent others tagging my photos\n ")])])])}),[],!1,null,null,null).exports,MapsPrivacy:s,LeaderboardsPrivacy:u,CreatedByPrivacy:h},data:function(){return{processing:!1}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SAVE_PRIVACY_SETTINGS");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){p(a,i,r,o,s,"next",t)}function s(t){p(a,i,r,o,s,"throw",t)}o(void 0)}))})()}}},m=Object(o.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.change-privacy"))+"\n ")]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column one-third is-offset-1"},[n("div",{staticClass:"field"},[n("MapsPrivacy"),t._v(" "),n("LeaderboardsPrivacy"),t._v(" "),n("CreatedByPrivacy"),t._v(" "),n("PreventOthersTaggingMyPhotos")],1),t._v(" "),n("button",{staticClass:"button is-medium is-info",class:t.processing?"is-loading":"",attrs:{disabled:t.processing},on:{click:t.submit}},[t._v("\n "+t._s(t.$t("settings.privacy.update"))+"\n ")])])])])}),[],!1,null,null,null);e.default=m.exports},"+Vbd":function(t,e,n){"use strict";n.r(e);var i,r,a,o,s,l,u,c,h,d,p,f,m,g,v,y=n("o0o1"),_=n.n(y),b=n("kGIl"),w=n.n(b),x=(n("5A0h"),n("4R65")),k=n.n(x),C=n("Kuz/"),T=n("gaDp"),E=n("ZoWG"),S=n("gBxo");function P(t){return t>60?"#800026":t>20?"#BD0026":t>10?"#E31A1C":t>4?"#FD8D3C":t>2?"#FED976":"#FFEDA0"}function L(t){return{weight:2,opacity:1,color:"white",dashArray:"3",fillOpacity:.7,fillColor:P(t.properties.total)}}function I(t,e){e.on({mouseover:O,mouseout:A,click:M})}function O(t){var e=t.target;e.setStyle({weight:5,color:"#666",dashArray:"",fillOpacity:.7}),k.a.Browser.ie||k.a.Browser.opera||k.a.Browser.edge||e.bringToFront(),r.update(e.feature.properties)}function A(t){a.resetStyle(t.target),r.update()}function M(t){}var z={name:"CityMap",mounted:function(){i=k.a.map(this.$refs.map,{center:this.$store.state.citymap.center,zoom:this.$store.state.citymap.zoom,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1});var t=(new Date).getFullYear();if(k.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:20,minZoom:1}).addTo(i),i.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+t),this.geojson){a=k.a.geoJson(this.aggregate,{style:L,onEachFeature:I,filter:function(t,e){if(t.properties.values.length>0){for(var n=0,i=0;i0}}).addTo(i),(r=k.a.control()).onAdd=function(t){return this._div=k.a.DomUtil.create("div","info"),this.update(),this._div};var e=this.$t("locations.cityVueMap.meter-hex-grids"),n=this.$t("locations.cityVueMap.hover-to-count"),o=this.$t("locations.cityVueMap.pieces-of-litter"),s=this.$t("locations.cityVueMap.hover-polygons-to-count"),l=this.hex;r.update=function(t){this._div.innerHTML="

"+l+" ".concat(e,"

")+(t?"".concat(n,"
")+t.total+" ".concat(o):"".concat(s,"."))},r.addTo(i);var u=k.a.control({position:"bottomleft"});u.onAdd=function(t){for(var e,n,i=k.a.DomUtil.create("div","info legend"),r=[1,3,6,10,20],a=[],o=0;o '+e+(n?"–"+n:"+"));return i.innerHTML=a.join("
"),i},u.addTo(i)}this.addDataToLayerGroups()},computed:{aggregate:function(){var t=C.bbox(this.geojson),e=C.hexGrid(t,this.hex,"meters");return e=JSON.parse(JSON.stringify(e)),C.collect(e,this.geojson,"total_litter","values")},center:function(){return this.$store.state.citymap.center},geojson:function(){return this.$store.state.citymap.data},hex:function(){return this.$store.state.citymap.hex},zoom:function(){return this.$store.state.citymap.zoom}},methods:{addDataToLayerGroups:function(){o=new k.a.LayerGroup,s=new k.a.LayerGroup,l=new k.a.LayerGroup,u=new k.a.LayerGroup,c=(new k.a.LayerGroup).addTo(i),h=new k.a.LayerGroup,d=new k.a.LayerGroup,p=new k.a.LayerGroup,f=new k.a.LayerGroup,m=new k.a.LayerGroup,g=new k.a.LayerGroup,v=new k.a.LayerGroup;var t={smoking:o,food:s,coffee:l,alcohol:u,softdrinks:c,sanitary:h,other:d,coastal:p,brands:f,dogshit:m,industrial:v,dumping:g};this.geojson.features.map((function(e){T.a.map((function(n){e.properties[n]&&E.a[n].map((function(i){e.properties[n][i]&&k.a.marker([e.properties.lat,e.properties.lon]).addTo(t[n]).bindPopup(S.a.getMapImagePopupContent(e.properties),S.a.popupOptions)}))}))}));var e={Alcohol:u,Brands:f,Coastal:p,Coffee:l,Dumping:g,Food:s,Industrial:v,Other:d,PetSurprise:m,Sanitary:h,Smoking:o,SoftDrinks:c};k.a.control.layers(null,e).addTo(i)}}},N=(n("pMqV"),n("KHd+")),D=Object(N.a)(z,(function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"map",attrs:{id:"hexmap"}})}),[],!1,null,"76e1f7e6",null).exports;function R(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var j={name:"CityMapContainer",components:{Loading:w.a,CityMap:D},data:function(){return{loading:!0}},created:function(){var t,e=this;return(t=_.a.mark((function t(){var n,i,r,a;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=window.location.href.split("/"),i=null,r=null,a=null,11===n.length&&(i=n[8],r=n[9],a=n[10]),t.next=8,e.$store.dispatch("GET_CITY_DATA",{city:n[6],min:i,max:r,hex:a});case 8:e.loading=!1;case 9:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){R(a,i,r,o,s,"next",t)}function s(t){R(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},F=(n("56GE"),Object(N.a)(j,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cmc"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("CityMap")],1)}),[],!1,null,"5b5ada14",null));e.default=F.exports},"+XkP":function(t){t.exports=JSON.parse('{"change-details":"Changer les Données Personnelles","your-name":"Votre nom","unique-id":"Identifiant Unique","email":"E-mail","update-details":"Mise à jour des données"}')},"+fPF":function(t){t.exports=JSON.parse('{"delete-account":"Deletar Minha Donta","delete-account?":"Você quer deletar sua conta?","enter-password":"Informe sua senha"}')},"+iHb":function(t,e,n){"use strict";var i=n("5wWY");n.n(i).a},"+uFM":function(t){t.exports=JSON.parse('{"de":{"name":"Germany","lang":"German"},"en":{"name":"UK","lang":"English"},"es":{"name":"Spain","lang":"Español"},"fr":{"name":"France","lang":"French"},"hu":{"name":"Magyarország","lang":"Magyar"},"ie":{"name":"Ireland","lang":"Irish"},"it":{"name":"Italy","lang":"Italian"},"ms":{"name":"Malaysia","lang":"Malay"},"nl":{"name":"Nederland","lang":"Nederlands"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkey","lang":"Turkish"},"uk":{"name":"UK","lang":"English"}}')},"+z9b":function(t){t.exports=JSON.parse('{"allowed-to-create":"Você tem permissão para criar {teams} equipe(s)","what-kind-of-team":"Que tipo de Equipe você gostari de criar?","team-type":"Tipo da Equipe","team-name":"Nome da Equipe","my-awesome-team-placeholder":"Minha Equipe Incrível","unique-team-id":"Identificador de equipe exclusivo","id-to-join-team":"Qualquer pessoa com este ID poderá participar da sua equipe.","create-team":"Criar Equipe","update-team":"Atualizar Equipe","created":"Parabéns! A sua nova equipe foir criada!","updated":"Equipe atualizada.","select-team":"Selecione uma equipe","fail":"Ocorreu um erro ao criar sua equipe","max-created":"Você não tem permissão para criar mais equipes."}')},"/6TC":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"#hexmap[data-v-76e1f7e6] {\n height: 100%;\n margin: 0;\n position: relative;\n z-index: 0;\n}",""])},"/HxI":function(t){t.exports=JSON.parse('{"ready-to-join":"Gotowy do przyłączenia się do rewolucji geoprzestrzennej?","join-subtitle":"Jeśli podoba Ci się nasza praca, OpenLitterMap przyda się twoja pomoc.","free-plan":"Darmowy","free-plan-feature1":"Prześlij 1000 obrazów dziennie.","free-plan-feature2":"Odblokuj odznaki + nagrody.","free-plan-feature3":"Zdobywaj Littercoin.","free-plan-feature4":"Rywalizuj w wielu różnych rankingach.","free-plan-join":"Wchodze w to","startup-plan":"STARTUP","startup-plan-donation":"5 € miesięcznie","startup-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","startup-plan-feature2":"Pomóż nam pokryć nasze koszty.","startup-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","startup-plan-join":"Wspieram to!","basic-plan":"BASIC","basic-plan-donation":"9,99 € miesięcznie","basic-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","basic-plan-feature2":"Pomóż nam pokryć nasze koszty.","basic-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","basic-plan-join":"Wspieram to!","advanced-plan":"ADVANCED","advanced-plan-donation":"€20 miesięcznie","advanced-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","advanced-plan-feature2":"Pomóż nam pokryć nasze koszty.","advanced-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","advanced-plan-join":"Wspieram to!","pro-plan":"PRO","pro-plan-donation":"€30 miesięcznie","pro-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","pro-plan-feature2":"Pomóż nam pokryć nasze koszty.","pro-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","pro-plan-join":"Wspieram to!"}')},"/iew":function(t){t.exports=JSON.parse('{"ready-to-join":"Készen áll, hogy csatlakozzon a térinformatikai forradalomhoz?","join-subtitle":"Ha tetszik a munkánk, az OpenLitterMap használni tudja a segítségedet.","free-plan":"INGYENES","free-plan-feature1":"Naponta 1000 kép feltöltése.","free-plan-feature2":"Jelvények és jutalmak feloldása.","free-plan-feature3":"Szerezz Littercoint.","free-plan-feature4":"Versenyezz több különböző ranglistán.","free-plan-join":"Benne vagyok","startup-plan":"KEZDŐ","startup-plan-donation":"€5 havonta","startup-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","startup-plan-feature2":"Segítsen költségeinket fedezni.","startup-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","startup-plan-join":"Támogatni fogom!","basic-plan":"ALAP","basic-plan-donation":"€9.99 havonta","basic-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","basic-plan-feature2":"Segítsen költségeinket fedezni.","basic-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","basic-plan-join":"Támogatni fogom!","advanced-plan":"HALADÓ","advanced-plan-donation":"€20 havonta","advanced-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","advanced-plan-feature2":"Segítsen költségeinket fedezni.","advanced-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","advanced-plan-join":"Támogatni fogom!","pro-plan":"PRO","pro-plan-donation":"€30 havonta","pro-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","pro-plan-feature2":"Segítsen költségeinket fedezni.","pro-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","pro-plan-join":"Komolyan szeretnék segíteni."}')},"/xHF":function(t){t.exports=JSON.parse('{"title":"Készen állsz?","subtitle":"Regisztráljon, és legyen szakértő szemét térképező, és segítsen legyőzni a műanyagszennyezést.","crowdfunding-message":"Kérjük, fontolja meg munkánk támogatását az OpenLitterMap közösségi finanszírozásával akár napi 6 centtel, havi előfizetéssel, hogy segítse ennek a fontos platformnak a növekedését és fejlesztését.","form-create-account":"Fiók létrehozása","form-field-name":"Név","form-field-unique-id":"Egyedi azonosító","form-field-email":"E-mail cím","form-field-password":"Jelszó. Tartalmaznia kell nagybetűt, kisbetűt és számot.","form-field-pass-confirm":"Jelszó megerősítése","form-account-conditions":"Elolvastam és elfogadom a Felhasználási feltételeket és az Adatvédelmi szabályzatot","form-btn":"Új fiók létrehozása","create-account-note":"Megjegyzés: Ha nem kapja meg az ellenőrző e-mailt a beérkező levelek között, kérjük, ellenőrizze a spam mappáját."}')},"/xT5":function(t){t.exports=JSON.parse('{"show-flag":"Montrer le drapeau du pays","top-10":"Top 10 des leaders mondiaux!","top-10-challenge":"Si vous atteignez le top 10, vous pourrez représenter votre pays!","action-select":"Écrivez ou faites défiler pour choisir dans la liste","select-country":"Choissez votre pays","save-flag":"Enregistrez le drapeau"}')},"/yRl":function(t,e,n){"use strict";var i={name:"Presence",computed:{pickedUp:function(){return this.$store.state.litter.pickedUp}},methods:{toggle:function(){this.$store.commit("togglePickedUp")}}},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"switch-container"},[e("p",{staticClass:"mr-2"},[e("strong",[this._v(this._s(this.$t("tags.picked-up-title")))])]),this._v(" "),e("label",{staticClass:"switch"},[e("input",{attrs:{type:"checkbox"},domProps:{checked:this.pickedUp},on:{change:this.toggle}}),this._v(" "),e("span",{staticClass:"slider round"})])])}),[],!1,null,"06133970",null);e.a=a.exports},0:function(t,e,n){n("bUC5"),t.exports=n("g57v")},"09JO":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"La contaminación por plásticos está fuera de control","fires-out-of-control":"Las colillas de cigarrillos pueden provocar incendios","climate-change-out-of-control":"El plástico está aumentando el cambio climático","help-us":"Ayúdanos a crear la base de datos abiertos sobre basura, marcas y contaminación por plásticos más avanzada del mundo","why-collect-data":"¿Por qué deberíamos recolectar estos datos","visibility":"Visibilidad","our-maps-reveal-litter-normality":"Para muchas personas, la basura se ha convertido en algo normal e invisible. Los mapas son poderosos instrumentos porque comunican lo que normalmente no podemos ver","science":"Resolución de problemas","our-data-open-source":"Nuestros datos son abiertos y accesibles. Todo el mundo tiene el mismo derecho, abierto e ilimitado para descargar todos nuestros datos y utilizarlos para cualquier fin","community":"Comunidad","must-work-together":"Necesitamos tu ayuda para crear un cambio de paradigma en la forma de entender y responder a la contaminación","how-does-it-work":"¿Cómo funciona","take-a-photo":"Haz una foto","device-captures-info":"Tu dispositivo móvil puede capturar información valiosa sobre la localización, la hora, el objeto, el material y la marca.","tag-the-litter":"Etiqueta la basura","tag-litter-you-see":"Sólo etiqueta la basura que ves en la foto. Puedes marcar si se ha recogido la basura o si todavía sigue ahí. ¡Puedes subir tus fotos en cualquier momento","share-results":"Comparte tus resultados","share":"Comparte los mapas o descarga nuestros datos. ¡Demostremos a todos cuán contaminado está realmente el mundo","verified":"¡Tu correo electrónico ha sido confirmado! Ahora ya puedes iniciar sesión","close":"Cerrar","our-partners":"Nuestros compañeros","become-a-partner":"Conviértete en un compañero"}')},"0Ajk":function(t){t.exports=JSON.parse('{"de":{"name":"Alemania","lang":"Aleman"},"en":{"name":"UK","lang":"English"},"es":{"name":"España","lang":"Español"},"fr":{"name":"Francia","lang":"Francés"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Irlanda","lang":"Irlandés"},"it":{"name":"Italia","lang":"Italiano"},"ms":{"name":"Malasia","lang":"Malayo"},"nl":{"name":"Holanda","lang":"Nederlands"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turquía","lang":"Turco"},"uk":{"name":"UK","lang":"English"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},"0NR4":function(t){t.exports=JSON.parse('{"ready-to-join":"¿Listo para unirte a la revolución geoespacial?","join-subtitle":"Si te gusta nuestro trabajo, OpenLitterMap puede hacer mucho con tu ayuda.","free-plan":"GRATIS","free-plan-feature1":"Sube 1000 imágenes por día.","free-plan-feature2":"Desbloquea Insignias + Recompensas.","free-plan-feature3":"Gana Littercoin.","free-plan-feature4":"Compite en varias tablas de clasificación diferentes","free-plan-join":"¡Estoy dentro!","startup-plan":"STARTUP","startup-plan-donation":"€5 por mes","startup-plan-feature1":"Financia el desarrollo de OpenLitterMap.","startup-plan-feature2":"Ayúdanos a cubrir nuestros costes","startup-plan-feature3":"Siéntate y disfruta de las actualizaciones.","startup-plan-join":"¡Quiero ayudar!","basic-plan":"BÁSICO","basic-plan-donation":"€9.99 por mes","basic-plan-feature1":"Financia el desarrollo de OpenLitterMap.","basic-plan-feature2":"Ayúdanos a cubrir nuestros costes","basic-plan-feature3":"Siéntate y disfruta de las actualizaciones.","basic-plan-join":"¡Quiero ayudar!","advanced-plan":"AVANZADO","advanced-plan-donation":"€20 por mes","advanced-plan-feature1":"Financia el desarrollo de OpenLitterMap.","advanced-plan-feature2":"Ayúdanos a cubrir nuestros costes","advanced-plan-feature3":"Siéntate y disfruta de las actualizaciones.","advanced-plan-join":"¡Quiero ayudar!","pro-plan":"PRO","pro-plan-donation":"€30 por mes","pro-plan-feature1":"Financia el desarrollo de OpenLitterMap.","pro-plan-feature2":"Ayúdanos a cubrir nuestros costes","pro-plan-feature3":"Siéntate y disfruta de las actualizaciones.","pro-plan-join":"¡Esto es asunto serio!"}')},"0Oxq":function(t,e,n){"use strict";var i=n("VFG2");n.n(i).a},"0R12":function(t,e,n){"use strict";var i=n("Jqis");n.n(i).a},"0TQV":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),{name:"BrandsBox",computed:{brands:{get:function(){return this.$store.state.bbox.brands},set:function(t){this.$store.commit("setBrandsBox",t)}},selectedBrandIndex:function(){return this.$store.state.bbox.selectedBrandIndex}},methods:{brandClass:function(t){return this.selectedBrandIndex===t?"is-brand-card selected":"is-brand-card"},isSelected:function(t){return this.selectedBrandIndex===t?" - selected":""},select:function(t){this.$store.commit("selectBrandBoxIndex",t)}}}),l=(n("LB33"),n("KHd+")),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fit-content",on:{click:function(t){t.stopPropagation()}}},[n("p",{directives:[{name:"show",rawName:"v-show",value:t.brands.length>0,expression:"brands.length > 0"}]},[t._v("Select a brand to add to a box")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:null!==t.selectedBrandIndex,expression:"selectedBrandIndex !== null"}],staticClass:"mb1"},[t._v("When a box is selected, click a box to add the brand")]),t._v(" "),t._l(t.brands,(function(e,i){return n("div",{key:e+i,class:t.brandClass(i),on:{mousedown:function(e){return t.select(i)}}},[t._v(t._s(e)+" "+t._s(t.isSelected(i)))])}))],2)}),[],!1,null,"6090c5f2",null).exports,c={name:"Boxes",components:{BrandsBox:u},computed:{boxes:function(){return this.$store.state.bbox.boxes},boxHidden:function(){return this.$store.state.bbox.boxes.find((function(t){return t.hidden}))},manyBoxes:function(){return this.$store.state.bbox.boxes.length>1}},methods:{activateAndCheckBox:function(t){this.$store.commit("activateBox",t),null!==this.$store.state.bbox.selectedBrandIndex&&this.$store.commit("addSelectedBrandToBox",t)},boxClass:function(t){return t?"is-box is-active":"is-box"},duplicate:function(t){this.$store.commit("duplicateBox",t)},getCategories:function(t){var e=[];return Object.entries(t).map((function(t){Object.keys(t[1]).length>0&&e.push({category:t[0],tags:t[1]})})),e},getCategory:function(t){return this.$i18n.t("litter.categories."+t)},getTags:function(t,e){return this.$i18n.t("litter."+t+"."+e)+": 1"},hideInactive:function(){this.$store.commit("toggleHiddenBoxes")},removeTag:function(t,e){this.$store.commit("removeBboxTag",{category:t,tag_key:e})},rotate:function(t){this.$store.commit("rotateBox",t)},showAll:function(){this.$store.commit("showAllBoxes")},toggleLabel:function(t){this.$store.commit("toggleBoxLabel",t)}}},h=(n("nvJ6"),Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"column is-one-third pl3 pt7"},[n("BrandsBox"),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.manyBoxes,expression:"manyBoxes"}],staticClass:"button is-small is-primary mb1",on:{click:function(e){return e.stopPropagation(),t.hideInactive(e)}}},[t._v("Hide boxes")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.boxHidden,expression:"boxHidden"}],staticClass:"button is-small is-info mb1",on:{click:t.showAll}},[t._v("Show boxes")]),t._v(" "),t._l(t.boxes,(function(e,i){return n("div",{key:e.id,class:t.boxClass(e.active),on:{click:function(n){return n.stopPropagation(),t.activateAndCheckBox(e.id)}}},[n("p",{staticClass:"ma"},[t._v("Box: "),n("span",{staticClass:"is-bold"},[t._v(t._s(e.id))])]),t._v(" "),n("button",{staticClass:"button is-small duplicate-box",attrs:{disabled:""},on:{click:function(n){return t.duplicate(e.id)}}},[t._v("Todo - Duplicate Box")]),t._v(" "),n("button",{staticClass:"button is-small toggle-box",on:{click:function(n){return t.toggleLabel(e.id)}}},[t._v("Toggle Label")]),t._v(" "),n("button",{staticClass:"button is-small is-dark rotate-box",on:{click:function(n){return t.rotate(e.id)}}},[t._v("Rotate")]),t._v(" "),n("p",[t._v("Left: "+t._s(e.left))]),t._v(" "),n("p",[t._v("Top: "+t._s(e.top))]),t._v(" "),n("p",[t._v("Width: "+t._s(e.width))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Height: "+t._s(e.height))]),t._v(" "),n("div",{staticClass:"container"},[n("div",{staticClass:"box-categories"},[n("span",{staticClass:"box-category"},[t._v(t._s(t.getCategory(e.category)))]),t._v(" "),n("span",{staticClass:"tag is-medium is-info box-label",domProps:{innerHTML:t._s(t.getTags(e.category,e.tag))},on:{click:function(n){return t.removeTag(e.category,e.tag)}}}),t._v(" "),e.brand?n("div",[n("p",{staticClass:"box-category"},[t._v("Brand")]),t._v(" "),n("span",{staticClass:"tag is-medium is-info box-label w100",domProps:{innerHTML:t._s(t.getTags("brands",e.brand))},on:{click:function(n){return t.removeTag("brands",e.brand)}}})]):t._e()])])])}))],2)}),[],!1,null,"4bd574db",null).exports),d=n("vne5"),p=n("n2md"),f=n("O1jo"),m=n.n(f),g=n("5n2/"),v=n.n(g);function y(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function _(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){y(a,i,r,o,s,"next",t)}function s(t){y(a,i,r,o,s,"throw",t)}o(void 0)}))}}var b={name:"BoundingBox",components:{Loading:o.a,Tags:d.a,AddTags:p.a,Boxes:h,VueDragResize:m.a,BrandsBox:u},directives:{ClickOutside:v.a},created:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.innerWidth<1e3&&(t.isMobile=!0,t.stickSize=30),window.location.href.includes("verify")?(t.isVerifying=!0,t.$store.dispatch("GET_NEXT_BOXES_TO_VERIFY")):t.$store.dispatch("GET_NEXT_BBOX");case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{stickSize:6,skip_processing:!1,update_processing:!1,wrong_tags_processing:!1,isMobile:!1,isVerifying:!1}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){var n=e.key;"ArrowUp"===n?(e.preventDefault(),t.$store.commit("moveBoxUp")):"ArrowRight"===n?(e.preventDefault(),t.$store.commit("moveBoxRight")):"ArrowDown"===n?(e.preventDefault(),t.$store.commit("moveBoxDown")):"ArrowLeft"===n&&(e.preventDefault(),t.$store.commit("moveBoxLeft"))}))},computed:{boxes:function(){return this.$store.state.bbox.boxes},disabled:function(){return this.skip_processing||this.update_processing||this.wrong_tags_processing},getTitle:function(){return this.isVerifying?"Verify boxes for image # ".concat(this.imageId):"Add bounding box to image # ".concat(this.imageId)},image:function(){return"backgroundImage: url("+this.$store.state.admin.filename+")"},imageId:function(){return this.$store.state.admin.id},isAdmin:function(){return this.$store.state.user.admin||this.$store.state.user.helper},littercoinEarned:function(){return this.$store.state.user.user.littercoin_owed+this.$store.state.user.user.littercoin_allowance},littercoinProgress:function(){return this.$store.state.user.user.bbox_verification_count+"%"},loading:function(){return this.$store.state.admin.loading},skipButton:function(){var t="button is-medium is-warning mt1 ";return this.skip_processing?t+" is-loading":t},totalBoxCount:function(){return this.$store.state.bbox.totalBoxCount},usersBoxCount:function(){return this.$store.state.bbox.usersBoxCount},updateButton:function(){var t="button is-medium is-primary mt1 ";return this.update_processing?t+"is-loading":t},wrongTagsButton:function(){var t="button is-medium is-primary mt1 ";return this.wrong_tags_processing?t+"is-loading":t}},methods:{activated:function(t){this.$store.commit("activateBox",t)},boxText:function(t,e,n,i){return e?this.$t("litter.".concat(n,".").concat(i)):t},deactivate:function(){this.$store.commit("deactivateBoxes")},dragging:function(t){this.$store.commit("updateBoxPosition",t)},resize:function(t){this.stickSize=1,this.$store.commit("updateBoxPosition",t)},resizestop:function(){this.stickSize=this.isMobile?30:6},skip:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.skip_processing=!0,e.next=3,t.$store.dispatch("BBOX_SKIP_IMAGE",t.isVerifying);case 3:t.skip_processing=!1;case 4:case"end":return e.stop()}}),e)})))()},update:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.update_processing=!0,e.next=3,t.$store.dispatch("BBOX_UPDATE_TAGS");case 3:t.update_processing=!1;case 4:case"end":return e.stop()}}),e)})))()},wrongTags:function(){this.wrong_tags_processing=!0,this.$store.dispatch("BBOX_WRONG_TAGS"),this.wrong_tags_processing=!1}}},w=(n("WA2R"),Object(l.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"relative h100",on:{click:t.deactivate}},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"columns mt1"},[n("Boxes"),t._v(" "),n("div",{staticClass:"column is-one-third"},[n("h1",{staticClass:"title is-2 has-text-centered"},[t._v(t._s(t.getTitle))]),t._v(" "),n("div",{staticClass:"display-inline-grid",on:{click:function(t){t.stopPropagation()}}},[n("div",{ref:"img",style:t.image,attrs:{id:"image-wrapper"}},t._l(t.boxes,(function(e){return n("VueDragResize",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"! box.hidden"}],key:e.id,attrs:{w:e.width,h:e.height,x:e.left,y:e.top,isActive:e.active,minw:5,minh:5,stickSize:t.stickSize,parentLimitation:!0,z:e.id},on:{clicked:function(n){return t.activated(e.id)},dragging:t.dragging,resizing:t.resize,resizestop:t.resizestop}},[n("p",{staticClass:"box-tag"},[t._v(t._s(t.boxText(e.id,e.showLabel,e.category,e.tag)))])])})),1),t._v(" "),n("add-tags",{directives:[{name:"show",rawName:"v-show",value:t.isAdmin,expression:"isAdmin"}],attrs:{id:t.imageId,annotations:!0,isVerifying:t.isVerifying,"show-custom-tags":!1}})],1)]),t._v(" "),n("div",{staticClass:"column is-2 is-offset-1 has-text-centered"},[n("Tags",{attrs:{admin:t.isAdmin}}),t._v(" "),t.isAdmin?n("button",{class:t.updateButton,attrs:{disabled:t.disabled},on:{click:t.update}},[t._v("Update Tags")]):n("button",{class:t.wrongTagsButton,attrs:{disabled:t.disabled},on:{click:t.wrongTags}},[t._v("Wrong Tags")]),t._v(" "),n("button",{class:t.skipButton,attrs:{disabled:t.disabled},on:{click:t.skip}},[t._v("Cannot use this image")])],1)],1),t._v(" "),n("div",{staticClass:"littercoin-pos"},[n("p",[t._v("Your boxes: "+t._s(this.usersBoxCount))]),t._v(" "),n("p",[t._v("Total Boxes: "+t._s(this.totalBoxCount))]),t._v(" "),n("p",[t._v("Littercoin earned: "+t._s(this.littercoinEarned))]),t._v(" "),n("p",[t._v("Next Littercoin: "+t._s(this.littercoinProgress))])])],1)}),[],!1,null,null,null));e.default=w.exports},"0a/T":function(t,e,n){"use strict";var i=n("jX4s");n.n(i).a},"0pvQ":function(t,e,n){var i=n("NPqV");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"11sb":function(t,e,n){"use strict";var i=n("5H76");n.n(i).a},"15/P":function(t){t.exports=JSON.parse('{"login-btn":"Inloggen","signup-text":"Aanmelden","forgot-password":"Wachtwoord vergeten?"}')},"15wQ":function(t){t.exports=JSON.parse('{"address":"Address","add-tag":"Add Tag","coordinates":"Coordinates","device":"Device","next":"Next Image","no-tags":"You don\'t have anything to tag at the moment.","picked-up-title":"Picked Up?","please-upload":"Upload more photos","previous":"Previous Image","removed":"The litter has been removed","still-there":"The litter is still there","taken":"Taken","to-tag":"Images left to tag","total-uploaded":"Total images uploaded","uploaded":"Uploaded","confirm-delete":"Do you want to delete this image? This cannot be undone.","recently-tags":"Recently used tags: ","clear-tags":"Clear recent tags?","clear-tags-btn":"Clear recent tags","search-all-tags":"Press Ctrl + Spacebar to Search All Tags","search-custom-tags":"Add your own tags","custom-tags":"Custom Tags","custom-tags-min":"It needs to be at least 3 characters long.","custom-tags-max":"It needs to be at most 100 characters long.","tag-already-added":"Tag already added.","tag-limit-reached":"You can upload up to 3 custom tags."}')},"1C7U":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.captcha {\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n.call-container {\n padding-top: 5em;\n margin-bottom: 2em;\n margin-left: auto;\n margin-right: auto;\n max-width: 50em;\n}\n.field {\n padding-top: 0.5em;\n}\n.input-group {\n\t\tpadding-bottom: 1em;\n}\n.signup-container {\n margin: auto;\n width: 35em;\n}\n\n /* Small screens */\n@media only screen and (max-width: 600px)\n {\n.call-container {\n padding: 2em 1em;\n margin-bottom: 0 !important;\n}\n.signup-container {\n width: 20em;\n}\n}\n\n",""])},"1Fcm":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),n("wd/R")),l=n.n(s),u=n("n2md"),c=n("vne5"),h=n("8bp/");function d(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){d(a,i,r,o,s,"next",t)}function s(t){d(a,i,r,o,s,"throw",t)}o(void 0)}))}}var f={name:"VerifyPhotos",components:{Loading:o.a,AddTags:u.a,Tags:c.a,RecentTags:h.a},created:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO");case 3:t.loading=!1;case 4:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0,processing:!1,btn:"button is-large is-success",deleteButton:"button is-large is-danger mb1 tooltip",deleteVerify:"button is-large is-warning mb1 tooltip",verifyClass:"button is-large is-success mb1 tooltip",selectedCountry:""}},computed:{checkUpdateTagsDisabled:function(){return!(!this.processing&&!1!==this.$store.state.litter.hasAddedNewTag)},delete_button:function(){return this.processing?this.deleteButton+" is-loading":this.deleteButton},delete_verify_button:function(){return this.processing?this.deleteVerify+" is-loading":this.deleteVerify},photo:function(){return this.$store.state.admin.photo},photosNotProcessed:function(){return this.$store.state.admin.not_processed},photosAwaitingVerification:function(){return this.$store.state.admin.awaiting_verification},countriesWithPhotos:function(){return this.$store.state.admin.countriesWithPhotos},update_new_tags_button:function(){return this.processing?this.verifyClass+" is-loading":this.verifyClass},uploadedTime:function(){return l()(this.photo.created_at).format("LLL")},verify_correct_button:function(){return this.processing?this.btn+" is-loading":this.btn},hasRecentTags:function(){return Object.keys(this.$store.state.litter.recentTags).length>0||this.$store.state.litter.recentCustomTags.length}},methods:{adminDelete:function(t){var e=this;return p(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("ADMIN_DELETE_IMAGE");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})))()},clearTags:function(){this.$store.commit("setAllTagsToZero",this.photo.id)},resetTags:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_RESET_TAGS");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},verifyCorrect:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_VERIFY_CORRECT");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},verifyDelete:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_VERIFY_DELETE");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},updateNewTags:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_UPDATE_WITH_NEW_TAGS");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},filterByCountry:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.$store.commit("setFilterByCountry",t.selectedCountry),e.next=4,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO");case 4:t.loading=!1;case 5:case"end":return e.stop()}}),e)})))()},skipPhoto:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.$store.commit("setSkippedPhotos",t.$store.state.admin.skippedPhotos+1),e.next=4,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO");case 4:t.loading=!1;case 5:case"end":return e.stop()}}),e)})))()}}},m=(n("Gebw"),n("KHd+")),g=Object(m.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"has-background-grey-light has-text-centered py-2 admin-filters"},[n("p",{staticClass:"has-text-weight-bold"},[t._v("Filter photos by:")]),t._v(" "),n("div",{staticClass:"control ml-4"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCountry,expression:"selectedCountry"}],on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCountry=e.target.multiple?n:n[0]},t.filterByCountry]}},[n("option",{attrs:{value:""}},[t._v("All Countries")]),t._v(" "),t._l(t.countriesWithPhotos,(function(e){return n("option",{key:e.id,domProps:{value:e.id}},[t._v(t._s(e.country)+" ("+t._s(e.total)+")")])}))],2)])])]),t._v(" "),n("div",{staticClass:"container is-fluid mt3"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",[0===this.photosAwaitingVerification&&0===this.photosNotProcessed?n("div",[n("p",{staticClass:"title is-3"},[t._v("All done.")])]):t.photo?n("div",[n("div",{staticClass:"columns"},[n("div",{staticClass:"column has-text-centered"},[n("p",{staticClass:"subtitle is-5"},[t._v("Uploaded, not tagged: "+t._s(this.photosNotProcessed))]),t._v(" "),n("p",{staticClass:"subtitle is-5"},[t._v("Tagged, awaiting verification: "+t._s(this.photosAwaitingVerification))]),t._v(" "),n("div",{staticClass:"mt-5"},[n("button",{class:t.delete_verify_button,attrs:{disabled:t.processing},on:{click:t.verifyDelete}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Accept data, verify, but delete the image.")]),t._v("\n Verify & Delete\n ")]),t._v(" "),n("button",{class:t.delete_button,attrs:{disabled:t.processing},on:{click:t.adminDelete}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Delete the image.")]),t._v("\n DELETE\n ")])]),t._v(" "),t.hasRecentTags?n("div",{staticClass:"recent-tags control has-text-centered has-background-light px-4 py-4"},[n("RecentTags",{staticClass:"mb-5",attrs:{"photo-id":t.photo.id}})],1):t._e()]),t._v(" "),n("div",{staticClass:"column is-half",staticStyle:{"text-align":"center"}},[n("h1",{staticClass:"title is-2 has-text-centered"},[t._v("\n #"+t._s(parseInt(this.photo.id).toLocaleString())+" Uploaded "+t._s(this.uploadedTime)+"\n ")]),t._v(" "),n("p",[t._v("\n From: "),n("span",[t._v("@"+t._s(this.photo.user.username)+" #"+t._s(this.photo.user.id))])]),t._v(" "),n("p",[t._v("\n Verification count: "+t._s(this.photo.user.user_verification_count)+"%\n ")]),t._v(" "),n("p",{staticClass:"subtitle is-5 has-text-centered mb-8"},[t._v("\n "+t._s(this.photo.display_name)+"\n ")]),t._v(" "),n("img",{directives:[{name:"img",rawName:"v-img",value:{sourceButton:!0},expression:"{sourceButton: true}"}],staticClass:"verify-image",attrs:{src:this.photo.filename}}),t._v(" "),.1===t.photo.verification?n("div",{staticClass:"has-text-centered mb1"},[n("button",{class:t.verify_correct_button,attrs:{disabled:t.processing},on:{click:t.verifyCorrect}},[t._v("VERIFY CORRECT")]),t._v(" "),n("button",{staticClass:"button is-large is-danger",attrs:{disabled:t.processing},on:{click:t.resetTags}},[t._v("FALSE")])]):t._e(),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-two-thirds is-offset-2"},[n("add-tags",{attrs:{admin:!0,id:t.photo.id}})],1)]),t._v(" "),n("div",{staticStyle:{"padding-top":"1em","text-align":"center"}},[n("button",{class:t.update_new_tags_button,attrs:{disabled:t.checkUpdateTagsDisabled},on:{click:t.updateNewTags}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Update the image and save the new data.")]),t._v("\n Update with new tags\n ")]),t._v(" "),n("button",{staticClass:"button is-large is-info tooltip mb-1",attrs:{disabled:t.processing},on:{click:t.skipPhoto}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Skip this photo and verify the next one.")]),t._v("\n Skip\n ")])])]),t._v(" "),n("div",{staticClass:"column has-text-centered",staticStyle:{position:"relative"}},[n("Tags",{attrs:{"photo-id":t.photo.id,admin:!0}}),t._v(" "),n("div",{staticStyle:{"padding-top":"3em"}},[n("button",{staticClass:"button is-medium is-dark tooltip",on:{click:t.clearTags}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("To undo this, just refresh the page.")]),t._v("\n Clear user input\n ")])])],1)])]):n("div",[n("p",{staticClass:"title is-3"},[t._v("All photos for your selection are done.")]),t._v(" "),n("p",{staticClass:"subtitle is-5"},[t._v("You can refresh the page to view skipped photos.")])])])],1)])}),[],!1,null,"4d71f573",null);e.default=g.exports},"1FiT":function(t){t.exports=JSON.parse('{"privacy-title":"Controla tu privacidad","privacy-text":"Controla tu privacidad para cada equipo al que te hayas unido.","team-update-title":"Actualiza tus equipos","team-update-text":"Solo puede actualizar los equipos que lidera.","maps":{"team-map":"Mapa del equipo","name-will-appear":"Tu nombre aparecerá en los mapas","username-will-appear":"Tu nombre de usuario aparecerá en los mapas","will-not-appear":"Tu nombre y nombre de usuario aparecerán en los mapas"},"leaderboards":{"team-leaderboard":"Tabla de clasificación del equipo","name-will-appear":"Tu nombre aparecerá en las tablas de clasificación","username-will-appear":"Tu nombre de usuario aparecerá en las tablas de clasificación","will-not-appear":"Tu nombre y nombre de usuario aparecerán en las tablas de clasificación"},"submit-one-team":"Guardar para este equipo","apply-all-teams":"Aplicar a todos los equipos"}')},"1O6V":function(t){t.exports=JSON.parse('{"email-you":"Want us to email you occasionally with good news","subscribe":"Subscribe","subscribed-success-msg":"You have been subscribed to the good news! You can unsubscribe at any time","need-your-help":"We need your help to create the world\'s most advanced and accessible database on pollution","read":"READ","blog":"Blog","research-paper":"Research Paper","watch":"WATCH","help":"HELP","join-the-team":"Join the Team","join-slack":"Join Slack","create-account":"Create Account","fb-group":"Facebook Group","single-donation":"Single Donation","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap is a flagship product of GeoTech Innovations Ltd., a startup in Ireland pioneering essential citizen science services #650323","enter-email":"Enter your email address","references":"References","credits":"Credits","contact-us":"Contact Us"}')},"1SP2":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#openlittermap {\n height: 100%;\n margin: 0;\n position: relative;\n}\n.leaflet-marker-icon {\n border-radius: 20px;\n}\n.mi {\n height: 100%;\n margin: auto;\n display: flex;\n justify-content: center;\n border-radius: 20px;\n}\n.leaflet-control {\n pointer-events: visiblePainted !important;\n}\n.leaflet-cleanup-container {\n padding: 1em 2em;\n}\n.leaflet-cleanup-container p {\n margin: 10px 0 !important;\n}\n\n",""])},"1SYZ":function(t){t.exports=JSON.parse('{"olm-teams":"Equipos de OpenLitterMap","dashboard":"Dashboard","join-a-team":"Únete a un equipo","create-a-team":"Crea un equipo","your-teams":"Tus equipos","leaderboard":"Tabla de clasificación","settings":"Ajustes","teams-dashboard":"Dashboard de equipos ","photos-uploaded":"Fotos subidas","litter-tagged":"Basura etiquetada","members-uploaded":"Miembros del equipo con fotos subidas","all-teams":"Todos los equipos","times":{"today":"Hoy","week":"Esta semana","month":"Este mes","year":"Este año","all":"Todos los años","created_at":"Subida el","datetime":"Tomada el"}}')},"1Ttm":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.profile-percent[data-v-79f52017] {\n font-size: 3em;\n font-weight: 600;\n margin-right: 0.5em;\n}\n.profile-stat-card[data-v-79f52017] {\n flex: 1;\n display: flex;\n text-align: center;\n}\n.profile-stat-card img[data-v-79f52017] {\n height: 3em;\n margin: auto 1em auto 0;\n}\n.profile-stat[data-v-79f52017] {\n font-size: 1.5em;\n font-weight: 600;\n}\n.profile-text[data-v-79f52017] {\n color: #1DD3B0 !important;\n}\n\n",""])},"1W/y":function(t,e,n){"use strict";var i=n("IhEX");n.n(i).a},"1ZSq":function(t,e,n){"use strict";var i=n("8RtP");n.n(i).a},"1k10":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".grid-container[data-v-65329fa1] {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-column-gap: 1em;\n grid-row-gap: 1em;\n padding-bottom: 2em;\n}\n@media screen and (max-width: 1000px) {\n.grid-container[data-v-65329fa1] {\n grid-template-columns: 1fr 1fr;\n grid-row-gap: 2em !important;\n}\n}\n@media screen and (max-width: 600px) {\n.grid-container[data-v-65329fa1] {\n grid-template-columns: 1fr;\n grid-row-gap: 2em !important;\n}\n}",""])},"1lel":function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Esto volverá más tarde","claim-tokens":"Si quieres simplemente reclamar tus tokens y acceder a tu monedero desde otro lugar, introduce el ID de tu monedero y se te enviarán tus ganancias."}')},"1rPI":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Dashboard","join-a-team":"Join a Team","create-a-team":"Create a Team","your-teams":"Yours Teams","leaderboard":"Leaderboard","settings":"Settings","teams-dashboard":"Teams Dashboard","photos-uploaded":"Photos uploaded","litter-tagged":"Litter tagged","members-uploaded":"Team members uploaded","all-teams":"All Teams","times":{"today":"Today","week":"This week","month":"This month","year":"This year","all":"All time","created_at":"Uploaded at","datetime":"Taken at"}}')},"1rbm":function(t){t.exports=JSON.parse('{"maps1":"We are creating Open Data on Plastic Pollution","maps2":"Anyone can download the data and use it.","maps3":"See Global Map","global-leaderboard":"Global Leaderboard","position":"Position","name":"Name","xp":"XP","social":"Social","previous-target":"Previous Target","next-target":"Next Target","litter":"Litter","total-verified-litter":"Total Litter","total-verified-photos":"Total Photos","total-littercoin-issued":"Total Littercoin","number-of-contributors":"Number of Contributors","avg-img-per-person":"Average Image per Person","avg-litter-per-person":"Average Litter per Person","leaderboard":"Leaderboard","time-series":"Time-series","options":"Options","most-data":"Most Litter Tags","most-data-person":"Most Litter Tags Per Person","download-open-verified-data":"Free and Open Verified Citizen Science Data on Plastic Pollution.","stop-plastic-ocean":"Let\'s stop plastic going into the ocean.","enter-email-sent-data":"Please enter an email address to which the data will be sent:"}')},"1tOW":function(t){t.exports=JSON.parse('{"description":"These links will appear in every photo you\'ve uploaded, on the Global Map. Please provide full URLs.","personal-website":"Personal Website","personal-website-url":"Personal Website URL"}')},"1xvw":function(t,e,n){"use strict";var i=n("3W49");n.n(i).a},"1zmp":function(t,e,n){"use strict";var i=n("D4Tw");n.n(i).a},"2/C0":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.ctc[data-v-82c06a6a] {\n margin-top: 1em;\n margin-left: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.ctc[data-v-82c06a6a] {\n margin-top: 0;\n margin-left: 0;\n}\n}\n",""])},"2/FA":function(t){t.exports=JSON.parse('{"what-about-litter":"Mi a helyzet a szeméttel?","about2":"Jelenleg több billió műanyag végű cigarettacsikk juttat mérgező vegyszereket és mikroműanyagokat a környezetbe.","about3":"Az eredmény?","about4":"Hatalmas mennyiségű nikotin és más mérgező vegyi anyagok szabadulnak fel.","about5":"Ezek a mérgező vegyszerek biológiailag felhalmozódnak különböző növényekben és állatokban. Egy részét megegyük.","about6":"Ez a környezetvédelmi vészhelyzet az orrunk előtt van.","about7":"Segíthet nekünk a probléma megoldásában, ha hozzájárul az OpenLitterMaphez.","about8":"Csak készítsen egy fényképet, címkézze meg és töltse fel.","about9":"Segíteni akarok!","about9a":"Csak fényképezzen","about9b":"Jelölje meg a szemetet","about9c":"Töltsd fel","about10":"Évente több millió tonna műanyag kerül a szárazföldről a tengerbe.","about11":"Ahol lényegesen károsabbá, nehezebbé és drágábbá válik az eltávolítása.","about12":"A \\"városi takarítás\\" illúzióját","about13":"infrastrukturális kialakítása segíti elő.","about14":"Az OpenLitterMap adatok","about14a":"Nyitott Adatok","about14b":"Ez azt jelenti, hogy az adatokat bárki ingyenesen letöltheti, és bármilyen célra felhasználhatja, engedély nélkül.","about15":"A nyílt adatok elengedhetetlenek ahhoz, hogy átláthatóságot, demokráciát és elszámoltathatóságot teremtsenek a szennyezéssel foglalkozó tudomány számára. Ellenkező esetben ki használhatja fel az adatokat?","about16":"Az OpenLitterMap olyan eszközökkel ruházza fel Önt, amelyek segítségével polgári tudósokká válhat.","about17":"Ön most fel van hatalmazva arra, hogy hozzájáruljon a világunkról szóló térinformatikai ismeretek előállításához. Így képes lesz átalakítani az állami és intézményi magatartást.","about17a":"Adataink a tér, az idő, a hely és a viselkedés alapján vannak leképezve.","about17b":"Nézze meg ezt a hihetetlen szabad és nyílt adatot arról a szennyezésről, amelyet néhány globális vállalat termékei okoznak.","about17c":"Szeretné letölteni az adatokat?","about18":"A térinformatikai ismeretek előállítását egykor kizárólag nagyobb intézmények és hatalmi emberek végezték.","about19":"Mint polgári tudós, ","about20":"tudást teremthetsz. ","about21":"Ez egy paradigmaváltás a világunkról ismert földrajzi információk létrehozásának módjában.","about22":"Hogyan lehet segíteni:","about23":"Csatlakozz ma!","about24":"Engedélyezze a földrajzi címkézést az eszközön. Az erre vonatkozó utasításokat egy üdvözlő e-mailben küldjük ki, amikor regisztrál.","about25":"Egyetlen cigarettacsikktől egy teljes strand vagy utca tisztaságáig bármit leképezhet 1 fotón.","about26":"Ha túl sok az szemét, és az nem megszámlálható, egyszerűen használja a Szemétlerakó kategóriát, és értékelje a területet 1-100 között, vagy válassza a \\"Véletlenszerű szemét\\" lehetőséget az \\"Egyéb\\" kategóriában","about27":"Ha igazán erőteljes térképeket szeretne készíteni, készítsen annyi fényképet, amennyit csak tud. Vagy ha nincs időd, tetszőleges számú szemetet jelölhet be egyetlen fényképen.","about28":"Az ellenőrzött képek és tartalmak automatikusan hozzáadódnak az adatbázishoz, mennyiségileg és térinformatikailag elemezve, nyilvánosan megtekinthetők, hogy a világ lássa!","about29":"Segítsen nekünk kommunikálni a problémákat és a megoldásokat, hogy megakadályozzuk a műanyag óceánba jutását.","about29a":"Ha tetszik munkánk és támogatni szeretnéd, csatlakozz a közösségi támogatáshoz","about30":"Csatlakozzon az Open Litter Map-hez, hogy elérjünk egy világot ahol kevesebb van","about301":"ebből","about302":"és ebből...","about31":"Csak 2010-ben a becslések szerint legalább 8 millió tonna műanyag került az óceánba. Ez átlagosan 916 tonna óránként.","about32":"Példák abból, ami az óceánokban lebeg","about33":"A műanyagszennyezés jelenleg évente körülbelül 1 millió madár és 100 000 tengeri emlős haláláért felelős.","about34":"2025-re az óceánba kerülő műanyag mennyisége várhatóan 70 millió tonnára fog növekedni, feltételezve, hogy a jelenlegi tendenciák folytatódnak.","about35":"Segíteni akarok!"}')},"22Q+":function(t,e,n){"use strict";var i=n("2AZE");n.n(i).a},2524:function(t,e,n){"use strict";var i=n("o0o1"),r=n.n(i),a={name:"ImageUploaded",props:["payload"],data:function(){return{dir:"/assets/icons/flags/"}},methods:{countryFlag:function(t){return t?this.dir+t.toLowerCase()+".png":""}},computed:{country:function(){var t;return(null===(t=this.payload.country)||void 0===t?void 0:t.includes("error_"))?null:this.payload.country},state:function(){var t;return(null===(t=this.payload.state)||void 0===t?void 0:t.includes("error_"))?null:this.payload.state},city:function(){var t;return(null===(t=this.payload.city)||void 0===t?void 0:t.includes("error_"))?null:this.payload.city},cityText:function(){var t=[this.city,this.state].filter((function(t){return t})).join(", ");return t&&this.country&&(t+=", "),t},photoSource:function(){return"web"===this.payload.photoSource?"fa-desktop":"fa-mobile large-icon"}}},o=(n("1W/y"),n("KHd+")),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"event",on:{click:function(e){return t.$emit("click",e)}}},[n("div",{staticClass:"top-heading"},[t.payload.countryCode?n("img",{attrs:{src:t.countryFlag(t.payload.countryCode),alt:t.payload.countryCode}}):n("i",{staticClass:"fa fa-image fa-2x"}),t._v(" "),n("div",[n("p",{staticClass:"event-bold"},[t.payload.isPickedUp?n("span",[t._v(t._s(t.$t("home.globalMap.litter-picked-up")))]):n("span",[t._v(t._s(t.$t("home.globalMap.litter-uploaded")))])]),t._v(" "),n("p",{staticClass:"event-location"},[n("i",{staticClass:"city-name"},[t._v(t._s(t.cityText))]),t._v(t._s(t.country)+"\n ")])]),t._v(" "),n("div",{staticClass:"event-source"},[n("i",{staticClass:"fa",class:t.photoSource})])]),t._v(" "),t.payload.user.name||t.payload.user.username?n("p",[t._v("\n "+t._s(t.$t("locations.cityVueMap.by"))+"\n "),n("span",{staticClass:"event-bold"},[t._v("\n "+t._s(t.payload.user.name)+"\n "+t._s(t.payload.user.username?"@"+t.payload.user.username:"")+"\n ")])]):t._e(),t._v(" "),t.payload.teamName?n("p",{staticClass:"event-team"},[t._v("\n "+t._s(t.$t("common.team"))+"\n "),n("span",{staticClass:"event-bold"},[t._v(t._s(t.payload.teamName))])]):t._e()])}),[],!1,null,"6e086e0b",null).exports,l={name:"GlobalMapNotification",props:{color:{type:String,default:"green"}}},u=(n("zSMp"),Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"event",class:"event-"+t.color,on:{click:function(e){return t.$emit("click",e)}}},[n("div",{staticClass:"event-image"},[t._t("image")],2),t._v(" "),n("div",{staticClass:"event-content"},[t._t("content")],2)])}),[],!1,null,"5804c808",null).exports),c={name:"NewCountryAdded",components:{GlobalMapNotification:u},props:["payload"]},h=(n("Ds3t"),Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"blue"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-flag fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-country")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("i",[t._v(t._s(t.payload.country))])])]},proxy:!0}])})}),[],!1,null,"3c640beb",null).exports),d={name:"NewStateAdded",components:{GlobalMapNotification:u},props:["payload"]},p=(n("UWLc"),Object(o.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"blue"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-flag fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-state")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("i",[t._v(t._s(t.payload.state))])])]},proxy:!0}])})}),[],!1,null,"6749f36b",null).exports),f={name:"NewCityAdded",components:{GlobalMapNotification:u},props:["payload"]},m=(n("YNJU"),Object(o.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"blue"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-flag fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-city")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("i",[t._v(t._s(t.payload.city))])])]},proxy:!0}])})}),[],!1,null,"2ea11f5d",null).exports),g={name:"UserSignedUp",props:["payload"],components:{GlobalMapNotification:u}},v=(n("bbbQ"),Object(o.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"yellow"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-user fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-user")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.user-signed-up")))])]},proxy:!0}])})}),[],!1,null,"7e4fd7ef",null).exports),y={name:"TeamCreated",components:{GlobalMapNotification:u},props:["payload"]},_=(n("uKBK"),Object(o.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"colourful"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-users fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("p",[t._v(t._s(t.$t("home.globalMap.team-created")))]),t._v(" "),n("i",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("strong",[t._v(t._s(t.payload.teamName))]),t._v("!")])]},proxy:!0}])})}),[],!1,null,"7a7fd8e6",null).exports),b={name:"LittercoinMined",components:{GlobalMapNotification:u},props:["payload"],methods:{getLittercoinReason:function(t){return"verified-box"===t?this.$i18n.t("home.globalMap.littercoin-100-boxes-verified"):"100-images-verified"===t?this.$i18n.t("home.globalMap.littercoin-100-verified"):void 0}}},w=(n("G3Ch"),{name:"CleanupCreated",props:["payload"],components:{GlobalMapNotification:u}});function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function k(t){for(var e=1;e0?"("+this.events.length+") OpenLitterMap":"OpenLitterMap"}}},I=(n("22Q+"),Object(o.a)(L,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-menu scrollbar-hidden"},[n("transition-group",{attrs:{name:"list",mode:"out-in"}},t._l(t.events,(function(e,i){return n("span",{key:e.id,staticClass:"list-item"},[n(e.type,{tag:"component",attrs:{payload:e.payload},on:{click:function(n){return t.click(e,i)}}})],1)})),0)],1)}),[],!1,null,null,null).exports),O=n("YFMt"),A=n("4R65"),M=n.n(A),z=(n("tmUW"),n("UZfx")),N=n.n(z),D=n("gBxo"),R=function(){M.a.Control.Select=M.a.Control.extend({options:{position:"topright",iconMain:"≡",iconChecked:"◉",iconUnchecked:"ⵔ",iconGroupChecked:"▶",iconGroupUnchecked:"⊳",multi:!1,items:[],id:"",selectedDefault:!1,additionalClass:"",onOpen:function(){},onClose:function(){},onGroupOpen:function(t){},onSelect:function(t){}},initialize:function(t){var e=this;this.menus=[],M.a.Util.setOptions(this,t);var n=this.options;this.options.items.forEach((function(t){t.label||(t.label=t.value)})),n.multi?n.selectedDefault=n.selectedDefault instanceof Array?n.selectedDefault:[]:n.selectedDefault=n.selectedDefault||n.items instanceof Array&&n.items.length>0&&n.items[0].value,this.state={selected:n.selectedDefault,open:!1};this.options.items.map((function(t){t.parent="top",function t(n){e._isGroup(n)&&n.items.map((function(e){e.parent=n.value,t(e)}))}(t)}));var i=function t(n){n.children=function t(n){var i=[];return e._isGroup(n)&&n.items.map((function(e){i.push(e.value),i=i.concat(t(e))})),i}(n),e._isGroup(n)&&n.items.map((function(e){t(e)}))};this.options.items.map((function(t){i(t)}))},onAdd:function(t){this.map=t;var e=this.options;this.container=M.a.DomUtil.create("div","leaflet-control leaflet-bar leaflet-control-select"),this.container.setAttribute("id",e.id);var n=M.a.DomUtil.create("a","leaflet-control-button ",this.container);return n.innerHTML=e.iconMain,t.on("click",this._hideMenu,this),M.a.DomEvent.on(n,"click",M.a.DomEvent.stop),M.a.DomEvent.on(n,"click",this._iconClicked,this),M.a.DomEvent.disableClickPropagation(this.container),M.a.DomEvent.disableScrollPropagation(this.container),this.render(),this.container},_emit:function(t,e){var n={};switch(t){case"ITEM_SELECT":this.options.multi?(n.selected=this.state.selected.slice(),this.state.selected.includes(e.item.value)?n.selected=n.selected.filter((function(t){return t!==e.item.value})):n.selected.push(e.item.value)):n.selected=e.item.value,n.open=e.item.parent;break;case"GROUP_OPEN":n.open=e.item.value;break;case"GROUP_CLOSE":n.open=e.item.parent;break;case"MENU_OPEN":n.open="top";break;case"MENU_CLOSE":n.open=!1}this._setState(n),this.render()},_setState:function(t){this.options.onSelect&&t.selected&&(this.options.multi&&t.selected.length!==this.state.selected.length||!this.options.multi&&t.selected!==this.state.selected)&&this.options.onSelect(t.selected),this.options.onGroupOpen&&t.open&&t.open!==this.state.open&&this.options.onGroupOpen(t.open),this.options.onOpen&&"top"===t.open&&this.options.onOpen(),this.options.onClose&&!t.open&&this.options.onClose(),this.state=Object.assign(this.state,t)},_isGroup:function(t){return"items"in t},_isSelected:function(t){var e=this.state.selected;return!!e&&(this._isGroup(t)?"children"in t&&(this.options.multi?e.find((function(e){return t.children.includes(e)})):t.children.includes(e)):this.options.multi?e.indexOf(t.value)>-1:e===t.value)},_isOpen:function(t){var e=this.state.open;return e&&(e===t.value||t.children.includes(e))},_hideMenu:function(){this._emit("MENU_CLOSE",{})},_iconClicked:function(){this._emit("MENU_OPEN",{})},_itemClicked:function(t){this._isGroup(t)?this.state.open===t.value?this._emit("GROUP_CLOSE",{item:t}):this._emit("GROUP_OPEN",{item:t}):this._emit("ITEM_SELECT",{item:t})},_renderRadioIcon:function(t,e){M.a.DomUtil.create("span","radio icon",e).innerHTML=t?this.options.iconChecked:this.options.iconUnchecked},_renderGroupIcon:function(t,e){M.a.DomUtil.create("span","group icon",e).innerHTML=t?this.options.iconGroupChecked:this.options.iconGroupUnchecked},_renderItem:function(t,e){var n=this,i=this._isSelected(t),r=M.a.DomUtil.create("div","leaflet-control-select-menu-line",e),a=M.a.DomUtil.create("div","leaflet-control-select-menu-line-content",r);return M.a.DomUtil.create("span","text",a).innerHTML=t.label,this._isGroup(t)?(this._renderGroupIcon(i,a),M.a.DomUtil.addClass(r,"group"),this._isOpen(t)&&M.a.DomUtil.addClass(r,"group-opened"),this._isOpen(t)&&this._renderMenu(r,t.items)):this._renderRadioIcon(i,a),M.a.DomEvent.addListener(a,"click",(function(e){n._itemClicked(t)})),r},_renderMenu:function(t,e){var n=this,i=M.a.DomUtil.create("div","leaflet-control-select-menu leaflet-bar ",t);this.menus.push(i),e.map((function(t){n._renderItem(t,i)}))},_clearMenus:function(){this.menus.map((function(t){return t.remove()})),this.meus=[]},render:function(){this._clearMenus(),this.state.open&&this._renderMenu(this.container,this.options.items)},close:function(){this._hideMenu()}}),M.a.control.select=function(t){return new M.a.Control.Select(t)}};function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function F(t){for(var e=1;e'+t.properties.point_count_abbreviated+"",className:"marker-cluster-"+i,iconSize:M.a.point(40,40)});return M.a.marker(e,{icon:r})}function tt(){W&&(T.removeControl($),W=!1),Y||((G=M.a.control.layers(null,null).addTo(T)).addOverlay(E,"Global"),G.addOverlay(S,"Litter Art"),G.addOverlay(q,"Cleanups"),Y=!0)}function et(){if(Y&&(T.removeControl(G),Y=!1),!W){var t={Alcohol:new M.a.LayerGroup,Brands:new M.a.LayerGroup,Coastal:new M.a.LayerGroup,Coffee:new M.a.LayerGroup,Dumping:new M.a.LayerGroup,Food:new M.a.LayerGroup,Industrial:new M.a.LayerGroup,Other:new M.a.LayerGroup,PetSurprise:new M.a.LayerGroup,Sanitary:new M.a.LayerGroup,Smoking:new M.a.LayerGroup,SoftDrinks:new M.a.LayerGroup};$=M.a.control.layers(null,t).addTo(T),W=!0}}function nt(t,e){t.properties.cluster&&e.on("click",(function(t){var e=T.getZoom()+O.f>O.c?O.c:T.getZoom()+O.f;T.flyTo(t.latlng,e,{animate:!0,duration:2})}))}function it(t,e){e.on("click",(function(e){T.flyTo(t.geometry.coordinates,14,{animate:!0,duration:10});var n=new URL(window.location.href);n.searchParams.set("lat",t.geometry.coordinates[0]),n.searchParams.set("lon",t.geometry.coordinates[1]),n.searchParams.set("zoom",O.a),n.searchParams.set("photo",t.properties.photo_id),M.a.popup(D.a.popupOptions).setLatLng(t.geometry.coordinates).setContent(D.a.getMapImagePopupContent(t.properties,n.toString())).openOn(T)}))}function rt(t,e){e.on("click",(function(e){var n=[t.geometry.coordinates[1],t.geometry.coordinates[0]];T.flyTo(n,14,{animate:!0,duration:10});var i=D.a.getCleanupContent(t.properties,H);M.a.popup(D.a.popupOptions).setLatLng(n).setContent(i).openOn(T)}))}function at(){var t=[];return $._layerControlInputs.forEach((function(e,n){if(e.checked){var i="petsurprise"===$._layers[n].name.toLowerCase()?"dogshit":$._layers[n].name.toLowerCase();t.push(i)}})),t.length>0?t:null}var ot={name:"Supercluster",components:{LiveEvents:I},props:{activeLayer:{default:"clusters",required:!1}},data:function(){return{visiblePoints:[]}},mounted:function(){var t,e,n;window.olm_map=this,(T=M.a.map("openlittermap",{center:[0,0],zoom:O.e,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1})).scrollWheelZoom=!0,this.flyToLocationFromURL();var i=(new Date).getFullYear();if(M.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:O.c,minZoom:O.e}).addTo(T),T.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+i+" Clustering @ MapBox"),E=M.a.geoJSON(null,{pointToLayer:Q,onEachFeature:nt}),(null===(t=this.$store.state.globalmap.geojson)||void 0===t?void 0:t.features)&&E.addData(this.$store.state.globalmap.geojson.features),"clusters"===this.activeLayer&&E.addTo(T),S=M.a.geoJSON(null,{pointToLayer:J,onEachFeature:it}),(null===(e=this.$store.state.globalmap)||void 0===e||null===(n=e.artData)||void 0===n?void 0:n.features)&&S.addData(this.$store.state.globalmap.artData.features),this.$store.state.cleanups.geojson&&(q=M.a.geoJSON(this.$store.state.cleanups.geojson,{onEachFeature:rt,pointToLayer:K})),"cleanups"===this.activeLayer&&(q.addTo(T),T.on("click",(function(t){var e=t.latlng.lat,n=t.latlng.lng;window.olm_map.$store.commit("setCleanupLocation",{lat:e,lng:n})})),this.$route.params.hasOwnProperty("invite_link"))){var r=this.$store.state.cleanups.cleanup,a=[r.lat,r.lon];T.flyTo(a,16,{animate:!0,duration:5});var o=this.$store.state.user.auth?this.$store.state.user.user.id:null;M.a.popup(D.a.popupOptions).setLatLng(a).setContent(D.a.getCleanupContent(r,o)).openOn(T)}this.$store.state.user.auth&&(H=this.$store.state.user.user.id),T.on("moveend",this.update),tt(),T.on("overlayadd",this.update),T.on("overlayremove",this.update),T.on("popupopen",D.a.scrollPopupToBottom),T.on("popupclose",(function(){var t=new URL(window.location.href);t.searchParams.delete("photo"),window.history.pushState(null,"",t)})),T.on("zoom",(function(){var t;(null===(t=P)||void 0===t?void 0:t.remove)&&P.remove()})),this.setupYearDropdown()},methods:{update:function(){var t,e=this;return(t=r.a.mark((function t(){var n,i,a,o,s,l,u,c,h,d;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.updateLocationInURL(),n=T.getBounds(),i={left:n.getWest(),bottom:n.getSouth(),right:n.getEast(),top:n.getNorth()},2!==(a=Math.round(T.getZoom()))||a!==V){t.next=6;break}return t.abrupt("return");case 6:if(3!==a||a!==V){t.next=8;break}return t.abrupt("return");case 8:if(4!==a||a!==V){t.next=10;break}return t.abrupt("return");case 10:if(5!==a||a!==V){t.next=12;break}return t.abrupt("return");case 12:if(P&&(E.clearLayers(),P.remove()),o=new URLSearchParams(window.location.search),s=parseInt(o.get("year"))||null,l=o.get("fromDate")||null,u=o.get("toDate")||null,c=o.get("username")||null,!(a85?0:e,n=n<-180||n>180?0:n,i=i<2||i>18?O.e:i,0===e&&0===n&&2===i||this.flyToLocation({latitude:e,longitude:n,zoom:i,photoId:r})},updateUrlPhotoIdAndFlyToLocation:function(t){var e=Math.round(T.getZoom()),n=new URL(window.location.href);n.searchParams.set("photo",t.photoId),window.history.pushState(null,"",n);var i=T.distance(T.getCenter(),[t.latitude,t.longitude]);e>=O.a&&i<=2e3?this.flyToLocation(F(F({},t),{},{duration:1})):this.flyToLocation(t)},flyToLocation:function(t){var e,n=[t.latitude,t.longitude],i=t.photoId&&Math.round(t.zoom)=2017;e--)t.push({label:e.toString(),value:e.toString()});var n=parseInt(new URLSearchParams(window.location.search).get("year"))||"*";M.a.control.select({position:"topleft",selectedDefault:n.toString(),items:t,onSelect:function(t){var e=new URL(window.location.href);"*"===t?e.searchParams.delete("year"):e.searchParams.set("year",t),window.history.pushState(null,"",e),window.location.reload()}}).addTo(T)}}},st=(n("vYUr"),n("elOy"),Object(o.a)(ot,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"h100"},[e("div",{ref:"openlittermap",attrs:{id:"openlittermap"}}),this._v(" "),e("LiveEvents",{on:{"fly-to-location":this.updateUrlPhotoIdAndFlyToLocation}})],1)}),[],!1,null,null,null));e.a=st.exports},"2AZE":function(t,e,n){var i=n("3jFI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"2GZd":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".section-social[data-v-d3742836] {\n background-color: #094C54;\n}\n.section-social .social-links[data-v-d3742836] {\n display: grid;\n grid-gap: 3rem;\n grid-template-columns: repeat(auto-fit, minmax(75px, 2fr));\n}\n.section-social .social-card[data-v-d3742836] {\n background-color: transparent;\n}\n.section-social .social-card[data-v-d3742836]:hover {\n transform: scale(1.05);\n}\n@media screen and (min-width: 1280px) {\n.section-social .social-links[data-v-d3742836] {\n width: 100%;\n max-width: 1000px;\n margin: auto;\n justify-content: center;\n}\n}",""])},"2Nds":function(t){t.exports=JSON.parse('{"title":"Ajude-nos a mudar o mundo.","subtitle":"Estamos crescendo a cada dia","photos-last-30-days":"Fotos enviadas nos últimos 30 dias","users-last-30-days":"Novos usuários nos últimos 30 dias","litter-tags-last-30-days":"Tags marcada nos últimos 30 dias","photos-every-month-label":"Fotos enviadas todos os meses","users-every-month-label":"Novos usuários todos os meses","zoom-text":"Junte-se a nós nas {link}, onde ouvimos muitas novas ideias e sugestões de nossa crescente comunidade global. Toda semana, nossos usuários compartilham seus comentários, o que sempre ajuda a tornar nosso aplicativo mais fácil e melhor de usar. Ajude a moldar a direção futura de nossa plataforma de coleta de dados de código aberto e monitoramento ambiental. A chamada começa em:","zoom-weekly-calls":"chamadas semanais do Zoom às 18h. GMT (horário de Dublin/Londres/Lisboa) toda quinta-feira","zoom-live":"Ao Vivo","zoom-days":"dia | dias","zoom-hours":"hora | horas","zoom-minutes":"minuto | minutos","slack-text":"O {slack} é nosso principal meio de comunicação e colaboração. Usuários avançados, recém-chegados, desenvolvedores, uma comunidade de mais de 400 membros - estamos todos lá. Envie-nos uma linha e você receberá uma resposta instantânea, estamos online o tempo todo.","fundraiser-text":"OpenLitterMap é totalmente dependente de doações. Criamos uma {link} e ainda estamos longe do nosso objetivo. Todas as contribuições são bem-vindas. {emoji}","fundraiser-link":"campanha de arrecadação de fundos do GoFundMe"}')},"2Uk4":function(t){t.exports=JSON.parse('{"card-number":"Card Number","card-holder":"Card Holder\'s Name","exp":"Expiration Date","cvv":"CVV","placeholders":{"card-number":"Your 16 digit card number","card-holder":"Card holder\'s name","exp-month":"Month","exp-year":"Year","cvv":"***"}}')},"2fOW":function(t){t.exports=JSON.parse('{"email-you":"Szeretné, ha időnként e-mailt küldenénk jó hírekkel","subscribe":"Iratkozz fel","subscribed-success-msg":"Feliratkoztál a jó hírekre! Bármikor leiratkozhatsz","need-your-help":"Az Ön segítségére van szükségünk a világ legfejlettebb és legelérhetőbb környezetszennyezési adatbázisának létrehozásához","read":"OLVASD EL","blog":"Blog","research-paper":"Kutatási dokumentumok","watch":"NÉZD MEG","help":"SEGÍTSÉG","join-the-team":"Csatlakozz a Csapathoz","join-slack":"Csatlakozz a Slackhez","create-account":"Fiók létrehozása","fb-group":"Facebook csoport","single-donation":"Egyszeri adományozás","crowdfunding":"Közösségi Támogatás","olm-is-flagship":"Az OpenLitterMap a GeoTech Innovations Ltd., egy írországi startup zászlóshajója, amely úttörő alapvető állampolgári tudományos szolgáltatásokat nyújt #650323","enter-email":"írd be az email címed","references":"Hivatkozások","credits":"Közreműködtek","contact-us":"Lépjen kapcsolatba velünk"}')},"2osq":function(t){t.exports=JSON.parse('{"taken-on":"Prise à","with-a":"Avec un/une","by":"Par","meter-hex-grids":"grilles hexagonales de compteurs","hover-to-count":"Survoler pour compter","pieces-of-litter":"Morceaux de déchets","hover-polygons-to-count":"Survoler les polygones pour compter"}')},"30qX":function(t){t.exports=JSON.parse('{"do-you-pickup":"zdbierasz śmieci, czy je tam zostawiasz?","save-def-settings":"Tutaj możesz zapisać swoje domyślne ustawienie.","change-value-of-litter":"Możesz także zmienić wartość każdego odpadu podczas ich oznaczania.","status":"Aktualny status","toggle-presence":"Przełącz obecność","pickup?":"zbierz?"}')},"36AV":function(t,e,n){"use strict";var i=n("A5jf");n.n(i).a},"36z2":function(t){t.exports=JSON.parse('{"change-details":"Személyes adatok módosítása","your-name":"Neved","unique-id":"Egyedi Azonosító","email":"Email","update-details":"Adatok Frissítése"}')},"3Fuk":function(t,e,n){"use strict";var i=n("PFQ8");n.n(i).a},"3L/Y":function(t){t.exports=JSON.parse('{"new-image":"Picha Mpya","new-user":"Mtumiaji mpya","new-country":"Nchi mpya","new-state":"Jimbo jipya","new-city":"Jiji jipya","user-signed-up":"Mtumiaji mpya amejiandikisha!","say-hello-to":"Msalimie","littercoin-mined":"Littercoin imechimbwa!","littercoin-100-boxes-verified":"Sanduku 100 za OpenLitterAI zimethibitishwa","littercoin-100-verified":"Picha 100 zimethibitishwa","team-created":"Timu mpya imeundwa!","litter-picked-up":"Takataka imeokotwa","litter-uploaded":"Takataka Imewekwa kwenye ramani"}')},"3PcX":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.medal-container[data-v-0320b80a] {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative\n}\n.medal[data-v-0320b80a] {\n height: 1em;\n position: absolute;\n left: 2em;\n}\n.my-teams-container[data-v-0320b80a] {\n padding: 0 1em;\n}\n.team-active[data-v-0320b80a] {\n background-color: #2ecc71;\n padding: 0.5em 1em;\n border-radius: 10px;\n}\n.team-inactive[data-v-0320b80a] {\n background-color: #e67e22;\n padding: 0.5em 1em;\n border-radius: 10px;\n}\n.team-action[data-v-0320b80a] {\n border-radius: 5px;\n}\n.is-primary-row[data-v-0320b80a] {\n background-color: #00c4a730;\n}\n.disable-teams-tooltip[data-v-0320b80a] {\n width: 250px;\n white-space: initial;\n}\n.active-team-indicator[data-v-0320b80a] {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n@media (max-width: 640px) {\n.active-team-indicator[data-v-0320b80a] {\n flex-direction: column;\n}\n.active-team-indicator .button[data-v-0320b80a] {\n max-width: -webkit-min-content;\n max-width: -moz-min-content;\n max-width: min-content;\n margin-bottom: 2em;\n}\n.my-teams-container[data-v-0320b80a] {\n padding: 0;\n}\n}\n\n",""])},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3W49":function(t,e,n){var i=n("Eovg");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"3jFI":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".list-enter-active {\n transition: all 1s ease;\n}\n.list-leave-active {\n transition: all 0.3s ease;\n}\n.list-move {\n transition: transform 1s ease-in-out;\n}\n.list-enter, .list-leave-to {\n transform: translateX(100px);\n opacity: 0;\n}\n.list-item {\n display: grid;\n}\n.sidebar-menu {\n position: absolute;\n top: 70px;\n right: 10px;\n width: 20rem;\n max-height: 80vh;\n overflow-y: scroll;\n z-index: 999;\n font-size: 0.8rem;\n}\n.sidebar-menu .event {\n width: 20rem;\n}\n.grid-img {\n padding: 16px;\n}\n.grid-main {\n padding-top: 10px;\n padding-bottom: 10px;\n}\n@media (max-width: 1024px) {\n.sidebar-menu {\n width: 16rem;\n font-size: 0.7rem;\n}\n.sidebar-menu .event {\n width: 16rem;\n}\n.grid-img {\n padding: 12px;\n}\n.grid-main {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n}\n@media (max-width: 768px) {\n.sidebar-menu {\n width: 12rem;\n}\n.sidebar-menu .event {\n width: 12rem;\n}\n}\n@media (max-width: 640px) {\n.sidebar-menu {\n width: 10rem;\n max-height: 74vh;\n font-size: 0.6rem;\n}\n.sidebar-menu .event {\n width: 10rem;\n}\n}\n.sidebar-title {\n padding: 20px;\n text-align: center;\n font-size: 24px;\n font-weight: 700;\n}",""])},"3nVL":function(t,e,n){"use strict";var i=n("sVoB");n.n(i).a},"3vLD":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".fa-users[data-v-52fe9a19] {\n font-size: 1.75rem !important;\n}\n.team-flex[data-v-52fe9a19] {\n display: flex;\n margin-bottom: 1em;\n cursor: pointer;\n}\n.teams-left-col[data-v-52fe9a19] {\n background-color: #232d3f;\n min-height: calc(100vh - 70px);\n padding-left: 2em;\n color: #d3d8e0;\n}\n.teams-icon[data-v-52fe9a19] {\n margin: auto 1em auto 0;\n font-size: 2em;\n}\n.teams-title[data-v-52fe9a19] {\n font-size: 1.75rem;\n font-family: sans-serif;\n margin-top: 1em;\n margin-bottom: 1em;\n}\n@media (max-width: 575.98px) {\n.columns[data-v-52fe9a19] {\n margin-right: 0;\n}\n.teams-left-col[data-v-52fe9a19] {\n background-color: #232d3f;\n height: auto;\n min-height: auto;\n padding-left: 2em;\n color: #d3d8e0;\n}\n.mobile-teams-padding[data-v-52fe9a19] {\n padding-left: 1.5em;\n padding-bottom: 5em;\n}\n}",""])},"3xMu":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".hero-body[data-v-506fa15d] {\n flex-direction: column;\n}\n.section-stats[data-v-506fa15d] {\n background-color: #111827;\n}\n.section-stats .stats[data-v-506fa15d] {\n width: 100%;\n display: grid;\n grid-gap: 3rem;\n grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));\n}\n.section-stats .stats .stat[data-v-506fa15d] {\n background-color: transparent;\n}\n.section-stats .stats .stat .total[data-v-506fa15d] {\n font-size: 5rem;\n}\n.section-stats .stats .stat[data-v-506fa15d]:hover {\n transform: scale(1.05);\n}\n.section-stats .charts[data-v-506fa15d] {\n width: 100%;\n background-color: #111827;\n border-radius: 1rem;\n overflow: hidden;\n}\n.section-stats .charts .chart[data-v-506fa15d] {\n padding: 0.25rem;\n}\n@media screen and (min-width: 1280px) {\n.section-stats .stats[data-v-506fa15d] {\n max-width: 1000px;\n margin: auto;\n justify-content: center;\n}\n.section-stats .charts[data-v-506fa15d] {\n max-width: 1000px;\n margin: auto;\n justify-content: center;\n}\n.section-stats .charts .chart[data-v-506fa15d] {\n padding: 1rem;\n}\n}",""])},"4/9s":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".wrapper[data-v-2b52fd53] {\n padding: 1rem 0.5rem;\n}\n.leaderboard-heading[data-v-2b52fd53] {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 1rem;\n margin-bottom: 2rem;\n cursor: pointer;\n}\n.leaderboard-heading:hover .title[data-v-2b52fd53] {\n text-decoration: underline;\n}\n.leaderboard-heading:hover i[data-v-2b52fd53] {\n transform: translateX(-1rem);\n}\n.leaderboard-heading .title[data-v-2b52fd53] {\n margin-bottom: 0;\n}\n.leaderboard-heading i[data-v-2b52fd53] {\n font-size: 20px;\n transition: all 0.3s;\n}\n@media screen and (min-width: 768px) {\n.wrapper[data-v-2b52fd53] {\n padding: 3rem 1.5rem;\n}\n}",""])},"40O4":function(t){t.exports=JSON.parse('{"new-image":"New Image","new-user":"New User","new-country":"New Country","new-state":"New State","new-city":"New City","user-signed-up":"A new user has signed up!","say-hello-to":"Say hello to","littercoin-mined":"A Littercoin has been mined!","littercoin-100-boxes-verified":"100 OpenLitterAI boxes verified","littercoin-100-verified":"100 images verified","team-created":"A new Team has been created!","litter-picked-up":"Litter Picked Up","litter-uploaded":"Litter Mapped"}')},"4CRn":function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Kunst","brands":"Merken","coastal":"Kust","coffee":"Koffie","dumping":"Lozingen","food":"Voedsel","industrial":"Industrieel","sanitary":"Hygiëne","softdrinks":"Frisdrank","smoking":"Rookwaar","other":"Overig","dogshit":"Huisdieren","material":"Material"},"smoking":{"butts":"Sigaretten/Peuken","lighters":"Aanstekers","cigaretteBox":"Sigarettenpakje","tobaccoPouch":"Tabakszak","skins":"Vloeipapier","smoking_plastic":"Sigarettenpakplastic","filters":"Filters","filterbox":"Filterverpakking","vape_pen":"Vape pen","vape_oil":"Vape olie","smokingOther":"Rookwaar-Overig"},"alcohol":{"beerBottle":"Bier Flessen","spiritBottle":"Sterke Drank Flessen","wineBottle":"Wijn Flessen","beerCan":"Bier Blikken","brokenGlass":"Gebroken Glas","bottleTops":"Bierfles Doppen","paperCardAlcoholPackaging":"Papieren Verpakking","plasticAlcoholPackaging":"Plastic Verpakking","pint":"Bierglas","six_pack_rings":"Six-pack keelclips","alcohol_plastic_cups":"Plastic Bekers","alcoholOther":"Alcohol-Overig"},"art":{"item":"Zwerfvuil"},"coffee":{"coffeeCups":"Koffie Bekers","coffeeLids":"Koffie Deksels","coffeeOther":"Koffie-Overig"},"food":{"sweetWrappers":"Snoep Papiertjes","paperFoodPackaging":"Papier/Karton Verpakking","plasticFoodPackaging":"Plastic Verpakking","plasticCutlery":"Plastic Bestek","crisp_small":"Chips Verpakking (klein)","crisp_large":"Chips Verpakking (groot)","styrofoam_plate":"Piepschuim bord","napkins":"Servetten","sauce_packet":"Saus Bakjes","glass_jar":"Glazen Pot","glass_jar_lid":"Glazen Pot Deksel","aluminium_foil":"Aluminium folie","pizza_box":"Pizza Doos","foodOther":"Voedsel-Overig","chewing_gum":"Kauwgom"},"softdrinks":{"waterBottle":"Plastic Water Fles","fizzyDrinkBottle":"Plastic Frisdrank Fles","tinCan":"Blikje","bottleLid":"Fles Dop","bottleLabel":"Fles Label","sportsDrink":"Sportdrank Fles","straws":"Rietjes","plastic_cups":"Plastic Bekers","plastic_cup_tops":"Plastic Beker Deksel","milk_bottle":"Melk Fles","milk_carton":"Melk Karton","paper_cups":"Papieren Beker","juice_cartons":"Sap Karton","juice_bottles":"Sap Fles","juice_packet":"Juice Packet","ice_tea_bottles":"IJsthee Fles","ice_tea_can":"IJsthee Blikje","energy_can":"Energie Blikje","pullring":"Blik Lipje","strawpacket":"Rietjes Verpakking","styro_cup":"Piepschuim Beker","broken_glass":"Gebroken Glas","softDrinkOther":"Frisdrank-Overig"},"sanitary":{"gloves":"Handschoenen","facemask":"Mondkapje","condoms":"Condoom","nappies":"Luier","menstral":"Maandverband","deodorant":"Deodorant","ear_swabs":"Wattenstaaf","tooth_pick":"Tandenstoker","tooth_brush":"Tandenborstel","wetwipes":"Natte Doekjes","hand_sanitiser":"Hand Reiniger","sanitaryOther":"Hygiëne-Overig"},"dumping":{"small":"Klein","medium":"Middel","large":"Groot"},"industrial":{"oil":"Olie","industrial_plastic":"Plastic","chemical":"Chemicaliën","bricks":"Stenen","tape":"Plakband","industrial_other":"Industrieel-Overig"},"coastal":{"microplastics":"Microplastic","mediumplastics":"Middelplastics","macroplastics":"Grootplastics","rope_small":"Klein touw","rope_medium":"Middel touw","rope_large":"Groot touw","fishing_gear_nets":"Vistuig/net","ghost_nets":"Ghost nets","buoys":"Boei","degraded_plasticbottle":"Gedegradeerde Plastic Fles","degraded_plasticbag":"Gedegradeerde Plastic Tas","degraded_straws":"Gedegradeerde Rietjes","degraded_lighters":"Gedegradeerde Aanstekers","balloons":"Ballonnen","lego":"Lego","shotgun_cartridges":"Geweer Patronen","styro_small":"Piepschuim klein","styro_medium":"Piepschuim middel","styro_large":"Piepschuim groot","coastal_other":"Kust-Overig"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Hond bij Afval","littercat":"Kat bij Afval","duck":"Eend bij Afval"},"other":{"dogshit":"Hondendrol","pooinbag":"Hondendrol in zakje","automobile":"Auto","clothing":"Kleding","traffic_cone":"Verkeerspilon","life_buoy":"Levensboei","plastic":"Onbekend Plastic","dump":"Illegale Dumping","metal":"Metalen Object","plastic_bags":"Plastic Tas","election_posters":"Verkiezingsposter","forsale_posters":"Tekoop Poster","books":"Boeken","magazine":"Tijdschrift","paper":"Krant","stationary":"Briefpapier","washing_up":"Afwasmiddel Fles","hair_tie":"Haar Elastiek","ear_plugs":"Oordopjes (muziek)","batteries":"Batterijen","elec_small":"Elektrisch klein","elec_large":"Elektrisch groot","random_litter":"Willekeurig afval","balloons":"Ballonnen","bags_litter":"Vuilniszakken met afval","overflowing_bins":"Uitpuilende vuilnisbakken","tyre":"Band","cable_tie":"plastic binder (tie rip)","other":"Overig-Overig"},"presence":{"picked-up":"Ik heb het opgeruimd!","still-there":"Werd niet opgehaald!","picked-up-text":"Het is opgeruimd.","still-there-text":"Het afval is er nog!"},"no-tags":"Geen kenmerken","not-verified":"In afwachting van verificatie","not-tagged-yet":"Nog niet getagd!","dogshit":{"poo":"Hondendrol!","poo_in_bag":"Hondendrol in zakje!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},"4JY7":function(t,e,n){"use strict";function i(){return(i=Object.assign||function(t){for(var e=1;e0?Math.floor(t):Math.ceil(t)};function M(t,e,n){return t instanceof O?t:g(t)?new O(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,n)}function z(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>=e.x&&i.x<=n.x,o=r.y>=e.y&&i.y<=n.y;return a&&o},overlaps:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>=e.lat&&i.lat<=n.lat,o=r.lng>=e.lng&&i.lng<=n.lng;return a&&o},overlaps:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>e.lat&&i.late.lng&&i.lng1,Tt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),Et=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!Y("svg").createSVGRect),Pt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Lt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var It={ie:J,ielt9:K,edge:Q,webkit:tt,android:et,android23:nt,androidStock:rt,opera:at,chrome:ot,gecko:st,safari:lt,phantom:ut,opera12:ct,win:ht,ie3d:dt,webkit3d:pt,gecko3d:ft,any3d:mt,mobile:gt,mobileWebkit:vt,mobileWebkit3d:yt,msPointer:_t,pointer:bt,touch:wt,mobileOpera:xt,mobileGecko:kt,retina:Ct,passiveEvents:Tt,canvas:Et,svg:St,vml:Pt},Ot=_t?"MSPointerDown":"pointerdown",At=_t?"MSPointerMove":"pointermove",Mt=_t?"MSPointerUp":"pointerup",zt=_t?"MSPointerCancel":"pointercancel",Nt={},Dt=!1;function Rt(t,e,n,r){return"touchstart"===e?function(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&ze(t),Ut(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Ot,r,!1),Dt||(document.addEventListener(Ot,jt,!0),document.addEventListener(At,Ft,!0),document.addEventListener(Mt,Bt,!0),document.addEventListener(zt,Bt,!0),Dt=!0)}(t,n,r):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Ut(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}(t,n,r):"touchend"===e&&function(t,e,n){var i=function(t){Ut(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(Mt,i,!1),t.addEventListener(zt,i,!1)}(t,n,r),this}function jt(t){Nt[t.pointerId]=t}function Ft(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Bt(t){delete Nt[t.pointerId]}function Ut(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var qt,$t,Gt,Vt,Ht,Wt=_t?"MSPointerDown":bt?"pointerdown":"touchstart",Yt=_t?"MSPointerUp":bt?"pointerup":"touchend",Zt="_leaflet_",Xt=de(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Jt=de(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Jt||"OTransition"===Jt?Jt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function re(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ae(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ce(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=h(e),i=0,r=n.length;i1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=250,i=e}function s(t){if(a&&!r.cancelBubble){if(bt){if("mouse"===t.pointerType)return;var n,o,s={};for(o in r)n=r[o],s[o]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}t[Zt+Wt+n]=o,t[Zt+Yt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Wt,o,!!Tt&&{passive:!1}),t.addEventListener(Yt,s,!!Tt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,o,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Pe[e]||e,o,!!Tt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(o=function(e){e=e||window.event,qe(t,e)&&s(e)},t.addEventListener(Pe[e],o,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,o),t[Te]=t[Te]||{},t[Te][r]=o}function Ie(t,e,n,i){var r=e+a(n)+(i?"_"+a(i):""),o=t[Te]&&t[Te][r];if(!o)return this;bt&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Ot,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(Mt,i,!1),t.removeEventListener(zt,i,!1))}(t,e,r):wt&&"dblclick"===e&&!Se()?function(t,e){var n=t[Zt+Wt+e],i=t[Zt+Yt+e],r=t[Zt+"dblclick"+e];t.removeEventListener(Wt,n,!!Tt&&{passive:!1}),t.removeEventListener(Yt,i,!!Tt&&{passive:!1}),t.removeEventListener("dblclick",r,!1)}(t,r):"removeEventListener"in t?t.removeEventListener(Pe[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[Te][r]=null}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Ue(t),this}function Ae(t){return Le(t,"wheel",Oe),this}function Me(t){return Ce(t,"mousedown touchstart dblclick",Oe),Le(t,"click",Be),this}function ze(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return ze(t),Oe(t),this}function De(t,e){if(!e)return new O(t.clientX,t.clientY);var n=xe(e),i=n.boundingClientRect;return new O((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Re=ht&&ot?2*window.devicePixelRatio:st?window.devicePixelRatio:1;function je(t){return Q?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Re:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Fe={};function Be(t){Fe[t.type]=!0}function Ue(t){var e=Fe[t.type];return Fe[t.type]=!1,e}function qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var $e={on:Ce,off:Ee,stopPropagation:Oe,disableScrollPropagation:Ae,disableClickPropagation:Me,preventDefault:ze,stop:Ne,getMousePosition:De,getWheelDelta:je,fakeStop:Be,skipped:Ue,isExternalTarget:qe,addListener:Ce,removeListener:Ee},Ge=I.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,R(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=M((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=M(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),a=this.project(r),o=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),u=N([s.min.add(n),s.max.subtract(i)]);if(!u.contains(o)){this._enforcingBounds=!0;var c=a.subtract(o),h=M(o.x+c.x,o.y+c.y);(o.xu.max.x)&&(h.x=a.x-c.x,c.x>0?h.x+=l.x-n.x:h.x-=l.x-i.x),(o.yu.max.y)&&(h.y=a.y-c.y,c.y>0?h.y+=l.y-n.y:h.y-=l.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=n.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,t):navigator.geolocation.getCurrentPosition(n,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new j(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(r,i.maxZoom):r)}var a={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(a[o]=t.coords[o]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new D(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=R(t),n=M(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),a=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),u=N(this.project(s,i),this.project(o,i)).getSize(),c=mt?this.options.zoomSnap:1,h=l.x/u.x,d=l.y/u.y,p=e?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(p,i),c&&(i=Math.round(i/(c/100))*(c/100),i=e?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(r,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new z(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(M(t),e)},layerPointToLatLng:function(t){var e=M(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(F(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return M(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return M(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(M(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return De(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ce(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&mt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ct?" leaflet-retina":"")+(K?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),fe(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){fe(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){fe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Ee:Ce;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),mt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],r="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!qe(o,t))break;if(i.push(n),r)break}if(o===this._container)break;o=o.parentNode}return i.length||s||r||!qe(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ue(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||_e(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var r=e({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var a=i[0];"contextmenu"===n&&a.listens(n,!0)&&ze(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?a.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var l=0;l0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=mt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Xt,n=this._proxy.style[e];pe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();pe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(C((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C((function(){this._moveEnd(!0)}),this))}}),He=S.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),We=function(t){return new He(t)};Ve.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,r){var a=e+i+" "+e+r;t[i+r]=ee("div",a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ye=He.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+a(this),i),this._layerControlInputs.push(e),e.layerId=a(t.layer),Ce(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var a=n.length-1;a>=0;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(a=0;a=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=He.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var a=ee("a",n,i);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Me(a),Ce(a,"click",Ne),Ce(a,"click",r,this),Ce(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ve.mergeOptions({zoomControl:!0}),Ve.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))}));var Xe=He.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Je=He.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Me(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ve.mergeOptions({attributionControl:!0}),Ve.addInitHook((function(){this.options.attributionControl&&(new Je).addTo(this)})),He.Layers=Ye,He.Zoom=Ze,He.Scale=Xe,He.Attribution=Je,We.layers=function(t,e,n){return new Ye(t,e,n)},We.zoom=function(t){return new Ze(t)},We.scale=function(t){return new Xe(t)},We.attribution=function(t){return new Je(t)};var Ke=S.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:P},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},rn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},an=I.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){d(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ce(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(an._dragging===this&&this.finishDrag(),Ee(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!oe(this._element,"leaflet-zoom-anim")&&!(an._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(an._dragging=this,this._preventOutline&&_e(this._element),ve(),qt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=we(this._element);this._startPoint=new O(e.clientX,e.clientY),this._parentScale=xe(n),Ce(document,rn[t.type],this._onMove,this),Ce(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new O(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(o=s,u=l);u>i&&(n[o]=1,t(e,n,i,r,o),t(e,n,i,o,a))}(t,i,e,0,n-1);var r,a=[];for(r=0;re&&(n.push(t[i]),r=i);var o,s,l,u;return re.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function hn(t,e,n,i){var r,a=e.x,o=e.y,s=n.x-a,l=n.y-o,u=s*s+l*l;return u>0&&((r=((t.x-a)*s+(t.y-o)*l)/u)>1?(a=n.x,o=n.y):r>0&&(a+=s*r,o+=l*r)),s=t.x-a,l=t.y-o,i?s*s+l*l:new O(a,o)}function dn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pn(t){return dn(t)}var fn={simplify:on,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return hn(t,e,n)},clipSegment:ln,_getEdgeIntersection:un,_getBitCode:cn,_sqClosestPointOnSegment:hn,isFlat:dn,_flat:pn};function mn(t,e,n){var i,r,a,o,s,l,u,c,h,d=[1,4,2,8];for(r=0,u=t.length;r1e-7;l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=u=Math.PI/2-2*Math.atan(o*e)-s;return new j(s*n,t.x*n/i)}},_n={LonLat:vn,Mercator:yn,SphericalMercator:$},bn=e({},q,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return V(t,.5,-t,.5)}()}),wn=e({},q,{code:"EPSG:4326",projection:vn,transformation:V(1/180,1,-1/180,.5)}),xn=e({},U,{projection:vn,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});U.Earth=q,U.EPSG3395=bn,U.EPSG3857=H,U.EPSG900913=W,U.EPSG4326=wn,U.Simple=xn;var kn=I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ve.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return o=(i-e)/n,this._map.layerPointToLatLng([a.x-o*(a.x-r.x),a.y-o*(a.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return dn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=dn(t),i=0,r=t.length;i=2&&e[0]instanceof j&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){Mn.prototype._setLatLngs.call(this,t),dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new O(e,e);if(t=new z(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,a=this._rings.length;rt.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||Mn.prototype._containsPoint.call(this,t,!0)}}),Nn=Tn.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=g(t)?t:t.features;if(r){for(e=0,n=r.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;or?(e.height=r+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();fe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new O(this._containerLeft,-n-this._containerBottom);r._add(me(this._container));var a=t.layerPointToContainerPoint(r),o=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||o),l=M(this.options.autoPanPaddingBottomRight||o),u=t.getSize(),c=0,h=0;a.x+i+l.x>u.x&&(c=a.x+i-u.x+l.x),a.x-c-s.x<0&&(c=a.x-s.x),a.y+n+l.y>u.y&&(h=a.y+n-u.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ve.mergeOptions({closePopupOnClick:!0}),Ve.include({openPopup:function(t,e,n){return t instanceof Jn||(t=new Jn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),kn.include({bindPopup:function(t,e){return t instanceof Jn?(d(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Jn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof In?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Kn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,a=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,l=r.offsetWidth,u=r.offsetHeight,c=M(this.options.offset),h=this._getAnchor();"top"===s?(e=l/2,n=u):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=u/2):"right"===s?(e=0,n=u/2):"left"===s?(e=l,n=u/2):o.xthis.options.maxZoom||ni&&this._retainParent(r,a,o,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var a=2*e;a<2*e+2;a++){var o=new O(r,a);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)this._setView(t,n);else{for(var h=r.min.y;h<=r.max.y;h++)for(var d=r.min.x;d<=r.max.x;d++){var p=new O(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:o.push(p)}}if(o.sort((function(t,e){return t.distanceTo(a)-e.distanceTo(a)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n);return[e.unproject(i,t.z),e.unproject(r,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new D(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new O(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,K&&this.options.opacity<1&&he(t,this.options.opacity),et&&!nt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&C(i(this._tileReady,this,t,null,a)),fe(a,n),this._tiles[r]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(he(n.el,0),T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),K||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new z(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ei=ti.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=d(this,e)).detectRetina&&Ct&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),et||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ce(n,"load",i(this._tileOnLoad,this,e,n)),Ce(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ct?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return m(this._url,e(n,this.options))},_tileOnLoad:function(t,e){K?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=y,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",y),ti.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return ti.prototype._tileReady.call(this,t,e,n)}});function ni(t,e){return new ei(t,e)}var ii=ei.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var a=(n=d(this,n)).detectRetina&&Ct?2:1,o=this.getTileSize();i.width=o.x*a,i.height=o.y*a,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=N(n.project(e[0]),n.project(e[1])),r=i.min,a=i.max,o=(this._wmsVersion>=1.3&&this._crs===wn?[r.y,r.x,a.y,a.x]:[r.x,r.y,a.x,a.y]).join(","),s=ei.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ei.WMS=ii,ni.wms=function(t,e){return new ii(t,e)};var ri=kn.extend({options:{padding:.1,tolerance:0},initialize:function(t){d(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=me(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),o=this._map.project(t,e).subtract(a),s=r.multiplyBy(-n).add(i).add(r).subtract(o);mt?pe(this._container,s,n):fe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new z(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ai=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ce(t,"mousemove",this._onMouseMove,this),Ce(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,ne(this._container),Ee(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ct?2:1;fe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ct&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),li={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=si("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=si("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=si("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=si("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){re(t._container)},_bringToBack:function(t){ae(t._container)}},ui=Pt?si:Y,ci=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),Ee(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),fe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=ui("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Z(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){re(t._path)},_bringToBack:function(t){ae(t._path)}});function hi(t){return St||Pt?new ci(t):null}Pt&&ci.include(li),Ve.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&oi(t)||hi(t)}});var di=zn.extend({initialize:function(t,e){zn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ci.create=ui,ci.pointsToPath=Z,Nn.geometryToLayer=Dn,Nn.coordsToLatLng=jn,Nn.coordsToLatLngs=Fn,Nn.latLngToCoords=Bn,Nn.latLngsToCoords=Un,Nn.getFeature=qn,Nn.asFeature=$n,Ve.mergeOptions({boxZoom:!0});var pi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),qt(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ce(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new z(this._point,this._startPoint),n=e.getSize();fe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),$t(),ye(),Ee(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ve.addInitHook("addHandler","boxZoom",pi),Ve.mergeOptions({doubleClickZoom:!0});var fi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});Ve.addInitHook("addHandler","doubleClickZoom",fi),Ve.mergeOptions({dragging:!0,inertia:!nt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new an(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,a=(i+e+n)%t-e-n,o=Math.abs(r+n)0?a:-a))-e;this._delta=0,this._startTime=null,o&&("center"===t.options.scrollWheelZoom?t.setZoom(e+o):t.setZoomAround(this._lastMousePos,e+o))}});Ve.addInitHook("addHandler","scrollWheelZoom",vi),Ve.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(ze(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new O(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),Ce(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ee(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||bt&&!lt||Ve.addInitHook("addHandler","tap",yi),Ve.mergeOptions({touchZoom:wt&&!nt,bounceAtZoomLimits:!0});var _i=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Ee(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend",this._onTouchEnd,this),ze(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&a>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===a)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===a&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),ze(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Ee(document,"touchmove",this._onTouchMove,this),Ee(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ve.addInitHook("addHandler","touchZoom",_i),Ve.BoxZoom=pi,Ve.DoubleClickZoom=fi,Ve.Drag=mi,Ve.Keyboard=gi,Ve.ScrollWheelZoom=vi,Ve.Tap=yi,Ve.TouchZoom=_i,t.version="1.7.1",t.Control=He,t.control=We,t.Browser=It,t.Evented=I,t.Mixin=tn,t.Util=E,t.Class=S,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=a,t.setOptions=d,t.DomEvent=$e,t.DomUtil=ke,t.PosAnimation=Ge,t.Draggable=an,t.LineUtil=fn,t.PolyUtil=gn,t.Point=O,t.point=M,t.Bounds=z,t.bounds=N,t.Transformation=G,t.transformation=V,t.Projection=_n,t.LatLng=j,t.latLng=F,t.LatLngBounds=D,t.latLngBounds=R,t.CRS=U,t.GeoJSON=Nn,t.geoJSON=Vn,t.geoJson=Hn,t.Layer=kn,t.LayerGroup=Cn,t.layerGroup=function(t,e){return new Cn(t,e)},t.FeatureGroup=Tn,t.featureGroup=function(t,e){return new Tn(t,e)},t.ImageOverlay=Wn,t.imageOverlay=function(t,e,n){return new Wn(t,e,n)},t.VideoOverlay=Yn,t.videoOverlay=function(t,e,n){return new Yn(t,e,n)},t.SVGOverlay=Zn,t.svgOverlay=function(t,e,n){return new Zn(t,e,n)},t.DivOverlay=Xn,t.Popup=Jn,t.popup=function(t,e){return new Jn(t,e)},t.Tooltip=Kn,t.tooltip=function(t,e){return new Kn(t,e)},t.Icon=En,t.icon=function(t){return new En(t)},t.DivIcon=Qn,t.divIcon=function(t){return new Qn(t)},t.Marker=Ln,t.marker=function(t,e){return new Ln(t,e)},t.TileLayer=ei,t.tileLayer=ni,t.GridLayer=ti,t.gridLayer=function(t){return new ti(t)},t.SVG=ci,t.svg=hi,t.Renderer=ri,t.Canvas=ai,t.canvas=oi,t.Path=In,t.CircleMarker=On,t.circleMarker=function(t,e){return new On(t,e)},t.Circle=An,t.circle=function(t,e,n){return new An(t,e,n)},t.Polyline=Mn,t.polyline=function(t,e){return new Mn(t,e)},t.Polygon=zn,t.polygon=function(t,e){return new zn(t,e)},t.Rectangle=di,t.rectangle=function(t,e){return new di(t,e)},t.Map=Ve,t.map=function(t,e){return new Ve(t,e)};var bi=window.L;t.noConflict=function(){return window.L=bi,this},window.L=t}(e)},"4g2V":function(t,e,n){var i=n("SVq3");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"4j8G":function(t){t.exports=JSON.parse('{"delete-account":"Futa Akaunti Yangu","delete-account?":"Je, ungependa kufuta akaunti yako?","enter-password":"Ingiza neno lako la siri"}')},"4loq":function(t){t.exports=JSON.parse('{"do-you-pickup":"Do you pick up the litter or leave it there?","save-def-settings":"You can save your default setting here.","change-value-of-litter":"You can also change the value of each litter item as you are tagging them.","status":"Current Status","toggle-presence":"Toggle Presence","pickup?":"Pick up?"}')},"55Cu":function(t,e,n){var i=n("V3s9");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"56Dk":function(t){t.exports=JSON.parse('{"delete-account":"Eliminar mi cuenta","delete-account?":"¿Quieres elimar tu cuenta?","enter-password":"Introduce tu contraseña"}')},"56GE":function(t,e,n){"use strict";var i=n("QbqM");n.n(i).a},"5A0h":function(t,e,n){var i=n("WJbV");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5GFE":function(t){t.exports=JSON.parse('{"maps1":"Nous générons de la données public à propos de la pollution plastique.","maps2":"Tout le monde peut télécharger les données et les utiliser.","maps3":"Voir la carte du monde","global-leaderboard":"Classement mondial","position":"Position","name":"Nom","xp":"XP","social":"Social","previous-target":"Cible précédente","next-target":"Cible suivante","litter":"Déchet","total-verified-litter":"Déchet totaux","total-verified-photos":"Total des photos","total-littercoin-issued":"Total de Littercoin","number-of-contributors":"Nombre de contributeurs","avg-img-per-person":"Nombre moyen de photos par personne","avg-litter-per-person":"Nombre moyen de déchet par personne","leaderboard":"Classement","time-series":"Série temporelle","options":"Options","most-data":"Le plus de déchet tagué","most-data-person":"Le plus de déchet tagué par personne","download-open-verified-data":"Données scientifique populaire sur la pollution plastique en accès libre et gratuit.","stop-plastic-ocean":"Empêchons le plastique d\'atteindre l\'océan.","enter-email-sent-data":"Veuillez entrer un email sur lequel recevoir les données:"}')},"5H76":function(t,e,n){var i=n("1Ttm");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5IzF":function(t,e,n){var i,r,a;r=[],void 0===(a="function"==typeof(i=function(){var t={Period:{}};function e(t,e){var n,i=e||!1,r=[2,3,4,5,7,8,9],a=[0,0,0,0,0,0,0],o=[0,12,4,7,24,60,60];if(!(t=t.toUpperCase()))return a;if("string"!=typeof t)throw new Error("Invalid iso8601 period string '"+t+"'");if(!(n=/^P((\d+Y)?(\d+M)?(\d+W)?(\d+D)?)?(T(\d+H)?(\d+M)?(\d+S)?)?$/.exec(t)))throw new Error("String '"+t+"' is not a valid ISO8601 period.");for(var s=0;s0;s--)a[s]>=o[s]&&(a[s-1]=a[s-1]+Math.floor(a[s]/o[s]),a[s]=a[s]%o[s]);return a}return t.version="0.2",t.Period.parse=function(t,n){return e(t,n)},t.Period.parseToTotalSeconds=function(t){for(var n=[31104e3,2592e3,604800,86400,3600,60,1],i=e(t),r=0,a=0;a0&&(1==o[s]?a[s]=o[s]+" "+n[s]:a[s]=o[s]+" "+i[s]);return a.join(" ").trim().replace(/[ ]{2,}/g," ")},t})?i.apply(e,r):i)||(t.exports=a)},"5QBx":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))}}var s={name:"Account",created:function(){var t=this;return o(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_PLANS");case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{btn:"button is-danger",processing:!1,password:""}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors},plans:function(){return this.$store.state.createaccount.plans}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t=this;return o(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("DELETE_ACCOUNT",t.password);case 3:t.processing=!1,t.password="";case 5:case"end":return e.stop()}}),e)})))()}}},l=n("KHd+"),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.account.delete-account")))]),t._v(" "),n("hr"),t._v(" "),n("p",[t._v(t._s(t.$t("settings.account.delete-account")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("div",{staticClass:"row"},[n("form",{attrs:{method:"POST"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("settings.account.delete-account?")))]),t._v(" "),t.errorExists("password")?n("span",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",attrs:{type:"password",name:"password",id:"password",placeholder:"******",required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})])]),t._v(" "),n("button",{class:t.button},[t._v(t._s(t.$t("settings.account.enter-password")))])])])])])])}),[],!1,null,null,null);e.default=u.exports},"5S+d":function(t){t.exports=JSON.parse('{"taken-on":"Taken on","with-a":"With a","by":"By","meter-hex-grids":"meter hex grids","hover-to-count":"Hover over to count","pieces-of-litter":"pieces of litter","hover-polygons-to-count":"Hover over polygons to count"}')},"5bAn":function(t,e,n){var i=n("heCY");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5bHs":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.burger[data-v-613b535d] {\n align-self: center;\n}\n.drop-item[data-v-613b535d] {\n color: black;\n font-weight: 500;\n}\n.flex-not-mobile[data-v-613b535d] {\n display: flex;\n}\n.main-nav[data-v-613b535d] {\n background-color: black;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.nav-title[data-v-613b535d] {\n color: white;\n font-size: 2.5rem;\n font-weight: 600;\n line-height: 1.125;\n}\n.is-white[data-v-613b535d] {\n color: white;\n}\n@media (max-width: 768px)\n{\n.flex-not-mobile[data-v-613b535d] {\n display: block;\n}\n.nav-title[data-v-613b535d] {\n font-size: 2rem;\n padding-left: 0.25em;\n}\n}\n\n",""])},"5ljX":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".hide-br[data-v-6f714926] {\n display: none;\n}\n.is-flex-grow-3[data-v-6f714926] {\n flex-grow: 3;\n}\n.is-flex-grow-1[data-v-6f714926] {\n flex-grow: 1;\n}\n.search-container[data-v-6f714926] {\n margin-right: 4px;\n}\n.custom-buttons[data-v-6f714926] {\n display: flex;\n gap: 1rem;\n justify-content: space-between;\n align-items: center;\n flex-direction: row;\n}\n@media (max-width: 500px) {\n.hide-br[data-v-6f714926] {\n display: block;\n}\n.v-select[data-v-6f714926] {\n margin-top: 10px;\n}\n.flex-column-mobile[data-v-6f714926] {\n flex-direction: column;\n}\n.search-container[data-v-6f714926] {\n margin-right: 0;\n margin-bottom: 4px;\n}\n.custom-buttons[data-v-6f714926] {\n flex-direction: column;\n}\n}\n@media (min-width: 768px) {\n.show-mobile[data-v-6f714926] {\n display: none !important;\n}\n}\nbutton[data-v-6f714926]:focus {\n outline: 2px solid lightskyblue;\n outline-offset: 2px;\n}",""])},"5n2/":function(t,e){function n(t){return"function"==typeof t.value}function i(t){return void 0!==t.componentInstance&&t.componentInstance.$isServer}t.exports={bind:function(t,e,r){if(!n(e))return;function a(e){if(r.context){var n=e.path||e.composedPath&&e.composedPath();n&&n.length>0&&n.unshift(e.target),t.contains(e.target)||function(t,e){if(!t||!e)return!1;for(var n=0,i=e.length;n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.vue-simple-suggest.designed {\n position: relative;\n}\n\n.vue-simple-suggest.designed, .vue-simple-suggest.designed * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.vue-simple-suggest.designed .input-wrapper input {\n display: block;\n width: 100%;\n padding: 10px;\n border: 1px solid #cde;\n border-radius: 3px;\n color: black;\n background: white;\n outline:none;\n -webkit-transition: all .1s;\n transition: all .1s;\n -webkit-transition-delay: .05s;\n transition-delay: .05s\n}\n\n.vue-simple-suggest.designed.focus .input-wrapper input {\n border: 1px solid #aaa;\n}\n\n.vue-simple-suggest.designed .suggestions {\n position: absolute;\n left: 0;\n right: 0;\n top: 100%;\n top: calc(100% + 5px);\n border-radius: 3px;\n border: 1px solid #aaa;\n background-color: #fff;\n opacity: 1;\n z-index: 1000;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item,\n.vue-simple-suggest.designed .suggestions .misc-item {\n padding: 5px 10px;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item.hover {\n background-color: #2874D5 !important;\n color: #fff !important;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item.selected {\n background-color: #2832D5;\n color: #fff;\n}\n",""])},"7QOT":function(t){t.exports=JSON.parse('{"taken-on":"Genomen op","with-a":"Met een","by":"Door","meter-hex-grids":"meter hex rooster","hover-to-count":"Ga er met de muis overheen om te tellen","pieces-of-litter":"aantal items","hover-polygons-to-count":"Ga met de muis over de polygons om te tellen"}')},"7U67":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".partners-list[data-v-3998ef0d] {\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n grid-gap: 32px 32px;\n}\n.partner[data-v-3998ef0d] {\n max-width: 200px;\n margin: auto;\n}\n.partner[data-v-3998ef0d],\n.partner img[data-v-3998ef0d] {\n width: 100%;\n}\n\n/* Smaller screens */\n@media (max-width: 1024px) {\n.partners-list[data-v-3998ef0d] {\n grid-gap: 16px 16px;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n}\n/* Mobile view */\n/* Extra small */\n@media (max-width: 576px) {\n.partners-list[data-v-3998ef0d] {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n}\n/* Extra extra small */",""])},"7VP3":function(t){t.exports=JSON.parse('{"login-btn":"Iniciar sesión","signup-text":"Regístrate","forgot-password":"¿Olvidaste tu contraseña?"}')},"7Ww6":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.bulk-tag-picked-up[data-v-79c706bb] {\n display: flex;\n justify-content: center;\n margin-bottom: 16px;\n}\n",""])},"7Ypd":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".tags-container[data-v-6465121a] {\n max-height: 650px;\n overflow-y: auto;\n}\n.recent-tags[data-v-6465121a] {\n display: flex;\n max-width: 50em;\n margin: auto;\n flex-wrap: wrap;\n overflow: auto;\n justify-content: center;\n}\n.recent-tags-title[data-v-6465121a] {\n max-width: 100px;\n}\n.clear-tags-button[data-v-6465121a] {\n position: absolute;\n top: 20px;\n right: 20px;\n}\n.litter-tag[data-v-6465121a] {\n position: relative;\n cursor: pointer;\n padding: 5px;\n border-radius: 5px;\n background-color: #3298dc;\n margin: 5px;\n}\n.litter-tag .close[data-v-6465121a] {\n display: none;\n position: absolute;\n top: -5px;\n right: -5px;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n color: white;\n font-size: 12px;\n background-color: rgba(0, 0, 0, 0.7);\n}\n.litter-tag .close[data-v-6465121a]:hover {\n background-color: black;\n}\n.litter-tag:hover .close[data-v-6465121a] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n@media screen and (min-width: 1280px) {\n.recent-tags-title[data-v-6465121a] {\n max-width: none;\n}\n}\n.list-enter-active[data-v-6465121a], .list-leave-active[data-v-6465121a],\n.categories-enter-active[data-v-6465121a], .categories-leave-active[data-v-6465121a] {\n transition: all 0.5s;\n}\n.list-enter[data-v-6465121a], .list-leave-to[data-v-6465121a] {\n opacity: 0;\n transform: translateX(30px);\n}\n.categories-enter[data-v-6465121a], .categories-leave-to[data-v-6465121a] {\n opacity: 0;\n transform: translateY(50px);\n}\n.categories-move[data-v-6465121a] {\n transition: transform 0.5s;\n}",""])},"7Zut":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Social",data:function(){return{btn:"button is-medium is-info",processing:!1,twitter:null,facebook:null,instagram:null,linkedin:null,reddit:null,personal:null}},mounted:function(){var t,e,n,i,r,a;this.$store.commit("errors",{}),this.twitter=null===(t=this.user.settings)||void 0===t?void 0:t.social_twitter,this.facebook=null===(e=this.user.settings)||void 0===e?void 0:e.social_facebook,this.instagram=null===(n=this.user.settings)||void 0===n?void 0:n.social_instagram,this.linkedin=null===(i=this.user.settings)||void 0===i?void 0:i.social_linkedin,this.reddit=null===(r=this.user.settings)||void 0===r?void 0:r.social_reddit,this.personal=null===(a=this.user.settings)||void 0===a?void 0:a.social_personal},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors},user:function(){return this.$store.state.user.user}},methods:{getFirstError:function(t){return this.errors.hasOwnProperty(t)?this.errors[t][0]:null},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("UPDATE_SETTINGS",{social_twitter:e.twitter,social_facebook:e.facebook,social_instagram:e.instagram,social_linkedin:e.linkedin,social_reddit:e.reddit,social_personal:e.personal});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=n("KHd+"),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.common.social")))]),t._v(" "),n("hr"),t._v(" "),n("p",[t._v(t._s(t.$t("settings.social.description")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-half"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("label",{attrs:{for:"twitter"}},[t._v("Twitter")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.twitter,expression:"twitter"}],staticClass:"input",attrs:{type:"text",name:"twitter",id:"twitter",placeholder:"Twitter URL"},domProps:{value:t.twitter},on:{input:function(e){e.target.composing||(t.twitter=e.target.value)}}}),t._v(" "),t._m(0)]),t._v(" "),t.getFirstError("social_twitter")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_twitter"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"facebook"}},[t._v("Facebook")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.facebook,expression:"facebook"}],staticClass:"input",attrs:{type:"text",name:"facebook",id:"facebook",placeholder:"Facebook URL"},domProps:{value:t.facebook},on:{input:function(e){e.target.composing||(t.facebook=e.target.value)}}}),t._v(" "),t._m(1)]),t._v(" "),t.getFirstError("social_facebook")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_facebook"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"instagram"}},[t._v("Instagram")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.instagram,expression:"instagram"}],staticClass:"input",attrs:{type:"text",name:"instagram",id:"instagram",placeholder:"Instagram URL"},domProps:{value:t.instagram},on:{input:function(e){e.target.composing||(t.instagram=e.target.value)}}}),t._v(" "),t._m(2)]),t._v(" "),t.getFirstError("social_instagram")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_instagram"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"linkedin"}},[t._v("LinkedIn")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkedin,expression:"linkedin"}],staticClass:"input",attrs:{type:"text",name:"linkedin",id:"linkedin",placeholder:"LinkedIn URL"},domProps:{value:t.linkedin},on:{input:function(e){e.target.composing||(t.linkedin=e.target.value)}}}),t._v(" "),t._m(3)]),t._v(" "),t.getFirstError("social_linkedin")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_linkedin"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"reddit"}},[t._v("Reddit")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.reddit,expression:"reddit"}],staticClass:"input",attrs:{type:"text",name:"reddit",id:"reddit",placeholder:"Reddit URL"},domProps:{value:t.reddit},on:{input:function(e){e.target.composing||(t.reddit=e.target.value)}}}),t._v(" "),t._m(4)]),t._v(" "),t.getFirstError("social_reddit")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_reddit"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"personal"}},[t._v(t._s(t.$t("settings.social.personal-website")))]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.personal,expression:"personal"}],staticClass:"input",attrs:{type:"text",name:"personal",id:"personal",placeholder:t.$t("settings.social.personal-website-url")},domProps:{value:t.personal},on:{input:function(e){e.target.composing||(t.personal=e.target.value)}}}),t._v(" "),t._m(5)]),t._v(" "),t.getFirstError("social_personal")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_personal"))}}):t._e()]),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("common.submit")))])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-twitter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-facebook"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-instagram"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-linkedin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-reddit"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-link"})])}],!1,null,null,null);e.default=l.exports},"7dii":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.vfc-popover-container:focus {\n outline: none;\n}\n.vfc-single-input, .vfc-multiple-input input {\n font-size: inherit;\n -webkit-transition: width 200ms;\n transition: width 200ms;\n padding: 7px;\n width: 143px;\n color: #aaaaaa;\n border: 1px solid #efefef;\n text-align: center;\n outline: none;\n}\n.vfc-single-input {\n border-radius: 10px;\n}\n.vfc-multiple-input input:first-child {\n border-radius: 10px 0 0 10px;\n}\n.vfc-multiple-input input:last-child {\n border-radius: 0 10px 10px 0;\n}\n.vfc-tags-input {\n display: -moz-flex;\n display: -ms-flex;\n display: -o-flex;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-tags-input input {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n background: transparent;\n border: none;\n}\n.vfc-tags-input input[type=text] {\n color: #495057;\n}\n.vfc-tags-input input:focus {\n outline: none;\n}\n.vfc-tags-input span {\n margin-right: 0.3em;\n margin-bottom: 0.3em;\n padding-right: 0.75em;\n padding-left: 0.6em;\n border-radius: 10em;\n}\n.vfc-tags-input-wrapper-default {\n width: 295px;\n padding: 0.5em 0.25em;\n min-height: 15px;\n background: #ffffff;\n border: 1px solid #dbdbdb;\n border-radius: 10px;\n}\n.vfc-tags-input-badge {\n width: 85px;\n background-color: #f0f1f2;\n position: relative;\n display: inline-block;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 0.25em;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.vfc-tags-input-remove {\n cursor: pointer;\n position: absolute;\n display: inline-block;\n right: 0.3em;\n top: 0.3em;\n padding: 0.5em;\n overflow: hidden;\n}\n.vfc-tags-input-remove::before, .vfc-tags-input-remove::after {\n content: "";\n position: absolute;\n width: 75%;\n left: 0.15em;\n background: #ff8498;\n height: 2px;\n margin-top: -1px;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-tags-input-remove::after {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-dark.vfc-multiple-input input {\n border-color: #28456c;\n background-color: #1a202c;\n}\n.vfc-dark .vfc-single-input {\n border-color: #28456c;\n background-color: #1a202c;\n}\n.vfc-dark.vfc-tags-input-root .vfc-tags-input-wrapper-default {\n background-color: #1a202c;\n border-color: #28456c;\n}\n.vfc-dark.vfc-tags-input-root .vfc-tags-input-wrapper-default.vfc-tags-input .vfc-tags-input-badge {\n background-color: #ffffff;\n}\n.vfc-main-container {\n position: relative;\n border-radius: 0.28571429rem;\n -webkit-box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);\n box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);\n font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", serif;\n background-color: #ffffff;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.vfc-main-container.vfc-modal {\n position: absolute;\n width: inherit;\n z-index: 1000;\n}\n.vfc-main-container > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.vfc-main-container.vfc-dark {\n background-color: #1a202c;\n}\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-right,\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-right,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-left {\n border-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-left:active,\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-right:active,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-left:active,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-right:active {\n border-color: #d9d9d9;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-right {\n border-color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date.vfc-underline {\n -webkit-text-decoration: underline dotted #66b3cc;\n text-decoration: underline dotted #66b3cc;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span.vfc-underline {\n -webkit-text-decoration: underline #4299e1;\n text-decoration: underline #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span.vfc-underline.vfc-underline-active {\n -webkit-text-decoration-color: #ffffff;\n text-decoration-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-dayNames span {\n color: #bfbfbf;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week .vfc-week-number {\n border-color: #38b2ac;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day .vfc-base-start,\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day .vfc-base-end {\n background-color: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-today {\n background-color: #38b2ac;\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked {\n background-color: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-borderd, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked:not(.vfc-start-marked):not(.vfc-end-marked):before {\n background-color: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked:after {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-hide {\n color: #bfbfbf;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hide {\n color: #464646;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-disabled {\n color: rgba(133, 133, 133, 0.2);\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day:after {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hover:hover, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hovered {\n z-index: 1;\n background-color: #4682b4;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list .vfc-time-picker__item {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list .vfc-time-picker__item--selected {\n color: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list::-webkit-scrollbar-track {\n background: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list::-webkit-scrollbar-thumb {\n background: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-close:before,\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-close:after {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-modal-time-mechanic .vfc-modal-time-line {\n background-color: #4299e1;\n color: #ffffff;\n}\n.vfc-time-picker::after {\n content: "";\n display: table;\n clear: both;\n}\n.vfc-time-picker-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-time-picker__list {\n float: left;\n width: 50%;\n height: 200px;\n overflow-y: scroll;\n}\n.vfc-time-picker__list::-webkit-scrollbar {\n width: 3px;\n}\n.vfc-time-picker__list::-webkit-scrollbar-track {\n background: #efefef;\n}\n.vfc-time-picker__list::-webkit-scrollbar-thumb {\n background: #cccccc;\n}\n.vfc-time-picker__with-suffix .vfc-time-picker__list {\n width: 33.333333%;\n}\n.vfc-time-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n -webkit-transition: font-size 0.3s;\n transition: font-size 0.3s;\n}\n.vfc-time-picker__item:hover {\n font-size: 32px;\n}\n.vfc-time-picker__item--selected {\n color: #66b3cc;\n font-size: 32px;\n}\n.vfc-time-picker__item--disabled {\n opacity: 0.4;\n cursor: default;\n font-size: 20px !important;\n}\n.vfc-close {\n position: absolute;\n right: 12px;\n top: 16px;\n width: 32px;\n height: 32px;\n opacity: 0.3;\n z-index: 100;\n}\n.vfc-close:hover {\n opacity: 1;\n}\n.vfc-close::before, .vfc-close::after {\n position: absolute;\n left: 15px;\n content: " ";\n height: 26px;\n width: 2px;\n background-color: #ffffff;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-close::after {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-modal-time-mechanic {\n position: relative;\n margin: 0 auto;\n width: 100%;\n}\n.vfc-modal-time-line {\n width: 100%;\n background-color: #66b3cc;\n text-align: left;\n color: #ffffff;\n font-size: 16px;\n padding-top: 15px;\n padding-bottom: 15px;\n border-radius: 0.28571429rem 0.28571429rem 0 0;\n}\n.vfc-modal-time-line span {\n margin-left: 15px;\n}\n.vfc-modal-time-line span span.vfc-active {\n text-decoration: underline;\n}\n.vfc-modal-append {\n color: #7d7d7d;\n font-weight: normal;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-modal-midle {\n display: inline-block;\n}\n.vfc-modal-midle-dig {\n display: inline-block;\n text-align: center;\n}\n.vfc-modal-digits {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n font-size: 50px;\n}\n.vfc-modal-digits select {\n margin: 5px 0;\n width: 100%;\n text-align: center;\n -moz-text-align-last: center;\n text-align-last: center;\n}\n.vfc-arrow {\n opacity: 0.3;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n}\n.vfc-arrow:hover {\n opacity: 1;\n}\n.vfc-arrow-up {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-bottom: 20px solid #333333;\n}\n.vfc-arrow-down {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-top: 20px solid #333333;\n}\n.vfc-separately-navigation-buttons {\n margin-bottom: -80px;\n}\n.vfc-navigation-buttons {\n width: 100%;\n position: absolute;\n}\n.vfc-navigation-buttons, .vfc-separately-navigation-buttons {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 15%;\n flex: 0 1 15%;\n margin-top: -10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-navigation-buttons.vfc-left, .vfc-separately-navigation-buttons.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.vfc-navigation-buttons.vfc-right, .vfc-separately-navigation-buttons.vfc-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.vfc-navigation-buttons.vfc-space-between, .vfc-separately-navigation-buttons.vfc-space-between {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-navigation-buttons div, .vfc-separately-navigation-buttons div {\n z-index: 200;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n color: #000000;\n font-size: 18px;\n margin: 20px 10px;\n}\n.vfc-navigation-buttons div.vfc-cursor-pointer, .vfc-separately-navigation-buttons div.vfc-cursor-pointer {\n cursor: pointer;\n}\n.vfc-navigation-buttons div .vfc-arrow-left, .vfc-separately-navigation-buttons div .vfc-arrow-left {\n width: 12px;\n height: 12px;\n border-top: 2px solid;\n border-left: 2px solid;\n border-color: #0a0c19;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-navigation-buttons div .vfc-arrow-left:active,\n.vfc-navigation-buttons div .vfc-arrow-right:active, .vfc-separately-navigation-buttons div .vfc-arrow-left:active,\n.vfc-separately-navigation-buttons div .vfc-arrow-right:active {\n border-color: #ddd;\n}\n.vfc-navigation-buttons div .vfc-arrow-left.vfc-disabled,\n.vfc-navigation-buttons div .vfc-arrow-right.vfc-disabled, .vfc-separately-navigation-buttons div .vfc-arrow-left.vfc-disabled,\n.vfc-separately-navigation-buttons div .vfc-arrow-right.vfc-disabled {\n border-color: #dddddd;\n}\n.vfc-navigation-buttons div .vfc-arrow-right, .vfc-separately-navigation-buttons div .vfc-arrow-right {\n width: 12px;\n height: 12px;\n border-top: 2px solid;\n border-right: 2px solid;\n border-color: #0a0c19;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-calendar {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-flow: column nowrap;\n flex-flow: column nowrap;\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vfc-calendar .vfc-content {\n margin-bottom: 20px;\n}\n.vfc-calendars {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.vfc-calendars-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n.vfc-calendar-fade-enter-active, .vfc-calendar-fade-leave-active, .vfc-calendar-slide-down-enter-active, .vfc-calendar-slide-down-leave-active, .vfc-calendar-slide-left-enter-active, .vfc-calendar-slide-left-leave-active, .vfc-calendar-slide-right-enter-active, .vfc-calendar-slide-right-leave-active, .vfc-calendar-slide-up-enter-active, .vfc-calendar-slide-up-leave-active {\n -webkit-transition: all 0.25s ease-in-out;\n transition: all 0.25s ease-in-out;\n}\n.vfc-calendar-fade-leave-active, .vfc-calendar-none-leave-active, .vfc-calendar-slide-down-leave-active, .vfc-calendar-slide-left-leave-active, .vfc-calendar-slide-right-leave-active, .vfc-calendar-slide-up-leave-active {\n position: absolute;\n}\n.vfc-calendar-none-enter-active, .vfc-calendar-none-leave-active {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n.vfc-calendar-slide-left-enter, .vfc-calendar-slide-right-leave-to {\n opacity: 0;\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n}\n.vfc-calendar-slide-left-leave-to, .vfc-calendar-slide-right-enter {\n opacity: 0;\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n}\n.vfc-calendar-slide-down-leave-to, .vfc-calendar-slide-up-enter {\n opacity: 0;\n -webkit-transform: translateY(20px);\n transform: translateY(20px);\n}\n.vfc-calendar-slide-down-enter, .vfc-calendar-slide-up-leave-to {\n opacity: 0;\n -webkit-transform: translateY(-20px);\n transform: translateY(-20px);\n}\n.vfc-months {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n padding: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months .vfc-item {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: 30%;\n flex-basis: 30%;\n margin: 3px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n text-align: center;\n outline-style: none;\n border-radius: 5px;\n}\n.vfc-months .vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n -webkit-transition: background-color 0.2s ease-in-out;\n transition: background-color 0.2s ease-in-out;\n cursor: pointer;\n}\n.vfc-months .vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.vfc-months-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n margin-left: -20px;\n}\n.vfc-months-container.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n margin-left: 0;\n}\n.vfc-months-container.vfc-left .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: 45px;\n}\n.vfc-months-container.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n margin-left: 0;\n}\n.vfc-months-container.vfc-left .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: 45px;\n}\n.vfc-months-container.vfc-center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-months-container.vfc-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.vfc-months-container.vfc-right .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: calc(100% - 90px);\n}\n.vfc-months-container .vfc-content {\n width: 45%;\n min-width: 133px;\n position: absolute;\n z-index: 1000;\n background-color: #2d3748;\n border: 1px solid;\n border-radius: 5px;\n top: 55px;\n color: #ffffff;\n padding: 5px 0;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons {\n position: unset;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div {\n margin: 10px 10px;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover {\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover .vfc-arrow-left,\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover .vfc-arrow-right {\n border-color: #4299e1;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-right {\n border-color: #ffffff;\n width: 8px;\n height: 8px;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date {\n font-size: 18px;\n font-weight: bold;\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date-has-delta:hover {\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n content: "";\n position: absolute;\n display: block;\n width: 12px;\n height: 12px;\n border-top: inherit;\n border-left: inherit;\n background: inherit;\n z-index: -1;\n background-color: #2d3748;\n -webkit-transform: translateY(-40%) rotate(45deg);\n transform: translateY(-40%) rotate(45deg);\n top: 0;\n left: 50%;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date.vfc-underline {\n cursor: pointer;\n -webkit-text-decoration: underline dotted #66b3cc;\n text-decoration: underline dotted #66b3cc;\n}\n.vfc-months-container .vfc-content .vfc-months {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n padding: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: 30%;\n flex-basis: 30%;\n margin: 3px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n text-align: center;\n outline-style: none;\n border-radius: 5px;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n -webkit-transition: background-color 0.2s ease-in-out;\n transition: background-color 0.2s ease-in-out;\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.vfc-content {\n margin: 0 20px;\n z-index: 100;\n}\n.vfc-top-date {\n margin: 25px;\n font-size: 18px;\n font-weight: normal;\n}\n.vfc-top-date.vfc-left {\n text-align: left;\n}\n.vfc-top-date.vfc-right {\n text-align: right;\n}\n.vfc-top-date.vfc-center {\n text-align: center;\n}\n.vfc-top-date span {\n cursor: default;\n text-decoration: unset;\n margin: 0 2px;\n color: #000000;\n}\n.vfc-top-date span.vfc-cursor-pointer {\n cursor: pointer;\n}\n.vfc-top-date span.vfc-underline {\n cursor: pointer;\n -webkit-text-decoration: underline #66b3cc;\n text-decoration: underline #66b3cc;\n}\n.vfc-top-date span.vfc-underline.vfc-underline-active {\n -webkit-text-decoration-color: #000000;\n text-decoration-color: #000000;\n}\n.vfc-dayNames, .vfc-week {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.vfc-dayNames {\n -webkit-box-flex: 30px;\n -ms-flex: 30px 0 0px;\n flex: 30px 0 0;\n margin-bottom: 10px;\n}\n.vfc-dayNames span {\n width: 100%;\n margin-right: 5px;\n color: #333333;\n text-align: center;\n}\n.vfc-dayNames span:last-child {\n margin-right: 0;\n}\n.vfc-week-number {\n border-right: 1px solid #ff8498;\n}\n.vfc-week .vfc-day {\n position: relative;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: 3px;\n /* Weekends */\n}\n.vfc-week .vfc-day .vfc-base-start,\n.vfc-week .vfc-day .vfc-base-end {\n position: absolute;\n background: #8fd8ec;\n width: 50% !important;\n border-radius: 0 !important;\n border-right-width: 0 !important;\n height: 100%;\n}\n.vfc-week .vfc-day .vfc-base-start {\n right: 0;\n}\n.vfc-week .vfc-day .vfc-base-end {\n left: 0;\n}\n.vfc-week .vfc-day span.vfc-span-day {\n display: inline-block;\n text-align: center;\n width: 30px;\n line-height: 30px;\n border-radius: 50%;\n margin: 0 auto;\n vertical-align: middle;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-today {\n background-color: #ff8498;\n color: #ffffff;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-cursor-not-allowed {\n cursor: not-allowed;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked {\n margin: auto;\n background-color: #66b3cc;\n border-radius: 50%;\n opacity: 1;\n z-index: 1;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-borderd, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked {\n color: #ffffff;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-borderd:before, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked:before, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked:before {\n background: transparent;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked:before {\n top: 0;\n left: 0;\n content: "";\n position: absolute;\n background-color: #8fd8ec;\n width: 100%;\n height: 100%;\n z-index: -1;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked:after {\n color: #000000;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-hide {\n color: #d9d9d9;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-hide {\n color: #bfbfbf;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-disabled {\n margin: auto;\n color: rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n opacity: 1;\n z-index: 2;\n}\n.vfc-week .vfc-day span.vfc-span-day:after {\n z-index: 2;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n content: attr(data-date);\n color: #000000;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-hover:hover, .vfc-week .vfc-day span.vfc-span-day.vfc-hovered {\n background-color: #dadada;\n z-index: 100;\n}\n.vfc-week .vfc-day:last-child {\n color: #000000;\n}\n.rangeCleaner {\n padding: 5px 0 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.rangeCleaner span {\n color: white;\n border-radius: 5px;\n border: none;\n padding: 5px;\n}\n.rangeCleaner span.active {\n background-color: #66b3cc;\n}\n.rangeCleaner span.active:hover {\n background-color: #4f8a9e;\n cursor: pointer;\n}\n.rangeCleaner span.disabled {\n background-color: #949494;\n}',""])},"7eOH":function(t,e,n){var i=n("D9m9");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"7kWm":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#image-wrapper {\n height: 500px;\n width: 500px;\n background-repeat: no-repeat;\n position: relative;\n background-size: 500px 500px;\n margin: 0 auto 1em auto;\n}\n.vdr {\n border: 1px solid red;\n}\n.vdr.active:before {\n outline: 0;\n}\n.box-tag {\n background-color: red;\n position: absolute;\n top: -1.5em;\n right: 0;\n padding: 0 5px;\n margin-right: -3px;\n}\n.display-inline-grid {\n display: inline-grid;\n}\n.filler {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n.littercoin-pos {\n position: fixed;\n background: white;\n bottom: 0;\n left: 1em;\n margin-bottom: 1em;\n}\n\n",""])},"8/Lw":function(t,e,n){"use strict";var i=n("+Fkb");n.n(i).a},"8ClP":function(t){t.exports=JSON.parse('{"email-you":"Chcesz, abyśmy od czasu do czasu wysyłali Ci e-maile z dobrymi wiadomościami","subscribe":"Subskrybuj","subscribed-success-msg":"Zasubskrybowano do dobrych wieści! W każdej chwili możesz zrezygnować z subskrypcji","need-your-help":"Potrzebujemy Twojej pomocy, aby stworzyć najbardziej zaawansowaną i dostępną na świecie bazę danych o zanieczyszczeniach","read":"Czytaj","blog":"Blog","research-paper":"Artykuł badawczy","watch":"Oglądaj","help":"Pomoc","join-the-team":"Dołącz do drużyny","join-slack":"dołącz do Slack","create-account":"Załóż konto","fb-group":"Grupa Facebook","single-donation":"Pojedyncza dotacja","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap to flagowy produkt GeoTech Innovations Ltd., startupu z Irlandii, który jest pionierem w zakresie podstawowych usług naukowych dla obywateli # 650323","enter-email":"Wpisz swój adres e-mail","references":"Referencje","credits":"Zasługi","contact-us":"Contact Us"}')},"8G2h":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"La pollution plastique est hors de contrôle","fires-out-of-control":"Les mégots de cigarette peuvent déclencher des incendies","climate-change-out-of-control":"La pollution plastique est en train d\'aggraver le changement climatique","help-us":"Aidez-nous à créer la base de données sur les déchets, les marques concernées et la pollution plastique, la plus avancée au monde ","why-collect-data":"Pourquoi devrions-nous collecter des données","visibility":"La Visibilité","our-maps-reveal-litter-normality":"Pour beaucoup de personnes, les déchets sont devenus normaux et presque invisibles. Les cartes sont puissantes parce qu\'elles montrent ce que nous ne pouvons habituellement pas voir","science":"Résolution de problème","our-data-open-source":"Nos données sont libres d\'accès. Toute personne a un droit égal et illimité de téléchargement et d\'utilisation de nos données pour quelque raison que ce soit","community":"Communauté","must-work-together":"Nous avons besoin de votre aide pour créer un changement de paradigme dans la façon dont nous comprenons et répondons à la pollution","how-does-it-work":"Comment ça marche","take-a-photo":"Prenez une photo","device-captures-info":"Votre appareil peut capturer de précieuses informations sur le lieu, l\'heure, le matériel et la marque concernée.","tag-the-litter":"Taguez le déchet","tag-litter-you-see":"Taguez juste le déchet que vous voyez sur la photo. Vous pouvez préciser si le déchet a été ramassé ou est toujours sur place. Vous pouvez télécharger vos photos à tout moment","share-results":"Partagez vos résultats","share":"Partagez les cartes ou téléchargez nos données. Montrons à tout le monde à quel point le monde est pollué","verified":"Votre e-mail a été confirmé! Vous pouvez maintenant vous connecter.","close":"Fermer","our-partners":"Nos Partenaires","become-a-partner":"Devenez partenaire"}')},"8J0w":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.ref-title[data-v-54856fda] {\n font-size: 2em;\n font-weight: 600;\n}\n\n",""])},"8RtP":function(t,e,n){var i=n("2/C0");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8V5I":function(t){t.exports=JSON.parse('{"success":"Successo!","error":"Error!","settings-updated":"Configurações atualizadas com sucesso!","tags-added":"Sucesso! Suas tags foram adicionadas!","subscription-cancelled":"Sua assinatura foi cancelada","privacy-updated":"Suas configurações de privacidade foram salvas","litter-toggled":"Valor retirado atualizado","settings":{"subscribed":"Você foi inscrito nas atualizações e boas notícias!","unsubscribed":"Você cancelou a inscrição. Você não receberá mais as boas notícias!","flag-updated":"Sua bandeira foi atualizada"},"something-went-wrong":"Algo deu errado. Por favor, tente novamente ou entre em contato conosco!"}')},"8bp/":function(t,e,n){"use strict";var i={name:"RecentTags",props:["photoId"],computed:{recentTags:function(){return this.$store.state.litter.recentTags},recentCustomTags:function(){return this.$store.state.litter.recentCustomTags}},methods:{getCategoryName:function(t){return this.$i18n.t("litter.categories.".concat(t))},getTagName:function(t,e){return this.$i18n.t("litter.".concat(t,".").concat(e))},addRecentTag:function(t,e){var n=1;this.$store.state.litter.tags.hasOwnProperty(this.photoId)&&this.$store.state.litter.tags[this.photoId].hasOwnProperty(t)&&this.$store.state.litter.tags[this.photoId][t].hasOwnProperty(e)&&(n=parseInt(this.$store.state.litter.tags[this.photoId][t][e])+1),this.$store.commit("changeCategory",t),this.$store.commit("changeTag",e),this.$store.commit("addTag",{photoId:this.photoId,category:t,tag:e,quantity:n})},addRecentCustomTag:function(t){this.$store.commit("addCustomTag",{photoId:this.photoId,customTag:t})},clearRecentTags:function(){this.$store.commit("initRecentTags",{}),this.$store.commit("initRecentCustomTags",[]),this.$localStorage.remove("recentTags"),this.$localStorage.remove("recentCustomTags")},clearRecentTag:function(t,e){this.$store.commit("removeRecentTag",{category:t,tag:e}),this.$localStorage.set("recentTags",JSON.stringify(this.recentTags))},clearRecentCustomTag:function(t){this.$store.commit("removeRecentCustomTag",t),this.$localStorage.set("recentCustomTags",JSON.stringify(this.recentCustomTags))}}},r=(n("SDPu"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return Object.keys(t.recentTags).length>0||t.recentCustomTags.length?n("div",{staticClass:"tags-container"},[n("p",{staticClass:"recent-tags-title mb-5 has-text-weight-bold"},[t._v(t._s(t.$t("tags.recently-tags")))]),t._v(" "),t.recentCustomTags.length?n("div",[n("p",[t._v(t._s(t.$t("tags.custom-tags")))]),t._v(" "),n("transition-group",{staticClass:"recent-tags",attrs:{name:"list",tag:"div"}},t._l(t.recentCustomTags,(function(e){return n("div",{key:e,staticClass:"litter-tag",on:{click:function(n){return t.addRecentCustomTag(e)}}},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.clearRecentCustomTag(e)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v(t._s(e))])])})),0)],1):t._e(),t._v(" "),n("transition-group",{attrs:{name:"categories",tag:"div"}},t._l(Object.keys(t.recentTags),(function(e){return n("div",{key:e},[n("p",[t._v(t._s(t.getCategoryName(e)))]),t._v(" "),n("transition-group",{staticClass:"recent-tags",attrs:{name:"list",tag:"div"}},t._l(Object.keys(t.recentTags[e]),(function(i){return n("div",{key:i,staticClass:"litter-tag",on:{click:function(n){return t.addRecentTag(e,i)}}},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.clearRecentTag(e,i)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v(t._s(t.getTagName(e,i)))])])})),0)],1)})),0),t._v(" "),n("div",{staticClass:"clear-tags-button"},[n("button",{staticClass:"button is-danger is-small tooltip",on:{click:t.clearRecentTags}},[n("span",{staticClass:"tooltip-text"},[t._v(t._s(t.$t("tags.clear-tags-btn")))]),t._v(" "),n("i",{staticClass:"fa fa-trash"})])])],1):t._e()}),[],!1,null,"6465121a",null);e.a=a.exports},"8mV1":function(t,e,n){var i=n("GAn2");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8njk":function(t,e,n){var i=n("KBsX");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8oxB":function(t,e){var n,i,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var l,u=[],c=!1,h=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&p())}function p(){if(!c){var t=s(d);c=!0;for(var e=u.length;e;){for(l=u,u=[];++h1)for(var n=1;n0},subscribed:function(){return this.$store.state.subscriber.just_subscribed}},methods:{clearErrors:function(){this.$store.commit("clearSubscriberErrors")},getError:function(t){return this.errors[t][0]},icon:function(t){return"/assets/icons/"+t},open:function(t){window.open(t,"_blank")},subscribe:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("SUBSCRIBE",e.email);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=(n("rMt7"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"foot"},[n("div",{staticClass:"container"},[n("div",{staticClass:"inner-footer-container has-text-centered"},[n("p",{staticClass:"top-footer-title"},[t._v(t._s(t.$t("home.footer.email-you"))+"?")]),t._v(" "),t.hasErrors?n("div",{staticClass:"notification is-danger mb1em"},t._l(Object.keys(this.errors),(function(e){return n("div",{key:e},[n("p",[t._v(t._s(t.getError(e)))])])})),0):t._e(),t._v(" "),n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.subscribe(e)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input f-input",attrs:{placeholder:t.$t("home.footer.enter-email"),required:"",type:"email"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.clearErrors]}}),t._v(" "),n("br"),t._v(" "),n("button",{staticClass:"button is-medium is-primary hov mb2"},[t._v(t._s(t.$t("home.footer.subscribe")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.subscribed,expression:"subscribed"}],staticClass:"footer-success"},[t._v("\n "+t._s(t.$t("home.footer.subscribed-success-msg"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-half foot-container-left"},[n("p",{staticClass:"olm-title"},[t._v("#OpenLitterMap")]),t._v(" "),n("p",{staticClass:"footer-text mb1"},[t._v(t._s(t.$t("home.footer.need-your-help"))+".")]),t._v(" "),t._l(t.socials,(function(e){return n("img",{staticClass:"footer-icon",attrs:{src:t.icon(e.icon)},on:{click:function(n){return t.open(e.url)}}})})),t._v(" "),n("br")],2),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.read")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://openlittermap.medium.com/")}}},[t._v(t._s(t.$t("home.footer.blog")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://opengeospatialdata.springeropen.com/articles/10.1186/s40965-018-0050-y")}}},[t._v(t._s(t.$t("home.footer.research-paper")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/references"}},[t._v(t._s(t.$t("home.footer.references")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/credits"}},[t._v(t._s(t.$t("home.footer.credits")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/faq"}},[t._v(t._s(t.$t("common.faq")))])],1),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.watch")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=my7Cx-kZhT4")}}},[t._v("TEDx 2017")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=E_qhEhHwUGM")}}},[t._v("State of the Map 2019")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=T8rGf1ScR1I")}}},[t._v("Datapub 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=5HuaQNeHuZ8")}}},[t._v("ESA PhiWeek 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=QhLsA0WIfTA")}}},[t._v("Geneva Form, UN 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=Pe4nHdoAlu4")}}},[t._v("Cardano4Climate Meetup 2021")])]),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.help")))]),t._v(" "),n("router-link",{attrs:{to:"/contact-us"}},[n("p",{staticClass:"footer-link"},[t._v(t._s(t.$t("home.footer.contact-us")))])]),t._v(" "),n("p",{staticClass:"footer-link"},[t._v(t._s(t.$t("home.footer.create-account")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://angel.co/openlittermap/jobs")}}},[t._v(t._s(t.$t("home.footer.join-the-team")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://join.slack.com/t/openlittermap/shared_invite/zt-fdctasud-mu~OBQKReRdC9Ai9KgGROw")}}},[t._v(t._s(t.$t("home.footer.join-slack")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://github.com/openlittermap")}}},[t._v("GitHub")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.facebook.com/pg/openlittermap/groups/")}}},[t._v(t._s(t.$t("home.footer.fb-group")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{to:"/donate"}},[t._v(t._s(t.$t("home.footer.single-donation")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{to:"/signup"}},[t._v(t._s(t.$t("home.footer.crowdfunding")))])],1)])]),t._v(" "),n("div",{staticClass:"footer-bottom"},[n("p",{staticClass:"footer-text"},[t._v(t._s(t.$t("home.footer.olm-is-flagship")))])])])}),[],!1,null,"7f74f80e",null).exports,u={name:"Partners"},c=(n("UE2J"),{name:"Welcome",components:{Partners:Object(s.a)(u,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"partners-list"},[e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://cardano.org/",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/cardano.svg",alt:"Partner"}})])]),this._v(" "),e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://elfc.com/",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/engine-lease-finance-logo.png",alt:"Partner"}})])]),this._v(" "),e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://twitter.com/PlasticRaiders?s=20",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/plastic_raiders.png",alt:"Partner"}})])]),this._v(" "),e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://www.sfi.ie/",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/science-foundation-ireland.png",alt:"Partner"}})])])])])}],!1,null,"3998ef0d",null).exports,Footer:l},mounted:function(){this.startHeadingsAnimation()},data:function(){return{headings:[{title:this.$t("home.welcome.plastic-pollution-out-of-control"),img:"/assets/plastic_bottles.jpg"},{title:this.$t("home.welcome.fires-out-of-control"),img:"/assets/forest_fire.jpg"}],activeHeadingIndex:0}},computed:{activeHeading:function(){return this.headings[this.activeHeadingIndex]},modal:function(){return this.$store.state.modal.show}},methods:{android:function(){window.open("https://play.google.com/store/apps/details?id=com.geotech.openlittermap","_blank")},ios:function(){window.open("https://apps.apple.com/us/app/openlittermap/id1475982147","_blank")},startHeadingsAnimation:function(){var t=this,e=null;function n(){document.hidden?e&&clearInterval(e):e=setInterval((function(){t.activeHeadingIndex=(t.activeHeadingIndex+1)%t.headings.length}),5e3)}n(),document.addEventListener("visibilitychange",n)}}}),h=(n("91GB"),Object(s.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"container home-container"},[n("div",{staticClass:"columns c-1"},[n("div",{staticClass:"column is-half"},[n("transition",{attrs:{name:"slide-fade-left",mode:"out-in"}},[n("h1",{key:t.activeHeading.title,staticClass:"main-title variable-height",domProps:{innerHTML:t._s(t.activeHeading.title)}}),t._v(".\n ")]),t._v(" "),n("h2",{staticClass:"subtitle is-3 home-img-padding"},[t._v("\n "+t._s(t.$t("home.welcome.help-us"))+".\n ")]),t._v(" "),n("div",{staticClass:"flex"},[n("img",{staticClass:"app-icon",staticStyle:{"margin-right":"1em"},attrs:{src:"/assets/icons/ios.png"},on:{click:t.ios}}),t._v(" "),n("img",{staticClass:"app-icon",attrs:{src:"/assets/icons/android.png"},on:{click:t.android}})])],1),t._v(" "),n("div",{staticClass:"column is-half"},[n("div",{staticClass:"top-image"},[n("transition",{attrs:{name:"slide-fade-right",mode:"out-in"}},[n("img",{key:t.activeHeading.title,attrs:{src:t.activeHeading.img,alt:t.activeHeading.title}})])],1)])]),t._v(" "),n("div",{staticClass:"why-container"},[n("h1",{staticClass:"main-title"},[t._v("\n "+t._s(t.$t("home.welcome.why-collect-data"))+"?\n ")]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(0),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 1. "+t._s(t.$t("home.welcome.visibility"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.our-maps-reveal-litter-normality"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(1),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 2. "+t._s(t.$t("home.welcome.science"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.our-data-open-source"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(2),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 3. "+t._s(t.$t("home.welcome.community"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle"},[t._v("\n "+t._s(t.$t("home.welcome.must-work-together"))+".\n ")])])])]),t._v(" "),n("div",[n("h1",{staticClass:"main-title"},[t._v("\n "+t._s(t.$t("home.welcome.how-does-it-work"))+"?\n ")]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(3),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 1. "+t._s(t.$t("home.welcome.take-a-photo"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.device-captures-info"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(4),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 2. "+t._s(t.$t("home.welcome.tag-the-litter"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.tag-litter-you-see"))+"!\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(5),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 3. "+t._s(t.$t("home.welcome.share-results"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle"},[t._v("\n "+t._s(t.$t("home.welcome.share"))+"!\n ")])])])]),t._v(" "),n("div",{staticClass:"partners-container container is-max-desktop"},[n("p",{staticClass:"has-text-centered main-title"},[t._v(t._s(t.$t("home.welcome.our-partners")))]),t._v(" "),n("Partners")],1)]),t._v(" "),n("Footer")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/world.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/microscope.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/tree.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/camera.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/phone.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/twitter2.png"}})])}],!1,null,"5a052acc",null));e.default=h.exports},AYZs:function(t){t.exports=JSON.parse('{"card-number":"Numer karty","card-holder":"Imię i nazwisko posiadacza karty","exp":"Termin ważności","cvv":"CVV","placeholders":{"card-number":"Twój 16-cyfrowy numer karty","card-holder":"Imię i nazwisko posiadacza karty","exp-month":"Miesiąc","exp-year":"Rok","cvv":"***"}}')},Aaoo:function(t){t.exports=JSON.parse('{"general":"Kwa ujumla","password":"Neno la siri","details":"Maelezo ya Kibinafsi","social":"Akaunti za jamii","account":"Akaunti yangu","payments":"Malipo yangu","privacy":"Faragha","littercoin":"Littercoin (LTRX)","presence":"Uwepo","emails":"Barua pepe","show-flag":"Onyesha Bendera","teams":"Timu"}')},Ap9Q:function(t){t.exports=JSON.parse('{"cancel":"Megszüntetés","submit":"Beküldés","download":"Letöltés","delete":"Törlés","delete-image":"Törölje a képet","confirm-delete":"Törlés jóváhagyása","loading":"Betöltés...","created_at":"Feltöltve itt","created":"Létrehozva","created-by":"Készítette","datetime":"Felvéve","day-names":["Mo","Tu","We","Th","Fr","Sa","Su"],"month-names":["January","February","March","April","May","June","July","August","September","October","November","December"],"short-month-names":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"next":"Következő","previous":"Előző","next-page":"Következő oldal","add-tags":"Címkék hozzáadása","add-many-tags":"Több címke megadása","select-all":"Minden kiválasztása","de-select-all":"Törölje az összes kijelölését","choose-dates":"Válasszon dátumot","not-verified":"Nem ellenőrzött","verified":"Ellenőrizve","search-by-id":"Keresés azonosító alapján","active":"Aktív","inactive":"Inaktív","inactivate":"Csapat-hozzájárulás letiltása","your-email":"you@email.com","team":"Csapat","actions":"Akciók","anonymous":"Névtelen","photo":"Fénykép","reason":"Reason","faq":"Frequently Asked Questions"}')},AxWf:function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap csapatok","dashboard":"Irányítópult","join-a-team":"Csatlakozz egy csapathoz","create-a-team":"Csapat létrehozása","your-teams":"Csapataid","leaderboard":"Ranglista","settings":"Beállítások","teams-dashboard":"Csapatok irányítópult","photos-uploaded":"Fényképek feltöltve","litter-tagged":"Szemét megjelölve","members-uploaded":"A csapat tagjai feltöltöttek","all-teams":"Minden csapat","times":{"today":"Ma","week":"Ezen a héten","month":"Ebben a hónapban","year":"Idén","all":"Összes","created_at":"Feltöltve","datetime":"Felvéve"}}')},"B/ql":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a);n("5A0h");function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))}}var u={name:"Payments",components:{Loading:o.a},created:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loading=!0,0!==t.$store.state.plans.plans.length){e.next=4;break}return e.next=4,t.$store.dispatch("GET_PLANS");case 4:if(!t.$store.state.user.user.stripe_id){e.next=7;break}return e.next=7,t.$store.dispatch("GET_USERS_SUBSCRIPTIONS");case 7:t.loading=!1;case 8:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0,plan:"Startup"}},computed:{check_for_stripe_id:function(){return this.$store.state.user.user.stripe_id},current_plan:function(){var t=this;return this.plans.find((function(e){return e.name===t.subscription.name}))},plans:function(){return this.$store.state.plans.plans},subscription:function(){return this.$store.state.subscriber.subscription}},methods:{cancel_active_subscription:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("DELETE_ACTIVE_SUBSCRIPTION");case 2:case"end":return e.stop()}}),e)})))()},resubscribe:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("RESUBSCRIBE",t.plan);case 2:case"end":return e.stop()}}),e)})))()},subscribe:function(){}}},c=n("KHd+"),h=Object(c.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.payments.finance")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"column one-third is-offset-1"},[t.check_for_stripe_id?n("div",["active"===t.subscription.stripe_status?n("div",[n("p",[t._v("You are currently subscribed to the "),n("strong",{staticClass:"green"},[t._v(t._s(t.subscription.name))]),t._v(" plan")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Helping us with "),n("strong",{staticClass:"green"},[t._v("€"+t._s(t.current_plan.price/100))]),t._v(" per month")]),t._v(" "),n("p",[t._v("Thank you for helping the development of OpenLitterMap!")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("You can change or cancel your subscription at any time.")]),t._v(" "),n("button",{staticClass:"button is-medium is-danger",on:{click:t.cancel_active_subscription}},[t._v("Cancel Subscription")])]):n("div",[n("p",{staticClass:"mb1"},[t._v("You have unsubscribed from "),n("strong",{staticClass:"green"},[t._v(t._s(t.subscription.name))])]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Thank you for supporting the development of OpenLitterMap")]),t._v(" "),n("p",[t._v("Please contact us if you would like to resubscribe, or else create a new account. Thanks!")])])]):n("div",[n("p",[t._v(t._s(t.$t("settings.payments.help")))]),t._v(" "),n("ul",[n("li",[t._v("- "+t._s(t.$t("settings.payments.support")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-costs")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-hire")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-produce")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-write")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-outreach")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-incentivize")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.more-soon")))])]),t._v(" "),n("button",{staticClass:"button is-medium is-primary",on:{click:t.subscribe}},[t._v(t._s(t.$t("settings.payments.click-to-support")))])])])],1)])}),[],!1,null,null,null);e.default=h.exports},B8Gz:function(t){t.exports=JSON.parse('{"privacy-title":"Control your Privacy","privacy-text":"Control your privacy for every team you have joined.","team-update-title":"Update your teams","team-update-text":"You can only update the teams you are leading.","maps":{"team-map":"Team Map","name-will-appear":"Your name will appear on the maps","username-will-appear":"Your username will appear on the maps","will-not-appear":"Your name and username will not appear on the maps"},"leaderboards":{"team-leaderboard":"Team Leaderboard","name-will-appear":"Your name will appear on the leaderboards","username-will-appear":"Your username will appear on the leaderboards","will-not-appear":"Your name and username will not appear on the leaderboards"},"submit-one-team":"Save for this Team","apply-all-teams":"Apply for all Teams"}')},BDmR:function(t){t.exports=JSON.parse('{"finance":"Finance the development of OpenLitterMap","help":"We need your help.","support":"Support Open Data on Plastic Pollution","help-costs":"Help cover our costs","help-hire":"Hire developers, designers & graduates","help-produce":"Produce videos","help-write":"Write papers","help-outreach":"Conferences & outreach","help-incentivize":"Incentivize data collection with Littercoin","more-soon":"More exciting updates coming soon","click-to-support":"Click here to support"}')},BE1l:function(t){t.exports=JSON.parse('{"toggle-email":"Włącz/wyłącz subskrypcję e-mail","we-send-updates":"Od czasu do czasu wysyłamy e-maile z aktualizacjami i dobrymi wieściami","subscribe":"Tutaj możesz zasubskrybować lub zrezygnować z otrzymywania naszych e-maili","current-status":"Aktualny Status","change-status":"Zmień Status"}')},BGUB:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap is op dit moment volledig afhankelijk van giften.","its-important":"Het is belangrijk"}')},BWkM:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e-1:t.password},on:{input:t.clearErrors,change:function(e){var n=t.password,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.password=n.concat([null])):a>-1&&(t.password=n.slice(0,a).concat(n.slice(a+1)))}else t.password=r}}}):"radio"==(t.isPasswordVisible?"text":"password")?n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",class:t.passwordErrors?"is-danger":"",attrs:{id:"password",name:"password",required:"",placeholder:"********",type:"radio"},domProps:{checked:t._q(t.password,null)},on:{input:t.clearErrors,change:function(e){t.password=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",class:t.passwordErrors?"is-danger":"",attrs:{id:"password",name:"password",required:"",placeholder:"********",type:t.isPasswordVisible?"text":"password"},domProps:{value:t.password},on:{input:[function(e){e.target.composing||(t.password=e.target.value)},t.clearErrors]}}),t._v(" "),t._m(1),t._v(" "),n("span",{staticClass:"icon is-small is-right cursor-pointer",staticStyle:{"pointer-events":"all"},on:{click:function(e){t.isPasswordVisible=!t.isPasswordVisible}}},[n("i",{staticClass:"fa",class:t.isPasswordVisible?"fa-eye":"fa-eye-slash"})]),t._v(" "),t.passwordErrors?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.passwordErrors))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"password_conf"}},[t._v(t._s(t.$t("settings.password.confirm-new-password")))]),t._v(" "),n("div",{staticClass:"control has-icons-left has-icons-right",class:t.processing?"is-loading":""},["checkbox"==(t.isPasswordConfirmationVisible?"text":"password")?n("input",{directives:[{name:"model",rawName:"v-model",value:t.passwordConfirmation,expression:"passwordConfirmation"}],staticClass:"input",class:t.passwordConfirmationErrors?"is-danger":"",attrs:{id:"password_conf",name:"password_conf",required:"",placeholder:"********",type:"checkbox"},domProps:{checked:Array.isArray(t.passwordConfirmation)?t._i(t.passwordConfirmation,null)>-1:t.passwordConfirmation},on:{input:t.clearErrors,change:function(e){var n=t.passwordConfirmation,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.passwordConfirmation=n.concat([null])):a>-1&&(t.passwordConfirmation=n.slice(0,a).concat(n.slice(a+1)))}else t.passwordConfirmation=r}}}):"radio"==(t.isPasswordConfirmationVisible?"text":"password")?n("input",{directives:[{name:"model",rawName:"v-model",value:t.passwordConfirmation,expression:"passwordConfirmation"}],staticClass:"input",class:t.passwordConfirmationErrors?"is-danger":"",attrs:{id:"password_conf",name:"password_conf",required:"",placeholder:"********",type:"radio"},domProps:{checked:t._q(t.passwordConfirmation,null)},on:{input:t.clearErrors,change:function(e){t.passwordConfirmation=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.passwordConfirmation,expression:"passwordConfirmation"}],staticClass:"input",class:t.passwordConfirmationErrors?"is-danger":"",attrs:{id:"password_conf",name:"password_conf",required:"",placeholder:"********",type:t.isPasswordConfirmationVisible?"text":"password"},domProps:{value:t.passwordConfirmation},on:{input:[function(e){e.target.composing||(t.passwordConfirmation=e.target.value)},t.clearErrors]}}),t._v(" "),t._m(2),t._v(" "),n("div",{staticClass:"icon is-small is-right cursor-pointer",staticStyle:{"pointer-events":"all"},on:{click:function(e){t.isPasswordConfirmationVisible=!t.isPasswordConfirmationVisible}}},[n("i",{staticClass:"fa",class:t.isPasswordConfirmationVisible?"fa-eye":"fa-eye-slash"})]),t._v(" "),t.passwordConfirmationErrors?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.passwordConfirmationErrors))]):t._e()])]),t._v(" "),n("div",{staticClass:"field has-text-centered"},[n("div",{staticClass:"control"},[n("button",{staticClass:"button is-primary",class:t.processing?"is-loading":"",attrs:{type:"submit",disabled:t.processing}},[t._v("\n Reset Password\n ")])])])])])]),t._v(" "),n("div",{staticClass:"column"})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-lock"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-lock"})])}],!1,null,"70f687b4",null);e.default=h.exports},Bj9c:function(t){t.exports=JSON.parse('{"de":{"name":"Niemcy","lang":"Niemiecki"},"en":{"name":"Wielka Brytania","lang":"English"},"es":{"name":"Hiszpania","lang":"Español"},"fr":{"name":"Francja","lang":"Francuski"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Irlandia","lang":"Irlandzki"},"it":{"name":"Włochy","lang":"Włoski"},"ms":{"name":"Malezja","lang":"Malay"},"nl":{"name":"Holandia","lang":"Nederlands"},"tk":{"name":"Turcja","lang":"Turecki"},"sw":{"name":"Tanzania","lang":"Swahili"},"uk":{"name":"UK","lang":"English"},"pl":{"name":"Polska","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},BmvU:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Insira um identificador para ingressar em uma equipe.","team-identifier":"Junte-se à equipe por identificador","enter-id-to-join-placeholder":"Digite o ID para ingressar em uma equipe","join-team":"Junte-se à equipe"}')},BpIE:function(t){t.exports=JSON.parse('{"title":"Você está preparado?","subtitle":"Inscreva-se para se tornar um especialista em mapeamento de lixo e nos ajude a combater a poluição do plástico","crowdfunding-message":"Por favor, considere apoiar nosso trabalho por crowdfunding OpenLitterMap com apenas 6 centavos por dia com uma assinatura mensal para ajudar a crescer e desenvolver esta plataforma importante.","form-create-account":"Crie a sua conta","form-field-name":"Nome","form-field-unique-id":"Identificador único","form-field-email":"E-Mail","form-field-password":"Senha. Deve conter letras maiúsculas, minúsculas e um número.","form-field-pass-confirm":"Confirme a senha","form-account-conditions":"Eu li e concordo com o Termos e Condições de Uso e Política de Privacidade","form-btn":"Inscrever-se","create-account-note":"Nota: Se você não receber o e-mail de verificação em sua caixa de entrada, verifique sua pasta de spam."}')},"BqL+":function(t){t.exports=JSON.parse('{"click-to-upload":"Kliknij lub upuść swoje zdjęcia aby przesłać","thank-you":"Dziękuję!","need-tag-litter":"Następnie musisz oznaczyć śmieci","tag-litter":"Oznacz śmieci"}')},"C3+9":function(t,e,n){var i=n("1k10");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},C8vp:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"A műanyagszennyezés ellenőrizhetetlen","fires-out-of-control":"A cigarettacsikkek tüzet okozhatnak","climate-change-out-of-control":"A műanyag fokozza a klímaváltozást","help-us":"Segítsen nekünk létrehozni a világ legfejlettebb nyílt adatbázisát a szemétről, a márkákról és a műanyagszennyezésről","why-collect-data":"Miért kell adatokat gyűjtenünk","visibility":"Láthatóság","our-maps-reveal-litter-normality":"Sok ember számára a szemét normálissá és láthatatlanná vált. A térképek erősek, mert azt kommunikálják, amit általában nem látunk","science":"Problémamegoldás","our-data-open-source":"Adataink nyíltak és hozzáférhetőek. Mindenkinek egyenlő, nyílt és korlátlan joga van az összes adatunk letöltéséhez és bármilyen célra történő felhasználásához","community":"Közösség","must-work-together":"Szükségünk van az Ön segítségére, hogy paradigmaváltást hozzunk létre a környezetszennyezés megértésében és reagálásában","how-does-it-work":"Hogyan működik","take-a-photo":"Fotózd le","device-captures-info":"Eszköze értékes információkat rögzíthet a helyről, időről, tárgyról, anyagról és márkáról.","tag-the-litter":"Jelölje meg a szemetet","tag-litter-you-see":"Csak jelöld meg a képen látható szemetet. Meg lehet jelölni, hogy a szemetet felvették-e, vagy még mindig ott van. Fényképeit bármikor feltöltheti","share-results":"Ossza meg eredményeit","share":"Ossza meg a térképeket, vagy töltse le adatainkat. Mutassuk meg mindenkinek, hogy valójában mennyire szennyezett a világ","verified":"E-mail címét megerősítettük! Most már bejelentkezhet.","close":"Bezárás","our-partners":"Partnereink","become-a-partner":"Legyél partnerünk"}')},CASQ:function(t,e,n){var i=n("ODgP");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CJub:function(t,e,n){var i=n("CqVK");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CO0D:function(t){t.exports=JSON.parse('{"address":"Dirección","add-tag":"Añadir etiqueta","coordinates":"Coordenadas","device":"Dispositivo","next":"Imagen siguiente","no-tags":"No tienes nada que etiquetar en este momento.","picked-up-title":"¿Basura recogida?","please-upload":"Subir más fotos","previous":"Imagen anterior","removed":"La basura ha sido retirada","still-there":"La basura sigue ahí","taken":"Tomada","to-tag":"Imágenes restantes por etiquetar","total-uploaded":"Total de imágenes subidas","uploaded":"Subida","confirm-delete":"¿Quieres eliminar esta imagen? Esto no se puede deshacer.","recently-tags":"Etiquetas usadas recientemente: ","clear-tags":"¿Borrar etiquetas recientes?","clear-tags-btn":"Borrar etiquetas recientes","search-all-tags":"Presione Ctrl + Espacio para buscar todas las etiquetas","search-custom-tags":"Agrega tus propias etiquetas","custom-tags":"Etiquetas Personalizadas","custom-tags-min":"Debe tener al menos 3 caracteres.","custom-tags-max":"Debe tener como máximo 100 caracteres.","tag-already-added":"Etiqueta ya añadida.","tag-limit-reached":"Puede cargar hasta 3 etiquetas personalizadas."}')},CW5W:function(t){t.exports=JSON.parse('{"welcome":"Bienvenue sur votre nouveau Profil","out-of":"Sur les {total} utilisateurs","rank":"Vous êtes à la {rank} place","have-uploaded":"Vous avez téléchargé","photos":"photos","tags":"tags","all-photos":"toutes les photos","all-tags":"tous les tags","your-level":"Votre niveau","reached-level":"Vous avez atteint le niveau","have-xp":"et vous avez","need-xp":"vous devez","to-reach-level":"pour atteindre le niveau suivant.","total-categories":"Total Catégories","calendar-load-data":"Télécharger des données","download-data":"Télécharger Mes Données","email-send-msg":"Un e-mail vous sera envoyé à l\'adresse que vous utilisez pour vous connecter.","timeseries-verified-photos":"Photos Vérifiées","manage-my-photos":"Regardez vos photos, choisissez-en plusieurs, supprimez les ou ajoutez des tags!","view-my-photos":"Voir mes Photos","my-photos":"Mes Photos","add-tags":"Ajouter des Tags","bulk-tag-dblclick-info":"Double-cliquez pour agrandir les photos!"}')},CacJ:function(t){t.exports=JSON.parse('{"change-password":"Mudar Minha Senha","enter-old-password":"Digite a senha antiga","enter-new-password":"Insira a nova senha","enter-strong-password":"Digite uma senha forte","confirm-new-password":"Confirme sua nova senha","repeat-strong-password":"Repita sua senha forte","update-password":"Atualizar Senha"}')},CdcD:function(t,e,n){var i=n("7U67");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},ChBz:function(t,e,n){var i=n("OI5W");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CqVK:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".footerCon[data-v-f57c853e] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n margin: 0 20px 20px;\n}",""])},CvDn:function(t){t.exports=JSON.parse('{"success":"Fanikiwa","error":"Tatizo!","settings-updated":"Mipangilio imesasishwa kikamilifu!","tags-added":"Mafanikio! Lebo zako zimeongezwa","subscription-cancelled":"Usajili wako umeghairiwa","privacy-updated":"Mipangilio yako ya Faragha imehifadhiwa","litter-toggled":"Idadi zilizookotwa imesasishwa","settings":{"subscribed":"Umejiandikisha kwa sasisho na habari njema!","unsubscribed":"Umejiondoa. Hutapokea tena habari njema!","flag-updated":"Bendera yako imesasishwa"},"something-went-wrong":"Hitilafu fulani imetokea. Tafadhali, jaribu tena au wasiliana nasi!"}')},CxA2:function(t){t.exports=JSON.parse('{"title":"Tusaidie kubadilisha ulimwengu.","subtitle":"Tunakua kila siku","photos-last-30-days":"Picha zilizopakiwa siku 30 zilizopita","users-last-30-days":"Watumiaji wapya siku 30 zilizopita","litter-tags-last-30-days":"Taka zilizo wekewa nembo siku 30 zilizopita","photos-every-month-label":"Picha zinazopakiwa kila mwezi","users-every-month-label":"Watumiaji wapya kila mwezi","zoom-text":"Jiunge nasi kwenye {link}, ambapo tunapata kusikia mawazo na mapendekezo mengi mapya kutoka kwa jumuiya yetu inayokua ya kimataifa. Kila wiki watumiaji wetu hutushirikisha maoni yao ambayo husaidia kufanya programu yetu iwe rahisi na bora zaidi kutumia. Saidia kuunda mwelekeo wa siku zijazo wa ukusanyaji wetu wa taarifa wa chanzo huria na jukwaa la ufuatiliaji wa mazingira. Kikao kinaanza :","zoom-weekly-calls":"vikao vya wiki kupitia zoom 6 p.m. GMT (muda wa Dublin/London/Lisbon) kila Alhamisi","zoom-live":"Mubashara","zoom-days":"siku | siku","zoom-hours":"saa | masaa","zoom-minutes":"dakika | dakika","slack-text":"{slack} ndio njia yetu kuu ya mawasiliano na ushirikiano. Watumiaji wetu wa nguvu, wapya, wasanidi programu, jumuiya ya zaidi ya wanachama 400 - sote tupo. Sema neno na utapata jibu papo hapo, tuko mtandaoni kila wakati.","fundraiser-text":"OpenLitterMap inategemea kwaujumla michango. Tumeanzisha {link} na bado tuko mbali na lengo letu. Michango yote inakaribishwa. {emoji}","fundraiser-link":"GoFundMe Fundraiser"}')},D4Tw:function(t,e,n){var i=n("YThA");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},D9m9:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flex[data-v-7e4fd7ef] {\n display: flex;\n}\n.items-center[data-v-7e4fd7ef] {\n align-items: center;\n}\n.h-full[data-v-7e4fd7ef] {\n height: 100%;\n}\n.-mt-2[data-v-7e4fd7ef] {\n margin-top: -2px;\n}",""])},DACc:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.cleanup-container[data-v-cc82b81c] {\n text-align: left;\n padding: 0 1em;\n}\n.cleanup-buttons[data-v-cc82b81c] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n",""])},DIPp:function(t){t.exports=JSON.parse('{"title":"Ben je er klaar voor?","subtitle":"Meld je nu aan om een afval expert te worden en help ons de plastic vervuiling te bestreiden.","crowdfunding-message":"Overweeg alsjeblieft om ons werk te steunen middels Crowdfunding. Je kunt OpenLitterMap al helpen voor slechts 6 cent per dag met een maandelijkse deelname om te helpen dit belangrijke platform te laten groeien.","form-create-account":"Maak je account","form-field-name":"Naam","form-field-unique-id":"Uniek Kenmerk","form-field-email":"E-Mail Adres","form-field-password":"Wachtwoord. Moet minimaal een hoofdletter, een kleine letter en een getal bevatten.","form-field-pass-confirm":"Bevestig Wachtwoord","form-account-conditions":"Ik heb de Gebruiksvoorwaarden en Privacybeleid gelezen en ben daarmee akkoord","form-btn":"Aanmelden","create-account-note":"Opmerking: Als je geen bevestigingsmail in je in-box krijgt, controleer dan de spam-box."}')},DO4j:function(t){t.exports=JSON.parse('{"finance":"Kufadhili maendeleo ya OpenLitterMap","help":"Tunahitaji msaada wako.","support":"Saidia taarifa za wazi juu ya Uchafuzi wa Plastiki","help-costs":"Tusaidie kulipia gharama zetu","help-hire":"Ajiri watengenezaji, wabunifu na wahitimu","help-produce":"Tengeneza video","help-write":"Andika nyaraka","help-outreach":"Mikutano na mawasiliano","help-incentivize":"Kuhamasisha ukusanyaji wa taarifa na Littercoin","more-soon":"Taarifa za kusisimua zinakuja hivi karibuni","click-to-support":"Bofya hapa kusaidia"}')},"Dcc/":function(t){t.exports=JSON.parse('{"olm-teams":"Timu za OpenLitterMap","dashboard":"Ubao","join-a-team":"Jiunge na timu","create-a-team":"Unada timu","your-teams":"Timu Yako","leaderboard":"Ubao wa kiongozi","settings":"Mipangilio","teams-dashboard":"Ubao wa timu","photos-uploaded":"Picha zilizo pakiwa","litter-tagged":"Taka ziliwekewa lebo","members-uploaded":"wadau wa timu wamepakia","all-teams":"Timu zote","times":{"today":"Leo","week":"Wiki hii","month":"Mwezi huu","year":"Mwakahuu","all":"Wakati wote","created_at":"Imepakiwa","datetime":"Imechuliwa"}}')},DqzX:function(t){t.exports=JSON.parse('{"title":"Êtes-vous prêts?","subtitle":"S\'inscrire pour devenir un spécialiste en géolocalisation des déchets et nous aider à vaincre la pollution plastique.","crowdfunding-message":"Pour nous aider, pensez à soutenir notre travail à travers le financement participatif d\'OpenLitterMap. Avec seulement 6 centimes par jour pour une souscription mensuelle, vous participez à la croissance et au développement de cette importante platforme.","form-create-account":"Créer votre compte","form-field-name":"Nom","form-field-unique-id":"Identifiant Unique","form-field-email":"Adresse E-mail","form-field-password":"Mot de passe. Doit contenir au moins une majuscule, une miniscule et un chiffre.","form-field-pass-confirm":"Confirmer le mot de passe","form-account-conditions":"J\'ai lu et j\'accepte les Termes et Conditions d\'utilisation ainsi que la politique de confidentialité","form-btn":"S\'inscrire","create-account-note":"NB: Si vous ne recevez pas l\'e-mail de vérification dans votre courrier, veuillez vérifier votre dossier spam."}')},Ds3t:function(t,e,n){"use strict";var i=n("cDjH");n.n(i).a},"E+4Y":function(t){t.exports=JSON.parse('{"privacy-title":"Kontroluj swoją prywatność","privacy-text":"Kontroluj swoją prywatność każdej drużyny, do której dołączyłeś.","team-update-title":"Zaktualizuj swoje zespoły","team-update-text":"Możesz aktualizować tylko te drużyny, którymi kierujesz.","maps":{"team-map":"Mapa drużyny","name-will-appear":"Twoje imię pojawi się na mapach","username-will-appear":"Twoja nazwa użytkownika pojawi się na mapach","will-not-appear":"Twoje imię oraz nazwa użytkownika nie pojawią się na mapach"},"leaderboards":{"team-leaderboard":"Ranking drużyny","name-will-appear":"Twoje imię i nazwisko pojawi się w rankingach","username-will-appear":"Twoja nazwa użytkownika pojawi się w rankingach","will-not-appear":"Twoje imię oraz nazwa użytkownika nie pojawią się w rankingach"},"submit-one-team":"Zapisz dla tego zespołu","apply-all-teams":"Zapisz dla wszystkich zespołów"}')},E6oU:function(t){t.exports=JSON.parse('{"title":"¿Estas lista?","subtitle":"Regístrate para convertirte en un \'mapper\' de basura experto y ayúdanos a vencer la contaminación por plásticos.","crowdfunding-message":"Por favor, considera apoyar nuestro trabajo mediante el crowdfunding de OpenLitterMap con tan sólo 6 céntimos al día con una suscripción mensual para ayudar a crecer y desarrollar esta importante plataforma.","form-create-account":"Crea tu cuenta","form-field-name":"Nombre","form-field-unique-id":"Identificador único","form-field-email":"Dirección de correo electrónico","form-field-password":"Contraseña. Debe contener mayúsculas, minúsculas y un número.","form-field-pass-confirm":"Confirmar contraseña","form-account-conditions":"He leído y acepto los Términos y Condiciones de Uso y la Política de privacidad","form-btn":"Registrarme","create-account-note":"Nota: Si no recibes el correo electrónico de verificación en tu bandeja de entrada, comprueba en la carpeta de correo no deseado."}')},EDK3:function(t){t.exports=JSON.parse('{"taken-on":"Imechukuliwa","with-a":"Na","by":"Na","meter-hex-grids":"Mita hex grids","hover-to-count":"Pitisha juu ili kuhesabu","pieces-of-litter":"Vipande vya takataka","hover-polygons-to-count":"Pitisha juu ya poligoni ili kuhesabu"}')},EDOO:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Enter an identifier to join a team.","team-identifier":"Join team by identifier","enter-id-to-join-placeholder":"Enter ID to join a team","join-team":"Join Team"}')},EHpN:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".vfc-day[data-v-03906378] {\n position: relative;\n}\n.vfc-day .times[data-v-03906378] {\n position: absolute;\n top: -5px;\n background-color: red;\n color: white;\n border-radius: 50%;\n width: 15px;\n z-index: 20;\n height: 15px;\n line-height: 15px;\n}\n.vfc-day .times[data-v-03906378]:hover {\n cursor: pointer;\n background-color: #c70000;\n}\n.vfc-day .number[data-v-03906378] {\n position: absolute;\n top: -5px;\n right: calc(50% + 7px);\n background-color: green;\n color: white;\n font-size: 10px;\n border-radius: 50%;\n width: 15px;\n z-index: 30;\n height: 15px;\n line-height: 15px;\n}\n.vfc-day .number[data-v-03906378]:hover {\n background-color: #005e00;\n}\n.vfc-day .toolTip[data-v-03906378] {\n position: absolute;\n top: -20px;\n left: 0;\n padding: 5px;\n max-width: 108px;\n word-wrap: break-word;\n border-radius: 5px;\n z-index: 200;\n background-color: #005e00;\n}",""])},EHzo:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("wd/R"),o=n.n(a),s=n("kGIl"),l=n.n(s),u=(n("5A0h"),n("n2md")),c=n("/yRl"),h=n("vne5"),d=n("Whpc"),p=n("8bp/");function f(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var m={name:"Tag",components:{Loading:l.a,AddTags:u.a,Presence:c.a,Tags:h.a,ProfileDelete:d.a,RecentTags:p.a},mounted:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_CURRENT_USER");case 3:return t.next=5,e.$store.dispatch("GET_PHOTOS_FOR_TAGGING");case 5:e.loading=!1;case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){f(a,i,r,o,s,"next",t)}function s(t){f(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0}},computed:{current_page:function(){return this.$store.state.photos.paginate.current_page},hasRecentTags:function(){return Object.keys(this.$store.state.litter.recentTags).length>0||this.$store.state.litter.recentCustomTags.length>0},photos:function(){var t,e,n;return null===(t=this.$store.state)||void 0===t||null===(e=t.photos)||void 0===e||null===(n=e.paginate)||void 0===n?void 0:n.data},previous_page:function(){var t;return null===(t=this.$store.state.photos.paginate)||void 0===t?void 0:t.prev_page_url},remaining:function(){return this.$store.state.photos.remaining},show_current_page:function(){return this.$store.state.photos.paginate.current_page>1},show_next_page:function(){return this.$store.state.photos.paginate.next_page_url},user:function(){return this.$store.state.user.user}},methods:{getDate:function(t){return o()(t).format("LLL")},goToPage:function(t){this.$store.dispatch("SELECT_IMAGE",t)},nextImage:function(){this.$store.dispatch("NEXT_IMAGE")},previousImage:function(){this.$store.dispatch("PREVIOUS_IMAGE")}}},g=(n("PcAy"),n("KHd+")),v=Object(g.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero fullheight is-primary is-bold tag-container"},[t.loading?n("loading",{attrs:{"is-full-page":!0},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}}):n("div",{staticClass:"pt2"},[0===t.photos.length?n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container has-text-centered"},[n("h3",{staticClass:"subtitle is-1"},[t._v("\n "+t._s(t.$t("tags.no-tags"))+"\n ")]),t._v(" "),n("router-link",{attrs:{to:"/submit"}},[n("h3",{staticClass:"subtitle button is-medium is-info hov"},[t._v("\n "+t._s(t.$t("tags.please-upload"))+"\n ")])])],1)]):n("div",t._l(t.photos,(function(e){return n("div",{key:e.id,staticClass:"mb2"},[n("div",{staticClass:"columns"},[n("div",{staticClass:"column",attrs:{id:"image-metadata"}},[n("div",{staticClass:"box image-metadata-box"},[n("ul",[n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("tags.to-tag"))+": "+t._s(t.remaining)+"\n ")]),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("tags.total-uploaded"))+": "+t._s(t.user.total_images)+"\n ")]),t._v(" "),e.team?n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("common.team"))+": "),n("strong",[t._v(t._s(e.team.name))])]):t._e(),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n Next Littercoin: "+t._s(t.user.littercoin_progress)+"%\n ")]),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n Total Littercoin: "+t._s(t.user.total_littercoin)+"\n ")])]),t._v(" "),n("router-link",{attrs:{to:"/bulk-tag"}},[n("button",{staticClass:"button is-primary bulk-tag-btn"},[t._v("Tag in bulk")])])],1),t._v(" "),t.hasRecentTags?n("div",{staticClass:"box control has-text-centered"},[n("RecentTags",{attrs:{"photo-id":e.id}})],1):t._e()]),t._v(" "),n("div",{staticClass:"column is-6 image-wrapper"},[n("div",{staticClass:"image-content"},[n("img",{directives:[{name:"img",rawName:"v-img",value:{sourceButton:!0},expression:"{ sourceButton: true }"}],staticClass:"img",attrs:{src:e.filename}})]),t._v(" "),n("div",{staticClass:"column is-10 is-offset-1 mt-4"},[n("add-tags",{attrs:{id:e.id}})],1)]),t._v(" "),n("div",{staticClass:"column is-3",attrs:{id:"image-counts"}},[n("div",{staticClass:"box"},[n("p",{staticClass:"list-group-item"},[n("strong",[t._v("\n #"+t._s(e.id)+":\n ")]),t._v("\n\n "+t._s(t.$t("tags.taken"))+" "+t._s(t.getDate(e.datetime))+"\n ")]),t._v(" "),n("p",{staticClass:"list-group-item"},[n("strong",[t._v(t._s(t.$t("tags.coordinates"))+": ")]),t._v("\n\n "+t._s(e.lat)+", "+t._s(e.lon)+"\n ")]),t._v(" "),n("p",{staticClass:"list-group-item"},[n("strong",[t._v(t._s(t.$t("tags.address"))+": ")]),t._v("\n\n "+t._s(e.display_name)+"\n ")]),t._v(" "),n("p",{staticClass:"list-group-item"},[n("strong",[t._v(t._s(t.$t("tags.device"))+": ")]),t._v("\n\n "+t._s(e.model)+"\n ")]),t._v(" "),n("presence",{key:e.id}),t._v(" "),n("profile-delete",{staticClass:"mt-4",attrs:{photoid:e.id}})],1),t._v(" "),n("Tags",{attrs:{"photo-id":e.id}})],1)]),t._v(" "),n("div",{staticClass:"column",staticStyle:{"text-align":"center"}},[n("div",{staticClass:"has-text-centered mt3em"},[n("a",{directives:[{name:"show",rawName:"v-show",value:t.previous_page,expression:"previous_page"}],staticClass:"pagination-previous has-background-link has-text-white",on:{click:t.previousImage}},[t._v(t._s(t.$t("tags.previous")))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.remaining>t.current_page,expression:"remaining > current_page"}],staticClass:"pagination-next has-background-link has-text-white",on:{click:t.nextImage}},[t._v(t._s(t.$t("tags.next")))])])]),t._v(" "),n("div",{staticClass:"column"},[n("nav",{staticClass:"pagination is-centered",attrs:{role:"navigation","aria-label":"pagination"}},[n("ul",{staticClass:"pagination-list"},t._l(t.remaining,(function(e){return n("li",{key:e},[n("a",{class:e===t.current_page?"pagination-link is-current":"pagination-link",attrs:{"aria-label":"page"+t.current_page,"aria-current":t.current_page},on:{click:function(n){return t.goToPage(e)}}},[t._v(t._s(e))])])})),0)])])])})),0)])],1)}),[],!1,null,"c2477210",null);e.default=v.exports},EXqm:function(t){t.exports=JSON.parse('{"toggle-email":"Passer à l\'abonnement par e-mail","we-send-updates":"De temps en temps, nous envoyons des e-mails avec des mises à jour et de bonnes nouvelles.","subscribe":"Vous pouvez vous abonner ou vous désabonner de nos e-mails ici.","current-status":"Statut Actuel","change-status":"Changer de Statut"}')},EaOK:function(t,e,n){var i=n("5bHs");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},EfcM:function(t,e,n){"use strict";var i=n("5bAn");n.n(i).a},Eovg:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.locations-control[data-v-4b8d1e59] {\n text-align: right;\n}\n\n/* Small devices */\n@media screen and (max-width: 768px) {\n.locations-control[data-v-4b8d1e59] {\n text-align: center;\n}\n}\n",""])},EpLa:function(t,e,n){var i=n("pA5b");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},EpeX:function(t){t.exports=JSON.parse('{"general":"Em geral","password":"Senha","details":"Detalhes Pessoais","social":"Contas Sociais","account":"Minha Conta","payments":"Meus Pagamentos","privacy":"Privacidade","littercoin":"Littercoin (LTRX)","presence":"Presença","emails":"Emails","show-flag":"Mostrar Bandeira","teams":"Times"}')},"Ez+z":function(t){t.exports=JSON.parse('{"new-image":"Nieuwe Afbeelding","new-user":"Nieuwe Gebruiker","new-country":"Nieuw Land","new-state":"Nieuwe Staat","new-city":"Nieuwe Stad","user-signed-up":"Een nieuwe gebruiker heeft zich aangemeld!","say-hello-to":"Zeg hallo tegen","littercoin-mined":"Er is een Littercoin gedolven!","littercoin-100-boxes-verified":"100 OpenLitterAI-boxen geverifieerd","littercoin-100-verified":"100 afbeeldingen geverifieerd","team-created":"Er is een nieuw Team gemaakt!","litter-picked-up":"Zwerfvuil Opgepikt","litter-uploaded":"Zwerfvuil Geüpload"}')},EzV4:function(t){t.exports=JSON.parse('{"new-image":"Nueva Imagen","new-user":"Nuevo Usuario","new-country":"Nuevo País","new-state":"Nuevo Estado","new-city":"Ciudad Nueva","user-signed-up":"¡Un nuevo usuario se ha registrado!","say-hello-to":"Di hola a","littercoin-mined":"¡Se ha minado un Littercoin!","littercoin-100-boxes-verified":"100 cajas OpenLitterAI verificadas","littercoin-100-verified":"100 imágenes verificadas","team-created":"¡Se ha creado un nuevo Equipo!","litter-picked-up":"Basura Recogida","litter-uploaded":"Basura Subida"}')},F0ld:function(t,e,n){"use strict";var i=n("W/y5");n.n(i).a},F90D:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder, .swal2-input::-moz-placeholder, .swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder, .swal2-input:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder, .swal2-input::-ms-input-placeholder, .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}',""])},F99G:function(t){t.exports=JSON.parse('{"allowed-to-create":"Unaruhusiwa kuunda timu","what-kind-of-team":"Je, ungependa kuunda Timu ya aina gani?","team-type":"Aina za timu","team-name":"Jina la timu","my-awesome-team-placeholder":"Timu yangu bomba","unique-team-id":"Kitambulisho cha Timu cha Kipekee","id-to-join-team":"Mtu yeyote aliye na kitambulisho hiki ataweza kujiunga na timu yako.","create-team":"Tengeneza timu","update-team":"Sasisha Timu","created":"Hongera! Timu yako mpya imeundwa.","updated":"Timu imesasishwa.","select-team":"Chagua timu","fail":"Kulikuwa na hitilafu kuunda Timu yako","max-created":"Huruhusiwi kuunda timu zozote zaidi."}')},FOF1:function(t,e,n){var i=n("7Ypd");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},FZtc:function(t,e,n){"use strict";var i=n("EaOK");n.n(i).a},Fjwm:function(t,e){t.exports="/images/vendor/leaflet/dist/layers.png?a6137456ed160d7606981aa57c559898"},G3Ch:function(t,e,n){"use strict";var i=n("Z6lK");n.n(i).a},G57Y:function(t,e,n){var i=n("lL9X");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},G6KL:function(t){t.exports=JSON.parse('{"general":"Generalne","password":"Hasło","details":"Dane osobowe","social":"Konta Społeczne","account":"Moje konto","payments":"Moje płatności","privacy":"Prywatności","littercoin":"Littercoin (LTRX)","presence":"Obecność","emails":"E-maile","show-flag":"Pokaż flage","teams":"Drużyny"}')},GAn2:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".community[data-v-480a7831] {\n background: black no-repeat fixed top right;\n background-size: cover;\n position: relative;\n}\n.copyright[data-v-480a7831] {\n position: absolute;\n right: 5px;\n bottom: 5px;\n color: gray;\n font-size: 10px;\n}\n.copyright a[data-v-480a7831], .copyright a[data-v-480a7831]:hover {\n color: gray;\n text-decoration: none;\n}\n@media screen and (min-width: 1280px) {\n.community-hero[data-v-480a7831] {\n padding-left: 0 !important;\n padding-right: 0 !important;\n}\n}",""])},GBDE:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-container {\n min-height: calc(100vh - 82px);\n background-color: #272e4aed;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n grid-template-rows: 0.5fr 1fr 1fr;\n -moz-column-gap: 1em;\n column-gap: 1em;\n row-gap: 1em;\n padding: 3em;\n}\n.profile-card {\n background-color: #292f45;\n border-radius: 6px;\n box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);\n color: #4a4a4a;\n display: block;\n padding: 1.25rem;\n}\n.profile-card p {\n color: white;\n}",""])},GGJd:function(t){t.exports=JSON.parse('{"general":"General","password":"Password","details":"Personal Details","social":"Social Accounts","account":"My Account","payments":"My Payments","privacy":"Privacy","littercoin":"Littercoin (LTRX)","presence":"Presence","emails":"Emails","show-flag":"Show Flag","teams":"Teams"}')},GK9Q:function(t,e,n){"use strict";n.r(e);var i={name:"Terms"},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("h1",[t._v("PLEASE READ CAREFULLY BEFORE USING OPEN LITTER MAP")]),t._v(" "),n("p",[n("i",[t._v("\n Last updated: 17"),n("sup",[t._v("th")]),t._v("\n Feb 2018\n ")])]),t._v(" "),n("br"),t._v('\n\n This END USER LICENCE AGREEMENT (the “EULA” or the "Licence") is a legal agreement between you (the "Licensee" or "you") and Seán Lynch trading as OpenLitterMap.com (“OpenLitterMap”, the “Licensor”, “our” or "we") for your licensed use of and access to www.OpenLitterMap.com (the “Website”), the internet based user interface (the “Web Application”) and the multi-platform smartphone and tablet software application (the “Mobile Application”) which will launch soon (together the Website, the Web Application and the Mobile Application are hereafter described as the “Platform”) and your access to the data-logging process which provides a means for Citzien Scientists (you) to contribute and attribute geotagged images of litter (eg. "cigarette butts", "plastic bottles", etc.) through our content-sharing platform (the "Services") in accordance with the terms of this Agreement.\n '),n("br"),t._v("\n The Terms of Service (hereforth referred to as the “Terms”) govern access and use of the OpenLitterMap website. These Terms are a legal agreement between you and us. By using these Services you are agreeing to these Terms.\n "),n("br"),t._v("\n OpenLitterMap data is "),n("a",{attrs:{href:"https://opendatacommons.org/licenses/odbl/"}},[t._v("Open Data, licensed by the Open Database Licence")]),t._v(" (ODBl - https://opendatacommons.org/licenses/odbl/). Any rights in individual contents of the database are licenced under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/\n "),n("br"),t._v('\n This means that anyone is free to copy, distribute, share and use our data, as long as you credit OpenLitterMap and its contributors with "© OpenLitterMap & Contributors".\n\n '),n("br"),t._v(" "),n("br"),t._v(" "),n("b",[t._v("DISCLAIMER: OpenLitterMap is not intended for use by individuals in an emergency situation nor is it currently being used to notify law enforcement or public bodies of the existence of real time litter issues. It is currently being used for geostatistical and awareness-raising purposes only. If you wish to report a specific issue of concern regarding the collection and removal of litter, please contact your local authority. We are not yet in contact with Local Authorities and we cannot guarantee that our 3rd party communication with them will enable their response to be as effective as contact from a concerned member of the public. However, with your ongoing participation we hope to achieve this to solve problems such as the millions of tonnes of plastic entering the ocean of our only habitable planet.")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",[t._v("PLEASE BE CAREFUL AND REMAIN VIGILANT WHEN DEALING WITH LITTER, PARTICULARLY DRUG-RELATED LITTER (EG. NEEDLES & INJECTING EQUIPMENT), AS IT POSES A SIGNIFICANT THREAT TO YOUR PERSONAL HEALTH AND WELL-BEING. YOU ARE ENTIRELY RESPONISBLE FOR YOURSELF WHEN YOU ARE DEALING WITH LITTER IN ANY WAY INCLUDING LOOKING FOR, PHOTOGRAPHING, COLLECTING DATA ON, REMOVING, ATTEMPTING TO REMOVE AND/OR ANY OTHER MEANS OF COMING INTO CONTACT WITH LITTER AND/OR DRUG-RELATED LITTER. UNDER NO CIRCUMSTANCES CAN WE BE HELD ACCOUNTABLE FOR PERSONAL INJURUES OR ANY OTHER CLAIMS RESULTING FROM ANY CONTENT PUBLISHED TO OR COMING FROM THIS WEBSITE INCLUDING PERSONAL INJURIES FROM NEEDLES, NEEDLE-STICKS OR ANY OTHER FORM OF DRUG PARAPHANALIA OR HARM THAT MAY BE CAUSED FROM ACCIDENTS, DISCOVERY OF, MISHANDLING OF AND THE USE OR IMPROPER USE OF DRUG PARAPHANALIA OR DRUG-RELATED LITTER."),n("b",[t._v(" YOU UNRESERVEDLY AGREE TO REMOVE OUR LIABILITY FROM ANY DAMAGES THAT MAY OCCUR FROM USE OR ACCESS OF THESE SERVICES OR FROM INFORMATION SHARED BY A 3RD PARTY.")])]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("BY REGISTERING FOR, UPLOADING TO AND/OR DOWNLOADING DATA AND INFORMATION FROM THE PLATFORM AND YOUR SUBSEQUENT CONTINUED USE OF THE PLATFORM AND THE SERVICES, YOU CONSENT TO BE BOUND BY THIS LICENCE. BY TICKING THE BOX ON REGISTRATION, AND AT ANY OTHER TIME ON LOGGING IN TO THE PLATFORM AND THROUGH YOUR CONTINUED USE OF THE SERVICES AND THE PLATFORM, YOU AGREE TO BE BOUND TO THE TERMS OF THIS LICENCE. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT REGISTER FOR THE PLATFORM, OR USE ANY OF THE SERVICES. BY TICKING THE BOX YOU CONFIRM THAT YOU HAVE READ, YOU DO ACCEPT AND UNDERSTAND THE TERMS OF THIS LICENCE AGREEMENT; THAT YOU ALSO CONSENT TO USE ELECTRONIC SIGNATURES AND ACKNOWLEDGE YOUR TICKING OF BOX TO BE AN ELECTRONIC SIGNATURE SUFFICIENT TO BIND YOU TO THE TERMS OF THIS LICENCE AGREEMENT.")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 1. GRANT AND SCOPE OF LICENCE")]),t._v(" "),n("div",{staticClass:"container"},[n("p",[t._v("1.1\tGeneral: ")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n OpenLitterMap provides you with access to the services through its platform. All verified litter data (120+ items, lat, lon, timestamp and OpenStreetMap address at each location) is Free and Open to download by Country, State or City and can be used for your own research, educational or commercial purposes, available through the Open Database Licence (ODbl - https://opendatacommons.org/licenses/odbl/). Link "),n("a",{attrs:{href:"https://opendatacommons.org/licenses/odbl/"}},[t._v("here")]),t._v(".\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.2\tDefinitions:")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n 1.2.1\tContent: the Services and the Platform provides information including images, time and location data of litter that is supplied by our community of contributors, which is designed to raise awareness of litter and to provide hyper-geostatistical information to public bodies, various stakeholders and other interested parties to assist and inform the decisions made in relation littering to challenge the destructive plastic pollution paradigm; and\n "),n("br"),t._v(" "),n("br"),t._v("1.2.2\tUser Generated Content: the information, images or content provided by an End User posted to the Platform.\n ")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.3 Licence:")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n OpenLitterMap hereby grants to you a limited, personal or commercial, non- exclusive, non-transferable, temporary, revocable, non-assignable, non-sub-licensable licence and right to access the Platform and the Services though a generally available web browser in consideration of your strict and continued compliance with the following conditions:\n "),n("br"),t._v(" "),n("br"),t._v("1.3.1\tyour agreement, as evidenced by your acceptance of this EULA and your continued use of the Platform and the Services, to abide by the terms of this Licence;\n "),n("br"),t._v(" "),n("br"),t._v("1.3.2\tyour continuing compliance with the terms of this EULA and the Privacy Policy posted on the Website (which is hereby incorporated by this reference); and\n "),n("br"),t._v(" "),n("br"),t._v("1.3.3\tnot to use scraping, spidering, crawling or other technology or software of a malicious nature to access or make available to third parties information or data secured by the Platform, whether such data or information relates to OpenLitterMap , the Platform, the Services or Content without the express written consent of OpenLitterMap.\n ")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.4\tUse: Any use of the Platform, its software and/or Services or any part thereof in a manner contrary to the scope and purpose of this Licence is strictly prohibited and a violation of this Agreement, terminable in accordance with Section 12. OpenLitterMap is not intended for emergency use and users should apply extreme caution to their personal safety when using the Platform and engaging with or photographing litter, particularly needles, needle-sticks, syringes or any other form of drug-related litter. This Platform and the Content should only be used as an educational, statistics gathering tool and for aiding decision support. It is not intended to override or replace the obligation and necessity for reporting of litter to the appropriate authority in the geographical area in which the litter is identified. This Platform and the Content is currently only available directly as a web app from www.OpenLitterMap.com. Sourcing this Platform from another source without the consent of OpenLitterMap is not permitted and a direct breach of the terms of this Agreement.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.5\tIntellectual Property:")]),t._v(" "),n("div",{staticClass:"container"},[n("br"),t._v("1.5.1\t“Intellectual Property Right(s)” includes any patent, trade or other mark, registered design, topography right, copyright, database right or any other right in the nature of any of the foregoing (or application, or right to apply for, any of the foregoing), and trade or business name, invention, discovery, improvement, design, technique, confidential process or information or know how, in each case subsisting anywhere in the world and whether registered, unregistered, or unregisterable, and any licence or right of user of any of the foregoing, and the full right to all legal protection relating to the same;\n "),n("br"),t._v(" "),n("br"),t._v("1.5.2\tSeán Lynch reserves all Intellectual Property Rights in and to the Platform, the Content and the Services and any such Intellectual Property Right shall at all times be and for all purposes remain vested in OpenLitterMap and/or its licensors, including all copies made of the Website and the Web with Section 10.\n ")]),t._v(" "),n("br"),t._v("1.6\tReciprocal Licence: End Users grant to OpenLitterMap and its licensors an irrevocable, royalty free and non-exclusive licence to use, copy, modify, adapt, translate and distribute anonymised or personally or organisationally attributed geostatistical or operational information relating to the uses made of the Application by End Users, or about the Device and related software, hardware and peripherals, information relating to their Device and the Platform and content on the Device (“Metadata”) to provide services and to develop and improve the Platform. Metadata expressly does not include personal data the use, control and processing of which is governed by our Privacy Policy."),n("p")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 2. ACCESS TO THE SERVICES")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("2.1.\tYour Account: OpenLitterMap is offering access to and use of the Platform and the Services solely for use by the person or entity in whose name an account is registered and not for the use or benefit of any third party. OpenLitterMap may change, suspend or discontinue any part of the Platform, the Content and/or the Services at any time, including the availability of any feature, database, or content.\n "),n("br"),t._v(" "),n("br"),t._v("2.2 Account Limitation: The Licensor may also impose limits on certain features of the Platform and the Services or restrict your access to parts or all of the Services without notice or liability. For as long as the Licensor continues to offer the Platform and the Services, we shall provide and seek to update, improve and expand. Therefore, OpenLitterMap reserves the right, at its discretion, to modify this EULA at any time by posting a notice on the Platform, or by sending you a notice via e-mail, and you consent to the receipt of such notice. You shall be responsible for reviewing and becoming familiar with any such modifications. Your use of the Platform and the Services following such notification constitutes your acceptance of the terms and conditions of this EULA as modified. Any new features that materially augment or enhance the Platform and/or the Services currently available, including the release of new tools and resources, shall be subject to this Agreement (as updated). You can review the most current version of the EULA at any time at: www.OpenLitterMap.com/terms.\n "),n("br"),t._v(" "),n("br"),t._v("2.3\tAccount Availability: The Licensor will use reasonable efforts to ensure that the Platform and the Services are available twenty-four hours a day, seven days a week. However, access to the Platform and Services shall be as they may exist and be available on any given day and the Licensor has no other obligation, except as expressly stated in this EULA. There will be occasions when the Platform and the Services will be unavailable or interrupted for maintenance, upgrades and emergency repairs or due to failure of telecommunications links and equipment. Every reasonable step will be taken by OpenLitterMap to minimize such disruption where it is within OpenLitterMap's reasonable control. YOU AGREE THAT OpenLitterMap WILL NOT BE LIABLE IN ANY EVENT TO YOU OR ANY OTHER PARTY FOR ANY SUSPENSION, MODIFICATION, DISCONTINUANCE OR LACK OF AVAILABILITY OF THE PLATFORM, SERVICES OR OTHER CONTENT. The Licensor retains the right to create limits on use and storage with respect to the Platform and the Services determined at its sole discretion at any time with or without notice.\n "),n("br"),t._v(" "),n("br"),t._v("2.4\tEligibility: To be eligible to use the Platform and the Services, you must meet the following criteria and represent and warrant that you:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("2.4.1\tare not currently restricted from use of the Platform and the Services, or not otherwise prohibited from having an account with OpenLitterMap;\n "),n("br"),t._v(" "),n("br"),t._v("2.4.2\twill only maintain one End User Account at any given time (unless explicitly consented to by OpenLitterMap );\n "),n("br"),n("br"),n("br"),t._v("2.4.3\twill not violate any rights of OpenLitterMap, including Intellectual Property Rights such as copyright, patent, design or trademark rights;\n "),n("br"),n("br"),t._v("2.4.4\tagree to provide at your cost all equipment, software, and internet access necessary to use the Platform and the Services;\n "),n("br"),t._v("2.4.5\tunderstand and agree that use of the Platform and the Services may entail the applicability of certain incidental usage charges (“Incidental Charges”) during the installation and use of the Service. These Incidental Charges may, among others, be levied by your mobile network operator or your internet service provider. You are advised to consult your mobile data or internet data plan to identify the Incidental Charges which may be incurred prior to the installation and operation of these Services; and\n "),n("br"),t._v("2.4.6\tyou are responsible for your own personal safety if you come into contact with people engaged in illegal behaviour and you are wholly and completely independently responsible for your own personal belongings. You are responsible for any personal decisions made arising from our services including personal injury or injuries from gathering data on litter paricularly drug-related litter or for visiting areas known to be frequented by people who choose to consume illicit substances or engage in anti-social behaviour particularly in areas where hazardous injecting equipment lays idle and exposed.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("2.5\tSuitability: You certify to OpenLitterMap that you are legally permitted to use the Platform and the Services, and take full responsibility for the selection and use of the Platform and the Services.\n "),n("br"),t._v(" "),n("br"),t._v("2.6\tProhibition by law: This Agreement is void where prohibited by law, and the right to use the Platform and Services are revoked in such jurisdictions. OpenLitterMap makes no claim that the Services may be lawfully used or that User Generated Content may be uploaded or downloaded in any jurisdiction save the jurisdiction specified by this EULA. Access to the Content made available via the Platform may not be legally permitted by certain persons or in certain countries. If you use the Services or the Platform from outside Ireland, you do so at your own risk and you are responsible for compliance with the laws of that jurisdiction. Furthermore, if you believe that you are entitled or obligated to act contrary to this Agreement under any mandatory law, you agree to provide us with a detailed and substantiated explanation of your reasons in writing at least 30 days before you act contrary to this Agreement, to allow us to assess whether we may, at our sole discretion, provide an alternative remedy for the situation, though we are under no obligation to do so.\n "),n("br"),t._v(" "),n("br"),t._v("2.7.\tPrivacy:\t Please note that privacy is very important to us. You should not enter and should also protect sensitive personal information such as your phone number, street address, or other information that is confidential in nature, by avoiding inputting them in fields that would present in a public manner or as identifying information. Please see our Privacy Policy which governs the manner in which your personal information is used and displayed by OpenLitterMap. By using this Platform and availing of the Services, you understand and agree that we are a content-sharing platform providing you with a means to view, locate and upload geo-tagged photos and other materials that are intended to be made public. This means that any geo-tagged photo you share, once properly attributed with the contents exhibited and once passes our verification system, will have a visible spatial (eg. centimeter accurate GPS location) and temporal (eg. a specific point in time to the second, minute, hour, day, month, year) stamp that will identify the contributors location at a specific location in time. You confirm that we may access this location identification mechanism and we may share this with information third parties and users of this Platform. Any registered User may view or potentially re-use your content that you provide to the Service. By default, the images you post will remain anonymous, however if you wish, you have the option to attribute either your full name or the unique username /organisation you are legally entitled to represent on all or none of the images you submit through your account. This can be changed in the settings section at openlittermap.com/settings/privacy.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 3. REGISTRATION")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("3.1\tRegistration Process:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("3.1.1\tInformation: If you choose to create an End-User Account, you agree to provide only accurate and complete registration information and you will keep that information up-to-date if it changes. We will retain this information in accordance with the terms of our Privacy Policy.\n "),n("br"),t._v(" "),n("br"),t._v("3.1.2\tRegistering: When you register, you will be required to generate a unique log-in credential (a password) which relates to your own personal email address. Your password will be subject to certain limitations as regards availability, at the sole discretion of OpenLitterMap and must contain a minimum of 6 characters including one uppercase, one lowercase, one numeric digit and one special character. We reserve the right to the forfeiture of your password at any time. The combination of your email address and password permits us to verify you as the permitted and authorised user of the particular End-User Account, as well as providing access to the secure parts of the Platform and the Services such as uploading, attributing, verifying and downloading data. Access to the secure aspects of the Platform and the Services is not permitted for any other person or entity using your email and password and you are responsible for preventing such unauthorized use. Upon successful completion of the registration process, you will be afforded access to your End-User Account. You will be required to validate your End User Account through a validation process by email which will grant you authorized access to the Service.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("3.2\tAccess Denial: Individuals whose access to the Platform or use of the Services has previously been terminated by OpenLitterMap may not register for another account, nor may you designate another individual to use an account on your behalf. OpenLitterMap expressly reserves the right not to grant access to anyone they may choose, to the Services, the Platform or to create an End-User Account for any reason.\n "),n("br"),t._v(" "),n("br"),t._v("3.3\tAuthentication: The Website and Application rely on email addresses and passwords to know whether the person accessing the Platform and utilising the Services are authorized to do so. If someone accesses the Platform and or the Services using an email address and/or password that you have provided us with, we will rely on that email address and password and will assume that access has been made by you. You are recommended to change your password regularly to prevent unauthorised use. You are solely responsible for any and all access to the Platform, your End-User Account and/or use of the Services by persons using your email address and password. Please notify us immediately if you believe or become aware that your End-User Account is being used without your authorization.\n "),n("br"),t._v(" "),n("br"),t._v("3.4:\tAccess Indemnity: You indemnify us and hold us harmless for all damages and losses related to your failure to comply with the provisions of this Section 3, including, without limitation, your failure to secure your End-User Account from third party access.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 4. AGE AND RESPONSIBILITY")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("4.1\tAge: Any individual making use of the Platform or the Services must be over 18 years of age to register or utilise them.\n "),n("br"),t._v(" "),n("br"),t._v("4.2\tResponsibility:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("4.2.1\tBy using and registering for the Platform and the Services, you understand that you are financially responsible for the applicable costs (if any) of using the services as detailed in this Agreement.\n "),n("br"),t._v(" "),n("br"),t._v("4.2.2\tYou agree to notify us immediately of any unauthorised use of your log-on information or any other breach of security.\n "),n("br"),t._v(" "),n("br"),t._v("4.2.3\tThis Platform shall currently only be used as a tool to raise public awareness and to aid and inform decision making to curb the destructive plastic pollution paradigm. It is not intended to be used in an emergency nor is it intended to override the roles of law enforcement or public administration. It is the obligation of the End User to confirm the information provided by way of the Content through independent sources. This Platform must not be considered complete or comprehensive due to possible errors in the database, limitations on volunteer contributions and the associated Content. Use of the Platform is solely at the End User’s risk.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 5. USER UNDERTAKINGS")]),t._v(" "),n("p",[t._v("5.1\tUndertaking: Except as expressly set out in this Licence or as permitted by any local law, you undertake not to:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("5.1.1.\tuse the Services for any unlawful or illegal purpose;\n "),n("br"),t._v("5.1.2.\tact dishonestly or fraudulently by engaging in objectionable conduct, or by posting inappropriate, inaccurate, or objectionable content to or through the Platform;\n "),n("br"),t._v("5.1.3\tpublish inaccurate information in the designated fields on registration for the service (e.g. do not include a link or an email address in your name field)\n "),n("br"),t._v("5.1.4.\tmake any translation, adaptation, arrangement or any other alteration of the permanent aspects of the Platform or any of the software contained in either or both;\n "),n("br"),t._v("5.1.5.\tmake any form of distribution to the public of the content of the Platform, the software, in whole or in part, or of copies thereof;\n "),n("br"),t._v("5.1.6.\tmake any form of distribution to the public of the Content or any other content on the Platform save as in accordance with the terms of this EULA;\n "),n("br"),t._v("5.1.7.\tremove or alter any copyright, meta-tags or other proprietary notice from the Platform, the Software and/or the Content;\n "),n("br"),t._v("5.1.8\tdisseminate, sell, give away, hire, lease, offer or expose for sale or distribute the content of the Platform, the Content or another associated data, information, product or content wholly or partially derived from any of the foregoing;\n "),n("br"),t._v("5.1.9.\tcreate an End-User Account for anyone other than a natural person;\n "),n("br"),t._v("5.1.10.\tharass, abuse or harm another person, including sending unwelcomed communications to others using the Services;\n "),n("br"),t._v("5.1.11.\tuse or attempt to use another End Users account without authorization from OpenLitterMap or that End User or create a false identity on the Website and/or the Application;\n "),n("br"),t._v("5.1.12.\tUpload, post, email, transmit or otherwise make available or initiate any content that:\n a)\tfalsely states, impersonates or otherwise misrepresents your identity to OpenLitterMap , including but not limited to the use of a pseudonym;\n b)\tis unlawful, libellous, abusive, obscene, discriminatory or otherwise objectionable;\n c)\tadds to a content field such content that is not intended for such field (i.e. submitting a telephone number in the “Name” or any other field, or including telephone numbers, email addresses, street addresses or any personally identifiable information for which there is not a field provided by OpenLitterMap );\n d)\tincludes information that you do not have the right to disclose or make available under any law or under contractual or fiduciary relationships.\n e)\tinfringes upon patents, trademarks, trade secrets, copyrights or other proprietary rights; and/or\n f)\tincludes any unsolicited or unauthorised communication, advertising, promotional materials, “junk mail,” “spam,” “chain letters,” “pyramid schemes,” or any other form of solicitation. This prohibition includes but is not limited to (i) using OpenLitterMap to send messages to people who have not expressly consented to the receipt of such contact through the privacy controls on the system; (ii) sending messages to distribution lists, newsgroup aliases, or group aliases.\n "),n("br"),t._v("5.1.13.\timply or state, directly or indirectly, that you are affiliated with or endorsed by OpenLitterMap unless you have entered into a written agreement with OpenLitterMap;\n "),n("br"),t._v("5.1.14.\treverse engineer, decompile, disassemble, decipher or otherwise attempt to derive the source code for any underlying intellectual property used in the Platform or to provide the Services, or any part thereof;\n "),n("br"),t._v("5.1.15.\tuse manual or automated software, devices, scripts robots, other means or processes to access, “scrape,” “crawl” or “spider” any web pages or other services contained in the Platform;\n "),n("br"),t._v("5.1.16.\tinfringe or use the OpenLitterMap brand, logos and/or trademarks, including, without limitation, using the word “OpenLitterMap” in any business name, email, or URL or including OpenLitterMap’s trademarks and logos except as expressly permitted by Seán Lynch post April 2017;\n "),n("br"),t._v("5.1.17\tuse bots or other automated methods to access the Platform, add or download contacts, send or redirect messages, or perform other activities through the Platform, unless explicitly permitted by OpenLitterMap ;\n "),n("br"),t._v("5.1.18.\tEngage in “framing,” “mirroring,” or otherwise simulating the appearance or function of the Platform;\n "),n("br"),t._v("5.1.19.\tAttempt to or actually access the Platform by any means other than through the interfaces provided by OpenLitterMap. This prohibition includes accessing or attempting to access OpenLitterMap using any third-party service, including software-as-a-service platforms that aggregate access to multiple services, including OpenLitterMap and proxy services;\n "),n("br"),t._v("5.1.20.\tDeep-link to the Platform for any purpose, (i.e. including a link to OpenLitterMap other than the home page) unless expressly authorized in writing by OpenLitterMap or for the purpose of authorised promotion;\n "),n("br"),t._v("5.1.21. Engage in any action that directly or indirectly interferes with the proper working of or places an unreasonable load on OpenLitterMap infrastructure, including, but not limited to, sending unsolicited communications to other Users or OpenLitterMap personnel, attempting to gain unauthorised access to OpenLitterMap , or transmitting or activating computer viruses through or on the Platform.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("5.2.\tCompliance Indemnity: You hereby agree to indemnify and hold OpenLitterMap and its licensors harmless from and against any liabilities, damages, judgments, costs and expenses (including reasonable legal fees and indirect and consequential loss) (“Losses”) arising out of your registration for or use of the Website, any downloading, installation and use of the Application software, or use of the Services in a manner inconsistent with this EULA.\n "),n("br"),t._v(" "),n("br"),t._v("5.3\tWarranty: You represent and warrant that you have the legal right and capacity to enter into this EULA in your jurisdiction.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 6. OpenLitterMap 'UNDERTAKINGS'")]),t._v(" "),n("p",[t._v("6.1\tOpenLitterMap Indemnity: We shall indemnify you against any claim that your use of or access to the Platform or Services infringes the copyright of any third party provided:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("6.1.1\tsuch claim relates to the technology and software underlying the Platform and or the Services;\n "),n("br"),t._v("6.1.2\twe are immediately notified of any such claim;\n "),n("br"),t._v("6.1.3\tyou do not make any admission of liability;\n "),n("br"),t._v("6.1.4\twe are given immediate and complete control of such claim, including the right to conduct the defence of any claim and to make any settlements as appropriate; and\n "),n("br"),t._v("6.1.5\tthe claim does not arise on foot of any of the circumstances set out in Section 5 above.\n ")]),t._v(" "),n("br"),t._v("6.2\tRemedies: We shall have the right at our discretion, to replace, modify or change the software incorporated in the Services to make any such software non-infringing. The maximum aggregate liability of OpenLitterMap shall be equal to that which is set out in section 9 of this Agreement. This states the entire liability of OpenLitterMap to you in respect of the infringement of the Intellectual Property Rights of any third parties.\n "),n("br"),t._v(" "),n("br"),t._v("6.3.\tDisclosure of End User Information:\n "),n("div",{staticClass:"container"},[n("br"),t._v("6.3.1.\tYou acknowledge, consent and agree that we may access, preserve, and disclose your registration and any other information you provide to us, if required to do so by law or we, in good faith believe that such access, preservation or disclosure is reasonably necessary in our opinion to:\n (a)\tcomply with legal process, including, but not limited to, civil and criminal subpoenas, court orders or other compulsory disclosures;\n (b)\tenforce this Agreement;\n (c)\trespond to claims of a violation of the rights of third parties, whether or not the third party is a User, individual, or government agency;\n (d)\trespond to customer service inquiries; or\n (e)\tprotect the rights, property, or personal safety of OpenLitterMap developers/employees, our users or the public.\n "),n("br"),t._v("6.3.2.\tDisclosures of user information to third parties other than those required to provide customer support, to administer this EULA, or to comply with legal requirements are addressed in the Privacy Policy.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 7. THIRD PARTY SITES")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("7.1\tLinks: OpenLitterMap if it includes links to third party web sites in its Content (“Third Party Site(s)”) is not responsible for and does not endorse any features, content, advertising, products or other materials on or available from Third Party Sites or applications. If you decide to access Third Party Sites, you do so at your own risk and agree that your use of any Third Party Sites is on an “as-is” basis without any warranty, and your use of any Third Party Site is subject to the terms and conditions contained therein.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 8. WARRANTY & DISCLAIMER ")]),t._v(" "),n("br"),n("p",[t._v("8.1\tANY INFORMATION OR CONTENT CONTAINED IN THE PLATFORM OR PROVIDED VIA THE SERVICES IS PROVIDED “AS IS” OR “AS AVAILABLE”. WHILE OpenLitterMap STRIVES TO PROVIDE YOU WITH USEFUL AND ACCURATE EVIDENCE BASED INFORMATION, OpenLitterMap DOES NOT WARRANT, AND EXPRESSLY DISCLAIMS, THAT THE INFORMATION CONTAINED IN CONTENT PROVIDED BY THIS PLATFORM IS UP-TO- DATE AND COMPLETE.\n "),n("br"),t._v(" "),n("br"),t._v("8.2\tAN END USER OF THE PLATFORM IS RESPONSIBLE FOR ANY AND ALL DAMAGES ARISING FROM PERSONAL CONTACT WITH LITTER INCLUDING NEEDLES, NEEDLE-STICKS OR ANY FORM OF DRUG-RELATED LITTER THAT MAY ARISE AS A CONSEQUENCE OF THEIR SEARCH FOR OR COLLECTION OF LITTER INCLUDING HANDLING OR MISHANDLING LITTER THAT MAY CAUSE HARM TO THE END USER’S PERSONAL HEALTH AND WELL-BEING. THE END USER HEREBY FULLY ACKNOWLEDGES THAT THEY ARE RESPONSIBLE FOR THEIR OWN ACTIONS AND THAT UNDER NO CIRCUMSTANCES CAN THE LICENSOR BE HELD RESPONSIBLE FOR SUCH ACTIONS. BY VOLUNTEERING TO SUBMIT AND CATEGORIZE GEOTAGGED PHOTOS OF LITTER WE STRIVE TO REDUCE THE HARMS CAUSED BY LITTER TO SOCIETY.\n "),n("br"),t._v(" "),n("br"),t._v("8.3\tTO THE FULLEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW, WE DISCLAIM ANY AND ALL IMPLIED WARRANTIES AND REPRESENTATIONS, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, ACCURACY OF DATA, AND NONINFRINGEMENT. IF YOU ARE DISSATISFIED WITH THE PLATFORM, THE SERVICES, OR DO NOT AGREE WITH THE TERMS OF THIS EULA, YOU MAY CLOSE YOUR OpenLitterMap ACCOUNT AND TERMINATE THIS EULA IN ACCORDANCE WITH SECTION 12 (“TERMINATION”) AND SUCH TERMINATION SHALL BE YOUR SOLE AND EXCLUSIVE REMEDY. THIS PLATFORM AND THE CONTENT PROVIDED BY IT, MUST NOT BE CONSIDERED COMPLETE OR COMPREHENSIVE DUE TO POSSIBLE ERRORS IN THE DATABASE AND OUR INTERNAL TECHNICAL METHODS.\n "),n("br"),t._v(" "),n("br"),t._v("8.4\tOpenLitterMap IS NOT RESPONSIBLE AND MAKES NO REPRESENTATIONS OR WARRANTIES FOR THE DELIVERY OF ANY MESSAGES OR COMMUNICATION (SUCH AS EMAILS, FORUM POSTINGS OR TRANSMISSION OF ANY OTHER USER GENERATED CONTENT) UPLOADED TO THE PLATFORM. THE TRANSMISSION OF ANY SUCH MESSAGES, IMAGES OR COMMUNICATION SHALL BE ENTIRELY THE RESPONSIBILITY OF THE MOBILE NETWORK OPERATOR OR BROADBAND INTERNET PROVIDER. IN ADDITION, WE NEITHER WARRANT NOR REPRESENT THAT YOUR PERSONAL USE OF THE SERVICE WILL NOT INFRINGE THE RIGHTS OF THIRD PARTIES. ANY MATERIAL, SERVICE, OR TECHNOLOGY DESCRIBED OR USED ON THE PLATFORM MAY BE SUBJECT TO INTELLECTUAL PROPERTY RIGHTS OWNED BY THIRD PARTIES WHO HAVE LICENSED SUCH MATERIAL, SERVICE, OR TECHNOLOGY TO US.\n "),n("br"),t._v(" "),n("br"),t._v("8.5\tOpenLitterMap DOES NOT HAVE ANY OBLIGATION TO VERIFY THE IDENTITY OF THE PERSONS SUBSCRIBING FOR ITS SERVICES, NOR DOES IT HAVE ANY OBLIGATION TO MONITOR THE USE OF ITS SERVICES BY OTHER USERS; THEREFORE, OpenLitterMap DISCLAIMS ALL LIABILITY FOR IDENTITY THEFT OR ANY OTHER MISUSE OF YOUR IDENTITY OR INFORMATION.\n "),n("br"),t._v(" "),n("br"),t._v("8.6\tOpenLitterMap DOES NOT GUARANTEE THAT THE SERVICES IT PROVIDES WILL FUNCTION WITHOUT INTERRUPTION OR ERRORS IN OPERATION. IN PARTICULAR, THE OPERATION OF THE SERVICES MAY BE INTERRUPTED DUE TO MAINTENANCE, UPDATES, OR SYSTEM OR NETWORK FAILURES. OpenLitterMap DISCLAIMS ALL LIABILITY FOR DAMAGES CAUSED BY ANY SUCH INTERRUPTION OR ERRORS IN FUNCTIONALITY. FURTHERMORE, OpenLitterMap DISCLAIMS ALL LIABILITY FOR ANY MALFUNCTIONING, IMPOSSIBILITY OF ACCESS, OR POOR USE CONDITIONS OF THE PLATFORM DUE TO INAPPROPRIATE EQUIPMENT, DISTURBANCES RELATED TO INTERNET SERVICE PROVIDERS, TO THE SATURATION OF THE INTERNET NETWORK, AND FOR ANY OTHER REASON.\n")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 9: LIMITATION OF LIABILITY.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("9.1\tPrecedence: This Section prevails over all other provisions of this EULA and sets out the entire liability of OpenLitterMap in respect of:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("9.1.1\tthe performance, non-performance, purported performance or delay in performance by OpenLitterMap of its obligations under this EULA; and\n "),n("br"),t._v("9.1.2\totherwise in relation to this Agreement or the entering into or performance of this EULA.\n ")]),t._v(" "),n("br"),t._v("9.2\tLosses not excluded: Nothing in this EULA shall exclude or limit OpenLitterMap liability specifically;\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.2.1\tunder the tort of deceit;\n "),n("br"),t._v("9.2.2\tfor death or personal injury caused by any breach of duty;\n "),n("br"),t._v("9.2.3\tany breach of an obligation implied by the Sale of Goods Act 1893 and/or the Sale of Goods, Supply of Services Act 1980 (if any); or\n "),n("br"),t._v("9.2.4\tany other liability to the extent that under applicable law it cannot be excluded or limited.\n ")]),t._v(" "),n("br"),t._v("9.3\tLosses specifically excluded: OpenLitterMap disclaims all responsibility in respect of and for the personal safety of volunteers collecting and collating Content for upload on the Platform. End Users hereby hold the Licensor harmless from any damages, liabilities, Losses or any claims resulting from personal contact with litter such as needles, needle-sticks or any form of litter that may occur as a result of an End User’s search for or collection of litter including handling or mishandling or litter that may result in causing harm to the personal health and well-being of the End User or any other third party. Please be careful.\n "),n("br"),t._v(" "),n("br"),t._v("9.4\tNo Implied Terms: The terms of this EULA are in lieu of all other conditions, warranties and other terms concerning the supply or purported supply of, or failure to supply or delay in supplying, any services (except for those arising under the Sale of Goods Act 1893 and/or the Sale of Goods, Supply of Services Act 1980 (if any) which might but for this Clause have effect between OpenLitterMap and you or would otherwise be implied or incorporated into this EULA or any collateral contract, whether by statue, common law, or otherwise (including the implied conditions, warranties or other terms as to satisfactory quality, fitness for purpose or as to the use of reasonable skill and care), all of which are hereby excluded.\n "),n("br"),t._v(" "),n("br"),t._v("9.5\tNon-Contractual Liability: Subject to 9.2 and 9.3, OpenLitterMap does not accept, and excludes all liability for breach of any obligation or duty to take reasonable care or exercise reasonable skill other than any such obligation or duty arising under this EULA.\n "),n("br"),t._v(" "),n("br"),t._v("9.6\tIndirect Loss: Subject to 9.2, OpenLitterMap shall not be liable in contract, tort or otherwise howsoever for any of the following losses or damage, (whether or not such damage was foreseen, foreseeable, known or otherwise):\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.6.1\trevenue, actual or anticipated profits, contracts, use of money, anticipated savings, business, opportunity, goodwill, reputation, changes in the value of assets, damage or corruption of data ; or\n "),n("br"),t._v("9.6.2\tany indirect or consequential loss howsoever caused (including, for the avoidance of doubt, whether such loss or damage is of a type specified in 9.6.1).\n "),n("br"),t._v("9.6.3 any other entities that claim a right to the same name.\n ")]),t._v(" "),n("br"),t._v("9.7\tBreach of Warranty: For the avoidance of doubt, OpenLitterMap shall have no liability to remedy a breach of warranty where such breach arises as a result of any of the following circumstances:\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.7.1.\tany use of the Services by you other than in accordance with the terms of this Agreement or use of the Services for a purpose for which they were not designed;\n "),n("br"),t._v("9.7.2.\tany temporary or permanent reproduction by any means and in any form, in whole or in part, of the Platform;\n "),n("br"),t._v("9.7.3.\tany reverse assembly, reverse compilation, reverse engineering or adaptation of the whole or part of the Platform;\n "),n("br"),t._v("9.7.4.\tany alteration, modification, adjustment, translation, adaptation or enhancement made by you to the Website or the Application or any combination, connection, operation or use of the Platform with any other equipment, software or documentation;\n "),n("br"),t._v("9.7.5\tany dissemination, sale, hire, lease offer or exposure for sale or distribution of the Platform;\n "),n("br"),t._v("9.7.6\tany item of third party hardware or software, even if forming part of the software or if the Licensor has recommended such third party hardware or software;\n "),n("br"),t._v("9.7.7\tany breach by you of your obligations under this Agreement or of the Licensor’s Intellectual Property Rights; or\n "),n("br"),t._v("9.7.8\tany act, omission, negligence, fraud or default of or by you.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 10. INTELLECTUAL PROPERTY RIGHTS ")]),t._v(" "),n("p",[t._v("10.1\tVesting: You acknowledge that all Intellectual Property Rights, title and interest in the Platform and the Services contained therein, throughout the world belong to Seán Lynch, that rights in the these are licensed (not sold) to you, and that you have no rights in, or to, the Platform and the Services other than the right to use them in accordance with the terms of this EULA.\n "),n("br"),t._v("10.2\tContributions: Currently OpenLitterMap only accepts feedback to seanlynch@umail.ucc.ie. Please note that as OpenLitterMap develops we welcome your information, ideas, suggestions or other materials which you may supply. Any ideas, suggestions, documents, improvements, comments, proposals or feedback in relation to the operation of the Platform and or the Services (“Feedback”) in whatever manner or form facilitated by the Platform; any such communication with OpenLitterMap whether verbally, via postings on blogs, forums, questionnaires, email and the like (“Communication”), you acknowledge and agree that such Feedback and or Communication (together “Contributions”):\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("10.2.1.\tdo not contain confidential or proprietary information;\n "),n("br"),t._v("10.2.2.\tdo not create any express or implied obligation of confidentiality in respect of OpenLitterMap;\n "),n("br"),t._v("10.2.3.\tOpenLitterMap is free to use or disclose (or choose not to use or disclose) such Contributions for any purpose, in any way, in any media worldwide;\n "),n("br"),t._v("10.2.4.\tdoes not preclude OpenLitterMap from having something similar to the Contributions already under consideration or in development;\n "),n("br"),t._v("10.2.5.\tthat you irrevocably waive and assign all right, title and interest in and to the Contributions to OpenLitterMap;\n "),n("br"),t._v("10.2.6.\tdoes not entitle you to any compensation, royalty or reimbursement of any kind from OpenLitterMap under any circumstances; and\n "),n("br"),t._v("10.2.7\tyou further agree to provide OpenLitterMap with such assistance as may be required in documenting, perfecting and maintaining OpenLitterMap’s rights in and to any such Contributions.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 11. INTEGRITY OF DATA")]),t._v(" "),n("p",[t._v("11.1\tNot Bespoke: You acknowledge that the Platform, the Services and the software have not been developed to meet your individual requirements and that it is therefore your responsibility to ensure that the facilities and functions of the Platform and the Services as described on the Website, meet your requirements.\n "),n("br"),t._v("11.2\tMinor Errors: You acknowledge that the Platform and the Services may not be free of bugs or errors and you agree that the existence of any errors shall not constitute a breach of this Licence.\n "),n("br"),t._v("11.3\tInsurance: You agree that you are the best judge of the value and importance of the data held on your End-User Account and that you will be solely responsible for taking out any insurance policy or other financial cover for loss or damage which may arise from loss of data for any reason.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 12. TERMINATION")]),t._v(" "),n("p",[t._v("12.1\tDuration: This Licence is effective either until deactivated by you by emailing us at seanlynch@umail.ucc.ie\n "),n("br"),t._v("12.2\tImmediate Termination: OpenLitterMap may terminate this Licence immediately if:\n "),n("br"),t._v("12.2.1\tyou commit a material or persistent breach of this Licence which you fail to remedy (if remediable) within 14 days after the service on you of notice requiring you to do so;\n "),n("br"),t._v("12.2.2\ta petition for a bankruptcy order to be made against you has been presented to the court;\n "),n("br"),t._v("12.2.3.\tif OpenLitterMap believes, at its sole discretion, that you are not adhering to the terms and conditions of this EULA or the Privacy Policy; or\n "),n("br"),t._v("12.2.4\tfor just cause at the sole discretion of OpenLitterMap to include, but not limited to the abuse of any fair usage policy or for the breach of any matter outlined under Section 5.1 above.\n "),n("br"),t._v("12.4\tUpon termination for any reason:\n "),n("br"),t._v("12.4.1\tall rights granted to you under this Licence shall cease;\n "),n("br"),t._v("12.4.2\tyou must cease all activities authorised by this Licence;\n "),n("br"),t._v("12.4.3\tyou must immediately pay to the Licensor any sums due to the Licensor under this Licence if applicable; and\n "),n("br"),t._v("12.4.4\tAll data stored and retained in the System will be deleted within a reasonable period.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 13. DATA PROTECTION")]),t._v(" "),n("p",[t._v("OpenLitterMap shall comply with the Data Protection requirements set out in our Privacy Policy.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 14. NOTICES")]),t._v(" "),n("p",[t._v("14.1\tService messages: For the purposes of service messages and notices about the Services to you, OpenLitterMap may place a banner notice across the Platform to alert you to certain changes such as modifications to this EULA. Alternatively, notice may consist of an email from OpenLitterMap to an email address associated with your account or via a digital distribution platform for mobile applications, applicable to your particular device should we choose to facilitate this in the future.\n "),n("br"),t._v("14.2:\tGeneral Communication: You also agree that OpenLitterMap may communicate with you through your account or through other means including email about your account or services associated with OpenLitterMap. To unsubscribe from any communication we circulate to you, please click on the unsubscribe mechanism at the bottom of the communication. You acknowledge and agree that we shall have no liability associated with or arising from your failure to do so, to maintain accurate contact or other information, including, but not limited to, your failure to receive critical information about the Platform and Services.\n "),n("br"),t._v("14.3\tContacting OpenLitterMap : You may contact OpenLitterMap directly by email at seanlynch@umail.ucc.ie\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 15. AMENDMENTS TO THE LICENCE")]),t._v(" "),n("p",[t._v("15.1\tAmendments: OpenLitterMap reserves the right, at our sole discretion, to amend, add or delete any of the terms and conditions of this Licence. OpenLitterMap will post notifications of any such changes to this Licence on the Website or in the Application, will provide a link to the revised version of this Licence, and may provide such other notice as the Licensor may elect in its sole discretion. If any future changes to this Licence are unacceptable to you or cause you to no longer be in compliance with this Licence, you may terminate this Licence in accordance with the terms herein.\n "),n("br"),t._v("15.2\tEvidence of Acceptance: Your installation, download and/or use of any updated or modified Software (if any) and/or your continued use of the Website, the Application or the Services following notice of changes to this Licence as described above means you accept any and all such changes. OpenLitterMap may change, modify, suspend, or discontinue any aspect of the Website, the Application and/or the Services at any time.\n "),n("br"),t._v("15.3\tLimits: OpenLitterMap may also impose limits on certain features without notice or liability. You disclaim any right, title or interest, monetary or otherwise, in any feature or content contained in the Platform and/or the Services.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 16. WAIVER")]),t._v(" "),n("p",[t._v("16.1\tStrict Performance: If OpenLitterMap fails, at any time during the term of this Licence, to insist on strict performance of any of your obligations under this Licence, or if OpenLitterMap fails to exercise any of the rights or remedies to which it is entitled under this Licence, this shall not constitute a waiver of such rights or remedies and shall not relieve you from compliance with such obligations.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 17. CONFIDENTIAL INFORMATION")]),t._v(" "),n("p",[t._v("17.1\tNon-Confidential Relationship: You acknowledge and agree that your relationship with OpenLitterMap is not a confidential, fiduciary, or other type of special relationship, and that your decision to submit any User Generated Content does not place OpenLitterMap in a position that is any different from the position held by members of the general public, including with regard to your User Generated Content. None of your User Generated Content will be subject to any obligation of confidence on the part of OpenLitterMap, and OpenLitterMap will not be liable for any use or disclosure of any Content you provide, subject at all times to the terms of the Privacy Policy.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 18. SEVERABILITY")]),t._v(" "),n("p",[t._v("If any of the terms of this Licence are determined by any competent authority to be invalid, unlawful or unenforceable to any extent, such term, condition or provision will to that extent be severed from the remaining terms, conditions and provisions which will continue to be valid to the fullest extent permitted by law.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 19. ENTIRE AGREEMENT")]),t._v(" "),n("p",[t._v("This EULA and any document expressly referred to in it represents the entire agreement between you and Seán Lynch trading as OpenLitterMap, in relation to the license hereunder and supersedes any prior agreement, representation, understanding or arrangement between us, whether oral or in writing. Both Parties hereunder acknowledge that, in entering into this EULA, neither Party has relied on any representation, undertaking or promise given by the other or implied from anything said or written in negotiations between us before entering into this Licence except as expressly stated in this Licence. ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 20. LAW AND JURISDICTION")]),t._v(" "),n("p",[t._v("20.1\tJurisdiction: This EULA is governed by Irish law. Any dispute arising from, or related to, any term of this EULA shall be subject to the exclusive jurisdiction of the Irish courts.\n "),n("br"),t._v("20.2\tLanguage: Any dispute arising from, or related to, any term of this EULA arising between the Parties, shall be resolved or determined based on the English language version alone. These terms were originally written in English. In the event that these terms are translated into any other language, the translation shall be for review purposes only and have no legal effect.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 21. Relationship")]),t._v(" "),n("p",[t._v("Nothing in this Agreement shall create, evidence or imply any agency, partnership or joint venture between you and OpenLitterMap. Neither you nor OpenLitterMap shall act or describe itself as the agent of the other; nor shall either party represent that it has any authority to make commitments on behalf of the other.")])])}],!1,null,"2eec2650",null);e.default=a.exports},GKyZ:function(t){t.exports=JSON.parse('{"general":"Algemeen","password":"Wachtwoord","details":"Persoonlijke Details","social":"Sociale Accounts","account":"Mijn Account","payments":"Mijn Betalingen","privacy":"Privacy","littercoin":"Littercoin (LTRX)","presence":"Aanwezigheid","emails":"Emails","show-flag":"Toon vlag","teams":"Teams"}')},GQYL:function(t,e,n){"use strict";var i=n("M5CN");n.n(i).a},GRKx:function(t,e,n){"use strict";var i=n("qAbK");n.n(i).a},Gebw:function(t,e,n){"use strict";var i=n("sFYy");n.n(i).a},GoYr:function(t){t.exports=JSON.parse('{"de":{"name":"Allemagne","lang":"Allemand"},"en":{"name":"Angleterre","lang":"Anglais"},"es":{"name":"Espagne","lang":"Espagnol"},"fr":{"name":"France","lang":"Français"},"hu":{"name":"Hongrie","lang":"Hongrois"},"ie":{"name":"Irlande","lang":"Irlandais"},"it":{"name":"Italie","lang":"Italien"},"ms":{"name":"Malaisie","lang":"Malais"},"nl":{"name":"Pays-Bas","lang":"Néerlandais"},"pl":{"name":"Pologne","lang":"Polonais"},"pt":{"name":"Brésil","lang":"Portugais brésilien"},"sw":{"name":"Tanzanie","lang":"Swahili"},"tk":{"name":"Turkie","lang":"Turc"},"uk":{"name":"Royaume-Uni","lang":"Anglais"}}')},GsvD:function(t,e,n){"use strict";var i=n("cwH4");n.n(i).a},GvbF:function(t){t.exports=JSON.parse('{"card-number":"Kaart nummer","card-holder":"Naam van kaart eigenaar","exp":"Verval datum","cvv":"CVV","placeholders":{"card-number":"Je 16 cijferig kaart nummer","card-holder":"Naam van de kaart eigenaar","exp-month":"Maand","exp-year":"Jaar","cvv":"***"}}')},H8ri:function(t,e,n){"use strict";function i(t,e){if(e){var n=this.$data._chart,i=t.datasets.map((function(t){return t.label})),r=e.datasets.map((function(t){return t.label})),a=JSON.stringify(r);JSON.stringify(i)===a&&e.datasets.length===t.datasets.length?(t.datasets.forEach((function(t,i){var r=Object.keys(e.datasets[i]),a=Object.keys(t),o=r.filter((function(t){return"_meta"!==t&&-1===a.indexOf(t)}));for(var s in o.forEach((function(t){delete n.data.datasets[i][t]})),t)t.hasOwnProperty(s)&&(n.data.datasets[i][s]=t[s])})),t.hasOwnProperty("labels")&&(n.data.labels=t.labels,this.$emit("labels:update")),t.hasOwnProperty("xLabels")&&(n.data.xLabels=t.xLabels,this.$emit("xlabels:update")),t.hasOwnProperty("yLabels")&&(n.data.yLabels=t.yLabels,this.$emit("ylabels:update")),n.update(),this.$emit("chart:update")):(n&&(n.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render"))}else this.$data._chart&&(this.$data._chart.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render")}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return r}));var r={reactiveData:{data:function(){return{chartData:null}},watch:{chartData:i}},reactiveProp:{props:{chartData:{type:Object,required:!0,default:function(){}}},watch:{chartData:i}}},a=n("MO+k"),o=n.n(a);function s(t,e){return{render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(t){this.$data._plugins.push(t)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(t,n){this.$data._chart&&this.$data._chart.destroy(),this.$data._chart=new o.a(this.$refs.canvas.getContext("2d"),{type:e,data:t,options:n,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var l=s("bar-chart","bar"),u=(s("horizontalbar-chart","horizontalBar"),s("doughnut-chart","doughnut")),c=s("line-chart","line"),h=(s("pie-chart","pie"),s("polar-chart","polarArea"),s("radar-chart","radar"));s("bubble-chart","bubble"),s("scatter-chart","scatter")},H9zO:function(t){t.exports=JSON.parse('{"general":"Général","password":"Mot de passe","details":"Données Personnelles","social":"Comptes de Réseaux Sociaux","account":"Mon Compte","payments":"Mon Paiement","privacy":"Confidentialité","littercoin":"Littercoin (LTRX)","presence":"Participation","emails":"E-mails","show-flag":"Afficher Drapeau","teams":"Équipes"}')},HBdk:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.map-container[data-v-b62b8330] {\n height: calc(100% - 72px);\n margin: 0;\n position: relative;\n z-index: 1;\n}\n#map[data-v-b62b8330] {\n height: 100%;\n margin: 0;\n position: relative;\n}\n",""])},HJjb:function(t,e,n){var i=n("VEov");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},HMOf:function(t){t.exports=JSON.parse('{"new-image":"Nouvelle Image","new-user":"Nouvel Utilisateur","new-country":"Nouveau Pays","new-state":"Nouvel État","new-city":"Nouvel Ville","user-signed-up":"Un nouvel utilisateur s\'est enregistré!","say-hello-to":"Dites bonjour à","littercoin-mined":"Un Littercoin a été récolté!","littercoin-100-boxes-verified":"100 boîtes OpenLitterAI vérifiées","littercoin-100-verified":"100 images vérifiées","team-created":"Une nouvelle équipe a été créée!","litter-picked-up":"Déchet Ramassé","litter-uploaded":"Déchet Cartographié"}')},HMki:function(t){t.exports=JSON.parse('{"description":"Viungo hivi vitaonekana katika kila picha uliyopakia, kwenye Ramani ya Dunia. Tafadhali weka URL kamili.","personal-website":"Tovuti Binafsi","personal-website-url":"URL ya Tovuti Binafsi"}')},HOht:function(t){t.exports=JSON.parse('{"cancel":"Cancel","submit":"Submit","download":"Download","delete":"Delete","delete-image":"Delete the image","confirm-delete":"Confirm Delete","loading":"Loading...","created_at":"Uploaded at","created":"Created","created-by":"Created by","datetime":"Taken at","day-names":["Mo","Tu","We","Th","Fr","Sa","Su"],"month-names":["January","February","March","April","May","June","July","August","September","October","November","December"],"short-month-names":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"next":"Next","previous":"Previous","next-page":"Next page","add-tags":"Add Tags","add-many-tags":"Add Many Tags","select-all":"Select all","de-select-all":"De-select all","choose-dates":"Choose Dates","not-verified":"Not Verified","verified":"Verified","search-by-id":"Search by ID","active":"Active","inactive":"Inactive","inactivate":"Disable Team Contributions","your-email":"you@email.com","team":"Team","actions":"Actions","anonymous":"Anonymous","photo":"Photo","reason":"Reason","faq":"Frequently Asked Questions"}')},HP61:function(t){t.exports=JSON.parse('{"welcome":"Bem-vindo ao seu novo Perfil","out-of":"De {total} usuários","rank":"Você está {rank} place","have-uploaded":"Você carregou","photos":"fotos","tags":"tags","all-photos":"todas as fotos","all-tags":"todas as tags","your-level":"Seu Level","reached-level":"Você alcançou o nível","have-xp":"e você tem","need-xp":"Você precisa","to-reach-level":"para alcançar o próximo level.","total-categories":"Todas as categorias","calendar-load-data":"Carregar dados","download-data":"Baixar meus dados","email-send-msg":"Um e-mail será enviado para o endereço que você usa para fazer o login.","timeseries-verified-photos":"Fotos Verificadas","manage-my-photos":"Visualize suas fotos, selecione várias, exclua-as ou adicione tags!","view-my-photos":"Ver minhas fotos","my-photos":"Minhas fotos","add-tags":"Adicionar Tags","bulk-tag-dblclick-info":"Clique duas vezes para ampliar as fotos!"}')},HQdr:function(t){t.exports=JSON.parse('{"login-btn":"Connexion","signup-text":"S\'inscrire","forgot-password":"Mot de passe oublié?"}')},Hc5j:function(t){t.exports=JSON.parse('{"what-about-litter":"What about litter?","about2":"Right now, trillions of plastic-tipped cigarette butts are leeching toxic chemicals and microplastics into the environment.","about3":"The result?","about4":"Massive amounts of nicotine and other toxic chemicals get released.","about5":"These toxic chemicals bio-accumulate in various plants and animals. Some of which we eat.","about6":"An environmental emergency is at our fingertips.","about7":"You can help us fix this by contributing to OpenLitterMap.","about8":"Just take a photo, tag it, and upload it.","about9":"I want to help!","about9a":"Just take a photo","about9b":"Tag the litter","about9c":"Upload it","about10":"Every year, millions of tonnes of plastic makes its way from land to sea.","about11":"Where it becomes significantly more damaging, more difficult, & more expensive to remove.","about12":"The illusion of \\"urban cleaning\\"","about13":"is facilitated by infrastructural design.","about14":"OpenLitterMap data is","about14a":"Open Data","about14b":"This means anyone can download the data for free, and use it for any purpose, without permission.","about15":"Open data is essential to bring transparency, democracy and accountability to science on pollution. Otherwise, who will be allowed to use the data?","about16":"OpenLitterMap empowers you with the tools to become a citizen scientist.","about17":"You are now empowered to contribute to the production of geospatial knowledge about our world. This has the potential to transform public and institutional behavior.","about17a":"Our data is mapped by Space, Time, Location, and Behaviour.","about17b":"Check out this incredible stretch of Free and Open Data on the pollution being caused by the products of a handful of global corporations","about17c":"Want to download the data?","about18":"The production of geospatial knowledge was once held exclusively by major institutions and people of power.","about19":"As a Citizen Scientist, ","about20":"you can create knowledge. ","about21":"This is a paradigm shift in how known geographic information is created about our world.","about22":"How to help:","about23":"Join today!","about24":"Enable geotagging on your device. Instructions about how to do this are sent out in a welcome email when you sign up.","about25":"You can map anything from as little as a single cigarette butt to the contents of an entire beach or street clean in 1 photo.","about26":"If there is too much litter and it is incalculable, simply use the Dumping category and rate the area from 1-100 or choose \\"Random Litter\\" in the \\"Other\\" category","about27":"If you want to create really powerful maps, take as many photos as you can. Or if you don\'t have the time, you can log any number of items in a single photo.","about28":"Verified images and content will automatically be added to the database, quantitatively & geospatially analyzed and available to view publicly for the world to see!","about29":"Help us communicate the problems, and solutions- to stop plastic reaching the ocean.","about29a":"If you like our work and would like to support, please join the crowdfunding","about30":"Join Open Litter Map to create a world with less of","about301":"this","about302":"and this...","about31":"In 2010 alone, it is estimated that at least 8 million tonnes of plastic went into the ocean. That\'s an average of 916 tonnes an hour.","about32":"A sample of what\'s floating around in the oceans","about33":"Plastic pollution is currently responsible for the annual deaths of about 1-million birds and 100,000 marine mammals annually.","about34":"By 2025, the amount of plastic entering the ocean is expected to increase to 70 million tonnes assuming current trends continue.","about35":"I want to help!"}')},Hoj9:function(t,e,n){var i=n("jtbz");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"HpQ/":function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alkohol","art":"Sztuka","brands":"Marki","coastal":"Przybrzeżny","coffee":"Kawa","dumping":"Zaśmiecanie","food":"Jedzenie","industrial":"Przemysłowy","sanitary":"Sanitarny","softdrinks":"Palenie","smoking":"Palenie","other":"Inne","dogshit":"Psia kupa","material":"Material"},"smoking":{"butts":"Filtr po papierosie","lighters":"Zapalniczka","cigaretteBox":"Paczka po papierosach","tobaccoPouch":"Paczka tytoniu","skins":"papier do skręcania","smoking_plastic":"Plastikowe opakowanie","filters":"Filtry","filterbox":"pudełko po filtrach","vape_pen":"e-papieros","vape_oil":"Olejek e-papierosowy","smokingOther":"Palenie (Inne)"},"alcohol":{"beerBottle":"Butelka po piwie","spiritBottle":"Butelka po mocniejszym alkoholu","wineBottle":"Butelka po winie","beerCan":"Puszka po piwie","brokenGlass":"Zbite szkło","bottleTops":"Kapsle","paperCardAlcoholPackaging":"Papierowe opakowanie po alkoholu","plasticAlcoholPackaging":"Plastikowe opakowanie po alkoholu","pint":"Szklany kufel","six_pack_rings":"plastikowe kółka po szescio-paku","alcohol_plastic_cups":"Plastikowy kubeczek","alcoholOther":"Akohol (inne)"},"art":{"item":"Sztuka Miotu"},"coffee":{"coffeeCups":"Kubeczek po kawie","coffeeLids":"Wieczko po kawie","coffeeOther":"Kawa (inne)"},"food":{"sweetWrappers":"Papierek po słodyczach","paperFoodPackaging":"Papierowe opakowanie po jedzeniu","plasticFoodPackaging":"Plastikowe opakowanie po jedzeniu","plasticCutlery":"Plastikowe sztućce","crisp_small":"Paczka po czipsach (mała)","crisp_large":"Paczka po czipsach (duża)","styrofoam_plate":"Styropianowy talerz","napkins":"Chusteczka","sauce_packet":"Paczka po sosie","glass_jar":"Słoik","glass_jar_lid":"Zakrętka po słoiku","aluminium_foil":"Folia aluminiowa","pizza_box":"Pudełko po pizzy","foodOther":"Jedzenie (Inne)","chewing_gum":"Guma do żucia"},"softdrinks":{"waterBottle":"Plastikowa butelka po wodzie","fizzyDrinkBottle":"Plastikowa butelka po napoju","tinCan":"Puszka napoju","bottleLid":"Zakrętka od butelki","bottleLabel":"Etykieta butelki","sportsDrink":"Izotoniku (Plastikowa butelka)","straws":"Słomka","plastic_cups":"Plastikowy kubeczek","plastic_cup_tops":"Wieczko po plastikowym kubeczku","milk_bottle":"Butelka po mleku","milk_carton":"Karton po mleku","paper_cups":"Papierowe kubeczki","juice_cartons":"Karton po soku","juice_bottles":"Butelka po soku","juice_packet":"Paczka po soku","ice_tea_bottles":"Butelka po Ice Tea","ice_tea_can":"puszka Ice Tea","energy_can":"Puszka po energetyku","pullring":"zawleczka od puszki","strawpacket":"opakowanie po słomkach","styro_cup":"Styropianowy kubeczek","broken_glass":"Zbite szkło","softDrinkOther":"Napoje (inne)"},"sanitary":{"gloves":"Rękawiczki","facemask":"Maseczki","condoms":"Prezerwatywy","nappies":"Pieluchy","menstral":"Podpaski","deodorant":"Dezodorant","ear_swabs":"Patyczki do uszu","tooth_pick":"Patyczki do zębów","tooth_brush":"Szczoteczka do zębów","wetwipes":"Mokre chusteczki","hand_sanitiser":"Środek do dezynfekcji rąk","sanitaryOther":"Sanitarny (inne)"},"dumping":{"small":"Małe","medium":"Średnie","large":"Duże"},"industrial":{"oil":"Olej","industrial_plastic":"Plastik","chemical":"Chemicalia","bricks":"Cegły","tape":"Taśma","industrial_other":"Przemysłowy (inne)"},"coastal":{"microplastics":"Microplastiki","mediumplastics":"Średnie tworzywa sztuczne","macroplastics":"makroplastiki","rope_small":"Lina (krótka)","rope_medium":"Lina (Średnia)","rope_large":"Lina (Duża)","fishing_gear_nets":"Siatka/sprzęt rybacki","ghost_nets":"Sieci widma","buoys":"Boja","degraded_plasticbottle":"zdegradowana plastikowa butelka","degraded_plasticbag":"zdegradowana plastikowa siatka","degraded_straws":"zdegradowana plastikowa słomka","degraded_lighters":"zdegradowana plastikowa zapalniczka","balloons":"Balony","lego":"Lego","shotgun_cartridges":"Kartridż do broni","styro_small":"Styropian (Mały)","styro_medium":"Styropian (Średni)","styro_large":"Styropian (Duży)","coastal_other":"przybrzeżny (inne)"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"TrashDog","littercat":"LitterCat","duck":"LitterDuck"},"other":{"dogshit":"Psia kupa","pooinbag":"Psia kupa w workeczku","automobile":"Auto","clothing":"ubrania","traffic_cone":"Pachołek drogowy","life_buoy":"Koło ratunkowe","plastic":"Niezidentyfikowany plastik","dump":"Nielegalny dumping","metal":"Metalowy przedmiot","plastic_bags":"Plastikowa siatka","election_posters":"Postery wyborcze","forsale_posters":"Postery na sprzedaż","books":"książki","magazine":"Magazyn (Gazeta)","paper":"Papier","stationary":"Papiery biurowe","washing_up":"Detergenty do mycia","hair_tie":"Gumka do włosów","ear_plugs":"Zatyczki do uszu","batteries":"Baterie","elec_small":"Elektronika (małe)","elec_large":"Elektronika (duże)","random_litter":"Losowe śmieci","balloons":"Balony","bags_litter":"Worki ze śmieciami","overflowing_bins":"Przepełnione śmietniki","tyre":"Opona","cable_tie":"Opaska kablowa (Trytytka)","other":"Inne (inne)"},"presence":{"picked-up":"Zebrałem!","still-there":"Nie został odebrany!","picked-up-text":"It\'s gone.","still-there-text":"The litter is still there!"},"no-tags":"Bez tagów","not-verified":"Oczekiwanie na weryfikację","not-tagged-yet":"Jeszcze nieotagowany!","dogshit":{"poo":"niespodzianka!","poo_in_bag":"niespodzianka w woreczku!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},Hv2k:function(t){t.exports=JSON.parse('{"login-btn":"Bejelentkezés","signup-text":"Új fiók létrehozása","forgot-password":"Elfelejtetted a jelszavadat?"}')},Hw7p:function(t){t.exports=JSON.parse('{"title":"Tabla de clasificación de equipos","position-header":"Posición","name-header":"Nombre","photos-header":"Total de fotos","litter-header":"Total de basura","created-at-header":"Creado el"}')},Hz4E:function(t){t.exports=JSON.parse('{"new-image":"Nova Imagem","new-user":"Novo Usuário","new-country":"Novo País","new-state":"Novo Estado","new-city":"Nova Cidade","user-signed-up":"Um novo usuário se inscreveu!","say-hello-to":"Diga olá para","littercoin-mined":"Uma Littercoin foi extraída!","littercoin-100-boxes-verified":"100 caixas OpenLitterAI verificadas","littercoin-100-verified":"100 imagens verificadas","team-created":"Uma nova Equipe foi criada!","litter-picked-up":"Lixo Recolhido","litter-uploaded":"Lixo Enviado"}')},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),a=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(a).concat([r]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;rOpenStreetMap & Contributors',maxZoom:20,minZoom:1}).addTo(e.map),e.map.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+i),a=new b.a.TimeDimension({}),e.map.timeDimension=a,e.player=new b.a.TimeDimension.Player({transitionTime:1e3,loop:!0},a),e.player.on("play",(function(){var t;(null===(t=e.map)||void 0===t?void 0:t.hasLayer(e.pointsLayer))&&e.map.removeLayer(e.pointsLayer)})),e.map.addControl(new b.a.Control.TimeDimension({player:e.player,timeDimension:a,timeSliderDragUpdate:!0,loopButton:!0,autoPlay:!1,minSpeed:5}));case 11:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){x(a,i,r,o,s,"next",t)}function s(t){x(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{map:null,loading:!0,fullscreen:!1,pointsLayer:null,timeLayer:null,player:null}},computed:{geojson:function(){return this.$store.state.user.geojson.features}},watch:{geojson:function(t){var e=this;this.pointsLayer&&this.pointsLayer.remove(),this.timeLayer&&this.timeLayer.remove(),this.player&&this.player.stop(),this.pointsLayer=b.a.geoJSON(t,{pointToLayer:function(t,e){return b.a.marker([e.lng,e.lat])},onEachFeature:function(t,n){n.on("click",(function(n){b.a.popup(w.a.popupOptions).setLatLng(t.geometry.coordinates).setContent(w.a.getMapImagePopupContent(t.properties)).openOn(e.map)}))}}),this.timeLayer=b.a.timeDimension.layer.geoJson(this.pointsLayer,{updateTimeDimension:!0,updateTimeDimensionMode:"replace"}),this.pointsLayer.addTo(this.map),this.timeLayer.addTo(this.map)}},methods:{fullscreenChange:function(t){this.fullscreen=t},toggle:function(){this.$refs.fullscreen.toggle()}}},C=(n("GRKx"),Object(l.a)(k,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card",staticStyle:{padding:"0 !important"}},[e("fullscreen",{ref:"fullscreen",staticClass:"profile-map-container",on:{change:this.fullscreenChange}},[e("button",{staticClass:"btn-map-fullscreen",on:{click:this.toggle}},[e("i",{staticClass:"fa fa-expand"})]),this._v(" "),e("div",{ref:"hexmap",attrs:{id:"hexmap"}})])],1)}),[],!1,null,"41819959",null).exports),T=n("R5vI");function E(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var S={name:"ProfileCalendar",components:{FunctionalCalendar:T.a},data:function(){return{btn:"button is-primary is-fullwidth",calendarData:{},period:"created_at",periods:["created_at","datetime"]}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},disabled:function(){return!!this.processing||(!this.calendarData.hasOwnProperty("dateRange")||!this.calendarData.dateRange.hasOwnProperty("start")&&!this.calendarData.dateRange.hasOwnProperty("end"))}},methods:{changePeriod:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.disabled){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.$store.dispatch("GET_USERS_PROFILE_MAP_DATA",{period:e.period,start:e.calendarData.dateRange.start,end:e.calendarData.dateRange.end});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){E(a,i,r,o,s,"next",t)}function s(t){E(a,i,r,o,s,"throw",t)}o(void 0)}))})()},getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)}}},P=Object(l.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("FunctionalCalendar",{attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),sundayStart:!1,"date-format":"yyyy-mm-dd","is-date-range":!0,"is-date-picker":!1,"change-month-function":!0,"change-year-function":!0},model:{value:t.calendarData,callback:function(e){t.calendarData=e},expression:"calendarData"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input mt1 mb1",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]}}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.disabled},on:{click:t.changePeriod}},[t._v(t._s(t.$t("profile.dashboard.calendar-load-data")))])],1)}),[],!1,null,"68fa9332",null).exports;function L(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var I={name:"ProfileDownload",components:{FunctionalCalendar:T.a},data:function(){return{btn:"button tooltip is-primary",processing:!1,calendarData:{},period:"created_at",periods:["created_at","datetime"]}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn}},methods:{download:function(){var t,e=this;return(t=r.a.mark((function t(){var n,i,a,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("DOWNLOAD_MY_DATA",{dateField:e.period,fromDate:null===(n=e.calendarData)||void 0===n||null===(i=n.dateRange)||void 0===i?void 0:i.start,toDate:null===(a=e.calendarData)||void 0===a||null===(o=a.dateRange)||void 0===o?void 0:o.end});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){L(a,i,r,o,s,"next",t)}function s(t){L(a,i,r,o,s,"throw",t)}o(void 0)}))})()}}},O=(n("8/Lw"),Object(l.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"profile-dl-title"},[t._v(t._s(t.$t("profile.dashboard.download-data")))]),t._v(" "),n("FunctionalCalendar",{attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),sundayStart:!1,"date-format":"yyyy-mm-dd","is-date-range":!0,"is-date-picker":!1,"change-month-function":!0,"change-year-function":!0},model:{value:t.calendarData,callback:function(e){t.calendarData=e},expression:"calendarData"}}),t._v(" "),n("div",{staticClass:"inputs-wrapper"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input mt1 mb1",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]}}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.$t("teams.dashboard.times."+e)))])})),0),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing},on:{click:t.download}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v(t._s(t.$t("profile.dashboard.email-send-msg")))]),t._v("\n "+t._s(t.$t("common.download"))+"\n ")])])],1)}),[],!1,null,"32848a05",null).exports),A={extends:f.c,name:"TimeSeriesLine",props:["ppm"],data:function(){return{months:this.$t("common.short-month-names")}},mounted:function(){var t=JSON.parse(this.ppm),e=[],n=[];for(var i in t)e.push(this.months[parseInt(i.substring(0,2))-1]+i.substring(2,5)),n.push(t[i]);this.renderChart({labels:e,datasets:[{label:this.$t("profile.dashboard.timeseries-verified-photos"),backgroundColor:"#1DD3B0",data:n,fill:!1,borderColor:"#1DD3B0",maxBarThickness:"50"}]},{responsive:!0,maintainAspectRatio:!1,legend:{labels:{fontColor:"#1DD3B0"}},scales:{xAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#1DD3B0"}}],yAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#1DD3B0"}}]}})}},M={name:"ProfileTimeSeries",components:{TimeSeriesLine:Object(l.a)(A,void 0,void 0,!1,null,null,null).exports},computed:{ppm:function(){return this.$store.state.user.user.photos_per_month}}},z={name:"ProfilePhotos"};function N(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var D={name:"Profile",components:{ProfileWelcome:u,ProfileTimeSeries:Object(l.a)(M,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card"},[e("TimeSeriesLine",{attrs:{ppm:this.ppm}})],1)}),[],!1,null,"f09fa5e0",null).exports,ProfileStats:h,ProfileNextTarget:p,ProfileCategories:y,ProfileMap:C,ProfileCalendar:P,ProfileDownload:O,ProfilePhotos:Object(l.a)(z,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card"},[e("p",{staticClass:"mb1"},[this._v(this._s(this.$t("profile.dashboard.manage-my-photos")))]),this._v(" "),e("router-link",{attrs:{to:"/bulk-tag"}},[e("button",{staticClass:"button is-medium is-primary"},[this._v(this._s(this.$t("profile.dashboard.view-my-photos")))])])],1)}),[],!1,null,"217787fc",null).exports},mounted:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_CURRENT_USER");case 2:return t.next=4,e.$store.dispatch("GET_USERS_PROFILE_DATA");case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){N(a,i,r,o,s,"next",t)}function s(t){N(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},R=(n("ilIf"),Object(l.a)(D,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"profile-container"},[n("ProfileWelcome"),t._v(" "),n("ProfileStats"),t._v(" "),n("ProfileNextTarget"),t._v(" "),n("ProfileCategories"),t._v(" "),n("ProfileMap"),t._v(" "),n("ProfileCalendar"),t._v(" "),n("ProfileDownload"),t._v(" "),n("ProfileTimeSeries"),t._v(" "),n("ProfilePhotos")],1)}),[],!1,null,null,null));e.default=R.exports},KBsX:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.progress-bar[data-v-0c6af5d8] {\n max-width: 600px;\n}\n.stats[data-v-0c6af5d8] {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.stat[data-v-0c6af5d8] {\n padding: 12px;\n flex: 1;\n}\n@media screen and (min-width: 768px) {\n.stats[data-v-0c6af5d8] {\n flex-direction: row;\n}\n}\n",""])},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,r,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},KNCH:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Plastic vervuiling is op hol geslagen","fires-out-of-control":"Sigarettenpeuken kunnen brand veroorzaken","climate-change-out-of-control":"Plastic zorgt voor toenemende klimaatverandering","help-us":"Help ons om de meest geavanceerde database te maken met data over afval, merken en plastic vervuiling","why-collect-data":"Waarom zouden we data moeten verzamelen","visibility":"Zichtbaarheid","our-maps-reveal-litter-normality":"Onze plattegronden laten zien wat inmiddels normaal en onzichtbaar is geworden. Dit is van belang om het afval weer letterlijk op de kaart te zetten","science":"Onderzoek","our-data-open-source":"Onze data is open en toegankelijk. Iedereen kan deze data downloaden en gebruiken, ongeacht het doel","community":"Gemeenschap","must-work-together":"Alleen door samen te werken kunnen we een enorme verschuiving maken in de manier waarop we naar vervuiling kijken en hoe we erop moeten reageren","how-does-it-work":"Hoe gaat dat in z\'n werk","take-a-photo":"Neem een foto","device-captures-info":"Jouw toestel is in staat om veel waardevolle data vast te leggen, zoals de locatie, de datum en tijd, het object, het materiaal en het merk.","tag-the-litter":"Geef het afval een label","tag-litter-you-see":"Geef aan wat voor afval je op de foto ziet. Je kan aangeven of het afval daadwerkelijk is opgeruimd, of dat het er nog ligt","share-results":"Deel je resultaten","share":"Deel de plattegronden en download onze data. Laat iedereen zien hoe het gesteld is met de vervuiling op de wereld","verified":"Jouw email is bevestigd! Je kunt nu inloggen.","close":"Sluiten","our-partners":"Onze Partners","become-a-partner":"Een partner worden"}')},KSRL:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".vfc-time-picker-container[data-v-56eeb0da] {\n min-width: 250px;\n}\n.vfc-time-picker-container .vfc-modal-time-line > span > span[data-v-56eeb0da]:not(:nth-child(2)):not(.vfc-active):hover {\n cursor: pointer;\n}\n.vfc-time-picker-container .titles[data-v-56eeb0da] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 10px 0;\n}\n.vfc-time-picker-container .titles > div[data-v-56eeb0da] {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: center;\n color: #66b3cc;\n word-break: break-all;\n font-size: 25px;\n}\n.vfc-time-picker-container .vfc-time-picker[data-v-56eeb0da] {\n padding-bottom: 20px;\n}",""])},Kb5C:function(t){t.exports=JSON.parse('{"click-to-upload":"Klik om te uploaden of drop hier je foto\'s","thank-you":"Dank je!","need-tag-litter":"Volgende stap: het afval identificeren/taggen","tag-litter":"Tag het afval"}')},"Kuz/":function(t,e,n){(function(n){var r,a,o,s;function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(){return function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){var n=e[o][1][t];return r(n||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=!1,o=0;o=l&&u===s.length-1);u++){if(l>=e){var c=e-l;if(c){var h=a(s[u],s[u-1])-180;return o(s[u],c,h,n)}return r(s[u])}l+=i(s[u],s[u+1],n)}return r(s[s.length-1])}},{"@turf/bearing":3,"@turf/destination":5,"@turf/distance":8,"@turf/helpers":11}],3:[function(t,e,n){var i=t("@turf/invariant").getCoord;function r(t,e,n){if(!0===n)return function(t,e){var n=r(e,t);return n=(n+180)%360}(t,e);var a=Math.PI/180,o=180/Math.PI,s=i(t),l=i(e),u=a*s[0],c=a*l[0],h=a*s[1],d=a*l[1],p=Math.sin(c-u)*Math.cos(d),f=Math.cos(h)*Math.sin(d)-Math.sin(h)*Math.cos(d)*Math.cos(c-u);return o*Math.atan2(p,f)}e.exports=r},{"@turf/invariant":4}],4:[function(t,e,n){function i(t){if(!t)throw new Error("No obj passed");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return function t(e){if(e.length>1&&"number"==typeof e[0]&&"number"==typeof e[1])return!0;if(e[0].length)return t(e[0]);throw new Error("coordinates must only contain numbers")}(e),e;throw new Error("No valid coordinates")}e.exports.geojsonType=function(t,e,n){if(!e||!n)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.type)},e.exports.collectionOf=function(t,e,n){if(!t)throw new Error("No featureCollection passed");if(!n)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+n+", FeatureCollection required");for(var i=0;i1&&"number"==typeof e[0]&&"number"==typeof e[1])return e;throw new Error("Coordinate is not a valid Point")},e.exports.getCoords=i},{}],5:[function(t,e,n){var i=t("@turf/invariant").getCoord,r=t("@turf/helpers"),a=r.point,o=r.distanceToRadians;e.exports=function(t,e,n,r){var s=Math.PI/180,l=180/Math.PI,u=i(t),c=s*u[0],h=s*u[1],d=s*n,p=o(e,r),f=Math.asin(Math.sin(h)*Math.cos(p)+Math.cos(h)*Math.sin(p)*Math.cos(d)),m=c+Math.atan2(Math.sin(d)*Math.sin(p)*Math.cos(h),Math.cos(p)-Math.sin(h)*Math.sin(f));return a([l*m,l*f])}},{"@turf/helpers":6,"@turf/invariant":7}],6:[function(t,e,n){function i(t,e){if(!t)throw new Error("No geometry passed");return{type:"Feature",properties:e||{},geometry:t}}e.exports.feature=i,e.exports.point=function(t,e){if(!t)throw new Error("No coordinates passed");if(void 0===t.length)throw new Error("Coordinates must be an array");if(t.length<2)throw new Error("Coordinates must be at least 2 numbers long");if("number"!=typeof t[0]||"number"!=typeof t[1])throw new Error("Coordinates must numbers");return i({type:"Point",coordinates:t},e)},e.exports.polygon=function(t,e){if(!t)throw new Error("No coordinates passed");for(var n=0;n0){e+=Math.abs(a(t[0]));for(var n=1;n2){for(l=0;lt[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]t&&(e.push(i),n=r)}return e},i.prototype.vector=function(t){var e=this.pos(t+10),n=this.pos(t-10);return{angle:180*Math.atan2(e.y-n.y,e.x-n.x)/3.14,speed:Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)+(n.z-e.z)*(n.z-e.z))}},i.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var n=e/this.duration;if(n>=1)return this.points[this.length-1];var i=Math.floor((this.points.length-1)*n);return function(t,e,n,i,r){var a=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:r.x*a[0]+i.x*a[1]+n.x*a[2]+e.x*a[3],y:r.y*a[0]+i.y*a[1]+n.y*a[2]+e.y*a[3],z:r.z*a[0]+i.z*a[1]+n.z*a[2]+e.z*a[3]}}((this.length-1)*n-i,this.points[i],this.controls[i][1],this.controls[i+1][0],this.points[i+1])},e.exports=i},{}],25:[function(t,e,n){var i=t("@turf/helpers"),r=i.featureCollection,a=t("jsts"),o=t("@mapbox/geojson-normalize");e.exports=function(t,e,n){var s=i.distanceToDegrees(e,n),l=o(t),u=o(r(l.features.map((function(t){return function(t,e){var n=(new a.io.GeoJSONReader).read(t.geometry).buffer(e),i=new a.io.GeoJSONWriter;return{type:"Feature",geometry:n=i.write(n),properties:{}}}(t,s)}))));return u.features.length>1?u:1===u.features.length?u.features[0]:void 0}},{"@mapbox/geojson-normalize":26,"@turf/helpers":27,jsts:28}],26:[function(t,e,n){e.exports=function(t){if(!t||!t.type)return null;var e=i[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featurecollection"===e?t:void 0:null};var i={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featurecollection"}},{}],27:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],28:[function(t,e,n){!function(t,i){"object"==l(n)&&void 0!==e?i(n):i(t.jsts=t.jsts||{})}(this,(function(t){"use strict";function e(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}function n(){}function i(){}function r(){}function a(){}function o(){}function s(){}function l(){}function u(t){this.name="RuntimeException",this.message=t,this.stack=(new Error).stack,Error.call(this,t)}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function h(){if(0===arguments.length)u.call(this);else if(1===arguments.length){var t=arguments[0];u.call(this,t)}}function d(){}function p(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)p.call(this,0,0);else if(1===arguments.length){var t=arguments[0];p.call(this,t.x,t.y,t.z)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];p.call(this,e,n,p.NULL_ORDINATE)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2];this.x=i,this.y=r,this.z=a}}function f(){if(this.dimensionsToTest=2,0===arguments.length)f.call(this,2);else if(1===arguments.length){var t=arguments[0];if(2!==t&&3!==t)throw new i("only 2 or 3 dimensions may be specified");this.dimensionsToTest=t}}function m(){}function g(){}function v(t){this.message=t||""}function y(){}function _(t){this.message=t||""}function b(t){this.message=t||""}function w(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function x(){if(w.apply(this),0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.ensureCapacity(t.length),this.add(t,!0)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.ensureCapacity(e.length),this.add(e,n)}}function k(){if(this.minx=null,this.maxx=null,this.miny=null,this.maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof p){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof k){var e=arguments[0];this.init(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var r=arguments[0],a=arguments[1],o=arguments[2],s=arguments[3];this.init(r,a,o,s)}}function C(){}function T(){C.call(this,"Projective point not representable on the Cartesian plane.")}function E(){}function S(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1}function P(){}function L(t){this.str=t}function I(t){this.value=t}function O(){}function A(){if(this.hi=0,this.lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this.init(t)}else if(arguments[0]instanceof A){var e=arguments[0];this.init(e)}else if("string"==typeof arguments[0]){var n=arguments[0];A.call(this,A.parse(n))}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.init(i,r)}}function M(){}function z(){}function N(){}function D(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var t=arguments[0];this.x=t.x,this.y=t.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var e=arguments[0],n=arguments[1];this.x=e,this.y=n,this.w=1}else if(arguments[0]instanceof D&&arguments[1]instanceof D){var i=arguments[0],r=arguments[1];this.x=i.y*r.w-r.y*i.w,this.y=r.x*i.w-i.x*r.w,this.w=i.x*r.y-r.x*i.y}else if(arguments[0]instanceof p&&arguments[1]instanceof p){var a=arguments[0],o=arguments[1];this.x=a.y-o.y,this.y=o.x-a.x,this.w=a.x*o.y-o.x*a.y}}else if(3===arguments.length){var s=arguments[0],l=arguments[1],u=arguments[2];this.x=s,this.y=l,this.w=u}else if(4===arguments.length){var c=arguments[0],h=arguments[1],d=arguments[2],f=arguments[3],m=c.y-h.y,g=h.x-c.x,v=c.x*h.y-h.x*c.y,y=d.y-f.y,_=f.x-d.x,b=d.x*f.y-f.x*d.y;this.x=g*b-_*v,this.y=y*v-m*b,this.w=m*_-y*g}}function R(){}function j(){}function F(){this.envelope=null,this.factory=null,this.SRID=null,this.userData=null;var t=arguments[0];this.factory=t,this.SRID=t.getSRID()}function B(){}function U(){}function q(){}function $(){}function G(){}function V(){}function H(){}function W(){}function Y(){}function Z(){}function X(){}function J(){}function K(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function Q(t){return null==t?Ba:t.color}function tt(t){return null==t?null:t.parent}function et(t,e){null!==t&&(t.color=e)}function nt(t){return null==t?null:t.left}function it(t){return null==t?null:t.right}function rt(){this.root_=null,this.size_=0}function at(){}function ot(){}function st(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function lt(){}function ut(){}function ct(){}function ht(){}function dt(){this.geometries=null;var t=arguments[0],e=arguments[1];if(F.call(this,e),null===t&&(t=[]),F.hasNullElements(t))throw new i("geometries must not contain null elements");this.geometries=t}function pt(){var t=arguments[0],e=arguments[1];dt.call(this,t,e)}function ft(){if(this.geom=null,this.geomFact=null,this.bnRule=null,this.endpointMap=null,1===arguments.length){var t=arguments[0];ft.call(this,t,U.MOD2_BOUNDARY_RULE)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.geom=e,this.geomFact=e.getFactory(),this.bnRule=n}}function mt(){this.count=null}function gt(){}function vt(){}function yt(){}function _t(){}function bt(){}function wt(){}function xt(){}function kt(){this.points=null;var t=arguments[0],e=arguments[1];F.call(this,e),this.init(t)}function Ct(){}function Tt(){this.coordinates=null;var t=arguments[0],e=arguments[1];F.call(this,e),this.init(t)}function Et(){}function St(){this.shell=null,this.holes=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(F.call(this,n),null===t&&(t=this.getFactory().createLinearRing()),null===e&&(e=[]),F.hasNullElements(e))throw new i("holes must not contain null elements");if(t.isEmpty()&&F.hasNonEmptyElements(e))throw new i("shell is empty but holes are not");this.shell=t,this.holes=e}function Pt(){var t=arguments[0],e=arguments[1];dt.call(this,t,e)}function Lt(){if(arguments[0]instanceof p&&arguments[1]instanceof Ht){var t=arguments[0],e=arguments[1];Lt.call(this,e.getCoordinateSequenceFactory().create(t),e)}else if(S(arguments[0],z)&&arguments[1]instanceof Ht){var n=arguments[0],i=arguments[1];kt.call(this,n,i),this.validateConstruction()}}function It(){var t=arguments[0],e=arguments[1];dt.call(this,t,e)}function Ot(){if(this.factory=null,this.isUserDataCopied=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.factory=t}}function At(){}function Mt(){}function zt(){}function Nt(){}function Dt(){if(this.dimension=3,this.coordinates=null,1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];Dt.call(this,t,3)}else if(Number.isInteger(arguments[0])){var e=arguments[0];this.coordinates=new Array(e).fill(null);for(var n=0;n-1}function Ut(t,e,n){var i=[0],r=!1;return t.push(i),{next:function(){var a,o=i[0];return!r&&o1,"Node capacity must be greater than 1"),this.nodeCapacity=t}}function Le(){}function Ie(){if(0===arguments.length)Ie.call(this,Ie.DEFAULT_NODE_CAPACITY);else if(1===arguments.length){var t=arguments[0];Pe.call(this,t)}}function Oe(){var t=arguments[0];Ee.call(this,t)}function Ae(){}function Me(){this.segString=null,this.coord=null,this.segmentIndex=null,this.segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.segString=t,this.coord=new p(e),this.segmentIndex=n,this.segmentOctant=i,this._isInterior=!e.equals2D(t.getCoordinate(n))}function ze(){this.nodeMap=new rt,this.edge=null;var t=arguments[0];this.edge=t}function Ne(){this.nodeList=null,this.edge=null,this.nodeIt=null,this.currNode=null,this.nextNode=null,this.currSegIndex=0;var t=arguments[0];this.nodeList=t,this.edge=t.getEdge(),this.nodeIt=t.iterator(),this.readNextNode()}function De(){}function Re(){this.nodeList=new ze(this),this.pts=null,this.data=null;var t=arguments[0],e=arguments[1];this.pts=t,this.data=e}function je(){this.tempEnv1=new k,this.tempEnv2=new k,this.overlapSeg1=new te,this.overlapSeg2=new te}function Fe(){this.pts=null,this.start=null,this.end=null,this.env=null,this.context=null,this.id=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.pts=t,this.start=e,this.end=n,this.context=i}function Be(){}function Ue(){}function qe(){}function $e(){if(this.segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}}function Ge(){if(this.monoChains=new w,this.index=new Ie,this.idCounter=0,this.nodedSegStrings=null,this.nOverlaps=0,0===arguments.length);else if(1===arguments.length){var t=arguments[0];$e.call(this,t)}}function Ve(){je.apply(this),this.si=null;var t=arguments[0];this.si=t}function He(){if(this.pt=null,1===arguments.length){var t=arguments[0];u.call(this,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];u.call(this,He.msgWithCoord(e,n)),this.name="TopologyException",this.pt=new p(n)}}function We(){}function Ye(){this.findAllIntersections=!1,this.isCheckEndSegmentsOnly=!1,this.li=null,this.interiorIntersection=null,this.intSegments=null,this.intersections=new w,this.intersectionCount=0,this.keepIntersections=!0;var t=arguments[0];this.li=t,this.interiorIntersection=null}function Ze(){this.li=new Xt,this.segStrings=null,this.findAllIntersections=!1,this.segInt=null,this._isValid=!0;var t=arguments[0];this.segStrings=t}function Xe(){this.nv=null;var t=arguments[0];this.nv=new Ze(Xe.toSegmentStrings(t))}function Je(){this.mapOp=null;var t=arguments[0];this.mapOp=t}function Ke(){}function Qe(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];this.init(t.length)}else if(Number.isInteger(arguments[0])){var e=arguments[0];this.init(1),this.location[Ke.ON]=e}else if(arguments[0]instanceof Qe){var n=arguments[0];if(this.init(n.location.length),null!==n)for(var i=0;i=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this.arg=new Array(2).fill(null),this.arg[0]=new Un(0,i,a),this.arg[1]=new Un(1,r,a)}}function $n(){this.pts=null,this._orientation=null;var t=arguments[0];this.pts=t,this._orientation=$n.orientation(t)}function Gn(){this.edges=new w,this.ocaMap=new rt}function Vn(){this.ptLocator=new ve,this.geomFact=null,this.resultGeom=null,this.graph=null,this.edgeList=new Gn,this.resultPolyList=new w,this.resultLineList=new w,this.resultPointList=new w;var t=arguments[0],e=arguments[1];qn.call(this,t,e),this.graph=new hn(new _n),this.geomFact=t.getFactory()}function Hn(){this.geom=new Array(2).fill(null),this.snapTolerance=null,this.cbr=null;var t=arguments[0],e=arguments[1];this.geom[0]=t,this.geom[1]=e,this.computeSnapTolerance()}function Wn(){this.geom=new Array(2).fill(null);var t=arguments[0],e=arguments[1];this.geom[0]=t,this.geom[1]=e}function Yn(){this.factory=null,this.interiorPoint=null,this.maxWidth=0;var t=arguments[0];this.factory=t.getFactory(),this.add(t)}function Zn(){this.poly=null,this.centreY=null,this.hiY=r.MAX_VALUE,this.loY=-r.MAX_VALUE;var t=arguments[0];this.poly=t,this.hiY=t.getEnvelopeInternal().getMaxY(),this.loY=t.getEnvelopeInternal().getMinY(),this.centreY=Yn.avg(this.loY,this.hiY)}function Xn(){this.centroid=null,this.minDistance=r.MAX_VALUE,this.interiorPoint=null;var t=arguments[0];this.centroid=t.getCentroid().getCoordinate(),this.addInterior(t),null===this.interiorPoint&&this.addEndpoints(t)}function Jn(){this.centroid=null,this.minDistance=r.MAX_VALUE,this.interiorPoint=null;var t=arguments[0];this.centroid=t.getCentroid().getCoordinate(),this.add(t)}function Kn(){this.tempEnv1=new k,this.selectedSegment=new te}function Qn(){this.items=new w,this.subnode=[null,null]}function ti(){if(this.min=null,this.max=null,0===arguments.length)this.min=0,this.max=0;else if(1===arguments.length){var t=arguments[0];this.init(t.min,t.max)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.init(e,n)}}function ei(){}function ni(){this.pt=0,this.level=0,this.interval=null;var t=arguments[0];this.computeKey(t)}function ii(){Qn.apply(this),this.interval=null,this.centre=null,this.level=null;var t=arguments[0],e=arguments[1];this.interval=t,this.level=e,this.centre=(t.getMin()+t.getMax())/2}function ri(){}function ai(){Qn.apply(this)}function oi(){this.root=null,this.minExtent=1,this.root=new ai}function si(){}function li(){this.ring=null,this.tree=null,this.crossings=0,this.interval=new ti;var t=arguments[0];this.ring=t,this.buildIndex()}function ui(){Kn.apply(this),this.mcp=null,this.p=null;var t=arguments[0],e=arguments[1];this.mcp=t,this.p=e}function ci(){}function hi(){this.p0=null,this.p1=null,this.p2=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.p0=t,this.p1=e,this.p2=n}function di(){this.input=null,this.extremalPts=null,this.centre=null,this.radius=0;var t=arguments[0];this.input=t}function pi(){if(this.inputGeom=null,this.isConvex=null,this.convexHullPts=null,this.minBaseSeg=new te,this.minWidthPt=null,this.minPtIndex=null,this.minWidth=0,1===arguments.length){var t=arguments[0];pi.call(this,t,!1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.inputGeom=e,this.isConvex=n}}function fi(){this.inputGeom=null,this.distanceTolerance=null;var t=arguments[0];this.inputGeom=t}function mi(){le.apply(this),this.distanceTolerance=null;var t=arguments[0];this.distanceTolerance=t}function gi(){this._orig=null,this._sym=null,this._next=null;var t=arguments[0];this._orig=t}function vi(){this._isMarked=!1;var t=arguments[0];gi.call(this,t)}function yi(){this.vertexMap=new $t}function _i(){this._isStart=!1;var t=arguments[0];vi.call(this,t)}function bi(){yi.apply(this)}function wi(){this.result=null,this.factory=null,this.graph=null,this.lines=new w,this.nodeEdgeStack=new re,this.ringStartEdge=null,this.graph=new bi}function xi(){this.items=new w,this.subnode=new Array(4).fill(null)}function ki(){this.pt=new p,this.level=0,this.env=null;var t=arguments[0];this.computeKey(t)}function Ci(){xi.apply(this),this.env=null,this.centrex=null,this.centrey=null,this.level=null;var t=arguments[0],e=arguments[1];this.env=t,this.level=e,this.centrex=(t.getMinX()+t.getMaxX())/2,this.centrey=(t.getMinY()+t.getMaxY())/2}function Ti(){xi.apply(this)}function Ei(){this.root=null,this.minExtent=1,this.root=new Ti}function Si(t){this.geometryFactory=t||new Ht}function Pi(t){this.geometryFactory=t||new Ht,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new Si(this.geometryFactory)}function Li(){this.parser=new Si(this.geometryFactory)}function Ii(t){this.geometryFactory=t||new Ht,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new Wt(this.geometryFactory)}function Oi(t){return[t.x,t.y]}function Ai(t,e){this.geometryFactory=t||new Ht,this.ol=e||"undefined"!=typeof ol&&ol}function Mi(){if(this.noder=null,this.scaleFactor=null,this.offsetX=null,this.offsetY=null,this.isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];Mi.call(this,t,e,0,0)}else if(4===arguments.length){var n=arguments[0],i=arguments[1];this.noder=n,this.scaleFactor=i,this.isScaled=!this.isIntegerPrecision()}}function zi(){if(this.inputGeom=null,this.isClosedEndpointsInInterior=!0,this.nonSimpleLocation=null,1===arguments.length){var t=arguments[0];this.inputGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.inputGeom=e,this.isClosedEndpointsInInterior=!n.isInBoundary(2)}}function Ni(){this.pt=null,this.isClosed=null,this.degree=null;var t=arguments[0];this.pt=t,this.isClosed=!1,this.degree=0}function Di(){if(this.quadrantSegments=Di.DEFAULT_QUADRANT_SEGMENTS,this.endCapStyle=Di.CAP_ROUND,this.joinStyle=Di.JOIN_ROUND,this.mitreLimit=Di.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this.simplifyFactor=Di.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setQuadrantSegments(t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.setQuadrantSegments(e),this.setEndCapStyle(n)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2],o=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(r),this.setJoinStyle(a),this.setMitreLimit(o)}}function Ri(){this.minIndex=-1,this.minCoord=null,this.minDe=null,this.orientedDe=null}function ji(){this.array_=[]}function Fi(){this.finder=null,this.dirEdgeList=new w,this.nodes=new w,this.rightMostCoord=null,this.env=null,this.finder=new Ri}function Bi(){this.inputLine=null,this.distanceTol=null,this.isDeleted=null,this.angleOrientation=Qt.COUNTERCLOCKWISE;var t=arguments[0];this.inputLine=t}function Ui(){this.ptList=null,this.precisionModel=null,this.minimimVertexDistance=0,this.ptList=new w}function qi(){this.maxCurveSegmentError=0,this.filletAngleQuantum=null,this.closingSegLengthFactor=1,this.segList=null,this.distance=0,this.precisionModel=null,this.bufParams=null,this.li=null,this.s0=null,this.s1=null,this.s2=null,this.seg0=new te,this.seg1=new te,this.offset0=new te,this.offset1=new te,this.side=0,this._hasNarrowConcaveAngle=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this.precisionModel=t,this.bufParams=e,this.li=new Xt,this.filletAngleQuantum=Math.PI/2/e.getQuadrantSegments(),e.getQuadrantSegments()>=8&&e.getJoinStyle()===Di.JOIN_ROUND&&(this.closingSegLengthFactor=qi.MAX_CLOSING_SEG_LEN_FACTOR),this.init(n)}function $i(){this.distance=0,this.precisionModel=null,this.bufParams=null;var t=arguments[0],e=arguments[1];this.precisionModel=t,this.bufParams=e}function Gi(){this.subgraphs=null,this.seg=new te,this.cga=new Qt;var t=arguments[0];this.subgraphs=t}function Vi(){this.upwardSeg=null,this.leftDepth=null;var t=arguments[0],e=arguments[1];this.upwardSeg=new te(t),this.leftDepth=e}function Hi(){this.inputGeom=null,this.distance=null,this.curveBuilder=null,this.curveList=new w;var t=arguments[0],e=arguments[1],n=arguments[2];this.inputGeom=t,this.distance=e,this.curveBuilder=n}function Wi(){this._hasIntersection=!1,this.hasProper=!1,this.hasProperInterior=!1,this.hasInterior=!1,this.properIntersectionPoint=null,this.li=null,this.isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this.li=t}function Yi(){this.bufParams=null,this.workingPrecisionModel=null,this.workingNoder=null,this.geomFact=null,this.graph=null,this.edgeList=new Gn;var t=arguments[0];this.bufParams=t}function Zi(){this.li=new Xt,this.segStrings=null;var t=arguments[0];this.segStrings=t}function Xi(){this.li=null,this.pt=null,this.originalPt=null,this.ptScaled=null,this.p0Scaled=null,this.p1Scaled=null,this.scaleFactor=null,this.minx=null,this.maxx=null,this.miny=null,this.maxy=null,this.corner=new Array(4).fill(null),this.safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this.originalPt=t,this.pt=t,this.scaleFactor=e,this.li=n,e<=0)throw new i("Scale factor must be non-zero");1!==e&&(this.pt=new p(this.scale(t.x),this.scale(t.y)),this.p0Scaled=new p,this.p1Scaled=new p),this.initCorners(this.pt)}function Ji(){this.index=null;var t=arguments[0];this.index=t}function Ki(){Kn.apply(this),this.hotPixel=null,this.parentEdge=null,this.hotPixelVertexIndex=null,this._isNodeAdded=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this.hotPixel=t,this.parentEdge=e,this.hotPixelVertexIndex=n}function Qi(){this.li=null,this.interiorIntersections=null;var t=arguments[0];this.li=t,this.interiorIntersections=new w}function tr(){this.pm=null,this.li=null,this.scaleFactor=null,this.noder=null,this.pointSnapper=null,this.nodedSegStrings=null;var t=arguments[0];this.pm=t,this.li=new Xt,this.li.setPrecisionModel(t),this.scaleFactor=t.getScale()}function er(){if(this.argGeom=null,this.distance=null,this.bufParams=new Di,this.resultGeometry=null,this.saveException=null,1===arguments.length){var t=arguments[0];this.argGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.argGeom=e,this.bufParams=n}}function nr(){this.comps=null;var t=arguments[0];this.comps=t}function ir(){if(this.component=null,this.segIndex=null,this.pt=null,2===arguments.length){var t=arguments[0],e=arguments[1];ir.call(this,t,ir.INSIDE_AREA,e)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.component=n,this.segIndex=i,this.pt=r}}function rr(){this.pts=null;var t=arguments[0];this.pts=t}function ar(){this.locations=null;var t=arguments[0];this.locations=t}function or(){if(this.geom=null,this.terminateDistance=0,this.ptLocator=new ve,this.minDistanceLocation=null,this.minDistance=r.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];or.call(this,t,e,0)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],a=arguments[2];this.geom=new Array(2).fill(null),this.geom[0]=n,this.geom[1]=i,this.terminateDistance=a}}function sr(){this.factory=null,this.directedEdges=new w,this.coordinates=null;var t=arguments[0];this.factory=t}function lr(){this._isMarked=!1,this._isVisited=!1,this.data=null}function ur(){lr.apply(this),this.parentEdge=null,this.from=null,this.to=null,this.p0=null,this.p1=null,this.sym=null,this.edgeDirection=null,this.quadrant=null,this.angle=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.from=t,this.to=e,this.edgeDirection=i,this.p0=t.getCoordinate(),this.p1=n;var r=this.p1.x-this.p0.x,a=this.p1.y-this.p0.y;this.quadrant=Be.quadrant(r,a),this.angle=Math.atan2(a,r)}function cr(){var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];ur.call(this,t,e,n,i)}function hr(){if(lr.apply(this),this.dirEdge=null,0===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];this.setDirectedEdges(t,e)}}function dr(){this.outEdges=new w,this.sorted=!1}function pr(){if(lr.apply(this),this.pt=null,this.deStar=null,1===arguments.length){var t=arguments[0];pr.call(this,t,new dr)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.pt=e,this.deStar=n}}function fr(){hr.apply(this),this.line=null;var t=arguments[0];this.line=t}function mr(){this.nodeMap=new rt}function gr(){this.edges=new K,this.dirEdges=new K,this.nodeMap=new mr}function vr(){gr.apply(this)}function yr(){this.graph=new vr,this.mergedLineStrings=null,this.factory=null,this.edgeStrings=null}function _r(){this.edgeRing=null,this.next=null,this.label=-1;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];ur.call(this,t,e,n,i)}function br(){hr.apply(this),this.line=null;var t=arguments[0];this.line=t}function wr(){this.geometryFactory=new Ht,this.geomGraph=null,this.disconnectedRingcoord=null;var t=arguments[0];this.geomGraph=t}function xr(){}function kr(){if(this.edgeEnds=new w,1===arguments.length){var t=arguments[0];kr.call(this,null,t)}else if(2===arguments.length){var e=arguments[1];ln.call(this,e.getEdge(),e.getCoordinate(),e.getDirectedCoordinate(),new tn(e.getLabel())),this.insert(e)}}function Cr(){vn.apply(this)}function Tr(){var t=arguments[0],e=arguments[1];on.call(this,t,e)}function Er(){cn.apply(this)}function Sr(){this.nodes=new sn(new Er)}function Pr(){this.li=new Xt,this.geomGraph=null,this.nodeGraph=new Sr,this.invalidPoint=null;var t=arguments[0];this.geomGraph=t}function Lr(){this.graph=null,this.rings=new w,this.totalEnv=new k,this.index=null,this.nestedPt=null;var t=arguments[0];this.graph=t}function Ir(){if(this.errorType=null,this.pt=null,1===arguments.length){var t=arguments[0];Ir.call(this,t,null)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.errorType=e,null!==n&&(this.pt=n.copy())}}function Or(){this.parentGeometry=null,this.isSelfTouchingRingFormingHoleValid=!1,this.validErr=null;var t=arguments[0];this.parentGeometry=t}function Ar(){this.factory=null,this.deList=new w,this.lowestEdge=null,this.ring=null,this.ringPts=null,this.holes=null,this.shell=null,this._isHole=null,this._isProcessed=!1,this._isIncludedSet=!1,this._isIncluded=!1;var t=arguments[0];this.factory=t}function Mr(){}function zr(){gr.apply(this),this.factory=null;var t=arguments[0];this.factory=t}function Nr(){if(this.lineStringAdder=new Dr(this),this.graph=null,this.dangles=new w,this.cutEdges=new w,this.invalidRingLines=new w,this.holeList=null,this.shellList=null,this.polyList=null,this.isCheckingRingsValid=!0,this.extractOnlyPolygonal=null,this.geomFactory=null,0===arguments.length)Nr.call(this,!1);else if(1===arguments.length){var t=arguments[0];this.extractOnlyPolygonal=t}}function Dr(){this.p=null;var t=arguments[0];this.p=t}function Rr(){this.li=new Xt,this.ptLocator=new ve,this.arg=null,this.nodes=new sn(new Er),this.im=null,this.isolatedEdges=new w,this.invalidPoint=null;var t=arguments[0];this.arg=t}function jr(){this.rectEnv=null;var t=arguments[0];this.rectEnv=t.getEnvelopeInternal()}function Fr(){this.li=new Xt,this.rectEnv=null,this.diagUp0=null,this.diagUp1=null,this.diagDown0=null,this.diagDown1=null;var t=arguments[0];this.rectEnv=t,this.diagUp0=new p(t.getMinX(),t.getMinY()),this.diagUp1=new p(t.getMaxX(),t.getMaxY()),this.diagDown0=new p(t.getMinX(),t.getMaxY()),this.diagDown1=new p(t.getMaxX(),t.getMinY())}function Br(){this._isDone=!1}function Ur(){this.rectangle=null,this.rectEnv=null;var t=arguments[0];this.rectangle=t,this.rectEnv=t.getEnvelopeInternal()}function qr(){Br.apply(this),this.rectEnv=null,this._intersects=!1;var t=arguments[0];this.rectEnv=t}function $r(){Br.apply(this),this.rectSeq=null,this.rectEnv=null,this._containsPoint=!1;var t=arguments[0];this.rectSeq=t.getExteriorRing().getCoordinateSequence(),this.rectEnv=t.getEnvelopeInternal()}function Gr(){Br.apply(this),this.rectEnv=null,this.rectIntersector=null,this.hasIntersection=!1,this.p0=new p,this.p1=new p;var t=arguments[0];this.rectEnv=t.getEnvelopeInternal(),this.rectIntersector=new Fr(this.rectEnv)}function Vr(){if(this._relate=null,2===arguments.length){var t=arguments[0],e=arguments[1];qn.call(this,t,e),this._relate=new Rr(this.arg)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];qn.call(this,n,i,r),this._relate=new Rr(this.arg)}}function Hr(){this.geomFactory=null,this.skipEmpty=!1,this.inputGeoms=null;var t=arguments[0];this.geomFactory=Hr.extractFactory(t),this.inputGeoms=t}function Wr(){this.pointGeom=null,this.otherGeom=null,this.geomFact=null;var t=arguments[0],e=arguments[1];this.pointGeom=t,this.otherGeom=e,this.geomFact=e.getFactory()}function Yr(){this.sortIndex=-1,this.comps=null;var t=arguments[0],e=arguments[1];this.sortIndex=t,this.comps=e}function Zr(){this.inputPolys=null,this.geomFactory=null;var t=arguments[0];this.inputPolys=t,null===this.inputPolys&&(this.inputPolys=new w)}function Xr(){if(this.polygons=new w,this.lines=new w,this.points=new w,this.geomFact=null,1===arguments.length){if(S(arguments[0],g)){var t=arguments[0];this.extract(t)}else if(arguments[0]instanceof F){var e=arguments[0];this.extract(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.geomFact=i,this.extract(n)}}function Jr(){Ot.CoordinateOperation.apply(this),this.targetPM=null,this.removeCollapsed=!0;var t=arguments[0],e=arguments[1];this.targetPM=t,this.removeCollapsed=e}function Kr(){this.targetPM=null,this.removeCollapsed=!0,this.changePrecisionModel=!1,this.isPointwise=!1;var t=arguments[0];this.targetPM=t}function Qr(){this.pts=null,this.usePt=null,this.distanceTolerance=null,this.seg=new te;var t=arguments[0];this.pts=t}function ta(){this.inputGeom=null,this.distanceTolerance=null,this.isEnsureValidTopology=!0;var t=arguments[0];this.inputGeom=t}function ea(){le.apply(this),this.isEnsureValidTopology=!0,this.distanceTolerance=null;var t=arguments[0],e=arguments[1];this.isEnsureValidTopology=t,this.distanceTolerance=e}function na(){if(this.parent=null,this.index=null,2===arguments.length){var t=arguments[0],e=arguments[1];na.call(this,t,e,null,-1)}else if(4===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2],a=arguments[3];te.call(this,n,i),this.parent=r,this.index=a}}function ia(){if(this.parentLine=null,this.segs=null,this.resultSegs=new w,this.minimumSize=null,1===arguments.length){var t=arguments[0];ia.call(this,t,2)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.parentLine=e,this.minimumSize=n,this.init()}}function ra(){this.index=new Ei}function aa(){this.querySeg=null,this.items=new w;var t=arguments[0];this.querySeg=t}function oa(){this.li=new Xt,this.inputIndex=new ra,this.outputIndex=new ra,this.line=null,this.linePts=null,this.distanceTolerance=0;var t=arguments[0],e=arguments[1];this.inputIndex=t,this.outputIndex=e}function sa(){this.inputIndex=new ra,this.outputIndex=new ra,this.distanceTolerance=0}function la(){this.inputGeom=null,this.lineSimplifier=new sa,this.linestringMap=null;var t=arguments[0];this.inputGeom=t}function ua(){le.apply(this),this.linestringMap=null;var t=arguments[0];this.linestringMap=t}function ca(){this.tps=null;var t=arguments[0];this.tps=t}function ha(){this.seg=null,this.segLen=null,this.splitPt=null,this.minimumLen=0;var t=arguments[0];this.seg=t,this.segLen=t.getLength()}function da(){}function pa(){}function fa(){}function ma(){if(this.p=null,1===arguments.length){var t=arguments[0];this.p=new p(t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.p=new p(e,n)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2];this.p=new p(i,r,a)}}function ga(){this._isOnConstraint=null,this.constraint=null;var t=arguments[0];ma.call(this,t)}function va(){this._rot=null,this.vertex=null,this.next=null,this.data=null}function ya(){this.subdiv=null,this.isUsingTolerance=!1;var t=arguments[0];this.subdiv=t,this.isUsingTolerance=t.getTolerance()>0}function _a(){}function ba(){this.subdiv=null,this.lastEdge=null;var t=arguments[0];this.subdiv=t,this.init()}function wa(){if(this.seg=null,1===arguments.length){if("string"==typeof arguments[0]){var t=arguments[0];u.call(this,t)}else if(arguments[0]instanceof te){var e=arguments[0];u.call(this,"Locate failed to converge (at edge: "+e+"). Possible causes include invalid Subdivision topology or very close sites"),this.seg=new te(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];u.call(this,wa.msgWithSpatial(n,i)),this.seg=new te(i)}}function xa(){}function ka(){this.visitedKey=0,this.quadEdges=new w,this.startingEdge=null,this.tolerance=null,this.edgeCoincidenceTolerance=null,this.frameVertex=new Array(3).fill(null),this.frameEnv=null,this.locator=null,this.seg=new te,this.triEdges=new Array(3).fill(null);var t=arguments[0],e=arguments[1];this.tolerance=e,this.edgeCoincidenceTolerance=e/ka.EDGE_COINCIDENCE_TOL_FACTOR,this.createFrame(t),this.startingEdge=this.initSubdiv(),this.locator=new ba(this)}function Ca(){}function Ta(){this.triList=new w}function Ea(){this.triList=new w}function Sa(){this.coordList=new x,this.triCoords=new w}function Pa(){if(this.ls=null,this.data=null,2===arguments.length){var t=arguments[0],e=arguments[1];this.ls=new te(t,e)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.ls=new te(n,i),this.data=r}else if(6===arguments.length){var a=arguments[0],o=arguments[1],s=arguments[2],l=arguments[3],u=arguments[4],c=arguments[5];Pa.call(this,new p(a,o,s),new p(l,u,c))}else if(7===arguments.length){var h=arguments[0],d=arguments[1],f=arguments[2],m=arguments[3],g=arguments[4],v=arguments[5],y=arguments[6];Pa.call(this,new p(h,d,f),new p(m,g,v),y)}}function La(){}function Ia(){if(this.p=null,this.data=null,this.left=null,this.right=null,this.count=null,2===arguments.length){var t=arguments[0],e=arguments[1];this.p=new p(t),this.left=null,this.right=null,this.count=1,this.data=e}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.p=new p(n,i),this.left=null,this.right=null,this.count=1,this.data=r}}function Oa(){if(this.root=null,this.numberOfNodes=null,this.tolerance=null,0===arguments.length)Oa.call(this,0);else if(1===arguments.length){var t=arguments[0];this.tolerance=t}}function Aa(){this.tolerance=null,this.matchNode=null,this.matchDist=0,this.p=null;var t=arguments[0],e=arguments[1];this.p=t,this.tolerance=e}function Ma(){this.initialVertices=null,this.segVertices=null,this.segments=new w,this.subdiv=null,this.incDel=null,this.convexHull=null,this.splitFinder=new pa,this.kdt=null,this.vertexFactory=null,this.computeAreaEnv=null,this.splitPt=null,this.tolerance=null;var t=arguments[0],e=arguments[1];this.initialVertices=new w(t),this.tolerance=e,this.kdt=new Oa(e)}function za(){this.siteCoords=null,this.tolerance=0,this.subdiv=null}function Na(){this.siteCoords=null,this.constraintLines=null,this.tolerance=0,this.subdiv=null,this.constraintVertexMap=new rt}function Da(){this.siteCoords=null,this.tolerance=0,this.subdiv=null,this.clipEnv=null,this.diagramEnv=null}function Ra(){}"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(null==this)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,i=1 in arguments&&parseInt(Number(arguments[1]),10)||0;i=i<0?Math.max(n+i,0):Math.min(i,n);var r=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:n;for(r=r<0?Math.max(n+arguments[2],0):Math.min(r,n);ie.x?1:this.ye.y?1:0},clone:function(){try{var t=null;return null}catch(t){if(t instanceof CloneNotSupportedException)return d.shouldNeverReachHere("this shouldn't happen because this class is Cloneable"),null;throw t}},copy:function(){return new p(this)},toString:function(){return"("+this.x+", "+this.y+", "+this.z+")"},distance3D:function(t){var e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return Math.sqrt(e*e+n*n+i*i)},distance:function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},hashCode:function(){var t=17;return 37*(t=37*t+p.hashCode(this.x))+p.hashCode(this.y)},setCoordinate:function(t){this.x=t.x,this.y=t.y,this.z=t.z},interfaces_:function(){return[a,o,l]},getClass:function(){return p}}),p.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=r.doubleToLongBits(t);return Math.trunc(e^e>>>32)}},e(f.prototype,{compare:function(t,e){var n=t,i=e,r=f.compare(n.x,i.x);if(0!==r)return r;var a=f.compare(n.y,i.y);return 0!==a?a:this.dimensionsToTest<=2?0:f.compare(n.z,i.z)},interfaces_:function(){return[s]},getClass:function(){return f}}),f.compare=function(t,e){return te?1:r.isNaN(t)?r.isNaN(e)?0:-1:r.isNaN(e)?1:0},p.DimensionalComparator=f,p.serialVersionUID=0x5cbf2c235c7e5800,p.NULL_ORDINATE=r.NaN,p.X=0,p.Y=1,p.Z=2,m.prototype.hasNext=function(){},m.prototype.next=function(){},m.prototype.remove=function(){},g.prototype.add=function(){},g.prototype.addAll=function(){},g.prototype.isEmpty=function(){},g.prototype.iterator=function(){},g.prototype.size=function(){},g.prototype.toArray=function(){},g.prototype.remove=function(){},v.prototype=new Error,v.prototype.name="IndexOutOfBoundsException",y.prototype=Object.create(g.prototype),y.prototype.constructor=y,y.prototype.get=function(){},y.prototype.set=function(){},y.prototype.isEmpty=function(){},_.prototype=new Error,_.prototype.name="NoSuchElementException",b.prototype=new Error,b.prototype.name="OperationNotSupported",w.prototype=Object.create(y.prototype),w.prototype.constructor=w,w.prototype.ensureCapacity=function(){},w.prototype.interfaces_=function(){return[y,g]},w.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},w.prototype.clear=function(){this.array_=[]},w.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},w.prototype.set=function(t,e){var n=this.array_[t];return this.array_[t]=e,n},w.prototype.iterator=function(){return new ja(this)},w.prototype.get=function(t){if(t<0||t>=this.size())throw new v;return this.array_[t]},w.prototype.isEmpty=function(){return 0===this.array_.length},w.prototype.size=function(){return this.array_.length},w.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e=1){var a=this.get(this.size()-1);if(a.equals2D(i))return null}w.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var o=arguments[0],s=arguments[1];return this.add(o,s),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var l=arguments[0],u=arguments[1],c=arguments[2];if(c)for(var h=0;h=0;h--)this.add(l[h],u);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof p){var d=arguments[0],f=arguments[1],m=arguments[2];if(!m){var g=this.size();if(g>0){if(d>0){var v=this.get(d-1);if(v.equals2D(f))return null}if(dk&&(C=-1),h=x;h!==k;h+=C)this.add(_[h],b);return!0}},closeRing:function(){this.size()>0&&this.add(new p(this.get(0)),!1)},interfaces_:function(){return[]},getClass:function(){return x}}),x.coordArrayType=new Array(0).fill(null),e(k.prototype,{getArea:function(){return this.getWidth()*this.getHeight()},equals:function(t){if(!(t instanceof k))return!1;var e=t;return this.isNull()?e.isNull():this.maxx===e.getMaxX()&&this.maxy===e.getMaxY()&&this.minx===e.getMinX()&&this.miny===e.getMinY()},intersection:function(t){if(this.isNull()||t.isNull()||!this.intersects(t))return new k;var e=this.minx>t.minx?this.minx:t.minx,n=this.miny>t.miny?this.miny:t.miny;return new k(e,this.maxx=this.minx&&e.getMaxX()<=this.maxx&&e.getMinY()>=this.miny&&e.getMaxY()<=this.maxy}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return!this.isNull()&&n>=this.minx&&n<=this.maxx&&i>=this.miny&&i<=this.maxy}},intersects:function(){if(1===arguments.length){if(arguments[0]instanceof k){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t.minx>this.maxx||t.maxxthis.maxy||t.maxythis.maxx||nthis.maxy||ithis.maxx&&(this.maxx=e.maxx),e.minythis.maxy&&(this.maxy=e.maxy))}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.isNull()?(this.minx=n,this.maxx=n,this.miny=i,this.maxy=i):(nthis.maxx&&(this.maxx=n),ithis.maxy&&(this.maxy=i))}},minExtent:function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return te.minx?1:this.minye.miny?1:this.maxxe.maxx?1:this.maxye.maxy?1:0},translate:function(t,e){return this.isNull()?null:void this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},toString:function(){return"Env["+this.minx+" : "+this.maxx+", "+this.miny+" : "+this.maxy+"]"},setToNull:function(){this.minx=0,this.maxx=-1,this.miny=0,this.maxy=-1},getHeight:function(){return this.isNull()?0:this.maxy-this.miny},maxExtent:function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},expandBy:function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this.minx-=e,this.maxx+=e,this.miny-=n,this.maxy+=n,(this.minx>this.maxx||this.miny>this.maxy)&&this.setToNull()}},contains:function(){if(1===arguments.length){if(arguments[0]instanceof k){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof p){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return this.covers(n,i)}},centre:function(){return this.isNull()?null:new p((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},init:function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof p){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof k){var e=arguments[0];this.minx=e.minx,this.maxx=e.maxx,this.miny=e.miny,this.maxy=e.maxy}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var r=arguments[0],a=arguments[1],o=arguments[2],s=arguments[3];rt.maxx&&(e=this.minx-t.maxx);var n=0;return this.maxyt.maxy&&(n=this.miny-t.maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)},hashCode:function(){var t=17;return 37*(t=37*(t=37*(t=37*t+p.hashCode(this.minx))+p.hashCode(this.maxx))+p.hashCode(this.miny))+p.hashCode(this.maxy)},interfaces_:function(){return[a,l]},getClass:function(){return k}}),k.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.xe.x?t.x:e.x)&&n.y>=(t.ye.y?t.y:e.y)}if(4===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2],o=arguments[3],s=Math.min(a.x,o.x),l=Math.max(a.x,o.x),u=Math.min(i.x,r.x),c=Math.max(i.x,r.x);return!(u>l||cl||cn?n:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var i=arguments[0],r=arguments[1],a=arguments[2];return ia?a:i}},P.wrap=function(t,e){return t<0?e- -t%e:t%e},P.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return e>(i=t)&&(i=e),n>i&&(i=n),i}if(4===arguments.length){var i,r=arguments[0],a=arguments[1],o=arguments[2],s=arguments[3];return a>(i=r)&&(i=a),o>i&&(i=o),s>i&&(i=s),i}},P.average=function(t,e){return(t+e)/2},P.LOG_10=Math.log(10),L.prototype.append=function(t){this.str+=t},L.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},L.prototype.toString=function(t){return this.str},I.prototype.intValue=function(){return this.value},I.prototype.compareTo=function(t){return this.valuet?1:0},I.isNaN=function(t){return Number.isNaN(t)},O.isWhitespace=function(t){return t<=32&&t>=0||127==t},O.toUpperCase=function(t){return t.toUpperCase()},e(A.prototype,{le:function(t){return this.hi9?(c=!0,h="9"):h="0"+u,o.append(h),n=n.subtract(A.valueOf(u)).multiply(A.TEN),c&&n.selfAdd(A.TEN);var d=!0,p=A.magnitude(n.hi);if(p<0&&Math.abs(p)>=s-l&&(d=!1),!d)break}return e[0]=i,o.toString()},sqr:function(){return this.multiply(this)},doubleValue:function(){return this.hi+this.lo},subtract:function(){if(arguments[0]instanceof A){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},equals:function(){if(1===arguments.length){var t=arguments[0];return this.hi===t.hi&&this.lo===t.lo}},isZero:function(){return 0===this.hi&&0===this.lo},selfSubtract:function(){if(arguments[0]instanceof A){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t.hi,-t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},getSpecialNumberString:function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},min:function(t){return this.le(t)?this:t},selfDivide:function(){if(1===arguments.length){if(arguments[0]instanceof A){var t=arguments[0];return this.selfDivide(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=null,a=null,o=null,s=null,l=null,u=null,c=null,h=null;return l=this.hi/n,h=(r=(u=A.SPLIT*l)-(r=u-l))*(o=(h=A.SPLIT*n)-(o=h-n))-(c=l*n)+r*(s=n-o)+(a=l-r)*o+a*s,h=l+(u=(this.hi-c-h+this.lo-l*i)/n),this.hi=h,this.lo=l-h+u,this}},dump:function(){return"DD<"+this.hi+", "+this.lo+">"},divide:function(){if(arguments[0]instanceof A){var t=arguments[0],e=null,n=null,i=null,a=null,o=null,s=null,l=null,u=null;n=(o=this.hi/t.hi)-(e=(s=A.SPLIT*o)-(e=s-o)),u=e*(i=(u=A.SPLIT*t.hi)-(i=u-t.hi))-(l=o*t.hi)+e*(a=t.hi-i)+n*i+n*a;var c=u=o+(s=(this.hi-l-u+this.lo-o*t.lo)/t.hi),h=o-u+s;return new A(c,h)}if("number"==typeof arguments[0]){var d=arguments[0];return r.isNaN(d)?A.createNaN():A.copy(this).selfDivide(d,0)}},ge:function(t){return this.hi>t.hi||this.hi===t.hi&&this.lo>=t.lo},pow:function(t){if(0===t)return A.valueOf(1);var e=new A(this),n=A.valueOf(1),i=Math.abs(t);if(i>1)for(;i>0;)i%2==1&&n.selfMultiply(e),(i/=2)>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n},ceil:function(){if(this.isNaN())return A.NaN;var t=Math.ceil(this.hi),e=0;return t===this.hi&&(e=Math.ceil(this.lo)),new A(t,e)},compareTo:function(t){var e=t;return this.hie.hi?1:this.loe.lo?1:0},rint:function(){return this.isNaN()?this:this.add(.5).floor()},setValue:function(){if(arguments[0]instanceof A){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},max:function(t){return this.ge(t)?this:t},sqrt:function(){if(this.isZero())return A.valueOf(0);if(this.isNegative())return A.NaN;var t=1/Math.sqrt(this.hi),e=this.hi*t,n=A.valueOf(e),i=this.subtract(n.sqr()).hi*(.5*t);return n.add(i)},selfAdd:function(){if(1===arguments.length){if(arguments[0]instanceof A){var t=arguments[0];return this.selfAdd(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0],n=null,i=null,r=null,a=null,o=null,s=null;return a=(r=this.hi+e)-(o=r-this.hi),i=(s=(a=e-o+(this.hi-a))+this.lo)+(r-(n=r+s)),this.hi=n+i,this.lo=i+(n-this.hi),this}}else if(2===arguments.length){var l=arguments[0],u=arguments[1],c=(n=null,i=null,null),h=null;r=null,a=null,o=null,s=null,r=this.hi+l,c=this.lo+u,a=r-(o=r-this.hi),h=c-(s=c-this.lo);var d=(n=r+(o=(a=l-o+(this.hi-a))+c))+(o=(h=u-s+(this.lo-h))+(i=o+(r-n))),p=o+(n-d);return this.hi=d,this.lo=p,this}},selfMultiply:function(){if(1===arguments.length){if(arguments[0]instanceof A){var t=arguments[0];return this.selfMultiply(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=null,a=null,o=null,s=null,l=null,u=null;r=(l=A.SPLIT*this.hi)-this.hi,u=A.SPLIT*n,r=l-r,a=this.hi-r,o=u-n;var c=(l=this.hi*n)+(u=r*(o=u-o)-l+r*(s=n-o)+a*o+a*s+(this.hi*i+this.lo*n)),h=u+(r=l-c);return this.hi=c,this.lo=h,this}},selfSqr:function(){return this.selfMultiply(this)},floor:function(){if(this.isNaN())return A.NaN;var t=Math.floor(this.hi),e=0;return t===this.hi&&(e=Math.floor(this.lo)),new A(t,e)},negate:function(){return this.isNaN()?this:new A(-this.hi,-this.lo)},clone:function(){try{return null}catch(t){if(t instanceof CloneNotSupportedException)return null;throw t}},multiply:function(){if(arguments[0]instanceof A){var t=arguments[0];return t.isNaN()?A.createNaN():A.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return r.isNaN(e)?A.createNaN():A.copy(this).selfMultiply(e,0)}},isNaN:function(){return r.isNaN(this.hi)},intValue:function(){return Math.trunc(this.hi)},toString:function(){var t=A.magnitude(this.hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},toStandardNotation:function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),i=e[0]+1,r=n;if("."===n.charAt(0))r="0"+n;else if(i<0)r="0."+A.stringOfChar("0",-i)+n;else if(-1===n.indexOf(".")){var a=i-n.length;r=n+A.stringOfChar("0",a)+".0"}return this.isNegative()?"-"+r:r},reciprocal:function(){var t,e,n,i,r=null,a=null,o=null,s=null;t=(n=1/this.hi)-(r=(o=A.SPLIT*n)-(r=o-n)),a=(s=A.SPLIT*this.hi)-this.hi;var l=n+(o=(1-(i=n*this.hi)-(s=r*(a=s-a)-i+r*(e=this.hi-a)+t*a+t*e)-n*this.lo)/this.hi);return new A(l,n-l+o)},toSciNotation:function(){if(this.isZero())return A.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),i=A.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new IllegalStateException("Found leading zero: "+n);var r="";n.length>1&&(r=n.substring(1));var a=n.charAt(0)+"."+r;return this.isNegative()?"-"+a+i:a+i},abs:function(){return this.isNaN()?A.NaN:this.isNegative()?this.negate():new A(this)},isPositive:function(){return this.hi>0||0===this.hi&&this.lo>0},lt:function(t){return this.hit.hi||this.hi===t.hi&&this.lo>t.lo},isNegative:function(){return this.hi<0||0===this.hi&&this.lo<0},trunc:function(){return this.isNaN()?A.NaN:this.isPositive()?this.floor():this.ceil()},signum:function(){return this.hi>0?1:this.hi<0?-1:this.lo>0?1:this.lo<0?-1:0},interfaces_:function(){return[l,a,o]},getClass:function(){return A}}),A.sqr=function(t){return A.valueOf(t).selfMultiply(t)},A.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return A.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new A(e)}},A.sqrt=function(t){return A.valueOf(t).sqrt()},A.parse=function(t){for(var e=0,n=t.length;O.isWhitespace(t.charAt(e));)e++;var i=!1;if(e=n);){var u=t.charAt(e);if(e++,O.isDigit(u)){var c=u-"0";a.selfMultiply(A.TEN),a.selfAdd(c),o++}else{if("."!==u){if("e"===u||"E"===u){var h=t.substring(e);try{l=I.parseInt(h)}catch(e){throw e instanceof NumberFormatException?new NumberFormatException("Invalid exponent "+h+" in string "+t):e}break}throw new NumberFormatException("Unexpected character '"+u+"' at position "+e+" in string "+t)}s=o}}var d=a,p=o-s-l;if(0===p)d=a;else if(p>0){var f=A.TEN.pow(p);d=a.divide(f)}else p<0&&(f=A.TEN.pow(-p),d=a.multiply(f));return i?d.negate():d},A.createNaN=function(){return new A(r.NaN,r.NaN)},A.copy=function(t){return new A(t)},A.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),i=Math.trunc(Math.floor(n));return 10*Math.pow(10,i)<=e&&(i+=1),i},A.stringOfChar=function(t,e){for(var n=new L,i=0;i0){if(a<=0)return M.signum(o);i=r+a}else{if(!(r<0))return M.signum(o);if(a>=0)return M.signum(o);i=-r-a}var s=M.DP_SAFE_EPSILON*i;return o>=s||-o>=s?M.signum(o):2},M.signum=function(t){return t>0?1:t<0?-1:0},M.DP_SAFE_EPSILON=1e-15,e(z.prototype,{setOrdinate:function(t,e,n){},size:function(){},getOrdinate:function(t,e){},getCoordinate:function(){},getCoordinateCopy:function(t){},getDimension:function(){},getX:function(t){},clone:function(){},expandEnvelope:function(t){},copy:function(){},getY:function(t){},toCoordinateArray:function(){},interfaces_:function(){return[o]},getClass:function(){return z}}),z.X=0,z.Y=1,z.Z=2,z.M=3,N.arraycopy=function(t,e,n,i,r){for(var a=0,o=e;o0},interfaces_:function(){return[U]},getClass:function(){return $}}),e(G.prototype,{isInBoundary:function(t){return t>1},interfaces_:function(){return[U]},getClass:function(){return G}}),e(V.prototype,{isInBoundary:function(t){return 1===t},interfaces_:function(){return[U]},getClass:function(){return V}}),U.Mod2BoundaryNodeRule=q,U.EndPointBoundaryNodeRule=$,U.MultiValentEndPointBoundaryNodeRule=G,U.MonoValentEndPointBoundaryNodeRule=V,U.MOD2_BOUNDARY_RULE=new q,U.ENDPOINT_BOUNDARY_RULE=new $,U.MULTIVALENT_ENDPOINT_BOUNDARY_RULE=new G,U.MONOVALENT_ENDPOINT_BOUNDARY_RULE=new V,U.OGC_SFS_BOUNDARY_RULE=U.MOD2_BOUNDARY_RULE,e(H.prototype,{interfaces_:function(){return[]},getClass:function(){return H}}),H.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))},H.ptNotInList=function(t,e){for(var n=0;n=t?e:[]},H.indexOf=function(t,e){for(var n=0;n0)&&(e=t[n]);return e},H.extract=function(t,e,n){e=P.clamp(e,0,t.length);var i=(n=P.clamp(n,-1,t.length))-e+1;n<0&&(i=0),e>=t.length&&(i=0),ni.length)return 1;if(0===n.length)return 0;var r=H.compare(n,i);return H.isEqualReversed(n,i)?0:r},OLDcompare:function(t,e){var n=t,i=e;if(n.lengthi.length)return 1;if(0===n.length)return 0;for(var r=H.increasingDirection(n),a=H.increasingDirection(i),o=r>0?0:n.length-1,s=a>0?0:n.length-1,l=0;l0))return e.value;e=e.right}}return null},rt.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:Ba,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n,i,r=this.root_;do{if(n=r,(i=t.compareTo(r.key))<0)r=r.left;else{if(!(i>0)){var a=r.value;return r.value=e,a}r=r.right}}while(null!==r);var o={key:t,left:null,right:null,value:e,parent:n,color:Ba,getValue:function(){return this.value},getKey:function(){return this.key}};return i<0?n.left=o:n.right=o,this.fixAfterInsertion(o),this.size_++,null},rt.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!=this.root_&&1==t.parent.color;){var e;tt(t)==nt(tt(tt(t)))?1==Q(e=it(tt(tt(t))))?(et(tt(t),Ba),et(e,Ba),et(tt(tt(t)),1),t=tt(tt(t))):(t==it(tt(t))&&(t=tt(t),this.rotateLeft(t)),et(tt(t),Ba),et(tt(tt(t)),1),this.rotateRight(tt(tt(t)))):1==Q(e=nt(tt(tt(t))))?(et(tt(t),Ba),et(e,Ba),et(tt(tt(t)),1),t=tt(tt(t))):(t==nt(tt(t))&&(t=tt(t),this.rotateRight(t)),et(tt(t),Ba),et(tt(tt(t)),1),this.rotateLeft(tt(tt(t))))}this.root_.color=Ba},rt.prototype.values=function(){var t=new w,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=rt.successor(e));)t.add(e.value);return t},rt.prototype.entrySet=function(){var t=new K,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=rt.successor(e));)t.add(e);return t},rt.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null==t.parent?this.root_=e:t.parent.left==t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},rt.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null==t.parent?this.root_=e:t.parent.right==t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},rt.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},rt.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}e=t.parent;for(var n=t;null!==e&&n===e.right;)n=e,e=e.parent;return e},rt.prototype.size=function(){return this.size_},e(at.prototype,{interfaces_:function(){return[]},getClass:function(){return at}}),ot.prototype=new J,st.prototype=new ot,st.prototype.contains=function(t){for(var e=0,n=this.array_.length;e=0;){var o=r.substring(0,a);i.add(o),a=(r=r.substring(a+n)).indexOf(e)}r.length>0&&i.add(r);for(var s=new Array(i.size()).fill(null),l=0;l0)for(var a=r;a0&&i.append(" ");for(var a=0;a0&&i.append(","),i.append(wt.toString(t.getOrdinate(r,a)))}return i.append(")"),i.toString()}},xt.ensureValidRing=function(t,e){var n=e.size();return 0===n?e:n<=3?xt.createClosedRing(t,e,4):e.getOrdinate(0,z.X)===e.getOrdinate(n-1,z.X)&&e.getOrdinate(0,z.Y)===e.getOrdinate(n-1,z.Y)?e:xt.createClosedRing(t,e,n+1)},xt.createClosedRing=function(t,e,n){var i=t.create(n,e.getDimension()),r=e.size();xt.copy(e,0,i,0,r);for(var a=r;a0&&xt.reverse(this.points),null}},getCoordinate:function(){return this.isEmpty()?null:this.points.getCoordinate(0)},getBoundaryDimension:function(){return this.isClosed()?ut.FALSE:0},isClosed:function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},getEndPoint:function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},getDimension:function(){return 1},getLength:function(){return Qt.computeLength(this.points)},getNumPoints:function(){return this.points.size()},reverse:function(){var t=this.points.copy();return xt.reverse(t),this.getFactory().createLineString(t)},compareToSameClass:function(){if(1===arguments.length){for(var t=arguments[0],e=t,n=0,i=0;n= 2)");this.points=t},isCoordinate:function(t){for(var e=0;e=1&&this.getCoordinateSequence().size()= 4)")},getGeometryType:function(){return"LinearRing"},copy:function(){return new Lt(this.points.copy(),this.factory)},interfaces_:function(){return[]},getClass:function(){return Lt}}),Lt.MINIMUM_VALID_SIZE=4,Lt.serialVersionUID=-0x3b229e262367a600,c(It,dt),e(It.prototype,{getSortIndex:function(){return F.SORTINDEX_MULTIPOLYGON},equalsExact:function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return!!this.isEquivalentClass(t)&&dt.prototype.equalsExact.call(this,t,e)}return dt.prototype.equalsExact.apply(this,arguments)},getBoundaryDimension:function(){return 1},getDimension:function(){return 2},reverse:function(){for(var t=this.geometries.length,e=new Array(t).fill(null),n=0;n0?e.createPoint(n[0]):e.createPoint():t},interfaces_:function(){return[At]},getClass:function(){return zt}}),e(Nt.prototype,{edit:function(t,e){return t instanceof Lt?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof kt?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof Tt?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},interfaces_:function(){return[At]},getClass:function(){return Nt}}),Ot.NoOpGeometryOperation=Mt,Ot.CoordinateOperation=zt,Ot.CoordinateSequenceOperation=Nt,e(Dt.prototype,{setOrdinate:function(t,e,n){switch(e){case z.X:this.coordinates[t].x=n;break;case z.Y:this.coordinates[t].y=n;break;case z.Z:this.coordinates[t].z=n;break;default:throw new i("invalid ordinateIndex")}},size:function(){return this.coordinates.length},getOrdinate:function(t,e){switch(e){case z.X:return this.coordinates[t].x;case z.Y:return this.coordinates[t].y;case z.Z:return this.coordinates[t].z}return r.NaN},getCoordinate:function(){if(1===arguments.length){var t=arguments[0];return this.coordinates[t]}if(2===arguments.length){var e=arguments[0],n=arguments[1];n.x=this.coordinates[e].x,n.y=this.coordinates[e].y,n.z=this.coordinates[e].z}},getCoordinateCopy:function(t){return new p(this.coordinates[t])},getDimension:function(){return this.dimension},getX:function(t){return this.coordinates[t].x},clone:function(){for(var t=new Array(this.size()).fill(null),e=0;e0){var t=new L(17*this.coordinates.length);t.append("("),t.append(this.coordinates[0]);for(var e=1;e3&&(i=3),i<2?new Dt(n):new Dt(n,i)}},interfaces_:function(){return[R,l]},getClass:function(){return Rt}}),Rt.instance=function(){return Rt.instanceObject},Rt.serialVersionUID=-0x38e49fa6cf6f2e00,Rt.instanceObject=new Rt;var qa,$a=Object.defineProperty,Ga=function(t,e){function n(t){return this&&this.constructor===n?(this._keys=[],this._values=[],this._itp=[],this.objectOnly=e,void(t&&Ft.call(this,t))):new n(t)}return e||$a(t,"size",{get:qt}),t.constructor=n,n.prototype=t,n}({delete:function(t){return this.has(t)&&(this._keys.splice(qa,1),this._values.splice(qa,1),this._itp.forEach((function(t){qa-1},has:function(t){return Bt.call(this,this._keys,t)},get:function(t){return this.has(t)?this._values[qa]:void 0},set:function(t,e){return this.has(t)?this._values[qa]=e:this._values[this._keys.push(t)-1]=e,this},keys:function(){return Ut(this._itp,this._keys)},values:function(){return Ut(this._itp,this._values)},entries:function(){return Ut(this._itp,this._keys,this._values)},forEach:function(t,e){for(var n=this.entries();;){var i=n.next();if(i.done)break;t.call(e,i.value[1],i.value[0],this)}},clear:function(){(this._keys||0).length=this._values.length=0}}),Va="undefined"!=typeof Map&&Map.prototype.values?Map:Ga;$t.prototype=new Z,$t.prototype.get=function(t){return this.map_.get(t)||null},$t.prototype.put=function(t,e){return this.map_.set(t,e),e},$t.prototype.values=function(){for(var t=new w,e=this.map_.values(),n=e.next();!n.done;)t.add(n.value),n=e.next();return t},$t.prototype.entrySet=function(){var t=new K;return this.map_.entries().forEach((function(e){return t.add(e)})),t},$t.prototype.size=function(){return this.map_.size()},e(Gt.prototype,{equals:function(t){if(!(t instanceof Gt))return!1;var e=t;return this.modelType===e.modelType&&this.scale===e.scale},compareTo:function(t){var e=t,n=this.getMaximumSignificantDigits(),i=e.getMaximumSignificantDigits();return new I(n).compareTo(new I(i))},getScale:function(){return this.scale},isFloating:function(){return this.modelType===Gt.FLOATING||this.modelType===Gt.FLOATING_SINGLE},getType:function(){return this.modelType},toString:function(){var t="UNKNOWN";return this.modelType===Gt.FLOATING?t="Floating":this.modelType===Gt.FLOATING_SINGLE?t="Floating-Single":this.modelType===Gt.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},makePrecise:function(){if("number"==typeof arguments[0]){var t=arguments[0];return r.isNaN(t)||this.modelType===Gt.FLOATING_SINGLE?t:this.modelType===Gt.FIXED?Math.round(t*this.scale)/this.scale:t}if(arguments[0]instanceof p){var e=arguments[0];if(this.modelType===Gt.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},getMaximumSignificantDigits:function(){var t=16;return this.modelType===Gt.FLOATING?t=16:this.modelType===Gt.FLOATING_SINGLE?t=6:this.modelType===Gt.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},setScale:function(t){this.scale=Math.abs(t)},interfaces_:function(){return[l,a]},getClass:function(){return Gt}}),Gt.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},e(Vt.prototype,{readResolve:function(){return Vt.nameToTypeMap.get(this.name)},toString:function(){return this.name},interfaces_:function(){return[l]},getClass:function(){return Vt}}),Vt.serialVersionUID=-552860263173159e4,Vt.nameToTypeMap=new $t,Gt.Type=Vt,Gt.serialVersionUID=0x6bee6404e9a25c00,Gt.FIXED=new Vt("FIXED"),Gt.FLOATING=new Vt("FLOATING"),Gt.FLOATING_SINGLE=new Vt("FLOATING SINGLE"),Gt.maximumPreciseValue=9007199254740992,e(Ht.prototype,{toGeometry:function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new p(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new p(t.getMinX(),t.getMinY()),new p(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new p(t.getMinX(),t.getMinY()),new p(t.getMinX(),t.getMaxY()),new p(t.getMaxX(),t.getMaxY()),new p(t.getMaxX(),t.getMinY()),new p(t.getMinX(),t.getMinY())]),null)},createLineString:function(){if(0===arguments.length)return this.createLineString(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLineString(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(S(arguments[0],z)){var e=arguments[0];return new kt(e,this)}}},createMultiLineString:function(){if(0===arguments.length)return new pt(null,this);if(1===arguments.length){var t=arguments[0];return new pt(t,this)}},buildGeometry:function(t){for(var e=null,n=!1,i=!1,r=t.iterator();r.hasNext();){var a=r.next(),o=a.getClass();null===e&&(e=o),o!==e&&(n=!0),a.isGeometryCollectionOrDerived()&&(i=!0)}if(null===e)return this.createGeometryCollection();if(n||i)return this.createGeometryCollection(Ht.toGeometryArray(t));var s=t.iterator().next();if(t.size()>1){if(s instanceof St)return this.createMultiPolygon(Ht.toPolygonArray(t));if(s instanceof kt)return this.createMultiLineString(Ht.toLineStringArray(t));if(s instanceof Tt)return this.createMultiPoint(Ht.toPointArray(t));d.shouldNeverReachHere("Unhandled class: "+s.getClass().getName())}return s},createMultiPointFromCoords:function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},createPoint:function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof p){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(S(arguments[0],z)){var e=arguments[0];return new Tt(e,this)}}},getCoordinateSequenceFactory:function(){return this.coordinateSequenceFactory},createPolygon:function(){if(0===arguments.length)return new St(null,null,this);if(1===arguments.length){if(S(arguments[0],z)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof Lt){var n=arguments[0];return this.createPolygon(n,null)}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];return new St(i,r,this)}},getSRID:function(){return this.SRID},createGeometryCollection:function(){if(0===arguments.length)return new dt(null,this);if(1===arguments.length){var t=arguments[0];return new dt(t,this)}},createGeometry:function(t){return new Ot(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this.coordinateSequenceFactory.create(t)}}})},getPrecisionModel:function(){return this.precisionModel},createLinearRing:function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(S(arguments[0],z)){var e=arguments[0];return new Lt(e,this)}}},createMultiPolygon:function(){if(0===arguments.length)return new It(null,this);if(1===arguments.length){var t=arguments[0];return new It(t,this)}},createMultiPoint:function(){if(0===arguments.length)return new Pt(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Pt(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(S(arguments[0],z)){var n=arguments[0];if(null===n)return this.createMultiPoint(new Array(0).fill(null));for(var i=new Array(n.size()).fill(null),r=0;rn?(this.intLineIndex[t][0]=0,this.intLineIndex[t][1]=1):(this.intLineIndex[t][0]=1,this.intLineIndex[t][1]=0)}},isProper:function(){return this.hasIntersection()&&this._isProper},setPrecisionModel:function(t){this.precisionModel=t},isInteriorIntersection:function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;er?i:r;else{var o=Math.abs(t.x-e.x),s=Math.abs(t.y-e.y);0!==(a=i>r?o:s)||t.equals(e)||(a=Math.max(o,s))}return d.isTrue(!(0===a&&!t.equals(e)),"Bad distance calculation"),a},Zt.nonRobustComputeEdgeDistance=function(t,e,n){var i=t.x-e.x,r=t.y-e.y,a=Math.sqrt(i*i+r*r);return d.isTrue(!(0===a&&!t.equals(e)),"Invalid distance calculation"),a},Zt.DONT_INTERSECT=0,Zt.DO_INTERSECT=1,Zt.COLLINEAR=2,Zt.NO_INTERSECTION=0,Zt.POINT_INTERSECTION=1,Zt.COLLINEAR_INTERSECTION=2,c(Xt,Zt),e(Xt.prototype,{isInSegmentEnvelopes:function(t){var e=new k(this.inputLines[0][0],this.inputLines[0][1]),n=new k(this.inputLines[1][0],this.inputLines[1][1]);return e.contains(t)&&n.contains(t)},computeIntersection:function(){if(3!==arguments.length)return Zt.prototype.computeIntersection.apply(this,arguments);var t=arguments[0],e=arguments[1],n=arguments[2];return this._isProper=!1,k.intersects(e,n,t)&&0===Qt.orientationIndex(e,n,t)&&0===Qt.orientationIndex(n,e,t)?(this._isProper=!0,(t.equals(e)||t.equals(n))&&(this._isProper=!1),this.result=Zt.POINT_INTERSECTION,null):void(this.result=Zt.NO_INTERSECTION)},normalizeToMinimum:function(t,e,n,i,r){r.x=this.smallestInAbsValue(t.x,e.x,n.x,i.x),r.y=this.smallestInAbsValue(t.y,e.y,n.y,i.y),t.x-=r.x,t.y-=r.y,e.x-=r.x,e.y-=r.y,n.x-=r.x,n.y-=r.y,i.x-=r.x,i.y-=r.y},safeHCoordinateIntersection:function(t,e,n,i){var r=null;try{r=D.intersection(t,e,n,i)}catch(a){if(!(a instanceof T))throw a;r=Xt.nearestEndpoint(t,e,n,i)}return r},intersection:function(t,e,n,i){var r=this.intersectionWithNormalization(t,e,n,i);return this.isInSegmentEnvelopes(r)||(r=new p(Xt.nearestEndpoint(t,e,n,i))),null!==this.precisionModel&&this.precisionModel.makePrecise(r),r},smallestInAbsValue:function(t,e,n,i){var r=t,a=Math.abs(r);return Math.abs(e)1e-4&&N.out.println("Distance = "+r.distance(a))},intersectionWithNormalization:function(t,e,n,i){var r=new p(t),a=new p(e),o=new p(n),s=new p(i),l=new p;this.normalizeToEnvCentre(r,a,o,s,l);var u=this.safeHCoordinateIntersection(r,a,o,s);return u.x+=l.x,u.y+=l.y,u},computeCollinearIntersection:function(t,e,n,i){var r=k.intersects(t,e,n),a=k.intersects(t,e,i),o=k.intersects(n,i,t),s=k.intersects(n,i,e);return r&&a?(this.intPt[0]=n,this.intPt[1]=i,Zt.COLLINEAR_INTERSECTION):o&&s?(this.intPt[0]=t,this.intPt[1]=e,Zt.COLLINEAR_INTERSECTION):r&&o?(this.intPt[0]=n,this.intPt[1]=t,!n.equals(t)||a||s?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):r&&s?(this.intPt[0]=n,this.intPt[1]=e,!n.equals(e)||a||o?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):a&&o?(this.intPt[0]=i,this.intPt[1]=t,!i.equals(t)||r||s?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):a&&s?(this.intPt[0]=i,this.intPt[1]=e,!i.equals(e)||r||o?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):Zt.NO_INTERSECTION},normalizeToEnvCentre:function(t,e,n,i,r){var a=t.xe.x?t.x:e.x,l=t.y>e.y?t.y:e.y,u=n.xi.x?n.x:i.x,d=n.y>i.y?n.y:i.y,p=((a>u?a:u)+(sc?o:c)+(l0&&a>0||r<0&&a<0)return Zt.NO_INTERSECTION;var o=Qt.orientationIndex(n,i,t),s=Qt.orientationIndex(n,i,e);return o>0&&s>0||o<0&&s<0?Zt.NO_INTERSECTION:0===r&&0===a&&0===o&&0===s?this.computeCollinearIntersection(t,e,n,i):(0===r||0===a||0===o||0===s?(this._isProper=!1,t.equals2D(n)||t.equals2D(i)?this.intPt[0]=t:e.equals2D(n)||e.equals2D(i)?this.intPt[0]=e:0===r?this.intPt[0]=new p(n):0===a?this.intPt[0]=new p(i):0===o?this.intPt[0]=new p(t):0===s&&(this.intPt[0]=new p(e))):(this._isProper=!0,this.intPt[0]=this.intersection(t,e,n,i)),Zt.POINT_INTERSECTION)},interfaces_:function(){return[]},getClass:function(){return Xt}}),Xt.nearestEndpoint=function(t,e,n,i){var r=t,a=Qt.distancePointLine(t,n,i),o=Qt.distancePointLine(e,n,i);return o0?n>0?-r:r:n>0?r:-r;if(0===e||0===n)return i>0?t>0?r:-r:t>0?-r:r;if(0=i?(t=-t,e=-e,n=-n,i=-i):(r=-r,a=-t,t=-n,n=a,a=-e,e=-i,i=a),0=n))return-r;r=-r,t=-t,n=-n}for(;;){if((i-=(o=Math.floor(n/t))*e)<0)return-r;if(i>e)return r;if(t>(n-=o*t)+n){if(ei+i)return-r;n=t-n,i=e-i,r=-r}if(0===i)return 0===n?0:-r;if(0===n)return r;if((e-=(o=Math.floor(t/n))*i)<0)return r;if(e>i)return-r;if(n>(t-=o*n)+t){if(ie+e)return r;t=n-t,e=i-e,r=-r}if(0===e)return 0===t?0:r;if(0===t)return-r}},e(Kt.prototype,{countSegment:function(t,e){if(t.xi&&(n=e.x,i=t.x),this.p.x>=n&&this.p.x<=i&&(this.isPointOnSegment=!0),null}if(t.y>this.p.y&&e.y<=this.p.y||e.y>this.p.y&&t.y<=this.p.y){var r=t.x-this.p.x,a=t.y-this.p.y,o=e.x-this.p.x,s=e.y-this.p.y,l=Jt.signOfDet2x2(r,a,o,s);if(0===l)return this.isPointOnSegment=!0,null;s0&&this.crossingCount++}},isPointInPolygon:function(){return this.getLocation()!==E.EXTERIOR},getLocation:function(){return this.isPointOnSegment?E.BOUNDARY:this.crossingCount%2==1?E.INTERIOR:E.EXTERIOR},isOnSegment:function(){return this.isPointOnSegment},interfaces_:function(){return[]},getClass:function(){return Kt}}),Kt.locatePointInRing=function(){if(arguments[0]instanceof p&&S(arguments[1],z)){for(var t=arguments[0],e=arguments[1],n=new Kt(t),i=new p,r=new p,a=1;a1||s<0||s>1)&&(r=!0)}}else r=!0;return r?P.min(Qt.distancePointLine(t,n,i),Qt.distancePointLine(e,n,i),Qt.distancePointLine(n,t,e),Qt.distancePointLine(i,t,e)):0},Qt.isPointInRing=function(t,e){return Qt.locatePointInRing(t,e)!==E.EXTERIOR},Qt.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,i=new p;t.getCoordinate(0,i);for(var r=i.x,a=i.y,o=1;on.y&&(n=o,r=a)}var s=r;do{(s-=1)<0&&(s=e)}while(t[s].equals2D(n)&&s!==r);var l=r;do{l=(l+1)%e}while(t[l].equals2D(n)&&l!==r);var u=t[s],c=t[l];if(u.equals2D(n)||c.equals2D(n)||u.equals2D(c))return!1;var h=Qt.computeOrientation(u,n,c);return 0===h?u.x>c.x:h>0},Qt.locatePointInRing=function(t,e){return Kt.locatePointInRing(t,e)},Qt.distancePointLinePerpendicular=function(t,e,n){var i=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y),r=((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/i;return Math.abs(r)*Math.sqrt(i)},Qt.computeOrientation=function(t,e,n){return Qt.orientationIndex(t,e,n)},Qt.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new i("Line array must contain at least one vertex");for(var n=t.distance(e[0]),r=0;r=1)return o.distance(l);var h=((s.y-o.y)*(l.x-s.x)-(s.x-o.x)*(l.y-s.y))/u;return Math.abs(h)*Math.sqrt(u)}},Qt.isOnLine=function(t,e){for(var n=new Xt,i=1;i=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}if(arguments[0]instanceof p){var i=arguments[0];return Qt.orientationIndex(this.p0,this.p1,i)}},toGeometry:function(t){return t.createLineString([this.p0,this.p1])},isVertical:function(){return this.p0.x===this.p1.x},equals:function(t){if(!(t instanceof te))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},intersection:function(t){var e=new Xt;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},project:function(){if(arguments[0]instanceof p){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new p(t);var e=this.projectionFactor(t),n=new p;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}if(arguments[0]instanceof te){var i=arguments[0],r=this.projectionFactor(i.p0),a=this.projectionFactor(i.p1);if(r>=1&&a>=1)return null;if(r<=0&&a<=0)return null;var o=this.project(i.p0);r<0&&(o=this.p0),r>1&&(o=this.p1);var s=this.project(i.p1);return a<0&&(s=this.p0),a>1&&(s=this.p1),new te(o,s)}},normalize:function(){this.p1.compareTo(this.p0)<0&&this.reverse()},angle:function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},getCoordinate:function(t){return 0===t?this.p0:this.p1},distancePerpendicular:function(t){return Qt.distancePointLinePerpendicular(t,this.p0,this.p1)},minY:function(){return Math.min(this.p0.y,this.p1.y)},midPoint:function(){return te.midPoint(this.p0,this.p1)},projectionFactor:function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,i=e*e+n*n;return i<=0?r.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/i},closestPoints:function(t){var e=this.intersection(t);if(null!==e)return[e,e];var n=new Array(2).fill(null),i=r.MAX_VALUE,a=null,o=this.closestPoint(t.p0);i=o.distance(t.p0),n[0]=o,n[1]=t.p0;var s=this.closestPoint(t.p1);(a=s.distance(t.p1))0&&e<1?this.project(t):this.p0.distance(t)1||r.isNaN(e))&&(e=1),e},toString:function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},isHorizontal:function(){return this.p0.y===this.p1.y},distance:function(){if(arguments[0]instanceof te){var t=arguments[0];return Qt.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof p){var e=arguments[0];return Qt.distancePointLine(e,this.p0,this.p1)}},pointAlong:function(t){var e=new p;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},hashCode:function(){var t=java.lang.Double.doubleToLongBits(this.p0.x);t^=31*java.lang.Double.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),n=java.lang.Double.doubleToLongBits(this.p1.x);return n^=31*java.lang.Double.doubleToLongBits(this.p1.y),e^Math.trunc(n)^Math.trunc(n>>32)},interfaces_:function(){return[a,l]},getClass:function(){return te}}),te.midPoint=function(t,e){return new p((t.x+e.x)/2,(t.y+e.y)/2)},te.serialVersionUID=0x2d2172135f411c00,e(ee.prototype,{isIntersects:function(){return!this.isDisjoint()},isCovers:function(){return(ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])||ee.isTrue(this.matrix[E.INTERIOR][E.BOUNDARY])||ee.isTrue(this.matrix[E.BOUNDARY][E.INTERIOR])||ee.isTrue(this.matrix[E.BOUNDARY][E.BOUNDARY]))&&this.matrix[E.EXTERIOR][E.INTERIOR]===ut.FALSE&&this.matrix[E.EXTERIOR][E.BOUNDARY]===ut.FALSE},isCoveredBy:function(){return(ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])||ee.isTrue(this.matrix[E.INTERIOR][E.BOUNDARY])||ee.isTrue(this.matrix[E.BOUNDARY][E.INTERIOR])||ee.isTrue(this.matrix[E.BOUNDARY][E.BOUNDARY]))&&this.matrix[E.INTERIOR][E.EXTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.EXTERIOR]===ut.FALSE},set:function(){if(1===arguments.length)for(var t=arguments[0],e=0;e=0&&e>=0&&this.setAtLeast(t,e,n)},isWithin:function(){return ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&this.matrix[E.INTERIOR][E.EXTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.EXTERIOR]===ut.FALSE},isTouches:function(t,e){return t>e?this.isTouches(e,t):(t===ut.A&&e===ut.A||t===ut.L&&e===ut.L||t===ut.L&&e===ut.A||t===ut.P&&e===ut.A||t===ut.P&&e===ut.L)&&this.matrix[E.INTERIOR][E.INTERIOR]===ut.FALSE&&(ee.isTrue(this.matrix[E.INTERIOR][E.BOUNDARY])||ee.isTrue(this.matrix[E.BOUNDARY][E.INTERIOR])||ee.isTrue(this.matrix[E.BOUNDARY][E.BOUNDARY]))},isOverlaps:function(t,e){return t===ut.P&&e===ut.P||t===ut.A&&e===ut.A?ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&ee.isTrue(this.matrix[E.INTERIOR][E.EXTERIOR])&&ee.isTrue(this.matrix[E.EXTERIOR][E.INTERIOR]):t===ut.L&&e===ut.L&&1===this.matrix[E.INTERIOR][E.INTERIOR]&&ee.isTrue(this.matrix[E.INTERIOR][E.EXTERIOR])&&ee.isTrue(this.matrix[E.EXTERIOR][E.INTERIOR])},isEquals:function(t,e){return t===e&&ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&this.matrix[E.INTERIOR][E.EXTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.EXTERIOR]===ut.FALSE&&this.matrix[E.EXTERIOR][E.INTERIOR]===ut.FALSE&&this.matrix[E.EXTERIOR][E.BOUNDARY]===ut.FALSE},toString:function(){for(var t=new L("123456789"),e=0;e<3;e++)for(var n=0;n<3;n++)t.setCharAt(3*e+n,ut.toDimensionSymbol(this.matrix[e][n]));return t.toString()},setAll:function(t){for(var e=0;e<3;e++)for(var n=0;n<3;n++)this.matrix[e][n]=t},get:function(t,e){return this.matrix[t][e]},transpose:function(){var t=this.matrix[1][0];return this.matrix[1][0]=this.matrix[0][1],this.matrix[0][1]=t,t=this.matrix[2][0],this.matrix[2][0]=this.matrix[0][2],this.matrix[0][2]=t,t=this.matrix[2][1],this.matrix[2][1]=this.matrix[1][2],this.matrix[1][2]=t,this},matches:function(t){if(9!==t.length)throw new i("Should be length 9: "+t);for(var e=0;e<3;e++)for(var n=0;n<3;n++)if(!ee.matches(this.matrix[e][n],t.charAt(3*e+n)))return!1;return!0},add:function(t){for(var e=0;e<3;e++)for(var n=0;n<3;n++)this.setAtLeast(e,n,t.get(e,n))},isDisjoint:function(){return this.matrix[E.INTERIOR][E.INTERIOR]===ut.FALSE&&this.matrix[E.INTERIOR][E.BOUNDARY]===ut.FALSE&&this.matrix[E.BOUNDARY][E.INTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.BOUNDARY]===ut.FALSE},isCrosses:function(t,e){return t===ut.P&&e===ut.L||t===ut.P&&e===ut.A||t===ut.L&&e===ut.A?ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&ee.isTrue(this.matrix[E.INTERIOR][E.EXTERIOR]):t===ut.L&&e===ut.P||t===ut.A&&e===ut.P||t===ut.A&&e===ut.L?ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&ee.isTrue(this.matrix[E.EXTERIOR][E.INTERIOR]):t===ut.L&&e===ut.L&&0===this.matrix[E.INTERIOR][E.INTERIOR]},interfaces_:function(){return[o]},getClass:function(){return ee}}),ee.matches=function(){if(Number.isInteger(arguments[0])&&"string"==typeof arguments[1]){var t=arguments[0],e=arguments[1];return e===ut.SYM_DONTCARE||e===ut.SYM_TRUE&&(t>=0||t===ut.TRUE)||e===ut.SYM_FALSE&&t===ut.FALSE||e===ut.SYM_P&&t===ut.P||e===ut.SYM_L&&t===ut.L||e===ut.SYM_A&&t===ut.A}if("string"==typeof arguments[0]&&"string"==typeof arguments[1]){var n=arguments[0],i=arguments[1],r=new ee(n);return r.matches(i)}},ee.isTrue=function(t){return t>=0||t===ut.TRUE};var Za=Object.freeze({Coordinate:p,CoordinateList:x,Envelope:k,LineSegment:te,GeometryFactory:Ht,Geometry:F,Point:Tt,LineString:kt,LinearRing:Lt,Polygon:St,GeometryCollection:dt,MultiPoint:Pt,MultiLineString:pt,MultiPolygon:It,Dimension:ut,IntersectionMatrix:ee,PrecisionModel:Gt});e(ne.prototype,{addPoint:function(t){this.ptCount+=1,this.ptCentSum.x+=t.x,this.ptCentSum.y+=t.y},setBasePoint:function(t){null===this.areaBasePt&&(this.areaBasePt=t)},addLineSegments:function(t){for(var e=0,n=0;n0&&this.addPoint(t[0])},addHole:function(t){for(var e=Qt.isCCW(t),n=0;n0)t.x=this.cg3.x/3/this.areasum2,t.y=this.cg3.y/3/this.areasum2;else if(this.totalLength>0)t.x=this.lineCentSum.x/this.totalLength,t.y=this.lineCentSum.y/this.totalLength;else{if(!(this.ptCount>0))return null;t.x=this.ptCentSum.x/this.ptCount,t.y=this.ptCentSum.y/this.ptCount}return t},addShell:function(t){t.length>0&&this.setBasePoint(t[0]);for(var e=!Qt.isCCW(t),n=0;n=this.size())throw new IndexOutOfBoundsException;return this.array_[t]},re.prototype.push=function(t){return this.array_.push(t),t},re.prototype.pop=function(t){if(0===this.array_.length)throw new ie;return this.array_.pop()},re.prototype.peek=function(){if(0===this.array_.length)throw new ie;return this.array_[this.array_.length-1]},re.prototype.empty=function(){return 0===this.array_.length},re.prototype.isEmpty=function(){return this.empty()},re.prototype.search=function(t){return this.array_.indexOf(t)},re.prototype.size=function(){return this.array_.length},re.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e50&&(t=this.reduce(this.inputPts));var e=this.preSort(t),n=this.grahamScan(e),i=this.toCoordinateArray(n);return this.lineOrPolygon(i)},padArray3:function(t){for(var e=new Array(3).fill(null),n=0;ne[2].y&&(e[2]=t[i]),t[i].x+t[i].y>e[3].x+e[3].y&&(e[3]=t[i]),t[i].x>e[4].x&&(e[4]=t[i]),t[i].x-t[i].y>e[5].x-e[5].y&&(e[5]=t[i]),t[i].y0;)e=n.pop();e=n.push(e),e=n.push(t[i])}return e=n.push(t[0]),n},interfaces_:function(){return[]},getClass:function(){return oe}}),oe.extractCoordinates=function(t){var e=new ae;return t.apply(e),e.getCoordinates()},e(se.prototype,{compare:function(t,e){var n=t,i=e;return se.polarCompare(this.origin,n,i)},interfaces_:function(){return[s]},getClass:function(){return se}}),se.polarCompare=function(t,e,n){var i=e.x-t.x,r=e.y-t.y,a=n.x-t.x,o=n.y-t.y,s=Qt.computeOrientation(t,e,n);if(s===Qt.COUNTERCLOCKWISE)return 1;if(s===Qt.CLOCKWISE)return-1;var l=i*i+r*r,u=a*a+o*o;return lu?1:0},oe.RadialComparator=se,e(le.prototype,{transformPoint:function(t,e){return this.factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},transformPolygon:function(t,e){var n=!0,i=this.transformLinearRing(t.getExteriorRing(),t);null!==i&&i instanceof Lt&&!i.isEmpty()||(n=!1);for(var r=new w,a=0;a0&&i<4&&!this.preserveType?this.factory.createLineString(n):this.factory.createLinearRing(n)},interfaces_:function(){return[]},getClass:function(){return le}}),e(ue.prototype,{snapVertices:function(t,e){for(var n=this._isClosed?t.size()-1:t.size(),i=0;i=0&&t.add(a+1,new p(r),!1)}},findSegmentIndexToSnap:function(t,e){for(var n=r.MAX_VALUE,i=-1,a=0;ae&&(e=i)}return e}if(2===arguments.length){var r=arguments[0],a=arguments[1];return Math.min(ce.computeOverlaySnapTolerance(r),ce.computeOverlaySnapTolerance(a))}},ce.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*ce.SNAP_PRECISION_FACTOR},ce.snapToSelf=function(t,e,n){return new ce(t).snapToSelf(e,n)},ce.SNAP_PRECISION_FACTOR=1e-9,c(he,le),e(he.prototype,{snapLine:function(t,e){var n=new ue(t,this.snapTolerance);return n.setAllowSnappingToSourceVertices(this.isSelfSnap),n.snapTo(e)},transformCoordinates:function(t,e){var n=t.toCoordinateArray(),i=this.snapLine(n,this.snapPts);return this.factory.getCoordinateSequenceFactory().create(i)},interfaces_:function(){return[]},getClass:function(){return he}}),e(de.prototype,{getCommon:function(){return r.longBitsToDouble(this.commonBits)},add:function(t){var e=r.doubleToLongBits(t);return this.isFirst?(this.commonBits=e,this.commonSignExp=de.signExpBits(this.commonBits),this.isFirst=!1,null):de.signExpBits(e)!==this.commonSignExp?(this.commonBits=0,null):(this.commonMantissaBitsCount=de.numCommonMostSigMantissaBits(this.commonBits,e),void(this.commonBits=de.zeroLowerBits(this.commonBits,64-(12+this.commonMantissaBitsCount))))},toString:function(){if(1===arguments.length){var t=arguments[0],e=r.longBitsToDouble(t),n=Long.toBinaryString(t),i="0000000000000000000000000000000000000000000000000000000000000000"+n,a=i.substring(i.length-64),o=a.substring(0,1)+" "+a.substring(1,12)+"(exp) "+a.substring(12)+" [ "+e+" ]";return o}},interfaces_:function(){return[]},getClass:function(){return de}}),de.getBit=function(t,e){return 0!=(t&1<>52},de.zeroLowerBits=function(t,e){return t&~((1<=0;i--){if(de.getBit(t,i)!==de.getBit(e,i))return n;n++}return 52},e(pe.prototype,{addCommonBits:function(t){var e=new me(this.commonCoord);t.apply(e),t.geometryChanged()},removeCommonBits:function(t){if(0===this.commonCoord.x&&0===this.commonCoord.y)return t;var e=new p(this.commonCoord);e.x=-e.x,e.y=-e.y;var n=new me(e);return t.apply(n),t.geometryChanged(),t},getCommonCoordinate:function(){return this.commonCoord},add:function(t){t.apply(this.ccFilter),this.commonCoord=this.ccFilter.getCommonCoordinate()},interfaces_:function(){return[]},getClass:function(){return pe}}),e(fe.prototype,{filter:function(t){this.commonBitsX.add(t.x),this.commonBitsY.add(t.y)},getCommonCoordinate:function(){return new p(this.commonBitsX.getCommon(),this.commonBitsY.getCommon())},interfaces_:function(){return[B]},getClass:function(){return fe}}),e(me.prototype,{filter:function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,i=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,i)},isDone:function(){return!1},isGeometryChanged:function(){return!0},interfaces_:function(){return[ht]},getClass:function(){return me}}),pe.CommonCoordinateFilter=fe,pe.Translater=me,e(ge.prototype,{next:function(){if(this.atStart)return this.atStart=!1,ge.isAtomic(this.parent)&&this.index++,this.parent;if(null!==this.subcollectionIterator){if(this.subcollectionIterator.hasNext())return this.subcollectionIterator.next();this.subcollectionIterator=null}if(this.index>=this.max)throw new _;var t=this.parent.getGeometryN(this.index++);return t instanceof dt?(this.subcollectionIterator=new ge(t),this.subcollectionIterator.next()):t},remove:function(){throw new UnsupportedOperationException(this.getClass().getName())},hasNext:function(){if(this.atStart)return!0;if(null!==this.subcollectionIterator){if(this.subcollectionIterator.hasNext())return!0;this.subcollectionIterator=null}return!(this.index>=this.max)},interfaces_:function(){return[m]},getClass:function(){return ge}}),ge.isAtomic=function(t){return!(t instanceof dt)},e(ve.prototype,{locateInternal:function(){if(arguments[0]instanceof p&&arguments[1]instanceof St){var t=arguments[0],e=arguments[1];if(e.isEmpty())return E.EXTERIOR;var n=e.getExteriorRing(),i=this.locateInPolygonRing(t,n);if(i===E.EXTERIOR)return E.EXTERIOR;if(i===E.BOUNDARY)return E.BOUNDARY;for(var r=0;r0||this.isIn?E.INTERIOR:E.EXTERIOR)},interfaces_:function(){return[]},getClass:function(){return ve}}),e(ye.prototype,{interfaces_:function(){return[]},getClass:function(){return ye}}),ye.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new i("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),r=Math.abs(e);return t>=0?e>=0?n>=r?0:1:n>=r?7:6:e>=0?n>=r?3:2:n>=r?4:5}if(arguments[0]instanceof p&&arguments[1]instanceof p){var a=arguments[0],o=arguments[1],s=o.x-a.x,l=o.y-a.y;if(0===s&&0===l)throw new i("Cannot compute the octant for two identical points "+a);return ye.octant(s,l)}},e(_e.prototype,{getCoordinates:function(){},size:function(){},getCoordinate:function(t){},isClosed:function(){},setData:function(t){},getData:function(){},interfaces_:function(){return[]},getClass:function(){return _e}}),e(be.prototype,{getCoordinates:function(){return this.pts},size:function(){return this.pts.length},getCoordinate:function(t){return this.pts[t]},isClosed:function(){return this.pts[0].equals(this.pts[this.pts.length-1])},getSegmentOctant:function(t){return t===this.pts.length-1?-1:ye.octant(this.getCoordinate(t),this.getCoordinate(t+1))},setData:function(t){this.data=t},getData:function(){return this.data},toString:function(){return Yt.toLineString(new Dt(this.pts))},interfaces_:function(){return[_e]},getClass:function(){return be}}),e(we.prototype,{getBounds:function(){},interfaces_:function(){return[]},getClass:function(){return we}}),e(xe.prototype,{getItem:function(){return this.item},getBounds:function(){return this.bounds},interfaces_:function(){return[we,l]},getClass:function(){return xe}}),e(ke.prototype,{poll:function(){if(this.isEmpty())return null;var t=this.items.get(1);return this.items.set(1,this.items.get(this._size)),this._size-=1,this.reorder(1),t},size:function(){return this._size},reorder:function(t){for(var e=null,n=this.items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this.items.get(e+1).compareTo(this.items.get(e))<0&&e++,this.items.get(e).compareTo(n)<0);t=e)this.items.set(t,this.items.get(e));this.items.set(t,n)},clear:function(){this._size=0,this.items.clear()},isEmpty:function(){return 0===this._size},add:function(t){this.items.add(null),this._size+=1;var e=this._size;for(this.items.set(0,t);t.compareTo(this.items.get(Math.trunc(e/2)))<0;e/=2)this.items.set(e,this.items.get(Math.trunc(e/2)));this.items.set(e,t)},interfaces_:function(){return[]},getClass:function(){return ke}}),e(Ce.prototype,{visitItem:function(t){},interfaces_:function(){return[]},getClass:function(){return Ce}}),e(Te.prototype,{insert:function(t,e){},remove:function(t,e){},query:function(){},interfaces_:function(){return[]},getClass:function(){return Te}}),e(Ee.prototype,{getLevel:function(){return this.level},size:function(){return this.childBoundables.size()},getChildBoundables:function(){return this.childBoundables},addChildBoundable:function(t){d.isTrue(null===this.bounds),this.childBoundables.add(t)},isEmpty:function(){return this.childBoundables.isEmpty()},getBounds:function(){return null===this.bounds&&(this.bounds=this.computeBounds()),this.bounds},interfaces_:function(){return[we,l]},getClass:function(){return Ee}}),Ee.serialVersionUID=0x5a1e55ec41369800;var Xa={reverseOrder:function(){return{compare:function(t,e){return e.compareTo(t)}}},min:function(t){return Xa.sort(t),t.get(0)},sort:function(t,e){var n=t.toArray();e?lt.sort(n,e):lt.sort(n);for(var i=t.iterator(),r=0,a=n.length;rSe.area(this.boundable2)?(this.expand(this.boundable1,this.boundable2,t,e),null):(this.expand(this.boundable2,this.boundable1,t,e),null);if(n)return this.expand(this.boundable1,this.boundable2,t,e),null;if(r)return this.expand(this.boundable2,this.boundable1,t,e),null;throw new i("neither boundable is composite")},isLeaves:function(){return!(Se.isComposite(this.boundable1)||Se.isComposite(this.boundable2))},compareTo:function(t){var e=t;return this._distancee._distance?1:0},expand:function(t,e,n,i){for(var r=t.getChildBoundables().iterator();r.hasNext();){var a=new Se(r.next(),e,this.itemDistance);a.getDistance()-2),i.getLevel()===n)return r.add(i),null;for(var a=i.getChildBoundables().iterator();a.hasNext();){var o=a.next();o instanceof Ee?this.boundablesAtLevel(n,o,r):(d.isTrue(o instanceof xe),-1===n&&r.add(o))}return null}},query:function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new w;return this.isEmpty()||this.getIntersectsOp().intersects(this.root.getBounds(),t)&&this.query(t,this.root,e),e}if(2===arguments.length){var n=arguments[0],i=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this.root.getBounds(),n)&&this.query(n,this.root,i)}else if(3===arguments.length)if(S(arguments[2],Ce)&&arguments[0]instanceof Object&&arguments[1]instanceof Ee)for(var r=arguments[0],a=arguments[1],o=arguments[2],s=a.getChildBoundables(),l=0;le&&(e=r)}}return e+1}},createParentBoundables:function(t,e){d.isTrue(!t.isEmpty());var n=new w;n.add(this.createNode(e));var i=new w(t);Xa.sort(i,this.getComparator());for(var r=i.iterator();r.hasNext();){var a=r.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(a)}return n},isEmpty:function(){return this.built?this.root.isEmpty():this.itemBoundables.isEmpty()},interfaces_:function(){return[l]},getClass:function(){return Pe}}),Pe.compareDoubles=function(t,e){return t>e?1:t0);for(var n=new w,i=0;i0;){var h=c.poll(),d=h.getDistance();if(d>=l)break;h.isLeaves()?(l=d,u=h):h.expandToQueue(c,l)}return[u.getBoundable(0).getItem(),u.getBoundable(1).getItem()]}}else if(3===arguments.length){var p=arguments[0],f=arguments[1],m=arguments[2],g=new xe(p,f);return e=new Se(this.getRoot(),g,m),this.nearestNeighbour(e)[0]}},interfaces_:function(){return[Te,l]},getClass:function(){return Ie}}),Ie.centreX=function(t){return Ie.avg(t.getMinX(),t.getMaxX())},Ie.avg=function(t,e){return(t+e)/2},Ie.centreY=function(t){return Ie.avg(t.getMinY(),t.getMaxY())},c(Oe,Ee),e(Oe.prototype,{computeBounds:function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var n=e.next();null===t?t=new k(n.getBounds()):t.expandToInclude(n.getBounds())}return t},interfaces_:function(){return[]},getClass:function(){return Oe}}),Ie.STRtreeNode=Oe,Ie.serialVersionUID=0x39920f7d5f261e0,Ie.xComparator={interfaces_:function(){return[s]},compare:function(t,e){return Pe.compareDoubles(Ie.centreX(t.getBounds()),Ie.centreX(e.getBounds()))}},Ie.yComparator={interfaces_:function(){return[s]},compare:function(t,e){return Pe.compareDoubles(Ie.centreY(t.getBounds()),Ie.centreY(e.getBounds()))}},Ie.intersectsOp={interfaces_:function(){return[IntersectsOp]},intersects:function(t,e){return t.intersects(e)}},Ie.DEFAULT_NODE_CAPACITY=10,e(Ae.prototype,{interfaces_:function(){return[]},getClass:function(){return Ae}}),Ae.relativeSign=function(t,e){return te?1:0},Ae.compare=function(t,e,n){if(e.equals2D(n))return 0;var i=Ae.relativeSign(e.x,n.x),r=Ae.relativeSign(e.y,n.y);switch(t){case 0:return Ae.compareValue(i,r);case 1:return Ae.compareValue(r,i);case 2:return Ae.compareValue(r,-i);case 3:return Ae.compareValue(-i,r);case 4:return Ae.compareValue(-i,-r);case 5:return Ae.compareValue(-r,-i);case 6:return Ae.compareValue(-r,i);case 7:return Ae.compareValue(i,-r)}return d.shouldNeverReachHere("invalid octant value"),0},Ae.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0},e(Me.prototype,{getCoordinate:function(){return this.coord},print:function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},compareTo:function(t){var e=t;return this.segmentIndexe.segmentIndex?1:this.coord.equals2D(e.coord)?0:Ae.compare(this.segmentOctant,this.coord,e.coord)},isEndPoint:function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},isInterior:function(){return this._isInterior},interfaces_:function(){return[a]},getClass:function(){return Me}}),e(ze.prototype,{getSplitCoordinates:function(){var t=new x;this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var i=e.next();this.addEdgeCoordinates(n,i,t),n=i}return t.toCoordinateArray()},addCollapsedNodes:function(){var t=new w;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var n=e.next().intValue();this.add(this.edge.getCoordinate(n),n)}},print:function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},findCollapsesFromExistingVertices:function(t){for(var e=0;ee?t:e)?3:n},Be.isInHalfPlane=function(t,e){return e===Be.SE?t===Be.SE||t===Be.SW:t===e||t===e+1},Be.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new i("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?Be.NE:Be.SE:e>=0?Be.NW:Be.SW}if(arguments[0]instanceof p&&arguments[1]instanceof p){var n=arguments[0],r=arguments[1];if(r.x===n.x&&r.y===n.y)throw new i("Cannot compute the quadrant for two identical points "+n);return r.x>=n.x?r.y>=n.y?Be.NE:Be.SE:r.y>=n.y?Be.NW:Be.SW}},Be.NE=0,Be.NW=1,Be.SW=2,Be.SE=3,e(Ue.prototype,{interfaces_:function(){return[]},getClass:function(){return Ue}}),Ue.getChainStartIndices=function(t){var e=0,n=new w;n.add(new I(e));do{var i=Ue.findChainEnd(t,e);n.add(new I(i)),e=i}while(e=t.length-1)return t.length-1;for(var i=Be.quadrant(t[n],t[n+1]),r=e+1;rn.getId()&&(n.computeOverlaps(r,t),this.nOverlaps++),this.segInt.isDone())return null}},interfaces_:function(){return[]},getClass:function(){return Ge}}),c(Ve,je),e(Ve.prototype,{overlap:function(){if(4!==arguments.length)return je.prototype.overlap.apply(this,arguments);var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=t.getContext(),a=n.getContext();this.si.processIntersections(r,e,a,i)},interfaces_:function(){return[]},getClass:function(){return Ve}}),Ge.SegmentOverlapAction=Ve,c(He,u),e(He.prototype,{getCoordinate:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return He}}),He.msgWithCoord=function(t,e){return null!==e?t+" [ "+e+" ]":t},e(We.prototype,{processIntersections:function(t,e,n,i){},isDone:function(){},interfaces_:function(){return[]},getClass:function(){return We}}),e(Ye.prototype,{getInteriorIntersection:function(){return this.interiorIntersection},setCheckEndSegmentsOnly:function(t){this.isCheckEndSegmentsOnly=t},getIntersectionSegments:function(){return this.intSegments},count:function(){return this.intersectionCount},getIntersections:function(){return this.intersections},setFindAllIntersections:function(t){this.findAllIntersections=t},setKeepIntersections:function(t){this.keepIntersections=t},processIntersections:function(t,e,n,i){if(!this.findAllIntersections&&this.hasIntersection())return null;if(t===n&&e===i)return null;if(this.isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(n,i))return null;var r=t.getCoordinates()[e],a=t.getCoordinates()[e+1],o=n.getCoordinates()[i],s=n.getCoordinates()[i+1];this.li.computeIntersection(r,a,o,s),this.li.hasIntersection()&&this.li.isInteriorIntersection()&&(this.intSegments=new Array(4).fill(null),this.intSegments[0]=r,this.intSegments[1]=a,this.intSegments[2]=o,this.intSegments[3]=s,this.interiorIntersection=this.li.getIntersection(0),this.keepIntersections&&this.intersections.add(this.interiorIntersection),this.intersectionCount++)},isEndSegment:function(t,e){return 0===e||e>=t.size()-2},hasIntersection:function(){return null!==this.interiorIntersection},isDone:function(){return!this.findAllIntersections&&null!==this.interiorIntersection},interfaces_:function(){return[We]},getClass:function(){return Ye}}),Ye.createAllIntersectionsFinder=function(t){var e=new Ye(t);return e.setFindAllIntersections(!0),e},Ye.createAnyIntersectionFinder=function(t){return new Ye(t)},Ye.createIntersectionCounter=function(t){var e=new Ye(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e},e(Ze.prototype,{execute:function(){return null!==this.segInt?null:void this.checkInteriorIntersections()},getIntersections:function(){return this.segInt.getIntersections()},isValid:function(){return this.execute(),this._isValid},setFindAllIntersections:function(t){this.findAllIntersections=t},checkInteriorIntersections:function(){this._isValid=!0,this.segInt=new Ye(this.li),this.segInt.setFindAllIntersections(this.findAllIntersections);var t=new Ge;if(t.setSegmentIntersector(this.segInt),t.computeNodes(this.segStrings),this.segInt.hasIntersection())return this._isValid=!1,null},checkValid:function(){if(this.execute(),!this._isValid)throw new He(this.getErrorMessage(),this.segInt.getInteriorIntersection())},getErrorMessage:function(){if(this._isValid)return"no intersections found";var t=this.segInt.getIntersectionSegments();return"found non-noded intersection between "+Yt.toLineString(t[0],t[1])+" and "+Yt.toLineString(t[2],t[3])},interfaces_:function(){return[]},getClass:function(){return Ze}}),Ze.computeIntersections=function(t){var e=new Ze(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()},e(Xe.prototype,{checkValid:function(){this.nv.checkValid()},interfaces_:function(){return[]},getClass:function(){return Xe}}),Xe.toSegmentStrings=function(t){for(var e=new w,n=t.iterator();n.hasNext();){var i=n.next();e.add(new be(i.getCoordinates(),i))}return e},Xe.checkValid=function(t){new Xe(t).checkValid()},e(Je.prototype,{map:function(t){for(var e=new w,n=0;nthis.location.length){var e=new Array(3).fill(null);e[Ke.ON]=this.location[Ke.ON],e[Ke.LEFT]=E.NONE,e[Ke.RIGHT]=E.NONE,this.location=e}for(var n=0;n1&&t.append(E.toLocationSymbol(this.location[Ke.LEFT])),t.append(E.toLocationSymbol(this.location[Ke.ON])),this.location.length>1&&t.append(E.toLocationSymbol(this.location[Ke.RIGHT])),t.toString()},setLocations:function(t,e,n){this.location[Ke.ON]=t,this.location[Ke.LEFT]=e,this.location[Ke.RIGHT]=n},get:function(t){return t1},isAnyNull:function(){for(var t=0;tthis.maxNodeDegree&&(this.maxNodeDegree=e),t=this.getNext(t)}while(t!==this.startDe);this.maxNodeDegree*=2},addPoints:function(t,e,n){var i=t.getCoordinates();if(e){var r=1;n&&(r=0);for(var a=r;a=0;a--)this.pts.add(i[a])},isHole:function(){return this._isHole},setInResult:function(){var t=this.startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this.startDe)},containsPoint:function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!Qt.isPointInRing(t,e.getCoordinates()))return!1;for(var n=this.holes.iterator();n.hasNext();)if(n.next().containsPoint(t))return!1;return!0},addHole:function(t){this.holes.add(t)},isShell:function(){return null===this.shell},getLabel:function(){return this.label},getEdges:function(){return this.edges},getMaxNodeDegree:function(){return this.maxNodeDegree<0&&this.computeMaxNodeDegree(),this.maxNodeDegree},getShell:function(){return this.shell},mergeLabel:function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=e.getLocation(n,Ke.RIGHT);if(i===E.NONE)return null;if(this.label.getLocation(n)===E.NONE)return this.label.setLocation(n,i),null}},setShell:function(t){this.shell=t,null!==t&&t.addHole(this)},toPolygon:function(t){for(var e=new Array(this.holes.size()).fill(null),n=0;n=2,"found partial label"),this.computeIM(t)},isInResult:function(){return this._isInResult},isVisited:function(){return this._isVisited},interfaces_:function(){return[]},getClass:function(){return an}}),c(on,an),e(on.prototype,{isIncidentEdgeInResult:function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},isIsolated:function(){return 1===this.label.getGeometryCount()},getCoordinate:function(){return this.coord},print:function(t){t.println("node "+this.coord+" lbl: "+this.label)},computeIM:function(t){},computeMergedLocation:function(t,e){var n=E.NONE;if(n=this.label.getLocation(e),!t.isNull(e)){var i=t.getLocation(e);n!==E.BOUNDARY&&(n=i)}return n},setLabel:function(){if(2!==arguments.length)return an.prototype.setLabel.apply(this,arguments);var t=arguments[0],e=arguments[1];null===this.label?this.label=new tn(t,e):this.label.setLocation(t,e)},getEdges:function(){return this.edges},mergeLabel:function(){if(arguments[0]instanceof on){var t=arguments[0];this.mergeLabel(t.label)}else if(arguments[0]instanceof tn)for(var e=arguments[0],n=0;n<2;n++){var i=this.computeMergedLocation(e,n),r=this.label.getLocation(n);r===E.NONE&&this.label.setLocation(n,i)}},add:function(t){this.edges.insert(t),t.setNode(this)},setLabelBoundary:function(t){if(null===this.label)return null;var e=E.NONE;null!==this.label&&(e=this.label.getLocation(t));var n=null;switch(e){case E.BOUNDARY:n=E.INTERIOR;break;case E.INTERIOR:n=E.BOUNDARY;break;default:n=E.BOUNDARY}this.label.setLocation(t,n)},interfaces_:function(){return[]},getClass:function(){return on}}),e(sn.prototype,{find:function(t){return this.nodeMap.get(t)},addNode:function(){if(arguments[0]instanceof p){var t=arguments[0];return null===(e=this.nodeMap.get(t))&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof on){var e,n=arguments[0];return null===(e=this.nodeMap.get(n.getCoordinate()))?(this.nodeMap.put(n.getCoordinate(),n),n):(e.mergeLabel(n),e)}},print:function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},iterator:function(){return this.nodeMap.values().iterator()},values:function(){return this.nodeMap.values()},getBoundaryNodes:function(t){for(var e=new w,n=this.iterator();n.hasNext();){var i=n.next();i.getLabel().getLocation(t)===E.BOUNDARY&&e.add(i)}return e},add:function(t){var e=t.getCoordinate();this.addNode(e).add(t)},interfaces_:function(){return[]},getClass:function(){return sn}}),e(ln.prototype,{compareDirection:function(t){return this.dx===t.dx&&this.dy===t.dy?0:this.quadrant>t.quadrant?1:this.quadrant2){a.linkDirectedEdgesForMinimalEdgeRings();var o=a.buildMinimalRings(),s=this.findShell(o);null!==s?(this.placePolygonHoles(s,o),e.add(s)):n.addAll(o)}else i.add(a)}return i},containsPoint:function(t){for(var e=this.shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},buildMaximalEdgeRings:function(t){for(var e=new w,n=t.iterator();n.hasNext();){var i=n.next();if(i.isInResult()&&i.getLabel().isArea()&&null===i.getEdgeRing()){var r=new rn(i,this.geometryFactory);e.add(r),r.setInResult()}}return e},placePolygonHoles:function(t,e){for(var n=e.iterator();n.hasNext();){var i=n.next();i.isHole()&&i.setShell(t)}},getPolygons:function(){return this.computePolygons(this.shellList)},findEdgeRingContaining:function(t,e){for(var n=t.getLinearRing(),i=n.getEnvelopeInternal(),r=n.getCoordinateN(0),a=null,o=null,s=e.iterator();s.hasNext();){var l=s.next(),u=l.getLinearRing(),c=u.getEnvelopeInternal();null!==a&&(o=a.getLinearRing().getEnvelopeInternal());var h=!1;c.contains(i)&&Qt.isPointInRing(r,u.getCoordinates())&&(h=!0),h&&(null===a||o.contains(c))&&(a=l)}return a},findShell:function(t){for(var e=0,n=null,i=t.iterator();i.hasNext();){var r=i.next();r.isHole()||(n=r,e++)}return d.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n},add:function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],n=arguments[1];hn.linkResultDirectedEdges(n);var i=this.buildMaximalEdgeRings(e),r=new w,a=this.buildMinimalEdgeRings(i,this.shellList,r);this.sortShellsAndHoles(a,this.shellList,r),this.placeFreeHoles(this.shellList,r)}},interfaces_:function(){return[]},getClass:function(){return dn}}),e(pn.prototype,{collectLines:function(t){for(var e=this.op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next();this.collectLineEdge(n,t,this.lineEdgesList),this.collectBoundaryTouchEdge(n,t,this.lineEdgesList)}},labelIsolatedLine:function(t,e){var n=this.ptLocator.locate(t.getCoordinate(),this.op.getArgGeometry(e));t.getLabel().setLocation(e,n)},build:function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this.resultLineList},collectLineEdge:function(t,e,n){var i=t.getLabel(),r=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Vn.isResultOfOp(i,e)||r.isCovered()||(n.add(r),t.setVisitedEdge(!0)))},findCoveredLineEdges:function(){for(var t=this.op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this.op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next(),i=n.getEdge();if(n.isLineEdge()&&!i.isCoveredSet()){var r=this.op.isCoveredByA(n.getCoordinate());i.setCovered(r)}}},labelIsolatedLines:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getLabel();n.isIsolated()&&(i.isNull(0)?this.labelIsolatedLine(n,0):this.labelIsolatedLine(n,1))}},buildLines:function(t){for(var e=this.lineEdgesList.iterator();e.hasNext();){var n=e.next(),i=(n.getLabel(),this.geometryFactory.createLineString(n.getCoordinates()));this.resultLineList.add(i),n.setInResult(!0)}},collectBoundaryTouchEdge:function(t,e,n){var i=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(d.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Vn.isResultOfOp(i,e)&&e===Vn.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))},interfaces_:function(){return[]},getClass:function(){return pn}}),e(fn.prototype,{filterCoveredNodeToPoint:function(t){var e=t.getCoordinate();if(!this.op.isCoveredByLA(e)){var n=this.geometryFactory.createPoint(e);this.resultPointList.add(n)}},extractNonCoveredResultNodes:function(t){for(var e=this.op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();if(!(n.isInResult()||n.isIncidentEdgeInResult()||0!==n.getEdges().getDegree()&&t!==Vn.INTERSECTION)){var i=n.getLabel();Vn.isResultOfOp(i,t)&&this.filterCoveredNodeToPoint(n)}}},build:function(t){return this.extractNonCoveredResultNodes(t),this.resultPointList},interfaces_:function(){return[]},getClass:function(){return fn}}),e(mn.prototype,{locate:function(t){},interfaces_:function(){return[]},getClass:function(){return mn}}),e(gn.prototype,{locate:function(t){return gn.locate(t,this.geom)},interfaces_:function(){return[mn]},getClass:function(){return gn}}),gn.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&Qt.isPointInRing(t,e.getCoordinates())},gn.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!gn.isPointInRing(t,n))return!1;for(var i=0;i=0;n--){var i=this.edgeList.get(n),r=i.getSym();null===e&&(e=r),null!==t&&r.setNext(t),t=i}e.setNext(t)},computeDepths:function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),n=(t.getLabel(),t.getDepth(Ke.LEFT)),i=t.getDepth(Ke.RIGHT),r=this.computeDepths(e+1,this.edgeList.size(),n),a=this.computeDepths(0,e,r);if(a!==i)throw new He("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var o=arguments[0],s=arguments[1],l=arguments[2],u=l,c=o;c=0;r--){var a=this.resultAreaEdgeList.get(r),o=a.getSym();switch(null===e&&a.getEdgeRing()===t&&(e=a),i){case this.SCANNING_FOR_INCOMING:if(o.getEdgeRing()!==t)continue;n=o,i=this.LINKING_TO_OUTGOING;break;case this.LINKING_TO_OUTGOING:if(a.getEdgeRing()!==t)continue;n.setNextMin(a),i=this.SCANNING_FOR_INCOMING}}i===this.LINKING_TO_OUTGOING&&(d.isTrue(null!==e,"found null for first outgoing dirEdge"),d.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),n.setNextMin(e))},getOutgoingDegree:function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){var n=arguments[0];for(t=0,e=this.iterator();e.hasNext();)e.next().getEdgeRing()===n&&t++;return t}},getLabel:function(){return this.label},findCoveredLineEdges:function(){for(var t=E.NONE,e=this.iterator();e.hasNext();){var n=(r=e.next()).getSym();if(!r.isLineEdge()){if(r.isInResult()){t=E.INTERIOR;break}if(n.isInResult()){t=E.EXTERIOR;break}}}if(t===E.NONE)return null;var i=t;for(e=this.iterator();e.hasNext();){var r;n=(r=e.next()).getSym(),r.isLineEdge()?r.getEdge().setCovered(i===E.INTERIOR):(r.isInResult()&&(i=E.EXTERIOR),n.isInResult()&&(i=E.INTERIOR))}},computeLabelling:function(t){vn.prototype.computeLabelling.call(this,t),this.label=new tn(E.NONE);for(var e=this.iterator();e.hasNext();)for(var n=e.next().getEdge().getLabel(),i=0;i<2;i++){var r=n.getLocation(i);r!==E.INTERIOR&&r!==E.BOUNDARY||this.label.setLocation(i,E.INTERIOR)}},interfaces_:function(){return[]},getClass:function(){return yn}}),c(_n,cn),e(_n.prototype,{createNode:function(t){return new on(t,new yn)},interfaces_:function(){return[]},getClass:function(){return _n}}),e(bn.prototype,{computeIntersections:function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},interfaces_:function(){return[]},getClass:function(){return bn}}),e(wn.prototype,{isDelete:function(){return this.eventType===wn.DELETE},setDeleteEventIndex:function(t){this.deleteEventIndex=t},getObject:function(){return this.obj},compareTo:function(t){var e=t;return this.xValuee.xValue?1:this.eventTypee.eventType?1:0},getInsertEvent:function(){return this.insertEvent},isInsert:function(){return this.eventType===wn.INSERT},isSameLabel:function(t){return null!==this.label&&this.label===t.label},getDeleteEventIndex:function(){return this.deleteEventIndex},interfaces_:function(){return[a]},getClass:function(){return wn}}),wn.INSERT=1,wn.DELETE=2,e(xn.prototype,{interfaces_:function(){return[]},getClass:function(){return xn}}),e(kn.prototype,{isTrivialIntersection:function(t,e,n,i){if(t===n&&1===this.li.getIntersectionNum()){if(kn.isAdjacentSegments(e,i))return!0;if(t.isClosed()){var r=t.getNumPoints()-1;if(0===e&&i===r||0===i&&e===r)return!0}}return!1},getProperIntersectionPoint:function(){return this.properIntersectionPoint},setIsDoneIfProperInt:function(t){this.isDoneWhenProperInt=t},hasProperInteriorIntersection:function(){return this.hasProperInterior},isBoundaryPointInternal:function(t,e){for(var n=e.iterator();n.hasNext();){var i=n.next().getCoordinate();if(t.isIntersection(i))return!0}return!1},hasProperIntersection:function(){return this.hasProper},hasIntersection:function(){return this._hasIntersection},isDone:function(){return this._isDone},isBoundaryPoint:function(t,e){return!(null===e||!this.isBoundaryPointInternal(t,e[0])&&!this.isBoundaryPointInternal(t,e[1]))},setBoundaryNodes:function(t,e){this.bdyNodes=new Array(2).fill(null),this.bdyNodes[0]=t,this.bdyNodes[1]=e},addIntersections:function(t,e,n,i){if(t===n&&e===i)return null;this.numTests++;var r=t.getCoordinates()[e],a=t.getCoordinates()[e+1],o=n.getCoordinates()[i],s=n.getCoordinates()[i+1];this.li.computeIntersection(r,a,o,s),this.li.hasIntersection()&&(this.recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this.numIntersections++,this.isTrivialIntersection(t,e,n,i)||(this._hasIntersection=!0,!this.includeProper&&this.li.isProper()||(t.addIntersections(this.li,e,0),n.addIntersections(this.li,i,1)),this.li.isProper()&&(this.properIntersectionPoint=this.li.getIntersection(0).copy(),this.hasProper=!0,this.isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this.li,this.bdyNodes)||(this.hasProperInterior=!0))))},interfaces_:function(){return[]},getClass:function(){return kn}}),kn.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)},c(Cn,xn),e(Cn.prototype,{prepareEvents:function(){Xa.sort(this.events);for(var t=0;te||this.maxa?1:0},interfaces_:function(){return[s]},getClass:function(){return En}}),Tn.NodeComparator=En,c(Sn,Tn),e(Sn.prototype,{query:function(t,e,n){return this.intersects(t,e)?void n.visitItem(this.item):null},interfaces_:function(){return[]},getClass:function(){return Sn}}),c(Pn,Tn),e(Pn.prototype,{buildExtent:function(t,e){this.min=Math.min(t.min,e.min),this.max=Math.max(t.max,e.max)},query:function(t,e,n){return this.intersects(t,e)?(null!==this.node1&&this.node1.query(t,e,n),void(null!==this.node2&&this.node2.query(t,e,n))):null},interfaces_:function(){return[]},getClass:function(){return Pn}}),e(Ln.prototype,{buildTree:function(){Xa.sort(this.leaves,new IntervalRTreeNode.NodeComparator);for(var t=this.leaves,e=null,n=new w;;){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}},insert:function(t,e,n){if(null!==this.root)throw new IllegalStateException("Index cannot be added to once it has been queried");this.leaves.add(new Sn(t,e,n))},query:function(t,e,n){this.init(),this.root.query(t,e,n)},buildRoot:function(){return null!==this.root?null:void(this.root=this.buildTree())},printNode:function(t){N.out.println(Yt.toLineString(new p(t.min,this.level),new p(t.max,this.level)))},init:function(){return null!==this.root?null:void this.buildRoot()},buildLevel:function(t,e){this.level++,e.clear();for(var n=0;n0||!e.coord.equals2D(i);r||n--;var a=new Array(n).fill(null),o=0;a[o++]=new p(t.coord);for(var s=t.segmentIndex+1;s<=e.segmentIndex;s++)a[o++]=this.edge.pts[s];return r&&(a[o]=e.coord),new Bn(a,new tn(this.edge.label))},add:function(t,e,n){var i=new Nn(t,e,n),r=this.nodeMap.get(i);return null!==r?r:(this.nodeMap.put(i,i),i)},isIntersection:function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},interfaces_:function(){return[]},getClass:function(){return Dn}}),e(Rn.prototype,{getChainStartIndices:function(t){var e=0,n=new w;n.add(new I(e));do{var i=this.findChainEnd(t,e);n.add(new I(i)),e=i}while(en?e:n},getMinX:function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return ee&&(i=1),this.depth[t][n]=i}}},getDelta:function(t){return this.depth[t][Ke.RIGHT]-this.depth[t][Ke.LEFT]},getLocation:function(t,e){return this.depth[t][e]<=0?E.EXTERIOR:E.INTERIOR},toString:function(){return"A: "+this.depth[0][1]+","+this.depth[0][2]+" B: "+this.depth[1][1]+","+this.depth[1][2]},add:function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var n=1;n<3;n++){var i=t.getLocation(e,n);i!==E.EXTERIOR&&i!==E.INTERIOR||(this.isNull(e,n)?this.depth[e][n]=Fn.depthAtLocation(i):this.depth[e][n]+=Fn.depthAtLocation(i))}else if(3===arguments.length){var r=arguments[0],a=arguments[1],o=arguments[2];o===E.INTERIOR&&this.depth[r][a]++}},interfaces_:function(){return[]},getClass:function(){return Fn}}),Fn.depthAtLocation=function(t){return t===E.EXTERIOR?0:t===E.INTERIOR?1:Fn.NULL_VALUE},Fn.NULL_VALUE=-1,c(Bn,an),e(Bn.prototype,{getDepth:function(){return this.depth},getCollapsedEdge:function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new Bn(t,tn.toLineLabel(this.label))},isIsolated:function(){return this._isIsolated},getCoordinates:function(){return this.pts},setIsolated:function(t){this._isIsolated=t},setName:function(t){this.name=t},equals:function(t){if(!(t instanceof Bn))return!1;var e=t;if(this.pts.length!==e.pts.length)return!1;for(var n=!0,i=!0,r=this.pts.length,a=0;a0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},print:function(t){t.print("edge "+this.name+": "),t.print("LINESTRING (");for(var e=0;e0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(") "+this.label+" "+this.depthDelta)},computeIM:function(t){Bn.updateIM(this.label,t)},isCollapsed:function(){return!!this.label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},isClosed:function(){return this.pts[0].equals(this.pts[this.pts.length-1])},getMaximumSegmentIndex:function(){return this.pts.length-1},getDepthDelta:function(){return this.depthDelta},getNumPoints:function(){return this.pts.length},printReverse:function(t){t.print("edge "+this.name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},getMonotoneChainEdge:function(){return null===this.mce&&(this.mce=new jn(this)),this.mce},getEnvelope:function(){if(null===this.env){this.env=new k;for(var t=0;t0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(") "+this.label+" "+this.depthDelta),t.toString()},isPointwiseEqual:function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e=2,"found LineString with single point"),this.insertBoundaryPoint(this.argIndex,e[0]),this.insertBoundaryPoint(this.argIndex,e[e.length-1])},getInvalidPoint:function(){return this.invalidPoint},getBoundaryPoints:function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),n=0,i=t.iterator();i.hasNext();){var r=i.next();e[n++]=r.getCoordinate().copy()}return e},getBoundaryNodes:function(){return null===this.boundaryNodes&&(this.boundaryNodes=this.nodes.getBoundaryNodes(this.argIndex)),this.boundaryNodes},addSelfIntersectionNode:function(t,e,n){return this.isBoundaryNode(t,e)?null:void(n===E.BOUNDARY&&this.useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n))},addPolygonRing:function(t,e,n){if(t.isEmpty())return null;var i=H.removeRepeatedPoints(t.getCoordinates());if(i.length<4)return this._hasTooFewPoints=!0,this.invalidPoint=i[0],null;var r=e,a=n;Qt.isCCW(i)&&(r=n,a=e);var o=new Bn(i,new tn(this.argIndex,E.BOUNDARY,r,a));this.lineEdgeMap.put(t,o),this.insertEdge(o),this.insertPoint(this.argIndex,i[0],E.BOUNDARY)},insertPoint:function(t,e,n){var i=this.nodes.addNode(e),r=i.getLabel();null===r?i.label=new tn(t,n):r.setLocation(t,n)},createEdgeSetIntersector:function(){return new Cn},addSelfIntersectionNodes:function(t){for(var e=this.edges.iterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.eiList.iterator();r.hasNext();){var a=r.next();this.addSelfIntersectionNode(t,a.coord,i)}},add:function(){if(1!==arguments.length)return hn.prototype.add.apply(this,arguments);var t=arguments[0];if(t.isEmpty())return null;if(t instanceof It&&(this.useBoundaryDeterminationRule=!1),t instanceof St)this.addPolygon(t);else if(t instanceof kt)this.addLineString(t);else if(t instanceof Tt)this.addPoint(t);else if(t instanceof Pt)this.addCollection(t);else if(t instanceof pt)this.addCollection(t);else if(t instanceof It)this.addCollection(t);else{if(!(t instanceof dt))throw new UnsupportedOperationException(t.getClass().getName());this.addCollection(t)}},addCollection:function(t){for(var e=0;e50?(null===this.areaPtLocator&&(this.areaPtLocator=new An(this.parentGeom)),this.areaPtLocator.locate(t)):this.ptLocator.locate(t,this.parentGeom)},findEdge:function(){if(1===arguments.length){var t=arguments[0];return this.lineEdgeMap.get(t)}return hn.prototype.findEdge.apply(this,arguments)},interfaces_:function(){return[]},getClass:function(){return Un}}),Un.determineBoundary=function(t,e){return t.isInBoundary(e)?E.BOUNDARY:E.INTERIOR},e(qn.prototype,{getArgGeometry:function(t){return this.arg[t].getGeometry()},setComputationPrecision:function(t){this.resultPrecisionModel=t,this.li.setPrecisionModel(this.resultPrecisionModel)},interfaces_:function(){return[]},getClass:function(){return qn}}),e($n.prototype,{compareTo:function(t){var e=t;return $n.compareOriented(this.pts,this._orientation,e.pts,e._orientation)},interfaces_:function(){return[a]},getClass:function(){return $n}}),$n.orientation=function(t){return 1===H.increasingDirection(t)},$n.compareOriented=function(t,e,n,i){for(var r=e?1:-1,a=i?1:-1,o=e?t.length:-1,s=i?n.length:-1,l=e?0:t.length-1,u=i?0:n.length-1;;){var c=t[l].compareTo(n[u]);if(0!==c)return c;var h=(l+=r)===o,d=(u+=a)===s;if(h&&!d)return-1;if(!h&&d)return 1;if(h&&d)return 0}},e(Gn.prototype,{print:function(t){t.print("MULTILINESTRING ( ");for(var e=0;e0&&t.print(","),t.print("(");for(var i=n.getCoordinates(),r=0;r0&&t.print(","),t.print(i[r].x+" "+i[r].y);t.println(")")}t.print(") ")},addAll:function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},findEdgeIndex:function(t){for(var e=0;ethis.maxWidth)&&(this.interiorPoint=e,this.maxWidth=n)},getInteriorPoint:function(){return this.interiorPoint},widestGeometry:function(){if(arguments[0]instanceof dt){var t=arguments[0];if(t.isEmpty())return t;for(var e=t.getGeometryN(0),n=1;ne.getEnvelopeInternal().getWidth()&&(e=t.getGeometryN(n));return e}if(arguments[0]instanceof F){var i=arguments[0];return i instanceof dt?this.widestGeometry(i):i}},horizontalBisector:function(t){var e=t.getEnvelopeInternal(),n=Zn.getBisectorY(t);return this.factory.createLineString([new p(e.getMinX(),n),new p(e.getMaxX(),n)])},add:function(t){if(t instanceof St)this.addPolygon(t);else if(t instanceof dt)for(var e=t,n=0;nthis.loY&&(this.loY=t):t>this.centreY&&tt&&(t=n)}return t+1},nodeSize:function(){for(var t=0,e=0;e<2;e++)null!==this.subnode[e]&&(t+=this.subnode[e].nodeSize());return t+1},add:function(t){this.items.add(t)},interfaces_:function(){return[]},getClass:function(){return Qn}}),Qn.getSubnodeIndex=function(t,e){var n=-1;return t.min>=e&&(n=1),t.max<=e&&(n=0),n},e(ti.prototype,{expandToInclude:function(t){t.max>this.max&&(this.max=t.max),t.minn||this.max=this.min&&e<=this.max}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return n>=this.min&&i<=this.max}},init:function(t,e){this.min=t,this.max=e,t>e&&(this.min=e,this.max=t)},getMax:function(){return this.max},interfaces_:function(){return[]},getClass:function(){return ti}}),ei.exponent=function(t){return function(t,e){var n,i,r,a,o={32:8,64:11}[t];if(a||(n=e<0||1/e<0,isFinite(e)||(a={32:{d:127,c:128,b:0,a:0},64:{d:32752,c:0,b:0,a:0}}[t],n&&(a.d+=1<=2;)i++,r/=2;for(;r<1&&i>0;)i--,r*=2;i<=0&&(r/=2),32===t&&i>254&&(a={d:n?255:127,c:128,b:0,a:0},i=Math.pow(2,o)-1,r=0)}return i}(64,t)-1023},ei.powerOf2=function(t){return Math.pow(2,t)},e(ni.prototype,{getInterval:function(){return this.interval},getLevel:function(){return this.level},computeKey:function(t){for(this.level=ni.computeLevel(t),this.interval=new ti,this.computeInterval(this.level,t);!this.interval.contains(t);)this.level+=1,this.computeInterval(this.level,t)},computeInterval:function(t,e){var n=ei.powerOf2(t);this.pt=Math.floor(e.getMin()/n)*n,this.interval.init(this.pt,this.pt+n)},getPoint:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return ni}}),ni.computeLevel=function(t){var e=t.getWidth();return ei.exponent(e)+1},c(ii,Qn),e(ii.prototype,{getInterval:function(){return this.interval},find:function(t){var e=Qn.getSubnodeIndex(t,this.centre);return-1===e?this:null!==this.subnode[e]?this.subnode[e].find(t):this},insert:function(t){d.isTrue(null===this.interval||this.interval.contains(t.interval));var e=Qn.getSubnodeIndex(t.interval,this.centre);if(t.level===this.level-1)this.subnode[e]=t;else{var n=this.createSubnode(e);n.insert(t),this.subnode[e]=n}},isSearchMatch:function(t){return t.overlaps(this.interval)},getSubnode:function(t){return null===this.subnode[t]&&(this.subnode[t]=this.createSubnode(t)),this.subnode[t]},getNode:function(t){var e=Qn.getSubnodeIndex(t,this.centre);return-1!==e?this.getSubnode(e).getNode(t):this},createSubnode:function(t){var e=0,n=0;switch(t){case 0:e=this.interval.getMin(),n=this.centre;break;case 1:e=this.centre,n=this.interval.getMax()}return new ii(new ti(e,n),this.level-1)},interfaces_:function(){return[]},getClass:function(){return ii}}),ii.createNode=function(t){var e=new ni(t);return new ii(e.getInterval(),e.getLevel())},ii.createExpanded=function(t,e){var n=new ti(e);null!==t&&n.expandToInclude(t.interval);var i=ii.createNode(n);return null!==t&&i.insert(t),i},e(ri.prototype,{interfaces_:function(){return[]},getClass:function(){return ri}}),ri.isZeroWidth=function(t,e){var n=e-t;if(0===n)return!0;var i=n/Math.max(Math.abs(t),Math.abs(e));return ei.exponent(i)<=ri.MIN_BINARY_EXPONENT},ri.MIN_BINARY_EXPONENT=-50,c(ai,Qn),e(ai.prototype,{insert:function(t,e){var n=Qn.getSubnodeIndex(t,ai.origin);if(-1===n)return this.add(e),null;var i=this.subnode[n];if(null===i||!i.getInterval().contains(t)){var r=ii.createExpanded(i,t);this.subnode[n]=r}this.insertContained(this.subnode[n],t,e)},isSearchMatch:function(t){return!0},insertContained:function(t,e,n){d.isTrue(t.getInterval().contains(e)),(ri.isZeroWidth(e.getMin(),e.getMax())?t.find(e):t.getNode(e)).add(n)},interfaces_:function(){return[]},getClass:function(){return ai}}),ai.origin=0,e(oi.prototype,{size:function(){return null!==this.root?this.root.size():0},insert:function(t,e){this.collectStats(t);var n=oi.ensureExtent(t,this.minExtent);this.root.insert(n,e)},query:function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];return this.query(new ti(t,t))}if(arguments[0]instanceof ti){var e=arguments[0],n=new w;return this.query(e,n),n}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.root.addAllItemsFromOverlapping(i,r)}},iterator:function(){var t=new w;return this.root.addAllItems(t),t.iterator()},remove:function(t,e){var n=oi.ensureExtent(t,this.minExtent);return this.root.remove(n,e)},collectStats:function(t){var e=t.getWidth();e0&&(this.minExtent=e)},depth:function(){return null!==this.root?this.root.depth():0},nodeSize:function(){return null!==this.root?this.root.nodeSize():0},interfaces_:function(){return[]},getClass:function(){return oi}}),oi.ensureExtent=function(t,e){var n=t.getMin(),i=t.getMax();return n!==i?t:(n===i&&(i=(n-=e/2)+e/2),new ti(n,i))},e(si.prototype,{isInside:function(t){},interfaces_:function(){return[]},getClass:function(){return si}}),e(li.prototype,{testLineSegment:function(t,e){var n,i,r,a,o=e.p0,s=e.p1;n=o.x-t.x,i=o.y-t.y,r=s.x-t.x,a=s.y-t.y,(i>0&&a<=0||a>0&&i<=0)&&0Math.PI;)t-=ci.PI_TIMES_2;for(;t<=-Math.PI;)t+=ci.PI_TIMES_2;return t},ci.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],n=arguments[1],i=n.x-e.x,r=n.y-e.y;return Math.atan2(r,i)}},ci.isAcute=function(t,e,n){var i=t.x-e.x,r=t.y-e.y;return i*(n.x-e.x)+r*(n.y-e.y)>0},ci.isObtuse=function(t,e,n){var i=t.x-e.x,r=t.y-e.y;return i*(n.x-e.x)+r*(n.y-e.y)<0},ci.interiorAngle=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n);return Math.abs(r-i)},ci.normalizePositive=function(t){if(t<0){for(;t<0;)t+=ci.PI_TIMES_2;t>=ci.PI_TIMES_2&&(t=0)}else{for(;t>=ci.PI_TIMES_2;)t-=ci.PI_TIMES_2;t<0&&(t=0)}return t},ci.angleBetween=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n);return ci.diff(i,r)},ci.diff=function(t,e){var n=null;return(n=tMath.PI&&(n=2*Math.PI-n),n},ci.toRadians=function(t){return t*Math.PI/180},ci.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?ci.COUNTERCLOCKWISE:n<0?ci.CLOCKWISE:ci.NONE},ci.angleBetweenOriented=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n)-i;return r<=-Math.PI?r+ci.PI_TIMES_2:r>Math.PI?r-ci.PI_TIMES_2:r},ci.PI_TIMES_2=2*Math.PI,ci.PI_OVER_2=Math.PI/2,ci.PI_OVER_4=Math.PI/4,ci.COUNTERCLOCKWISE=Qt.COUNTERCLOCKWISE,ci.CLOCKWISE=Qt.CLOCKWISE,ci.NONE=Qt.COLLINEAR,e(hi.prototype,{area:function(){return hi.area(this.p0,this.p1,this.p2)},signedArea:function(){return hi.signedArea(this.p0,this.p1,this.p2)},interpolateZ:function(t){if(null===t)throw new i("Supplied point is null.");return hi.interpolateZ(t,this.p0,this.p1,this.p2)},longestSideLength:function(){return hi.longestSideLength(this.p0,this.p1,this.p2)},isAcute:function(){return hi.isAcute(this.p0,this.p1,this.p2)},circumcentre:function(){return hi.circumcentre(this.p0,this.p1,this.p2)},area3D:function(){return hi.area3D(this.p0,this.p1,this.p2)},centroid:function(){return hi.centroid(this.p0,this.p1,this.p2)},inCentre:function(){return hi.inCentre(this.p0,this.p1,this.p2)},interfaces_:function(){return[]},getClass:function(){return hi}}),hi.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)},hi.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2},hi.det=function(t,e,n,i){return t*i-e*n},hi.interpolateZ=function(t,e,n,i){var r=e.x,a=e.y,o=n.x-r,s=i.x-r,l=n.y-a,u=i.y-a,c=o*u-s*l,h=t.x-r,d=t.y-a,p=(u*h-s*d)/c,f=(-l*h+o*d)/c;return e.z+p*(n.z-e.z)+f*(i.z-e.z)},hi.longestSideLength=function(t,e,n){var i=t.distance(e),r=e.distance(n),a=n.distance(t),o=i;return r>o&&(o=r),a>o&&(o=a),o},hi.isAcute=function(t,e,n){return!!ci.isAcute(t,e,n)&&!!ci.isAcute(e,n,t)&&!!ci.isAcute(n,t,e)},hi.circumcentre=function(t,e,n){var i=n.x,r=n.y,a=t.x-i,o=t.y-r,s=e.x-i,l=e.y-r,u=2*hi.det(a,o,s,l);return new p(i-hi.det(o,a*a+o*o,l,s*s+l*l)/u,r+hi.det(a,a*a+o*o,s,s*s+l*l)/u)},hi.perpendicularBisector=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=new D(t.x+n/2,t.y+i/2,1),a=new D(t.x-i+n/2,t.y+n+i/2,1);return new D(r,a)},hi.angleBisector=function(t,e,n){var i=e.distance(t),r=i/(i+e.distance(n)),a=n.x-t.x,o=n.y-t.y;return new p(t.x+r*a,t.y+r*o)},hi.area3D=function(t,e,n){var i=e.x-t.x,r=e.y-t.y,a=e.z-t.z,o=n.x-t.x,s=n.y-t.y,l=n.z-t.z,u=r*l-a*s,c=a*o-i*l,h=i*s-r*o,d=u*u+c*c+h*h;return Math.sqrt(d)/2},hi.centroid=function(t,e,n){return new p((t.x+e.x+n.x)/3,(t.y+e.y+n.y)/3)},hi.inCentre=function(t,e,n){var i=e.distance(n),r=t.distance(n),a=t.distance(e),o=i+r+a;return new p((i*t.x+r*e.x+a*n.x)/o,(i*t.y+r*e.y+a*n.y)/o)},e(di.prototype,{getRadius:function(){return this.compute(),this.radius},getDiameter:function(){switch(this.compute(),this.extremalPts.length){case 0:return this.input.getFactory().createLineString();case 1:return this.input.getFactory().createPoint(this.centre)}var t=this.extremalPts[0],e=this.extremalPts[1];return this.input.getFactory().createLineString([t,e])},getExtremalPoints:function(){return this.compute(),this.extremalPts},computeCirclePoints:function(){if(this.input.isEmpty())return this.extremalPts=new Array(0).fill(null),null;if(1===this.input.getNumPoints()){var t=this.input.getCoordinates();return this.extremalPts=[new p(t[0])],null}var e=this.input.convexHull().getCoordinates();if(t=e,e[0].equals2D(e[e.length-1])&&(t=new Array(e.length-1).fill(null),H.copyDeep(e,0,t,0,e.length-1)),t.length<=2)return this.extremalPts=H.copyDeep(t),null;for(var n=di.lowestPoint(t),i=di.pointWitMinAngleWithX(t,n),r=0;r=i;)i=r,a=o,o=pi.nextIndex(t,a),r=e.distancePerpendicular(t[o]);return ii&&(i=l),lo&&(o=u),u=t.length&&(e=0),e},pi.computeC=function(t,e,n){return t*n.y-e*n.x},pi.getMinimumDiameter=function(t){return new pi(t).getDiameter()},pi.getMinimumRectangle=function(t){return new pi(t).getMinimumRectangle()},pi.computeSegmentForLine=function(t,e,n){var i=null,r=null;return Math.abs(e)>Math.abs(t)?(i=new p(0,n/e),r=new p(1,n/e-t/e)):(i=new p(n/t,0),r=new p(n/t-e/t,1)),new te(i,r)};var Ja=Object.freeze({Centroid:ne,CGAlgorithms:Qt,ConvexHull:oe,InteriorPointArea:Yn,InteriorPointLine:Xn,InteriorPointPoint:Jn,RobustLineIntersector:Xt,MCPointInRing:li,MinimumBoundingCircle:di,MinimumDiameter:pi});e(fi.prototype,{getResultGeometry:function(){return new mi(this.distanceTolerance).transform(this.inputGeom)},setDistanceTolerance:function(t){if(t<=0)throw new i("Tolerance must be positive");this.distanceTolerance=t},interfaces_:function(){return[]},getClass:function(){return fi}}),fi.densifyPoints=function(t,e,n){for(var i=new te,r=new x,a=0;a1)for(var l=o/s,u=1;uo?1:at&&(t=n)}return t+1},isEmpty:function(){var t=!0;this.items.isEmpty()||(t=!1);for(var e=0;e<4;e++)null!==this.subnode[e]&&(this.subnode[e].isEmpty()||(t=!1));return t},add:function(t){this.items.add(t)},interfaces_:function(){return[l]},getClass:function(){return xi}}),xi.getSubnodeIndex=function(t,e,n){var i=-1;return t.getMinX()>=e&&(t.getMinY()>=n&&(i=3),t.getMaxY()<=n&&(i=1)),t.getMaxX()<=e&&(t.getMinY()>=n&&(i=2),t.getMaxY()<=n&&(i=0)),i},e(ki.prototype,{getLevel:function(){return this.level},computeKey:function(){if(1===arguments.length){var t=arguments[0];for(this.level=ki.computeQuadLevel(t),this.env=new k,this.computeKey(this.level,t);!this.env.contains(t);)this.level+=1,this.computeKey(this.level,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=ei.powerOf2(e);this.pt.x=Math.floor(n.getMinX()/i)*i,this.pt.y=Math.floor(n.getMinY()/i)*i,this.env.init(this.pt.x,this.pt.x+i,this.pt.y,this.pt.y+i)}},getEnvelope:function(){return this.env},getCentre:function(){return new p((this.env.getMinX()+this.env.getMaxX())/2,(this.env.getMinY()+this.env.getMaxY())/2)},getPoint:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return ki}}),ki.computeQuadLevel=function(t){var e=t.getWidth(),n=t.getHeight(),i=e>n?e:n;return ei.exponent(i)+1},c(Ci,xi),e(Ci.prototype,{find:function(t){var e=xi.getSubnodeIndex(t,this.centrex,this.centrey);return-1===e?this:null!==this.subnode[e]?this.subnode[e].find(t):this},isSearchMatch:function(t){return this.env.intersects(t)},getSubnode:function(t){return null===this.subnode[t]&&(this.subnode[t]=this.createSubnode(t)),this.subnode[t]},getEnvelope:function(){return this.env},getNode:function(t){var e=xi.getSubnodeIndex(t,this.centrex,this.centrey);return-1!==e?this.getSubnode(e).getNode(t):this},createSubnode:function(t){var e=0,n=0,i=0,r=0;switch(t){case 0:e=this.env.getMinX(),n=this.centrex,i=this.env.getMinY(),r=this.centrey;break;case 1:e=this.centrex,n=this.env.getMaxX(),i=this.env.getMinY(),r=this.centrey;break;case 2:e=this.env.getMinX(),n=this.centrex,i=this.centrey,r=this.env.getMaxY();break;case 3:e=this.centrex,n=this.env.getMaxX(),i=this.centrey,r=this.env.getMaxY()}return new Ci(new k(e,n,i,r),this.level-1)},insertNode:function(t){d.isTrue(null===this.env||this.env.contains(t.env));var e=xi.getSubnodeIndex(t.env,this.centrex,this.centrey);if(t.level===this.level-1)this.subnode[e]=t;else{var n=this.createSubnode(e);n.insertNode(t),this.subnode[e]=n}},interfaces_:function(){return[]},getClass:function(){return Ci}}),Ci.createNode=function(t){var e=new ki(t);return new Ci(e.getEnvelope(),e.getLevel())},Ci.createExpanded=function(t,e){var n=new k(e);null!==t&&n.expandToInclude(t.env);var i=Ci.createNode(n);return null!==t&&i.insertNode(t),i},c(Ti,xi),e(Ti.prototype,{insert:function(t,e){var n=xi.getSubnodeIndex(t,Ti.origin.x,Ti.origin.y);if(-1===n)return this.add(e),null;var i=this.subnode[n];if(null===i||!i.getEnvelope().contains(t)){var r=Ci.createExpanded(i,t);this.subnode[n]=r}this.insertContained(this.subnode[n],t,e)},isSearchMatch:function(t){return!0},insertContained:function(t,e,n){d.isTrue(t.getEnvelope().contains(e));var i=ri.isZeroWidth(e.getMinX(),e.getMaxX()),r=ri.isZeroWidth(e.getMinY(),e.getMaxY());(i||r?t.find(e):t.getNode(e)).add(n)},interfaces_:function(){return[]},getClass:function(){return Ti}}),Ti.origin=new p(0,0),e(Ei.prototype,{size:function(){return null!==this.root?this.root.size():0},insert:function(t,e){this.collectStats(t);var n=Ei.ensureExtent(t,this.minExtent);this.root.insert(n,e)},query:function(){if(1===arguments.length){var t=arguments[0],e=new On;return this.query(t,e),e.getItems()}if(2===arguments.length){var n=arguments[0],i=arguments[1];this.root.visit(n,i)}},queryAll:function(){var t=new w;return this.root.addAllItems(t),t},remove:function(t,e){var n=Ei.ensureExtent(t,this.minExtent);return this.root.remove(n,e)},collectStats:function(t){var e=t.getWidth();e0&&(this.minExtent=e);var n=t.getHeight();n0&&(this.minExtent=n)},depth:function(){return null!==this.root?this.root.depth():0},isEmpty:function(){return null===this.root},interfaces_:function(){return[Te,l]},getClass:function(){return Ei}}),Ei.ensureExtent=function(t,e){var n=t.getMinX(),i=t.getMaxX(),r=t.getMinY(),a=t.getMaxY();return n!==i&&r!==a?t:(n===i&&(i=(n-=e/2)+e/2),r===a&&(a=(r-=e/2)+e/2),new k(n,i,r,a))},Ei.serialVersionUID=-0x678b60c967a25400;var eo=Object.freeze({Quadtree:Ei}),no=Object.freeze({STRtree:Ie}),io=Object.freeze({quadtree:eo,strtree:no}),ro=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"];e(Si.prototype,{read:function(t){var e,n=(e="string"==typeof t?JSON.parse(t):t).type;if(!ao[n])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==ro.indexOf(n)?ao[n].apply(this,[e.coordinates]):"GeometryCollection"===n?ao[n].apply(this,[e.geometries]):ao[n].apply(this,[e])},write:function(t){var e=t.getGeometryType();if(!oo[e])throw new Error("Geometry is not supported");return oo[e].apply(this,[t])}});var ao={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){var i=t.geometry.type;if(!ao[i])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=ao.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var n=0;n0&&this.minIndexthis.minCoord.y&&n.y>this.minCoord.y&&i===Qt.CLOCKWISE)&&(r=!0),r&&(this.minIndex=this.minIndex-1)},getRightmostSideOfSegment:function(t,e){var n=t.getEdge().getCoordinates();if(e<0||e+1>=n.length)return-1;if(n[e].y===n[e+1].y)return-1;var i=Ke.LEFT;return n[e].ythis.minCoord.x)&&(this.minDe=t,this.minIndex=n,this.minCoord=e[n])},findRightmostEdgeAtNode:function(){var t=this.minDe.getNode().getEdges();this.minDe=t.getRightmostEdge(),this.minDe.isForward()||(this.minDe=this.minDe.getSym(),this.minIndex=this.minDe.getEdge().getCoordinates().length-1)},findEdge:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.isForward()&&this.checkForRightmostCoordinate(n)}d.isTrue(0!==this.minIndex||this.minCoord.equals(this.minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this.minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this.orientedDe=this.minDe,this.getRightmostSide(this.minDe,this.minIndex)===Ke.LEFT&&(this.orientedDe=this.minDe.getSym())},interfaces_:function(){return[]},getClass:function(){return Ri}}),ji.prototype.addLast=function(t){this.array_.push(t)},ji.prototype.removeFirst=function(){return this.array_.shift()},ji.prototype.isEmpty=function(){return 0===this.array_.length},e(Fi.prototype,{clearVisitedEdges:function(){for(var t=this.dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},getRightmostCoordinate:function(){return this.rightMostCoord},computeNodeDepth:function(t){for(var e=null,n=t.getEdges().iterator();n.hasNext();)if((i=n.next()).isVisited()||i.getSym().isVisited()){e=i;break}if(null===e)throw new He("unable to find edge to compute depths at "+t.getCoordinate());for(t.getEdges().computeDepths(e),n=t.getEdges().iterator();n.hasNext();){var i;(i=n.next()).setVisited(!0),this.copySymDepths(i)}},computeDepth:function(t){this.clearVisitedEdges();var e=this.finder.getEdge();e.getNode(),e.getLabel(),e.setEdgeDepths(Ke.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},create:function(t){this.addReachable(t),this.finder.findEdge(this.dirEdgeList),this.rightMostCoord=this.finder.getCoordinate()},findResultEdges:function(){for(var t=this.dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(Ke.RIGHT)>=1&&e.getDepth(Ke.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},computeDepths:function(t){var e=new K,n=new ji,i=t.getNode();for(n.addLast(i),e.add(i),t.setVisited(!0);!n.isEmpty();){var r=n.removeFirst();e.add(r),this.computeNodeDepth(r);for(var a=r.getEdges().iterator();a.hasNext();){var o=a.next().getSym();if(!o.isVisited()){var s=o.getNode();e.contains(s)||(n.addLast(s),e.add(s))}}}},compareTo:function(t){var e=t;return this.rightMostCoord.xe.rightMostCoord.x?1:0},getEnvelope:function(){if(null===this.env){for(var t=new k,e=this.dirEdgeList.iterator();e.hasNext();)for(var n=e.next().getEdge().getCoordinates(),i=0;i=0;n--)this.addPt(t[n])},isRedundant:function(t){if(this.ptList.size()<1)return!1;var e=this.ptList.get(this.ptList.size()-1);return t.distance(e)=2&&this.ptList.get(this.ptList.size()-2),t.equals(e)?null:void this.ptList.add(t)},setMinimumVertexDistance:function(t){this.minimimVertexDistance=t},interfaces_:function(){return[]},getClass:function(){return Ui}}),Ui.COORDINATE_ARRAY_TYPE=new Array(0).fill(null),e(qi.prototype,{addNextSegment:function(t,e){if(this.s0=this.s1,this.s1=this.s2,this.s2=t,this.seg0.setCoordinates(this.s0,this.s1),this.computeOffsetSegment(this.seg0,this.side,this.distance,this.offset0),this.seg1.setCoordinates(this.s1,this.s2),this.computeOffsetSegment(this.seg1,this.side,this.distance,this.offset1),this.s1.equals(this.s2))return null;var n=Qt.computeOrientation(this.s0,this.s1,this.s2),i=n===Qt.CLOCKWISE&&this.side===Ke.LEFT||n===Qt.COUNTERCLOCKWISE&&this.side===Ke.RIGHT;0===n?this.addCollinear(e):i?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)},addLineEndCap:function(t,e){var n=new te(t,e),i=new te;this.computeOffsetSegment(n,Ke.LEFT,this.distance,i);var r=new te;this.computeOffsetSegment(n,Ke.RIGHT,this.distance,r);var a=e.x-t.x,o=e.y-t.y,s=Math.atan2(o,a);switch(this.bufParams.getEndCapStyle()){case Di.CAP_ROUND:this.segList.addPt(i.p1),this.addFilletArc(e,s+Math.PI/2,s-Math.PI/2,Qt.CLOCKWISE,this.distance),this.segList.addPt(r.p1);break;case Di.CAP_FLAT:this.segList.addPt(i.p1),this.segList.addPt(r.p1);break;case Di.CAP_SQUARE:var l=new p;l.x=Math.abs(this.distance)*Math.cos(s),l.y=Math.abs(this.distance)*Math.sin(s);var u=new p(i.p1.x+l.x,i.p1.y+l.y),c=new p(r.p1.x+l.x,r.p1.y+l.y);this.segList.addPt(u),this.segList.addPt(c)}},getCoordinates:function(){return this.segList.getCoordinates()},addMitreJoin:function(t,e,n,i){var r=!0,a=null;try{a=D.intersection(e.p0,e.p1,n.p0,n.p1),(i<=0?1:a.distance(t)/Math.abs(i))>this.bufParams.getMitreLimit()&&(r=!1)}catch(t){if(!(t instanceof T))throw t;a=new p(0,0),r=!1}r?this.segList.addPt(a):this.addLimitedMitreJoin(e,n,i,this.bufParams.getMitreLimit())},addFilletCorner:function(t,e,n,i,r){var a=e.x-t.x,o=e.y-t.y,s=Math.atan2(o,a),l=n.x-t.x,u=n.y-t.y,c=Math.atan2(u,l);i===Qt.CLOCKWISE?s<=c&&(s+=2*Math.PI):s>=c&&(s-=2*Math.PI),this.segList.addPt(e),this.addFilletArc(t,s,c,i,r),this.segList.addPt(n)},addOutsideTurn:function(t,e){return this.offset0.p1.distance(this.offset1.p0)0){var n=new p((this.closingSegLengthFactor*this.offset0.p1.x+this.s1.x)/(this.closingSegLengthFactor+1),(this.closingSegLengthFactor*this.offset0.p1.y+this.s1.y)/(this.closingSegLengthFactor+1));this.segList.addPt(n);var i=new p((this.closingSegLengthFactor*this.offset1.p0.x+this.s1.x)/(this.closingSegLengthFactor+1),(this.closingSegLengthFactor*this.offset1.p0.y+this.s1.y)/(this.closingSegLengthFactor+1));this.segList.addPt(i)}else this.segList.addPt(this.s1);this.segList.addPt(this.offset1.p0)}},createCircle:function(t){var e=new p(t.x+this.distance,t.y);this.segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this.distance),this.segList.closeRing()},addBevelJoin:function(t,e){this.segList.addPt(t.p1),this.segList.addPt(e.p0)},init:function(t){this.distance=t,this.maxCurveSegmentError=t*(1-Math.cos(this.filletAngleQuantum/2)),this.segList=new Ui,this.segList.setPrecisionModel(this.precisionModel),this.segList.setMinimumVertexDistance(t*qi.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},addCollinear:function(t){this.li.computeIntersection(this.s0,this.s1,this.s1,this.s2),this.li.getIntersectionNum()>=2&&(this.bufParams.getJoinStyle()===Di.JOIN_BEVEL||this.bufParams.getJoinStyle()===Di.JOIN_MITRE?(t&&this.segList.addPt(this.offset0.p1),this.segList.addPt(this.offset1.p0)):this.addFilletCorner(this.s1,this.offset0.p1,this.offset1.p0,Qt.CLOCKWISE,this.distance))},closeRing:function(){this.segList.closeRing()},hasNarrowConcaveAngle:function(){return this._hasNarrowConcaveAngle},interfaces_:function(){return[]},getClass:function(){return qi}}),qi.OFFSET_SEGMENT_SEPARATION_FACTOR=.001,qi.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR=.001,qi.CURVE_VERTEX_SNAP_DISTANCE_FACTOR=1e-6,qi.MAX_CLOSING_SEG_LEN_FACTOR=80,e($i.prototype,{getOffsetCurve:function(t,e){if(this.distance=e,0===e)return null;var n=e<0,i=Math.abs(e),r=this.getSegGen(i);t.length<=1?this.computePointCurve(t[0],r):this.computeOffsetCurve(t,n,r);var a=r.getCoordinates();return n&&H.reverse(a),a},computeSingleSidedBufferCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);if(e){n.addSegments(t,!0);var r=Bi.simplify(t,-i),a=r.length-1;n.initSideSegments(r[a],r[a-1],Ke.LEFT),n.addFirstSegment();for(var o=a-2;o>=0;o--)n.addNextSegment(r[o],!0)}else{n.addSegments(t,!1);var s=Bi.simplify(t,i),l=s.length-1;for(n.initSideSegments(s[0],s[1],Ke.LEFT),n.addFirstSegment(),o=2;o<=l;o++)n.addNextSegment(s[o],!0)}n.addLastSegment(),n.closeRing()},computeRingBufferCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);e===Ke.RIGHT&&(i=-i);var r=Bi.simplify(t,i),a=r.length-1;n.initSideSegments(r[a-1],r[0],e);for(var o=1;o<=a;o++){var s=1!==o;n.addNextSegment(r[o],s)}n.closeRing()},computeLineBufferCurve:function(t,e){var n=this.simplifyTolerance(this.distance),i=Bi.simplify(t,n),r=i.length-1;e.initSideSegments(i[0],i[1],Ke.LEFT);for(var a=2;a<=r;a++)e.addNextSegment(i[a],!0);e.addLastSegment(),e.addLineEndCap(i[r-1],i[r]);var o=Bi.simplify(t,-n),s=o.length-1;for(e.initSideSegments(o[s],o[s-1],Ke.LEFT),a=s-2;a>=0;a--)e.addNextSegment(o[a],!0);e.addLastSegment(),e.addLineEndCap(o[1],o[0]),e.closeRing()},computePointCurve:function(t,e){switch(this.bufParams.getEndCapStyle()){case Di.CAP_ROUND:e.createCircle(t);break;case Di.CAP_SQUARE:e.createSquare(t)}},getLineCurve:function(t,e){if(this.distance=e,e<0&&!this.bufParams.isSingleSided())return null;if(0===e)return null;var n=Math.abs(e),i=this.getSegGen(n);if(t.length<=1)this.computePointCurve(t[0],i);else if(this.bufParams.isSingleSided()){var r=e<0;this.computeSingleSidedBufferCurve(t,r,i)}else this.computeLineBufferCurve(t,i);return i.getCoordinates()},getBufferParameters:function(){return this.bufParams},simplifyTolerance:function(t){return t*this.bufParams.getSimplifyFactor()},getRingCurve:function(t,e,n){if(this.distance=n,t.length<=2)return this.getLineCurve(t,n);if(0===n)return $i.copyCoordinates(t);var i=this.getSegGen(n);return this.computeRingBufferCurve(t,e,i),i.getCoordinates()},computeOffsetCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);if(e){var r=Bi.simplify(t,-i),a=r.length-1;n.initSideSegments(r[a],r[a-1],Ke.LEFT),n.addFirstSegment();for(var o=a-2;o>=0;o--)n.addNextSegment(r[o],!0)}else{var s=Bi.simplify(t,i),l=s.length-1;for(n.initSideSegments(s[0],s[1],Ke.LEFT),n.addFirstSegment(),o=2;o<=l;o++)n.addNextSegment(s[o],!0)}n.addLastSegment()},getSegGen:function(t){return new qi(this.precisionModel,this.bufParams,t)},interfaces_:function(){return[]},getClass:function(){return $i}}),$i.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;nr.getMaxY()||this.findStabbedSegments(t,i.getDirectedEdges(),e)}return e}if(3===arguments.length)if(S(arguments[2],y)&&arguments[0]instanceof p&&arguments[1]instanceof un){var a=arguments[0],o=arguments[1],s=arguments[2],l=o.getEdge().getCoordinates();for(n=0;nthis.seg.p1.y&&this.seg.reverse();var u=Math.max(this.seg.p0.x,this.seg.p1.x);if(!(uthis.seg.p1.y||Qt.computeOrientation(this.seg.p0,this.seg.p1,a)===Qt.RIGHT)){var c=o.getDepth(Ke.LEFT);this.seg.p0.equals(l[n])||(c=o.getDepth(Ke.RIGHT));var h=new Vi(this.seg,c);s.add(h)}}}else if(S(arguments[2],y)&&arguments[0]instanceof p&&S(arguments[1],y)){var d=arguments[0],f=arguments[1],m=arguments[2];for(n=f.iterator();n.hasNext();){var g=n.next();g.isForward()&&this.findStabbedSegments(d,g,m)}}},getDepth:function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:Xa.min(e).leftDepth},interfaces_:function(){return[]},getClass:function(){return Gi}}),e(Vi.prototype,{compareTo:function(t){var e=t;if(this.upwardSeg.minX()>=e.upwardSeg.maxX())return 1;if(this.upwardSeg.maxX()<=e.upwardSeg.minX())return-1;var n=this.upwardSeg.orientationIndex(e.upwardSeg);return 0!==n||0!=(n=-1*e.upwardSeg.orientationIndex(this.upwardSeg))?n:this.upwardSeg.compareTo(e.upwardSeg)},compareX:function(t,e){var n=t.p0.compareTo(e.p0);return 0!==n?n:t.p1.compareTo(e.p1)},toString:function(){return this.upwardSeg.toString()},interfaces_:function(){return[a]},getClass:function(){return Vi}}),Gi.DepthSegment=Vi,e(Hi.prototype,{addPoint:function(t){if(this.distance<=0)return null;var e=t.getCoordinates(),n=this.curveBuilder.getLineCurve(e,this.distance);this.addCurve(n,E.EXTERIOR,E.INTERIOR)},addPolygon:function(t){var e=this.distance,n=Ke.LEFT;this.distance<0&&(e=-this.distance,n=Ke.RIGHT);var i=t.getExteriorRing(),r=H.removeRepeatedPoints(i.getCoordinates());if(this.distance<0&&this.isErodedCompletely(i,this.distance))return null;if(this.distance<=0&&r.length<3)return null;this.addPolygonRing(r,e,n,E.EXTERIOR,E.INTERIOR);for(var a=0;a0&&this.isErodedCompletely(o,-this.distance)||this.addPolygonRing(s,e,Ke.opposite(n),E.INTERIOR,E.EXTERIOR)}},isTriangleErodedCompletely:function(t,e){var n=new hi(t[0],t[1],t[2]),i=n.inCentre();return Qt.distancePointLine(i,n.p0,n.p1)=Lt.MINIMUM_VALID_SIZE&&Qt.isCCW(t)&&(a=r,o=i,n=Ke.opposite(n));var s=this.curveBuilder.getRingCurve(t,n,e);this.addCurve(s,a,o)},add:function(t){if(t.isEmpty())return null;if(t instanceof St)this.addPolygon(t);else if(t instanceof kt)this.addLineString(t);else if(t instanceof Tt)this.addPoint(t);else if(t instanceof Pt)this.addCollection(t);else if(t instanceof pt)this.addCollection(t);else if(t instanceof It)this.addCollection(t);else{if(!(t instanceof dt))throw new UnsupportedOperationException(t.getClass().getName());this.addCollection(t)}},isErodedCompletely:function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(4===n.length)return this.isTriangleErodedCompletely(n,e);var i=t.getEnvelopeInternal(),r=Math.min(i.getHeight(),i.getWidth());return e<0&&2*Math.abs(e)>r},addCollection:function(t){for(var e=0;ei||this.maxya;if(o)return!1;var s=this.intersectsToleranceSquare(t,e);return d.isTrue(!(o&&s),"Found bad envelope test"),s},initCorners:function(t){var e=.5;this.minx=t.x-e,this.maxx=t.x+e,this.miny=t.y-e,this.maxy=t.y+e,this.corner[0]=new p(this.maxx,this.maxy),this.corner[1]=new p(this.minx,this.maxy),this.corner[2]=new p(this.minx,this.miny),this.corner[3]=new p(this.maxx,this.miny)},intersects:function(t,e){return 1===this.scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this.p0Scaled),this.copyScaled(e,this.p1Scaled),this.intersectsScaled(this.p0Scaled,this.p1Scaled))},scale:function(t){return Math.round(t*this.scaleFactor)},getCoordinate:function(){return this.originalPt},copyScaled:function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},getSafeEnvelope:function(){if(null===this.safeEnv){var t=Xi.SAFE_ENV_EXPANSION_FACTOR/this.scaleFactor;this.safeEnv=new k(this.originalPt.x-t,this.originalPt.x+t,this.originalPt.y-t,this.originalPt.y+t)}return this.safeEnv},intersectsPixelClosure:function(t,e){return this.li.computeIntersection(t,e,this.corner[0],this.corner[1]),!!(this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[1],this.corner[2]),this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[2],this.corner[3]),this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[3],this.corner[0]),this.li.hasIntersection()))))},intersectsToleranceSquare:function(t,e){var n=!1,i=!1;return this.li.computeIntersection(t,e,this.corner[0],this.corner[1]),!!(this.li.isProper()||(this.li.computeIntersection(t,e,this.corner[1],this.corner[2]),this.li.isProper()||(this.li.hasIntersection()&&(n=!0),this.li.computeIntersection(t,e,this.corner[2],this.corner[3]),this.li.isProper()||(this.li.hasIntersection()&&(i=!0),this.li.computeIntersection(t,e,this.corner[3],this.corner[0]),this.li.isProper()||n&&i||t.equals(this.pt)||e.equals(this.pt)))))},addSnappedNode:function(t,e){var n=t.getCoordinate(e),i=t.getCoordinate(e+1);return!!this.intersects(n,i)&&(t.addIntersection(this.getCoordinate(),e),!0)},interfaces_:function(){return[]},getClass:function(){return Xi}}),Xi.SAFE_ENV_EXPANSION_FACTOR=.75,e(Ji.prototype,{snap:function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],n=arguments[1],i=arguments[2],r=e.getSafeEnvelope(),a=new Ki(e,n,i);return this.index.query(r,{interfaces_:function(){return[Ce]},visitItem:function(t){t.select(r,a)}}),a.isNodeAdded()}},interfaces_:function(){return[]},getClass:function(){return Ji}}),c(Ki,Kn),e(Ki.prototype,{isNodeAdded:function(){return this._isNodeAdded},select:function(){if(2!==arguments.length)return Kn.prototype.select.apply(this,arguments);var t=arguments[0],e=arguments[1],n=t.getContext();return null!==this.parentEdge&&n===this.parentEdge&&e===this.hotPixelVertexIndex?null:void(this._isNodeAdded=this.hotPixel.addSnappedNode(n,e))},interfaces_:function(){return[]},getClass:function(){return Ki}}),Ji.HotPixelSnapAction=Ki,e(Qi.prototype,{processIntersections:function(t,e,n,i){if(t===n&&e===i)return null;var r=t.getCoordinates()[e],a=t.getCoordinates()[e+1],o=n.getCoordinates()[i],s=n.getCoordinates()[i+1];if(this.li.computeIntersection(r,a,o,s),this.li.hasIntersection()&&this.li.isInteriorIntersection()){for(var l=0;l=0;t--){try{this.bufferReducedPrecision(t)}catch(t){if(!(t instanceof He))throw t;this.saveException=t}if(null!==this.resultGeometry)return null}throw this.saveException}if(1===arguments.length){var e=arguments[0],n=er.precisionScaleFactor(this.argGeom,this.distance,e),i=new Gt(n);this.bufferFixedPrecision(i)}},computeGeometry:function(){if(this.bufferOriginalPrecision(),null!==this.resultGeometry)return null;var t=this.argGeom.getFactory().getPrecisionModel();t.getType()===Gt.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},setQuadrantSegments:function(t){this.bufParams.setQuadrantSegments(t)},bufferOriginalPrecision:function(){try{var t=new Yi(this.bufParams);this.resultGeometry=t.buffer(this.argGeom,this.distance)}catch(t){if(!(t instanceof u))throw t;this.saveException=t}},getResultGeometry:function(t){return this.distance=t,this.computeGeometry(),this.resultGeometry},setEndCapStyle:function(t){this.bufParams.setEndCapStyle(t)},interfaces_:function(){return[]},getClass:function(){return er}}),er.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new er(t);return n.getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof F&&"number"==typeof arguments[1]){var i=arguments[0],r=arguments[1],a=arguments[2];return(u=new er(i)).setQuadrantSegments(a),u.getResultGeometry(r)}if(arguments[2]instanceof Di&&arguments[0]instanceof F&&"number"==typeof arguments[1]){var o=arguments[0],s=arguments[1],l=arguments[2];return(u=new er(o,l)).getResultGeometry(s)}}else if(4===arguments.length){var u,c=arguments[0],h=arguments[1],d=arguments[2],p=arguments[3];return(u=new er(c)).setQuadrantSegments(d),u.setEndCapStyle(p),u.getResultGeometry(h)}},er.precisionScaleFactor=function(t,e,n){var i=t.getEnvelopeInternal(),r=P.max(Math.abs(i.getMaxX()),Math.abs(i.getMaxY()),Math.abs(i.getMinX()),Math.abs(i.getMinY()))+2*(e>0?e:0),a=n-Math.trunc(Math.log(r)/Math.log(10)+1);return Math.pow(10,a)},er.CAP_ROUND=Di.CAP_ROUND,er.CAP_BUTT=Di.CAP_FLAT,er.CAP_FLAT=Di.CAP_FLAT,er.CAP_SQUARE=Di.CAP_SQUARE,er.MAX_PRECISION_DIGITS=12;var uo=Object.freeze({BufferOp:er,BufferParameters:Di});e(nr.prototype,{filter:function(t){t instanceof St&&this.comps.add(t)},interfaces_:function(){return[ct]},getClass:function(){return nr}}),nr.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return nr.getPolygons(t,new w)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof St?n.add(e):e instanceof dt&&e.apply(new nr(n)),n}},e(ir.prototype,{isInsideArea:function(){return this.segIndex===ir.INSIDE_AREA},getCoordinate:function(){return this.pt},getGeometryComponent:function(){return this.component},getSegmentIndex:function(){return this.segIndex},interfaces_:function(){return[]},getClass:function(){return ir}}),ir.INSIDE_AREA=-1,e(rr.prototype,{filter:function(t){t instanceof Tt&&this.pts.add(t)},interfaces_:function(){return[ct]},getClass:function(){return rr}}),rr.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof Tt?Xa.singletonList(t):rr.getPoints(t,new w)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof Tt?n.add(e):e instanceof dt&&e.apply(new rr(n)),n}},e(ar.prototype,{filter:function(t){(t instanceof Tt||t instanceof kt||t instanceof St)&&this.locations.add(new ir(t,0,t.getCoordinate()))},interfaces_:function(){return[ct]},getClass:function(){return ar}}),ar.getLocations=function(t){var e=new w;return t.apply(new ar(e)),e},e(or.prototype,{computeContainmentDistance:function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this.minDistance<=this.terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=1-e,r=nr.getPolygons(this.geom[e]);if(r.size()>0){var a=ar.getLocations(this.geom[i]);if(this.computeContainmentDistance(a,r,n),this.minDistance<=this.terminateDistance)return this.minDistanceLocation[i]=n[0],this.minDistanceLocation[e]=n[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&S(arguments[0],y)&&S(arguments[1],y)){for(var o=arguments[0],s=arguments[1],l=arguments[2],u=0;uthis.minDistance)return null;for(var i=t.getCoordinates(),r=e.getCoordinate(),a=0;athis.minDistance)return null;i=l.getCoordinates();var h=u.getCoordinates();for(a=0;at&&H.reverse(this.coordinates)}return this.coordinates},toLineString:function(){return this.factory.createLineString(this.getCoordinates())},add:function(t){this.directedEdges.add(t)},interfaces_:function(){return[]},getClass:function(){return sr}}),e(lr.prototype,{setVisited:function(t){this._isVisited=t},isMarked:function(){return this._isMarked},setData:function(t){this.data=t},getData:function(){return this.data},setMarked:function(t){this._isMarked=t},getContext:function(){return this.data},isVisited:function(){return this._isVisited},setContext:function(t){this.data=t},interfaces_:function(){return[]},getClass:function(){return lr}}),lr.getComponentWithVisitedState=function(t,e){for(;t.hasNext();){var n=t.next();if(n.isVisited()===e)return n}return null},lr.setVisited=function(t,e){for(;t.hasNext();)t.next().setVisited(e)},lr.setMarked=function(t,e){for(;t.hasNext();)t.next().setMarked(e)},c(ur,lr),e(ur.prototype,{isRemoved:function(){return null===this.parentEdge},compareDirection:function(t){return this.quadrant>t.quadrant?1:this.quadrant=t.getNumPoints()&&null===i)return null;var a=t.getCoordinate(r);null!==i&&i.segmentIndex===n.segmentIndex&&(a=i.coord);var o=new ln(t,n.coord,a,new tn(t.getLabel()));e.add(o)},createEdgeEndForPrev:function(t,e,n,i){var r=n.segmentIndex;if(0===n.dist){if(0===r)return null;r--}var a=t.getCoordinate(r);null!==i&&i.segmentIndex>=r&&(a=i.coord);var o=new tn(t.getLabel());o.flip();var s=new ln(t,n.coord,a,o);e.add(s)},computeEdgeEnds:function(){if(1===arguments.length){for(var t=arguments[0],e=new w,n=t;n.hasNext();){var i=n.next();this.computeEdgeEnds(i,e)}return e}if(2===arguments.length){var r=arguments[0],a=arguments[1],o=r.getEdgeIntersectionList();o.addEndpoints();var s=o.iterator(),l=null,u=null;if(!s.hasNext())return null;var c=s.next();do{l=u,u=c,c=null,s.hasNext()&&(c=s.next()),null!==u&&(this.createEdgeEndForPrev(r,a,u,l),this.createEdgeEndForNext(r,a,u,c))}while(null!==u)}},interfaces_:function(){return[]},getClass:function(){return xr}}),c(kr,ln),e(kr.prototype,{insert:function(t){this.edgeEnds.add(t)},print:function(t){t.println("EdgeEndBundle--\x3e Label: "+this.label);for(var e=this.iterator();e.hasNext();)e.next().print(t),t.println()},iterator:function(){return this.edgeEnds.iterator()},getEdgeEnds:function(){return this.edgeEnds},computeLabelOn:function(t,e){for(var n=0,i=!1,r=this.iterator();r.hasNext();)(a=r.next().getLabel().getLocation(t))===E.BOUNDARY&&n++,a===E.INTERIOR&&(i=!0);var a=E.NONE;i&&(a=E.INTERIOR),n>0&&(a=Un.determineBoundary(e,n)),this.label.setLocation(t,a)},computeLabelSide:function(t,e){for(var n=this.iterator();n.hasNext();){var i=n.next();if(i.getLabel().isArea()){var r=i.getLabel().getLocation(t,e);if(r===E.INTERIOR)return this.label.setLocation(t,e,E.INTERIOR),null;r===E.EXTERIOR&&this.label.setLocation(t,e,E.EXTERIOR)}}},getLabel:function(){return this.label},computeLabelSides:function(t){this.computeLabelSide(t,Ke.LEFT),this.computeLabelSide(t,Ke.RIGHT)},updateIM:function(t){Bn.updateIM(this.label,t)},computeLabel:function(t){for(var e=!1,n=this.iterator();n.hasNext();)n.next().getLabel().isArea()&&(e=!0);this.label=e?new tn(E.NONE,E.NONE,E.NONE):new tn(E.NONE);for(var i=0;i<2;i++)this.computeLabelOn(i,t),e&&this.computeLabelSides(i)},interfaces_:function(){return[]},getClass:function(){return kr}}),c(Cr,vn),e(Cr.prototype,{updateIM:function(t){for(var e=this.iterator();e.hasNext();)e.next().updateIM(t)},insert:function(t){var e=this.edgeMap.get(t);null===e?(e=new kr(t),this.insertEdgeEnd(t,e)):e.insert(t)},interfaces_:function(){return[]},getClass:function(){return Cr}}),c(Tr,on),e(Tr.prototype,{updateIMFromEdges:function(t){this.edges.updateIM(t)},computeIM:function(t){t.setAtLeastIfValid(this.label.getLocation(0),this.label.getLocation(1),0)},interfaces_:function(){return[]},getClass:function(){return Tr}}),c(Er,cn),e(Er.prototype,{createNode:function(t){return new Tr(t,new Cr)},interfaces_:function(){return[]},getClass:function(){return Er}}),e(Sr.prototype,{insertEdgeEnds:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.nodes.add(n)}},getNodeIterator:function(){return this.nodes.iterator()},copyNodesAndLabels:function(t,e){for(var n=t.getNodeIterator();n.hasNext();){var i=n.next();this.nodes.addNode(i.getCoordinate()).setLabel(e,i.getLabel().getLocation(e))}},build:function(t){this.computeIntersectionNodes(t,0),this.copyNodesAndLabels(t,0);var e=(new xr).computeEdgeEnds(t.getEdgeIterator());this.insertEdgeEnds(e)},computeIntersectionNodes:function(t,e){for(var n=t.getEdgeIterator();n.hasNext();)for(var i=n.next(),r=i.getLabel().getLocation(e),a=i.getEdgeIntersectionList().iterator();a.hasNext();){var o=a.next(),s=this.nodes.addNode(o.coord);r===E.BOUNDARY?s.setLabelBoundary(e):s.getLabel().isNull(e)&&s.setLabel(e,E.INTERIOR)}},interfaces_:function(){return[]},getClass:function(){return Sr}}),e(Pr.prototype,{isNodeEdgeAreaLabelsConsistent:function(){for(var t=this.nodeGraph.getNodeIterator();t.hasNext();){var e=t.next();if(!e.getEdges().isAreaLabelsConsistent(this.geomGraph))return this.invalidPoint=e.getCoordinate().copy(),!1}return!0},getInvalidPoint:function(){return this.invalidPoint},hasDuplicateRings:function(){for(var t=this.nodeGraph.getNodeIterator();t.hasNext();)for(var e=t.next().getEdges().iterator();e.hasNext();){var n=e.next();if(n.getEdgeEnds().size()>1)return this.invalidPoint=n.getEdge().getCoordinate(0),!0}return!1},isNodeConsistentArea:function(){var t=this.geomGraph.computeSelfNodes(this.li,!0,!0);return t.hasProperIntersection()?(this.invalidPoint=t.getProperIntersectionPoint(),!1):(this.nodeGraph.build(this.geomGraph),this.isNodeEdgeAreaLabelsConsistent())},interfaces_:function(){return[]},getClass:function(){return Pr}}),e(Lr.prototype,{buildIndex:function(){this.index=new Ie;for(var t=0;t=1&&(e=t.getCoordinateN(0)),this.validErr=new Ir(Ir.RING_NOT_CLOSED,e)}},checkShellsNotNested:function(t,e){for(var n=0;n=0;i--)n.add(t[i],!1)},Ar.findEdgeRingContaining=function(t,e){for(var n=t.getRing(),i=n.getEnvelopeInternal(),r=n.getCoordinateN(0),a=null,o=null,s=e.iterator();s.hasNext();){var l=s.next(),u=l.getRing(),c=u.getEnvelopeInternal();if(!c.equals(i)&&c.contains(i)){r=H.ptNotInList(n.getCoordinates(),u.getCoordinates());var h=!1;Qt.isPointInRing(r,u.getCoordinates())&&(h=!0),h&&(null===a||o.contains(c))&&(o=(a=l).getRing().getEnvelopeInternal())}}return a},e(Mr.prototype,{compare:function(t,e){var n=e;return t.getRing().getEnvelope().compareTo(n.getRing().getEnvelope())},interfaces_:function(){return[s]},getClass:function(){return Mr}}),Ar.EnvelopeComparator=Mr,c(zr,gr),e(zr.prototype,{findEdgeRing:function(t){var e=new Ar(this.factory);return e.build(t),e},computeDepthParity:function(){if(0===arguments.length)for(;;){var t=null;if(null===t)return null;this.computeDepthParity(t)}},computeNextCWEdges:function(){for(var t=this.nodeIterator();t.hasNext();){var e=t.next();zr.computeNextCWEdges(e)}},addEdge:function(t){if(t.isEmpty())return null;var e=H.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return null;var n=e[0],i=e[e.length-1],r=this.getNode(n),a=this.getNode(i),o=new _r(r,a,e[1],!0),s=new _r(a,r,e[e.length-2],!1),l=new br(t);l.setDirectedEdges(o,s),this.add(l)},deleteCutEdges:function(){this.computeNextCWEdges(),zr.findLabeledEdgeRings(this.dirEdges);for(var t=new w,e=this.dirEdges.iterator();e.hasNext();){var n=e.next();if(!n.isMarked()){var i=n.getSym();if(n.getLabel()===i.getLabel()){n.setMarked(!0),i.setMarked(!0);var r=n.getEdge();t.add(r.getLine())}}}return t},getEdgeRings:function(){this.computeNextCWEdges(),zr.label(this.dirEdges,-1);var t=zr.findLabeledEdgeRings(this.dirEdges);this.convertMaximalToMinimalEdgeRings(t);for(var e=new w,n=this.dirEdges.iterator();n.hasNext();){var i=n.next();if(!i.isMarked()&&!i.isInRing()){var r=this.findEdgeRing(i);e.add(r)}}return e},getNode:function(t){var e=this.findNode(t);return null===e&&(e=new pr(t),this.add(e)),e},convertMaximalToMinimalEdgeRings:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getLabel(),r=zr.findIntersectionNodes(n,i);if(null!==r)for(var a=r.iterator();a.hasNext();){var o=a.next();zr.computeNextCCWEdges(o,i)}}},deleteDangles:function(){for(var t=this.findNodesOfDegree(1),e=new K,n=new re,i=t.iterator();i.hasNext();)n.push(i.next());for(;!n.isEmpty();){var r=n.pop();for(zr.deleteAllEdges(r),i=r.getOutEdges().getEdges().iterator();i.hasNext();){var a=i.next();a.setMarked(!0);var o=a.getSym();null!==o&&o.setMarked(!0);var s=a.getEdge();e.add(s.getLine());var l=a.getToNode();1===zr.getDegreeNonDeleted(l)&&n.push(l)}}return e},interfaces_:function(){return[]},getClass:function(){return zr}}),zr.findLabeledEdgeRings=function(t){for(var e=new w,n=1,i=t.iterator();i.hasNext();){var r=i.next();if(!(r.isMarked()||r.getLabel()>=0)){e.add(r);var a=Ar.findDirEdgesInRing(r);zr.label(a,n),n++}}return e},zr.getDegreeNonDeleted=function(t){for(var e=0,n=t.getOutEdges().getEdges().iterator();n.hasNext();)n.next().isMarked()||e++;return e},zr.deleteAllEdges=function(t){for(var e=t.getOutEdges().getEdges().iterator();e.hasNext();){var n=e.next();n.setMarked(!0);var i=n.getSym();null!==i&&i.setMarked(!0)}},zr.label=function(t,e){for(var n=t.iterator();n.hasNext();)n.next().setLabel(e)},zr.computeNextCWEdges=function(t){for(var e=null,n=null,i=t.getOutEdges().getEdges().iterator();i.hasNext();){var r=i.next();r.isMarked()||(null===e&&(e=r),null!==n&&n.getSym().setNext(r),n=r)}null!==n&&n.getSym().setNext(e)},zr.computeNextCCWEdges=function(t,e){for(var n=null,i=null,r=t.getOutEdges().getEdges(),a=r.size()-1;a>=0;a--){var o=r.get(a),s=o.getSym(),l=null;o.getLabel()===e&&(l=o);var u=null;s.getLabel()===e&&(u=s),null===l&&null===u||(null!==u&&(i=u),null!==l&&(null!==i&&(i.setNext(l),i=null),null===n&&(n=l)))}null!==i&&(d.isTrue(null!==n),i.setNext(n))},zr.getDegree=function(t,e){for(var n=0,i=t.getOutEdges().getEdges().iterator();i.hasNext();)i.next().getLabel()===e&&n++;return n},zr.findIntersectionNodes=function(t,e){var n=t,i=null;do{var r=n.getFromNode();zr.getDegree(r,e)>1&&(null===i&&(i=new w),i.add(r)),n=n.getNext(),d.isTrue(null!==n,"found null DE in ring"),d.isTrue(n===t||!n.isInRing(),"found DE already in ring")}while(n!==t);return i},e(Nr.prototype,{getGeometry:function(){return null===this.geomFactory&&(this.geomFactory=new Ht),this.polygonize(),this.extractOnlyPolygonal?this.geomFactory.buildGeometry(this.polyList):this.geomFactory.createGeometryCollection(Ht.toGeometryArray(this.polyList))},getInvalidRingLines:function(){return this.polygonize(),this.invalidRingLines},findValidRings:function(t,e,n){for(var i=t.iterator();i.hasNext();){var r=i.next();r.isValid()?e.add(r):n.add(r.getLineString())}},polygonize:function(){if(null!==this.polyList)return null;if(this.polyList=new w,null===this.graph)return null;this.dangles=this.graph.deleteDangles(),this.cutEdges=this.graph.deleteCutEdges();var t=this.graph.getEdgeRings(),e=new w;this.invalidRingLines=new w,this.isCheckingRingsValid?this.findValidRings(t,e,this.invalidRingLines):e=t,this.findShellsAndHoles(e),Nr.assignHolesToShells(this.holeList,this.shellList),Xa.sort(this.shellList,new Ar.EnvelopeComparator);var n=!0;this.extractOnlyPolygonal&&(Nr.findDisjointShells(this.shellList),n=!1),this.polyList=Nr.extractPolygons(this.shellList,n)},getDangles:function(){return this.polygonize(),this.dangles},getCutEdges:function(){return this.polygonize(),this.cutEdges},getPolygons:function(){return this.polygonize(),this.polyList},add:function(){if(S(arguments[0],g))for(var t=arguments[0],e=t.iterator();e.hasNext();){var n=e.next();this.add(n)}else if(arguments[0]instanceof kt){var i=arguments[0];this.geomFactory=i.getFactory(),null===this.graph&&(this.graph=new zr(this.geomFactory)),this.graph.addEdge(i)}else if(arguments[0]instanceof F){var r=arguments[0];r.apply(this.lineStringAdder)}},setCheckRingsValid:function(t){this.isCheckingRingsValid=t},findShellsAndHoles:function(t){this.holeList=new w,this.shellList=new w;for(var e=t.iterator();e.hasNext();){var n=e.next();n.computeHole(),n.isHole()?this.holeList.add(n):this.shellList.add(n)}},interfaces_:function(){return[]},getClass:function(){return Nr}}),Nr.findOuterShells=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getOuterHole();null===i||i.isProcessed()||(n.setIncluded(!0),i.setProcessed(!0))}},Nr.extractPolygons=function(t,e){for(var n=new w,i=t.iterator();i.hasNext();){var r=i.next();(e||r.isIncluded())&&n.add(r.getPolygon())}return n},Nr.assignHolesToShells=function(t,e){for(var n=t.iterator();n.hasNext();){var i=n.next();Nr.assignHoleToShell(i,e)}},Nr.assignHoleToShell=function(t,e){var n=Ar.findEdgeRingContaining(t,e);null!==n&&n.addHole(t)},Nr.findDisjointShells=function(t){Nr.findOuterShells(t);var e=null;do{e=!1;for(var n=t.iterator();n.hasNext();){var i=n.next();i.isIncludedSet()||(i.updateIncluded(),i.isIncludedSet()||(e=!0))}}while(e)},e(Dr.prototype,{filter:function(t){t instanceof kt&&this.p.add(t)},interfaces_:function(){return[j]},getClass:function(){return Dr}}),Nr.LineStringAdder=Dr;var fo=Object.freeze({Polygonizer:Nr});e(Rr.prototype,{insertEdgeEnds:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.nodes.add(n)}},computeProperIntersectionIM:function(t,e){var n=this.arg[0].getGeometry().getDimension(),i=this.arg[1].getGeometry().getDimension(),r=t.hasProperIntersection(),a=t.hasProperInteriorIntersection();2===n&&2===i?r&&e.setAtLeast("212101212"):2===n&&1===i?(r&&e.setAtLeast("FFF0FFFF2"),a&&e.setAtLeast("1FFFFF1FF")):1===n&&2===i?(r&&e.setAtLeast("F0FFFFFF2"),a&&e.setAtLeast("1F1FFFFFF")):1===n&&1===i&&a&&e.setAtLeast("0FFFFFFFF")},labelIsolatedEdges:function(t,e){for(var n=this.arg[t].getEdgeIterator();n.hasNext();){var i=n.next();i.isIsolated()&&(this.labelIsolatedEdge(i,e,this.arg[e].getGeometry()),this.isolatedEdges.add(i))}},labelIsolatedEdge:function(t,e,n){if(n.getDimension()>0){var i=this.ptLocator.locate(t.getCoordinate(),n);t.getLabel().setAllLocations(e,i)}else t.getLabel().setAllLocations(e,E.EXTERIOR)},computeIM:function(){var t=new ee;if(t.set(E.EXTERIOR,E.EXTERIOR,2),!this.arg[0].getGeometry().getEnvelopeInternal().intersects(this.arg[1].getGeometry().getEnvelopeInternal()))return this.computeDisjointIM(t),t;this.arg[0].computeSelfNodes(this.li,!1),this.arg[1].computeSelfNodes(this.li,!1);var e=this.arg[0].computeEdgeIntersections(this.arg[1],this.li,!1);this.computeIntersectionNodes(0),this.computeIntersectionNodes(1),this.copyNodesAndLabels(0),this.copyNodesAndLabels(1),this.labelIsolatedNodes(),this.computeProperIntersectionIM(e,t);var n=new xr,i=n.computeEdgeEnds(this.arg[0].getEdgeIterator());this.insertEdgeEnds(i);var r=n.computeEdgeEnds(this.arg[1].getEdgeIterator());return this.insertEdgeEnds(r),this.labelNodeEdges(),this.labelIsolatedEdges(0,1),this.labelIsolatedEdges(1,0),this.updateIM(t),t},labelNodeEdges:function(){for(var t=this.nodes.iterator();t.hasNext();)t.next().getEdges().computeLabelling(this.arg)},copyNodesAndLabels:function(t){for(var e=this.arg[t].getNodeIterator();e.hasNext();){var n=e.next();this.nodes.addNode(n.getCoordinate()).setLabel(t,n.getLabel().getLocation(t))}},labelIntersectionNodes:function(t){for(var e=this.arg[t].getEdgeIterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.getEdgeIntersectionList().iterator();r.hasNext();){var a=r.next(),o=this.nodes.find(a.coord);o.getLabel().isNull(t)&&(i===E.BOUNDARY?o.setLabelBoundary(t):o.setLabel(t,E.INTERIOR))}},labelIsolatedNode:function(t,e){var n=this.ptLocator.locate(t.getCoordinate(),this.arg[e].getGeometry());t.getLabel().setAllLocations(e,n)},computeIntersectionNodes:function(t){for(var e=this.arg[t].getEdgeIterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.getEdgeIntersectionList().iterator();r.hasNext();){var a=r.next(),o=this.nodes.addNode(a.coord);i===E.BOUNDARY?o.setLabelBoundary(t):o.getLabel().isNull(t)&&o.setLabel(t,E.INTERIOR)}},labelIsolatedNodes:function(){for(var t=this.nodes.iterator();t.hasNext();){var e=t.next(),n=e.getLabel();d.isTrue(n.getGeometryCount()>0,"node with empty label found"),e.isIsolated()&&(n.isNull(0)?this.labelIsolatedNode(e,0):this.labelIsolatedNode(e,1))}},updateIM:function(t){for(var e=this.isolatedEdges.iterator();e.hasNext();)e.next().updateIM(t);for(var n=this.nodes.iterator();n.hasNext();){var i=n.next();i.updateIM(t),i.updateIMFromEdges(t)}},computeDisjointIM:function(t){var e=this.arg[0].getGeometry();e.isEmpty()||(t.set(E.INTERIOR,E.EXTERIOR,e.getDimension()),t.set(E.BOUNDARY,E.EXTERIOR,e.getBoundaryDimension()));var n=this.arg[1].getGeometry();n.isEmpty()||(t.set(E.EXTERIOR,E.INTERIOR,n.getDimension()),t.set(E.EXTERIOR,E.BOUNDARY,n.getBoundaryDimension()))},interfaces_:function(){return[]},getClass:function(){return Rr}}),e(jr.prototype,{isContainedInBoundary:function(t){if(t instanceof St)return!1;if(t instanceof Tt)return this.isPointContainedInBoundary(t);if(t instanceof kt)return this.isLineStringContainedInBoundary(t);for(var e=0;e0){var i=t;t=e,e=i}var r=!1;return e.y>t.y&&(r=!0),r?this.li.computeIntersection(t,e,this.diagDown0,this.diagDown1):this.li.computeIntersection(t,e,this.diagUp0,this.diagUp1),!!this.li.hasIntersection()},interfaces_:function(){return[]},getClass:function(){return Fr}}),e(Br.prototype,{applyTo:function(t){for(var e=0;e=this.rectEnv.getMinX()&&e.getMaxX()<=this.rectEnv.getMaxX()||e.getMinY()>=this.rectEnv.getMinY()&&e.getMaxY()<=this.rectEnv.getMaxY()?(this._intersects=!0,null):void 0:null},intersects:function(){return this._intersects},interfaces_:function(){return[]},getClass:function(){return qr}}),c($r,Br),e($r.prototype,{isDone:function(){return!0===this._containsPoint},visit:function(t){if(!(t instanceof St))return null;var e=t.getEnvelopeInternal();if(!this.rectEnv.intersects(e))return null;for(var n=new p,i=0;i<4;i++)if(this.rectSeq.getCoordinate(i,n),e.contains(n)&&gn.containsPointInPolygon(n,t))return this._containsPoint=!0,null},containsPoint:function(){return this._containsPoint},interfaces_:function(){return[]},getClass:function(){return $r}}),c(Gr,Br),e(Gr.prototype,{intersects:function(){return this.hasIntersection},isDone:function(){return!0===this.hasIntersection},visit:function(t){var e=t.getEnvelopeInternal();if(!this.rectEnv.intersects(e))return null;var n=In.getLines(t);this.checkIntersectionWithLineStrings(n)},checkIntersectionWithLineStrings:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();if(this.checkIntersectionWithSegments(n),this.hasIntersection)return null}},checkIntersectionWithSegments:function(t){for(var e=t.getCoordinateSequence(),n=1;n=t.size()?null:t.get(e)},Zr.union=function(t){return new Zr(t).union()},Zr.STRTREE_NODE_CAPACITY=4,e(Xr.prototype,{unionNoOpt:function(t){var e=this.geomFact.createPoint();return Wn.overlayOp(t,e,Vn.UNION)},unionWithNull:function(t,e){return null===t&&null===e?null:null===e?t:null===t?e:t.union(e)},extract:function(){if(S(arguments[0],g))for(var t=arguments[0],e=t.iterator();e.hasNext();){var n=e.next();this.extract(n)}else if(arguments[0]instanceof F){var i=arguments[0];null===this.geomFact&&(this.geomFact=i.getFactory()),Yr.extract(i,F.SORTINDEX_POLYGON,this.polygons),Yr.extract(i,F.SORTINDEX_LINESTRING,this.lines),Yr.extract(i,F.SORTINDEX_POINT,this.points)}},union:function(){if(null===this.geomFact)return null;var t=null;if(this.points.size()>0){var e=this.geomFact.buildGeometry(this.points);t=this.unionNoOpt(e)}var n=null;if(this.lines.size()>0){var i=this.geomFact.buildGeometry(this.lines);n=this.unionNoOpt(i)}var r=null;this.polygons.size()>0&&(r=Zr.union(this.polygons));var a=this.unionWithNull(n,r),o=null;return o=null===t?a:null===a?t:Wr.union(t,a),null===o?this.geomFact.createGeometryCollection():o},interfaces_:function(){return[]},getClass:function(){return Xr}}),Xr.union=function(){if(1===arguments.length){if(S(arguments[0],g)){var t=arguments[0];return new Xr(t).union()}if(arguments[0]instanceof F){var e=arguments[0];return new Xr(e).union()}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return new Xr(n,i).union()}};var go=Object.freeze({UnaryUnionOp:Xr}),vo=Object.freeze({IsValidOp:Or,ConsistentAreaTester:Pr}),yo=Object.freeze({BoundaryOp:ft,IsSimpleOp:zi,buffer:uo,distance:co,linemerge:ho,overlay:po,polygonize:fo,relate:mo,union:go,valid:vo});c(Jr,Ot.CoordinateOperation),e(Jr.prototype,{editCoordinates:function(t,e){if(0===t.length)return null;for(var n=new Array(t.length).fill(null),i=0;i=2&&(n=!0),e.edit(t,new Jr(this.targetPM,n))},changePM:function(t,e){return this.createEditor(t.getFactory(),e).edit(t,new Ot.NoOpGeometryOperation)},setRemoveCollapsedComponents:function(t){this.removeCollapsed=t},createFactory:function(t,e){return new Ht(e,t.getSRID(),t.getCoordinateSequenceFactory())},setChangePrecisionModel:function(t){this.changePrecisionModel=t},reduce:function(t){var e=this.reducePointwise(t);return this.isPointwise?e:S(e,Et)?e.isValid()?e:this.fixPolygonalTopology(e):e},setPointwise:function(t){this.isPointwise=t},createEditor:function(t,e){return t.getPrecisionModel()===e?new Ot:new Ot(this.createFactory(t,e))},interfaces_:function(){return[]},getClass:function(){return Kr}}),Kr.reduce=function(t,e){return new Kr(e).reduce(t)},Kr.reducePointwise=function(t,e){var n=new Kr(e);return n.setPointwise(!0),n.reduce(t)};var _o=Object.freeze({GeometryPrecisionReducer:Kr});e(Qr.prototype,{simplifySection:function(t,e){if(t+1===e)return null;this.seg.p0=this.pts[t],this.seg.p1=this.pts[e];for(var n=-1,i=t,r=t+1;rn&&(n=a,i=r)}if(n<=this.distanceTolerance)for(r=t+1;rthis.distanceTolerance&&(a=!1);var l=new te;if(l.p0=this.linePts[t],l.p1=this.linePts[e],i[0]=t,i[1]=e,this.hasBadIntersection(this.line,i,l)&&(a=!1),a)return r=this.flatten(t,e),this.line.addToResult(r),null;this.simplifySection(t,s,n),this.simplifySection(s,e,n)},hasBadOutputIntersection:function(t){for(var e=this.outputIndex.query(t).iterator();e.hasNext();){var n=e.next();if(this.hasInteriorIntersection(n,t))return!0}return!1},findFurthestPoint:function(t,e,n,i){var r=new te;r.p0=t[e],r.p1=t[n];for(var a=-1,o=e,s=e+1;sa&&(a=u,o=s)}return i[0]=a,o},simplify:function(t){this.line=t,this.linePts=t.getParentCoordinates(),this.simplifySection(0,this.linePts.length-1,0)},remove:function(t,e,n){for(var i=e;i=e[0]&&ii&&(o=i),r.setMinimumLength(o),r.splitAt(a),r.getSplitPoint()},interfaces_:function(){return[da]},getClass:function(){return pa}}),pa.projectedSplitPoint=function(t,e){return t.getLineSegment().project(e)},e(fa.prototype,{interfaces_:function(){return[]},getClass:function(){return fa}}),fa.triArea=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)},fa.isInCircleDDNormalized=function(t,e,n,i){var r=A.valueOf(t.x).selfSubtract(i.x),a=A.valueOf(t.y).selfSubtract(i.y),o=A.valueOf(e.x).selfSubtract(i.x),s=A.valueOf(e.y).selfSubtract(i.y),l=A.valueOf(n.x).selfSubtract(i.x),u=A.valueOf(n.y).selfSubtract(i.y),c=r.multiply(s).selfSubtract(o.multiply(a)),h=o.multiply(u).selfSubtract(l.multiply(s)),d=l.multiply(a).selfSubtract(r.multiply(u)),p=r.multiply(r).selfAdd(a.multiply(a)),f=o.multiply(o).selfAdd(s.multiply(s)),m=l.multiply(l).selfAdd(u.multiply(u));return p.selfMultiply(h).selfAdd(f.selfMultiply(d)).selfAdd(m.selfMultiply(c)).doubleValue()>0},fa.checkRobustInCircle=function(t,e,n,i){var r=fa.isInCircleNonRobust(t,e,n,i),a=fa.isInCircleDDSlow(t,e,n,i),o=fa.isInCircleCC(t,e,n,i),s=hi.circumcentre(t,e,n);N.out.println("p radius diff a = "+Math.abs(i.distance(s)-t.distance(s))/t.distance(s)),r===a&&r===o||(N.out.println("inCircle robustness failure (double result = "+r+", DD result = "+a+", CC result = "+o+")"),N.out.println(Yt.toLineString(new Dt([t,e,n,i]))),N.out.println("Circumcentre = "+Yt.toPoint(s)+" radius = "+t.distance(s)),N.out.println("p radius diff a = "+Math.abs(i.distance(s)/t.distance(s)-1)),N.out.println("p radius diff b = "+Math.abs(i.distance(s)/e.distance(s)-1)),N.out.println("p radius diff c = "+Math.abs(i.distance(s)/n.distance(s)-1)),N.out.println())},fa.isInCircleDDFast=function(t,e,n,i){var r=A.sqr(t.x).selfAdd(A.sqr(t.y)).selfMultiply(fa.triAreaDDFast(e,n,i)),a=A.sqr(e.x).selfAdd(A.sqr(e.y)).selfMultiply(fa.triAreaDDFast(t,n,i)),o=A.sqr(n.x).selfAdd(A.sqr(n.y)).selfMultiply(fa.triAreaDDFast(t,e,i)),s=A.sqr(i.x).selfAdd(A.sqr(i.y)).selfMultiply(fa.triAreaDDFast(t,e,n));return r.selfSubtract(a).selfAdd(o).selfSubtract(s).doubleValue()>0},fa.isInCircleCC=function(t,e,n,i){var r=hi.circumcentre(t,e,n),a=t.distance(r);return i.distance(r)-a<=0},fa.isInCircleNormalized=function(t,e,n,i){var r=t.x-i.x,a=t.y-i.y,o=e.x-i.x,s=e.y-i.y,l=n.x-i.x,u=n.y-i.y;return(r*r+a*a)*(o*u-l*s)+(o*o+s*s)*(l*a-r*u)+(l*l+u*u)*(r*s-o*a)>0},fa.isInCircleDDSlow=function(t,e,n,i){var r=A.valueOf(i.x),a=A.valueOf(i.y),o=A.valueOf(t.x),s=A.valueOf(t.y),l=A.valueOf(e.x),u=A.valueOf(e.y),c=A.valueOf(n.x),h=A.valueOf(n.y),d=o.multiply(o).add(s.multiply(s)).multiply(fa.triAreaDDSlow(l,u,c,h,r,a)),p=l.multiply(l).add(u.multiply(u)).multiply(fa.triAreaDDSlow(o,s,c,h,r,a)),f=c.multiply(c).add(h.multiply(h)).multiply(fa.triAreaDDSlow(o,s,l,u,r,a)),m=r.multiply(r).add(a.multiply(a)).multiply(fa.triAreaDDSlow(o,s,l,u,c,h));return d.subtract(p).add(f).subtract(m).doubleValue()>0},fa.isInCircleNonRobust=function(t,e,n,i){return(t.x*t.x+t.y*t.y)*fa.triArea(e,n,i)-(e.x*e.x+e.y*e.y)*fa.triArea(t,n,i)+(n.x*n.x+n.y*n.y)*fa.triArea(t,e,i)-(i.x*i.x+i.y*i.y)*fa.triArea(t,e,n)>0},fa.isInCircleRobust=function(t,e,n,i){return fa.isInCircleNormalized(t,e,n,i)},fa.triAreaDDSlow=function(t,e,n,i,r,a){return n.subtract(t).multiply(a.subtract(e)).subtract(i.subtract(e).multiply(r.subtract(t)))},fa.triAreaDDFast=function(t,e,n){var i=A.valueOf(e.x).selfSubtract(t.x).selfMultiply(A.valueOf(n.y).selfSubtract(t.y)),r=A.valueOf(e.y).selfSubtract(t.y).selfMultiply(A.valueOf(n.x).selfSubtract(t.x));return i.selfSubtract(r)},e(ma.prototype,{circleCenter:function(t,e){var n,i=new ma(this.getX(),this.getY()),r=new D(this.bisector(i,t),this.bisector(t,e)),a=null;try{a=new ma(r.getX(),r.getY())}catch(n){if(!(n instanceof T))throw n;N.err.println("a: "+i+" b: "+t+" c: "+e),N.err.println(n)}return a},dot:function(t){return this.p.x*t.getX()+this.p.y*t.getY()},magn:function(){return Math.sqrt(this.p.x*this.p.x+this.p.y*this.p.y)},getZ:function(){return this.p.z},bisector:function(t,e){var n=e.getX()-t.getX(),i=e.getY()-t.getY(),r=new D(t.getX()+n/2,t.getY()+i/2,1),a=new D(t.getX()-i+n/2,t.getY()+n+i/2,1);return new D(r,a)},equals:function(){if(1===arguments.length){var t=arguments[0];return this.p.x===t.getX()&&this.p.y===t.getY()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return this.p.distance(e.getCoordinate())0},getX:function(){return this.p.x},crossProduct:function(t){return this.p.x*t.getY()-this.p.y*t.getX()},setZ:function(t){this.p.z=t},times:function(t){return new ma(t*this.p.x,t*this.p.y)},cross:function(){return new ma(this.p.y,-this.p.x)},leftOf:function(t){return this.isCCW(t.orig(),t.dest())},toString:function(){return"POINT ("+this.p.x+" "+this.p.y+")"},sub:function(t){return new ma(this.p.x-t.getX(),this.p.y-t.getY())},getY:function(){return this.p.y},classify:function(t,e){var n=this,i=e.sub(t),r=n.sub(t),a=i.crossProduct(r);return a>0?ma.LEFT:a<0?ma.RIGHT:i.getX()*r.getX()<0||i.getY()*r.getY()<0?ma.BEHIND:i.magn()i?10*n:10*i,this.frameVertex[0]=new ma((t.getMaxX()+t.getMinX())/2,t.getMaxY()+e),this.frameVertex[1]=new ma(t.getMinX()-e,t.getMinY()-e),this.frameVertex[2]=new ma(t.getMaxX()+e,t.getMinY()-e),this.frameEnv=new k(this.frameVertex[0].getCoordinate(),this.frameVertex[1].getCoordinate()),this.frameEnv.expandToInclude(this.frameVertex[2].getCoordinate())},getTriangleCoordinates:function(t){var e=new Sa;return this.visitTriangles(e,t),e.getTriangles()},getVertices:function(t){for(var e=new K,n=this.quadEdges.iterator();n.hasNext();){var i=n.next(),r=i.orig();!t&&this.isFrameVertex(r)||e.add(r);var a=i.dest();!t&&this.isFrameVertex(a)||e.add(a)}return e},fetchTriangleToVisit:function(t,e,n,i){var r=t,a=0,o=!1;do{this.triEdges[a]=r,this.isFrameEdge(r)&&(o=!0);var s=r.sym();i.contains(s)||e.push(s),i.add(r),a++,r=r.lNext()}while(r!==t);return o&&!n?null:this.triEdges},getEdges:function(){if(0===arguments.length)return this.quadEdges;if(1===arguments.length){for(var t=arguments[0],e=this.getPrimaryEdges(!1),n=new Array(e.size()).fill(null),i=0,r=e.iterator();r.hasNext();){var a=r.next();n[i++]=t.createLineString([a.orig().getCoordinate(),a.dest().getCoordinate()])}return t.createMultiLineString(n)}},getVertexUniqueEdges:function(t){for(var e=new w,n=new K,i=this.quadEdges.iterator();i.hasNext();){var r=i.next(),a=r.orig();n.contains(a)||(n.add(a),!t&&this.isFrameVertex(a)||e.add(r));var o=r.sym(),s=o.orig();n.contains(s)||(n.add(s),!t&&this.isFrameVertex(s)||e.add(o))}return e},getTriangleEdges:function(t){var e=new Ta;return this.visitTriangles(e,t),e.getTriangleEdges()},getPrimaryEdges:function(t){this.visitedKey++;var e=new w,n=new re;n.push(this.startingEdge);for(var i=new K;!n.empty();){var r=n.pop();if(!i.contains(r)){var a=r.getPrimary();!t&&this.isFrameEdge(a)||e.add(a),n.push(r.oNext()),n.push(r.sym().oNext()),i.add(r),i.add(r.sym())}}return e},delete:function(t){va.splice(t,t.oPrev()),va.splice(t.sym(),t.sym().oPrev());var e=t.sym(),n=t.rot(),i=t.rot().sym();this.quadEdges.remove(t),this.quadEdges.remove(e),this.quadEdges.remove(n),this.quadEdges.remove(i),t.delete(),e.delete(),n.delete(),i.delete()},locateFromEdge:function(t,e){for(var n=0,i=this.quadEdges.size(),r=e;;){if(++n>i)throw new wa(r.toLineSegment());if(t.equals(r.orig())||t.equals(r.dest()))break;if(t.rightOf(r))r=r.sym();else if(t.rightOf(r.oNext())){if(t.rightOf(r.dPrev()))break;r=r.dPrev()}else r=r.oNext()}return r},getTolerance:function(){return this.tolerance},getVoronoiCellPolygons:function(t){this.visitTriangles(new Ca,!0);for(var e=new w,n=this.getVertexUniqueEdges(!1).iterator();n.hasNext();){var i=n.next();e.add(this.getVoronoiCellPolygon(i,t))}return e},getVoronoiDiagram:function(t){var e=this.getVoronoiCellPolygons(t);return t.createGeometryCollection(Ht.toGeometryArray(e))},getTriangles:function(t){for(var e=this.getTriangleCoordinates(!1),n=new Array(e.size()).fill(null),i=0,r=e.iterator();r.hasNext();){var a=r.next();n[i++]=t.createPolygon(t.createLinearRing(a),null)}return t.createGeometryCollection(n)},insertSite:function(t){var e=this.locate(t);if(t.equals(e.orig(),this.tolerance)||t.equals(e.dest(),this.tolerance))return e;var n=this.makeEdge(e.orig(),t);va.splice(n,e);var i=n;do{e=(n=this.connect(e,n.sym())).oPrev()}while(e.lNext()!==i);return i},locate:function(){if(1===arguments.length){if(arguments[0]instanceof ma){var t=arguments[0];return this.locator.locate(t)}if(arguments[0]instanceof p){var e=arguments[0];return this.locator.locate(new ma(e))}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=this.locator.locate(new ma(n));if(null===r)return null;var a=r;r.dest().getCoordinate().equals2D(n)&&(a=r.sym());var o=a;do{if(o.dest().getCoordinate().equals2D(i))return o;o=o.oNext()}while(o!==a);return null}},interfaces_:function(){return[]},getClass:function(){return ka}}),ka.getTriangleEdges=function(t,e){if(e[0]=t,e[1]=e[0].lNext(),e[2]=e[1].lNext(),e[2].lNext()!==e[0])throw new i("Edges do not form a triangle")},e(Ca.prototype,{visit:function(t){for(var e=t[0].orig().getCoordinate(),n=t[1].orig().getCoordinate(),i=t[2].orig().getCoordinate(),r=new ma(hi.circumcentre(e,n,i)),a=0;a<3;a++)t[a].rot().setOrig(r)},interfaces_:function(){return[xa]},getClass:function(){return Ca}}),e(Ta.prototype,{getTriangleEdges:function(){return this.triList},visit:function(t){this.triList.add(t.clone())},interfaces_:function(){return[xa]},getClass:function(){return Ta}}),e(Ea.prototype,{visit:function(t){this.triList.add([t[0].orig(),t[1].orig(),t[2].orig()])},getTriangleVertices:function(){return this.triList},interfaces_:function(){return[xa]},getClass:function(){return Ea}}),e(Sa.prototype,{checkTriangleSize:function(t){t.length>=2?Yt.toLineString(t[0],t[1]):t.length>=1&&Yt.toPoint(t[0])},visit:function(t){this.coordList.clear();for(var e=0;e<3;e++){var n=t[e].orig();this.coordList.add(n.getCoordinate())}if(this.coordList.size()>0){this.coordList.closeRing();var i=this.coordList.toCoordinateArray();if(4!==i.length)return null;this.triCoords.add(i)}},getTriangles:function(){return this.triCoords},interfaces_:function(){return[xa]},getClass:function(){return Sa}}),ka.TriangleCircumcentreVisitor=Ca,ka.TriangleEdgesListVisitor=Ta,ka.TriangleVertexListVisitor=Ea,ka.TriangleCoordinatesVisitor=Sa,ka.EDGE_COINCIDENCE_TOL_FACTOR=1e3,e(Pa.prototype,{getLineSegment:function(){return this.ls},getEndZ:function(){return this.ls.getCoordinate(1).z},getStartZ:function(){return this.ls.getCoordinate(0).z},intersection:function(t){return this.ls.intersection(t.getLineSegment())},getStart:function(){return this.ls.getCoordinate(0)},getEnd:function(){return this.ls.getCoordinate(1)},getEndY:function(){return this.ls.getCoordinate(1).y},getStartX:function(){return this.ls.getCoordinate(0).x},equalsTopo:function(t){return this.ls.equalsTopo(t.getLineSegment())},getStartY:function(){return this.ls.getCoordinate(0).y},setData:function(t){this.data=t},getData:function(){return this.data},getEndX:function(){return this.ls.getCoordinate(1).x},toString:function(){return this.ls.toString()},interfaces_:function(){return[]},getClass:function(){return Pa}}),e(La.prototype,{visit:function(t){},interfaces_:function(){return[]},getClass:function(){return La}}),e(Ia.prototype,{isRepeated:function(){return this.count>1},getRight:function(){return this.right},getCoordinate:function(){return this.p},setLeft:function(t){this.left=t},getX:function(){return this.p.x},getData:function(){return this.data},getCount:function(){return this.count},getLeft:function(){return this.left},getY:function(){return this.p.y},increment:function(){this.count=this.count+1},setRight:function(t){this.right=t},interfaces_:function(){return[]},getClass:function(){return Ia}}),e(Oa.prototype,{insert:function(){if(1===arguments.length){var t=arguments[0];return this.insert(t,null)}if(2===arguments.length){var e=arguments[0],n=arguments[1];if(null===this.root)return this.root=new Ia(e,n),this.root;if(this.tolerance>0){var i=this.findBestMatchNode(e);if(null!==i)return i.increment(),i}return this.insertExact(e,n)}},query:function(){var t=arguments,e=this;if(1===arguments.length){var n=arguments[0],i=new w;return this.query(n,i),i}if(2===arguments.length)if(arguments[0]instanceof k&&S(arguments[1],y))!function(){var n=t[0],i=t[1];e.queryNode(e.root,n,!0,{interfaces_:function(){return[La]},visit:function(t){i.add(t)}})}();else if(arguments[0]instanceof k&&S(arguments[1],La)){var r=arguments[0],a=arguments[1];this.queryNode(this.root,r,!0,a)}},queryNode:function(t,e,n,i){if(null===t)return null;var r=null,a=null,o=null;n?(r=e.getMinX(),a=e.getMaxX(),o=t.getX()):(r=e.getMinY(),a=e.getMaxY(),o=t.getY());var s=o<=a;r0&&te)&&or.isWithinDistance(this,t,e)},distance:function(t){return or.distance(this,t)},isEquivalentClass:function(t){return this.getClass()===t.getClass()}}),t.version="1.3.0 (6e65adb)",t.algorithm=Ja,t.densify=Ka,t.dissolve=Qa,t.geom=Za,t.geomgraph=to,t.index=io,t.io=so,t.noding=lo,t.operation=yo,t.precision=_o,t.simplify=bo,t.triangulate=xo,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],29:[function(t,e,n){var i=t("@turf/meta").coordEach,r=t("@turf/centroid"),a=t("@turf/convex"),o=t("@turf/explode"),s=t("@turf/helpers").point;e.exports=function(t){if("Feature"===t.type&&"Polygon"===t.geometry.type){var n=[];i(t,(function(t){n.push(t)}));var l,u,c,h,d,p,f,m,g=r(t),v=g.geometry.coordinates,y=0,_=0,b=0,w=n.map((function(t){return[t[0]-v[0],t[1]-v[1]]}));for(l=0;l=3){for(var o=[],s=0;s0)-(t<0)},n.abs=function(t){var e=t>>31;return(t^e)-e},n.min=function(t,e){return e^(t^e)&-(t65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},n.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},n.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},n.countTrailingZeros=i,n.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,1+(t|=t>>>16)},n.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},n.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var r=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,i=e,r=7;for(n>>>=1;n;n>>>=1)i<<=1,i|=1&n,--r;t[e]=i<>>8&255]<<16|r[t>>>16&255]<<8|r[t>>>24&255]},n.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},n.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},n.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},n.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},n.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>i(t)+1}},{}],38:[function(t,e,n){"use strict";var i=t("./lib/ch1d"),r=t("./lib/ch2d"),a=t("./lib/chnd");e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[[0]];var n=t[0].length;return 0===n?[]:1===n?i(t):2===n?r(t):a(t,n)}},{"./lib/ch1d":39,"./lib/ch2d":40,"./lib/chnd":41}],39:[function(t,e,n){"use strict";e.exports=function(t){for(var e=0,n=0,i=1;it[n][0]&&(n=i);return en?[[n],[e]]:[[e]]}},{}],40:[function(t,e,n){"use strict";e.exports=function(t){var e=i(t),n=e.length;if(n<=2)return[];for(var r=new Array(n),a=e[n-1],o=0;o=e[l]&&(s+=1);a[o]=s}}return t}(i(a,!0),n)}};var i=t("incremental-convex-hull"),r=t("affine-hull")},{"affine-hull":36,"incremental-convex-hull":42}],42:[function(t,e,n){"use strict";e.exports=function(t,e){var n=t.length;if(0===n)throw new Error("Must have at least d+1 points");var r=t[0].length;if(n<=r)throw new Error("Must input at least d+1 points");var o=t.slice(0,r+1),s=i.apply(void 0,o);if(0===s)throw new Error("Input not in general position");for(var l=new Array(r+1),c=0;c<=r;++c)l[c]=c;s<0&&(l[0]=1,l[1]=0);var h=new a(l,new Array(r+1),!1),d=h.adjacent,p=new Array(r+2);for(c=0;c<=r;++c){for(var f=l.slice(),m=0;m<=r;++m)m===c&&(f[m]=-1);var g=f[0];f[0]=f[1],f[1]=g;var v=new a(f,new Array(r+1),!0);d[c]=v,p[c]=v}for(p[r+1]=h,c=0;c<=r;++c){f=d[c].vertices;var y=d[c].adjacent;for(m=0;m<=r;++m){var _=f[m];if(_<0)y[m]=h;else for(var b=0;b<=r;++b)d[b].vertices.indexOf(_)<0&&(y[m]=d[b])}}var w=new u(r,o,p),x=!!e;for(c=r+1;c0&&e.push(","),e.push("tuple[",n,"]");e.push(")}return orient");var r=new Function("test",e.join("")),a=i[t+1];return a||(a=i),r(a)}(t)),this.orient=a}var c=u.prototype;c.handleBoundaryDegeneracy=function(t,e){var n=this.dimension,i=this.vertices.length-1,r=this.tuple,a=this.vertices,o=[t];for(t.lastVisited=-i;o.length>0;){(t=o.pop()).vertices;for(var s=t.adjacent,l=0;l<=n;++l){var u=s[l];if(u.boundary&&!(u.lastVisited<=-i)){for(var c=u.vertices,h=0;h<=n;++h){var d=c[h];r[h]=d<0?e:a[d]}var p=this.orient();if(p>0)return u;u.lastVisited=-i,0===p&&o.push(u)}}}return null},c.walk=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,a=this.tuple,o=e?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[o];t:for(;!s.boundary;){for(var l=s.vertices,u=s.adjacent,c=0;c<=i;++c)a[c]=r[l[c]];for(s.lastVisited=n,c=0;c<=i;++c){var h=u[c];if(!(h.lastVisited>=n)){var d=a[c];a[c]=t;var p=this.orient();if(a[c]=d,p<0){s=h;continue t}h.boundary?h.lastVisited=-n:h.lastVisited=n}}return}return s},c.addPeaks=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,l=this.tuple,u=this.interior,c=this.simplices,h=[e];e.lastVisited=n,e.vertices[e.vertices.indexOf(-1)]=n,e.boundary=!1,u.push(e);for(var d=[];h.length>0;){var p=(e=h.pop()).vertices,f=e.adjacent,m=p.indexOf(n);if(!(m<0))for(var g=0;g<=i;++g)if(g!==m){var v=f[g];if(v.boundary&&!(v.lastVisited>=n)){var y=v.vertices;if(v.lastVisited!==-n){for(var _=0,b=0;b<=i;++b)y[b]<0?(_=b,l[b]=t):l[b]=r[y[b]];if(this.orient()>0){y[_]=n,v.boundary=!1,u.push(v),h.push(v),v.lastVisited=n;continue}v.lastVisited=-n}var w=v.adjacent,x=p.slice(),k=f.slice(),C=new a(x,k,!0);c.push(C);var T=w.indexOf(e);if(!(T<0))for(w[T]=C,k[m]=v,x[g]=-1,k[g]=e,f[g]=C,C.flip(),b=0;b<=i;++b){var E=x[b];if(!(E<0||E===n)){for(var S=new Array(i-1),P=0,L=0;L<=i;++L){var I=x[L];I<0||L===b||(S[P++]=I)}d.push(new o(S,C,b))}}}}}for(d.sort(s),g=0;g+1=0?o[l++]=s[c]:u=1&c;if(u===(1&t)){var h=o[0];o[0]=o[1],o[1]=h}e.push(o)}}return e}},{"robust-orientation":44,"simplicial-complex":48}],43:[function(t,e,n){"use strict";e.exports=function(t){var e=t.length;if(e<3){for(var n=new Array(e),r=0;r1&&i(t[o[c-2]],t[o[c-1]],u)<=0;)c-=1,o.pop();for(o.push(l),c=s.length;c>1&&i(t[s[c-2]],t[s[c-1]],u)>=0;)c-=1,s.pop();s.push(l)}n=new Array(s.length+o.length-2);for(var h=0,d=(r=0,o.length);r0;--p)n[h++]=s[p];return n};var i=t("robust-orientation")[3]},{"robust-orientation":44}],44:[function(t,e,n){"use strict";var i=t("two-product"),r=t("robust-sum"),a=t("robust-scale"),o=t("robust-subtract");function s(t,e){for(var n=new Array(t.length-1),i=1;i>1;return["sum(",l(t.slice(0,e)),",",l(t.slice(e)),")"].join("")}function u(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var e=[],n=0;n0){if(a<=0)return o;i=r+a}else{if(!(r<0))return o;if(a>=0)return o;i=-(r+a)}var s=33306690738754716e-32*i;return o>=s||o<=-s?o:h(t,e,n)},function(t,e,n,i){var r=t[0]-i[0],a=e[0]-i[0],o=n[0]-i[0],s=t[1]-i[1],l=e[1]-i[1],u=n[1]-i[1],c=t[2]-i[2],h=e[2]-i[2],p=n[2]-i[2],f=a*u,m=o*l,g=o*s,v=r*u,y=r*l,_=a*s,b=c*(f-m)+h*(g-v)+p*(y-_),w=7771561172376103e-31*((Math.abs(f)+Math.abs(m))*Math.abs(c)+(Math.abs(g)+Math.abs(v))*Math.abs(h)+(Math.abs(y)+Math.abs(_))*Math.abs(p));return b>w||-b>w?b:d(t,e,n,i)}];function f(t){var e=p[t.length];return e||(e=p[t.length]=c(t.length)),e.apply(void 0,t)}!function(){for(;p.length<=5;)p.push(c(p.length));for(var t=[],n=["slow"],i=0;i<=5;++i)t.push("a"+i),n.push("o"+i);var r=["function getOrientation(",t.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(i=2;i<=5;++i)r.push("case ",i,":return o",i,"(",t.slice(0,i).join(),");");r.push("}var s=new Array(arguments.length);for(var i=0;i=i?(r=h,(l+=1)=i?(r=h,(l+=1)>1,s=a(t[o],e);s<=0?(0===s&&(r=o),n=o+1):s>0&&(i=o-1)}return r}function c(t,e){for(var n=new Array(t.length),r=0,o=n.length;r=t.length||0!==a(t[g],s)););}return n}function h(t,e){if(e<0)return[];for(var n=[],r=(1<>>c&1&&u.push(r[c]);e.push(u)}return s(e)},n.skeleton=h,n.boundary=function(t){for(var e=[],n=0,i=t.length;nt[1]!=u>t[1]&&t[0]<(l-o)*(t[1]-s)/(u-s)+o&&(i=!i)}return i}e.exports=function(t,e){var n=i.getCoord(t),a=e.geometry.coordinates;"Polygon"===e.geometry.type&&(a=[a]);for(var o=0,s=!1;oe?1:0}e.exports=function t(e,n,a,o,s){for(a=a||0,o=o||e.length-1,s=s||r;o>a;){if(o-a>600){var l=o-a+1,u=n-a+1,c=Math.log(l),h=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*h*(l-h)/l)*(u-l/2<0?-1:1),p=Math.max(a,Math.floor(n-u*h/l+d)),f=Math.min(o,Math.floor(n+(l-u)*h/l+d));t(e,n,p,f,s)}var m=e[n],g=a,v=o;for(i(e,a,n),s(e[o],m)>0&&i(e,a,o);g0;)v--}0===s(e[a],m)?i(e,a,v):(v++,i(e,v,o)),v<=n&&(a=v+1),n<=v&&(o=v-1)}}},{}],75:[function(t,e,n){"use strict";e.exports=r;var i=t("quickselect");function r(t,e){if(!(this instanceof r))return new r(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function a(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function m(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(t,e,n,r,a){for(var o,s=[e,n];s.length;)(n=s.pop())-(e=s.pop())<=r||(o=e+Math.ceil((n-e)/r/2)*r,i(t,o,e,n,a),s.push(e,o,o,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],i=this.toBBox;if(!f(t,e))return n;for(var r,a,o,s,l=[];e;){for(r=0,a=e.children.length;r=0&&a[e].children.length>this._maxEntries;)this._split(a,e),e--;this._adjustParentBBoxes(r,a,e)},_split:function(t,e){var n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var a=this._chooseSplitIndex(n,r,i),s=m(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,o(n,this.toBBox),o(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},_splitRoot:function(t,e){this.data=m([t,e]),this.data.height=t.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var i,r,a,o,l,u,c,d,p,f,m,g,v,y;for(u=c=1/0,i=e;i<=n-e;i++)r=s(t,0,i,this.toBBox),a=s(t,i,n,this.toBBox),p=r,f=a,m=void 0,g=void 0,v=void 0,y=void 0,m=Math.max(p.minX,f.minX),g=Math.max(p.minY,f.minY),v=Math.min(p.maxX,f.maxX),y=Math.min(p.maxY,f.maxY),o=Math.max(0,v-m)*Math.max(0,y-g),l=h(r)+h(a),o=e;r--)a=t.children[r],l(c,t.leaf?o(a):a),h+=d(c);return h},_adjustParentBBoxes:function(t,e,n){for(var i=n;i>=0;i--)l(e[i],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():o(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},{quickselect:74}],76:[function(t,e,n){var i=t("@turf/meta");e.exports=function(t){var e={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},n=Object.keys(e).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});function r(t,n,i){i?e[n].coordinates=e[n].coordinates.concat(t.geometry.coordinates):e[n].coordinates.push(t.geometry.coordinates),e[n].properties.push(t.properties)}return i.featureEach(t,(function(t){t.geometry&&(e[t.geometry.type]?r(t,t.geometry.type,!0):n[t.geometry.type]&&r(t,n[t.geometry.type],!1))})),{type:"FeatureCollection",features:Object.keys(e).filter((function(t){return e[t].coordinates.length})).sort().map((function(t){return{type:"Feature",properties:{collectedProperties:e[t].properties},geometry:{type:t,coordinates:e[t].coordinates}}}))}}},{"@turf/meta":77}],77:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],78:[function(t,e,n){var i=t("@turf/tin"),r=t("@turf/union"),a=t("@turf/distance");e.exports=function(t,e,n){if("number"!=typeof e)throw new Error("maxEdge parameter is required");var o=i(t),s=o.features.filter((function(t){var i=t.geometry.coordinates[0][0],r=t.geometry.coordinates[0][1],o=t.geometry.coordinates[0][2],s=a(i,r,n),l=a(r,o,n),u=a(i,o,n);return s<=e&&l<=e&&u<=e}));if(o.features=s,o.features.length<1)throw new Error("too few polygons found to compute concave hull");return function(t){for(var e=JSON.parse(JSON.stringify(t.features[0])),n=t.features,i=0,a=n.length;if&&(f=t[c].y);var m,g=d-h,v=f-p,y=g>v?g:v,_=.5*(d+h),b=.5*(f+p),w=[new a({x:_-20*y,y:b-y,__sentinel:!0},{x:_,y:b+20*y,__sentinel:!0},{x:_+20*y,y:b-y,__sentinel:!0})],x=[],k=[];for(c=t.length;c--;){for(k.length=0,m=w.length;m--;)(g=t[c].x-w[m].x)>0&&g*g>w[m].r?(x.push(w[m]),w.splice(m,1)):(v=t[c].y-w[m].y,g*g+v*v>w[m].r||(k.push(w[m].a,w[m].b,w[m].b,w[m].c,w[m].c,w[m].a),w.splice(m,1)));for(s(k),m=k.length;m;)n=k[--m],e=k[--m],i=t[c],r=n.x-e.x,l=n.y-e.y,u=2*(r*(i.y-n.y)-l*(i.x-n.x)),Math.abs(u)>1e-12&&w.push(new a(e,n,i))}for(Array.prototype.push.apply(x,w),c=x.length;c--;)(x[c].a.__sentinel||x[c].b.__sentinel||x[c].c.__sentinel)&&x.splice(c,1);return x}(t.features.map((function(t){var n={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e&&(n.z=t.properties[e]),n}))).map((function(t){return i([[[t.a.x,t.a.y],[t.b.x,t.b.y],[t.c.x,t.c.y],[t.a.x,t.a.y]]],{a:t.a.z,b:t.b.z,c:t.c.z})})))}},{"@turf/helpers":83}],83:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],84:[function(t,e,n){var i=t("jsts");e.exports=function(){for(var t=new i.io.GeoJSONReader,e=t.read(JSON.stringify(arguments[0].geometry)),n=1;n0&&0!==k)if(k>n[n.length-1])k-=n.length;else{var C=u.greaterNumber(k,n);0!==C&&(k-=C)}if(k!==g){var T=t.features[k];if(void 0===l(e)||T.properties[e]===v.properties[e]){var E=r(v,T);if(!E){var S=JSON.stringify(v),P=JSON.stringify(T),L=c(JSON.parse(S)),I=c(JSON.parse(P));E=s.lineStringsIntersect(L.geometry,I.geometry)}E&&(t.features[g]=i(v,T),n.push(b[x].origIndexPosition),n.sort((function(t,e){return t-e})),d.remove(b[x]),t.features.splice(k,1),_.origIndexPosition=g,d.remove(_,(function(t,e){return t.origIndexPosition===e.origIndexPosition})),w=!0)}}}if(w){var O=a(v);d.insert({minX:O[0],minY:O[1],maxX:O[2],maxY:O[3],origIndexPosition:g}),g--}}return t}},{"@turf/bbox":111,"@turf/union":113,"geojson-utils":115,"get-closest":116,rbush:118,"turf-overlaps":120}],111:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":112,dup:18}],112:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],113:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:114}],114:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],115:[function(t,e,n){!function(){var t=this.gju={};function n(t){for(var e=[],n=[],i=0;ie!=i[a][0]>e&&t<(i[a][1]-i[r][1])*(e-i[r][0])/(i[a][0]-i[r][0])+i[r][1]&&(o=!o);return o}void 0!==e&&e.exports&&(e.exports=t),t.lineStringsIntersect=function(t,e){for(var n=[],i=0;i<=t.coordinates.length-2;++i)for(var r=0;r<=e.coordinates.length-2;++r){var a={x:t.coordinates[i][1],y:t.coordinates[i][0]},o={x:t.coordinates[i+1][1],y:t.coordinates[i+1][0]},s={x:e.coordinates[r][1],y:e.coordinates[r][0]},l={x:e.coordinates[r+1][1],y:e.coordinates[r+1][0]},u=(l.y-s.y)*(o.x-a.x)-(l.x-s.x)*(o.y-a.y);if(0!=u){var c=((l.x-s.x)*(a.y-s.y)-(l.y-s.y)*(a.x-s.x))/u,h=((o.x-a.x)*(a.y-s.y)-(o.y-a.y)*(a.x-s.x))/u;0<=c&&c<=1&&0<=h&&h<=1&&n.push({type:"Point",coordinates:[a.x+c*(o.x-a.x),a.y+c*(o.y-a.y)]})}}return 0==n.length&&(n=!1),n},t.pointInBoundingBox=function(t,e){return!(t.coordinates[1]e[1][0]||t.coordinates[0]e[1][1])},t.pointInPolygon=function(e,r){for(var a="Polygon"==r.type?[r.coordinates]:r.coordinates,o=!1,s=0;si)return!1}return!0},t.area=function(t){for(var e=0,n=t.coordinates[0],i=n.length-1,r=0;r0;)if(a=x[i-1],o=k[i-1],i--,o-a>1){for(h=t[o].lng()-t[a].lng(),d=t[o].lat()-t[a].lat(),Math.abs(h)>180&&(h=360-Math.abs(h)),p=(h*=Math.cos(b*(t[o].lat()+t[a].lat())))*h+d*d,T=a+1,s=a,u=-1;T180&&(f=360-Math.abs(f)),g=(f*=Math.cos(b*(t[T].lat()+t[a].lat())))*f+m*m,v=t[T].lng()-t[o].lng(),y=t[T].lat()-t[o].lat(),Math.abs(v)>180&&(v=360-Math.abs(v)),(l=g>=p+(_=(v*=Math.cos(b*(t[T].lat()+t[o].lat())))*v+y*y)?_:_>=p+g?g:(f*d-m*h)*(f*d-m*h)/p)>u&&(s=T,u=l);u=0&&(void 0===a||o0}},{}],120:[function(t,e,n){var i=t("turf-is-clockwise");function r(t){var e=[[[]]];switch(t.geometry.type){case"LineString":e=[[t.geometry.coordinates]];break;case"Polygon":e=[t.geometry.coordinates];break;case"MultiPolygon":e=t.geometry.coordinates}return e}e.exports=function(t,e){var n=r(t),a=r(e);return n.some((function(t){return a.some((function(e){return t.some((function(t){return e.some((function(e){return function(t,e){for(var n=0;nf&&(v>d&&gd&&vc&&(c=y)}var _=[];if(u&&c0&&Math.abs(x-n[w-1][0])>f){var k=parseFloat(n[w-1][0]),C=parseFloat(n[w-1][1]),T=parseFloat(n[w][0]),E=parseFloat(n[w][1]);if(k>-180&&k-180&&n[w-1][0]d&&k<180&&-180===T&&w+1d&&n[w-1][0]<180){b.push([180,n[w][1]]),w++,b.push([n[w][0],n[w][1]]);continue}if(kd){var S=k;k=T,T=S;var P=C;C=E,E=P}if(k>d&&T=180&&kd?180:-180,I]),(b=[]).push([n[w-1][0]>d?-180:180,I]),_.push(b)}else b=[],_.push(b);b.push([x,n[w][1]])}else b.push([n[w][0],n[w][1]])}}else{var O=[];_.push(O);for(var A=0;Ap/2;k&&(x-=p/4);for(var C=o([]),T=0;T<_;T++)for(var E=0;E<=w;E++){var S=T%2==1;if(!(0===E&&S||0===E&&k)){var P=T*g+t[0]-b,L=E*v+t[1]+x;S&&(L-=p/2),r?C.features.push.apply(C.features,d([P,L],s/2,l/2)):C.features.push(h([P,L],s/2,l/2))}}return C}},{"@turf/distance":143,"@turf/helpers":146}],143:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":144,"@turf/invariant":145,dup:8}],144:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],145:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],146:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],147:[function(t,e,n){var i=t("@turf/distance"),r=t("@turf/square-grid"),a=t("@turf/centroid"),o=t("@turf/bbox");e.exports=function(t,e,n,s,l){if(0!==t.features.filter((function(t){return t.properties&&t.properties.hasOwnProperty(e)})).length){for(var u=r(o(t),s,l),c=u.features.length,h=0;h=i;P--)for(var L=e;L<=n-1;L++){var I,O;if(I=Math.min(t[L][P],t[L][P+1]),O=Math.min(t[L+1][P],t[L+1][P+1]),v=Math.min(I,O),I=Math.max(t[L][P],t[L][P+1]),O=Math.max(t[L+1][P],t[L+1][P+1]),(y=Math.max(I,O))>=l[0]&&v<=l[s-1])for(var A=0;A=v&&l[A]<=y){for(var M=4;M>=0;M--)M>0?(u[M]=t[L+T[M-1]][P+E[M-1]]-l[A],h[M]=a[L+T[M-1]],d[M]=o[P+E[M-1]]):(u[0]=.25*(u[1]+u[2]+u[3]+u[4]),h[0]=.5*(a[L]+a[L+1]),d[0]=.5*(o[P]+o[P+1])),u[M]>1e-10?c[M]=1:u[M]<-1e-10?c[M]=-1:c[M]=0;for(M=1;M<=4;M++)if(m=4!=M?M+1:1,0!=(g=S[c[f=M]+1][c[0]+1][c[m]+1])){switch(g){case 1:w=h[f],k=d[f],x=h[0],C=d[0];break;case 2:w=h[0],k=d[0],x=h[m],C=d[m];break;case 3:w=h[m],k=d[m],x=h[f],C=d[f];break;case 4:w=h[f],k=d[f],x=_(0,m),C=b(0,m);break;case 5:w=h[0],k=d[0],x=_(m,f),C=b(m,f);break;case 6:w=h[m],k=d[m],x=_(f,0),C=b(f,0);break;case 7:w=_(f,0),k=b(f,0),x=_(0,m),C=b(0,m);break;case 8:w=_(0,m),k=b(0,m),x=_(m,f),C=b(m,f);break;case 9:w=_(m,f),k=b(m,f),x=_(f,0),C=b(f,0)}p(w,k,x,C,l[A],A)}}}}},{}],169:[function(t,e,n){var i=t("@turf/tin"),r=t("@turf/inside"),a=t("@turf/point-grid"),o=t("@turf/distance"),s=t("@turf/bbox"),l=t("@turf/planepoint"),u=t("@turf/helpers").featureCollection,c=t("@turf/helpers").lineString,h=t("@turf/helpers").point,d=t("@turf/square"),p=t("./conrec");e.exports=function(t,e,n,f){for(var m=i(t,e),g=s(t),v=d(g),y=o(h([v[0],v[1]]),h([v[2],v[1]]),"kilometers")/n,_=a(v,y,"kilometers"),b=[],w=0;w<_.features.length;w++)for(var x=_.features[w],k=0;k2){var n=[];t.forEach((function(t){n.push([t.x,t.y])}));var i=c(n);i.properties={},i.properties[e]=t.level,D.features.push(i)}})),D}},{"./conrec":168,"@turf/bbox":170,"@turf/distance":172,"@turf/helpers":175,"@turf/inside":176,"@turf/planepoint":178,"@turf/point-grid":179,"@turf/square":186,"@turf/tin":190}],170:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":171,dup:18}],171:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],172:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":173,"@turf/invariant":174,dup:8}],173:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],174:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],175:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],176:[function(t,e,n){arguments[4][72][0].apply(n,arguments)},{"@turf/invariant":177,dup:72}],177:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],178:[function(t,e,n){e.exports=function(t,e){var n=t.geometry.coordinates[0],i=t.geometry.coordinates[1],r=e.geometry.coordinates[0][0][0],a=e.geometry.coordinates[0][0][1],o=e.properties.a,s=e.geometry.coordinates[0][1][0],l=e.geometry.coordinates[0][1][1],u=e.properties.b,c=e.geometry.coordinates[0][2][0],h=e.geometry.coordinates[0][2][1],d=e.properties.c;return(d*(n-r)*(i-l)+o*(n-s)*(i-h)+u*(n-c)*(i-a)-u*(n-r)*(i-h)-d*(n-s)*(i-a)-o*(n-c)*(i-l))/((n-r)*(i-l)+(n-s)*(i-h)+(n-c)*(i-a)-(n-r)*(i-h)-(n-s)*(i-a)-(n-c)*(i-l))}},{}],179:[function(t,e,n){var i=t("@turf/helpers").point,r=t("@turf/helpers").featureCollection,a=t("@turf/distance"),o=t("@turf/bbox");e.exports=function(t,e,n){var s=[];if(!t)throw new Error("bbox is required");if(Array.isArray(t)||(t=o(t)),4!==t.length)throw new Error("bbox must contain 4 numbers");for(var l=t[0],u=t[1],c=t[2],h=t[3],d=e/a(i([l,u]),i([c,u]),n)*(c-l),p=e/a(i([l,u]),i([l,h]),n)*(h-u),f=l;f<=c;){for(var m=u;m<=h;)s.push(i([f,m])),m+=p;f+=d}return r(s)}},{"@turf/bbox":180,"@turf/distance":182,"@turf/helpers":185}],180:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":181,dup:18}],181:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],182:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":183,"@turf/invariant":184,dup:8}],183:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],184:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],185:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],186:[function(t,e,n){var i=t("@turf/distance");e.exports=function(t){var e=t[0],n=t[1],r=t[2],a=t[3];if(i(t.slice(0,2),[r,n])>=i(t.slice(0,2),[e,a])){var o=(n+a)/2;return[e,o-(r-e)/2,r,o+(r-e)/2]}var s=(e+r)/2;return[s-(a-n)/2,n,s+(a-n)/2,a]}},{"@turf/distance":187}],187:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":188,"@turf/invariant":189,dup:8}],188:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],189:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],190:[function(t,e,n){arguments[4][82][0].apply(n,arguments)},{"@turf/helpers":191,dup:82}],191:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],192:[function(t,e,n){var i=t("@turf/helpers").point;e.exports=function(t){var e,n,r={type:"FeatureCollection",features:[]};if("LineString"===(n="Feature"===t.type?t.geometry:t).type)e=[n.coordinates];else if("MultiLineString"===n.type)e=n.coordinates;else if("MultiPolygon"===n.type)e=[].concat.apply([],n.coordinates);else{if("Polygon"!==n.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");e=n.coordinates}return e.forEach((function(t){e.forEach((function(e){for(var n=0;n=0&&g<=1&&(_.onLine1=!0),v>=0&&v<=1&&(_.onLine2=!0),!(!_.onLine1||!_.onLine2)&&[_.x,_.y]));o&&r.features.push(i([o[0],o[1]]))}var s,l,u,c,h,d,p,f,m,g,v,y,_}))})),r}},{"@turf/helpers":193}],193:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],194:[function(t,e,n){var i=t("@turf/line-slice-along"),r=t("@turf/line-distance"),a=t("@turf/helpers").featureCollection,o=t("@turf/meta").featureEach,s=t("@turf/flatten");function l(t,e,n){var a=[],o=r(t,n);if(o<=e)return[t];for(var s=Math.floor(o/e)+1,l=0;l=p&&f===l.length-1);f++){if(p>e&&0===u.length){if(!(c=e-p))return u.push(l[f]),o(u);h=i(l[f],l[f-1])-180,d=a(l[f],c,h,s),u.push(d.geometry.coordinates)}if(p>=n)return(c=n-p)?(h=i(l[f],l[f-1])-180,d=a(l[f],c,h,s),u.push(d.geometry.coordinates),o(u)):(u.push(l[f]),o(u));if(p>=e&&u.push(l[f]),f===l.length-1)return o(u);p+=r(l[f],l[f+1],s)}return o(l[l.length-1])}},{"@turf/bearing":211,"@turf/destination":213,"@turf/distance":216,"@turf/helpers":219}],211:[function(t,e,n){arguments[4][3][0].apply(n,arguments)},{"@turf/invariant":212,dup:3}],212:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],213:[function(t,e,n){arguments[4][5][0].apply(n,arguments)},{"@turf/helpers":214,"@turf/invariant":215,dup:5}],214:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],215:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],216:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":217,"@turf/invariant":218,dup:8}],217:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],218:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],219:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],220:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],221:[function(t,e,n){arguments[4][200][0].apply(n,arguments)},{"@turf/distance":222,"@turf/flatten":225,"@turf/helpers":229,"@turf/meta":230,dup:200}],222:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":223,"@turf/invariant":224,dup:8}],223:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],224:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],225:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":226,"@turf/invariant":227,"@turf/meta":228,dup:132}],226:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],227:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],228:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],229:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],230:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],231:[function(t,e,n){var i=t("@turf/helpers"),r=t("@turf/meta"),a=t("@turf/line-segment"),o=t("@turf/invariant").getCoords,s=t("geojson-rbush"),l=i.point,u=i.featureCollection,c=r.featureEach;function h(t,e){var n=o(t),i=o(e);if(2!==n.length)throw new Error(" line1 must only contain 2 coordinates");if(2!==i.length)throw new Error(" line2 must only contain 2 coordinates");var r=n[0][0],a=n[0][1],s=n[1][0],u=n[1][1],c=i[0][0],h=i[0][1],d=i[1][0],p=i[1][1],f=(p-h)*(s-r)-(d-c)*(u-a),m=(d-c)*(a-h)-(p-h)*(r-c),g=(s-r)*(a-h)-(u-a)*(r-c);if(0===f)return null;var v=m/f,y=g/f;return v>=0&&v<=1&&y>=0&&y<=1?l([r+v*(s-r),a+v*(u-a)]):null}e.exports=function(t,e){var n=[];if("LineString"===t.geometry.type&&"LineString"===e.geometry.type&&2===t.geometry.coordinates.length&&2===e.geometry.coordinates.length){var i=h(t,e);return i&&n.push(i),u(n)}var r=s();return r.load(a(e)),c(a(t),(function(t){c(r.search(t),(function(e){var i=h(t,e);i&&n.push(i)}))})),u(n)}},{"@turf/helpers":233,"@turf/invariant":234,"@turf/line-segment":235,"@turf/meta":243,"geojson-rbush":244}],232:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":243,dup:18}],233:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],234:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],235:[function(t,e,n){var i=t("@turf/flatten"),r=t("@turf/meta").featureEach,a=t("@turf/helpers").lineString,o=t("@turf/helpers").featureCollection,s=t("@turf/invariant").getCoords;e.exports=function(t){var e=[],n=0;return r(t,(function(t){r(i(t),(function(t){var i=[];switch(t.geometry?t.geometry.type:t.type){case"Polygon":i=s(t);break;case"LineString":i=[s(t)]}i.forEach((function(i){(function(t,e){var n=[];return t.reduce((function(t,i){var r,o,s,l,u,c,h=a([t,i],e);return h.bbox=(o=i,s=(r=t)[0],l=r[1],u=o[0],c=o[1],[su?s:u,l>c?l:c]),n.push(h),i})),n})(i,t.properties).forEach((function(t){t.id=n,e.push(t),n++}))}))}))})),o(e)}},{"@turf/flatten":236,"@turf/helpers":240,"@turf/invariant":241,"@turf/meta":242}],236:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":237,"@turf/invariant":238,"@turf/meta":239,dup:132}],237:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],238:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],239:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],240:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],241:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],242:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],243:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],244:[function(t,e,n){var i=t("@turf/bbox"),r=t("@turf/helpers").featureCollection,a=t("@turf/meta").featureEach,o=t("rbush");e.exports=function(t){var e=o(t);return e.insert=function(t){return t.bbox=t.bbox?t.bbox:i(t),o.prototype.insert.call(this,t)},e.load=function(t){var e=[];return a(t,(function(t){t.bbox=t.bbox?t.bbox:i(t),e.push(t)})),o.prototype.load.call(this,e)},e.remove=function(t){return o.prototype.remove.call(this,t)},e.clear=function(){return o.prototype.clear.call(this)},e.search=function(t){var e=o.prototype.search.call(this,this.toBBox(t));return r(e)},e.collides=function(t){return o.prototype.collides.call(this,this.toBBox(t))},e.all=function(){var t=o.prototype.all.call(this);return r(t)},e.toJSON=function(){return o.prototype.toJSON.call(this)},e.fromJSON=function(t){return o.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e=t.bbox?t.bbox:i(t);return{minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}},{"@turf/bbox":232,"@turf/helpers":233,"@turf/meta":243,rbush:246}],245:[function(t,e,n){arguments[4][74][0].apply(n,arguments)},{dup:74}],246:[function(t,e,n){arguments[4][75][0].apply(n,arguments)},{dup:75,quickselect:245}],247:[function(t,e,n){arguments[4][235][0].apply(n,arguments)},{"@turf/flatten":248,"@turf/helpers":252,"@turf/invariant":253,"@turf/meta":254,dup:235}],248:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":249,"@turf/invariant":250,"@turf/meta":251,dup:132}],249:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],250:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],251:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],252:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],253:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],254:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],255:[function(t,e,n){arguments[4][210][0].apply(n,arguments)},{"@turf/bearing":256,"@turf/destination":258,"@turf/distance":261,"@turf/helpers":264,dup:210}],256:[function(t,e,n){arguments[4][3][0].apply(n,arguments)},{"@turf/invariant":257,dup:3}],257:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],258:[function(t,e,n){arguments[4][5][0].apply(n,arguments)},{"@turf/helpers":259,"@turf/invariant":260,dup:5}],259:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],260:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],261:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":262,"@turf/invariant":263,dup:8}],262:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],263:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],264:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],265:[function(t,e,n){var i=t("@turf/helpers").lineString,r=t("@turf/point-on-line");e.exports=function(t,e,n){var a;if("Feature"===n.type)a=n.geometry.coordinates;else{if("LineString"!==n.type)throw new Error("input must be a LineString Feature or Geometry");a=n.coordinates}var o,s=r(n,t),l=r(n,e);o=s.properties.index<=l.properties.index?[s,l]:[l,s];for(var u=i([o[0].geometry.coordinates],{}),c=o[0].properties.index+1;c0&&v<1&&(b.onLine1=!0),y>0&&y<1&&(b.onLine2=!0),!(!b.onLine1||!b.onLine2)&&[b.x,b.y]));A&&((E=r(A)).properties.dist=i(e,E,n),E.properties.location=x+i(C,w,n)),C.properties.dist0){var c=o.map((function(t){return l[t.index]=!0,e.remove({index:t.index},u),t.geojson}));c.push(t),t=s.apply(this,c)}if(0===o.length)break}n.push(t)})),o.featureCollection(n)}function u(t,e){return t.index===e.index}e.exports=function(t,e){var n=function(t){var e=t&&t.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]];return o.polygon(e)}(e),r=function(t){var e=[],n=[];return i(t,(function(t){var r;"MultiPolygon"===t.geometry.type&&(r=[],t.geometry.coordinates.forEach((function(t){r.push(o.polygon(t))})),t=o.featureCollection(r)),i(t,(function(t){var i=t.geometry.coordinates,r=i[0],a=i.slice(1);e.push(o.polygon([r])),a.forEach((function(t){n.push(o.polygon([t]))}))}))})),[o.featureCollection(e),o.featureCollection(n)]}(t),a=r[0],s=r[1];return function(t,e,n){var r=[];return r.push(t.geometry.coordinates[0]),i(e,(function(t){r.push(t.geometry.coordinates[0])})),i(n,(function(t){r.push(t.geometry.coordinates[0])})),o.polygon(r)}(n,a=l(a),s=l(s))}},{"@turf/bbox":278,"@turf/helpers":280,"@turf/meta":281,"@turf/union":282,rbush:285}],278:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":279,dup:18}],279:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],280:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],281:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],282:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:283}],283:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],284:[function(t,e,n){arguments[4][74][0].apply(n,arguments)},{dup:74}],285:[function(t,e,n){arguments[4][75][0].apply(n,arguments)},{dup:75,quickselect:284}],286:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],287:[function(t,e,n){var i=t("@turf/bearing"),r=t("@turf/destination"),a=t("@turf/distance");e.exports=function(t,e){var n=a(t,e,"miles"),o=i(t,e);return r(t,n/2,o,"miles")}},{"@turf/bearing":288,"@turf/destination":290,"@turf/distance":293}],288:[function(t,e,n){arguments[4][3][0].apply(n,arguments)},{"@turf/invariant":289,dup:3}],289:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],290:[function(t,e,n){arguments[4][5][0].apply(n,arguments)},{"@turf/helpers":291,"@turf/invariant":292,dup:5}],291:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],292:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],293:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":294,"@turf/invariant":295,dup:8}],294:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],295:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],296:[function(t,e,n){var i=t("@turf/distance");e.exports=function(t,e){for(var n,r=1/0,a=0;a0?t+n[e-1]:t}function p(t,e){t=2*t*Math.PI/u[u.length-1];var i=Math.random();l.push([i*n*Math.sin(t),i*n*Math.cos(t)])}return h(s)}},{}],334:[function(t,e,n){var i=t("@turf/helpers").featureCollection;e.exports=function(t,e){return i(function(t,e){for(var n,i,r=t.slice(0),a=t.length,o=a-e;a-- >o;)i=Math.floor((a+1)*Math.random()),n=r[i],r[i]=r[a],r[a]=n;return r.slice(o)}(t.features,e))}},{"@turf/helpers":335}],335:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],336:[function(t,e,n){var i=t("simplify-js"),r=["LineString","MultiLineString","Polygon","MultiPolygon"];function a(t,e,n){return"LineString"===t.geometry.type?{type:"LineString",coordinates:l(t.geometry.coordinates,e,n)}:"MultiLineString"===t.geometry.type?{type:"MultiLineString",coordinates:t.geometry.coordinates.map((function(t){return l(t,e,n)}))}:"Polygon"===t.geometry.type?{type:"Polygon",coordinates:u(t.geometry.coordinates,e,n)}:"MultiPolygon"===t.geometry.type?{type:"MultiPolygon",coordinates:t.geometry.coordinates.map((function(t){return u(t,e,n)}))}:t}function o(t){return!(t.length<3||3===t.length&&t[2][0]===t[0][0]&&t[2][1]===t[0][1])}function s(t,e){return{type:"Feature",geometry:t,properties:e}}function l(t,e,n){return i(t.map((function(t){return{x:t[0],y:t[1],z:t[2]}})),e,n).map((function(t){return t.z?[t.x,t.y,t.z]:[t.x,t.y]}))}function u(t,e,n){return t.map((function(t){var r=t.map((function(t){return{x:t[0],y:t[1]}}));if(r.length<4)throw new Error("Invalid polygon");for(var a=i(r,e,n).map((function(t){return[t.x,t.y]}));!o(a);)a=i(r,e-=.01*e,n).map((function(t){return[t.x,t.y]}));return a[a.length-1][0]===a[0][0]&&a[a.length-1][1]===a[0][1]||a.push(a[0]),a}))}e.exports=function(t,e,n){return"Feature"===t.type?s(a(t,e,n),t.properties):"FeatureCollection"===t.type?{type:"FeatureCollection",features:t.features.map((function(t){var i=a(t,e,n);return r.indexOf(i.type)>-1?s(i,t.properties):i}))}:"GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map((function(t){return r.indexOf(t.type)>-1?a({type:"Feature",geometry:t},e,n):t}))}:t}},{"simplify-js":337}],337:[function(t,e,n){!function(){"use strict";function t(t,e,n){var i=e.x,r=e.y,a=n.x-i,o=n.y-r;if(0!==a||0!==o){var s=((t.x-i)*a+(t.y-r)*o)/(a*a+o*o);s>1?(i=n.x,r=n.y):s>0&&(i+=a*s,r+=o*s)}return(a=t.x-i)*a+(o=t.y-r)*o}function n(e,n,i){var r=void 0!==n?n*n:1;return e=function(e,n){var i,r,a,o,s=e.length,l=new("undefined"!=typeof Uint8Array?Uint8Array:Array)(s),u=0,c=s-1,h=[],d=[];for(l[u]=l[c]=1;c;){for(r=0,i=u+1;ir&&(o=i,r=a);r>n&&(l[o]=1,h.push(u,o,o,c)),c=h.pop(),u=h.pop()}for(i=0;ie&&(l.push(n),s=n);return s!==n&&l.push(n),l}(e,r),r)}void 0!==e?e.exports=n:"undefined"!=typeof self?self.simplify=n:window.simplify=n}()},{}],338:[function(t,e,n){arguments[4][156][0].apply(n,arguments)},{"@turf/bbox":339,"@turf/distance":341,"@turf/helpers":344,dup:156}],339:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":340,dup:18}],340:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],341:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":342,"@turf/invariant":343,dup:8}],342:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],343:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],344:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],345:[function(t,e,n){arguments[4][186][0].apply(n,arguments)},{"@turf/distance":346,dup:186}],346:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":347,"@turf/invariant":348,dup:8}],347:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],348:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],349:[function(t,e,n){var i=t("@turf/inside");e.exports=function(t,e,n,r){return t=JSON.parse(JSON.stringify(t)),e=JSON.parse(JSON.stringify(e)),t.features.forEach((function(t){t.properties||(t.properties={}),e.features.forEach((function(e){void 0===t.properties[r]&&i(t,e)&&(t.properties[r]=e.properties[n])}))})),t}},{"@turf/inside":350}],350:[function(t,e,n){arguments[4][72][0].apply(n,arguments)},{"@turf/invariant":351,dup:72}],351:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],352:[function(t,e,n){var i=t("@turf/helpers").polygon,r=t("earcut");function a(t){var e=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},i=0,r=0;r0&&(i+=t[r-1].length,n.holes.push(i))}return n}(t),n=r(e.vertices,e.holes,2),a=[],o=[];n.forEach((function(t,i){var r=n[i];o.push([e.vertices[2*r],e.vertices[2*r+1]])}));for(var s=0;s80*n){i=l=t[0],s=u=t[1];for(var b=n;bl&&(l=c),p>u&&(u=p);m=Math.max(l-i,u-s)}return o(y,_,n,i,s,m),_}function r(t,e,n,i,r){var a,o;if(r===T(t,e,n,i)>0)for(a=e;a=e;a-=i)o=x(a,t[a],t[a+1],o);return o&&y(o,o.next)&&(k(o),o=o.next),o}function a(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!y(i,i.next)&&0!==v(i.prev,i,i.next))i=i.next;else{if(k(i),(i=e=i.prev)===i.next)return null;n=!0}}while(n||i!==e);return e}function o(t,e,n,i,r,h,d){if(t){!d&&h&&function(t,e,n,i){var r=t;do{null===r.z&&(r.z=p(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,a,o,s,l,u=1;do{for(n=t,t=null,a=null,o=0;n;){for(o++,i=n,s=0,e=0;e0||l>0&&i;)0===s?(r=i,i=i.nextZ,l--):0!==l&&i?n.z<=i.z?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--):(r=n,n=n.nextZ,s--),a?a.nextZ=r:t=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(o>1)}(r)}(t,i,r,h);for(var f,m,g=t;t.prev!==t.next;)if(f=t.prev,m=t.next,h?l(t,i,r,h):s(t))e.push(f.i/n),e.push(t.i/n),e.push(m.i/n),k(t),t=m.next,g=m.next;else if((t=m)===g){d?1===d?o(t=u(t,e,n),e,n,i,r,h,2):2===d&&c(t,e,n,i,r,h):o(a(t),e,n,i,r,h,1);break}}}function s(t){var e=t.prev,n=t,i=t.next;if(v(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(m(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&v(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function l(t,e,n,i){var r=t.prev,a=t,o=t.next;if(v(r,a,o)>=0)return!1;for(var s=r.xa.x?r.x>o.x?r.x:o.x:a.x>o.x?a.x:o.x,c=r.y>a.y?r.y>o.y?r.y:o.y:a.y>o.y?a.y:o.y,h=p(s,l,e,n,i),d=p(u,c,e,n,i),f=t.nextZ;f&&f.z<=d;){if(f!==t.prev&&f!==t.next&&m(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;f=f.nextZ}for(f=t.prevZ;f&&f.z>=h;){if(f!==t.prev&&f!==t.next&&m(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;f=f.prevZ}return!0}function u(t,e,n){var i=t;do{var r=i.prev,a=i.next.next;!y(r,a)&&_(r,i,i.next,a)&&b(r,a)&&b(a,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(a.i/n),k(i),k(i.next),i=t=a),i=i.next}while(i!==t);return i}function c(t,e,n,i,r,s){var l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&g(l,u)){var c=w(l,u);return l=a(l,l.next),c=a(c,c.next),o(l,e,n,i,r,s),void o(c,e,n,i,r,s)}u=u.next}l=l.next}while(l!==t)}function h(t,e){return t.x-e.x}function d(t,e){if(e=function(t,e){var n,i=e,r=t.x,a=t.y,o=-1/0;do{if(a<=i.y&&a>=i.next.y){var s=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>o){if(o=s,s===r){if(a===i.y)return i;if(a===i.next.y)return i.next}n=i.x=i.x&&i.x>=c&&m(an.x)&&b(i,t)&&(n=i,d=l),i=i.next;return n}(t,e)){var n=w(e,t);a(n,n.next)}}function p(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)/r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)/r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function f(t){var e=t,n=t;do{e.x=0&&(t-o)*(i-s)-(n-o)*(e-s)>=0&&(n-o)*(a-s)-(r-o)*(i-s)>=0}function g(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&_(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&b(t,e)&&b(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,a=(t.y+e.y)/2;do{n.y>a!=n.next.y>a&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)}function v(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function y(t,e){return t.x===e.x&&t.y===e.y}function _(t,e,n,i){return!!(y(t,e)&&y(n,i)||y(t,i)&&y(n,e))||v(t,e,n)>0!=v(t,e,i)>0&&v(n,i,t)>0!=v(n,i,e)>0}function b(t,e){return v(t.prev,t,t.next)<0?v(t,e,t.next)>=0&&v(t,t.prev,e)>=0:v(t,e,t.prev)<0||v(t,t.next,e)<0}function w(t,e){var n=new C(t.i,t.x,t.y),i=new C(e.i,e.x,e.y),r=t.next,a=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function x(t,e,n,i){var r=new C(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function k(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function C(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function T(t,e,n,i){for(var r=0,a=e,o=n-i;a0&&(i+=t[r-1].length,n.holes.push(i))}return n}},{}],355:[function(t,e,n){arguments[4][82][0].apply(n,arguments)},{"@turf/helpers":356,dup:82}],356:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],357:[function(t,e,n){var i=t("@turf/helpers").featureCollection,r=t("@turf/helpers").polygon,a=t("@turf/distance");e.exports=function(t,e,n){for(var o=i([]),s=e/a([t[0],t[1]],[t[2],t[1]],n)*(t[2]-t[0]),l=e/a([t[0],t[1]],[t[0],t[3]],n)*(t[3]-t[1]),u=0,c=t[0];c<=t[2];){for(var h=0,d=t[1];d<=t[3];)u%2==0&&h%2==0?o.features.push(r([[[c,d],[c,d+l],[c+s,d],[c,d]]]),r([[[c,d+l],[c+s,d+l],[c+s,d],[c,d+l]]])):u%2==0&&h%2==1?o.features.push(r([[[c,d],[c+s,d+l],[c+s,d],[c,d]]]),r([[[c,d],[c,d+l],[c+s,d+l],[c,d]]])):h%2==0&&u%2==1?o.features.push(r([[[c,d],[c,d+l],[c+s,d+l],[c,d]]]),r([[[c,d],[c+s,d+l],[c+s,d],[c,d]]])):h%2==1&&u%2==1&&o.features.push(r([[[c,d],[c,d+l],[c+s,d],[c,d]]]),r([[[c,d+l],[c+s,d+l],[c+s,d],[c,d+l]]])),d+=l,h++;u++,c+=s}return o}},{"@turf/distance":358,"@turf/helpers":361}],358:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":359,"@turf/invariant":360,dup:8}],359:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],360:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],361:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],362:[function(t,e,n){function i(t,e,n){return void 0!==n&&(t.geometry.coordinates=function t(e,n,i){return"object"!==l(e[0])?e.slice(n,i):e.map((function(e){return t(e,n,i)}))}(t.geometry.coordinates,0,n)),t.geometry.coordinates=function t(e,n){return e.map((function(e){return"object"===l(e)?t(e,n):Number(e.toFixed(n))}))}(t.geometry.coordinates,e),t}e.exports=function(t,e,n){if(e=e||6,n=n||2,void 0===t)throw new Error("layer is required");switch(t.type){case"FeatureCollection":return t.features=t.features.map((function(t){return i(t,e,n)})),t;case"Feature":return i(t,e,n);default:throw new Error("invalid type")}}},{}],363:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:364}],364:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],365:[function(t,e,n){var i=t("simplepolygon"),r=t("@turf/flatten"),a=t("@turf/meta").featureEach,o=t("@turf/helpers").featureCollection;e.exports=function(t){var e=o([]);return a(t,(function(t){"MultiPolygon"===t.geometry.type&&(t=r(t)),a(t,(function(t){var n=i(t);a(n,(function(n){n.properties=t.properties?t.properties:{},e.features.push(n)}))}))})),e}},{"@turf/flatten":370,"@turf/helpers":374,"@turf/meta":375,simplepolygon:383}],366:[function(t,e,n){arguments[4][12][0].apply(n,arguments)},{"@mapbox/geojson-area":367,"@turf/meta":368,dup:12}],367:[function(t,e,n){arguments[4][13][0].apply(n,arguments)},{dup:13,wgs84:369}],368:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],369:[function(t,e,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],370:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":371,"@turf/invariant":372,"@turf/meta":373,dup:132}],371:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],372:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],373:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],374:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],375:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],376:[function(t,e,n){var i=t("@turf/inside"),r=t("@turf/helpers").featureCollection;e.exports=function(t,e){for(var n=r([]),a=0;a=1||f<=0||m>=1||m<=0)){var g=p,v=!s[g];v&&(s[g]=!0),e?o.push(e(p,t,n,u,c,f,i,l,h,d,m,v)):o.push(p)}}}function m(t,e){var n=a[t][e],i=a[t][e+1];if(n[0]x[e.isect].coord?-1:1})),Z(),_=[];I.length>0;){var N=I.pop(),D=N.isect,R=N.parent,j=N.winding,F=_.length,B=[x[D].coord],U=D;if(x[D].ringAndEdge1Walkable)var q=x[D].ringAndEdge1,$=x[D].nxtIsectAlongRingAndEdge1;else q=x[D].ringAndEdge2,$=x[D].nxtIsectAlongRingAndEdge2;for(;!d(x[D].coord,x[$].coord);){B.push(x[$].coord);var G=void 0;for(f=0;f1)for(e=0;e=0==e}function h(t){for(var e=0,n=0;n=0;s--)if(l[s]!=u[s])return!1;for(s=l.length-1;s>=0;s--)if(o=l[s],!h(t[o],e[o]))return!1;return!0}(t,e):t==e}function d(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function p(t,e){return!(!t||!e)&&("[object RegExp]"==Object.prototype.toString.call(e)?e.test(t):t instanceof e||!0===e.call({},t))}function f(t,e,n,r){var a;i.isString(n)&&(r=n,n=null);try{e()}catch(t){a=t}if(r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!a&&u(a,n,"Missing expected exception"+r),!t&&p(a,n)&&u(a,n,"Got unwanted exception"+r),t&&a&&n&&!p(a,n)||!t&&a)throw a}o.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return l(JSON.stringify(t.actual,s),128)+" "+t.operator+" "+l(JSON.stringify(t.expected,s),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||u;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var i=n.stack,r=e.name,a=i.indexOf("\n"+r);if(a>=0){var o=i.indexOf("\n",a+1);i=i.substring(o+1)}this.stack=i}}},i.inherits(o.AssertionError,Error),o.fail=u,o.ok=c,o.equal=function(t,e,n){t!=e&&u(t,e,n,"==",o.equal)},o.notEqual=function(t,e,n){t==e&&u(t,e,n,"!=",o.notEqual)},o.deepEqual=function(t,e,n){h(t,e)||u(t,e,n,"deepEqual",o.deepEqual)},o.notDeepEqual=function(t,e,n){h(t,e)&&u(t,e,n,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(t,e,n){t!==e&&u(t,e,n,"===",o.strictEqual)},o.notStrictEqual=function(t,e,n){t===e&&u(t,e,n,"!==",o.notStrictEqual)},o.throws=function(t,e,n){f.apply(this,[!0].concat(r.call(arguments)))},o.doesNotThrow=function(t,e){f.apply(this,[!1].concat(r.call(arguments)))},o.ifError=function(t){if(t)throw t};var m=Object.keys||function(t){var e=[];for(var n in t)a.call(t,n)&&e.push(n);return e}},{"util/":392}],389:[function(t,e,n){var i=e.exports={},r=[],a=!1;function o(){if(!a){var t;a=!0;for(var e=r.length;e;){t=r,r=[];for(var n=-1;++n=a)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}})),l=i[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(e)?n.showHidden=e:e&&i._extend(n,e),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),h(n,t,n.depth)}function u(t,e){var n=s.styles[e];return n?"["+s.colors[n][0]+"m"+t+"["+s.colors[n][1]+"m":t}function c(t,e){return t}function h(t,e,n){if(t.customInspect&&e&&C(e.inspect)&&e.inspect!==i.inspect&&(!e.constructor||e.constructor.prototype!==e)){var r=e.inspect(n,t);return y(r)||(r=h(t,r,n)),r}var a=function(t,e){if(_(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}(t,e);if(a)return a;var o=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),k(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(e);if(0===o.length){if(C(e)){var l=e.name?": "+e.name:"";return t.stylize("[Function"+l+"]","special")}if(b(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(x(e))return t.stylize(Date.prototype.toString.call(e),"date");if(k(e))return d(e)}var u,c="",w=!1,T=["{","}"];return f(e)&&(w=!0,T=["[","]"]),C(e)&&(c=" [Function"+(e.name?": "+e.name:"")+"]"),b(e)&&(c=" "+RegExp.prototype.toString.call(e)),x(e)&&(c=" "+Date.prototype.toUTCString.call(e)),k(e)&&(c=" "+d(e)),0!==o.length||w&&0!=e.length?n<0?b(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=w?function(t,e,n,i,r){for(var a=[],o=0,s=e.length;o60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(u,c,T)):T[0]+c+T[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,i,r,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),E(i,r)||(o="["+r+"]"),s||(t.seen.indexOf(l.value)<0?(s=g(n)?h(t,l.value,null):h(t,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),_(o)){if(a&&r.match(/^\d+$/))return s;(o=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function f(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function g(t){return null===t}function v(t){return"number"==typeof t}function y(t){return"string"==typeof t}function _(t){return void 0===t}function b(t){return w(t)&&"[object RegExp]"===T(t)}function w(t){return"object"===l(t)&&null!==t}function x(t){return w(t)&&"[object Date]"===T(t)}function k(t){return w(t)&&("[object Error]"===T(t)||t instanceof Error)}function C(t){return"function"==typeof t}function T(t){return Object.prototype.toString.call(t)}function E(t,e){return Object.prototype.hasOwnProperty.call(t,e)}i.debuglog=function(t){return _(a)&&(a=e.env.NODE_DEBUG||""),t=t.toUpperCase(),o[t]||(new RegExp("\\b"+t+"\\b","i").test(a)?(e.pid,o[t]=function(){i.format.apply(i,arguments)}):o[t]=function(){}),o[t]},i.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},i.isArray=f,i.isBoolean=m,i.isNull=g,i.isNullOrUndefined=function(t){return null==t},i.isNumber=v,i.isString=y,i.isSymbol=function(t){return"symbol"===l(t)},i.isUndefined=_,i.isRegExp=b,i.isObject=w,i.isDate=x,i.isError=k,i.isFunction=C,i.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===l(t)||void 0===t},i.isBuffer=t("./support/isBuffer"),i.log=function(){},i.inherits=t("inherits"),i._extend=function(t,e){if(!e||!w(e))return t;for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t}}).call(this,t("_process"),void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":391,_process:389,inherits:390}]},{},[1])(1)},"object"===l(e)&&void 0!==t?t.exports=s():(a=[],void 0===(o="function"==typeof(r=s)?r.apply(e,a):r)||(t.exports=o))}).call(this,n("yLpj"))},L2JU:function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach((function(n){a[n]=i(t[n],e)})),a}function r(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.hasChild=function(t){return t in this._children},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){r(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,s);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},l.prototype.update=function(t){!function t(e,n,i){0;if(n.update(i),i.modules)for(var r in i.modules){if(!n.getChild(r))return void 0;t(e.concat(r),n.getChild(r),i.modules[r])}}([],this.root,t)},l.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var a=new o(e,n);0===t.length?this.root=a:this.get(t.slice(0,-1)).addChild(t[t.length-1],a);e.modules&&r(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return e.hasChild(n)};var u;var c=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,s=this.commit;this.dispatch=function(t,e){return o.call(a,t,e)},this.commit=function(t,e,n){return s.call(a,t,e,n)},this.strict=r;var c=this._modules.root.state;m(this,c,[],this._modules.root),f(this,c),i.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},h={state:{configurable:!0}};function d(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;m(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,o={};r(a,(function(e,n){o[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:o}),u.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function m(t,e,n,i,r){var a=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=i),!a&&!r){var s=g(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){u.set(s,l,i.state)}))}var c=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var a=v(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=e+l),t.dispatch(l,o)},commit:i?t.commit:function(n,i,r){var a=v(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=e+l),t.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return g(t.state,n)}}}),r}(t,o,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,o+n,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:o+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=a)&&"function"==typeof r.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,r,c)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,o+n,e,c)})),i.forEachChild((function(i,a){m(t,e,n.concat(a),i,r)}))}function g(t,e){return e.reduce((function(t,e){return t[e]}),t)}function v(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){u&&t===u||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(u=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},c.prototype.commit=function(t,e,n){var i=this,r=v(t,e,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},c.prototype.dispatch=function(t,e){var n=this,i=v(t,e),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,n.state)}))}catch(t){0}var l=s.length>1?Promise.all(s.map((function(t){return t(a)}))):s[0](a);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,n.state,t)}))}catch(t){0}e(t)}))}))}},c.prototype.subscribe=function(t,e){return d(t,this._subscribers,e)},c.prototype.subscribeAction=function(t,e){return d("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},c.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},c.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},c.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},c.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=g(e.state,t.slice(0,-1));u.delete(n,t[t.length-1])})),p(this)},c.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},c.prototype.hotUpdate=function(t){this._modules.update(t),p(this,!0)},c.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(c.prototype,h);var _=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=T(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),b=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var a=T(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),w=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||T(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),x=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var a=T(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));function k(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function C(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function T(t,e,n){return t._modulesNamespaceMap[n]}function E(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function S(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function P(){var t=new Date;return" @ "+L(t.getHours(),2)+":"+L(t.getMinutes(),2)+":"+L(t.getSeconds(),2)+"."+L(t.getMilliseconds(),3)}function L(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var I={Store:c,install:y,version:"3.5.1",mapState:_,mapMutations:b,mapGetters:w,mapActions:x,createNamespacedHelpers:function(t){return{mapState:_.bind(null,t),mapGetters:w.bind(null,t),mapMutations:b.bind(null,t),mapActions:x.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var a=t.mutationTransformer;void 0===a&&(a=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var h=i(t.state);void 0!==c&&(l&&t.subscribe((function(t,o){var s=i(o);if(n(t,h,s)){var l=P(),u=a(t),d="mutation "+t.type+l;E(c,d,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),S(c)}h=s})),u&&t.subscribeAction((function(t,n){if(o(t,n)){var i=P(),r=s(t),a="action "+t.type+i;E(c,a,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),S(c)}})))}}};e.a=I}).call(this,n("yLpj"))},LB33:function(t,e,n){"use strict";var i=n("55Cu");n.n(i).a},LYk4:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flex {\n display: flex;\n}\n.hoverable {\n cursor: pointer;\n}\n.hoverable:hover {\n background-color: whitesmoke;\n}\n.p1em {\n padding: 1em;\n}\n.lang-flag {\n max-height: 1.25em !important;\n margin-right: 1em;\n}\n.lang-flag-small {\n max-height: 1em !important;\n margin-right: 0.5em;\n}",""])},Lb50:function(t){t.exports=JSON.parse('{"maps1":"Tunaunda Taarifa Huria juu ya Uchafuzi wa Plastiki","maps2":"Mtu yeyote anaweza kupakua taarifa na kuitumia.","maps3":"Tazama Ramani ya Ulimwengu","global-leaderboard":"Ubao wa Wanaoongoza Ulimwenguni","position":"Nafasi","name":"Jina","xp":"XP","social":"Jamii","previous-target":"Lengo la awali","next-target":"Lengo lifutalo","litter":"Taka","total-verified-litter":"Jumla ya taka","total-verified-photos":"Jumla ya picha","total-littercoin-issued":"Jumla ya Littercoin","number-of-contributors":"Idadi ya wachangiaji","avg-img-per-person":"Wastani wa Picha kwa Kila Mtu","avg-litter-per-person":"Wastani wa Takataka kwa kila Mtu","leaderboard":"Ubao wa wanaoongoza","time-series":"Mfululizo wa wakati","options":"Chaguo","most-data":"Lebo nyingi za Takataka","most-data-person":"Lebo vingi za Takataka kwa mtu mmoja","download-open-verified-data":"Taarifa za Sayansi ya Mwananchi zilizoidhinishwa Huru na Huria kuhusu Uchafuzi wa Plastiki.","stop-plastic-ocean":"Tutokomeze plastiki kuingia baharini.","enter-email-sent-data":"Tafadhali weka barua pepe ambayo taarifa zitatumwa:"}')},LcUr:function(t){t.exports=JSON.parse('{"description":"Ezek a linkek minden feltöltött fotón megjelennek a Globális térképen. Kérjük, adjon meg teljes URL-eket.","personal-website":"Személyes Weboldal","personal-website-url":"Személyes webhely URL-je"}')},LhuG:function(t){t.exports=JSON.parse('{"change-details":"Alterar Dados Pessoais","your-name":"Seu nome","unique-id":"Identificador único","email":"Email","update-details":"Detalhes de atualização"}')},LiCP:function(t,e,n){"use strict";(function(t,i){n.d(e,"e",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return h}));var r="undefined"!=typeof window?window:t.exports&&void 0!==i?i:{},a=function(t){var e={},n=t.document,i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(i.TweenLite)return i.TweenLite;var r,a,o,s,l,u,c,h=function(t){var e,n=t.split("."),r=i;for(e=0;e-1;)(l=g[n[p]]||new v(n[p],[])).gsClass?(o[p]=l.gsClass,f--):s&&l.sc.push(this);if(0===f&&r)for(c=(u=("com.greensock."+t).split(".")).pop(),d=h(u.join("."))[c]=this.gsClass=r.apply(r,o),a&&(i[c]=e[c]=d),p=0;p-1;)for(a=l[u],r=i?_("easing."+a,null,!0):d.easing[a]||{},o=c.length;--o>-1;)s=c[o],x[a+"."+s]=x[s+a]=r[s]=t.getRatio?t:t[s]||new t};for((o=w.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},a=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)o=r[a]+",Power"+a,k(new w(null,null,1,a),o,"easeOut",!0),k(new w(null,null,2,a),o,"easeIn"+(0===a?",easeNone":"")),k(new w(null,null,3,a),o,"easeInOut");x.linear=d.easing.Linear.easeIn,x.swing=d.easing.Quad.easeInOut;var C=_("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(o=C.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var a,o,u=this._listeners[t],c=0;for(this!==s||l||s.wake(),null==u&&(this._listeners[t]=u=[]),o=u.length;--o>-1;)(a=u[o]).c===e&&a.s===n?u.splice(o,1):0===c&&a.pr-1;)if(i[n].c===e)return void i.splice(n,1)},o.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var T=t.requestAnimationFrame,E=t.cancelAnimationFrame,S=Date.now||function(){return(new Date).getTime()},P=S();for(a=(r=["ms","moz","webkit","o"]).length;--a>-1&&!T;)T=t[r[a]+"RequestAnimationFrame"],E=t[r[a]+"CancelAnimationFrame"]||t[r[a]+"CancelRequestAnimationFrame"];_("Ticker",(function(t,e){var i,r,a,o,u,c=this,h=S(),d=!(!1===e||!T)&&"auto",p=500,m=33,g=function(t){var e,n,s=S()-P;s>p&&(h+=s-m),P+=s,c.time=(P-h)/1e3,e=c.time-u,(!i||e>0||!0===t)&&(c.frame++,u+=e+(e>=o?.004:o-e),n=!0),!0!==t&&(a=r(g)),n&&c.dispatchEvent("tick")};C.call(c),c.time=c.frame=0,c.tick=function(){g(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return p<1/1e-8;p=t||1/1e-8,m=Math.min(e,p,0)},c.sleep=function(){null!=a&&(d&&E?E(a):clearTimeout(a),r=f,a=null,c===s&&(l=!1))},c.wake=function(t){null!==a?c.sleep():t?h+=-P+(P=S()):c.frame>10&&(P=S()-p+5),r=0===i?f:d&&T?T:function(t){return setTimeout(t,1e3*(u-c.time)+1|0)},c===s&&(l=!0),g(2)},c.fps=function(t){if(!arguments.length)return i;o=1/((i=t)||60),u=this.time+o,c.wake()},c.useRAF=function(t){if(!arguments.length)return d;c.sleep(),d=t,c.fps(i)},c.fps(t),setTimeout((function(){"auto"===d&&c.frame<5&&"hidden"!==(n||{}).visibilityState&&c.useRAF(!1)}),1500)})),(o=d.Ticker.prototype=new d.events.EventDispatcher).constructor=d.Ticker;var L=_("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){l||s.wake();var n=this.vars.useFrames?Y:Z;n.add(this,n._time),this.vars.paused&&this.paused(!0)}}));s=L.ticker=new d.Ticker,(o=L.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;var I=function(){l&&S()-P>2e3&&("hidden"!==(n||{}).visibilityState||!s.lagSmoothing())&&s.wake();var t=setTimeout(I,2e3);t.unref&&t.unref()};I(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,n){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t-1;)"{self}"===t[e]&&(n[e]=this);return n},o._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},o.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,n){if(l||s.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(z.length&&J(),this.render(t,e,!1),z.length&&J())}return this},o.progress=o.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(l||t||s.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var O=_("core.SimpleTimeline",(function(t){L.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(o=O.prototype=new L).constructor=O,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,n,i){var r,a;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(a=t._startTime;r&&r._startTime>a;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},o.rawTime=function(){return l||s.wake(),this._totalTime};var A=_("TweenLite",(function(e,n,i){if(L.call(this,n,i),this.render=A.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:A.selector(e)||e;var r,a,o,s=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?W[A.defaultOverwrite]:"number"==typeof l?l>>0:W[l],(s||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=o=p(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(a,this,null,1,this._siblings[r])):"string"==typeof(a=o[r--]=A.selector(a))&&o.splice(r+1,1):o.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(o=A.prototype=new L).constructor=A,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,A.version="2.1.3",A.defaultEase=o._ease=new w(null,null,1,1),A.defaultOverwrite="auto",A.ticker=s,A.autoSleep=120,A.lagSmoothing=function(t,e){s.lagSmoothing(t,e)},A.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(A.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],N={},D=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,R=/[\+-]=-?[\.\d]/,j=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<1e-6&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},F=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,n,i){var r,a,o,s,l,u,c,h=[],d=0,p="",f=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(D)||[],a=e.match(D)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=a.length,s=0;s=X){for(n in X=s.frame+(parseInt(A.autoSleep,10)||120),G){for(t=(e=G[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete G[n]}if((!(n=Z._first)||n._paused)&&A.autoSleep&&!Y._first&&1===s._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||s.sleep()}}},s.addEventListener("tick",L._updateRoot);var K=function(t,e,n){var i,r,a=t._gsTweenID;if(G[a||(t._gsTweenID=a="t"+V++)]||(G[a]={target:t,tweens:[]}),e&&((i=G[a].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return G[a].tweens},Q=function(t,e,n,i){var r,a,o=t.vars.onOverwrite;return o&&(r=o(t,e,n,i)),(o=A.onOverwrite)&&(a=o(t,e,n,i)),!1!==r&&!1!==a},tt=function(t,e,n,i,r){var a,o,s,l;if(1===i||i>=4){for(l=r.length,a=0;a-1;)(s=r[a])===e||s._gc||s._paused||(s._timeline!==e._timeline?(u=u||et(e,0,p),0===et(s,u,p)&&(h[d++]=s)):s._startTime<=c&&s._startTime+s.totalDuration()/s._timeScale>c&&((p||!s._initted)&&c-s._startTime<=2e-8||(h[d++]=s)));for(a=d;--a>-1;)if(l=(s=h[a])._firstPT,2===i&&s._kill(n,t,e)&&(o=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!Q(s,e))continue;s._enabled(!1,!1)&&(o=!0)}return o},et=function(t,e,n){for(var i=t._timeline,r=i._timeScale,a=t._startTime;i._timeline;){if(a+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(a/=r)>e?a-e:n&&a===e||!t._initted&&a-e<2e-8?1e-8:(a+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:a-e-1e-8};o._init=function(){var t,e,n,i,r,a,o=this.vars,s=this._overwrittenProps,l=this._duration,u=!!o.immediateRender,c=o.ease,h=this._startAt;if(o.startAt){for(i in h&&(h.render(-1,!0),h.kill()),r={},o.startAt)r[i]=o.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==o.lazy,r.startAt=r.delay=null,r.onUpdate=o.onUpdate,r.onUpdateParams=o.onUpdateParams,r.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=A.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},o)H[i]&&"autoCSS"!==i||(n[i]=o[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==o.lazy,n.immediateRender=u,this._startAt=A.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof w?c:"function"==typeof c?new w(c,o.easeParams):x[c]||A.defaultEase:A.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length,t=0;t-1;)n[u._overwriteProps[s]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[o]=U.call(this,e,o,"get",h,o,0,null,this.vars.stringFilter,a);return r&&this._kill(r,e)?this._initProps(e,n,i,r,a):this._overwrite>1&&this._firstPT&&i.length>1&&tt(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,a)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(N[e._gsTweenID]=!0),l)},o.render=function(t,e,n){var i,r,a,o,s=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-8||1e-8===u&&"isPause"!==this.data)&&u!==t&&(n=!0,u>1e-8&&(r="onReverseComplete")),this._rawPrevTime=o=!e||t||u===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(1e-8!==u||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=o=!e||t||u===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,d=this._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===d?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==s||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=s,this._rawPrevTime=u,z.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==s&&t>=0&&(this._active=!0),0===s&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==s||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-8===this._rawPrevTime&&1e-8!==o&&(this._rawPrevTime=0)))}},o._kill=function(t,e,n){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:A.selector(e)||e;var i,r,a,o,s,l,u,c,h,d=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,p=this._firstPT;if((m(e)||M(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(u=t||s,c=t!==r&&"all"!==r&&t!==s&&("object"!=typeof t||!t._tempKill),n&&(A.onOverwrite||this.vars.onOverwrite)){for(a in u)s[a]&&(h||(h=[]),h.push(a));if((h||!t)&&!Q(this,n,e,h))return!1}for(a in u)(o=s[a])&&(d&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete s[a]),c&&(r[a]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},o.invalidate=function(){this._notifyPluginsOfEnabled&&A._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},o._enabled=function(t,e){if(l||s.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return L.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&A._onPluginEvent(t?"_onEnable":"_onDisable",this)},A.to=function(t,e,n){return new A(t,e,n)},A.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new A(t,e,n)},A.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new A(t,e,i)},A.delayedCall=function(t,e,n,i,r){return new A(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},A.set=function(t,e){return new A(t,0,e)},A.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,a;if(t="string"!=typeof t?t:A.selector(t)||t,(m(t)||M(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(A.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(a=i[n],r=n;--r>-1;)a===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=K(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},A.killTweensOf=A.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=A.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var nt=_("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype}),!0);if(o=nt.prototype,nt.version="1.19.0",nt.API=2,o._firstPT=null,o._addTween=U,o.setRatio=j,o._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},o._mod=o._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},A._onPluginEvent=function(t,e){var n,i,r,a,o,s=e._firstPT;if("_onInitAllProps"===t){for(;s;){for(o=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:a)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:a=s,s=o}s=e._firstPT=r}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&($[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,a={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=_("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",(function(){nt.call(this,n,i),this._overwriteProps=r||[]}),!0===t.global),s=o.prototype=new nt(n);for(e in s.constructor=o,o.API=t.API,a)"function"==typeof t[e]&&(s[a[e]]=t[e]);return o.version=t.version,nt.activate([o]),o},r=t._gsQueue){for(a=0;a"']/g,j=RegExp(D.source),F=RegExp(R.source),B=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H=/[\\^$.*+?()[\]{}|]/g,W=RegExp(H.source),Y=/^\s+/,Z=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,K=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,at=/^0b[01]+$/i,ot=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ht=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="[\\ud800-\\udfff]",mt="["+pt+"]",gt="["+dt+"]",vt="\\d+",yt="[\\u2700-\\u27bf]",_t="[a-z\\xdf-\\xf6\\xf8-\\xff]",bt="[^\\ud800-\\udfff"+pt+vt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wt="\\ud83c[\\udffb-\\udfff]",xt="[^\\ud800-\\udfff]",kt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ct="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+_t+"|"+bt+")",St="(?:"+Tt+"|"+bt+")",Pt="(?:"+gt+"|"+wt+")"+"?",Lt="[\\ufe0e\\ufe0f]?"+Pt+("(?:\\u200d(?:"+[xt,kt,Ct].join("|")+")[\\ufe0e\\ufe0f]?"+Pt+")*"),It="(?:"+[yt,kt,Ct].join("|")+")"+Lt,Ot="(?:"+[xt+gt+"?",gt,kt,Ct,ft].join("|")+")",At=RegExp("['’]","g"),Mt=RegExp(gt,"g"),zt=RegExp(wt+"(?="+wt+")|"+Ot+Lt,"g"),Nt=RegExp([Tt+"?"+_t+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,Tt,"$"].join("|")+")",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,Tt+Et,"$"].join("|")+")",Tt+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Tt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vt,It].join("|"),"g"),Dt=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ft=-1,Bt={};Bt[T]=Bt[E]=Bt[S]=Bt[P]=Bt[L]=Bt[I]=Bt["[object Uint8ClampedArray]"]=Bt[O]=Bt[A]=!0,Bt[l]=Bt[u]=Bt[k]=Bt[c]=Bt[C]=Bt[h]=Bt[d]=Bt[p]=Bt[m]=Bt[g]=Bt[v]=Bt[y]=Bt[_]=Bt[b]=Bt[x]=!1;var Ut={};Ut[l]=Ut[u]=Ut[k]=Ut[C]=Ut[c]=Ut[h]=Ut[T]=Ut[E]=Ut[S]=Ut[P]=Ut[L]=Ut[m]=Ut[g]=Ut[v]=Ut[y]=Ut[_]=Ut[b]=Ut[w]=Ut[I]=Ut["[object Uint8ClampedArray]"]=Ut[O]=Ut[A]=!0,Ut[d]=Ut[p]=Ut[x]=!1;var qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$t=parseFloat,Gt=parseInt,Vt="object"==typeof t&&t&&t.Object===Object&&t,Ht="object"==typeof self&&self&&self.Object===Object&&self,Wt=Vt||Ht||Function("return this")(),Yt=e&&!e.nodeType&&e,Zt=Yt&&"object"==typeof i&&i&&!i.nodeType&&i,Xt=Zt&&Zt.exports===Yt,Jt=Xt&&Vt.process,Kt=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Jt&&Jt.binding&&Jt.binding("util")}catch(t){}}(),Qt=Kt&&Kt.isArrayBuffer,te=Kt&&Kt.isDate,ee=Kt&&Kt.isMap,ne=Kt&&Kt.isRegExp,ie=Kt&&Kt.isSet,re=Kt&&Kt.isTypedArray;function ae(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function oe(t,e,n,i){for(var r=-1,a=null==t?0:t.length;++r-1}function de(t,e,n){for(var i=-1,r=null==t?0:t.length;++i-1;);return n}function Ne(t,e){for(var n=t.length;n--&&we(e,t[n],0)>-1;);return n}function De(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var Re=Ee({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),je=Ee({"&":"&","<":"<",">":">",'"':""","'":"'"});function Fe(t){return"\\"+qt[t]}function Be(t){return Dt.test(t)}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function qe(t,e){return function(n){return t(e(n))}}function $e(t,e){for(var n=-1,i=t.length,r=0,a=[];++n",""":'"',"'":"'"});var Xe=function t(e){var n,i=(e=null==e?Wt:Xe.defaults(Wt.Object(),e,Xe.pick(Wt,jt))).Array,r=e.Date,Z=e.Error,dt=e.Function,pt=e.Math,ft=e.Object,mt=e.RegExp,gt=e.String,vt=e.TypeError,yt=i.prototype,_t=dt.prototype,bt=ft.prototype,wt=e["__core-js_shared__"],xt=_t.toString,kt=bt.hasOwnProperty,Ct=0,Tt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Et=bt.toString,St=xt.call(ft),Pt=Wt._,Lt=mt("^"+xt.call(kt).replace(H,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),It=Xt?e.Buffer:void 0,Ot=e.Symbol,zt=e.Uint8Array,Dt=It?It.allocUnsafe:void 0,qt=qe(ft.getPrototypeOf,ft),Vt=ft.create,Ht=bt.propertyIsEnumerable,Yt=yt.splice,Zt=Ot?Ot.isConcatSpreadable:void 0,Jt=Ot?Ot.iterator:void 0,Kt=Ot?Ot.toStringTag:void 0,ye=function(){try{var t=ta(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ee=e.clearTimeout!==Wt.clearTimeout&&e.clearTimeout,Je=r&&r.now!==Wt.Date.now&&r.now,Ke=e.setTimeout!==Wt.setTimeout&&e.setTimeout,Qe=pt.ceil,tn=pt.floor,en=ft.getOwnPropertySymbols,nn=It?It.isBuffer:void 0,rn=e.isFinite,an=yt.join,on=qe(ft.keys,ft),sn=pt.max,ln=pt.min,un=r.now,cn=e.parseInt,hn=pt.random,dn=yt.reverse,pn=ta(e,"DataView"),fn=ta(e,"Map"),mn=ta(e,"Promise"),gn=ta(e,"Set"),vn=ta(e,"WeakMap"),yn=ta(ft,"create"),_n=vn&&new vn,bn={},wn=Sa(pn),xn=Sa(fn),kn=Sa(mn),Cn=Sa(gn),Tn=Sa(vn),En=Ot?Ot.prototype:void 0,Sn=En?En.valueOf:void 0,Pn=En?En.toString:void 0;function Ln(t){if(Vo(t)&&!zo(t)&&!(t instanceof Mn)){if(t instanceof An)return t;if(kt.call(t,"__wrapped__"))return Pa(t)}return new An(t)}var In=function(){function t(){}return function(e){if(!Go(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function On(){}function An(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Mn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function zn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Jn(t,e,n,i,r,a){var o,s=1&e,u=2&e,d=4&e;if(n&&(o=r?n(t,i,r,a):n(t)),void 0!==o)return o;if(!Go(t))return t;var x=zo(t);if(x){if(o=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&kt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return yr(t,o)}else{var M=ia(t),z=M==p||M==f;if(jo(t))return dr(t,s);if(M==v||M==l||z&&!r){if(o=u||z?{}:aa(t),!s)return u?function(t,e){return _r(t,na(t),e)}(t,function(t,e){return t&&_r(e,xs(e),t)}(o,t)):function(t,e){return _r(t,ea(t),e)}(t,Wn(o,t))}else{if(!Ut[M])return r?t:{};o=function(t,e,n){var i=t.constructor;switch(e){case k:return pr(t);case c:case h:return new i(+t);case C:return function(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case T:case E:case S:case P:case L:case I:case"[object Uint8ClampedArray]":case O:case A:return fr(t,n);case m:return new i;case g:case b:return new i(t);case y:return function(t){var e=new t.constructor(t.source,it.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new i;case w:return r=t,Sn?ft(Sn.call(r)):{}}var r}(t,M,s)}}a||(a=new jn);var N=a.get(t);if(N)return N;a.set(t,o),Xo(t)?t.forEach((function(i){o.add(Jn(i,e,n,i,t,a))})):Ho(t)&&t.forEach((function(i,r){o.set(r,Jn(i,e,n,r,t,a))}));var D=x?void 0:(d?u?Wr:Hr:u?xs:ws)(t);return se(D||t,(function(i,r){D&&(i=t[r=i]),Gn(o,r,Jn(i,e,n,r,t,a))})),o}function Kn(t,e,n){var i=n.length;if(null==t)return!i;for(t=ft(t);i--;){var r=n[i],a=e[r],o=t[r];if(void 0===o&&!(r in t)||!a(o))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new vt(a);return ba((function(){t.apply(void 0,n)}),e)}function ti(t,e,n,i){var r=-1,a=he,o=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=pe(e,Oe(n))),i?(a=de,o=!1):e.length>=200&&(a=Me,o=!1,e=new Rn(e));t:for(;++r-1},Nn.prototype.set=function(t,e){var n=this.__data__,i=Vn(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Dn.prototype.clear=function(){this.size=0,this.__data__={hash:new zn,map:new(fn||Nn),string:new zn}},Dn.prototype.delete=function(t){var e=Kr(this,t).delete(t);return this.size-=e?1:0,e},Dn.prototype.get=function(t){return Kr(this,t).get(t)},Dn.prototype.has=function(t){return Kr(this,t).has(t)},Dn.prototype.set=function(t,e){var n=Kr(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},jn.prototype.clear=function(){this.__data__=new Nn,this.size=0},jn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},jn.prototype.get=function(t){return this.__data__.get(t)},jn.prototype.has=function(t){return this.__data__.has(t)},jn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Nn){var i=n.__data__;if(!fn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Dn(i)}return n.set(t,e),this.size=n.size,this};var ei=xr(ui),ni=xr(ci,!0);function ii(t,e){var n=!0;return ei(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function ri(t,e,n){for(var i=-1,r=t.length;++i0&&n(s)?e>1?oi(s,e-1,n,i,r):fe(r,s):i||(r[r.length]=s)}return r}var si=kr(),li=kr(!0);function ui(t,e){return t&&si(t,e,ws)}function ci(t,e){return t&&li(t,e,ws)}function hi(t,e){return ce(e,(function(e){return Uo(t[e])}))}function di(t,e){for(var n=0,i=(e=lr(e,t)).length;null!=t&&ne}function gi(t,e){return null!=t&&kt.call(t,e)}function vi(t,e){return null!=t&&e in ft(t)}function yi(t,e,n){for(var r=n?de:he,a=t[0].length,o=t.length,s=o,l=i(o),u=1/0,c=[];s--;){var h=t[s];s&&e&&(h=pe(h,Oe(e))),u=ln(h.length,u),l[s]=!n&&(e||a>=120&&h.length>=120)?new Rn(s&&h):void 0}h=t[0];var d=-1,p=l[0];t:for(;++d=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function zi(t,e,n){for(var i=-1,r=e.length,a={};++i-1;)s!==t&&Yt.call(s,l,1),Yt.call(t,l,1);return t}function Di(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==a){var a=r;sa(r)?Yt.call(t,r,1):tr(t,r)}}return t}function Ri(t,e){return t+tn(hn()*(e-t+1))}function ji(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Fi(t,e){return wa(ma(t,e,Ws),t+"")}function Bi(t){return Bn(Is(t))}function Ui(t,e){var n=Is(t);return Ca(n,Xn(e,0,n.length))}function qi(t,e,n,i){if(!Go(t))return t;for(var r=-1,a=(e=lr(e,t)).length,o=a-1,s=t;null!=s&&++ra?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=i(a);++r>>1,o=t[a];null!==o&&!Ko(o)&&(n?o<=e:o=200){var u=e?null:jr(t);if(u)return Ge(u);o=!1,r=Me,l=new Rn}else l=e?[]:s;t:for(;++i=i?t:Hi(t,e,n)}var hr=Ee||function(t){return Wt.clearTimeout(t)};function dr(t,e){if(e)return t.slice();var n=t.length,i=Dt?Dt(n):new t.constructor(n);return t.copy(i),i}function pr(t){var e=new t.constructor(t.byteLength);return new zt(e).set(new zt(t)),e}function fr(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function mr(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=Ko(t),o=void 0!==e,s=null===e,l=e==e,u=Ko(e);if(!s&&!u&&!a&&t>e||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&t1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,o&&la(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),e=ft(e);++i-1?r[a?e[o]:o]:void 0}}function Pr(t){return Vr((function(e){var n=e.length,i=n,r=An.prototype.thru;for(t&&e.reverse();i--;){var o=e[i];if("function"!=typeof o)throw new vt(a);if(r&&!s&&"wrapper"==Zr(o))var s=new An([],!0)}for(i=s?i:n;++i1&&_.reverse(),h&&us))return!1;var u=a.get(t),c=a.get(e);if(u&&c)return u==e&&c==t;var h=-1,d=!0,p=2&n?new Rn:void 0;for(a.set(t,e),a.set(e,t);++h-1&&t%1==0&&t1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return se(s,(function(n){var i="_."+n[0];e&n[1]&&!he(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(J);return e?e[1].split(K):[]}(i),n)))}function ka(t){var e=0,n=0;return function(){var i=un(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Ca(t,e){var n=-1,i=t.length,r=i-1;for(e=void 0===e?i:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Ya(t,n)}));function eo(t){var e=Ln(t);return e.__chain__=!0,e}function no(t,e){return e(t)}var io=Vr((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return Zn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Mn&&sa(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:no,args:[r],thisArg:void 0}),new An(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(r)}));var ro=br((function(t,e,n){kt.call(t,n)?++t[n]:Yn(t,n,1)}));var ao=Sr(Aa),oo=Sr(Ma);function so(t,e){return(zo(t)?se:ei)(t,Jr(e,3))}function lo(t,e){return(zo(t)?le:ni)(t,Jr(e,3))}var uo=br((function(t,e,n){kt.call(t,n)?t[n].push(e):Yn(t,n,[e])}));var co=Fi((function(t,e,n){var r=-1,a="function"==typeof e,o=Do(t)?i(t.length):[];return ei(t,(function(t){o[++r]=a?ae(e,t,n):_i(t,e,n)})),o})),ho=br((function(t,e,n){Yn(t,n,e)}));function po(t,e){return(zo(t)?pe:Pi)(t,Jr(e,3))}var fo=br((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var mo=Fi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&la(t,e[0],e[1])?e=[]:n>2&&la(e[0],e[1],e[2])&&(e=[e[0]]),Mi(t,oi(e,1),[])})),go=Je||function(){return Wt.Date.now()};function vo(t,e,n){return e=n?void 0:e,Br(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function yo(t,e){var n;if("function"!=typeof e)throw new vt(a);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var _o=Fi((function(t,e,n){var i=1;if(n.length){var r=$e(n,Xr(_o));i|=32}return Br(t,i,e,n,r)})),bo=Fi((function(t,e,n){var i=3;if(n.length){var r=$e(n,Xr(bo));i|=32}return Br(e,i,t,n,r)}));function wo(t,e,n){var i,r,o,s,l,u,c=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new vt(a);function f(e){var n=i,a=r;return i=r=void 0,c=e,s=t.apply(a,n)}function m(t){return c=t,l=ba(v,e),h?f(t):s}function g(t){var n=t-u;return void 0===u||n>=e||n<0||d&&t-c>=o}function v(){var t=go();if(g(t))return y(t);l=ba(v,function(t){var n=e-(t-u);return d?ln(n,o-(t-c)):n}(t))}function y(t){return l=void 0,p&&i?f(t):(i=r=void 0,s)}function _(){var t=go(),n=g(t);if(i=arguments,r=this,u=t,n){if(void 0===l)return m(u);if(d)return hr(l),l=ba(v,e),f(u)}return void 0===l&&(l=ba(v,e)),s}return e=os(e)||0,Go(n)&&(h=!!n.leading,o=(d="maxWait"in n)?sn(os(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),_.cancel=function(){void 0!==l&&hr(l),c=0,i=u=r=l=void 0},_.flush=function(){return void 0===l?s:y(go())},_}var xo=Fi((function(t,e){return Qn(t,1,e)})),ko=Fi((function(t,e,n){return Qn(t,os(e)||0,n)}));function Co(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new vt(a);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(Co.Cache||Dn),n}function To(t){if("function"!=typeof t)throw new vt(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Co.Cache=Dn;var Eo=ur((function(t,e){var n=(e=1==e.length&&zo(e[0])?pe(e[0],Oe(Jr())):pe(oi(e,1),Oe(Jr()))).length;return Fi((function(i){for(var r=-1,a=ln(i.length,n);++r=e})),Mo=bi(function(){return arguments}())?bi:function(t){return Vo(t)&&kt.call(t,"callee")&&!Ht.call(t,"callee")},zo=i.isArray,No=Qt?Oe(Qt):function(t){return Vo(t)&&fi(t)==k};function Do(t){return null!=t&&$o(t.length)&&!Uo(t)}function Ro(t){return Vo(t)&&Do(t)}var jo=nn||ol,Fo=te?Oe(te):function(t){return Vo(t)&&fi(t)==h};function Bo(t){if(!Vo(t))return!1;var e=fi(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Yo(t)}function Uo(t){if(!Go(t))return!1;var e=fi(t);return e==p||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function qo(t){return"number"==typeof t&&t==rs(t)}function $o(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Go(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vo(t){return null!=t&&"object"==typeof t}var Ho=ee?Oe(ee):function(t){return Vo(t)&&ia(t)==m};function Wo(t){return"number"==typeof t||Vo(t)&&fi(t)==g}function Yo(t){if(!Vo(t)||fi(t)!=v)return!1;var e=qt(t);if(null===e)return!0;var n=kt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&xt.call(n)==St}var Zo=ne?Oe(ne):function(t){return Vo(t)&&fi(t)==y};var Xo=ie?Oe(ie):function(t){return Vo(t)&&ia(t)==_};function Jo(t){return"string"==typeof t||!zo(t)&&Vo(t)&&fi(t)==b}function Ko(t){return"symbol"==typeof t||Vo(t)&&fi(t)==w}var Qo=re?Oe(re):function(t){return Vo(t)&&$o(t.length)&&!!Bt[fi(t)]};var ts=Nr(Si),es=Nr((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Do(t))return Jo(t)?We(t):yr(t);if(Jt&&t[Jt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Jt]());var e=ia(t);return(e==m?Ue:e==_?Ge:Is)(t)}function is(t){return t?(t=os(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=is(t),n=e%1;return e==e?n?e-n:e:0}function as(t){return t?Xn(rs(t),0,4294967295):0}function os(t){if("number"==typeof t)return t;if(Ko(t))return NaN;if(Go(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Go(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ie(t);var n=at.test(t);return n||st.test(t)?Gt(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function ss(t){return _r(t,xs(t))}function ls(t){return null==t?"":Ki(t)}var us=wr((function(t,e){if(da(e)||Do(e))_r(e,ws(e),t);else for(var n in e)kt.call(e,n)&&Gn(t,n,e[n])})),cs=wr((function(t,e){_r(e,xs(e),t)})),hs=wr((function(t,e,n,i){_r(e,xs(e),t,i)})),ds=wr((function(t,e,n,i){_r(e,ws(e),t,i)})),ps=Vr(Zn);var fs=Fi((function(t,e){t=ft(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&la(e[0],e[1],r)&&(i=1);++n1),e})),_r(t,Wr(t),n),i&&(n=Jn(n,7,$r));for(var r=e.length;r--;)tr(n,e[r]);return n}));var Es=Vr((function(t,e){return null==t?{}:function(t,e){return zi(t,e,(function(e,n){return vs(t,n)}))}(t,e)}));function Ss(t,e){if(null==t)return{};var n=pe(Wr(t),(function(t){return[t]}));return e=Jr(e),zi(t,n,(function(t,n){return e(t,n[0])}))}var Ps=Fr(ws),Ls=Fr(xs);function Is(t){return null==t?[]:Ae(t,ws(t))}var Os=Tr((function(t,e,n){return e=e.toLowerCase(),t+(n?As(e):e)}));function As(t){return Bs(ls(t).toLowerCase())}function Ms(t){return(t=ls(t))&&t.replace(ut,Re).replace(Mt,"")}var zs=Tr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ns=Tr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ds=Cr("toLowerCase");var Rs=Tr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var js=Tr((function(t,e,n){return t+(n?" ":"")+Bs(e)}));var Fs=Tr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Bs=Cr("toUpperCase");function Us(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return Rt.test(t)}(t)?function(t){return t.match(Nt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var qs=Fi((function(t,e){try{return ae(t,void 0,e)}catch(t){return Bo(t)?t:new Z(t)}})),$s=Vr((function(t,e){return se(e,(function(e){e=Ea(e),Yn(t,e,_o(t[e],t))})),t}));function Gs(t){return function(){return t}}var Vs=Pr(),Hs=Pr(!0);function Ws(t){return t}function Ys(t){return Ci("function"==typeof t?t:Jn(t,1))}var Zs=Fi((function(t,e){return function(n){return _i(n,t,e)}})),Xs=Fi((function(t,e){return function(n){return _i(t,n,e)}}));function Js(t,e,n){var i=ws(e),r=hi(e,i);null!=n||Go(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=hi(e,ws(e)));var a=!(Go(n)&&"chain"in n&&!n.chain),o=Uo(t);return se(r,(function(n){var i=e[n];t[n]=i,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__),r=n.__actions__=yr(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,fe([this.value()],arguments))})})),t}function Ks(){}var Qs=Ar(pe),tl=Ar(ue),el=Ar(ve);function nl(t){return ua(t)?Te(Ea(t)):function(t){return function(e){return di(e,t)}}(t)}var il=zr(),rl=zr(!0);function al(){return[]}function ol(){return!1}var sl=Or((function(t,e){return t+e}),0),ll=Rr("ceil"),ul=Or((function(t,e){return t/e}),1),cl=Rr("floor");var hl,dl=Or((function(t,e){return t*e}),1),pl=Rr("round"),fl=Or((function(t,e){return t-e}),0);return Ln.after=function(t,e){if("function"!=typeof e)throw new vt(a);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},Ln.ary=vo,Ln.assign=us,Ln.assignIn=cs,Ln.assignInWith=hs,Ln.assignWith=ds,Ln.at=ps,Ln.before=yo,Ln.bind=_o,Ln.bindAll=$s,Ln.bindKey=bo,Ln.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return zo(t)?t:[t]},Ln.chain=eo,Ln.chunk=function(t,e,n){e=(n?la(t,e,n):void 0===e)?1:sn(rs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var a=0,o=0,s=i(Qe(r/e));ar?0:r+n),(i=void 0===i||i>r?r:rs(i))<0&&(i+=r),i=n>i?0:as(i);n>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!Zo(e))&&!(e=Ki(e))&&Be(t)?cr(We(t),0,n):t.split(e,n):[]},Ln.spread=function(t,e){if("function"!=typeof t)throw new vt(a);return e=null==e?0:sn(rs(e),0),Fi((function(n){var i=n[e],r=cr(n,0,e);return i&&fe(r,i),ae(t,this,r)}))},Ln.tail=function(t){var e=null==t?0:t.length;return e?Hi(t,1,e):[]},Ln.take=function(t,e,n){return t&&t.length?Hi(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},Ln.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Hi(t,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e,i):[]},Ln.takeRightWhile=function(t,e){return t&&t.length?nr(t,Jr(e,3),!1,!0):[]},Ln.takeWhile=function(t,e){return t&&t.length?nr(t,Jr(e,3)):[]},Ln.tap=function(t,e){return e(t),t},Ln.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new vt(a);return Go(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),wo(t,e,{leading:i,maxWait:e,trailing:r})},Ln.thru=no,Ln.toArray=ns,Ln.toPairs=Ps,Ln.toPairsIn=Ls,Ln.toPath=function(t){return zo(t)?pe(t,Ea):Ko(t)?[t]:yr(Ta(ls(t)))},Ln.toPlainObject=ss,Ln.transform=function(t,e,n){var i=zo(t),r=i||jo(t)||Qo(t);if(e=Jr(e,4),null==n){var a=t&&t.constructor;n=r?i?new a:[]:Go(t)&&Uo(a)?In(qt(t)):{}}return(r?se:ui)(t,(function(t,i,r){return e(n,t,i,r)})),n},Ln.unary=function(t){return vo(t,1)},Ln.union=Ga,Ln.unionBy=Va,Ln.unionWith=Ha,Ln.uniq=function(t){return t&&t.length?Qi(t):[]},Ln.uniqBy=function(t,e){return t&&t.length?Qi(t,Jr(e,2)):[]},Ln.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qi(t,void 0,e):[]},Ln.unset=function(t,e){return null==t||tr(t,e)},Ln.unzip=Wa,Ln.unzipWith=Ya,Ln.update=function(t,e,n){return null==t?t:er(t,e,sr(n))},Ln.updateWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:er(t,e,sr(n),i)},Ln.values=Is,Ln.valuesIn=function(t){return null==t?[]:Ae(t,xs(t))},Ln.without=Za,Ln.words=Us,Ln.wrap=function(t,e){return So(sr(e),t)},Ln.xor=Xa,Ln.xorBy=Ja,Ln.xorWith=Ka,Ln.zip=Qa,Ln.zipObject=function(t,e){return ar(t||[],e||[],Gn)},Ln.zipObjectDeep=function(t,e){return ar(t||[],e||[],qi)},Ln.zipWith=to,Ln.entries=Ps,Ln.entriesIn=Ls,Ln.extend=cs,Ln.extendWith=hs,Js(Ln,Ln),Ln.add=sl,Ln.attempt=qs,Ln.camelCase=Os,Ln.capitalize=As,Ln.ceil=ll,Ln.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==e&&(e=(e=os(e))==e?e:0),Xn(os(t),e,n)},Ln.clone=function(t){return Jn(t,4)},Ln.cloneDeep=function(t){return Jn(t,5)},Ln.cloneDeepWith=function(t,e){return Jn(t,5,e="function"==typeof e?e:void 0)},Ln.cloneWith=function(t,e){return Jn(t,4,e="function"==typeof e?e:void 0)},Ln.conformsTo=function(t,e){return null==e||Kn(t,e,ws(e))},Ln.deburr=Ms,Ln.defaultTo=function(t,e){return null==t||t!=t?e:t},Ln.divide=ul,Ln.endsWith=function(t,e,n){t=ls(t),e=Ki(e);var i=t.length,r=n=void 0===n?i:Xn(rs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},Ln.eq=Io,Ln.escape=function(t){return(t=ls(t))&&F.test(t)?t.replace(R,je):t},Ln.escapeRegExp=function(t){return(t=ls(t))&&W.test(t)?t.replace(H,"\\$&"):t},Ln.every=function(t,e,n){var i=zo(t)?ue:ii;return n&&la(t,e,n)&&(e=void 0),i(t,Jr(e,3))},Ln.find=ao,Ln.findIndex=Aa,Ln.findKey=function(t,e){return _e(t,Jr(e,3),ui)},Ln.findLast=oo,Ln.findLastIndex=Ma,Ln.findLastKey=function(t,e){return _e(t,Jr(e,3),ci)},Ln.floor=cl,Ln.forEach=so,Ln.forEachRight=lo,Ln.forIn=function(t,e){return null==t?t:si(t,Jr(e,3),xs)},Ln.forInRight=function(t,e){return null==t?t:li(t,Jr(e,3),xs)},Ln.forOwn=function(t,e){return t&&ui(t,Jr(e,3))},Ln.forOwnRight=function(t,e){return t&&ci(t,Jr(e,3))},Ln.get=gs,Ln.gt=Oo,Ln.gte=Ao,Ln.has=function(t,e){return null!=t&&ra(t,e,gi)},Ln.hasIn=vs,Ln.head=Na,Ln.identity=Ws,Ln.includes=function(t,e,n,i){t=Do(t)?t:Is(t),n=n&&!i?rs(n):0;var r=t.length;return n<0&&(n=sn(r+n,0)),Jo(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&we(t,e,n)>-1},Ln.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),we(t,e,r)},Ln.inRange=function(t,e,n){return e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n){return t>=ln(e,n)&&t=-9007199254740991&&t<=9007199254740991},Ln.isSet=Xo,Ln.isString=Jo,Ln.isSymbol=Ko,Ln.isTypedArray=Qo,Ln.isUndefined=function(t){return void 0===t},Ln.isWeakMap=function(t){return Vo(t)&&ia(t)==x},Ln.isWeakSet=function(t){return Vo(t)&&"[object WeakSet]"==fi(t)},Ln.join=function(t,e){return null==t?"":an.call(t,e)},Ln.kebabCase=zs,Ln.last=Fa,Ln.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=rs(n))<0?sn(i+r,0):ln(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):be(t,ke,r,!0)},Ln.lowerCase=Ns,Ln.lowerFirst=Ds,Ln.lt=ts,Ln.lte=es,Ln.max=function(t){return t&&t.length?ri(t,Ws,mi):void 0},Ln.maxBy=function(t,e){return t&&t.length?ri(t,Jr(e,2),mi):void 0},Ln.mean=function(t){return Ce(t,Ws)},Ln.meanBy=function(t,e){return Ce(t,Jr(e,2))},Ln.min=function(t){return t&&t.length?ri(t,Ws,Si):void 0},Ln.minBy=function(t,e){return t&&t.length?ri(t,Jr(e,2),Si):void 0},Ln.stubArray=al,Ln.stubFalse=ol,Ln.stubObject=function(){return{}},Ln.stubString=function(){return""},Ln.stubTrue=function(){return!0},Ln.multiply=dl,Ln.nth=function(t,e){return t&&t.length?Ai(t,rs(e)):void 0},Ln.noConflict=function(){return Wt._===this&&(Wt._=Pt),this},Ln.noop=Ks,Ln.now=go,Ln.pad=function(t,e,n){t=ls(t);var i=(e=rs(e))?He(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Mr(tn(r),n)+t+Mr(Qe(r),n)},Ln.padEnd=function(t,e,n){t=ls(t);var i=(e=rs(e))?He(t):0;return e&&ie){var i=t;t=e,e=i}if(n||t%1||e%1){var r=hn();return ln(t+r*(e-t+$t("1e-"+((r+"").length-1))),e)}return Ri(t,e)},Ln.reduce=function(t,e,n){var i=zo(t)?me:Se,r=arguments.length<3;return i(t,Jr(e,4),n,r,ei)},Ln.reduceRight=function(t,e,n){var i=zo(t)?ge:Se,r=arguments.length<3;return i(t,Jr(e,4),n,r,ni)},Ln.repeat=function(t,e,n){return e=(n?la(t,e,n):void 0===e)?1:rs(e),ji(ls(t),e)},Ln.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Ln.result=function(t,e,n){var i=-1,r=(e=lr(e,t)).length;for(r||(r=1,t=void 0);++i9007199254740991)return[];var n=4294967295,i=ln(t,4294967295);t-=4294967295;for(var r=Le(i,e=Jr(e));++n=a)return t;var s=n-He(i);if(s<1)return i;var l=o?cr(o,0,s).join(""):t.slice(0,s);if(void 0===r)return l+i;if(o&&(s+=l.length-s),Zo(r)){if(t.slice(s).search(r)){var u,c=l;for(r.global||(r=mt(r.source,ls(it.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var h=u.index;l=l.slice(0,void 0===h?s:h)}}else if(t.indexOf(Ki(r),s)!=s){var d=l.lastIndexOf(r);d>-1&&(l=l.slice(0,d))}return l+i},Ln.unescape=function(t){return(t=ls(t))&&j.test(t)?t.replace(D,Ze):t},Ln.uniqueId=function(t){var e=++Ct;return ls(t)+e},Ln.upperCase=Fs,Ln.upperFirst=Bs,Ln.each=so,Ln.eachRight=lo,Ln.first=Na,Js(Ln,(hl={},ui(Ln,(function(t,e){kt.call(Ln.prototype,e)||(hl[e]=t)})),hl),{chain:!1}),Ln.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Ln[t].placeholder=Ln})),se(["drop","take"],(function(t,e){Mn.prototype[t]=function(n){n=void 0===n?1:sn(rs(n),0);var i=this.__filtered__&&!e?new Mn(this):this.clone();return i.__filtered__?i.__takeCount__=ln(n,i.__takeCount__):i.__views__.push({size:ln(n,4294967295),type:t+(i.__dir__<0?"Right":"")}),i},Mn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Mn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Jr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Mn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Mn.prototype[t]=function(){return this.__filtered__?new Mn(this):this[n](1)}})),Mn.prototype.compact=function(){return this.filter(Ws)},Mn.prototype.find=function(t){return this.filter(t).head()},Mn.prototype.findLast=function(t){return this.reverse().find(t)},Mn.prototype.invokeMap=Fi((function(t,e){return"function"==typeof t?new Mn(this):this.map((function(n){return _i(n,t,e)}))})),Mn.prototype.reject=function(t){return this.filter(To(Jr(t)))},Mn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Mn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Mn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Mn.prototype.toArray=function(){return this.take(4294967295)},ui(Mn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=Ln[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(Ln.prototype[e]=function(){var e=this.__wrapped__,o=i?[1]:arguments,s=e instanceof Mn,l=o[0],u=s||zo(e),c=function(t){var e=r.apply(Ln,fe([t],o));return i&&h?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,f=s&&!d;if(!a&&u){e=f?e:new Mn(this);var m=t.apply(e,o);return m.__actions__.push({func:no,args:[c],thisArg:void 0}),new An(m,h)}return p&&f?t.apply(this,o):(m=this.thru(c),p?i?m.value()[0]:m.value():m)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=yt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Ln.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(zo(r)?r:[],t)}return this[n]((function(n){return e.apply(zo(n)?n:[],t)}))}})),ui(Mn.prototype,(function(t,e){var n=Ln[e];if(n){var i=n.name+"";kt.call(bn,i)||(bn[i]=[]),bn[i].push({name:e,func:n})}})),bn[Lr(void 0,2).name]=[{name:"wrapper",func:void 0}],Mn.prototype.clone=function(){var t=new Mn(this.__wrapped__);return t.__actions__=yr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=yr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=yr(this.__views__),t},Mn.prototype.reverse=function(){if(this.__filtered__){var t=new Mn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Mn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=zo(t),i=e<0,r=n?t.length:0,a=function(t,e,n){var i=-1,r=n.length;for(;++i=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Ln.prototype.plant=function(t){for(var e,n=this;n instanceof On;){var i=Pa(n);i.__index__=0,i.__values__=void 0,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},Ln.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Mn){var e=t;return this.__actions__.length&&(e=new Mn(this)),(e=e.reverse()).__actions__.push({func:no,args:[$a],thisArg:void 0}),new An(e,this.__chain__)}return this.thru($a)},Ln.prototype.toJSON=Ln.prototype.valueOf=Ln.prototype.value=function(){return ir(this.__wrapped__,this.__actions__)},Ln.prototype.first=Ln.prototype.head,Jt&&(Ln.prototype[Jt]=function(){return this}),Ln}();Wt._=Xe,void 0===(r=function(){return Xe}.call(e,n,e,i))||(i.exports=r)}).call(this)}).call(this,n("yLpj"),n("YuTi")(t))},LxGr:function(t){t.exports=JSON.parse('{"privacy-title":"Controle sua Privacidade","privacy-text":"Controle sua privacidade para cada equipe que você se juntou.","team-update-title":"Atualize suas equipes","team-update-text":"Você só pode atualizar as equipes que lidera.","maps":{"team-map":"Mapa da equipe","name-will-appear":"Seu nome aparecerá nos mapas","username-will-appear":"Seu nome de usuário aparecerá nos mapas","will-not-appear":"Seu nome e nome de usuário não aparecerão nos mapas"},"leaderboards":{"team-leaderboard":"Tabela de classificação da equipe","name-will-appear":"Seu nome aparecerá nas tabelas de classificação","username-will-appear":"Seu nome de usuário aparecerá nas tabelas de classificação","will-not-appear":"Seu nome e nome de usuário não aparecerão nas tabelas de classificação"},"submit-one-team":"Salvar para esta equipe","apply-all-teams":"Candidate-se a todas as equipes"}')},M3TT:function(t){t.exports=JSON.parse('{"taken-on":"Felvette","with-a":"Ezzel","by":"Által","meter-hex-grids":"méteres hatszögletű rácsok","hover-to-count":"Számláláshoz vigye az egérmutatót fölé","pieces-of-litter":"Szemétdarabok","hover-polygons-to-count":"Számláláshoz vigye az egérmutatót a sokszögek fölé"}')},M5CN:function(t,e,n){var i=n("UWWF");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},MLZk:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Email",data:function(){return{email:"",processing:!1}},computed:{validationErrors:function(){var t=this.$store.state.user.errors;return t&&t.email?t.email[0]:null}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SEND_PASSWORD_RESET_LINK",e.email);case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()},clearErrors:function(){this.$store.commit("errors",[])}}},s=(n("gZjL"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero is-info is-fullheight"},[n("div",{staticClass:"columns centered"},[n("div",{staticClass:"column"}),t._v(" "),n("div",{staticClass:"column is-half-tablet is-one-third-desktop is-one-quarter-fullhd"},[n("p",{staticClass:"title is-1 has-text-centered"},[t._v("Reset Password")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"email"}},[t._v("E-Mail Address")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",class:t.validationErrors?"is-danger":"",attrs:{id:"email",type:"email",name:"email",required:"",autofocus:"",placeholder:"you@email.com"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.clearErrors]}}),t._v(" "),t._m(0),t._v(" "),t.validationErrors?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.validationErrors))]):t._e()])]),t._v(" "),n("div",{staticClass:"field has-text-centered"},[n("div",{staticClass:"control"},[n("button",{staticClass:"button is-primary",class:t.processing?"is-loading":"",attrs:{type:"submit",disabled:t.processing}},[t._v("\n Send Password Reset Link\n ")])])])])])]),t._v(" "),n("div",{staticClass:"column"})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])}],!1,null,"3bb5fc0c",null);e.default=l.exports},"MO+k":function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=r[a].channels,s=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:o}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s===o?e=0:i===s?e=(r-a)/l:r===s?e=2+(a-i)/l:a===s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},r.rgb.hsv=function(t){var e,n,i,r,a,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),c=u-Math.min(o,s,l),h=function(t){return(u-t)/6/c+.5};return 0===c?r=a=0:(a=c/u,e=h(o),n=h(s),i=h(l),o===u?r=i-n:s===u?r=1/3+e-i:l===u&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*u]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[r.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,i))*100,100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},r.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,a,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],c=(a=t,o=u,Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));c.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e=r.rgb.xyz(t),n=e[0],i=e[1],a=e[2];return i/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(t){var e,n,i,r,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[a=255*l,a,a];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,a=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,r[u]=255*a;return r},r.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[e,100*(0===i?2*r/(a+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,a=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],a=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(e=(2-a)*s)<=1?e:2-e)||0),100*(i/=2)]},r.hwb.rgb=function(t){var e,n,i,r,a,o,s,l=t[0]/360,u=t[1]/100,c=t[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),r=u+i*((n=1-c)-u),e){default:case 6:case 0:a=n,o=r,s=u;break;case 1:a=r,o=n,s=u;break;case 2:a=u,o=n,s=r;break;case 3:a=u,o=r,s=n;break;case 4:a=r,o=u,s=n;break;case 5:a=n,o=u,s=r}return[255*a,255*o,255*s]},r.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,e=(e=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(t){var e,n,i,r=t[0];e=t[1]/500+(n=(r+16)/116),i=n-t[2]/200;var a=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(i,3);return n=a>.008856?a:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},r.lab.lch=function(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]},r.lch.lab=function(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],a=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===a&&(o+=60),o},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return e=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,r=0;return(i=n<.5?2*e*n:2*e*(1-n))<1&&(r=(n-.5*i)/(1-i)),[t[0],100*i,100*r]},r.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var r,a=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return r=(1-n)*i,[255*(n*a[0]+r),255*(n*a[1]+r),255*(n*a[2]+r)]},r.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},r.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,i=n-e,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,r=0;r1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:h,getRgb:function(t){var e=c(t);return e&&e.slice(0,3)},getHsl:function(t){var e=h(t);return e&&e.slice(0,3)},getHwb:d,getAlpha:function(t){var e=c(t);return e||(e=h(t))||(e=d(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?p(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:p,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:f,hslString:function(t,e){return e<1||t[3]&&t[3]<1?m(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:m,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return y[t.slice(0,3)]}};function c(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var a=0;an?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new b,i=this.values,r=n.values;for(var a in i)i.hasOwnProperty(a)&&(t=i[a],"[object Array]"===(e={}.toString.call(t))?r[a]=t.slice(0):"[object Number]"===e&&(r[a]=t));return n}},b.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},b.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},b.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i=0;r--)e.call(n,t[r],r);else for(r=0;r=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-T.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*T.easeInBounce(2*t):.5*T.easeOutBounce(2*t-1)+.5}},E={effects:T};C.easingEffects=T;var S=Math.PI,P=S/180,L=2*S,I=S/2,O=S/4,A=2*S/3,M={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,a){if(a){var o=Math.min(a,r/2,i/2),s=e+o,l=n+o,u=e+i-o,c=n+r-o;t.moveTo(e,l),se.left-1e-6&&t.xe.top-1e-6&&t.y0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,a=0;a=n?(U.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(a,1)):++a}},K=U.options.resolve,Q=["push","pop","shift","splice","unshift"];function tt(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(Q.forEach((function(e){delete t[e]})),delete t._chartjs)}}var et=function(t,e){this.initialize(t,e)};U.extend(et.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),r=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||r.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&tt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;tn&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;nr?(a=r/e.innerRadius,t.arc(o,s,e.innerRadius-r,i+a,n-a,!0)):t.arc(o,s,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function at(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var r,a=n.endAngle;for(i&&(n.endAngle=n.startAngle+it,rt(t,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=it,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+it,n.startAngle,!0),r=0;rs;)r-=it;for(;r=o&&r<=s,u=a>=n.innerRadius&&a<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/it)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+it,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;tt.x&&(e=vt(e,"left","right")):t.basen?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||a<0?0:a>n?n:a,l:l.left||o<0?0:o>e?e:o}}function _t(t,e,n){var i=null===e,r=null===n,a=!(!t||i&&r)&>(t);return a&&(i||e>=a.left&&e<=a.right)&&(r||n>=a.top&&n<=a.bottom)}D._set("global",{elements:{rectangle:{backgroundColor:ft,borderColor:ft,borderSkipped:"bottom",borderWidth:0}}});var bt=Y.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=gt(t),n=e.right-e.left,i=e.bottom-e.top,r=yt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return _t(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return mt(n)?_t(n,t,null):_t(n,null,e)},inXRange:function(t){return _t(this._view,t,null)},inYRange:function(t){return _t(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return mt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return mt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),wt={},xt=ot,kt=ut,Ct=pt,Tt=bt;wt.Arc=xt,wt.Line=kt,wt.Point=Ct,wt.Rectangle=Tt;var Et=U._deprecated,St=U.valueOrDefault;function Pt(t,e,n){var i,r,a=n.barThickness,o=e.stackCount,s=e.pixels[t],l=U.isNullOrUndef(a)?function(t,e){var n,i,r,a,o=t._length;for(r=1,a=e.length;r0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(e.scale,e.pixels):-1;return U.isNullOrUndef(a)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=a*o,r=1),{chunk:i/o,ratio:r,start:s-i/2}}D._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),D._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Lt=nt.extend({dataElementType:wt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;nt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,Et("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Et("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Et("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Et("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Et("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e=0&&m.min>=0?m.min:m.max,b=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=f.length;if(v||void 0===v&&void 0!==y)for(i=0;i=0&&u.max>=0?u.max:u.min,(m.min<0&&a<0||m.max>=0&&a>0)&&(_+=a));return o=h.getPixelForValue(_),l=(s=h.getPixelForValue(_+b))-o,void 0!==g&&Math.abs(l)=0&&!d||b<0&&d?o-g:o+g),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r="flex"===i.barThickness?function(t,e,n){var i,r=e.pixels,a=r[t],o=t>0?r[t-1]:null,s=t=zt?-Nt:y<-zt?Nt:0)+g,b=Math.cos(y),w=Math.sin(y),x=Math.cos(_),k=Math.sin(_),C=y<=0&&_>=0||_>=Nt,T=y<=Dt&&_>=Dt||_>=Nt+Dt,E=y<=-Dt&&_>=-Dt||_>=zt+Dt,S=y===-zt||_>=zt?-1:Math.min(b,b*m,x,x*m),P=E?-1:Math.min(w,w*m,k,k*m),L=C?1:Math.max(b,b*m,x,x*m),I=T?1:Math.max(w,w*m,k,k*m);u=(L-S)/2,c=(I-P)/2,h=-(L+S)/2,d=-(I+P)/2}for(i=0,r=f.length;i0&&!isNaN(t)?Nt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,a,o,s,l,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=U.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Mt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Mt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Mt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n0&&Ut(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t0&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,e){return ie(t,e,{intersect:!1})},point:function(t,e){return te(t,Kt(e,t))},nearest:function(t,e,n){var i=Kt(e,t);n.axis=n.axis||"xy";var r=ne(n.axis);return ee(t,i,n.intersect,r)},x:function(t,e,n){var i=Kt(e,t),r=[],a=!1;return Qt(t,(function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r},y:function(t,e,n){var i=Kt(e,t),r=[],a=!1;return Qt(t,(function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r}}},ae=U.extend;function oe(t,e){return U.where(t,(function(t){return t.pos===e}))}function se(t,e){return t.sort((function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function le(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function ue(t,e,n){var i,r,a=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,t[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=e.outerWidth-le(o,t,"left","right"),r=e.outerHeight-le(o,t,"top","bottom"),i!==t.w||r!==t.h)return t.w=i,t.h=r,n.horizontal?i!==t.w:r!==t.h}function ce(t,e){var n=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function he(t,e,n){var i,r,a,o,s,l,u=[];for(i=0,r=t.length;i div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&pe.default||pe,ge=["animationstart","webkitAnimationStart"],ve={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ye(t,e){var n=U.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var _e=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function be(t,e,n){t.addEventListener(e,n,_e)}function we(t,e,n){t.removeEventListener(e,n,_e)}function xe(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function ke(t){var e=document.createElement("div");return e.className=t||"",e}function Ce(t,e,n){var i,r,a,o,s=t.$chartjs||(t.$chartjs={}),l=s.resizer=function(t){var e=ke("chartjs-size-monitor"),n=ke("chartjs-size-monitor-expand"),i=ke("chartjs-size-monitor-shrink");n.appendChild(ke()),i.appendChild(ke()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){e._reset(),t()};return be(n,"scroll",r.bind(n,"expand")),be(i,"scroll",r.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,r=i?i.clientWidth:0;e(xe("resize",n)),i&&i.clientWidth0){var a=t[0];a.label?n=a.label:a.xLabel?n=a.xLabel:r>0&&a.index-1?t.split("\n"):t}function De(t){var e=D.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Oe(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Oe(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Oe(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Oe(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Oe(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Oe(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Oe(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Oe(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Oe(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Re(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function je(t){return ze([],Ne(t))}var Fe=Y.extend({initialize:function(){this._model=De(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),r=n.title.apply(t,arguments),a=n.afterTitle.apply(t,arguments),o=[];return o=ze(o,Ne(i)),o=ze(o,Ne(r)),o=ze(o,Ne(a))},getBeforeBody:function(){return je(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return U.each(t,(function(t){var a={before:[],lines:[],after:[]};ze(a.before,Ne(i.beforeLabel.call(n,t,e))),ze(a.lines,i.label.call(n,t,e)),ze(a.after,Ne(i.afterLabel.call(n,t,e))),r.push(a)})),r},getAfterBody:function(){return je(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),a=[];return a=ze(a,Ne(n)),a=ze(a,Ne(i)),a=ze(a,Ne(r))},update:function(t){var e,n,i,r,a,o,s,l,u,c,h=this,d=h._options,p=h._model,f=h._model=De(d),m=h._active,g=h._data,v={xAlign:p.xAlign,yAlign:p.yAlign},y={x:p.x,y:p.y},_={width:p.width,height:p.height},b={x:p.caretX,y:p.caretY};if(m.length){f.opacity=1;var w=[],x=[];b=Me[d.position].call(h,m,h._eventPosition);var k=[];for(e=0,n=m.length;ei.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===c?a+=h:a-="bottom"===c?e.height+h:e.height/2,"center"===c?"left"===u?r+=h:"right"===u&&(r-=h):"left"===u?r-=d:"right"===u&&(r+=d),{x:r,y:a}}(f,_,v=function(t,e){var n,i,r,a,o,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",h="center";s.yl.height-e.height&&(h="bottom");var d=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===h?(n=function(t){return t<=d},i=function(t){return t>d}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},a=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",h=o(s.y))):i(s.x)&&(c="right",a(s.x)&&(c="center",h=o(s.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:h}}(this,_),h._chart)}else f.opacity=0;return f.xAlign=v.xAlign,f.yAlign=v.yAlign,f.x=y.x,f.y=y.y,f.width=_.width,f.height=_.height,f.caretX=b.x,f.caretY=b.y,h._model=f,t&&d.custom&&d.custom.call(h,f),h},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(t,e,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,n){var i,r,a,o,s,l,u=n.caretSize,c=n.cornerRadius,h=n.xAlign,d=n.yAlign,p=t.x,f=t.y,m=e.width,g=e.height;if("center"===d)s=f+g/2,"left"===h?(r=(i=p)-u,a=i,o=s+u,l=s-u):(r=(i=p+m)+u,a=i,o=s-u,l=s+u);else if("left"===h?(i=(r=p+c+u)-u,a=r+u):"right"===h?(i=(r=p+m-c-u)-u,a=r+u):(i=(r=n.caretX)-u,a=r+u),"top"===d)s=(o=f)-u,l=o;else{s=(o=f+g)+u,l=o;var v=a;a=i,i=v}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,r,a,o=e.title,s=o.length;if(s){var l=Ae(e.rtl,e.x,e.width);for(t.x=Re(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=U.fontString(i,e._titleFontStyle,e._titleFontFamily),a=0;a0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,a=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,U.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),U.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!U.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),Be=Me,Ue=Fe;Ue.positioners=Be;var qe=U.valueOrDefault;function $e(){return U.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,a,o,s=n[t].length;for(e[t]||(e[t]=[]),r=0;r=e[t].length&&e[t].push({}),!e[t][r].type||o.type&&o.type!==e[t][r].type?U.merge(e[t][r],[Ie.getScaleDefaults(a),o]):U.merge(e[t][r],o)}else U._merger(t,e,n,i)}})}function Ge(){return U.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||{},a=n[t];"scales"===t?e[t]=$e(r,a):"scale"===t?e[t]=U.merge(r,[Ie.getScaleDefaults(a.type),a]):U._merger(t,e,n,i)}})}function Ve(t){var e=t.options;U.each(t.scales,(function(e){fe.removeBox(t,e)})),e=Ge(D.global,D[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function He(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(U.findIndex(t,r)>=0);return i}function We(t){return"top"===t||"bottom"===t}function Ye(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}D._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ze=function(t,e){return this.construct(t,e),this};U.extend(Ze.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ge(D.global,D[t.type],t.options||{}),t}(e);var i=Pe.acquireContext(t,e),r=i&&i.canvas,a=r&&r.height,o=r&&r.width;n.id=U.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Ze.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&r&&(n.initialize(),n.update())},initialize:function(){var t=this;return Le.notify(t,"beforeInit"),U.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,"afterInit"),t},clear:function(){return U.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(U.getMaximumWidth(i))),o=Math.max(0,Math.floor(r?a/r:U.getMaximumHeight(i)));if((e.width!==a||e.height!==o)&&(i.width=e.width=a,i.height=e.height=o,i.style.width=a+"px",i.style.height=o+"px",U.retinaScale(e,n.devicePixelRatio),!t)){var s={width:a,height:o};Le.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;U.each(e.xAxes,(function(t,n){t.id||(t.id=He(e.xAxes,"x-axis-",n))})),U.each(e.yAxes,(function(t,n){t.id||(t.id=He(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),U.each(i,(function(e){var i=e.options,a=i.id,o=qe(i.type,e.dtype);We(i.position)!==We(e.dposition)&&(i.position=e.dposition),r[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Ie.getScaleConstructor(o);if(!l)return;s=new l({id:a,type:o,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),U.each(r,(function(t,e){t||delete n[e]})),t.scales=n,Ie.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t=0;--n)this.drawDataset(e[n],t);Le.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Le.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Le.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Le.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Le.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return re.modes.single(this,t)},getElementsAtEvent:function(t){return re.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return re.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=re.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return re.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=U.log10(Math.abs(i)),a="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=U.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(r);s=Math.max(Math.min(s,20),0),a=t.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),a=t.toFixed(l)}else a="0";return a},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(U.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},en=U.isArray,nn=U.isNullOrUndef,rn=U.valueOrDefault,an=U.valueAtIndexOrDefault;function on(t,e,n){var i,r=t.getTicks().length,a=Math.min(e,r-1),o=t.getPixelForTick(a),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===r?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(a-1))/2,(o+=al+1e-6)))return o}function sn(t,e,n,i){var r,a,o,s,l,u,c,h,d,p,f,m,g,v=n.length,y=[],_=[],b=[];for(r=0;re){for(n=0;n=d||c<=1||!s.isHorizontal()?s.labelRotation=h:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(r=l.offset?s.maxWidth/c:i/(c-1))&&(r=i/(c-(l.offset?.5:1)),a=s.maxHeight-ln(l.gridLines)-u.padding-un(l.scaleLabel),o=Math.sqrt(e*e+n*n),p=U.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),p=Math.max(h,Math.min(d,p))),s.labelRotation=p)},afterCalculateTickRotation:function(){U.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){U.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,a=i.scaleLabel,o=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=ln(o)+un(a)),u?s&&(e.height=ln(o)+un(a)):e.height=t.maxHeight,r.display&&s){var c=hn(r),h=t._getLabelSizes(),d=h.first,p=h.last,f=h.widest,m=h.highest,g=.4*c.minor.lineHeight,v=r.padding;if(u){var y=0!==t.labelRotation,_=U.toRadians(t.labelRotation),b=Math.cos(_),w=Math.sin(_),x=w*f.width+b*(m.height-(y?m.offset:0))+(y?0:g);e.height=Math.min(t.maxHeight,e.height+x+v);var k,C,T=t.getPixelForTick(0)-t.left,E=t.right-t.getPixelForTick(t.getTicks().length-1);y?(k=l?b*d.width+w*d.offset:w*(d.height-d.offset),C=l?w*(p.height-p.offset):b*p.width+w*p.offset):(k=d.width/2,C=p.width/2),t.paddingLeft=Math.max((k-T)*t.width/(t.width-T),0)+3,t.paddingRight=Math.max((C-E)*t.width/(t.width-E),0)+3}else{var S=r.mirror?0:f.width+v+g;e.width=Math.min(t.maxWidth,e.width+S),t.paddingTop=d.height/2,t.paddingBottom=p.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){U.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(nn(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map((function(t){return t.value})),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;nn-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,l=a.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;es)return function(t,e,n){var i,r,a=0,o=e[0];for(n=Math.ceil(n),i=0;iu)return a;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,n=u-1;e1?(h-c)/(u-1):null,pn(t,i,U.isNullOrUndef(r)?0:c-r,c),pn(t,i,h,U.isNullOrUndef(r)?t.length:h+r),dn(t)}return pn(t,i),dn(t)},_tickSize:function(){var t=this.options.ticks,e=U.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),r=this._getLabelSizes(),a=t.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i=0&&(o=t),void 0!==a&&(t=n.indexOf(a))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;mn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,a,o=this;return gn(e)||gn(n)||(t=o.chart.data.datasets[n].data[e]),gn(t)||(i=o.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=o._getLabels(),t=U.valueOrDefault(i,t),e=-1!==(a=r.indexOf(t))?a:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),yn={position:"bottom"};vn._defaults=yn;var _n=U.noop,bn=U.isNullOrUndef,wn=mn.extend({getRightValue:function(t){return"string"==typeof t?+t:mn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=U.sign(t.min),i=U.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==a&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:_n,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:U.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var n,i,r,a,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,c=t.min,h=t.max,d=t.precision,p=e.min,f=e.max,m=U.niceNum((f-p)/u/l)*l;if(m<1e-14&&bn(c)&&bn(h))return[p,f];(a=Math.ceil(f/m)-Math.floor(p/m))>u&&(m=U.niceNum(a*m/u/l)*l),s||bn(d)?n=Math.pow(10,U._decimalPlaces(m)):(n=Math.pow(10,d),m=Math.ceil(m*n)/n),i=Math.floor(p/m)*m,r=Math.ceil(f/m)*m,s&&(!bn(c)&&U.almostWhole(c/m,m/1e3)&&(i=c),!bn(h)&&U.almostWhole(h/m,m/1e3)&&(r=h)),a=(r-i)/m,a=U.almostEquals(a,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),i=Math.round(i*n)/n,r=Math.round(r*n)/n,o.push(bn(c)?i:c);for(var g=1;ge.length-1?null:this.getPixelForValue(e[t])}}),En=xn;Tn._defaults=En;var Sn=U.valueOrDefault,Pn=U.math.log10,Ln={position:"left",ticks:{callback:tn.formatters.logarithmic}};function In(t,e){return U.isFinite(t)&&t>=0?t:e}var On=mn.extend({determineDataLimits:function(){var t,e,n,i,r,a,o=this,s=o.options,l=o.chart,u=l.data.datasets,c=o.isHorizontal();function h(t){return c?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var d=s.stacked;if(void 0===d)for(t=0;t0){var e=U.min(t),n=U.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(Pn(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:In(e.min),max:In(e.max)},r=t.ticks=function(t,e){var n,i,r=[],a=Sn(t.min,Math.pow(10,Math.floor(Pn(e.min)))),o=Math.floor(Pn(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===a?(n=Math.floor(Pn(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(Pn(a)),i=Math.floor(a/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(a),10==++i&&(i=1,l=++n>=0?1:l),a=Math.round(i*Math.pow(10,n)*l)/l}while(ne.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Pn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;mn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Sn(t.options.ticks.fontSize,D.global.defaultFontSize)/t._length),t._startValue=Pn(e),t._valueOffset=n,t._valueRange=(Pn(t.max)-Pn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(Pn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),An=Ln;On._defaults=An;var Mn=U.valueOrDefault,zn=U.valueAtIndexOrDefault,Nn=U.options.resolve,Dn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:tn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Rn(t){var e=t.ticks;return e.display&&t.display?Mn(e.fontSize,D.global.defaultFontSize)+2*e.backdropPaddingY:0}function jn(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:tr?{start:e-n,end:e}:{start:e,end:e+n}}function Fn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Bn(t,e,n,i){var r,a,o=n.y+i/2;if(U.isArray(e))for(r=0,a=e.length;r270||t<90)&&(n.y-=e.h)}function qn(t){return U.isNumber(t)?t:0}var $n=wn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Rn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;U.each(e.data.datasets,(function(r,a){if(e.isDatasetVisible(a)){var o=e.getDatasetMeta(a);U.each(r.data,(function(e,r){var a=+t.getRightValue(e);isNaN(a)||o.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Rn(this.options))},convertTicksToLabels:function(){var t=this;wn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=U.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,r=U.options._parseFont(t.options.pointLabels),a={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=r.string,t._pointLabelSizes=[];var s,l,u,c=t.chart.data.labels.length;for(e=0;ea.r&&(a.r=p.end,o.r=h),f.starta.b&&(a.b=f.end,o.b=h)}t.setReductions(t.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),a=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=qn(r),a=qn(a),o=qn(o),s=qn(s),i.drawingArea=Math.min(Math.floor(t-(r+a)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(r,a,o,s)},setCenterPoint:function(t,e,n,i){var r=this,a=r.width-e-r.drawingArea,o=t+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((o+a)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(U.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,a=i.options,o=a.gridLines,s=a.angleLines,l=Mn(s.lineWidth,o.lineWidth),u=Mn(s.color,o.color);if(a.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=Rn(n),a=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=U.options._parseFont(i);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=t.getPointPosition(s,a+l+5),c=zn(i.fontColor,s,D.global.defaultFontColor);e.fillStyle=c;var h=t.getIndexAngle(s),d=U.toDegrees(h);e.textAlign=Fn(d),Un(d,t._pointLabelSizes[s],u),Bn(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(i),o.display&&U.each(i.ticks,(function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var r,a=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=zn(e.color,i-1),u=zn(e.lineWidth,i-1);if((o||s)&&l&&u){if(a.save(),a.strokeStyle=l,a.lineWidth=u,a.setLineDash&&(a.setLineDash(e.borderDash||[]),a.lineDashOffset=e.borderDashOffset||0),a.beginPath(),o)a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),a.moveTo(r.x,r.y);for(var c=1;c=0;t--)e=i.getDistanceFromCenterForValue(a.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,r,a=t.getIndexAngle(0),o=U.options._parseFont(n),s=Mn(n.fontColor,D.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",U.each(t.ticks,(function(a,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=e.measureText(a).width,e.fillStyle=n.backdropColor,e.fillRect(-r/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(a,0,-i))})),e.restore()}},_drawTitle:U.noop}),Gn=Dn;$n._defaults=Gn;var Vn=U._deprecated,Hn=U.options.resolve,Wn=U.valueOrDefault,Yn=Number.MIN_SAFE_INTEGER||-9007199254740991,Zn=Number.MAX_SAFE_INTEGER||9007199254740991,Xn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Jn=Object.keys(Xn);function Kn(t,e){return t-e}function Qn(t){return U.valueOrDefault(t.time.min,t.ticks.min)}function ti(t){return U.valueOrDefault(t.time.max,t.ticks.max)}function ei(t,e,n,i){var r=function(t,e,n){for(var i,r,a,o=0,s=t.length-1;o>=0&&o<=s;){if(r=t[(i=o+s>>1)-1]||null,a=t[i],!r)return{lo:null,hi:a};if(a[e]n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(t,e,n),a=r.lo?r.hi?r.lo:t[t.length-2]:t[0],o=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=o[e]-a[e],l=s?(n-a[e])/s:0,u=(o[i]-a[i])*l;return a[i]+u}function ni(t,e){var n=t._adapter,i=t.options.time,r=i.parser,a=r||i.format,o=e;return"function"==typeof r&&(o=r(o)),U.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(e),U.isFinite(o)||(o=n.parse(o))),o)}function ii(t,e){if(U.isNullOrUndef(e))return null;var n=t.options.time,i=ni(t,t.getRightValue(e));return null===i||n.round&&(i=+t._adapter.startOf(i,n.round)),i}function ri(t,e,n,i){var r,a,o,s=Jn.length;for(r=Jn.indexOf(t);r=0&&(e[a].major=!0);return e}(t,a,o,n):a}var oi=mn.extend({initialize:function(){this.mergeTicksOptions(),mn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new Qe._date(e.adapters.date);return Vn("time scale",n.format,"time.format","time.parser"),Vn("time scale",n.min,"time.min","ticks.min"),Vn("time scale",n.max,"time.max","ticks.max"),U.mergeIf(n.displayFormats,i.formats()),mn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),mn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,a,o,s=this,l=s.chart,u=s._adapter,c=s.options,h=c.time.unit||"day",d=Zn,p=Yn,f=[],m=[],g=[],v=s._getLabels();for(t=0,n=v.length;t1?function(t){var e,n,i,r={},a=[];for(e=0,n=t.length;e1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=h;r=r&&n<=a&&c.push(n);return i.min=r,i.max=a,i._unit=l.unit||(s.autoSkip?ri(l.minUnit,i.min,i.max,h):function(t,e,n,i,r){var a,o;for(a=Jn.length-1;a>=Jn.indexOf(n);a--)if(o=Jn[a],Xn[o].common&&t._adapter.diff(r,i,o)>=e-1)return o;return Jn[n?Jn.indexOf(n):0]}(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=Jn.indexOf(t)+1,n=Jn.length;ee&&s=0&&t0?s:1}}),si={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};oi._defaults=si;var li={category:vn,linear:Tn,logarithmic:On,radialLinear:$n,time:oi},ui={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Qe._date.override("function"==typeof t?{_id:"moment",formats:function(){return ui},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),D._set("global",{plugins:{filler:{propagate:!0}}});var ci={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],a=r.length||0;return a?function(t,e){return e=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function di(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,r,a,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,e),r=0;r0;--a)U.canvas.lineTo(t,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=r-1;a>0;--a)t.arc(o,s,l,n[a].angle,n[a-1].angle,!0)}}function vi(t,e,n,i,r,a){var o,s,l,u,c,h,d,p,f=e.length,m=i.spanGaps,g=[],v=[],y=0,_=0;for(t.beginPath(),o=0,s=f;o=0;--n)(e=l[n].$filler)&&e.visible&&(r=(i=e.el)._view,a=i._children||[],o=e.mapper,s=r.backgroundColor||D.global.defaultColor,o&&s&&a.length&&(U.canvas.clipArea(u,t.chartArea),vi(u,a,o,r,s,i._loop),U.canvas.unclipArea(u)))}},_i=U.rtl.getRtlAdapter,bi=U.noop,wi=U.valueOrDefault;function xi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}D._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),a=t.data.datasets;for(r.setAttribute("class",t.id+"-legend"),e=0,n=a.length;el.width)&&(h+=o+n.padding,c[c.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:o},c[c.length-1]+=i+n.padding})),l.height+=h}else{var d=n.padding,p=t.columnWidths=[],f=t.columnHeights=[],m=n.padding,g=0,v=0;U.each(t.legendItems,(function(t,e){var i=xi(n,o)+o/2+r.measureText(t.text).width;e>0&&v+o+2*d>l.height&&(m+=g+n.padding,p.push(g),f.push(v),g=0,v=0),g=Math.max(g,i),v+=o+d,s[e]={left:0,top:0,width:i,height:o}})),m+=g,p.push(g),f.push(v),l.width+=m}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:bi,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=D.global,r=i.defaultColor,a=i.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var c,h=_i(e.rtl,t.left,t.minSize.width),d=t.ctx,p=wi(n.fontColor,i.defaultFontColor),f=U.options._parseFont(n),m=f.size;d.textAlign=h.textAlign("left"),d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=f.string;var g=xi(n,m),v=t.legendHitBoxes,y=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},_=t.isHorizontal();c=_?{x:t.left+y(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+y(o,s[0]),line:0},U.rtl.overrideTextDirection(t.ctx,e.textDirection);var b=m+n.padding;U.each(t.legendItems,(function(e,i){var p=d.measureText(e.text).width,f=g+m/2+p,w=c.x,x=c.y;h.setWidth(t.minSize.width),_?i>0&&w+f+n.padding>t.left+t.minSize.width&&(x=c.y+=b,c.line++,w=c.x=t.left+y(l,u[c.line])):i>0&&x+b>t.top+t.minSize.height&&(w=c.x=w+t.columnWidths[c.line]+n.padding,c.line++,x=c.y=t.top+y(o,s[c.line]));var k=h.x(w);!function(t,e,i){if(!(isNaN(g)||g<=0)){d.save();var o=wi(i.lineWidth,a.borderWidth);if(d.fillStyle=wi(i.fillStyle,r),d.lineCap=wi(i.lineCap,a.borderCapStyle),d.lineDashOffset=wi(i.lineDashOffset,a.borderDashOffset),d.lineJoin=wi(i.lineJoin,a.borderJoinStyle),d.lineWidth=o,d.strokeStyle=wi(i.strokeStyle,r),d.setLineDash&&d.setLineDash(wi(i.lineDash,a.borderDash)),n&&n.usePointStyle){var s=g*Math.SQRT2/2,l=h.xPlus(t,g/2),u=e+m/2;U.canvas.drawPoint(d,i.pointStyle,s,l,u,i.rotation)}else d.fillRect(h.leftForLtr(t,g),e,g,m),0!==o&&d.strokeRect(h.leftForLtr(t,g),e,g,m);d.restore()}}(k,x,e),v[i].left=h.leftForLtr(k,v[i].width),v[i].top=x,function(t,e,n,i){var r=m/2,a=h.xPlus(t,g+r),o=e+r;d.fillText(n.text,a,o),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(a,o),d.lineTo(h.xPlus(a,i),o),d.stroke())}(k,x,e,p),_?c.x+=f+n.padding:c.y+=b})),U.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,a=this;if(t>=a.left&&t<=a.right&&e>=a.top&&e<=a.bottom)for(r=a.legendHitBoxes,n=0;n=(i=r[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return a.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Ci(t,e){var n=new ki({ctx:t.ctx,options:e,chart:t});fe.configure(t,n,e),fe.addBox(t,n),t.legend=n}var Ti={id:"legend",_element:ki,beforeInit:function(t){var e=t.options.legend;e&&Ci(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(U.mergeIf(e,D.global.legend),n?(fe.configure(t,n,e),n.options=e):Ci(t,e)):n&&(fe.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ei=U.noop;D._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Si=Y.extend({initialize:function(t){U.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:Ei,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ei,beforeSetDimensions:Ei,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ei,beforeBuildLabels:Ei,buildLabels:Ei,afterBuildLabels:Ei,beforeFit:Ei,fit:function(){var t,e=this,n=e.options,i=e.minSize={},r=e.isHorizontal();n.display?(t=(U.isArray(n.text)?n.text.length:1)*U.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=r?e.maxWidth:t,e.height=i.height=r?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:Ei,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,a,o=U.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,c=t.top,h=t.left,d=t.bottom,p=t.right;e.fillStyle=U.valueOrDefault(n.fontColor,D.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(r=h+(p-h)/2,a=c+l,i=p-h):(r="left"===n.position?h+l:p-l,a=c+(d-c)/2,i=d-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,a),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var f=n.text;if(U.isArray(f))for(var m=0,g=0;g=0;i--){var r=t[i];if(e(r))return r}},U.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},U.almostEquals=function(t,e,n){return Math.abs(t-e)=t},U.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},U.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},U.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},U.toRadians=function(t){return t*(Math.PI/180)},U.toDegrees=function(t){return t*(180/Math.PI)},U._decimalPlaces=function(t){if(U.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},U.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},U.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},U.aliasPixel=function(t){return t%2==0?0:.5},U._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},U.splineCurve=function(t,e,n,i){var r=t.skip?e:t,a=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),c=l/(s+l),h=i*(u=isNaN(u)?0:u),d=i*(c=isNaN(c)?0:c);return{previous:{x:a.x-h*(o.x-r.x),y:a.y-h*(o.y-r.y)},next:{x:a.x+d*(o.x-r.x),y:a.y+d*(o.y-r.y)}}},U.EPSILON=Number.EPSILON||1e-14,U.splineCurveMonotone=function(t){var e,n,i,r,a,o,s,l,u,c=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=c.length;for(e=0;e0?c[e-1]:null,(r=e0?c[e-1]:null,r=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},U.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},U.niceNum=function(t,e){var n=Math.floor(U.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},U.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},U.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,a=t.target||t.srcElement,o=a.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(U.getStyle(a,"padding-left")),u=parseFloat(U.getStyle(a,"padding-top")),c=parseFloat(U.getStyle(a,"padding-right")),h=parseFloat(U.getStyle(a,"padding-bottom")),d=o.right-o.left-l-c,p=o.bottom-o.top-u-h;return{x:n=Math.round((n-o.left-l)/d*a.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/p*a.height/e.currentDevicePixelRatio)}},U.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},U.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},U._calculatePadding=function(t,e,n){return(e=U.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},U._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},U.getMaximumWidth=function(t){var e=U._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-U._calculatePadding(e,"padding-left",n)-U._calculatePadding(e,"padding-right",n),r=U.getConstraintWidth(t);return isNaN(r)?i:Math.min(i,r)},U.getMaximumHeight=function(t){var e=U._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-U._calculatePadding(e,"padding-top",n)-U._calculatePadding(e,"padding-bottom",n),r=U.getConstraintHeight(t);return isNaN(r)?i:Math.min(i,r)},U.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},U.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,a=t.width;i.height=r*n,i.width=a*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},U.fontString=function(t,e,n){return e+" "+t+"px "+n},U.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},a=i.garbageCollect=[],i.font=e),t.font=e;var o,s,l,u,c,h=0,d=n.length;for(o=0;on.length){for(o=0;oi&&(i=a),i},U.numberOfLabelLines=function(t){var e=1;return U.each(t,(function(t){U.isArray(t)&&t.length>e&&(e=t.length)})),e},U.color=x?function(t){return t instanceof CanvasGradient&&(t=D.global.defaultColor),x(t)}:function(t){return t},U.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:U.color(t).saturate(.5).darken(.1).rgbString()}}(),Xe._adapters=Qe,Xe.Animation=X,Xe.animationService=J,Xe.controllers=Jt,Xe.DatasetController=nt,Xe.defaults=D,Xe.Element=Y,Xe.elements=wt,Xe.Interaction=re,Xe.layouts=fe,Xe.platform=Pe,Xe.plugins=Le,Xe.Scale=mn,Xe.scaleService=Ie,Xe.Ticks=tn,Xe.Tooltip=Ue,Xe.helpers.each(li,(function(t,e){Xe.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Mi)&&Xe.plugins.register(Li[Mi]);Xe.platform.initialize();var zi=Xe;return"undefined"!=typeof window&&(window.Chart=Xe),Xe.Chart=Xe,Xe.Legend=Li.legend._element,Xe.Title=Li.title._element,Xe.pluginService=Xe.plugins,Xe.PluginBase=Xe.Element.extend({}),Xe.canvasHelpers=Xe.helpers.canvas,Xe.layoutService=Xe.layouts,Xe.LinearScaleBase=wn,Xe.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Xe[t]=function(e,n){return new Xe(e,Xe.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),zi}(function(){try{return n("wd/R")}catch(t){}}())},MlY7:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("PEkK"),o=n("7Zut"),s=n("5QBx");function l(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var u={name:"Password",data:function(){return{processing:!1,oldpassword:"",password:"",password_confirmation:"",btn:"button is-medium is-info"}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("CHANGE_PASSWORD",{oldpassword:e.oldpassword,password:e.password,password_confirmation:e.password_confirmation});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){l(a,i,r,o,s,"next",t)}function s(t){l(a,i,r,o,s,"throw",t)}o(void 0)}))})()},translate:function(t){return this.$t("settings."+t)}}},c=n("KHd+"),h=Object(c.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(" "+t._s(t.$t("settings.password.change-password")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("form",{attrs:{method:"POST"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"oldpassword"}},[t._v(" "+t._s(t.$t("settings.password.enter-old-password")))]),t._v(" "),t.errorExists("oldpassword")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("oldpassword"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.oldpassword,expression:"oldpassword"}],staticClass:"input",attrs:{type:"password",name:"oldpassword",placeholder:"*********",required:""},domProps:{value:t.oldpassword},on:{input:function(e){e.target.composing||(t.oldpassword=e.target.value)}}}),t._v(" "),t._m(0)])]),t._v(" "),n("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("settings.password.enter-new-password")))]),t._v(" "),t.errorExists("password")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",attrs:{id:"password",type:"password",name:"password",placeholder:t.translate("password.enter-strong-password"),required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),t._m(1)])]),t._v(" "),n("label",{attrs:{for:"password_confirmation"}},[t._v(t._s(t.$t("settings.password.confirm-new-password")))]),t._v(" "),t.errorExists("password_confirmation")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("password_confirmation"))}}):t._e(),t._v(" "),n("div",{staticClass:"field mb2"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password_confirmation,expression:"password_confirmation"}],staticClass:"input",attrs:{type:"password",name:"password_confirmation",placeholder:t.translate("password.repeat-strong-password"),required:""},domProps:{value:t.password_confirmation},on:{input:function(e){e.target.composing||(t.password_confirmation=e.target.value)}}}),t._v(" "),t._m(2)])]),t._v(" "),n("div",{staticClass:"col-md-12",staticStyle:{"text-align":"center"}},[n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("settings.password.update-password")))])])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])}],!1,null,null,null).exports,d=n("B/ql"),p=n("+LEQ"),f=n("X+Nf"),m=n("u5mE"),g=n("PBxq"),v=n("YFX/");function y(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var _={name:"Settings",components:{Details:a.default,Social:o.default,Account:s.default,Password:h,Payments:d.default,Privacy:p.default,Littercoin:f.default,Presence:m.default,Emails:g.default,GlobalFlag:v.default},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:window.location.href.split("/")[4]&&(e.link=window.location.href.split("/")[4]);case 1:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){y(a,i,r,o,s,"next",t)}function s(t){y(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{links:["details","social","account","password","payments","privacy","littercoin","presence","emails","show-flag"],link:"password",types:{details:"Details",social:"Social",account:"Account",password:"Password",payments:"Payments",privacy:"Privacy",littercoin:"Littercoin",presence:"Presence",emails:"Emails","show-flag":"GlobalFlag"}}},methods:{change:function(t){this.link=t},translate:function(t){return this.$t("settings.common."+t)}}},b=Object(c.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container mt5"},[n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-2"},[n("aside",{staticClass:"menu",attrs:{id:"panel"}},[n("p",{staticClass:"menu-label"},[t._v("\n\t\t\t\t "+t._s(t.$t("settings.common.general"))+"\n\t\t\t\t ")]),t._v(" "),n("ul",{staticClass:"menu-list"},t._l(t.links,(function(e){return n("li",[n("router-link",{attrs:{to:"/settings/"+e},nativeOn:{click:function(n){return t.change(e)}}},[t._v("\n "+t._s(t.translate(e))+"\n\t\t\t\t \t ")])],1)})),0)])]),t._v(" "),n("div",{staticClass:"column is-three-quarters is-offset-1"},[n(this.types[this.link],{tag:"component"})],1)])])}),[],!1,null,null,null);e.default=b.exports},"N+wP":function(t){t.exports=JSON.parse('{"email-you":"¿Quieres que te enviemos algunas buenas noticias","subscribe":"Subscríbete","subscribed-success-msg":"¡Te has suscrito a las buenas noticias! Puedes darte de baja en cualquier momento","need-your-help":"Necesitamos tu ayuda para crear la base de datos sobre contaminación más avanzada y accesible del mundo","read":"LEER","blog":"Blog","research-paper":"Artículo de investigación","watch":"VER","help":"AYUDA","join-the-team":"Únete al equipo","join-slack":"Únete a Slack","create-account":"Crear una cuenta","fb-group":"Grupo de Facebook","single-donation":"Donación única","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap es un producto insignia de GeoTech Innovations Ltd., una startup en Irlanda pionera en servicios esenciales de ciencia ciudadana #650323","enter-email":"Ingresa tu dirección de correo electrónico","references":"Referencias","credits":"Créditos","contact-us":"Contact Us"}')},N31T:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Hide the map on mobile */\n@media screen and (max-width: 768px) {\n.cleanup-map[data-v-4ac26321] {\n flex: 0 !important;\n}\n.cleanup-sidebar[data-v-4ac26321] {\n flex: 1 !important;\n}\n}\n.cleanups-container[data-v-4ac26321] {\n height: calc(100% - 72px);\n display: flex;\n}\n.cleanup-map[data-v-4ac26321] {\n flex: 0.7;\n z-index: 1;\n}\n\n/*.find-location {*/\n/* // cursor: url('https://65.media.tumblr.com/avatar_91989eab746d_96.png'), auto !important;*/\n/*}*/\n.cleanup-sidebar[data-v-4ac26321] {\n background-color: white;\n height: 100%;\n flex: 0.3;\n text-align: center;\n padding-left: 1em;\n padding-right: 1em;\n}\n\n",""])},NDTK:function(t){t.exports=JSON.parse('{"description":"Estos enlaces aparecerán en cada foto que hayas subido, en el Mapa Global. Proporcione las URL completas.","personal-website":"Sitio Web Personal","personal-website-url":"URL del Sitio Web Personal"}')},NEmZ:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap é atualmente totalmente dependente de doações.","its-important":"É importante"}')},NEqZ:function(t){t.exports=JSON.parse('{"address":"Locatie","add-tag":"Label toevoegen","coordinates":"Coördinaten","device":"Toestel","next":"Volgende foto","no-tags":"Je hebt op dit moment geen foto\'s om te labelen.","picked-up-title":"Opgeruimd?","please-upload":"Meer foto\'s uploaden","previous":"Vorige foto","removed":"Het item is opgeruimd","still-there":"Het item ligt er nog","taken":"Genomen op","to-tag":"Aantal foto\'s om nog te labelen","total-uploaded":"Totaal aantal foto\'s geupload","uploaded":"Geupload","confirm-delete":"Wil je deze afbeelding verwijderen? Dit kan niet ongedaan gemaakt worden.","recently-tags":"Recent gebruikte kenmerken","clear-tags":"Verwijder recent gebruikte kenmerken?","clear-tags-btn":"Verwijder recent gebruikte kenmerken","search-all-tags":"Druk op Ctrl + Spatiebalk om in alle tags te zoeken","search-custom-tags":"Voeg uw eigen tags toe","custom-tags":"Aangepaste Tags","custom-tags-min":"Het moet minimaal 3 tekens lang zijn.","custom-tags-max":"Het mag maximaal 100 tekens lang zijn.","tag-already-added":"Tag al toegevoegd.","tag-limit-reached":"U kunt maximaal 3 aangepaste tags uploaden."}')},NN1S:function(t,e,n){"use strict";var i=n("RL2N");n.n(i).a},NPqV:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".-mt-2[data-v-7a7fd8e6] {\n margin-top: -2px;\n}",""])},NcSw:function(t){t.exports=JSON.parse('{"title":"Minhas equipes","currently-joined-team":"Sua equipe ativa é","currently-not-joined-team":"Você não faz parte de uma equipe no momento","no-joined-team":"Você ainda não se juntou a uma equipe","leader-of-team":"Você é o líder desta equipe","enabled-contributions":"Todas as suas contribuições contarão apenas para esta equipe.","disabled-contributions":"Você ainda não selecionou uma equipe ativa.
Isso significa que você não está contribuindo para nenhuma equipe no momento.
Você pode selecionar sua equipe ativa clicando nos ícones de estrela na lista inferior.","disable-contributions-tooltip":"Isso desativa as contribuições da sua equipe a partir de agora. Você ainda será um membro de suas equipes e poderá ativar contribuições a qualquer momento.","team-details":"Detalhes da Equipe","all-my-teams":"Todas as minhas Equipes","this-is-active-team":"Esta é sua equipe ativa","set-as-active-team":"Definir como sua equipe ativa","team-identifier":"Identificador de equipe","join-team":"Por favor, junte-se a uma equipe","leave-team":"Sair da equipe","just-left-team":"Você acabou de sair do time","cant-leave-team":"Você não pode sair desta equipe porque você é o único membro","change-active-team":"Junte-se à equipe","download-team-data":"Baixar dados da equipe","hide-from-leaderboards":"Ocultar dos placares","show-on-leaderboards":"Mostrar nos placares","position-header":"Posição","name-header":"Nome","username-header":"Nome do usuário","status-header":"Status","photos-header":"Fotos","litter-header":"Lixo","identifier-header":"Identificador","members-header":"Membros","last-activity-header":"Última atividade","confirm-leave-team":"Você tem certeza?\\nVocê pode sempre voltar e suas contribuiçoes serão salvas."}')},O1jo:function(t,e,n){window,t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=44)}({0:function(t,e,n){var i=n(16);"string"==typeof i&&(i=[[t.i,i,""]]);var r={transform:void 0};n(5)(i,r),i.locals&&(t.exports=i.locals)},1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={t:"top",m:"marginTop",b:"bottom"},r={l:"left",m:"marginLeft",r:"right"};e.default={name:"vue-drag-resize",props:{stickSize:{type:Number,default:8},parentScaleX:{type:Number,default:1},parentScaleY:{type:Number,default:1},isActive:{type:Boolean,default:!1},preventActiveBehavior:{type:Boolean,default:!1},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},aspectRatio:{type:Boolean,default:!1},parentLimitation:{type:Boolean,default:!1},snapToGrid:{type:Boolean,default:!1},gridX:{type:Number,default:50,validator:function(t){return t>0}},gridY:{type:Number,default:50,validator:function(t){return t>0}},parentW:{type:Number,default:0,validator:function(t){return t>=0}},parentH:{type:Number,default:0,validator:function(t){return t>=0}},w:{type:Number,default:100,validator:function(t){return t>0}},h:{type:Number,default:100,validator:function(t){return t>0}},minw:{type:Number,default:50,validator:function(t){return t>0}},minh:{type:Number,default:50,validator:function(t){return t>0}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},sticks:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]}},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both","none"].indexOf(t)}},contentClass:{type:String,required:!1,default:""}},data:function(){return{active:this.isActive,rawWidth:this.w,rawHeight:this.h,rawLeft:this.x,rawTop:this.y,rawRight:null,rawBottom:null,zIndex:this.z,aspectFactor:this.w/this.h,parentWidth:null,parentHeight:null,left:this.x,top:this.y,right:null,bottom:null,minWidth:this.minw,minHeight:this.minh}},created:function(){this.stickDrag=!1,this.bodyDrag=!1,this.stickAxis=null,this.stickStartPos={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0},this.limits={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null},this.currentStick=[]},mounted:function(){if(this.parentElement=this.$el.parentNode,this.parentWidth=this.parentW?this.parentW:this.parentElement.clientWidth,this.parentHeight=this.parentH?this.parentH:this.parentElement.clientHeight,this.rawRight=this.parentWidth-this.rawWidth-this.rawLeft,this.rawBottom=this.parentHeight-this.rawHeight-this.rawTop,document.documentElement.addEventListener("mousemove",this.move),document.documentElement.addEventListener("mouseup",this.up),document.documentElement.addEventListener("mouseleave",this.up),document.documentElement.addEventListener("mousedown",this.deselect),document.documentElement.addEventListener("touchmove",this.move,!0),document.documentElement.addEventListener("touchend",this.up,!0),document.documentElement.addEventListener("touchcancel",this.up,!0),document.documentElement.addEventListener("touchstart",this.up,!0),this.dragHandle){var t=Array.prototype.slice.call(this.$el.querySelectorAll(this.dragHandle));for(var e in t)t[e].setAttribute("data-drag-handle",this._uid)}if(this.dragCancel){var n=Array.prototype.slice.call(this.$el.querySelectorAll(this.dragCancel));for(var i in n)n[i].setAttribute("data-drag-cancel",this._uid)}},beforeDestroy:function(){document.documentElement.removeEventListener("mousemove",this.move),document.documentElement.removeEventListener("mouseup",this.up),document.documentElement.removeEventListener("mouseleave",this.up),document.documentElement.removeEventListener("mousedown",this.deselect),document.documentElement.removeEventListener("touchmove",this.move,!0),document.documentElement.removeEventListener("touchend",this.up,!0),document.documentElement.removeEventListener("touchcancel",this.up,!0),document.documentElement.removeEventListener("touchstart",this.up,!0)},methods:{deselect:function(){this.preventActiveBehavior||(this.active=!1)},move:function(t){(this.stickDrag||this.bodyDrag)&&(t.stopPropagation(),this.stickDrag&&this.stickMove(t),this.bodyDrag&&this.bodyMove(t))},up:function(t){this.stickDrag&&this.stickUp(t),this.bodyDrag&&this.bodyUp(t)},bodyDown:function(t){var e=t.target||t.srcElement;this.preventActiveBehavior||(this.active=!0),t.button&&0!==t.button||(this.$emit("clicked",t),this.active&&(this.dragHandle&&e.getAttribute("data-drag-handle")!==this._uid.toString()||this.dragCancel&&e.getAttribute("data-drag-cancel")===this._uid.toString()||(t.stopPropagation(),t.preventDefault(),this.isDraggable&&(this.bodyDrag=!0),this.stickStartPos.mouseX=void 0!==t.pageX?t.pageX:t.touches[0].pageX,this.stickStartPos.mouseY=void 0!==t.pageY?t.pageY:t.touches[0].pageY,this.stickStartPos.left=this.left,this.stickStartPos.right=this.right,this.stickStartPos.top=this.top,this.stickStartPos.bottom=this.bottom,this.parentLimitation&&(this.limits=this.calcDragLimitation()))))},calcDragLimitation:function(){var t=this.parentWidth,e=this.parentHeight;return{minLeft:0,maxLeft:t-this.width,minRight:0,maxRight:t-this.width,minTop:0,maxTop:e-this.height,minBottom:0,maxBottom:e-this.height}},bodyMove:function(t){var e=this.stickStartPos,n=this.parentWidth,i=this.parentHeight,r=this.gridX,a=this.gridY,o=this.width,s=this.height,l=void 0!==t.pageX?t.pageX:t.touches[0].pageX,u=void 0!==t.pageY?t.pageY:t.touches[0].pageY,c=("y"!==this.axis&&"none"!==this.axis?e.mouseX-l:0)/this.parentScaleX,h=("x"!==this.axis&&"none"!==this.axis?e.mouseY-u:0)/this.parentScaleY,d=e.top-h,p=e.bottom+h,f=e.left-c,m=e.right+c;if(this.snapToGrid){var g=!0,v=!0,y=d-Math.floor(d/a)*a,_=i-p-Math.floor((i-p)/a)*a,b=f-Math.floor(f/r)*r,w=n-m-Math.floor((n-m)/r)*r;y>a/2&&(y-=a),_>a/2&&(_-=a),b>r/2&&(b-=r),w>r/2&&(w-=r),Math.abs(_)n?e=t/n:t=n*e);var h={minLeft:c,maxLeft:s+(i-t),minRight:c,maxRight:l+(i-t),minTop:c,maxTop:o+(r-e),minBottom:c,maxBottom:a+(r-e)};if(this.aspectRatio){var d={minLeft:s-Math.min(o,a)*n*2,maxLeft:s+(r-e)/2*n*2,minRight:l-Math.min(o,a)*n*2,maxRight:l+(r-e)/2*n*2,minTop:o-Math.min(s,l)/n*2,maxTop:o+(i-t)/2/n*2,minBottom:a-Math.min(s,l)/n*2,maxBottom:a+(i-t)/2/n*2};"x"===u?h={minLeft:Math.max(h.minLeft,d.minLeft),maxLeft:Math.min(h.maxLeft,d.maxLeft),minRight:Math.max(h.minRight,d.minRight),maxRight:Math.min(h.maxRight,d.maxRight)}:"y"===u&&(h={minTop:Math.max(h.minTop,d.minTop),maxTop:Math.min(h.maxTop,d.maxTop),minBottom:Math.max(h.minBottom,d.minBottom),maxBottom:Math.min(h.maxBottom,d.maxBottom)})}return h},stickMove:function(t){var e=this.stickStartPos,n=void 0!==t.pageX?t.pageX:t.touches[0].pageX,i=void 0!==t.pageY?t.pageY:t.touches[0].pageY,r=(e.mouseX-n)/this.parentScaleX,a=(e.mouseY-i)/this.parentScaleY,o=e.top-a,s=e.bottom+a,l=e.left-r,u=e.right+r;switch(this.currentStick[0]){case"b":this.snapToGrid&&(s=this.parentHeight-Math.round((this.parentHeight-s)/this.gridY)*this.gridY),this.rawBottom=s;break;case"t":this.snapToGrid&&(o=Math.round(o/this.gridY)*this.gridY),this.rawTop=o}switch(this.currentStick[1]){case"r":this.snapToGrid&&(u=this.parentWidth-Math.round((this.parentWidth-u)/this.gridX)*this.gridX),this.rawRight=u;break;case"l":this.snapToGrid&&(l=Math.round(l/this.gridX)*this.gridX),this.rawLeft=l}this.$emit("resizing",this.rect)},stickUp:function(){this.stickDrag=!1,this.stickStartPos={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0},this.limits={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null},this.rawTop=this.top,this.rawBottom=this.bottom,this.rawLeft=this.left,this.rawRight=this.right,this.stickAxis=null,this.$emit("resizing",this.rect),this.$emit("resizestop",this.rect)},aspectRatioCorrection:function(){if(this.aspectRatio){var t=this.bottom,e=this.top,n=this.left,i=this.right,r=this.width,a=this.height,o=this.aspectFactor,s=this.currentStick;if(r/a>o){var l=o*a;"l"===s[1]?this.left=n+r-l:this.right=i+r-l}else{var u=r/o;"t"===s[0]?this.top=e+a-u:this.bottom=t+a-u}}}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}},vdrStick:function(){var t=this;return function(e){var n={width:t.stickSize/t.parentScaleX+"px",height:t.stickSize/t.parentScaleY+"px"};return n[i[e[0]]]=t.stickSize/t.parentScaleX/-2+"px",n[r[e[1]]]=t.stickSize/t.parentScaleX/-2+"px",n}},width:function(){return this.parentWidth-this.left-this.right},height:function(){return this.parentHeight-this.top-this.bottom},rect:function(){return{left:Math.round(this.left),top:Math.round(this.top),width:Math.round(this.width),height:Math.round(this.height)}}},watch:{rawLeft:function(t){var e=this.limits,n=this.stickAxis,i=this.aspectFactor,r=this.aspectRatio,a=this.left,o=this.bottom,s=this.top;if(null!==e.minLeft&&t=0||"auto"===t)&&(this.zIndex=t)},aspectRatio:function(t){t&&(this.aspectFactor=this.width/this.height)},minw:function(t){t>0&&t<=this.width&&(this.minWidth=t)},minh:function(t){t>0&&t<=this.height&&(this.minHeight=t)},x:function(){if(!this.stickDrag&&!this.bodyDrag){this.parentLimitation&&(this.limits=this.calcDragLimitation());var t=this.x-this.left;this.rawLeft=this.x,this.rawRight=this.right-t}},y:function(){if(!this.stickDrag&&!this.bodyDrag){this.parentLimitation&&(this.limits=this.calcDragLimitation());var t=this.y-this.top;this.rawTop=this.y,this.rawBottom=this.bottom-t}},w:function(){if(!this.stickDrag&&!this.bodyDrag){this.currentStick=["m","r"],this.stickAxis="x",this.parentLimitation&&(this.limits=this.calcResizeLimitation());var t=this.width-this.w;this.rawRight=this.right+t}},h:function(){if(!this.stickDrag&&!this.bodyDrag){this.currentStick=["b","m"],this.stickAxis="y",this.parentLimitation&&(this.limits=this.calcResizeLimitation());var t=this.height-this.h;this.rawBottom=this.bottom+t}},parentW:function(t){this.right=t-this.width-this.left,this.parentWidth=t},parentH:function(t){this.bottom=t-this.height-this.top,this.parentHeight=t}}}},15:function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,a=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(a)?t:(r=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:i+a.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},16:function(t,e,n){(t.exports=n(6)(!1)).push([t.i,'\n.vdr,.vdr.active:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box\n}\n.vdr.active:before{content:"";width:100%;height:100%;top:0;left:0;outline:1px dashed #d6d6d6\n}\n.vdr-stick{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;font-size:1px;background:#fff;border:1px solid #6c6c6c;-webkit-box-shadow:0 0 2px #bbb;box-shadow:0 0 2px #bbb\n}\n.inactive .vdr-stick{display:none\n}\n.vdr-stick-br,.vdr-stick-tl{cursor:nwse-resize\n}\n.vdr-stick-bm,.vdr-stick-tm{left:50%;cursor:ns-resize\n}\n.vdr-stick-bl,.vdr-stick-tr{cursor:nesw-resize\n}\n.vdr-stick-ml,.vdr-stick-mr{top:50%;cursor:ew-resize\n}\n.vdr-stick.not-resizable{display:none\n}',""])},17:function(t,e,n){"use strict";var i=n(0);n.n(i).a},18:function(t,e,n){"use strict";n.r(e);var i=n(4),r=n(2);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);var o=(n(17),n(3)),s=Object(o.a)(r.default,i.a,i.b,!1,null,null,null);s.options.__file="src/components/vue-drag-resize.vue",e.default=s.exports},2:function(t,e,n){"use strict";n.r(e);var i=n(1),r=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e.default=r.a},3:function(t,e,n){"use strict";function i(t,e,n,i,r,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},4:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vdr",class:(t.active||t.isActive?"active":"inactive")+" "+(t.contentClass?t.contentClass:""),style:t.style,on:{mousedown:function(e){t.bodyDown(e)},touchstart:function(e){t.bodyDown(e)},touchend:function(e){t.up(e)}}},[t._t("default"),t._v(" "),t._l(t.sticks,(function(e){return n("div",{staticClass:"vdr-stick",class:["vdr-stick-"+e,t.isResizable?"":"not-resizable"],style:t.vdrStick(e),on:{mousedown:function(n){n.stopPropagation(),n.preventDefault(),t.stickDown(e,n)},touchstart:function(n){n.stopPropagation(),n.preventDefault(),t.stickDown(e,n)}}})}))],2)},r=[];i._withStripped=!0,n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}))},44:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(18);Object.defineProperty(e,"default",{enumerable:!0,get:function(){return function(t){return t&&t.__esModule?t:{default:t}}(i).default}})},5:function(t,e,n){function i(t,e){for(var n=0;n=0&&_.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),a(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),a(t,e),e}function u(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function c(t,e){var n,i,r,a;if(e.transform&&t.css){if(!(a=e.transform(t.css)))return function(){};t.css=a}if(e.singleton){var u=y++;n=v||(v=s(e)),i=h.bind(null,n,u,!1),r=h.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=p.bind(null,n,e),r=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=d.bind(null,n),r=function(){o(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function h(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function d(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function p(t,e,n){var i=n.css,r=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||a)&&(i=b(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(o),s&&URL.revokeObjectURL(s)}var f={},m=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),g=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}((function(t){return document.querySelector(t)})),v=null,y=0,_=[],b=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=m()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var a=[],o=0;o Warunki korzystania z usługi i Politykę prywatności ","form-btn":"Załóż konto","create-account-note":"Uwaga: jeśli nie otrzymasz e-maila weryfikacyjnego w swojej skrzynce odbiorczej, sprawdź folder ze spamem"}')},PEkK:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Details",data:function(){return{btn:"button is-medium is-info",processing:!1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},email:{get:function(){return this.user.email},set:function(t){this.$store.commit("changeUserEmail",t)}},errors:function(){return this.$store.state.user.errors},name:{get:function(){return this.user.name},set:function(t){this.$store.commit("changeUserName",t)}},user:function(){return this.$store.state.user.user},username:{get:function(){return this.user.username},set:function(t){this.$store.commit("changeUserUsername",t)}}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("UPDATE_DETAILS");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=n("KHd+"),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.details.change-details")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("settings.details.your-name")))]),t._v(" "),t.errorExists("name")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",attrs:{type:"text",name:"name",id:"name",placeholder:t.name,required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t._m(0)])]),t._v(" "),n("label",{attrs:{for:"username"}},[t._v(t._s(t.$t("settings.details.unique-id")))]),t._v(" "),t.errorExists("username")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("username"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],staticClass:"input",attrs:{type:"text",name:"username",id:"username",placeholder:t.username,required:""},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),n("span",{staticClass:"icon is-small is-left"},[t._v("\n @\n ")])])]),t._v(" "),n("label",{attrs:{for:"email"}},[t._v(t._s(t.$t("settings.details.email")))]),t._v(" "),t.errorExists("email")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("email"))}}):t._e(),t._v(" "),n("div",{staticClass:"field mb2"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",attrs:{type:"email",name:"email",id:"email",placeholder:t.email,required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),t._m(1)])]),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("settings.details.update-details")))])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-user"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])}],!1,null,null,null);e.default=l.exports},PEqn:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Uchafuzi wa plastiki umefikia nje ya udhibiti","fires-out-of-control":"Vichuni vya sigara vinaweza kuwasha moto","climate-change-out-of-control":"Plastiki inaongeza mabadiliko ya hali ya hewa","help-us":"Tusaidie kuunda hifadhidata ya juu zaidi duniani iliyo wazi kuhusu takataka, chapa na uchafuzi wa plastiki","why-collect-data":"Kwa nini tukusanye taarifa","visibility":"Kuonekana","our-maps-reveal-litter-normality":"Kwa watu wengi, takataka imekuwa ya kawaida na isiyoonekana. Ramani zina nguvu kwa sababu zinawasilisha kile ambacho kwa kawaida hatuwezi kuona","science":"Tatua tatizo","our-data-open-source":"Taarifa zetu ziko wazi na zinapatikana. Kila mtu ana haki sawa, wazi na zisizo na kikomo za kupakua taarifa zetu zote na kuitumia kwa madhumuni yoyote","community":"Jamii","must-work-together":"Tunahitaji usaidizi wako ili kuunda mabadiliko ya mtazamo wa jinsi tunavyoelewa na kukabiliana na uchafuzi wa mazingira","how-does-it-work":"Inafanyaje kazi","take-a-photo":"Piga picha","device-captures-info":"Kifaa chako kinaweza kunasa taarifa muhimu kuhusu eneo, saa, kitu, nyenzo na chapa.","tag-the-litter":"Wekea taka nembo","tag-litter-you-see":"Weka tu alama ya takataka unayoona kwenye picha. Unaweza kuweka lebo ikiwa takataka imechukuliwa au ikiwa bado iko. Unaweza kupakia picha zako wakati wowote","share-results":"Shirikisha matokeo yako","share":"Shirikisha ramani au pakua taarifa zetu. Hebu tuonyeshe kila mtu jinsi ulimwengu ulivyochafuliwa sana","verified":"Barua pepe yako imethibitishwa! Sasa unaweza kuingia.","close":"Funga","our-partners":"Washirika wetu","become-a-partner":"Kuwa mshirika"}')},PFQ8:function(t,e,n){var i=n("zBhI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},PKhi:function(t,e,n){var i=n("fnz1");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},PLR4:function(t,e,n){"use strict";var i=n("9b0M");n.n(i).a},PSD3:function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n(e=parseInt(e.getAttribute("tabindex")))?1:t1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.opacity="",t.style.display=e},at=function(t){t.style.opacity="",t.style.display="none"},ot=function(t,e,n){e?rt(t,n):at(t)},st=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},lt=function(t){return!!(t.scrollHeight>t.clientHeight)},ut=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),i=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||i>0},ct=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=B();st(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"}),10))},ht=function(){return"undefined"==typeof window||"undefined"==typeof document},dt='\n
\n
\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    \n \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),pt=function(t){sn.isVisible()&&J!==t.target.value&&sn.resetValidationMessage(),J=t.target.value},ft=function(t){var e,n=!!(e=C())&&(e.parentNode.removeChild(e),et([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]]),!0);if(!ht()){var i=document.createElement("div");i.className=x.container,n&&tt(i,x["no-transition"]),W(i,dt);var r,a,o,s,l,u,c,h,d,p="string"==typeof(r=t.target)?document.querySelector(r):r;p.appendChild(i),function(t){var e=S();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")}(t),function(t){"rtl"===window.getComputedStyle(t).direction&&tt(C(),x.rtl)}(p),a=O(),o=nt(a,x.input),s=nt(a,x.file),l=a.querySelector(".".concat(x.range," input")),u=a.querySelector(".".concat(x.range," output")),c=nt(a,x.select),h=a.querySelector(".".concat(x.checkbox," input")),d=nt(a,x.textarea),o.oninput=pt,s.onchange=pt,c.onchange=pt,h.onchange=pt,d.oninput=pt,l.oninput=function(t){pt(t),u.value=l.value},l.onchange=function(t){pt(t),l.nextSibling.value=l.value}}},mt=function(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?gt(e,n):e&&W(n,e)},gt=function(t,e){t.jquery?vt(e,t):W(e,t.toString())},vt=function(t,e){if(t.textContent="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},yt=function(){if(ht())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}(),_t=function(t,e){var n=R(),i=N(),r=D();e.showConfirmButton||e.showCancelButton||at(n),Z(n,e,"actions"),bt(i,"confirm",e),bt(r,"cancel",e),e.buttonsStyling?function(t,e,n){if(tt([t,e],x.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor),!V()){var i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=i,t.style.borderRightColor=i}}(i,r,e):(et([i,r],x.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),e.reverseButtons&&i.parentNode.insertBefore(r,i)};function bt(t,e,n){var i;ot(t,n["show".concat((i=e,i.charAt(0).toUpperCase()+i.slice(1)),"Button")],"inline-block"),W(t,n["".concat(e,"ButtonText")]),t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=x[e],Z(t,n,"".concat(e,"Button")),tt(t,n["".concat(e,"ButtonClass")])}var wt=function(t,e){var n=C();if(n){!function(t,e){"string"==typeof e?t.style.background=e:e||tt([document.documentElement,document.body],x["no-backdrop"])}(n,e.backdrop),!e.backdrop&&e.allowOutsideClick,function(t,e){tt(t,e in x?x[e]:x.center)}(n,e.position),function(t,e){if(e&&"string"==typeof e){var n="grow-".concat(e);n in x&&tt(t,x[n])}}(n,e.grow),Z(n,e,"container");var i=document.body.getAttribute("data-swal2-queue-step");i&&(n.setAttribute("data-queue-step",i),document.body.removeAttribute("data-swal2-queue-step"))}},xt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},kt=["input","file","range","select","radio","checkbox","textarea"],Ct=function(t){if(Lt[t.input]){var e=Pt(t.input),n=Lt[t.input](e,t);rt(n),setTimeout((function(){K(n)}))}else'Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"')},Tt=function(t,e){var n=X(O(),t);if(n)for(var i in function(t){for(var e=0;en?"".concat(e,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}return t};var It=function(t,e){var n=O().querySelector("#".concat(x.content));e.html?(mt(e.html,n),rt(n,"block")):e.text?(n.textContent=e.text,rt(n,"block")):at(n),function(t,e){var n=O(),i=xt.innerParams.get(t),r=!i||e.input!==i.input;kt.forEach((function(t){var i=x[t],a=nt(n,i);Tt(t,e.inputAttributes),a.className=i,r&&at(a)})),e.input&&(r&&Ct(e),Et(e))}(t,e),Z(O(),e,"content")},Ot=function(){for(var t=P(),e=0;e\n \n
    \n
    \n '):"error"===e.icon?W(t,'\n \n \n \n \n '):W(t,zt({question:"?",warning:"!",info:"i"}[e.icon]))},zt=function(t){return'
    ').concat(t,"
    ")},Nt=[],Dt=function(){return C()&&C().getAttribute("data-queue-step")},Rt=function(t,e){var n=M();if(!e.progressSteps||0===e.progressSteps.length)return at(n);rt(n),n.textContent="";var i=parseInt(void 0===e.currentProgressStep?Dt():e.currentProgressStep);e.progressSteps.length,e.progressSteps.forEach((function(t,r){var a=function(t){var e=document.createElement("li");return tt(e,x["progress-step"]),W(e,t),e}(t);if(n.appendChild(a),r===i&&tt(a,x["active-progress-step"]),r!==e.progressSteps.length-1){var o=function(t){var e=document.createElement("li");return tt(e,x["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e}(e);n.appendChild(o)}}))},jt=function(t,e){var n=j();Z(n,e,"header"),Rt(0,e),function(t,e){var n=xt.innerParams.get(t);if(n&&e.icon===n.icon&&L())Z(L(),e,"icon");else if(Ot(),e.icon)if(-1!==Object.keys(k).indexOf(e.icon)){var i=T(".".concat(x.icon,".").concat(k[e.icon]));rt(i),Mt(i,e),At(),Z(i,e,"icon"),tt(i,e.showClass.icon)}else'Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')}(t,e),function(t,e){var n=A();if(!e.imageUrl)return at(n);rt(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),it(n,"width",e.imageWidth),it(n,"height",e.imageHeight),n.className=x.image,Z(n,e,"image")}(0,e),function(t,e){var n=I();ot(n,e.title||e.titleText),e.title&&mt(e.title,n),e.titleText&&(n.innerText=e.titleText),Z(n,e,"title")}(0,e),function(t,e){var n=U();W(n,e.closeButtonHtml),Z(n,e,"closeButton"),ot(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)}(0,e)},Ft=function(t,e){t.className="".concat(x.popup," ").concat(st(t)?e.showClass.popup:""),e.toast?(tt([document.documentElement,document.body],x["toast-shown"]),tt(t,x.toast)):tt(t,x.modal),Z(t,e,"popup"),"string"==typeof e.customClass&&tt(t,e.customClass),e.icon&&tt(t,x["icon-".concat(e.icon)])},Bt=function(t,e){!function(t,e){var n=S();it(n,"width",e.width),it(n,"padding",e.padding),e.background&&(n.style.background=e.background),Ft(n,e)}(0,e),wt(0,e),jt(t,e),It(t,e),_t(0,e),function(t,e){var n=F();ot(n,e.footer),e.footer&&mt(e.footer,n),Z(n,e,"footer")}(0,e),"function"==typeof e.onRender&&e.onRender(S())},Ut=function(){return N()&&N().click()},qt=function(){var t=S();t||sn.fire(),t=S();var e=R(),n=N();rt(e),rt(n,"inline-block"),tt([t,e],x.loading),n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},$t={},Gt=function(){return new Promise((function(t){var e=window.scrollX,n=window.scrollY;$t.restoreFocusTimeout=setTimeout((function(){$t.previousActiveElement&&$t.previousActiveElement.focus?($t.previousActiveElement.focus(),$t.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}))},Vt=function(){if($t.timeout)return function(){var t=B(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var n=parseInt(window.getComputedStyle(t).width),i=parseInt(e/n*100);t.style.removeProperty("transition"),t.style.width="".concat(i,"%")}(),$t.timeout.stop()},Ht=function(){if($t.timeout){var t=$t.timeout.start();return ct(t),t}},Wt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},Yt=["title","titleText","text","html","footer","icon","hideClass","customClass","allowOutsideClick","allowEscapeKey","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","buttonsStyling","reverseButtons","showCloseButton","closeButtonHtml","closeButtonAriaLabel","imageUrl","imageWidth","imageHeight","imageAlt","progressSteps","currentProgressStep","onClose","onAfterClose","onDestroy"],Zt={animation:'showClass" and "hideClass'},Xt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Jt=function(t){return Object.prototype.hasOwnProperty.call(Wt,t)},Kt=function(t){return Zt[t]},Qt=function(t){Jt(t)||'Unknown parameter "'.concat(t,'"')},te=function(t){-1!==Xt.indexOf(t)&&'The parameter "'.concat(t,'" is incompatible with toasts')},ee=function(t){Kt(t)&&f(t,Kt(t))},ne=Object.freeze({isValidParameter:Jt,isUpdatableParameter:function(t){return-1!==Yt.indexOf(t)},isDeprecatedParameter:Kt,argsToParams:function(e){var n={};return"object"!==t(e[0])||b(e[0])?["title","html","icon"].forEach((function(i,r){var a=e[r];"string"==typeof a||b(a)?n[i]=a:void 0!==a&&"Unexpected type of ".concat(i,'! Expected "string" or "Element", got ').concat(t(a))})):r(n,e[0]),n},isVisible:function(){return st(S())},clickConfirm:Ut,clickCancel:function(){return D()&&D().click()},getContainer:C,getPopup:S,getTitle:I,getContent:O,getHtmlContainer:function(){return E(x["html-container"])},getImage:A,getIcon:L,getIcons:P,getCloseButton:U,getActions:R,getConfirmButton:N,getCancelButton:D,getHeader:j,getFooter:F,getTimerProgressBar:B,getFocusableElements:q,getValidationMessage:z,isLoading:V,fire:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;iwindow.innerHeight&&(H.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(H.previousBodyPadding+function(){var t=document.createElement("div");t.className=x["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}(),"px"))},ae=function(){navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||S().scrollHeight>window.innerHeight-44&&(C().style.paddingBottom="".concat(44,"px"))},oe=function(){var t,e=C();e.ontouchstart=function(e){t=se(e.target)},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},se=function(t){var e=C();return t===e||!(lt(e)||"INPUT"===t.tagName||lt(O())&&O().contains(t))},le=function(){return!!window.MSInputMethodContext&&!!document.documentMode},ue=function(){var t=C(),e=S();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},ce={swalPromiseResolve:new WeakMap};function he(t,e,n,i){n?me(t,i):(Gt().then((function(){return me(t,i)})),$t.keydownTarget.removeEventListener("keydown",$t.keydownHandler,{capture:$t.keydownListenerCapture}),$t.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),$()&&(null!==H.previousBodyPadding&&(document.body.style.paddingRight="".concat(H.previousBodyPadding,"px"),H.previousBodyPadding=null),function(){if(Y(document.body,x.iosfix)){var t=parseInt(document.body.style.top,10);et(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&le()&&window.removeEventListener("resize",ue),d(document.body.children).forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))),et([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"],x["toast-column"]])}function de(t){var e=S();if(e){var n=xt.innerParams.get(this);if(n&&!Y(e,n.hideClass.popup)){var i=ce.swalPromiseResolve.get(this);et(e,n.showClass.popup),tt(e,n.hideClass.popup);var r=C();et(r,n.showClass.backdrop),tt(r,n.hideClass.backdrop),pe(this,e,n),void 0!==t?(t.isDismissed=void 0!==t.dismiss,t.isConfirmed=void 0===t.dismiss):t={isDismissed:!0,isConfirmed:!1},i(t||{})}}}var pe=function(t,e,n){var i=C(),r=yt&&ut(e),a=n.onClose,o=n.onAfterClose;null!==a&&"function"==typeof a&&a(e),r?fe(t,e,i,o):he(t,i,G(),o)},fe=function(t,e,n,i){$t.swalCloseEventFinishedCallback=he.bind(null,t,n,G(),i),e.addEventListener(yt,(function(t){t.target===e&&($t.swalCloseEventFinishedCallback(),delete $t.swalCloseEventFinishedCallback)}))},me=function(t,e){setTimeout((function(){"function"==typeof e&&e(),t._destroy()}))};function ge(t,e,n){var i=xt.domCache.get(t);e.forEach((function(t){i[t].disabled=n}))}function ve(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),i=0;i")),ft(t)}var we=function(t){var e=C(),n=S();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n);var i=window.getComputedStyle(document.body).overflowY;Ee(e,n,t),Ce(e,n),$()&&(Te(e,t.scrollbarPadding,i),d(document.body.children).forEach((function(t){t===C()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,C())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))),G()||$t.previousActiveElement||($t.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout((function(){return t.onOpen(n)})),et(e,x["no-transition"])};function xe(t){var e=S();if(t.target===e){var n=C();e.removeEventListener(yt,xe),n.style.overflowY="auto"}}var ke,Ce=function(t,e){yt&&ut(e)?(t.style.overflowY="hidden",e.addEventListener(yt,xe)):t.style.overflowY="auto"},Te=function(t,e,n){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Y(document.body,x.iosfix)){var t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),tt(document.body,x.iosfix),oe(),ae()}}(),"undefined"!=typeof window&&le()&&(ue(),window.addEventListener("resize",ue)),e&&"hidden"!==n&&re(),setTimeout((function(){t.scrollTop=0}))},Ee=function(t,e,n){tt(t,n.showClass.backdrop),rt(e),tt(e,n.showClass.popup),tt([document.documentElement,document.body],x.shown),n.heightAuto&&n.backdrop&&!n.toast&&tt([document.documentElement,document.body],x["height-auto"])},Se=function(t){return t.checked?1:0},Pe=function(t){return t.checked?t.value:null},Le=function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null},Ie=function(e,n){var i=O(),r=function(t){return Ae[n.input](i,Me(t),n)};g(n.inputOptions)||y(n.inputOptions)?(qt(),v(n.inputOptions).then((function(t){e.hideLoading(),r(t)}))):"object"===t(n.inputOptions)?r(n.inputOptions):"Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions))},Oe=function(t,e){var n=t.getInput();at(n),v(e.inputValue).then((function(i){n.value="number"===e.input?parseFloat(i)||0:"".concat(i),rt(n),n.focus(),t.hideLoading()})).catch((function(e){"Error in inputValue promise: ".concat(e),n.value="",rt(n),n.focus(),t.hideLoading()}))},Ae={select:function(t,e,n){var i=nt(t,x.select),r=function(t,e,i){var r=document.createElement("option");r.value=i,W(r,e),n.inputValue.toString()===i.toString()&&(r.selected=!0),t.appendChild(r)};e.forEach((function(t){var e=t[0],n=t[1];if(Array.isArray(n)){var a=document.createElement("optgroup");a.label=e,a.disabled=!1,i.appendChild(a),n.forEach((function(t){return r(a,t[1],t[0])}))}else r(i,n,e)})),i.focus()},radio:function(t,e,n){var i=nt(t,x.radio);e.forEach((function(t){var e=t[0],r=t[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=x.radio,a.value=e,n.inputValue.toString()===e.toString()&&(a.checked=!0);var s=document.createElement("span");W(s,r),s.className=x.label,o.appendChild(a),o.appendChild(s),i.appendChild(o)}));var r=i.querySelectorAll("input");r.length&&r[0].focus()}},Me=function e(n){var i=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach((function(n,r){var a=n;"object"===t(a)&&(a=e(a)),i.push([r,a])})):Object.keys(n).forEach((function(r){var a=n[r];"object"===t(a)&&(a=e(a)),i.push([r,a])})),i},ze=function(t,e){var n=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return Se(n);case"radio":return Pe(n);case"file":return Le(n);default:return e.inputAutoTrim?n.value.trim():n.value}}(t,e);e.inputValidator?(t.disableInput(),Promise.resolve().then((function(){return v(e.inputValidator(n,e.validationMessage))})).then((function(i){t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):De(t,e,n)}))):t.getInput().checkValidity()?De(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},Ne=function(t,e){t.closePopup({value:e})},De=function(t,e,n){e.showLoaderOnConfirm&&qt(),e.preConfirm?(t.resetValidationMessage(),Promise.resolve().then((function(){return v(e.preConfirm(n,e.validationMessage))})).then((function(e){st(z())||!1===e?t.hideLoading():Ne(t,void 0===e?n:e)}))):Ne(t,n)},Re=function(t,e,n){for(var i=q(),r=0;r:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}')},PT26:function(t){t.exports=JSON.parse('{"title":"My Teams","currently-joined-team":"Your active team is","currently-not-joined-team":"You are not currently part of a team","no-joined-team":"You have not yet joined a team","leader-of-team":"You are the leader of this team","enabled-contributions":"All of your contributions will count toward this team only.","disabled-contributions":"You have not selected an active team yet.
    That means you are not contributing to any team at the moment.
    You can select your active team by clicking the star icons on the bottom list.","disable-contributions-tooltip":"This disables your team contributions from now on. You will still be a member of your teams and can enable contributions anytime.","team-details":"Team Details","all-my-teams":"All My Teams","this-is-active-team":"This is your active team","set-as-active-team":"Set as your active team","team-identifier":"Team Identifier","join-team":"Please join a team","leave-team":"Leave team","just-left-team":"You just left team","cant-leave-team":"You can\'t leave this team since you\'re the only member","change-active-team":"Join Team","download-team-data":"Download Team Data","hide-from-leaderboards":"Hide from Leaderboards","show-on-leaderboards":"Show on Leaderboards","position-header":"Position","name-header":"Name","username-header":"Username","status-header":"Status","photos-header":"Photos","litter-header":"Litter","identifier-header":"Identifier","members-header":"Members","last-activity-header":"Last Activity","confirm-leave-team":"Are you sure?\\nYou can always rejoin and your contributions will be saved."}')},Pb1J:function(t){t.exports=JSON.parse('{"allowed-to-create":"{teams} csapatot hozhat létre","what-kind-of-team":"Milyen csapatot szeretnél létrehozni?","team-type":"Csapat típusa","team-name":"Csapat neve","my-awesome-team-placeholder":"Az Én Csodálatos Csapatom","unique-team-id":"Egyedi Csapatazonosító","id-to-join-team":"Bárki, aki rendelkezik ezzel az azonosítóval, csatlakozhat a csapatához.","create-team":"Csapat létrehozása","update-team":"Frissítse a csapatot","created":"Gratulálunk! Új csapata létrejött.","updated":"A csapat frissítve.","select-team":"Válasszon ki egy csapatot","fail":"Hiba történt a csapat létrehozása során","max-created":"Nem hozhat létre több csapatot."}')},PcAy:function(t,e,n){"use strict";var i=n("YJ1M");n.n(i).a},PeV8:function(t){t.exports=JSON.parse('{"privacy-title":"Controleer je Privacy","privacy-text":"Controleer je privacy voor elk team waar je je bij aangesloten hebt.","team-update-title":"Update je teams","team-update-text":"U kunt alleen de teams bijwerken die u leidt.","maps":{"team-map":"Team Plattegrond","name-will-appear":"Jouw naam zal verschijnen op de plattegrond","username-will-appear":"Jouw gebruikersnaam zal verschijnen op de plattegrond","will-not-appear":"Jouw naam en gebruikersnaam zullen niet op de plattegrond verschijnen"},"leaderboards":{"team-leaderboard":"Team Leiderbord","name-will-appear":"Jouw naam zal verschijnen op het leiderbord","username-will-appear":"Jouw gebruikersnaam zal verschijnen op het leiderbord","will-not-appear":"Jouw naam en gebruikersnaam zullen niet op het leiderbord verschijnen"},"submit-one-team":"Opslaan voor dit Team","apply-all-teams":"Toepassen voor alle Teams"}')},"Q+hE":function(t,e,n){var i=n("1C7U");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"Q32/":function(t){t.exports=JSON.parse('{"title":"Aidez-nous à changer le monde.","subtitle":"Nous nous développons chaque jour un peu plus","photos-last-30-days":"Photos téléchargées ces 30 derniers jours","users-last-30-days":"Nouveaux utilisateurs ces 30 derniers jours","litter-tags-last-30-days":"Déchet tagué ces 30 derniers jours","photos-every-month-label":"Photos téléchargées chaque mois","users-every-month-label":"De nouveaux utilisatuers tous les mois","zoom-text":"Rejoignez-nous sur le {link}, où nous pouvons écouter toutes les nouvelles idées et suggestions de notre communauté grandissante. Chaque semaine nos utilisateurs partagent leurs commentaires qui permettent toujours d\'éaméliorer notre application et de la rendre plus facile à utiliser. Participez à la mise en forme de la direction que prendra notre plateforme open source de monitoring et de collecte de données environnementales. La visioconférence commence dans:","zoom-weekly-calls":"Appel hebdomadaire sur Zoom à 18h GMT (Dublin/Londres/Lisbonne) tous les jeudis","zoom-live":"Le live","zoom-days":"jour | jours","zoom-hours":"heure | heures","zoom-minutes":"minute | minutes","slack-text":"{slack} est notre principal moyen de communication et collaboration. Les utilisateurs avancés, les nouveaux-venus, les développeurs, une communauté de plus de 400 membres; nous sommes tous là. Écrivez-nous quelque chose et vous aurez une réponse instantanée, nous sommes constamment en ligne.","fundraiser-text":"OpenLitterMap dépend entièrement des dons. On a mis en place un {link} et nous sommes toujours très loin de notre objectif. Toutes les contributions sont les bienvenues. {emoji}","fundraiser-link":"Campagne de financement GoFundMe"}')},Q8B6:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Isso vai voltar mais tarde","claim-tokens":"Se você quiser apenas reivindicar seus tokens e acessar sua carteira de outro lugar, insira seu ID de carteira e você receberá seus ganhos."}')},QDRv:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flex[data-v-4d6e48de] {\n display: flex;\n}\n.items-center[data-v-4d6e48de] {\n align-items: center;\n}\n.h-full[data-v-4d6e48de] {\n height: 100%;\n}\n.ltr-icon[data-v-4d6e48de] {\n max-width: 32px;\n}\n.ltr-strong[data-v-4d6e48de] {\n font-weight: 600;\n}",""])},QKsZ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".about-icon[data-v-5a052acc] {\n height: 10em;\n text-align: center;\n}\n.c-1[data-v-5a052acc] {\n margin-bottom: 3em;\n}\n.home-container[data-v-5a052acc] {\n padding-top: 5em;\n}\n.home-img-padding[data-v-5a052acc] {\n padding-right: 2em;\n}\n.main-title[data-v-5a052acc] {\n font-size: 4rem;\n font-weight: 800;\n color: #363636;\n line-height: 1.125;\n margin-bottom: 1em;\n}\n.icon-center[data-v-5a052acc] {\n margin: auto;\n}\n.welcome-mb[data-v-5a052acc] {\n margin-bottom: 5em;\n}\n.main-subtitle[data-v-5a052acc] {\n font-size: 2rem;\n color: #4a4a4a;\n font-weight: 700;\n line-height: 1.5;\n margin-bottom: 0.5em;\n}\n.welcome-subtitle[data-v-5a052acc] {\n color: #4a4a4a;\n font-size: 2rem;\n font-weight: 400;\n line-height: 1.5;\n}\n.partners-container[data-v-5a052acc] {\n padding-left: 72px;\n padding-right: 72px;\n margin-bottom: 36px;\n}\n.partners-action[data-v-5a052acc] {\n margin-top: 36px;\n}\n\n/* Smaller screens */\n@media (max-width: 1024px) {\n.home-container[data-v-5a052acc] {\n padding-left: 2em;\n padding-right: 2em;\n}\n}\n/* Mobile view */\n@media (max-width: 768px) {\n.home-container[data-v-5a052acc] {\n padding-top: 3em !important;\n}\n.home-img-padding[data-v-5a052acc] {\n padding: 0;\n}\n.main-title[data-v-5a052acc] {\n font-size: 3rem;\n}\n.icon-center[data-v-5a052acc] {\n text-align: center;\n margin-bottom: 2em;\n}\n.welcome-mb[data-v-5a052acc] {\n margin-bottom: 1em;\n}\n.why-container[data-v-5a052acc] {\n margin-bottom: 5em;\n}\n.top-image[data-v-5a052acc] {\n height: 400px;\n}\n.partners-container[data-v-5a052acc] {\n padding-left: 0;\n padding-right: 0;\n}\n}\n/* Extra small */\n@media (max-width: 576px) {\n.variable-height[data-v-5a052acc] {\n min-height: 100px;\n}\n.top-image[data-v-5a052acc] {\n height: 260px;\n}\n}\n/* Extra extra small */\n@media (max-width: 430px) {\n.variable-height[data-v-5a052acc] {\n min-height: 175px;\n}\n}\n.slide-fade-left-enter-active[data-v-5a052acc] {\n transition: all 0.5s ease;\n}\n.slide-fade-left-leave-active[data-v-5a052acc] {\n transition: all 0.3s ease-out;\n}\n.slide-fade-left-enter[data-v-5a052acc], .slide-fade-left-leave-to[data-v-5a052acc] {\n transform: translateX(-100px);\n opacity: 0;\n}\n.slide-fade-right-enter-active[data-v-5a052acc] {\n transition: all 0.5s ease;\n}\n.slide-fade-right-leave-active[data-v-5a052acc] {\n transition: all 0.3s ease-out;\n}\n.slide-fade-right-enter[data-v-5a052acc], .slide-fade-right-leave-to[data-v-5a052acc] {\n transform: translateX(100px);\n opacity: 0;\n}",""])},QLhK:function(t){t.exports=JSON.parse('{"cancel":"Annuleren","submit":"Indienen","download":"Download","delete":"Verwijderen","delete-image":"De afbeelding verwijderen","confirm-delete":"Bevestig de verwijdering","loading":"Laden...","created_at":"Ge-Upload op","created":"Aangemaakt","created-by":"Gemaakt door","datetime":"Genomen op","day-names":["Ma","Di","Wo","Do","Vr","Za","Zo"],"month-names":["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],"short-month-names":["Jan","Feb","Maa","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],"next":"Volgende","previous":"Vorige","next-page":"Volgende pagina","add-tags":"Kenmerken Toevoegen","add-many-tags":"Veel Kenmerken Toevoegen","select-all":"Selecteer alles","de-select-all":"De-selecteer alles","choose-dates":"Kies datums","not-verified":"Niet gecontroleerd","verified":"Gecontroleerd","search-by-id":"Zoek op ID","active":"Actief","inactive":"Inactief","inactivate":"Teambijdragen uitschakelen","your-email":"you@email.com","team":"Team","actions":"Actie","photo":"Foto","reason":"Reden","anonymous":"Anoniem","faq":"Veel Gestelde Vragen"}')},QbqM:function(t,e,n){var i=n("m7SO");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},QhcE:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.centered[data-v-3bb5fc0c] {\n width: 100%;\n margin: 12rem auto;\n}\n.with-x-spacing[data-v-3bb5fc0c] {\n padding-right: 24px;\n padding-left: 24px;\n}\n",""])},Qi36:function(t,e,n){"use strict";var i=n("W697");n.n(i).a},Qj2a:function(t,e,n){"use strict";var i=n("fYS8");n.n(i).a},"QoU/":function(t){t.exports=JSON.parse('{"change-password":"Cambiar mi contraseña","enter-old-password":"Introduce la contraseña anterior","enter-new-password":"Introduce una nueva contraseña","enter-strong-password":"Introduce una contraseña segura","confirm-new-password":"Confirma tu nueva contraseña","repeat-strong-password":"Repite tu contraseña segura","update-password":"Actualizar contraseña"}')},"R/GM":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Equipes","dashboard":"Painel","join-a-team":"Junte-se a uma equipe","create-a-team":"Crie uma equipe","your-teams":"Suas equipes","leaderboard":"Os melhores","settings":"Configurações","teams-dashboard":"Painel de equipes","photos-uploaded":"Fotos enviadas","litter-tagged":"Lixo marcado","members-uploaded":"Membros da equipe enviados","all-teams":"Todas as equipes","times":{"today":"Hoje","week":"Essa semana","month":"Esse mês","year":"Esse ano","all":"Tempo todo","created_at":"Carregado em","datetime":"Tirada em"}}')},R5vI:function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));Date.prototype.getWeekNumber=function(t){if(!t){let t=(this.getDay()+6)%7;this.setDate(this.getDate()-t+3)}let e=new Date(this.getFullYear(),0,4);return Math.ceil(((this-e)/864e5+e.getDay()+1)/7)};class i{constructor(t,e,n,i){this.sundayStart=t,this.leftAndRightDays=e,this.dateFormat=n,this.dayNames=i}formatDate(t){let e=t.getDate(),n=t.getMonth()+1,i=t.getFullYear(),r=this.dateFormat.replace("dd",e.toString());return r=r.replace("mm",n.toString()),r=r.replace("yyyy",i.toString()),r.split(" ")[0]}getDateFromFormat(t){let e=this.dateFormat.split(" ")[0];if(t=t.split(" ")[0],-1!==e.indexOf("/"))e=e.split("/"),t=t.split("/");else if(-1!==e.indexOf("-"))e=e.split("-"),t=t.split("-");else{if(-1===e.indexOf("."))throw new Error("Your date format not valid. Please read documentation.!");e=e.split("."),t=t.split(".")}let n=e.indexOf("yyyy"),i=e.indexOf("mm"),r=e.indexOf("dd");return new Date(t[n],t[i]-1,t[r])}checkValidDate(t){return"Invalid Date"!=(t=this.getDateFromFormat(t))}getWeeksInMonth(t,e){let n=[],i=new Date(e,t,1),r=new Date(e,t+1,0),a=r.getDate(),o=1,s=this.sundayStart?7-i.getDay():0===i.getDay()?1:7-i.getDay()+1;for(;o<=a;)n.push({year:e,start:o,end:s,number:new Date(e,t,o).getWeekNumber(this.sundayStart),days:[]}),o=s+1,s+=7,s>a&&(s=a);return{weeks:n,month:r.getMonth(),year:r.getFullYear()}}getLeftMonthDays(t,e){let n=this.getWeeksInMonth(t,e).weeks[0],i=[],r=0,a=0;if(7!==n.end-n.start+1){let n=this.getWeeksInMonth(t-1,e),o=n.weeks[n.weeks.length-1];for(let t=o.start;t<=o.end;t++)i.push(t);a=n.month,r=n.year}return{days:i.reverse(),month:a,year:r}}getRightMonthDays(t,e){let n=this.getWeeksInMonth(t,e),i=n.weeks[n.weeks.length-1],r=[],a=0,o=0;if(7!==i.end-i.start+1){let n=this.getWeeksInMonth(t+1,e),i=n.weeks[0];for(let t=i.start;t<=i.end;t++)r.push(t);o=n.month,a=n.year}return{days:r,month:o,year:a}}getFinalizedWeeks(t,e){let n=this.getWeeksInMonth(t,e),i=this.getLeftMonthDays(t,e),r=this.getRightMonthDays(t,e);return n.weeks.forEach(t=>{for(let e=t.start;e<=t.end;e++)t.days.push({day:e,month:n.month,year:n.year,hide:!1,hideLeftAndRightDays:!1})}),i.days.length&&i.days.forEach(t=>{let e=!1;this.leftAndRightDays||(t="",e=!0),n.weeks[0].days.unshift({day:t,month:i.month,year:i.year,hide:!0,hideLeftAndRightDays:e})}),r.days.length&&r.days.forEach(t=>{let e=!1;this.leftAndRightDays||(t="",e=!0),n.weeks[n.weeks.length-1].days.push({day:t,month:r.month,year:r.year,hide:!0,hideLeftAndRightDays:e})}),n.weeks.forEach(t=>{delete t.year}),n.weeks}mask(t){let e="00";1===this.getDateFromFormat(t).getDate().toString().length&&(e="0");let n="00";this.getDateFromFormat(t).getMonth()+1<=9&&(n="0");let i=this.dateFormat.replace("dd",e).replace("mm",n).replace("yyyy","0000"),r=/[0\*]/,a=/[0-9]/,o="";for(let e=0,n=0;n=t.length)&&("0"!==i[n]||null!=t[e].match(a));){for(;null==i[n].match(r)&&t[e]!==i[n];)o+=i[n++];o+=t[e++],n++}return o}}const r=()=>{},a={props:{borderColor:{type:String,default:""},displayTimeInput:{type:Boolean,default:!1},configs:{type:Object,default:()=>{}},sundayStart:{type:Boolean,default:r},placeholder:{type:[String,Boolean],default:r},dateFormat:{type:String,validator(t){let e=t.split(" ")[1];if(!e)return!0;return!!~["HH:MM","HH:mm","hh:MM","hh:mm"].indexOf(e)}},canClearRange:{type:Boolean,default:!1},isMultiple:{type:Boolean,default:r},isSeparately:{type:Boolean,default:r},isDatePicker:{type:Boolean,default:r},isMultipleDatePicker:{type:Boolean,default:r},isMultipleDateRange:{type:Boolean,default:r},isDateRange:{type:Boolean,default:r},withTimePicker:{type:Boolean,default:r},calendarsCount:{type:Number},isModal:{type:Boolean,default:r},isTypeable:{type:Boolean,default:r},changeMonthFunction:{type:Boolean,default:r},changeYearFunction:{type:Boolean,default:r},changeYearStep:{type:Number,default:()=>3},newCurrentDate:{type:Date},markedDates:{type:Array,default:()=>[]},markedDateRange:{type:[Object,Array]},disabledDayNames:{type:Array},disabledDates:{type:Array},enabledDates:{type:Array},limits:{type:[Object,Boolean],default:r},minSelDays:{type:[Number,Boolean],default:r},maxSelDays:{type:[Number,Boolean],default:r},dayNames:{type:Array},monthNames:{type:Array},shortMonthNames:{type:Array},showWeekNumbers:{type:Boolean,default:r},value:{type:Object},transition:{type:Boolean,default:r},hiddenElements:{type:Array},isAutoCloseable:{type:Boolean,default:void 0},isDark:{type:Boolean,default:void 0},isLayoutExpandable:{type:Boolean,default:void 0},titlePosition:{type:String,default:"center"},arrowsPosition:{type:String,default:"space-between"}},data:()=>({popoverElement:"",defaultDateFormat:{date:!1,dateTime:!1,hour:"00",minute:"00"},hoveredObject:null,calendar:{currentDate:new Date,selectedDate:!1,selectedDateTime:!1,selectedHour:"00",selectedMinute:"00",selectedDatesItem:"",selectedDates:[],dateRange:{start:"",end:""},multipleDateRange:[]},transitionPrefix:"left",showCalendar:!0,showMonthPicker:!1,showYearPicker:!1,showTimePicker:!1,allowPreDate:!0,allowNextDate:!0,listCalendars:[],fConfigs:{sundayStart:!1,placeholder:!1,dateFormat:"dd/mm/yyyy hh:MM",isMultipleDateRange:!1,isDatePicker:!1,isMultipleDatePicker:!1,isDateRange:!1,withTimePicker:!1,isMultiple:!1,calendarsCount:1,isSeparately:!1,isModal:!1,isTypeable:!1,changeMonthFunction:!1,changeYearFunction:!1,changeYearStep:3,markedDates:[],markedDateRange:{start:!1,end:!1},limits:!1,minSelDays:!1,maxSelDays:!1,disabledDates:[],enabledDates:[],disabledDayNames:[],dayNames:["Mo","Tu","We","Th","Fr","Sa","Su"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],showWeekNumbers:!1,transition:!0,hiddenElements:[],isAutoCloseable:!1,isDark:!1,isLayoutExpandable:!1,titlePosition:"center",arrowsPosition:"space-between"}})};var o={name:"TimePicker",data:()=>({startDateActive:!0,currentSelectedDate:""}),props:{height:{type:Number,required:!0}},watch:{startDateActive:function(){this.setScrollPosition()}},computed:{getCurrentDate(){return this.currentSelectedDate.date},getCurrentDateTime(){return this.currentSelectedDate.dateTime}},created(){let t=this.$parent.calendar.selectedDates;this.currentSelectedDate=t[t.length-1]},mounted(){let t=this.$parent.calendar.dateRange.start.split(" ")[0],e=this.$parent.calendar.dateRange.end.split(" ")[0];t&&this.$parent.helpCalendar.getDateFromFormat(t)t<=10?"0"+(t-1):t-1,close(){this.$parent.showTimePicker=!1},addMinuteHour(t,e,n){let i="";return i+=e.split(" ")[0],"hour"==t?(i+=" "+n+":",i+=e.split(" ")[1].split(":")[1]):(i+=" "+e.split(" ")[1].split(":")[0]+":",i+=n),i},changeHour(t){if(this.$parent.fConfigs.isDateRange)this.checkStartDate()?this.$parent.calendar.dateRange.start=this.addMinuteHour("hour",this.$parent.calendar.dateRange.start,t):this.$parent.calendar.dateRange.end=this.addMinuteHour("hour",this.$parent.calendar.dateRange.end,t);else if(this.$parent.fConfigs.isMultipleDatePicker){this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).hour=t}else this.$parent.calendar.selectedHour=t;this.setSelectedDateTime(),this.setScrollPosition()},changeMinute(t){if(this.$parent.fConfigs.isDateRange)this.checkStartDate()?this.$parent.calendar.dateRange.start=this.addMinuteHour("minute",this.$parent.calendar.dateRange.start,t):this.$parent.calendar.dateRange.end=this.addMinuteHour("minute",this.$parent.calendar.dateRange.end,t);else if(this.$parent.fConfigs.isMultipleDatePicker){this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).minute=t}else this.$parent.calendar.selectedMinute=t;this.setSelectedDateTime(),this.setScrollPosition()},setSelectedDateTime(){if(this.$parent.fConfigs.isDatePicker)this.$parent.calendar.selectedDateTime=this.$parent.calendar.selectedDate+" "+this.$parent.calendar.selectedHour+":"+this.$parent.calendar.selectedMinute;else if(this.$parent.fConfigs.isMultipleDatePicker){let t=this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate);t.dateTime=t.date+" "+t.hour+":"+t.minute}},checkStartDate(){return this.startDateActive},checkHourActiveClass(t){let e;return e=this.$parent.fConfigs.isDateRange?this.checkStartDate()?this.$parent.calendar.dateRange.start.split(" ")[1].split(":")[0]:this.$parent.calendar.dateRange.end.split(" ")[1].split(":")[0]:this.$parent.fConfigs.isMultipleDatePicker?this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).hour:this.$parent.calendar.selectedHour,e==this.formatTime(t)},checkMinuteActiveClass(t){let e;return e=this.$parent.fConfigs.isDateRange?this.checkStartDate()?this.$parent.calendar.dateRange.start.split(":")[1]:this.$parent.calendar.dateRange.end.split(":")[1]:this.$parent.fConfigs.isMultipleDatePicker?this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).minute:this.$parent.calendar.selectedMinute,e==this.formatTime(t)},setStyles(){this.setScrollPosition();let t=+this.height-35-85;document.getElementsByClassName("vfc-time-picker__list")[0].style.height=t+"px",document.getElementsByClassName("vfc-time-picker__list")[1].style.height=t+"px"},setScrollPosition(){let t=this.$parent.$refs.mainContainer;this.$nextTick((function(){const e=this.$refs.hourList.querySelector(".vfc-time-picker__item--selected"),n=this.$refs.minuteList.querySelector(".vfc-time-picker__item--selected");this.$refs.hourList.scrollTop=e?e.offsetTop-t.clientHeight/2:0,this.$refs.minuteList.scrollTop=n?n.offsetTop-t.clientHeight/2:0}))}}},s=(n("bZU1"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vfc-time-picker-container"},[n("div",{staticClass:"vfc-close",on:{click:function(e){return t.close()}}}),t._v(" "),n("div",{staticClass:"vfc-modal-time-mechanic"},[n("div",{staticClass:"vfc-modal-time-line",attrs:{id:"time-line"}},[n("span",[t.$parent.fConfigs.isDateRange?[n("span",{class:{"vfc-active":t.startDateActive},on:{click:function(e){t.startDateActive=!0}}},[t._v(t._s(t.$parent.calendar.dateRange.start))]),t._v(" "),t.$parent.calendar.dateRange.end?[n("span",[t._v("-")]),t._v(" "),n("span",{class:{"vfc-active":!t.startDateActive},on:{click:function(e){t.startDateActive=!1}}},[t._v(t._s(t.$parent.calendar.dateRange.end))])]:t._e()]:t.$parent.fConfigs.isMultipleDatePicker?[t._v(t._s(t.getCurrentDateTime))]:[t._v(t._s(t.$parent.calendar.selectedDateTime))]],2)]),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"vfc-time-picker"},[n("div",{ref:"hourList",staticClass:"vfc-time-picker__list vfc-time-picker__list--hours"},t._l(24,(function(e){return n("div",{key:e,staticClass:"vfc-time-picker__item",class:{"vfc-time-picker__item--selected":t.checkHourActiveClass(e)},on:{click:function(n){t.changeHour(t.formatTime(e))}}},[t._v("\n "+t._s(t.formatTime(e))+"\n ")])})),0),t._v(" "),n("div",{ref:"minuteList",staticClass:"vfc-time-picker__list vfc-time-picker__list--minutes"},t._l(60,(function(e){return n("div",{key:e,staticClass:"vfc-time-picker__item",class:{"vfc-time-picker__item--selected":t.checkMinuteActiveClass(e)},on:{click:function(n){t.changeMinute(t.formatTime(e))}}},[t._v("\n "+t._s(t.formatTime(e))+"\n ")])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"titles"},[e("div",[this._v("Hour")]),this._v(" "),e("div",[this._v("Minute")])])}],!1,null,"56eeb0da",null).exports,u={name:"Arrows",props:{fConfigs:{type:Object,required:!0},allowPreDate:{type:Boolean,required:!0},allowNextDate:{type:Boolean,required:!0},calendarKey:{type:Number,default:0},isMultiple:{type:Boolean,required:!0}},computed:{oneArrows(){return!this.fConfigs.isSeparately&&!this.isMultiple},manyArrows(){return this.fConfigs.isSeparately&&this.isMultiple}}},c=Object(s.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.oneArrows||t.manyArrows?n("div",{staticClass:"vfc-separately-navigation-buttons",class:"vfc-"+t.fConfigs.arrowsPosition},[n("div",{class:{"vfc-cursor-pointer":t.allowPreDate},on:{click:function(e){return t.$parent.PreMonth(t.oneArrows?0:t.calendarKey)}}},[t._t("navigationArrowLeft",[n("div",{staticClass:"vfc-arrow-left",class:{"vfc-disabled":!t.allowPreDate}})])],2),t._v(" "),n("div",{class:{"vfc-cursor-pointer":t.allowNextDate},on:{click:function(e){return t.$parent.NextMonth(t.oneArrows?0:t.calendarKey)}}},[t._t("navigationArrowRight",[n("div",{staticClass:"vfc-arrow-right",class:{"vfc-disabled":!t.allowNextDate}})])],2)]):t._e()])}),[],!1,null,null,null).exports,h={name:"WeekNumbers",props:{number:{tyoe:Number,required:!0},borderColor:{type:String,default:""}}},d=Object(s.a)(h,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vfc-day vfc-week-number",style:{borderRightColor:this.borderColor}},[e("span",{staticClass:"vfc-span-day"},[this._v(this._s(this.number))])])}),[],!1,null,"ef78b1e2",null).exports,p={name:"Day",props:{day_key:{type:Number,required:!0},week:{type:Object,required:!0},day:{type:Object,required:!0},helpCalendar:{type:Object,required:!0},fConfigs:{type:Object,required:!0},calendar:{type:Object,required:!0}},data:()=>({toolTip:!1,onNumber:!1}),computed:{startActive(){if(!this.fConfigs.isMultipleDateRange)return(this.day.isDateRangeStart||this.day.isMouseToLeft)&&!this.day.hideLeftAndRightDays;"".inRange||this.inRangeInit();const t=this.day.date.inRange(this.calendar.multipleDateRange),e=this.calendar.multipleDateRange[this.calendar.multipleDateRange.length-1];if(!e)return t;const n=~this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date),i=~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date);return n===i&&i?t:n&&~n>-1&&this.calendar.multipleDateRange[~n].end?n||t:e.start||e.end?(this.day.isDateRangeStart||this.day.isMouseToLeft)&&!this.day.hideLeftAndRightDays||t:n||t},endActive(){if(!this.fConfigs.isMultipleDateRange)return(this.day.isDateRangeEnd||this.day.isMouseToRight)&&!this.day.hideLeftAndRightDays;"".inRange||this.inRangeInit();const t=this.day.date.inRange(this.calendar.multipleDateRange),e=this.calendar.multipleDateRange[this.calendar.multipleDateRange.length-1];if(!e)return t;const n=~this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date),i=~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date);return n===i&&i?t:!!i||(e.start||e.end?(this.day.isDateRangeEnd||this.day.isMouseToRight)&&!this.day.hideLeftAndRightDays||t:e.start!==e.end&&i)},numberShow(){if(!this.fConfigs.isMultipleDateRange)return!1;return!(!~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date)&&!~this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date))},timesShow(){let t=this.calendar.multipleDateRange?~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date):-1;return this.fConfigs.isMultipleDateRange&&t},getDaysNumber(){const t=this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date),e=this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date),n=this.calendar.multipleDateRange.map(t=>t.end).lastIndexOf(this.day.date),i=this.calendar.multipleDateRange.map(t=>t.start).lastIndexOf(this.day.date);return this.toolTip=t!==n||e!==i||t>-1&&e>-1||e>-1&&t>-1,this.toolTip?"·":(t>-1?Number(t):0)||e}},methods:{toolTipTxt(){const t=[],e=this.calendar.multipleDateRange.map(t=>t.end),n=this.calendar.multipleDateRange.map(t=>t.start);let i=0,r=0,a=e.indexOf(this.day.date,i);for(;~e.indexOf(this.day.date,i);)a=e.indexOf(this.day.date,i),t.push(a),i=a+1;for(a=n.indexOf(this.day.date,r);~n.indexOf(this.day.date,r);)a=n.indexOf(this.day.date,r),t.push(a),r=a+1;return t.sort((t,e)=>t-e)},inRangeInit(){const t=this.helpCalendar;String.prototype.inRange=function(e){let n=!1;return e.forEach(e=>{const i=+t.getDateFromFormat(e.start.split(" ")[0]),r=+t.getDateFromFormat(e.end.split(" ")[0]),a=+t.getDateFromFormat(this.split(" ")[0]);i!==r&&i&&r&&(n=n||it.end===this.day.date);this.calendar.multipleDateRange.splice(t,1)},dayMouseOver(){this.$emit("dayMouseOver",this.day.date)},hasSlot(t="default"){return!!this.$parent.$parent.$slots[t]||!!this.$parent.$parent.$scopedSlots[t]},isDisabledDate(t){const e=this.fConfigs.disabledDates;return!this.isEnabledDate(t)||this.isDateIncludedInDatesCollection(t,e)},isEnabledDate(t){const e=this.fConfigs.enabledDates;return 0===e.length||this.isDateIncludedInDatesCollection(t,e)},isDateIncludedInDatesCollection(t,e){let n=new Date;n.setHours(0,0,0,0);let i=this.helpCalendar.getDateFromFormat(t);return e.includes(t)||e.includes("beforeToday")&&i.getTime()n.getTime()},getClassNames(t){let e=[];this.hasSlot("default")||e.push("vfc-span-day");let n=this.helpCalendar.getDateFromFormat(t.date).getDay()-1;-1===n&&(n=6);let i=this.fConfigs.dayNames[n];this.fConfigs.disabledDayNames.includes(i)&&(t.hide=!0,e.push("vfc-cursor-not-allowed"));let r=this.helpCalendar.getDateFromFormat(t.date);if((new Date).setHours(0,0,0,0),this.isDisabledDate(t.date)&&(e.push("vfc-disabled"),e.push("vfc-cursor-not-allowed")),this.fConfigs.limits){let t=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.min).getTime(),n=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.max).getTime();(r.getTime()n)&&(e.push("vfc-disabled"),e.push("vfc-cursor-not-allowed"))}if(t.hide&&e.push("vfc-hide"),t.isToday&&e.push("vfc-today"),t.hideLeftAndRightDays||this.fConfigs.disabledDayNames.includes(i)||(t.isMarked?e.push("vfc-marked"):t.isHovered&&e.push("vfc-hovered"),this.fConfigs.markedDates.includes(t.date)&&e.push("vfc-borderd"),Array.isArray(this.fConfigs.markedDateRange)?this.fConfigs.markedDateRange.forEach(n=>{this.helpCalendar.getDateFromFormat(n.start)<=this.helpCalendar.getDateFromFormat(t.date)&&this.helpCalendar.getDateFromFormat(n.end)>=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked"),t.date===n.start?e.push("vfc-start-marked"):t.date===n.end&&e.push("vfc-end-marked")}):this.fConfigs.markedDateRange.start&&this.fConfigs.markedDateRange.end?(this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.start)<=this.helpCalendar.getDateFromFormat(t.date)&&this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.end)>=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked"),t.date===this.fConfigs.markedDateRange.start?e.push("vfc-start-marked"):t.date===this.fConfigs.markedDateRange.end&&e.push("vfc-end-marked")):(this.fConfigs.markedDateRange.start&&this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.start)<=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked"),this.fConfigs.markedDateRange.end&&this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.end)>=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked")),e.push("vfc-hover")),this.fConfigs.isMultipleDateRange&&("".inRange||this.inRangeInit(),(t.isMarked||~this.calendar.multipleDateRange.map(t=>t.start.split(" ")[0]).indexOf(t.date)||~this.calendar.multipleDateRange.map(t=>t.end.split(" ")[0]).indexOf(t.date)||t.date.inRange(this.calendar.multipleDateRange))&&e.push("vfc-marked"),this.fConfigs.markedDates.includes(t.date)&&e.push("vfc-borderd"),~this.calendar.multipleDateRange.map(t=>t.start.split(" ")[0]).indexOf(t.date)&&e.push("vfc-start-marked"),~this.calendar.multipleDateRange.map(t=>t.end.split(" ")[0]).indexOf(t.date)&&e.push("vfc-end-marked")),"object"==typeof this.fConfigs.markedDates){let n=this.fConfigs.markedDates.find(e=>e.date===t.date);void 0!==n&&e.push(n.class)}return t.date===this.calendar.dateRange.start.split(" ")[0]&&e.push("vfc-start-marked"),t.date===this.calendar.dateRange.end.split(" ")[0]&&e.push("vfc-end-marked"),(t.date===this.calendar.selectedDate||this.calendar.hasOwnProperty("selectedDates")&&this.calendar.selectedDates.find(e=>e.date===t.date))&&e.push("vfc-borderd"),e}}},f=(n("zH9V"),Object(s.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vfc-day"},[t.startActive?n("div",{staticClass:"vfc-base-start"}):t._e(),t._v(" "),t.endActive?n("div",{staticClass:"vfc-base-end"}):t._e(),t._v(" "),t.day.hideLeftAndRightDays?t._e():n("span",{class:t.getClassNames(t.day),on:{click:function(e){return e.target!==e.currentTarget?null:t.$parent.$parent.clickDay(t.day,t.isDisabledDate)},mouseover:t.dayMouseOver}},[t._t("default",[t._v(t._s(t.day.day))],{week:t.week,day:t.day}),t._v(" "),t.timesShow?n("span",{staticClass:"times",on:{click:t.clearRange}},[t._v("×")]):t._e(),t._v(" "),t.numberShow?n("span",{staticClass:"number",on:{mouseover:function(e){t.toolTip&&(t.onNumber=!0)},mouseleave:function(e){t.onNumber=!1}}},[t._v(t._s(t.getDaysNumber)+"\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.toolTip&&t.onNumber,expression:"toolTip && onNumber"}],staticClass:"toolTip"},[t._v("\n "+t._s(t.toolTipTxt().join(" "))+"\n ")])]):t._e()],2)])}),[],!1,null,"03906378",null).exports),m={name:"MonthYearPicker",props:{calendarKey:{type:Number,default:0},changeYearStep:{type:Number,default:3}},data:()=>({delta:0}),watch:{delta(t){t<-(new Date).getFullYear()&&(this.delta=0)}},methods:{changePicker(t){this.$parent.showMonthPicker?"right"===t?this.$parent.NextYear(this.calendarKey):this.$parent.PreYear(this.calendarKey):"right"===t?this.delta+=this.changeYearStep:this.delta-=this.changeYearStep}}},g=Object(s.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vfc-months-container"},[n("div",{staticClass:"vfc-content vfc-content-MY-picker"},[n("div",{staticClass:"vfc-navigation-buttons"},[n("div",{on:{click:function(e){return t.changePicker("left")}}},[n("div",{staticClass:"vfc-arrow-left"})]),t._v(" "),n("h2",{class:["vfc-top-date",0!==t.delta&&"vfc-top-date-has-delta"],on:{click:function(e){t.delta=0}}},[n("span",{staticClass:"vfc-popover-caret"}),t._v("\n "+t._s(t.$parent.listCalendars[t.calendarKey].date.getFullYear())+"\n ")]),t._v(" "),n("div",{on:{click:function(e){return t.changePicker("right")}}},[n("div",{staticClass:"vfc-arrow-right"})])]),t._v(" "),n("div",{staticClass:"vfc-months"},[t.$parent.showMonthPicker?t._l(t.$parent.fConfigs.shortMonthNames,(function(e,i){return n("div",{key:i,staticClass:"vfc-item",class:{"vfc-selected":t.$parent.listCalendars[t.calendarKey].date.getMonth()===i},on:{click:function(e){return t.$parent.pickMonth(i,t.calendarKey)}}},[t._v("\n "+t._s(e)+"\n ")])})):t.$parent.showYearPicker?t._l(t.$parent.getYearList(t.$parent.listCalendars[t.calendarKey].date,t.delta),(function(e,i){return n("div",{key:i,staticClass:"vfc-item",class:{"vfc-selected":t.$parent.listCalendars[t.calendarKey].date.getFullYear()===e.year},on:{click:function(n){return t.$parent.pickYear(e.year,t.calendarKey)}}},[t._v("\n "+t._s(e.year)+"\n ")])})):t._e()],2)])])}),[],!1,null,"a6938d62",null).exports,v={name:"PickerInputs",props:{fConfigs:{type:Object,required:!0},singleSelectedDate:{type:String,required:!0},calendar:{type:Object,required:!0}},computed:{dateRangeSelectedStartDate:{get(){return this.calendar.dateRange.start?this.calendar.dateRange.start:""},set(t){t=this.helpCalendar.mask(t),this.helpCalendar.getDateFromFormat(t).getMonth()&&(this.calendar.dateRange.start=t)}},dateRangeSelectedEndDate:{get(){return this.calendar.dateRange.end?this.calendar.dateRange.end:""},set(t){t=this.helpCalendar.mask(t),this.helpCalendar.getDateFromFormat(t).getMonth()&&(this.calendar.dateRange.end=t)}}}},y=Object(s.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.fConfigs.isModal&&t.fConfigs.isDateRange?n("div",{staticClass:"vfc-multiple-input",class:{"vfc-dark":t.fConfigs.isDark}},[t._t("dateRangeInputs",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.dateRangeSelectedStartDate,expression:"dateRangeSelectedStartDate"}],attrs:{type:"text",title:"Start Date",placeholder:t.fConfigs.placeholder.split(" ")[0],readonly:!t.fConfigs.isTypeable,maxlength:t.fConfigs.dateFormat.length},domProps:{value:t.dateRangeSelectedStartDate},on:{input:function(e){e.target.composing||(t.dateRangeSelectedStartDate=e.target.value)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.dateRangeSelectedEndDate,expression:"dateRangeSelectedEndDate"}],attrs:{type:"text",title:"End Date",placeholder:t.fConfigs.placeholder.split(" ")[0],readonly:!t.fConfigs.isTypeable,maxlength:t.fConfigs.dateFormat.length},domProps:{value:t.dateRangeSelectedEndDate},on:{input:function(e){e.target.composing||(t.dateRangeSelectedEndDate=e.target.value)}}})],{startDate:t.dateRangeSelectedStartDate,endDate:t.dateRangeSelectedEndDate,isTypeable:t.fConfigs.isTypeable})],2):t.fConfigs.isModal&&t.fConfigs.isDatePicker?n("div",{class:{"vfc-dark":t.fConfigs.isDark}},[t._t("datePickerInput",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.singleSelectedDate,expression:"singleSelectedDate"}],staticClass:"vfc-single-input",attrs:{type:"text",title:"Date",placeholder:t.fConfigs.placeholder,readonly:!t.fConfigs.isTypeable,maxlength:t.fConfigs.dateFormat.length},domProps:{value:t.singleSelectedDate},on:{input:function(e){e.target.composing||(t.singleSelectedDate=e.target.value)}}})],{selectedDate:t.singleSelectedDate,isTypeable:t.fConfigs.isTypeable})],2):t.fConfigs.isModal&&t.fConfigs.isMultipleDatePicker?n("div",{staticClass:"vfc-tags-input-root",class:{"vfc-dark":t.fConfigs.isDark}},[n("div",{staticClass:"vfc-tags-input-wrapper-default vfc-tags-input"},[t._l(t.calendar.selectedDates,(function(e,i){return n("span",{key:i,staticClass:"vfc-tags-input-badge vfc-tags-input-badge-pill vfc-tags-input-badge-selected-default"},[n("span",{domProps:{innerHTML:t._s(e.date)}}),t._v(" "),n("a",{staticClass:"vfc-tags-input-remove",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeFromSelectedDates(i)}}})])})),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.calendar.selectedDatesItem,expression:"calendar.selectedDatesItem"}],attrs:{type:"text",placeholder:"Add a date"},domProps:{value:t.calendar.selectedDatesItem},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$parent.addToSelectedDates(e))},input:function(e){e.target.composing||t.$set(t.calendar,"selectedDatesItem",e.target.value)}}})],2)]):t._e()])}),[],!1,null,"539d1725",null).exports,_={name:"Footer"},b=(n("cVq0"),Object(s.a)(_,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"footerCon"},[this._t("cleaner"),this._v(" "),this._t("footer")],2)}),[],!1,null,"f57c853e",null).exports);const w=()=>(new Date).getUTCMilliseconds();var x={name:"FunctionalCalendar",components:{MonthYearPicker:g,TimePicker:l,PickerInputs:y,Arrows:c,Footer:b,Day:f,WeekNumbers:d},mixins:[a],computed:{startDMY(){return this.calendar.dateRange.start?this.calendar.dateRange.start.split(" ")[0]:""},endDMY(){return this.calendar.dateRange.end?this.calendar.dateRange.end.split(" ")[0]:""},rangeIsSelected(){return this.isMultipleDateRange?this.calendar.multipleDateRange.length>0:!(!this.calendar.dateRange.end||!this.calendar.dateRange.start)},helpCalendar(){return new i(this.fConfigs.sundayStart,this.checkHiddenElement("leftAndRightDays"),this.fConfigs.dateFormat,this.fConfigs.dayNames)},singleSelectedDate:{get(){let t="";if(this.displayTimeInput){const e=["HH:MM","HH:mm","hh:MM","hh:mm","MM:HH","mm:HH","MM:hh","mm:hh"];let n=this.fConfigs.dateFormat;this.dateFormat&&(n=this.dateFormat),e.indexOf(n.split(" ")[1])>3?t+=" "+[this.calendar.selectedHour,this.calendar.selectedMinute].reverse().join(":"):t+=" "+[this.calendar.selectedHour,this.calendar.selectedMinute].join(":")}return this.calendar.selectedDate?this.calendar.selectedDate+t:""},set(t){t=this.helpCalendar.mask(t),this.helpCalendar.getDateFromFormat(t).getMonth()&&(this.calendar.selectedDate=t)}}},created(){this.setConfigs(),this.initCalendar()},mounted(){if(this.displayTimeInput){this.fConfigs.placeholder.split(" ")[1]||(this.fConfigs.placeholder+=" hh:mm")}this.popoverElement=this.$refs.popoverElement,this.popoverElement.addEventListener("focusin",this.onFocusIn),this.popoverElement.addEventListener("focusout",this.onFocusOut),window.addEventListener("click",this.hideMonthYearPicker,{capture:!0}),this.$watch("value",(function(t){if("object"==typeof t&&(t.hasOwnProperty("dateRange")||t.hasOwnProperty("selectedDate")))this.calendar=t;else if("object"==typeof t&&t.hasOwnProperty("multipleDateRange")){this.calendar.multipleDateRange=t.multipleDateRange;const e=this.calendar.multipleDateRange[Math.max(0,this.calendar.multipleDateRange.length-1)];if(e&&(e.start&&!e.end||!e.start&&e.end))throw new Error("Invalid Data Range")}}),{immediate:!0,deep:!0}),this.$watch("showCalendar",(function(t){t?this.$emit("opened"):this.$emit("closed")}),{immediate:!0,deep:!0})},beforeDestroy:function(){window.removeEventListener("focusin",this.onFocusIn),window.removeEventListener("focusout",this.onFocusOut),window.removeEventListener("click",this.hideMonthYearPicker)},watch:{enabledDates:{handler(){this.fConfigs.enabledDates=this.enabledDates},deep:!0},"configs.enabledDates":{handler(){this.fConfigs.enabledDates=this.configs.enabledDates},deep:!0},fConfigs:{handler(){this.markChooseDays()},deep:!0,immediate:!0},calendar:{handler(){this.markChooseDays()},deep:!0,immediate:!0},"calendar.currentDate":{handler(t){this.$emit("input",this.calendar),this.checkLimits(t)}}},methods:{initCalendar(){this.setCalendarData(),this.listRendering(),this.markChooseDays(),this.checkLimits(this.calendar.currentDate)},updateCalendar(){this.setExistingCalendarData(),this.listRendering(),this.markChooseDays()},isNotSeparatelyAndFirst(t){return this.isSeparately||0==t},setCalendarData(){let t=this.calendar.currentDate;t=new Date(t.getFullYear(),t.getMonth()-1),this.listCalendars=[];for(let e=0;e{void 0!==this.fConfigs[e]&&this.$set(this.fConfigs,e,t[e])})),void 0!==this.configs?Object.keys(this.fConfigs).forEach(t=>{void 0!==this.configs[t]&&this.$set(this.fConfigs,t,this.configs[t])}):Object.keys(this.$props).forEach(t=>{void 0!==this.fConfigs[t]&&void 0!==this.$props[t]&&this.$set(this.fConfigs,t,this.$props[t])}),this.fConfigs.isModal&&(this.showCalendar=!1),this.fConfigs.placeholder||(this.fConfigs.placeholder=this.fConfigs.dateFormat),void 0!==this.newCurrentDate&&(this.calendar.currentDate=this.newCurrentDate),this.fConfigs.sundayStart){let t=[...this.fConfigs.dayNames],e=t[t.length-1];t.splice(t.length-1,1),t.unshift(e),this.fConfigs.dayNames=t}},listRendering(){this.listCalendars.forEach(t=>{t.weeks.forEach(t=>{let e=[];t.days.forEach(t=>{let n,i=new Date(t.year,t.month,t.day),r=new Date,a=!1;i.setHours(0,0,0,0),r.setHours(0,0,0,0),i.getTime()===r.getTime()&&(a=!0),n="object"==typeof this.fConfigs.markedDates[0]?this.fConfigs.markedDates.find(t=>t.date===this.helpCalendar.formatDate(i)):this.fConfigs.markedDates.find(t=>t===this.helpCalendar.formatDate(i)),this.startDMY===this.helpCalendar.formatDate(i)&&(n=!0);let o=!1;void 0!==n&&(o=!0),e.push({day:t.day,date:this.helpCalendar.formatDate(i),hide:t.hide,isMouseToLeft:!1,isMouseToRight:!1,isHovered:!1,isDateRangeStart:this.checkDateRangeStart(this.helpCalendar.formatDate(i)),isDateRangeEnd:this.checkDateRangeEnd(this.helpCalendar.formatDate(i)),hideLeftAndRightDays:t.hideLeftAndRightDays,isToday:a,isMarked:o})}),t.days=e})})},clickDay(t,e){if(this.fConfigs.withTimePicker&&this.fConfigs.isDateRange&&(t.date=t.date+" 00:00"),this.$emit("dayClicked",t),!this.fConfigs.isDateRange&&!this.fConfigs.isDatePicker&&!this.fConfigs.isMultipleDatePicker)return!1;let n=this.helpCalendar.getDateFromFormat(t.date).getDay()-1;-1===n&&(n=6);let i=this.fConfigs.dayNames[n];if(this.fConfigs.disabledDayNames.includes(i)||e(t.date))return!1;if(this.fConfigs.limits){let e=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.min).getTime(),n=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.max).getTime(),i=this.helpCalendar.getDateFromFormat(t.date).getTime();if(in)return!1}if(this.fConfigs.isMultipleDateRange){let e=this.helpCalendar.getDateFromFormat(t.date.split(" ")[0]).getTime(),n=this.calendar.multipleDateRange.length,i=this.calendar.multipleDateRange[n-1],r="";if(i||(this.calendar.multipleDateRange.push({end:"",start:""}),n=this.calendar.multipleDateRange.length,i=this.calendar.multipleDateRange[n-1]),i.start&&(r=this.helpCalendar.getDateFromFormat(i.start)),""!==i.start&&""!==i.end?this.calendar.multipleDateRange.push({end:"",start:t.date}):""===i.start&&""===i.end?i.start=t.date:""===i.end&&e>r.getTime()?i.end=t.date:""!==i.start&&e<=r.getTime()&&(this.$nextTick(()=>{this.calendar.withTimePicker&&(this.$refs.timePicker.startDateActive=!0)}),i.end=i.start,i.start=t.date),""!==i.start&&""!==i.end){let e=864e5,n=this.helpCalendar.getDateFromFormat(i.start),a=this.helpCalendar.getDateFromFormat(i.end),o=Math.round(Math.abs((n.getTime()-a.getTime())/e)),s=this.helpCalendar.getDateFromFormat(t.date).getTime();this.$emit("selectedDaysCount",o),this.fConfigs.isModal&&this.fConfigs.isAutoCloseable&&(this.showCalendar=!1);let l=this.fConfigs.minSelDays;l&&s>=r.getTime()&&o=r.getTime()&&o>=u&&(r.setDate(r.getDate()+(u-1)),i.end=this.helpCalendar.formatDate(r)),u&&s=u&&(r.setDate(r.getDate()-(u-1)),i.start=this.helpCalendar.formatDate(r))}this.$emit("input",this.calendar)}else if(this.fConfigs.isDateRange){let e=this.helpCalendar.getDateFromFormat(t.date.split(" ")[0]).getTime(),n="";if(this.calendar.dateRange.start&&(n=this.helpCalendar.getDateFromFormat(this.calendar.dateRange.start)),""!==this.calendar.dateRange.start&&""!==this.calendar.dateRange.end?(this.calendar.dateRange.start=t.date,this.calendar.dateRange.end=""):""===this.calendar.dateRange.start&&""===this.calendar.dateRange.end?this.calendar.dateRange.start=t.date:""===this.calendar.dateRange.end&&e>n.getTime()?this.calendar.dateRange.end=t.date:""!==this.calendar.dateRange.start&&e<=n.getTime()&&(this.$nextTick(()=>{this.calendar.dateRange&&this.calendar.withTimePicker&&(this.$refs.timePicker.startDateActive=!0)}),this.calendar.dateRange.end=this.calendar.dateRange.start,this.calendar.dateRange.start=t.date),""!==this.calendar.dateRange.start&&""!==this.calendar.dateRange.end){let e=864e5,i=this.helpCalendar.getDateFromFormat(this.calendar.dateRange.start),r=this.helpCalendar.getDateFromFormat(this.calendar.dateRange.end),a=Math.round(Math.abs((i.getTime()-r.getTime())/e)),o=this.helpCalendar.getDateFromFormat(t.date).getTime();this.$emit("selectedDaysCount",a),this.fConfigs.isModal&&this.fConfigs.isAutoCloseable&&(this.showCalendar=!1);let s=this.fConfigs.minSelDays;s&&o>=n.getTime()&&a=n.getTime()&&a>=l&&(n.setDate(n.getDate()+(l-1)),this.calendar.dateRange.end=this.helpCalendar.formatDate(n)),l&&o=l&&(n.setDate(n.getDate()-(l-1)),this.calendar.dateRange.start=this.helpCalendar.formatDate(n))}this.$emit("input",this.calendar)}else if(this.fConfigs.isDatePicker)this.calendar.selectedDate=t.date,this.$emit("input",this.calendar),this.fConfigs.isModal&&this.fConfigs.isAutoCloseable&&(this.showCalendar=!1);else if(this.fConfigs.isMultipleDatePicker){if(this.calendar.hasOwnProperty("selectedDates")&&this.calendar.selectedDates.find(e=>e.date===t.date)){let e=this.calendar.selectedDates.findIndex(e=>e.date===t.date);this.calendar.selectedDates.splice(e,1)}else{let e=Object.assign({},this.defaultDateFormat);e.date=t.date,this.calendar.hasOwnProperty("selectedDates")||(this.calendar.selectedDates=[]),this.calendar.selectedDates.push(e)}this.$emit("input",this.calendar)}this.markChooseDays(),this.fConfigs.withTimePicker&&((this.fConfigs.isDateRange||this.fConfigs.isDatePicker)&&this.openTimePicker(),this.calendar.selectedDates.find(e=>e.date===t.date)&&this.fConfigs.isMultipleDatePicker&&this.openTimePicker()),this.$emit("choseDay",t)},markChooseDays(){let t=this.startDMY,e=this.endDMY;this.listCalendars.forEach(n=>{n.weeks.forEach(n=>{n.days.forEach(n=>{n.isMarked=!1,n.date=n.date.split(" ")[0],this.fConfigs.isDatePicker?this.calendar.selectedDate===n.date&&(n.isMarked=!0):this.fConfigs.isMultipleDatePicker?this.calendar.hasOwnProperty("selectedDates")&&this.calendar.selectedDates.find(t=>t.date===n.date)&&(n.isMarked=!0):(n.isMouseToLeft=!1,n.isMouseToRight=!1,t===n.date&&(n.isMouseToLeft=!!e,n.isMarked=!0),e===n.date&&(n.isMouseToRight=!!e,n.isMarked=!0),this.calendar.multipleDateRange&&(~this.calendar.multipleDateRange.map(t=>t.start.split(" ")[0]).indexOf(n.date)&&(n.isMouseToLeft=!!e,n.isMarked=!0),~this.calendar.multipleDateRange.map(t=>t.end.split(" ")[0]).indexOf(n.date)&&(n.isMouseToRight=!!e,n.isMarked=!0),this.calendar.multipleDateRange.forEach(t=>{t.start&&t.start===t.end&&(n.isMouseToLeft=!1,n.isMouseToRight=!1),t.start&&t.end&&this.helpCalendar.getDateFromFormat(n.date).getTime()>this.helpCalendar.getDateFromFormat(t.start)&&this.helpCalendar.getDateFromFormat(n.date)this.helpCalendar.getDateFromFormat(t)&&this.helpCalendar.getDateFromFormat(n.date)n)return!1}if(!(""!==this.calendar.dateRange.start&&""!==this.calendar.dateRange.end||""===this.calendar.dateRange.start&&""===this.calendar.dateRange.end))for(let e=0;es.getTime()||r===o&&os.getTime();let l=this.helpCalendar.getDateFromFormat(a.date).getDay()-1;-1===l&&(l=6);let u=this.fConfigs.dayNames[l];if(!this.fConfigs.disabledDayNames.includes(u)&&(r>s.getTime()&&ro)&&(this.listCalendars[e].weeks[i].days[n].isMarked=!0),this.calendar.dateRange.end||r!==o||(this.listCalendars[e].weeks[i].days[n].isHovered=!1),this.checkSelDates("min",this.calendar.dateRange.start,a.date,t)){let t,r;this.listCalendars[e].weeks[i].days[n].isMarked=!0,r=new Date(s.getTime()),t=new Date(s.getTime()),r.setDate(r.getDate()-this.fConfigs.minSelDays+1),t.setDate(t.getDate()+this.fConfigs.minSelDays-1),o>=r.getTime()&&this.helpCalendar.formatDate(r)===a.date?(this.listCalendars[e].weeks[i].days[n].isMarked=!1,this.listCalendars[e].weeks[i].days[n].isMouseToLeft=!0,this.listCalendars[e].weeks[i].days[n].isHovered=!0):o<=t.getTime()&&this.helpCalendar.formatDate(t)===a.date&&(this.listCalendars[e].weeks[i].days[n].isMarked=!1,this.listCalendars[e].weeks[i].days[n].isMouseToRight=!0,this.listCalendars[e].weeks[i].days[n].isHovered=!0)}if(this.checkSelDates("max",this.calendar.dateRange.start,a.date,t)){let t,r;this.listCalendars[e].weeks[i].days[n].isMarked=!1,this.listCalendars[e].weeks[i].days[n].isHovered=!1,this.listCalendars[e].weeks[i].days[n].isMouseToLeft=!1,this.listCalendars[e].weeks[i].days[n].isMouseToRight=!1,t=new Date(s.getTime()),r=new Date(s.getTime()),t.setDate(t.getDate()-this.fConfigs.maxSelDays+1),r.setDate(r.getDate()+this.fConfigs.maxSelDays-1),o<=t.getTime()&&this.helpCalendar.formatDate(t)===a.date&&(this.listCalendars[e].weeks[i].days[n].isHovered=!0,this.listCalendars[e].weeks[i].days[n].isMouseToLeft=!0),o>=r.getTime()&&this.helpCalendar.formatDate(r)===a.date&&(this.listCalendars[e].weeks[i].days[n].isHovered=!0,this.listCalendars[e].weeks[i].days[n].isMouseToRight=!0)}}}}}if(this.calendar.multipleDateRange){let e=this.calendar.multipleDateRange[this.calendar.multipleDateRange.length-1];if(!e)return;if(!(""!==e.start&&""!==e.end||""===e.start&&""===e.end))for(let n=0;nl.getTime()||a===s&&sl.getTime();let u=this.helpCalendar.getDateFromFormat(o.date).getDay()-1;-1===u&&(u=6);let c=this.fConfigs.dayNames[u];if(!this.fConfigs.disabledDayNames.includes(c)&&(a>l.getTime()&&as)&&(this.listCalendars[n].weeks[r].days[i].isMarked=!0),e.end||a!==s||(this.listCalendars[n].weeks[r].days[i].isHovered=!1),this.checkSelDates("min",e.start,o.date,t)){let t,e;this.listCalendars[n].weeks[r].days[i].isMarked=!0,e=new Date(l.getTime()),t=new Date(l.getTime()),e.setDate(e.getDate()-this.fConfigs.minSelDays+1),t.setDate(t.getDate()+this.fConfigs.minSelDays-1),s>=e.getTime()&&this.helpCalendar.formatDate(e)===o.date?(this.listCalendars[n].weeks[r].days[i].isMarked=!1,this.listCalendars[n].weeks[r].days[i].isMouseToLeft=!0,this.listCalendars[n].weeks[r].days[i].isHovered=!0):s<=t.getTime()&&this.helpCalendar.formatDate(t)===o.date&&(this.listCalendars[n].weeks[r].days[i].isMarked=!1,this.listCalendars[n].weeks[r].days[i].isMouseToRight=!0,this.listCalendars[n].weeks[r].days[i].isHovered=!0)}if(this.checkSelDates("max",e.start,o.date,t)){let t,e;this.listCalendars[n].weeks[r].days[i].isMarked=!1,this.listCalendars[n].weeks[r].days[i].isHovered=!1,this.listCalendars[n].weeks[r].days[i].isMouseToLeft=!1,this.listCalendars[n].weeks[r].days[i].isMouseToRight=!1,t=new Date(l.getTime()),e=new Date(l.getTime()),t.setDate(t.getDate()-this.fConfigs.maxSelDays+1),e.setDate(e.getDate()+this.fConfigs.maxSelDays-1),s<=t.getTime()&&this.helpCalendar.formatDate(t)===o.date&&(this.listCalendars[n].weeks[r].days[i].isHovered=!0,this.listCalendars[n].weeks[r].days[i].isMouseToLeft=!0),s>=e.getTime()&&this.helpCalendar.formatDate(e)===o.date&&(this.listCalendars[n].weeks[r].days[i].isHovered=!0,this.listCalendars[n].weeks[r].days[i].isMouseToRight=!0)}}}}}}},PreMonth(t=null){if(!this.allowPreDate)return!1;this.transitionPrefix="right",t=null!==t?t:0;let e=this.listCalendars[t];e.date=new Date(e.date.getFullYear(),e.date.getMonth()-1),e.key-=w(),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=e.date,this.initCalendar()),this.$emit("changedMonth",e.date)},NextMonth(t=null){if(!this.allowNextDate)return!1;this.transitionPrefix="left",t=null!==t?t:0;let e=this.listCalendars[t];e.date=new Date(e.date.getFullYear(),e.date.getMonth()+1),e.key+=w(),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=e.date,this.initCalendar()),this.$emit("changedMonth",e.date)},PreYear(t=null){if(!this.allowPreDate)return!1;let e=this.showYearPicker?this.fConfigs.changeYearStep:1;t=null!==t?t:0;let n=this.listCalendars[t];n.date=new Date(n.date.getFullYear()-e,n.date.getMonth()),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=n.date,this.initCalendar()),this.$emit("changedYear",n.date)},NextYear(t=null){if(!this.allowNextDate)return!1;let e=this.showYearPicker?this.fConfigs.changeYearStep:1;t=null!==t?t:0;let n=this.listCalendars[t];n.date=new Date(n.date.getFullYear()+e,n.date.getMonth()),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=n.date,this.initCalendar()),this.$emit("changedYear",n.date)},ChooseDate(t){let e=this.helpCalendar.getDateFromFormat(t);"today"===t&&(e=new Date),this.listCalendars[0].date=this.calendar.currentDate=e,this.updateCalendar(),this.initCalendar()},openMonthPicker(t){this.fConfigs.changeMonthFunction&&(this.showMonthPicker=t!==this.showMonthPicker&&t,this.showYearPicker=!1)},openYearPicker(t){this.fConfigs.changeYearFunction&&(this.showYearPicker=t!==this.showYearPicker&&t,this.showMonthPicker=!1)},openTimePicker(){this.showTimePicker=!0},pickMonth(t,e){if(this.showMonthPicker=!1,this.isSeparately){let n=this.listCalendars[e],i=n.date;n.date=new Date(i.getFullYear(),t+1,0),n.key+=w()}else this.listCalendars.forEach((e,n)=>{let i=e.date;e.date=new Date(i.getFullYear(),t+1+n,0),e.key+=w()});let n=this.listCalendars[e];this.$emit("changedMonth",n.date),this.updateCalendar()},pickYear(t,e){if(this.showYearPicker=!1,this.isSeparately){let n=this.listCalendars[e],i=n.date;n.date=new Date(t,i.getMonth()+1,0),n.key+=w()}else this.listCalendars.forEach(e=>{let n=e.date;e.date=new Date(t,n.getMonth()+1,0),e.key+=w()});this.updateCalendar()},getYearList(t,e){let n=[],i=t.getFullYear()-4+e;for(let t=0;t<12;t++){let e=i+t;n.push({year:e})}return n},addToSelectedDates(){if(this.helpCalendar.checkValidDate(this.calendar.selectedDatesItem)){let t=Object.assign({},this.defaultDateFormat);t.date=this.calendar.selectedDatesItem,this.calendar.selectedDates.push(t),this.calendar.selectedDatesItem="",this.markChooseDays()}},removeFromSelectedDates(t){this.calendar.selectedDates.splice(t,1),this.markChooseDays()},checkDateRangeEnd(t){return Array.isArray(this.fConfigs.markedDateRange)?-1!==this.fConfigs.markedDateRange.findIndex(e=>e.end===t):t===this.fConfigs.markedDateRange.end},checkSelDates(t,e,n,i){let r,a=this.helpCalendar.getDateFromFormat(e).getTime(),o=this.helpCalendar.getDateFromFormat(n).getTime(),s=this.helpCalendar.getDateFromFormat(i).getTime(),l=1e3*("min"===t?this.fConfigs.minSelDays:this.fConfigs.maxSelDays-2)*60*60*24,u=a+l,c=a-l;return s>a?r="min"===t?oa&&this.fConfigs.minSelDays:o>u&&o>a&&this.fConfigs.maxSelDays:sc&&o=n&&(this.allowNextDate=!1)}},getTransition_(){if(!this.fConfigs.transition)return"";let t="";return"left"===this.transitionPrefix?t="vfc-calendar-slide-left":"right"===this.transitionPrefix&&(t="vfc-calendar-slide-right"),t},checkHiddenElement(t){return!this.fConfigs.hiddenElements.includes(t)},onFocusIn(){this.fConfigs.isModal&&(this.showCalendar=!0)},onFocusOut(t){if(this.fConfigs.isModal&&(e=this.popoverElement,n=t.relatedTarget,!e||!n||e!==n&&!e.contains(n)))return this.showCalendar=this.showMonthPicker=this.showYearPicker=!1;var e,n},hideMonthYearPicker(t){this.$nextTick(()=>{if(this.showMonthPicker||this.showYearPicker){let e=this.showMonthPicker?this.showMonthPicker-1:this.showYearPicker-1;if(this.$refs.calendars.querySelectorAll(".vfc-content-MY-picker")[e].contains(t.target))return;return this.showMonthPicker=this.showYearPicker=!1}})},checkDateRangeStart(t){return Array.isArray(this.fConfigs.markedDateRange)?-1!==this.fConfigs.markedDateRange.findIndex(e=>e.start===t):t===this.fConfigs.markedDateRange.start},cleanRange(){if(!this.isMultipleDateRange)return this.calendar.dateRange.end="",void(this.calendar.dateRange.start="");this.calendar.multipleDateRange=[]}}},k=(n("d+iy"),Object(s.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"popoverElement",staticClass:"vfc-popover-container",attrs:{tabindex:"0"}},[n("PickerInputs",{attrs:{fConfigs:t.fConfigs,singleSelectedDate:t.singleSelectedDate,calendar:t.calendar},scopedSlots:t._u([{key:"dateRangeInputs",fn:function(e){return[t._t("dateRangeInputs",null,{startDate:e.startDate,endDate:e.endDate,isTypeable:t.fConfigs.isTypeable})]}},{key:"datePickerInput",fn:function(e){return[t._t("datePickerInput",null,{selectedDate:e.selectedDate,isTypeable:t.fConfigs.isTypeable})]}}],null,!0)}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showCalendar,expression:"showCalendar"}],ref:"mainContainer",staticClass:"vfc-main-container",class:{"vfc-modal":t.fConfigs.isModal&&(t.fConfigs.isDatePicker||t.fConfigs.isDateRange||t.fConfigs.isMultipleDatePicker),"vfc-dark":t.fConfigs.isDark}},[t.showTimePicker?n("time-picker",{ref:"timePicker",attrs:{height:t.$refs.popoverElement.clientHeight}}):[n("div",{staticClass:"vfc-calendars-container"},[n("Arrows",{attrs:{isMultiple:!1,fConfigs:t.fConfigs,allowPreDate:t.allowPreDate,allowNextDate:t.allowNextDate},scopedSlots:t._u([{key:"navigationArrowLeft",fn:function(){return[t._t("navigationArrowLeft")]},proxy:!0},{key:"navigationArrowRight",fn:function(){return[t._t("navigationArrowRight")]},proxy:!0}],null,!0)}),t._v(" "),n("div",{ref:"calendars",staticClass:"vfc-calendars"},t._l(t.listCalendars,(function(e,i){return n("div",{key:e.key,staticClass:"vfc-calendar"},[n("month-year-picker",{directives:[{name:"show",rawName:"v-show",value:t.showMonthPicker===i+1||t.showYearPicker===i+1,expression:"\n showMonthPicker === key + 1 || showYearPicker === key + 1\n "}],ref:"monthContainer",refInFor:!0,class:"vfc-"+t.fConfigs.titlePosition,attrs:{changeYearStep:t.changeYearStep,"calendar-key":i}}),t._v(" "),n("div",{staticClass:"vfc-content"},[n("Arrows",{attrs:{isMultiple:!0,fConfigs:t.fConfigs,allowPreDate:t.allowPreDate,allowNextDate:t.allowNextDate,"calendar-key":i},scopedSlots:t._u([{key:"navigationArrowLeft",fn:function(){return[t._t("navigationArrowLeft")]},proxy:!0},{key:"navigationArrowRight",fn:function(){return[t._t("navigationArrowRight")]},proxy:!0}],null,!0)}),t._v(" "),n("transition",{attrs:{tag:"div",name:t.getTransition_(),appear:""}},[t.checkHiddenElement("month")?n("div",{staticClass:"vfc-top-date",class:"vfc-"+t.fConfigs.titlePosition},[n("span",{class:{"vfc-cursor-pointer vfc-underline":t.fConfigs.changeMonthFunction&&t.isNotSeparatelyAndFirst(i),"vfc-underline-active":t.showMonthPicker===i+1},on:{click:function(e){e.preventDefault(),t.isNotSeparatelyAndFirst(i)&&t.openMonthPicker(i+1)}}},[t._v("\n "+t._s(e.month))]),t._v(" "),n("span",{class:{"vfc-cursor-pointer vfc-underline":t.fConfigs.changeYearFunction&&t.isNotSeparatelyAndFirst(i),"vfc-underline-active":t.showYearPicker===i+1},on:{click:function(e){e.preventDefault(),t.isNotSeparatelyAndFirst(i)&&t.openYearPicker(i+1)}}},[t._v("\n "+t._s(e.year)+"\n ")])]):t._e()]),t._v(" "),n("transition",{attrs:{tag:"div",name:t.getTransition_(),appear:""}},[n("div",{staticClass:"vfc-dayNames"},[t.fConfigs.showWeekNumbers?n("span"):t._e(),t._v(" "),t._l(t.fConfigs.dayNames,(function(e,r){return n("span",{key:i+r+1,staticClass:"vfc-day"},[t.checkHiddenElement("dayNames")?[t._v("\n "+t._s(e)+"\n ")]:t._e()],2)}))],2)]),t._v(" "),n("transition-group",{attrs:{tag:"div",name:t.getTransition_(),appear:""}},[t._l(e.weeks,(function(e,r){return n("div",{key:i+r+1,staticClass:"vfc-week"},[t.showWeekNumbers?n("WeekNumbers",{attrs:{number:e.number,borderColor:t.borderColor}}):t._e(),t._v(" "),t._l(e.days,(function(a,o){return n("Day",{key:i+r+o+1,ref:"day",refInFor:!0,attrs:{isMultipleDateRange:t.isMultipleDateRange,day:a,fConfigs:t.fConfigs,calendar:t.calendar,helpCalendar:t.helpCalendar,week:e,day_key:o},on:{dayMouseOver:t.dayMouseOver},scopedSlots:t._u([{key:"default",fn:function(e){return[t._t("default",null,{week:e.week,day:e.day})]}}],null,!0)})}))],2)})),t._v(" "),e.weeks.length<6&&!t.fConfigs.isLayoutExpandable?t._l(6-e.weeks.length,(function(e){return n("div",{key:i+e+"moreWeek",staticStyle:{height:"32.6px"}},[t._v("\n  \n ")])})):t._e()],2)],1)],1)})),0),t._v(" "),t.canClearRange||t.$slots.footer?n("Footer",{scopedSlots:t._u([{key:"footer",fn:function(){return[n("div",{on:{click:t.cleanRange}},[t._t("cleaner",[t.canClearRange&&t.fConfigs.isDateRange?n("div",{staticClass:"rangeCleaner"},[n("span",{class:[t.rangeIsSelected?"active":"disabled"],on:{click:t.cleanRange}},[t._v("Clear Range"+t._s(t.isMultipleDateRange&&"s"))])]):t._e()])],2),t._v(" "),t._t("footer")]},proxy:!0}],null,!0)}):t._e()],1)]],2)],1)}),[],!1,null,null,null).exports)},R7ON:function(t){t.exports=JSON.parse('{"allowed-to-create":"Możesz stworzyć {teams} drużyne","what-kind-of-team":"Jaką drużyne chciałbyś stworzyć?","team-type":"Typ drużyny","team-name":"Nazwa drużyny","my-awesome-team-placeholder":"Moja Super drużyna","unique-team-id":"Unikalny identyfikator drużyny","id-to-join-team":"Każdy, kto ma ten identyfikator, będzie mógł dołączyć do Twojego drużyny.","create-team":"Stwórz drużyne","update-team":"Zaktualizuj zespół","created":"Gratulacje! Twoja drużyna została utworzona.","updated":"Zaktualizowano drużynę.","select-team":"Wybierz drużynę","fail":"Wystąpił błąd podczas tworzenia Twojego drużyny","max-created":"Nie możesz tworzyć więcej drużyn"}')},RBMv:function(t,e,n){var i=n("F90D");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},RL2N:function(t,e,n){var i=n("oDVm");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},RQXY:function(t,e,n){"use strict";var i=n("wd/R"),r=n.n(i),a={name:"GlobalLeaders",props:["leaders"],methods:{getCountryFlag:function(t){return t?"/assets/icons/flags/"+(t=t.toLowerCase())+".png":""},getPosition:function(t){return r.a.localeData().ordinal(t)}}},o=(n("3Fuk"),n("KHd+")),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"global-leaders"},t._l(t.leaders,(function(e,i){return n("div",{staticClass:"leader wow slideInLeft"},[e.rank?n("div",{staticClass:"medal"},[1===e.rank?n("img",{attrs:{src:"/assets/icons/gold-medal-2.png",alt:"Gold spot"}}):t._e(),t._v(" "),2===e.rank?n("img",{attrs:{src:"/assets/icons/silver-medal-2.png",alt:"Silver spot"}}):t._e(),t._v(" "),3===e.rank?n("img",{attrs:{src:"/assets/icons/bronze-medal-2.png",alt:"Bronze spot"}}):t._e()]):n("div",{staticClass:"medal"},[0===i?n("img",{attrs:{src:"/assets/icons/gold-medal-2.png",alt:"Gold spot"}}):t._e(),t._v(" "),1===i?n("img",{attrs:{src:"/assets/icons/silver-medal-2.png",alt:"Silver spot"}}):t._e(),t._v(" "),2===i?n("img",{attrs:{src:"/assets/icons/bronze-medal-2.png",alt:"Bronze spot"}}):t._e()]),t._v(" "),n("div",{staticClass:"rank"},[e.rank?n("span",[t._v(t._s(t.getPosition(e.rank)))]):n("span",[t._v(t._s(t.getPosition(i+1)))]),t._v(" "),n("div",{staticClass:"flag"},[n("img",{directives:[{name:"show",rawName:"v-show",value:e.global_flag,expression:"leader.global_flag"}],attrs:{src:t.getCountryFlag(e.global_flag),alt:e.global_flag}})])]),t._v(" "),n("div",{staticClass:"details"},[n("div",{staticClass:"name"},[e.name||e.username?n("span",[t._v(t._s(e.name)+" "+t._s(e.username))]):n("span",[t._v(t._s(t.$t("common.anonymous")))])]),t._v(" "),e.team?n("div",{staticClass:"team"},[t._v("\n "+t._s(t.$t("common.team"))+" "+t._s(e.team)+"\n ")]):t._e(),t._v(" "),e.social?n("div",{staticClass:"social-container"},t._l(e.social,(function(t,e){return n("a",{attrs:{target:"_blank",href:t}},[n("i",{staticClass:"fa",class:"personal"===e?"fa-link":"fa-"+e})])})),0):t._e()]),t._v(" "),e.social?n("div",{staticClass:"social-container"},t._l(e.social,(function(t,e){return n("a",{attrs:{target:"_blank",href:t}},[n("i",{staticClass:"fa",class:"personal"===e?"fa-link":"fa-"+e})])})),0):t._e(),t._v(" "),n("div",{staticClass:"xp"},[n("div",{staticClass:"value"},[t._v(t._s(e.xp))]),t._v(" "),n("div",{staticClass:"text"},[t._v("XP")])])])})),0)}),[],!1,null,"84a58308",null);e.a=s.exports},RRYh:function(t){t.exports=JSON.parse('{"success-title":"Thanks for helping!","success-subtitle":"Remember to verify your email to enable login.","error-title":"There was a problem.","error-subtitle":"Your card was not charged, but you can still verify your email and login."}')},RScH:function(t,e,n){"use strict";var i=n("8mV1");n.n(i).a},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="RnhZ"},RqL8:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap kwa sasa inategemea michango tu.","its-important":"Ni muhimu"}')},S11f:function(t,e,n){"use strict";var i=n("yPIN");n.n(i).a},SDPu:function(t,e,n){"use strict";var i=n("FOF1");n.n(i).a},SFi8:function(t){t.exports=JSON.parse('{"click-to-upload":"Click to upload or drop your photos","thank-you":"Thank you!","need-tag-litter":"Next, you need to tag the litter","tag-litter":"Tag Litter"}')},STDh:function(t,e,n){"use strict";var i=n("JWC4");n.n(i).a},SVq3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".foot[data-v-7f74f80e] {\n padding: 5em;\n background-image: radial-gradient(circle at 1% 1%, #328bf2, #1644ad);\n height: 42em;\n position: relative;\n}\n.footer-bottom[data-v-7f74f80e] {\n position: absolute;\n bottom: 0;\n left: 25%;\n border-top: 1px solid #3c6fcd;\n padding: 1em 0;\n}\n.foot-container-left[data-v-7f74f80e] {\n padding-right: 10em;\n}\n.footer-icon[data-v-7f74f80e] {\n max-height: 2em;\n margin-right: 1em;\n cursor: pointer;\n}\n.footer-success[data-v-7f74f80e] {\n font-size: 1.5em;\n color: #fff;\n}\n.footer-text[data-v-7f74f80e] {\n color: #94afe3;\n}\n.footer-link[data-v-7f74f80e] {\n color: #94afe3;\n cursor: pointer;\n}\n.footer-link[data-v-7f74f80e]:hover {\n color: #fff;\n}\n.f-input[data-v-7f74f80e] {\n height: 3em;\n border-radius: 1em;\n margin-bottom: 1.5em;\n width: 50%;\n border: none;\n}\n.inner-footer-container[data-v-7f74f80e] {\n padding-left: 10em;\n padding-right: 10em;\n}\n.olm-title[data-v-7f74f80e] {\n font-size: 2em;\n font-weight: 700;\n color: #fff;\n margin-bottom: 1em;\n}\n.olm-subtitle[data-v-7f74f80e] {\n font-size: 1.5em;\n font-weight: 700;\n color: #fff;\n margin-bottom: 1em;\n}\n.top-footer-title[data-v-7f74f80e] {\n color: #fff;\n font-size: 2.5em;\n margin-bottom: 1.25em;\n}\n\n/* Mobile view */\n@media (max-width: 768px) {\n.foot[data-v-7f74f80e] {\n padding: 2em;\n background-image: radial-gradient(circle at 1% 1%, #328bf2, #1644ad);\n height: 220vh;\n position: relative;\n}\n.f-input[data-v-7f74f80e] {\n width: 80%;\n}\n.footer-bottom[data-v-7f74f80e] {\n left: 10%;\n right: 10%;\n}\n.foot-container-left[data-v-7f74f80e] {\n padding-right: 0;\n}\n.inner-footer-container[data-v-7f74f80e] {\n padding-left: 0;\n padding-right: 0;\n}\n}",""])},SXG0:function(t,e,n){var i;"undefined"!=typeof self&&self,t.exports=(i=n("XuX8"),function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"091b":function(t,e,n){(e=n("24fb")(!1)).push([t.i,".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot:focus{outline:none}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip,.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}",""]),t.exports=e},"24fb":function(t,e,n){"use strict";function i(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}(i),a=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(a).concat([r]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var a=0;an.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"==typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return(e={})[t]=i.value,e}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var i=new e;e.prototype._init=n;var r={};return Object.keys(i).forEach((function(t){void 0!==i[t]&&(r[t]=i[t])})),r}(this,t)}});var o=t.__decorators__;o&&(o.forEach((function(t){return t(e)})),delete t.__decorators__);var s=Object.getPrototypeOf(t.prototype),u=s instanceof i?s.constructor:i,h=u.extend(e);return c(h,t,u),r&&a(h,t),h}function c(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if("prototype"!==i){var r=Object.getOwnPropertyDescriptor(t,i);if(!r||r.configurable){var a=Object.getOwnPropertyDescriptor(e,i);if(!s){if("cid"===i)return;var o=Object.getOwnPropertyDescriptor(n,i);if(!function(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}(a.value)&&o&&o.value===a.value)return}Object.defineProperty(t,i,a)}}}))}function h(t){return"function"==typeof t?u(t):function(e){return u(e,t)}}h.registerHooks=function(t){l.push.apply(l,t)},e.default=h,e.createDecorator=function(t){return function(e,n,i){var r="function"==typeof e?e:e.constructor;r.__decorators__||(r.__decorators__=[]),"number"!=typeof i&&(i=void 0),r.__decorators__.push((function(e){return t(e,n,i)}))}},e.mixins=function(){for(var t=[],e=0;e([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var c=0;c=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}var u=n("8bbf"),c=n.n(u),h=n("65d9"),d=n.n(h);function p(t,e){return void 0===e&&(e={}),Object(h.createDecorator)((function(n,i){(n.props||(n.props={}))[i]=e,n.model={prop:i,event:t||i}}))}function f(t){return void 0===t&&(t={}),Object(h.createDecorator)((function(e,n){(e.props||(e.props={}))[n]=t}))}function m(t,e){void 0===e&&(e={});var n=e.deep,i=void 0!==n&&n,r=e.immediate,a=void 0!==r&&r;return Object(h.createDecorator)((function(e,n){"object"!=typeof e.watch&&(e.watch=Object.create(null));var r=e.watch;"object"!=typeof r[t]||Array.isArray(r[t])?void 0===r[t]&&(r[t]=[]):r[t]=[r[t]],r[t].push({handler:n,deep:i,immediate:a})}))}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n-1},required:!0})],t.prototype,"tooltipPlacement",void 0),l([f({type:[String,Function]})],t.prototype,"tooltipFormatter",void 0),l([f({type:Boolean,default:!1})],t.prototype,"focus",void 0),l([f({default:!1})],t.prototype,"disabled",void 0),t=l([d.a],t)}();function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);nthis.total&&(t=this.total),this.data?this.data[t]:new j(t).multiply(this.interval).plus(this.min).toNumber()}},{key:"setDotPos",value:function(t,e){var n=(t=this.getValidPos(t,e).pos)-this.dotsPos[e];if(n){var i=new Array(this.dotsPos.length);this.fixed?i=this.getFixedChangePosArr(n,e):this.minRange||this.maxRange?i=this.getLimitRangeChangePosArr(t,n,e):i[e]=n,this.setDotsPos(this.dotsPos.map((function(t,e){return t+(i[e]||0)})))}}},{key:"getFixedChangePosArr",value:function(t,e){var n=this;return this.dotsPos.forEach((function(i,r){if(r!==e){var a=n.getValidPos(i+t,r),o=a.pos;a.inRange||(t=Math.min(Math.abs(o-i),Math.abs(t))*(t<0?-1:1))}})),this.dotsPos.map((function(e){return t}))}},{key:"getLimitRangeChangePosArr",value:function(t,e,n){var i=this,r=[{index:n,changePos:e}],a=e;return[this.minRange,this.maxRange].forEach((function(o,s){if(!o)return!1;for(var l,u=0===s,c=e>0,h=function(t,e){var n=Math.abs(t-e);return u?ni.maxRangeDir},d=n+(l=u?c?1:-1:c?-1:1),p=i.dotsPos[d],f=t;i.isPos(p)&&h(p,f);){var m=i.getValidPos(p+a,d).pos;r.push({index:d,changePos:m-p}),d+=l,f=m,p=i.dotsPos[d]}})),this.dotsPos.map((function(t,e){var n=r.filter((function(t){return t.index===e}));return n.length?n[0].changePos:0}))}},{key:"isPos",value:function(t){return"number"==typeof t}},{key:"getValidPos",value:function(t,e){var n=this.valuePosRange[e],i=!0;return tn[1]&&(t=n[1],i=!1),{pos:t,inRange:i}}},{key:"parseValue",value:function(t){if(this.data)t=this.data.indexOf(t);else if("number"==typeof t||"string"==typeof t){if((t=+t)this.max)return this.emitError(R.MAX),0;if("number"!=typeof t||t!=t)return this.emitError(R.VALUE),0;t=new j(t).minus(this.min).divide(this.interval).toNumber()}var e=new j(t).multiply(this.gap).toNumber();return e<0?0:e>100?100:e}},{key:"parsePos",value:function(t){var e=Math.round(t/this.gap);return this.getValueByIndex(e)}},{key:"isActiveByPos",value:function(t){return this.processArray.some((function(e){var n=B(e,2),i=n[0],r=n[1];return t>=i&&t<=r}))}},{key:"getValues",value:function(){if(this.data)return this.data;for(var t=[],e=0;e<=this.total;e++)t.push(new j(e).multiply(this.interval).plus(this.min).toNumber());return t}},{key:"getRangeDir",value:function(t){return t?new j(t).divide(new j(this.data?this.data.length-1:this.max).minus(this.data?0:this.min).toNumber()).multiply(100).toNumber():100}},{key:"emitError",value:function(t){this.onError&&this.onError(t,H[t])}},{key:"getDotRange",value:function(t,e,n){if(!this.dotOptions)return n;var i=Array.isArray(this.dotOptions)?this.dotOptions[t]:this.dotOptions;return i&&void 0!==i[e]?this.parseValue(i[e]):n}},{key:"markList",get:function(){var t=this;if(!this.marks)return[];var e=function(e,n){var i=t.parseValue(e);return function(t){for(var e=1;e1)return[[Math.min.apply(Math,U(this.dotsPos)),Math.max.apply(Math,U(this.dotsPos))]]}return[]}},{key:"total",get:function(){var t;return(t=this.data?this.data.length-1:new j(this.max).minus(this.min).divide(this.interval).toNumber())-Math.floor(t)!=0?(this.emitError(R.INTERVAL),0):t}},{key:"gap",get:function(){return 100/this.total}},{key:"minRangeDir",get:function(){return this.cacheRangeDir[this.minRange]?this.cacheRangeDir[this.minRange]:this.cacheRangeDir[this.minRange]=this.getRangeDir(this.minRange)}},{key:"maxRangeDir",get:function(){return this.cacheRangeDir[this.maxRange]?this.cacheRangeDir[this.maxRange]:this.cacheRangeDir[this.maxRange]=this.getRangeDir(this.maxRange)}},{key:"valuePosRange",get:function(){var t=this,e=this.dotsPos,n=[];return e.forEach((function(i,r){n.push([Math.max(t.minRange?t.minRangeDir*r:0,t.enableCross?0:e[r-1]||0,t.getDotRange(r,"min",0)),Math.min(t.minRange?100-t.minRangeDir*(e.length-1-r):100,t.enableCross?100:e[r+1]||100,t.getDotRange(r,"max",100))])})),n}},{key:"dotsIndex",get:function(){var t=this;return this.dotsValue.map((function(e){return t.getIndexByValue(e)}))}}]),t}();function Y(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&"object"===it(t[0])}},{key:"onValueChanged",value:function(){this.control&&!this.states.has(ct.Drag)&&this.isNotSync&&this.control.setValue(this.value)}},{key:"created",value:function(){this.initControl()}},{key:"mounted",value:function(){this.bindEvent()}},{key:"beforeDestroy",value:function(){this.unbindEvent()}},{key:"bindEvent",value:function(){document.addEventListener("touchmove",this.dragMove,{passive:!1}),document.addEventListener("touchend",this.dragEnd,{passive:!1}),document.addEventListener("mousedown",this.blurHandle),document.addEventListener("mousemove",this.dragMove),document.addEventListener("mouseup",this.dragEnd),document.addEventListener("mouseleave",this.dragEnd),document.addEventListener("keydown",this.keydownHandle)}},{key:"unbindEvent",value:function(){document.removeEventListener("touchmove",this.dragMove),document.removeEventListener("touchend",this.dragEnd),document.removeEventListener("mousedown",this.blurHandle),document.removeEventListener("mousemove",this.dragMove),document.removeEventListener("mouseup",this.dragEnd),document.removeEventListener("mouseleave",this.dragEnd),document.removeEventListener("keydown",this.keydownHandle)}},{key:"setScale",value:function(){this.scale=new j(Math.floor(this.isHorizontal?this.$el.offsetWidth:this.$el.offsetHeight)).divide(100).toNumber()}},{key:"initControl",value:function(){var t=this;this.control=new W({value:this.value,data:this.sliderData,enableCross:this.enableCross,fixed:this.fixed,max:this.max,min:this.min,interval:this.interval,minRange:this.minRange,maxRange:this.maxRange,order:this.order,marks:this.sliderMarks,included:this.included,process:this.process,adsorb:this.adsorb,dotOptions:this.dotOptions,onError:this.emitError}),["data","enableCross","fixed","max","min","interval","minRange","maxRange","order","marks","process","adsorb","included","dotOptions"].forEach((function(e){t.$watch(e,(function(n){if("data"===e&&Array.isArray(t.control.data)&&Array.isArray(n)&&t.control.data.length===n.length&&n.every((function(e,n){return e===t.control.data[n]})))return!1;switch(e){case"data":case"dataLabel":case"dataValue":t.control.data=t.sliderData;break;case"mark":t.control.marks=t.sliderMarks;break;default:t.control[e]=n}["data","max","min","interval"].indexOf(e)>-1&&t.control.syncDotsPos()}))}))}},{key:"syncValueByPos",value:function(){var t=this.control.dotsValue;this.isDiff(t,Array.isArray(this.value)?this.value:[this.value])&&this.$emit("change",1===t.length?t[0]:tt(t),this.focusDotIndex)}},{key:"isDiff",value:function(t,e){return t.length!==e.length||t.some((function(t,n){return t!==e[n]}))}},{key:"emitError",value:function(t,e){this.silent,this.$emit("error",t,e)}},{key:"dragStartOnProcess",value:function(t){if(this.dragOnClick){this.setScale();var e=this.getPosByEvent(t),n=this.control.getRecentDot(e);if(this.dots[n].disabled)return;this.dragStart(n),this.control.setDotPos(e,this.focusDotIndex),this.lazy||this.syncValueByPos()}}},{key:"dragStart",value:function(t){this.focusDotIndex=t,this.setScale(),this.states.add(ct.Drag),this.states.add(ct.Focus),this.$emit("drag-start",this.focusDotIndex)}},{key:"dragMove",value:function(t){if(!this.states.has(ct.Drag))return!1;t.preventDefault();var e=this.getPosByEvent(t);this.isCrossDot(e),this.control.setDotPos(e,this.focusDotIndex),this.lazy||this.syncValueByPos();var n=this.control.dotsValue;this.$emit("dragging",1===n.length?n[0]:tt(n),this.focusDotIndex)}},{key:"isCrossDot",value:function(t){if(this.canSort){var e=this.focusDotIndex,n=t;if(n>this.dragRange[1]?(n=this.dragRange[1],this.focusDotIndex++):n1&&void 0!==arguments[1]?arguments[1]:0;t.disabled||(this.states.add(ct.Focus),this.focusDotIndex=e)}},{key:"blur",value:function(){this.states.delete(ct.Focus)}},{key:"getValue",value:function(){var t=this.control.dotsValue;return 1===t.length?t[0]:t}},{key:"getIndex",value:function(){var t=this.control.dotsIndex;return 1===t.length?t[0]:t}},{key:"setValue",value:function(t){this.control.setValue(Array.isArray(t)?tt(t):[t]),this.syncValueByPos()}},{key:"setIndex",value:function(t){var e=this,n=Array.isArray(t)?t.map((function(t){return e.control.getValueByIndex(t)})):this.control.getValueByIndex(t);this.setValue(n)}},{key:"setValueByPos",value:function(t){var e=this,n=this.control.getRecentDot(t);if(this.disabled||this.dots[n].disabled)return!1;this.focusDotIndex=n,this.control.setDotPos(t,n),this.syncValueByPos(),this.useKeyboard&&this.states.add(ct.Focus),setTimeout((function(){e.included&&e.isNotSync?e.control.setValue(e.value):e.control.syncDotsPos()}))}},{key:"keydownHandle",value:function(t){var e=this;if(!this.useKeyboard||!this.states.has(ct.Focus))return!1;var n=this.included&&this.marks,i=function(t,e){if(e.hook){var n=e.hook(t);if("function"==typeof n)return n;if(!n)return null}switch(t.keyCode){case O.UP:return function(t){return"ttb"===e.direction?t-1:t+1};case O.RIGHT:return function(t){return"rtl"===e.direction?t-1:t+1};case O.DOWN:return function(t){return"ttb"===e.direction?t+1:t-1};case O.LEFT:return function(t){return"rtl"===e.direction?t+1:t-1};case O.END:return function(){return e.max};case O.HOME:return function(){return e.min};case O.PAGE_UP:return function(t){return t+10};case O.PAGE_DOWN:return function(t){return t-10};default:return null}}(t,{direction:this.direction,max:n?this.control.markList.length-1:this.control.total,min:0,hook:this.keydownHook});if(i){t.preventDefault();var r=-1,a=0;n?(this.control.markList.some((function(t,n){return t.value===e.control.dotsValue[e.focusDotIndex]&&(r=i(n),!0)})),r<0?r=0:r>this.control.markList.length-1&&(r=this.control.markList.length-1),a=this.control.markList[r].pos):(r=i(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])),a=this.control.parseValue(this.control.getValueByIndex(r))),this.isCrossDot(a),this.control.setDotPos(a,this.focusDotIndex),this.syncValueByPos()}}},{key:"getPosByEvent",value:function(t){return z(t,this.$el,this.isReverse)[this.isHorizontal?"x":"y"]/this.scale}},{key:"renderSlot",value:function(t,e,n,i){var r=this.$createElement,a=this.$scopedSlots[t];return a?i?a(e):r("template",{slot:t},[a(e)]):n}},{key:"render",value:function(){var t=this,e=arguments[0];return e("div",s()([{ref:"container",class:this.containerClasses,style:this.containerStyles,on:{click:this.clickHandle,touchstart:this.dragStartOnProcess,mousedown:this.dragStartOnProcess}},this.$attrs]),[e("div",{class:"vue-slider-rail",style:this.railStyle},[this.processArray.map((function(n,i){return t.renderSlot("process",n,e("div",{class:"vue-slider-process",key:"process-".concat(i),style:n.style}),!0)})),this.sliderMarks?e("div",{class:"vue-slider-marks"},[this.control.markList.map((function(n,i){var r;return t.renderSlot("mark",n,e("vue-slider-mark",{key:"mark-".concat(i),attrs:{mark:n,hideLabel:t.hideLabel,stepStyle:t.stepStyle,stepActiveStyle:t.stepActiveStyle,labelStyle:t.labelStyle,labelActiveStyle:t.labelActiveStyle},style:(r={},Q(r,t.isHorizontal?"height":"width","100%"),Q(r,t.isHorizontal?"width":"height",t.tailSize),Q(r,t.mainDirection,"".concat(n.pos,"%")),r),on:{pressLabel:function(e){return t.clickable&&t.setValueByPos(e)}}},[t.renderSlot("step",n,null),t.renderSlot("label",n,null)]),!0)}))]):null,this.dots.map((function(n,i){var r;return e("vue-slider-dot",{ref:"dot-".concat(i),key:"dot-".concat(i),attrs:K({value:n.value,disabled:n.disabled,focus:n.focus,"dot-style":[n.style,n.disabled?n.disabledStyle:null,n.focus?n.focusStyle:null],tooltip:n.tooltip||t.tooltip,"tooltip-style":[t.tooltipStyle,n.tooltipStyle,n.disabled?n.tooltipDisabledStyle:null,n.focus?n.tooltipFocusStyle:null],"tooltip-formatter":Array.isArray(t.sliderTooltipFormatter)?t.sliderTooltipFormatter[i]:t.sliderTooltipFormatter,"tooltip-placement":t.tooltipDirections[i],role:"slider","aria-valuenow":n.value,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":t.isHorizontal?"horizontal":"vertical",tabindex:"0"},t.dotAttrs),style:[t.dotBaseStyle,(r={},Q(r,t.mainDirection,"".concat(n.pos,"%")),Q(r,"transition","".concat(t.mainDirection," ").concat(t.animateTime,"s")),r)],on:{"drag-start":function(){return t.dragStart(i)}},nativeOn:{focus:function(){return t.focus(n,i)},blur:function(){return t.blur()}}},[t.renderSlot("dot",n,null),t.renderSlot("tooltip",n,null)])})),this.renderSlot("default",{value:this.getValue()},null,!0)])])}},{key:"tailSize",get:function(){return M((this.isHorizontal?this.height:this.width)||4)}},{key:"containerClasses",get:function(){return["vue-slider",["vue-slider-".concat(this.direction)],{"vue-slider-disabled":this.disabled}]}},{key:"containerStyles",get:function(){var t=X(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),e=t[0],n=t[1],i=this.width?M(this.width):this.isHorizontal?"auto":M(4),r=this.height?M(this.height):this.isHorizontal?M(4):"auto";return{padding:this.contained?"".concat(n/2,"px ").concat(e/2,"px"):this.isHorizontal?"".concat(n/2,"px 0"):"0 ".concat(e/2,"px"),width:i,height:r}}},{key:"processArray",get:function(){var t=this;return this.control.processArray.map((function(e,n){var i,r=X(e,3),a=r[0],o=r[1],s=r[2];if(a>o){var l=[o,a];a=l[0],o=l[1]}var u=t.isHorizontal?"width":"height";return{start:a,end:o,index:n,style:K(K((i={},Q(i,t.isHorizontal?"height":"width","100%"),Q(i,t.isHorizontal?"top":"left",0),Q(i,t.mainDirection,"".concat(a,"%")),Q(i,u,"".concat(o-a,"%")),Q(i,"transitionProperty","".concat(u,",").concat(t.mainDirection)),Q(i,"transitionDuration","".concat(t.animateTime,"s")),i),t.processStyle),s)}}))}},{key:"dotBaseStyle",get:function(){var t,e=X(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),n=e[0],i=e[1];return t=this.isHorizontal?Q({transform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),WebkitTransform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),top:"50%"},"ltr"===this.direction?"left":"right","0"):Q({transform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),WebkitTransform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),left:"50%"},"btt"===this.direction?"bottom":"top","0"),K({width:"".concat(n,"px"),height:"".concat(i,"px")},t)}},{key:"mainDirection",get:function(){switch(this.direction){case"ltr":return"left";case"rtl":return"right";case"btt":return"bottom";case"ttb":return"top"}}},{key:"isHorizontal",get:function(){return"ltr"===this.direction||"rtl"===this.direction}},{key:"isReverse",get:function(){return"rtl"===this.direction||"btt"===this.direction}},{key:"tooltipDirections",get:function(){var t=this.tooltipPlacement||(this.isHorizontal?"top":"left");return Array.isArray(t)?t:this.dots.map((function(){return t}))}},{key:"dots",get:function(){var t=this;return this.control.dotsPos.map((function(e,n){return K({pos:e,index:n,value:t.control.dotsValue[n],focus:t.states.has(ct.Focus)&&t.focusDotIndex===n,disabled:t.disabled,style:t.dotStyle},(Array.isArray(t.dotOptions)?t.dotOptions[n]:t.dotOptions)||{})}))}},{key:"animateTime",get:function(){return this.states.has(ct.Drag)?0:this.duration}},{key:"canSort",get:function(){return this.order&&!this.minRange&&!this.maxRange&&!this.fixed&&this.enableCross}},{key:"sliderData",get:function(){var t=this;return this.isObjectArrayData(this.data)?this.data.map((function(e){return e[t.dataValue]})):this.isObjectData(this.data)?Object.keys(this.data):this.data}},{key:"sliderMarks",get:function(){var t=this;return this.marks?this.marks:this.isObjectArrayData(this.data)?function(e){var n={label:e};return t.data.some((function(i){return i[t.dataValue]===e&&(n.label=i[t.dataLabel],!0)})),n}:this.isObjectData(this.data)?this.data:void 0}},{key:"sliderTooltipFormatter",get:function(){var t=this;if(this.tooltipFormatter)return this.tooltipFormatter;if(this.isObjectArrayData(this.data))return function(e){var n=""+e;return t.data.some((function(i){return i[t.dataValue]===e&&(n=i[t.dataLabel],!0)})),n};if(this.isObjectData(this.data)){var e=this.data;return function(t){return e[t]}}}},{key:"isNotSync",get:function(){var t=this.control.dotsValue;return Array.isArray(this.value)?this.value.length!==t.length||this.value.some((function(e,n){return e!==t[n]})):this.value!==t[0]}},{key:"dragRange",get:function(){var t=this.dots[this.focusDotIndex-1],e=this.dots[this.focusDotIndex+1];return[t?t.pos:-1/0,e?e.pos:1/0]}}]),n}(c.a);return l([p("change",{default:0})],t.prototype,"value",void 0),l([f({type:Boolean,default:!1})],t.prototype,"silent",void 0),l([f({default:"ltr",validator:function(t){return["ltr","rtl","ttb","btt"].indexOf(t)>-1}})],t.prototype,"direction",void 0),l([f({type:[Number,String]})],t.prototype,"width",void 0),l([f({type:[Number,String]})],t.prototype,"height",void 0),l([f({default:14})],t.prototype,"dotSize",void 0),l([f({default:!1})],t.prototype,"contained",void 0),l([f({type:Number,default:0})],t.prototype,"min",void 0),l([f({type:Number,default:100})],t.prototype,"max",void 0),l([f({type:Number,default:1})],t.prototype,"interval",void 0),l([f({type:Boolean,default:!1})],t.prototype,"disabled",void 0),l([f({type:Boolean,default:!0})],t.prototype,"clickable",void 0),l([f({type:Boolean,default:!1})],t.prototype,"dragOnClick",void 0),l([f({type:Number,default:.5})],t.prototype,"duration",void 0),l([f({type:[Object,Array]})],t.prototype,"data",void 0),l([f({type:String,default:"value"})],t.prototype,"dataValue",void 0),l([f({type:String,default:"label"})],t.prototype,"dataLabel",void 0),l([f({type:Boolean,default:!1})],t.prototype,"lazy",void 0),l([f({type:String,validator:function(t){return["none","always","focus","hover","active"].indexOf(t)>-1},default:"active"})],t.prototype,"tooltip",void 0),l([f({type:[String,Array],validator:function(t){return(Array.isArray(t)?t:[t]).every((function(t){return["top","right","bottom","left"].indexOf(t)>-1}))}})],t.prototype,"tooltipPlacement",void 0),l([f({type:[String,Array,Function]})],t.prototype,"tooltipFormatter",void 0),l([f({type:Boolean,default:!0})],t.prototype,"useKeyboard",void 0),l([f(Function)],t.prototype,"keydownHook",void 0),l([f({type:Boolean,default:!0})],t.prototype,"enableCross",void 0),l([f({type:Boolean,default:!1})],t.prototype,"fixed",void 0),l([f({type:Boolean,default:!0})],t.prototype,"order",void 0),l([f(Number)],t.prototype,"minRange",void 0),l([f(Number)],t.prototype,"maxRange",void 0),l([f({type:[Boolean,Object,Array,Function],default:!1})],t.prototype,"marks",void 0),l([f({type:[Boolean,Function],default:!0})],t.prototype,"process",void 0),l([f(Boolean)],t.prototype,"included",void 0),l([f(Boolean)],t.prototype,"adsorb",void 0),l([f(Boolean)],t.prototype,"hideLabel",void 0),l([f()],t.prototype,"dotOptions",void 0),l([f()],t.prototype,"dotAttrs",void 0),l([f()],t.prototype,"railStyle",void 0),l([f()],t.prototype,"processStyle",void 0),l([f()],t.prototype,"dotStyle",void 0),l([f()],t.prototype,"tooltipStyle",void 0),l([f()],t.prototype,"stepStyle",void 0),l([f()],t.prototype,"stepActiveStyle",void 0),l([f()],t.prototype,"labelStyle",void 0),l([f()],t.prototype,"labelActiveStyle",void 0),l([m("value")],t.prototype,"onValueChanged",null),t=l([d()({data:function(){return{control:null}},components:{VueSliderDot:k,VueSliderMark:A}})],t)}();ht.VueSliderMark=A,ht.VueSliderDot=k;var dt=ht;e.default=dt}}).default)},"Sbn/":function(t){t.exports=JSON.parse('{"change-privacy":"Adatvédelmi Beállítások Módosítása","maps":"Térképek","credit-name":"Nevem megjelenítése","credit-username":"Felhasználónevem megjelenítése","name-imgs-yes":"Az Ön neve megjelenik a térképekre feltöltött összes képen.","username-imgs-yes":"Felhasználóneve minden egyes térképre feltöltött képen megjelenik.","name-username-map-no":"Az Ön neve és felhasználóneve nem jelenik meg a térképeken.","leaderboards":"Ranglisták","credit-my-name":"Nevem megjelenítése","credit-my-username":"Felhasználónevem megjelenítése","name-leaderboards-yes":"A neved minden olyan ranglistán megjelenik, amelyre jogosult vagy.","username-leaderboards-yes":"Felhasználóneve minden olyan ranglistán megjelenik, amelyre jogosult.","name-username-leaderboards-no":"Az Ön neve és felhasználóneve nem jelenik meg a ranglistákon.","created-by":"Készítette","name-locations-yes":"Az Ön neve megjelenik az Ön által létrehozott helyek szekcióiban.","username-locations-yes":"Felhasználóneve megjelenik az Ön által létrehozott helyek szekcióiban.","name-username-locations-yes":"Az Ön neve és felhasználóneve nem jelenik meg az adatbázishoz hozzáadott helyek szekció részében.","update":"Frissítés"}')},"Sl6+":function(t){t.exports=JSON.parse('{"cancel":"Anuluj","submit":"Zatwierdź","download":"Pobierz","delete":"Delete","delete-image":"Usuń zdjęcie","confirm-delete":"Potwierdz usunięcie","loading":"Ładowanie...","created_at":"Przesłane","created":"Stworzone","created-by":"Stworzone przez","datetime":"Zrobione","day-names":["Pon","Wt","Śr","Czw","Pt","Sob","Niedz"],"month-names":["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Pażdziernik","Listopad","Grudzień"],"short-month-names":["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrze","Paż","Lis","Gru"],"next":"Następne","previous":"Poprzednie","next-page":"Następna strona","add-tags":"Dodaj tagi","add-many-tags":"dodaj wiele tagów","select-all":"Zaznacz wszystkie","de-select-all":"Odznacz wszystkie","choose-dates":"Wybierz daty","not-verified":"Niezweryfikowane","verified":"Zweryfikowane","search-by-id":"Szukaj według ID","active":"Aktywne","inactive":"Nieaktywne","inactivate":"Wyłącz składki drużyny","your-email":"you@email.com","team":"Drużyny","actions":"Działania","photo":"Zdjęcie","reason":"Powód","anonymous":"Anonimowy","faq":"Często Zadawane Pytania"}')},"Sn/w":function(t){t.exports=JSON.parse('{"show-flag":"Toon Landsvlag","top-10":"Top 10 Wereldkaart OpenLitterMap Leiders!","top-10-challenge":"Als jij de top 10 kan halen, dan kan je je land vertegenwoordigen!","action-select":"Tik of scroll of van de lijst te selecteren","select-country":"Selecteer je land","save-flag":"Sla de vlag op"}')},SrbP:function(t){t.exports=JSON.parse('{"description":"Te linki pojawią się na każdym przesłanym zdjęciu na mapie globalnej. Podaj pełne adresy URL.","personal-website":"Osobista Strona Internetowa","personal-website-url":"Osobisty Adres URL Strony Internetowej"}')},T7To:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Verify Photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Verify Boxes","about":"About","global-map":"Global Map","world-cup":"World Cup","community":"Community","upload":"Upload","more":"More","tag-litter":"Tag Litter","profile":"Profile","settings":"Settings","bounding-boxes":"Bounding Boxes","logout":"Logout","login":"Login","signup":"Signup","teams":"Teams"}')},TFCV:function(t){t.exports=JSON.parse('{"title":"Mis equipos","currently-joined-team":"Actualmente estás en el equipo","currently-not-joined-team":"Actualmente no estás en ningún equipo","no-joined-team":"Aún no te has unido a un equipo","leader-of-team":"Tu lideras este equipo","enabled-contributions":"Todas sus contribuciones contarán para este equipo únicamente.","disabled-contributions":"Aún no ha seleccionado un equipo activo.
    Eso significa que no estás contribuyendo a ningún equipo en este momento.
    Puede seleccionar su equipo activo haciendo clic en los íconos de estrellas en la lista inferior.","disable-contributions-tooltip":"Esto deshabilita las contribuciones de su equipo a partir de ahora. Seguirás siendo miembro de tus equipos y podrás habilitar las contribuciones en cualquier momento.","team-details":"Detalles del equipo","all-my-teams":"Todos mis equipos","this-is-active-team":"Este es tu equipo activo","set-as-active-team":"Establecer como su equipo activo","team-identifier":"Identificador de Equipo","join-team":"Por favor únete a un equipo","leave-team":"Dejar equipo","just-left-team":"Acabas de dejar el equipo","cant-leave-team":"No puedes dejar este equipo porque eres el único miembro","change-active-team":"Cambiar equipo activo","download-team-data":"Descargar datos del equipo","hide-from-leaderboards":"Ocultarme de la clasificación","show-on-leaderboards":"Mostrarme en la clasificación","position-header":"Posición","name-header":"Nombre","username-header":"Nombre de usuario","status-header":"Estado","photos-header":"Fotos","litter-header":"Basura","identifier-header":"Identificador","members-header":"Miembros","last-activity-header":"Última actividad","confirm-leave-team":"¿Está seguro?\\nSiempre puedes volver a unirte y tus contribuciones se guardarán."}')},"TGU/":function(t){t.exports=JSON.parse('{"success-title":"Dzięki za pomoc!","success-subtitle":"Pamiętaj, aby zweryfikować swój adres e-mail, aby umożliwić logowanie.","error-title":"Nastąpił problem","error-subtitle":"Twoja karta nie została obciążona, ale nadal możesz zweryfikować swój adres e-mail i login."}')},TH7d:function(t){t.exports=JSON.parse('{"login-btn":"Login","signup-text":"Sign up","forgot-password":"Forgot Password?"}')},TTnB:function(t){t.exports=JSON.parse('{"cancel":"Ghairi","submit":"Wasilisha","download":"Pakua","delete":"Futa","delete-image":"Futa picha","confirm-delete":"Hakiki kufuta","loading":"Inashughulikiwa...","created_at":"Imepakiwa","created":"Imetengenezwa","created-by":"Imetengenezwa na","datetime":"Imechukuliwa","day-names":["J3","J4","J5","Al","Ij","J1","J2"],"month-names":["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"],"short-month-names":["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Des"],"next":"Inayofata","previous":"Uliopita","next-page":"Ukurasa unaofata","add-tags":"Ongeza Nembo","add-many-tags":"Ongeza Nembo Nyingi","select-all":"Chagua Zote","de-select-all":"Usichague zote","choose-dates":"Chagua Tarehe","not-verified":"Haija Hakikiwa","verified":"Ime Hakikiwa","search-by-id":"Tafuta kwa Kitambulisho","active":"Hai","inactive":"Sio hai","inactivate":"Funga mchango wa timu","your-email":"Anuani yako ya barua pepe","team":"Timu","actions":"Vitendo","anonymous":"Asiyejulikana","photo":"Picha","reason":"Sababu","faq":"Maswali ya mara kwa mara"}')},TW6y:function(t){t.exports=JSON.parse('{"ready-to-join":"Klaar om mee te doen aan een geospatiale revolutie?","join-subtitle":"Als je ons werk leuk vindt, dan zou OpenLitterMap je hulp goed kunnen gebruiken.","free-plan":"GRATIS","free-plan-feature1":"Upload 1000 foto\'s per dag.","free-plan-feature2":"Speel Badges + Beloning vrij.","free-plan-feature3":"Verdien Littercoin.","free-plan-feature4":"Ga de strijd aan in verschillende scoreborden..","free-plan-join":"Ik doe mee","startup-plan":"OPSTART","startup-plan-donation":"€5 per maand","startup-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","startup-plan-feature2":"Help ons de kosten te dekken.","startup-plan-feature3":"Ga lekker zitten en geniet van de updates.","startup-plan-join":"Ik steun!","basic-plan":"BASIS","basic-plan-donation":"€9.99 per maand","basic-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","basic-plan-feature2":"Help ons de kosten te dekken.","basic-plan-feature3":"Ga lekker zitten en geniet van de updates.","basic-plan-join":"Ik steun!","advanced-plan":"GEVORDERD","advanced-plan-donation":"€20 per maand","advanced-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","advanced-plan-feature2":"Help ons de kosten te dekken.","advanced-plan-feature3":"Ga lekker zitten en geniet van de updates.","advanced-plan-join":"Ik steun!","pro-plan":"PRO","pro-plan-donation":"€30 per maand","pro-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","pro-plan-feature2":"Help ons de kosten te dekken.","pro-plan-feature3":"Ga lekker zitten en geniet van de updates.","pro-plan-join":"Ik meen het serieus!"}')},Td1u:function(t){t.exports=JSON.parse('{"title":"Mijn Teams","currently-joined-team":"Je bent momenteel aangesloten bij team","currently-not-joined-team":"Je bent momenteel niet aangesloten bij een team","no-joined-team":"Je hebt je nog niet aangemeld bij een team","leader-of-team":"Jij bent de leider van dit team","enabled-contributions":"Al uw bijdragen tellen alleen mee voor dit team.","disabled-contributions":"U heeft nog geen actief team geselecteerd.
    Dat betekent dat je op dit moment aan geen enkel team bijdraagt.
    U kunt uw actieve team selecteren door op de sterpictogrammen in de onderste lijst te klikken.","disable-contributions-tooltip":"Hiermee worden uw teambijdragen vanaf nu uitgeschakeld. U blijft nog steeds lid van uw teams en kunt op elk moment bijdragen inschakelen.","team-details":"Teamdetails","all-my-teams":"Al mijn teams","this-is-active-team":"Dit is je actieve team","set-as-active-team":"Instellen als uw actieve team","team-identifier":"Team-ID","join-team":"Sluit je svp aan bij een team","leave-team":"Team verlaten","just-left-team":"Je hebt net team verlaten","cant-leave-team":"Je kunt dit team niet verlaten omdat je het enige lid bent","change-active-team":"Maak een ander team het actieve team","download-team-data":"Download Team Data","hide-from-leaderboards":"Niet tonen op de scoreborden","show-on-leaderboards":"Wel tonen op de scoreborden","position-header":"Positie","name-header":"Naam","username-header":"Gebruikersnaam","status-header":"Status","photos-header":"Foto\'s","litter-header":"Afval","identifier-header":"ID","members-header":"Leden","last-activity-header":"Laatste Activiteit","confirm-leave-team":"Weet je zeker dat?\\nJe kunt altijd weer meedoen en je bijdragen worden bewaard."}')},"Tk/m":function(t,e,n){"use strict";var i=n("+BMQ");n.n(i).a},Tsbz:function(t){t.exports=JSON.parse('{"do-you-pickup":"Heb je het afval opgeruimd of ligt het er nog?","save-def-settings":"Je kan hier je standaard instelling opslaan.","change-value-of-litter":"Je kan ook het aantal van het zwerfafval wijzigen als je ze aan het labelen bent.","status":"Huidige Status","toggle-presence":"Wijzig Aanwezigheid","pickup?":"Opgeruimd?"}')},Tz4O:function(t){t.exports=JSON.parse('{"do-you-pickup":"Unaokota takataka au unaiacha hapo?","save-def-settings":"Unaweza kuhifadhi mpangilio wako chaguomsingi hapa.","change-value-of-litter":"Unaweza pia kubadilisha idadi ya kila kipengele cha takataka unapoziwekea lebo.","status":"Hali ya sasa","toggle-presence":"Geuza Uwepo","pickup?":"Umeokta?"}')},UBjI:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.profile-dl-title[data-v-32848a05] {\n color: #1DD3B0;\n margin-bottom: 1em;\n font-weight: 600;\n}\n.profile-dl-subtitle[data-v-32848a05] {\n color: #1DD3B0;\n margin-bottom: 1em;\n}\n.inputs-wrapper[data-v-32848a05] {\n display: flex;\n gap: 1rem;\n align-items: center;\n}\n",""])},UE2J:function(t,e,n){"use strict";var i=n("CdcD");n.n(i).a},URHZ:function(t,e,n){"use strict";(function(t){const n={selectionUp:[38],selectionDown:[40],select:[13],hideList:[27],showList:[40],autocomplete:[32,13]},i={input:String,select:Object};function r(t,e){return a(t,e.keyCode)}function a(t,e){if(t.length<=0)return!1;const n=t=>t.some(t=>t===e);return Array.isArray(t[0])?t.some(t=>n(t)):n(t)}function o(){}function s(t,e){var n=t();return n&&n.then?n.then(e):e(n)}function l(t){return function(){for(var e=[],n=0;n({})},controls:{type:Object,default:()=>n},minLength:{type:Number,default:1},maxSuggestions:{type:Number,default:10},displayAttribute:{type:String,default:"title"},valueAttribute:{type:String,default:"id"},list:{type:[Function,Array],default:()=>[]},removeList:{type:Boolean,default:!1},destyled:{type:Boolean,default:!1},filterByQuery:{type:Boolean,default:!1},filter:{type:Function,default(t,e){return!e||~this.displayProperty(t).toLowerCase().indexOf(e.toLowerCase())}},debounce:{type:Number,default:0},nullableSelect:{type:Boolean,default:!1},value:{},mode:{type:String,default:"input",validator:t=>!!~Object.keys(i).indexOf(t.toLowerCase())}},watch:{mode:{handler(t,e){this.constructor.options.model.event=t,this.$parent&&this.$parent.$forceUpdate(),this.$nextTick(()=>{"input"===t?this.$emit("input",this.text):this.$emit("select",this.selected)})},immediate:!0},value:{handler(t){"string"!=typeof t&&(t=this.displayProperty(t)),this.updateTextOutside(t)},immediate:!0}},data(){return{selected:null,hovered:null,suggestions:[],listShown:!1,inputElement:null,canSend:!0,timeoutInstance:null,text:this.value,isPlainSuggestion:!1,isClicking:!1,isInFocus:!1,isFalseFocus:!1,isTabbed:!1,controlScheme:{},listId:this._uid+"-suggestions"}},computed:{listIsRequest(){return"function"==typeof this.list},inputIsComponent(){return this.$slots.default&&this.$slots.default.length>0&&!!this.$slots.default[0].componentInstance},input(){return this.inputIsComponent?this.$slots.default[0].componentInstance:this.inputElement},on(){return this.inputIsComponent?"$on":"addEventListener"},off(){return this.inputIsComponent?"$off":"removeEventListener"},hoveredIndex(){for(let t=0;tthis.$scopedSlots[t]);if(t.every(t=>!!t))return t.every(this.isScopedSlotEmpty.bind(this));const e=t.find(t=>!!t);return this.isScopedSlotEmpty.call(this,e)},getPropertyByAttribute(t,e){return this.isPlainSuggestion?t:void 0!==typeof t?function(t,e){return e.split(".").reduce((t,e)=>t===Object(t)?t[e]:t,t)}(t,e):t},displayProperty(e){if(this.isPlainSuggestion)return e;let n=this.getPropertyByAttribute(e,this.displayAttribute);return void 0===n&&(n=JSON.stringify(e),t&&"production".indexOf("dev")),String(n||"")},valueProperty(t){if(this.isPlainSuggestion)return t;const e=this.getPropertyByAttribute(t,this.valueAttribute);return e},autocompleteText(t){this.setText(this.displayProperty(t))},setText(t){this.$nextTick(()=>{this.inputElement.value=t,this.text=t,this.$emit("input",t)})},select(t){(this.selected!==t||this.nullableSelect&&!t)&&(this.selected=t,this.$emit("select",t),t&&this.autocompleteText(t)),this.hover(null)},hover(t,e){const n=t?this.getId(t,this.hoveredIndex):"";this.inputElement.setAttribute("aria-activedescendant",n),t&&t!==this.hovered&&this.$emit("hover",t,e),this.hovered=t},hideList(){this.listShown&&(this.listShown=!1,this.hover(null),this.$emit("hide-list"))},showList(){this.listShown||this.textLength>=this.minLength&&(this.suggestions.length>0||!this.miscSlotsAreEmpty())&&(this.listShown=!0,this.$emit("show-list"))},showSuggestions:l((function(){const t=this;return s((function(){if(0===t.suggestions.length&&t.minLength<=t.textLength)return t.showList(),function(t,e){if(!e)return t&&t.then?t.then(o):Promise.resolve()}(t.research())}),(function(){t.showList()}))})),onShowList(t){r(this.controlScheme.showList,t)&&this.showSuggestions()},moveSelection(t){if(this.listShown&&this.suggestions.length&&r([this.controlScheme.selectionUp,this.controlScheme.selectionDown],t)){t.preventDefault();const e=r(this.controlScheme.selectionDown,t),n=2*e-1,i=e?0:this.suggestions.length-1,a=e?this.hoveredIndex0;let o=null;o=this.hovered?a?this.suggestions[this.hoveredIndex+n]:this.suggestions[i]:this.selected||this.suggestions[i],this.hover(o)}},onKeyDown(t){const e=this.controlScheme.select,n=this.controlScheme.hideList;"Enter"===t.key&&this.listShown&&a([e,n],13)&&t.preventDefault(),"Tab"===t.key&&this.hovered&&this.select(this.hovered),this.onShowList(t),this.moveSelection(t),this.onAutocomplete(t)},onListKeyUp(t){const e=this.controlScheme.select,n=this.controlScheme.hideList;this.listShown&&r([e,n],t)&&(t.preventDefault(),r(e,t)&&this.select(this.hovered),this.hideList())},onAutocomplete(t){r(this.controlScheme.autocomplete,t)&&(t.ctrlKey||t.shiftKey)&&this.suggestions.length>0&&this.suggestions[0]&&this.listShown&&(t.preventDefault(),this.hover(this.suggestions[0]),this.autocompleteText(this.suggestions[0]))},suggestionClick(t,e){this.$emit("suggestion-click",t,e),this.select(t),this.hideList(),this.isClicking=!1},onBlur(t){this.isInFocus?(this.isClicking=this.hovered&&!this.isTabbed,this.isClicking?t&&t.isTrusted&&!this.isTabbed&&(this.isFalseFocus=!0,setTimeout(()=>{this.inputElement.focus()},0)):(this.isInFocus=!1,this.hideList(),this.$emit("blur",t))):this.inputElement.blur(),this.isTabbed=!1},onFocus(t){this.isInFocus=!0,t&&!this.isFalseFocus&&this.$emit("focus",t),this.isClicking||this.isFalseFocus||this.showSuggestions(),this.isFalseFocus=!1},onInput(t){const e=t.target?t.target.value:t;this.updateTextOutside(e),this.$emit("input",e)},updateTextOutside(t){this.text!==t&&(this.text=t,this.hovered&&this.hover(null),this.text.lengthe.filter(n,t))),e.listIsRequest&&e.$emit("request-done",n)}))}),(function(t){if(!e.listIsRequest)throw t;e.$emit("request-failed",t)}))}),(function(){return e.maxSuggestions&&n.splice(e.maxSuggestions),n}))})),clearSuggestions(){this.suggestions.splice(0)},getId(t,e){return`${this.listId}-suggestion-${this.isPlainSuggestion?e:this.valueProperty(t)||e}`}}};e.a=d}).call(this,n("8oxB"))},URgk:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new a(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new a(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},UWLc:function(t,e,n){"use strict";var i=n("kcmK");n.n(i).a},UWWF:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n@media only screen and (max-width: 900px) {\n.container[data-v-cd11bd74] {\n display: flex;\n overflow-x: auto;\n}\n.admin-item[data-v-cd11bd74] {\n padding: 10px;\n}\n}\n.category[data-v-cd11bd74] {\n font-size: 1.25em;\n display: flex;\n justify-content: center;\n margin-bottom: 0.5em;\n}\n.litter-tag[data-v-cd11bd74] {\n cursor: pointer;\n margin-bottom: 10px;\n width: 100%;\n}\n.categories-enter-active[data-v-cd11bd74], .categories-leave-active[data-v-cd11bd74] {\n transition: all 0.5s;\n}\n.categories-enter[data-v-cd11bd74], .categories-leave-to[data-v-cd11bd74] {\n opacity: 0;\n transform: translateY(50px);\n}\n.categories-move[data-v-cd11bd74] {\n transition: transform 0.5s;\n}\n\n",""])},UZfx:function(t,e,n){parcelRequire=function(e,i,r,a){var o,s="function"==typeof parcelRequire&&parcelRequire;function l(t,r){if(!i[t]){if(!e[t]){var a="function"==typeof parcelRequire&&parcelRequire;if(!r&&a)return a(t,!0);if(s)return s(t,!0);if("string"==typeof t)return n("ZLfz")(t);var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}c.resolve=function(n){return e[t][1][n]||n},c.cache={};var u=i[t]=new l.Module(t);e[t][0].call(u.exports,c,u,u.exports,this)}return i[t].exports;function c(t){return l(c.resolve(t))}}l.isParcelRequire=!0,l.Module=function(t){this.id=t,this.bundle=l,this.exports={}},l.modules=e,l.cache=i,l.parent=s,l.register=function(t,n){e[t]=[function(t,e){e.exports=n},{}]};for(var u=0;u0?Math.floor(t):Math.ceil(t)};function M(t,e,n){return t instanceof O?t:g(t)?new O(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,n)}function z(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>=e.x&&i.x<=n.x,o=r.y>=e.y&&i.y<=n.y;return a&&o},overlaps:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>=e.lat&&i.lat<=n.lat,o=r.lng>=e.lng&&i.lng<=n.lng;return a&&o},overlaps:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>e.lat&&i.late.lng&&i.lng1,Tt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),Et=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!Y("svg").createSVGRect),Pt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Lt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var It={ie:J,ielt9:K,edge:Q,webkit:tt,android:et,android23:nt,androidStock:rt,opera:at,chrome:ot,gecko:st,safari:lt,phantom:ut,opera12:ct,win:ht,ie3d:dt,webkit3d:pt,gecko3d:ft,any3d:mt,mobile:gt,mobileWebkit:vt,mobileWebkit3d:yt,msPointer:_t,pointer:bt,touch:wt,mobileOpera:xt,mobileGecko:kt,retina:Ct,passiveEvents:Tt,canvas:Et,svg:St,vml:Pt},Ot=_t?"MSPointerDown":"pointerdown",At=_t?"MSPointerMove":"pointermove",Mt=_t?"MSPointerUp":"pointerup",zt=_t?"MSPointerCancel":"pointercancel",Nt={},Dt=!1;function Rt(t,e,n,r){return"touchstart"===e?function(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&ze(t),Ut(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Ot,r,!1),Dt||(document.addEventListener(Ot,jt,!0),document.addEventListener(At,Ft,!0),document.addEventListener(Mt,Bt,!0),document.addEventListener(zt,Bt,!0),Dt=!0)}(t,n,r):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Ut(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}(t,n,r):"touchend"===e&&function(t,e,n){var i=function(t){Ut(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(Mt,i,!1),t.addEventListener(zt,i,!1)}(t,n,r),this}function jt(t){Nt[t.pointerId]=t}function Ft(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Bt(t){delete Nt[t.pointerId]}function Ut(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var qt,$t,Gt,Vt,Ht,Wt=_t?"MSPointerDown":bt?"pointerdown":"touchstart",Yt=_t?"MSPointerUp":bt?"pointerup":"touchend",Zt="_leaflet_",Xt=de(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Jt=de(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Jt||"OTransition"===Jt?Jt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function re(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ae(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ce(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=h(e),i=0,r=n.length;i1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=250,i=e}function s(t){if(a&&!r.cancelBubble){if(bt){if("mouse"===t.pointerType)return;var n,o,s={};for(o in r)n=r[o],s[o]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}t[Zt+Wt+n]=o,t[Zt+Yt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Wt,o,!!Tt&&{passive:!1}),t.addEventListener(Yt,s,!!Tt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,o,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Pe[e]||e,o,!!Tt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(o=function(e){e=e||window.event,qe(t,e)&&s(e)},t.addEventListener(Pe[e],o,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,o),t[Te]=t[Te]||{},t[Te][r]=o}function Ie(t,e,n,i){var r=e+a(n)+(i?"_"+a(i):""),o=t[Te]&&t[Te][r];if(!o)return this;bt&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Ot,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(Mt,i,!1),t.removeEventListener(zt,i,!1))}(t,e,r):wt&&"dblclick"===e&&!Se()?function(t,e){var n=t[Zt+Wt+e],i=t[Zt+Yt+e],r=t[Zt+"dblclick"+e];t.removeEventListener(Wt,n,!!Tt&&{passive:!1}),t.removeEventListener(Yt,i,!!Tt&&{passive:!1}),t.removeEventListener("dblclick",r,!1)}(t,r):"removeEventListener"in t?t.removeEventListener(Pe[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[Te][r]=null}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Ue(t),this}function Ae(t){return Le(t,"wheel",Oe),this}function Me(t){return Ce(t,"mousedown touchstart dblclick",Oe),Le(t,"click",Be),this}function ze(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return ze(t),Oe(t),this}function De(t,e){if(!e)return new O(t.clientX,t.clientY);var n=xe(e),i=n.boundingClientRect;return new O((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Re=ht&&ot?2*window.devicePixelRatio:st?window.devicePixelRatio:1;function je(t){return Q?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Re:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Fe={};function Be(t){Fe[t.type]=!0}function Ue(t){var e=Fe[t.type];return Fe[t.type]=!1,e}function qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var $e={on:Ce,off:Ee,stopPropagation:Oe,disableScrollPropagation:Ae,disableClickPropagation:Me,preventDefault:ze,stop:Ne,getMousePosition:De,getWheelDelta:je,fakeStop:Be,skipped:Ue,isExternalTarget:qe,addListener:Ce,removeListener:Ee},Ge=I.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,R(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=M((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=M(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),a=this.project(r),o=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),u=N([s.min.add(n),s.max.subtract(i)]);if(!u.contains(o)){this._enforcingBounds=!0;var c=a.subtract(o),h=M(o.x+c.x,o.y+c.y);(o.xu.max.x)&&(h.x=a.x-c.x,c.x>0?h.x+=l.x-n.x:h.x-=l.x-i.x),(o.yu.max.y)&&(h.y=a.y-c.y,c.y>0?h.y+=l.y-n.y:h.y-=l.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=n.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,t):navigator.geolocation.getCurrentPosition(n,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new j(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(r,i.maxZoom):r)}var a={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(a[o]=t.coords[o]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new D(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=R(t),n=M(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),a=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),u=N(this.project(s,i),this.project(o,i)).getSize(),c=mt?this.options.zoomSnap:1,h=l.x/u.x,d=l.y/u.y,p=e?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(p,i),c&&(i=Math.round(i/(c/100))*(c/100),i=e?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(r,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new z(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(M(t),e)},layerPointToLatLng:function(t){var e=M(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(F(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return M(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return M(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(M(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return De(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ce(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&mt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ct?" leaflet-retina":"")+(K?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),fe(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){fe(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){fe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Ee:Ce;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),mt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],r="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!qe(o,t))break;if(i.push(n),r)break}if(o===this._container)break;o=o.parentNode}return i.length||s||r||!qe(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ue(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||_e(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var r=e({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var a=i[0];"contextmenu"===n&&a.listens(n,!0)&&ze(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?a.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var l=0;l0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=mt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Xt,n=this._proxy.style[e];pe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();pe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(C((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C((function(){this._moveEnd(!0)}),this))}}),He=S.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),We=function(t){return new He(t)};Ve.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,r){var a=e+i+" "+e+r;t[i+r]=ee("div",a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ye=He.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+a(this),i),this._layerControlInputs.push(e),e.layerId=a(t.layer),Ce(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var a=n.length-1;a>=0;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(a=0;a=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=He.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var a=ee("a",n,i);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Me(a),Ce(a,"click",Ne),Ce(a,"click",r,this),Ce(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ve.mergeOptions({zoomControl:!0}),Ve.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))}));var Xe=He.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Je=He.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Me(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ve.mergeOptions({attributionControl:!0}),Ve.addInitHook((function(){this.options.attributionControl&&(new Je).addTo(this)})),He.Layers=Ye,He.Zoom=Ze,He.Scale=Xe,He.Attribution=Je,We.layers=function(t,e,n){return new Ye(t,e,n)},We.zoom=function(t){return new Ze(t)},We.scale=function(t){return new Xe(t)},We.attribution=function(t){return new Je(t)};var Ke=S.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:P},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},rn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},an=I.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){d(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ce(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(an._dragging===this&&this.finishDrag(),Ee(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!oe(this._element,"leaflet-zoom-anim")&&!(an._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(an._dragging=this,this._preventOutline&&_e(this._element),ve(),qt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=we(this._element);this._startPoint=new O(e.clientX,e.clientY),this._parentScale=xe(n),Ce(document,rn[t.type],this._onMove,this),Ce(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new O(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(o=s,u=l);u>i&&(n[o]=1,t(e,n,i,r,o),t(e,n,i,o,a))}(t,i,e,0,n-1);var r,a=[];for(r=0;re&&(n.push(t[i]),r=i);var o,s,l,u;return re.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function hn(t,e,n,i){var r,a=e.x,o=e.y,s=n.x-a,l=n.y-o,u=s*s+l*l;return u>0&&((r=((t.x-a)*s+(t.y-o)*l)/u)>1?(a=n.x,o=n.y):r>0&&(a+=s*r,o+=l*r)),s=t.x-a,l=t.y-o,i?s*s+l*l:new O(a,o)}function dn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pn(t){return dn(t)}var fn={simplify:on,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return hn(t,e,n)},clipSegment:ln,_getEdgeIntersection:un,_getBitCode:cn,_sqClosestPointOnSegment:hn,isFlat:dn,_flat:pn};function mn(t,e,n){var i,r,a,o,s,l,u,c,h,d=[1,4,2,8];for(r=0,u=t.length;r1e-7;l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=u=Math.PI/2-2*Math.atan(o*e)-s;return new j(s*n,t.x*n/i)}},_n={LonLat:vn,Mercator:yn,SphericalMercator:$},bn=e({},q,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return V(t,.5,-t,.5)}()}),wn=e({},q,{code:"EPSG:4326",projection:vn,transformation:V(1/180,1,-1/180,.5)}),xn=e({},U,{projection:vn,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});U.Earth=q,U.EPSG3395=bn,U.EPSG3857=H,U.EPSG900913=W,U.EPSG4326=wn,U.Simple=xn;var kn=I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ve.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return o=(i-e)/n,this._map.layerPointToLatLng([a.x-o*(a.x-r.x),a.y-o*(a.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return dn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=dn(t),i=0,r=t.length;i=2&&e[0]instanceof j&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){Mn.prototype._setLatLngs.call(this,t),dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new O(e,e);if(t=new z(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,a=this._rings.length;rt.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||Mn.prototype._containsPoint.call(this,t,!0)}}),Nn=Tn.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=g(t)?t:t.features;if(r){for(e=0,n=r.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;or?(e.height=r+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();fe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new O(this._containerLeft,-n-this._containerBottom);r._add(me(this._container));var a=t.layerPointToContainerPoint(r),o=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||o),l=M(this.options.autoPanPaddingBottomRight||o),u=t.getSize(),c=0,h=0;a.x+i+l.x>u.x&&(c=a.x+i-u.x+l.x),a.x-c-s.x<0&&(c=a.x-s.x),a.y+n+l.y>u.y&&(h=a.y+n-u.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ve.mergeOptions({closePopupOnClick:!0}),Ve.include({openPopup:function(t,e,n){return t instanceof Jn||(t=new Jn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),kn.include({bindPopup:function(t,e){return t instanceof Jn?(d(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Jn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof In?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Kn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,a=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,l=r.offsetWidth,u=r.offsetHeight,c=M(this.options.offset),h=this._getAnchor();"top"===s?(e=l/2,n=u):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=u/2):"right"===s?(e=0,n=u/2):"left"===s?(e=l,n=u/2):o.xthis.options.maxZoom||ni&&this._retainParent(r,a,o,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var a=2*e;a<2*e+2;a++){var o=new O(r,a);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)this._setView(t,n);else{for(var h=r.min.y;h<=r.max.y;h++)for(var d=r.min.x;d<=r.max.x;d++){var p=new O(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:o.push(p)}}if(o.sort((function(t,e){return t.distanceTo(a)-e.distanceTo(a)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n);return[e.unproject(i,t.z),e.unproject(r,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new D(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new O(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,K&&this.options.opacity<1&&he(t,this.options.opacity),et&&!nt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&C(i(this._tileReady,this,t,null,a)),fe(a,n),this._tiles[r]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(he(n.el,0),T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),K||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new z(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ei=ti.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=d(this,e)).detectRetina&&Ct&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),et||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ce(n,"load",i(this._tileOnLoad,this,e,n)),Ce(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ct?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return m(this._url,e(n,this.options))},_tileOnLoad:function(t,e){K?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=y,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",y),ti.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return ti.prototype._tileReady.call(this,t,e,n)}});function ni(t,e){return new ei(t,e)}var ii=ei.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var a=(n=d(this,n)).detectRetina&&Ct?2:1,o=this.getTileSize();i.width=o.x*a,i.height=o.y*a,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=N(n.project(e[0]),n.project(e[1])),r=i.min,a=i.max,o=(this._wmsVersion>=1.3&&this._crs===wn?[r.y,r.x,a.y,a.x]:[r.x,r.y,a.x,a.y]).join(","),s=ei.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ei.WMS=ii,ni.wms=function(t,e){return new ii(t,e)};var ri=kn.extend({options:{padding:.1,tolerance:0},initialize:function(t){d(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=me(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),o=this._map.project(t,e).subtract(a),s=r.multiplyBy(-n).add(i).add(r).subtract(o);mt?pe(this._container,s,n):fe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new z(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ai=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ce(t,"mousemove",this._onMouseMove,this),Ce(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,ne(this._container),Ee(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ct?2:1;fe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ct&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),li={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=si("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=si("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=si("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=si("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){re(t._container)},_bringToBack:function(t){ae(t._container)}},ui=Pt?si:Y,ci=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),Ee(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),fe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=ui("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Z(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){re(t._path)},_bringToBack:function(t){ae(t._path)}});function hi(t){return St||Pt?new ci(t):null}Pt&&ci.include(li),Ve.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&oi(t)||hi(t)}});var di=zn.extend({initialize:function(t,e){zn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ci.create=ui,ci.pointsToPath=Z,Nn.geometryToLayer=Dn,Nn.coordsToLatLng=jn,Nn.coordsToLatLngs=Fn,Nn.latLngToCoords=Bn,Nn.latLngsToCoords=Un,Nn.getFeature=qn,Nn.asFeature=$n,Ve.mergeOptions({boxZoom:!0});var pi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),qt(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ce(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new z(this._point,this._startPoint),n=e.getSize();fe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),$t(),ye(),Ee(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ve.addInitHook("addHandler","boxZoom",pi),Ve.mergeOptions({doubleClickZoom:!0});var fi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});Ve.addInitHook("addHandler","doubleClickZoom",fi),Ve.mergeOptions({dragging:!0,inertia:!nt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new an(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,a=(i+e+n)%t-e-n,o=Math.abs(r+n)0?a:-a))-e;this._delta=0,this._startTime=null,o&&("center"===t.options.scrollWheelZoom?t.setZoom(e+o):t.setZoomAround(this._lastMousePos,e+o))}});Ve.addInitHook("addHandler","scrollWheelZoom",vi),Ve.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(ze(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new O(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),Ce(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ee(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||bt&&!lt||Ve.addInitHook("addHandler","tap",yi),Ve.mergeOptions({touchZoom:wt&&!nt,bounceAtZoomLimits:!0});var _i=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Ee(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend",this._onTouchEnd,this),ze(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&a>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===a)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===a&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),ze(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Ee(document,"touchmove",this._onTouchMove,this),Ee(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ve.addInitHook("addHandler","touchZoom",_i),Ve.BoxZoom=pi,Ve.DoubleClickZoom=fi,Ve.Drag=mi,Ve.Keyboard=gi,Ve.ScrollWheelZoom=vi,Ve.Tap=yi,Ve.TouchZoom=_i,t.version="1.7.1",t.Control=He,t.control=We,t.Browser=It,t.Evented=I,t.Mixin=tn,t.Util=E,t.Class=S,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=a,t.setOptions=d,t.DomEvent=$e,t.DomUtil=ke,t.PosAnimation=Ge,t.Draggable=an,t.LineUtil=fn,t.PolyUtil=gn,t.Point=O,t.point=M,t.Bounds=z,t.bounds=N,t.Transformation=G,t.transformation=V,t.Projection=_n,t.LatLng=j,t.latLng=F,t.LatLngBounds=D,t.latLngBounds=R,t.CRS=U,t.GeoJSON=Nn,t.geoJSON=Vn,t.geoJson=Hn,t.Layer=kn,t.LayerGroup=Cn,t.layerGroup=function(t,e){return new Cn(t,e)},t.FeatureGroup=Tn,t.featureGroup=function(t,e){return new Tn(t,e)},t.ImageOverlay=Wn,t.imageOverlay=function(t,e,n){return new Wn(t,e,n)},t.VideoOverlay=Yn,t.videoOverlay=function(t,e,n){return new Yn(t,e,n)},t.SVGOverlay=Zn,t.svgOverlay=function(t,e,n){return new Zn(t,e,n)},t.DivOverlay=Xn,t.Popup=Jn,t.popup=function(t,e){return new Jn(t,e)},t.Tooltip=Kn,t.tooltip=function(t,e){return new Kn(t,e)},t.Icon=En,t.icon=function(t){return new En(t)},t.DivIcon=Qn,t.divIcon=function(t){return new Qn(t)},t.Marker=Ln,t.marker=function(t,e){return new Ln(t,e)},t.TileLayer=ei,t.tileLayer=ni,t.GridLayer=ti,t.gridLayer=function(t){return new ti(t)},t.SVG=ci,t.svg=hi,t.Renderer=ri,t.Canvas=ai,t.canvas=oi,t.Path=In,t.CircleMarker=On,t.circleMarker=function(t,e){return new On(t,e)},t.Circle=An,t.circle=function(t,e,n){return new An(t,e,n)},t.Polyline=Mn,t.polyline=function(t,e){return new Mn(t,e)},t.Polygon=zn,t.polygon=function(t,e){return new zn(t,e)},t.Rectangle=di,t.rectangle=function(t,e){return new di(t,e)},t.Map=Ve,t.map=function(t,e){return new Ve(t,e)};var bi=window.L;t.noConflict=function(){return window.L=bi,this},window.L=t}))},{}],OTlA:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CanvasOverlay=void 0;var i=t("leaflet");function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n0;)this._redrawCallbacks.shift()(this);this._frame=null}},{key:"_animateZoom",value:function(t){var e=this._map,n=e.getZoomScale(t.zoom,e.getZoom()),r=this._unclampedLatLngBoundsToNewLayerBounds(e.getBounds(),t.zoom,t.center).min;i.DomUtil.setTransform(this.canvas,r,n)}},{key:"_animateZoomNoLayer",value:function(t){var e=this._map,n=e.getZoomScale(t.zoom,e.getZoom()),r=e._getCenterOffset(t.center)._multiplyBy(-n).subtract(e._getMapPanePos());i.DomUtil.setTransform(this.canvas,r,n)}},{key:"_unclampedProject",value:function(t,e){var n=this._map.options.crs,r=n.projection.R,a=Math.PI/180,o=t.lat,s=Math.sin(o*a),l=new i.Point(r*t.lng*a,r*Math.log((1+s)/(1-s))/2),u=n.scale(e);return n.transformation._transform(l,u)}},{key:"_unclampedLatLngBoundsToNewLayerBounds",value:function(t,e,n){var r=this._map._getNewPixelOrigin(n,e);return new i.Bounds([this._unclampedProject(t.getSouthWest(),e).subtract(r),this._unclampedProject(t.getNorthWest(),e).subtract(r),this._unclampedProject(t.getSouthEast(),e).subtract(r),this._unclampedProject(t.getNorthEast(),e).subtract(r)])}}]),n}();n.CanvasOverlay=h},{leaflet:"f3z0"}],pR9a:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Base=void 0;var i=t("./map-matrix"),r=t("./canvas-overlay");function a(t,e){for(var n=0;n1?(o=r,s=a):(o=n+h*l,s=i+h*u);var d=t-o,p=e-s;return Math.sqrt(d*d+p*p)},n.vectorDistance=i,n.locationDistance=function(t,e,n){var r=n.latLngToLayerPoint(t),a=n.latLngToLayerPoint(e);return i(r.x-a.x,r.y-a.y)},n.debugPoint=function(t){var e=document.createElement("div"),n=e.style,i=t.x,r=t.y;n.left=i+"px",n.top=r+"px",n.width="10px",n.height="10px",n.position="absolute",n.backgroundColor="#"+(16777215*Math.random()<<0).toString(16),document.body.appendChild(e)},n.debounce=function(t,e,n){var i;return function(){var r=this,a=arguments,o=n&&!i;clearTimeout(i),i=setTimeout((function(){i=null,n||t.apply(r,a)}),e),o&&t.apply(r,a)}},n.inBounds=function(t,e){return e._northEast.lat>t.lat&&t.lat>e._southWest.lat&&e._northEast.lng>t.lng&&t.lng>e._southWest.lng}},{}],ogHp:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Lines=void 0;var i=t("./base"),r=t("./color"),a=t("leaflet"),o=t("./line-feature-vertices"),s=t("./utils");function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n18)r.translateMatrix(-c.x,-c.y),e.uniformMatrix4fv(a,!1,r.array),e.drawArrays(e.LINES,0,o.length/this.bytes);else if("number"==typeof l)for(var p=-l;p0?u:this.allLatLngLookup,h)}}],[{key:"closest",value:function(t,e,n){return e.length<1?null:e.reduce((function(e,i){return(0,o.locationDistance)(t,e.latLng,n)<(0,o.locationDistance)(t,i.latLng,n)?e:i}))}},{key:"tryClick",value:function(t,e){var i,r,s,l,u,c,h,d=[],p={};if(n.instances.forEach((function(n){r=n.settings,n.active&&r.map===e&&r.click&&(l=n.lookup(t.latlng),p[l.key]=n,d.push(l))})),!(d.length<1)&&r&&null!==(c=this.closest(t.latlng,d,e))&&(s=p[c.key])){var f=s.settings,m=f.latitudeKey,g=f.longitudeKey,v=f.sensitivity,y=f.click;return h=new a.LatLng(c.latLng[m],c.latLng[g]),u=e.latLngToLayerPoint(h),(0,o.pointInCircle)(u,t.layerPoint,c.chosenSize*v)?void 0===(i=y(t,c.feature||c.latLng,u))||i:void 0}}},{key:"tryHover",value:function(t,e){var i,r,s,l,u,c,h,d=[],p={};if(n.instances.forEach((function(n){r=n.settings,n.active&&r.map===e&&r.hover&&(l=n.lookup(t.latlng),p[l.key]=n,d.push(l))})),!(d.length<1)&&r&&null!==(c=this.closest(t.latlng,d,e))&&(s=p[c.key])){var f=s.settings,m=f.latitudeKey,g=f.longitudeKey,v=f.sensitivityHover,y=f.hover;return h=new a.LatLng(c.latLng[m],c.latLng[g]),u=e.latLngToLayerPoint(h),(0,o.pointInCircle)(u,t.layerPoint,c.chosenSize*v)?void 0===(i=y(t,c.feature||c.latLng,u))||i:void 0}}}]),n}();n.Points=g,g.instances=[],g.defaults=m,g.maps=[]},{"./base":"pR9a","./color":"lpyx",leaflet:"f3z0","./utils":"UnXq"}],vwhv:[function(t,e,n){"use strict";function i(t,e,n){n=n||2;var i,a,s,l,u,c,d,p=e&&e.length,f=p?e[0]*n:t.length,m=r(t,0,f,n,!0),g=[];if(!m||m.next===m.prev)return g;if(p&&(m=h(t,e,m,n)),t.length>80*n){i=s=t[0],a=l=t[1];for(var v=n;vs&&(s=u),c>l&&(l=c);d=0!==(d=Math.max(s-i,l-a))?1/d:0}return o(m,g,n,i,a,d),g}function r(t,e,n,i,r){var a,o;if(r===S(t,e,n,i)>0)for(a=e;a=e;a-=i)o=C(a,t[a],t[a+1],o);return o&&b(o,o.next)&&(T(o),o=o.next),o}function a(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!b(i,i.next)&&0!==_(i.prev,i,i.next))i=i.next;else{if(T(i),(i=e=i.prev)===i.next)break;n=!0}}while(n||i!==e);return e}function o(t,e,n,i,r,h,d){if(t){!d&&h&&f(t,i,r,h);for(var p,m,g=t;t.prev!==t.next;)if(p=t.prev,m=t.next,h?l(t,i,r,h):s(t))e.push(p.i/n),e.push(t.i/n),e.push(m.i/n),T(t),t=m.next,g=m.next;else if((t=m)===g){d?1===d?o(t=u(t,e,n),e,n,i,r,h,2):2===d&&c(t,e,n,i,r,h):o(a(t),e,n,i,r,h,1);break}}}function s(t){var e=t.prev,n=t,i=t.next;if(_(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(v(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&_(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function l(t,e,n,i){var r=t.prev,a=t,o=t.next;if(_(r,a,o)>=0)return!1;for(var s=r.xa.x?r.x>o.x?r.x:o.x:a.x>o.x?a.x:o.x,c=r.y>a.y?r.y>o.y?r.y:o.y:a.y>o.y?a.y:o.y,h=m(s,l,e,n,i),d=m(u,c,e,n,i),p=t.prevZ,f=t.nextZ;p&&p.z>=h&&f&&f.z<=d;){if(p!==t.prev&&p!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,p.x,p.y)&&_(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,f!==t.prev&&f!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&_(f.prev,f,f.next)>=0)return!1;f=f.nextZ}for(;p&&p.z>=h;){if(p!==t.prev&&p!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,p.x,p.y)&&_(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;f&&f.z<=d;){if(f!==t.prev&&f!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&_(f.prev,f,f.next)>=0)return!1;f=f.nextZ}return!0}function u(t,e,n){var i=t;do{var r=i.prev,a=i.next.next;!b(r,a)&&w(r,i,i.next,a)&&x(r,a)&&x(a,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(a.i/n),T(i),T(i.next),i=t=a),i=i.next}while(i!==t);return i}function c(t,e,n,i,r,s){var l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&y(l,u)){var c=k(l,u);return l=a(l,l.next),c=a(c,c.next),o(l,e,n,i,r,s),void o(c,e,n,i,r,s)}u=u.next}l=l.next}while(l!==t)}function h(t,e,n,i){var o,s,l,u=[];for(o=0,s=e.length;o=i.next.y&&i.next.y!==i.y){var s=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>o){if(o=s,s===r){if(a===i.y)return i;if(a===i.next.y)return i.next}n=i.x=i.x&&i.x>=c&&r!==i.x&&v(an.x)&&x(i,t)&&(n=i,d=l),i=i.next;return n}(t,e)){var n=k(e,t);a(n,n.next)}}function f(t,e,n,i){var r=t;do{null===r.z&&(r.z=m(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,a,o,s,l,u=1;do{for(n=t,t=null,a=null,o=0;n;){for(o++,i=n,s=0,e=0;e0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:t=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(o>1)}(r)}function m(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function g(t){var e=t,n=t;do{(e.x=0&&(t-o)*(i-s)-(n-o)*(e-s)>=0&&(n-o)*(a-s)-(r-o)*(i-s)>=0}function y(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&w(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&x(t,e)&&x(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,a=(t.y+e.y)/2;do{n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)}function _(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function b(t,e){return t.x===e.x&&t.y===e.y}function w(t,e,n,i){return!!(b(t,e)&&b(n,i)||b(t,i)&&b(n,e))||_(t,e,n)>0!=_(t,e,i)>0&&_(n,i,t)>0!=_(n,i,e)>0}function x(t,e){return _(t.prev,t,t.next)<0?_(t,e,t.next)>=0&&_(t,t.prev,e)>=0:_(t,e,t.prev)<0||_(t,t.next,e)<0}function k(t,e){var n=new E(t.i,t.x,t.y),i=new E(e.i,e.x,e.y),r=t.next,a=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function C(t,e,n,i){var r=new E(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function T(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function E(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function S(t,e,n,i){for(var r=0,a=e,o=n-i;a0&&(i+=t[r-1].length,n.holes.push(i))}return n}},{}],nhDx:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function t(e){switch(e&&e.type||null){case"FeatureCollection":return e.features=e.features.reduce((function(e,n){return e.concat(t(n))}),[]),e;case"Feature":return e.geometry?t(e.geometry).map((function(t){var n={type:"Feature",properties:JSON.parse(JSON.stringify(e.properties)),geometry:t};return void 0!==e.id&&(n.id=e.id),n})):[e];case"MultiPoint":return e.coordinates.map((function(t){return{type:"Point",coordinates:t}}));case"MultiPolygon":return e.coordinates.map((function(t){return{type:"Polygon",coordinates:t}}));case"MultiLineString":return e.coordinates.map((function(t){return{type:"LineString",coordinates:t}}));case"GeometryCollection":return e.geometries.map(t).reduce((function(t,e){return t.concat(e)}),[]);case"Point":case"Polygon":case"LineString":return[e]}}},{}],AuwV:[function(t,e,n){var i;!function(t,r){"object"==typeof n&&void 0!==e?e.exports=r():"function"==typeof i&&i.amd?i(r):t.quickselect=r()}(this,(function(){"use strict";function t(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function e(t,e){return te?1:0}return function(n,i,r,a,o){!function e(n,i,r,a,o){for(;a>r;){if(a-r>600){var s=a-r+1,l=i-r+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);e(n,i,Math.max(r,Math.floor(i-l*c/s+h)),Math.min(a,Math.floor(i+(s-l)*c/s+h)),o)}var d=n[i],p=r,f=a;for(t(n,r,i),o(n[a],d)>0&&t(n,r,a);p0;)f--}0===o(n[r],d)?t(n,r,f):t(n,++f,a),f<=i&&(r=f+1),i<=f&&(a=f-1)}}(n,i,r||0,a||n.length-1,o||e)}}))},{}],O1rd:[function(t,e,n){"use strict";e.exports=r,e.exports.default=r;var i=t("quickselect");function r(t,e){if(!(this instanceof r))return new r(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function a(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function v(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function y(t,e,n,r,a){for(var o,s=[e,n];s.length;)(n=s.pop())-(e=s.pop())<=r||(o=e+Math.ceil((n-e)/r/2)*r,i(t,o,e,n,a),s.push(e,o,o,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],i=this.toBBox;if(!g(t,e))return n;for(var r,a,o,s,l=[];e;){for(r=0,a=e.children.length;r=0&&a[e].children.length>this._maxEntries;)this._split(a,e),e--;this._adjustParentBBoxes(r,a,e)},_split:function(t,e){var n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var a=this._chooseSplitIndex(n,r,i),s=v(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,o(n,this.toBBox),o(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},_splitRoot:function(t,e){this.data=v([t,e]),this.data.height=t.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var i,r,a,o,l,u,c,d;for(u=c=1/0,i=e;i<=n-e;i++)o=f(r=s(t,0,i,this.toBBox),a=s(t,i,n,this.toBBox)),l=h(r)+h(a),o=e;r--)a=t.children[r],l(c,t.leaf?o(a):a),h+=d(c);return h},_adjustParentBBoxes:function(t,e,n){for(var i=n;i>=0;i--)l(e[i],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():o(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},{quickselect:"AuwV"}],UTeA:[function(t,e,n){e.exports=function(t,e){for(var n=t[0],i=t[1],r=!1,a=0,o=e.length-1;ai!=c>i&&n<(u-s)*(i-l)/(c-l)+s&&(r=!r)}return r}},{}],cxFR:[function(t,e,n){"use strict";e.exports={getBoundingBox:function(t){for(var e=t[0],n={minX:e[0],minY:e[1],maxX:e[0],maxY:e[1]},i=1;in.maxX&&(n.maxX=a);var o=r[1];on.maxY&&(n.maxY=o)}return n}}},{}],yh9p:[function(t,e,n){"use strict";n.byteLength=function(t){var e=u(t),n=e[0],i=e[1];return 3*(n+i)/4-i},n.toByteArray=function(t){for(var e,n=u(t),i=n[0],o=n[1],s=new a(function(t,e,n){return 3*(e+n)/4-n}(0,i,o)),l=0,c=o>0?i-4:i,h=0;h>16&255,s[l++]=e>>8&255,s[l++]=255&e;return 2===o&&(e=r[t.charCodeAt(h)]<<2|r[t.charCodeAt(h+1)]>>4,s[l++]=255&e),1===o&&(e=r[t.charCodeAt(h)]<<10|r[t.charCodeAt(h+1)]<<4|r[t.charCodeAt(h+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e),s},n.fromByteArray=function(t){for(var e,n=t.length,r=n%3,a=[],o=0,s=n-r;os?s:o+16383));return 1===r?(e=t[n-1],a.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],a.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),a.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function h(t,e,n){for(var i,r=[],a=e;a>1,c=-7,h=n?r-1:0,d=n?-1:1,p=t[e+h];for(h+=d,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+t[e+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=i;c>0;o=256*o+t[e+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=u}return(p?-1:1)*o*Math.pow(2,a-i)},n.write=function(t,e,n,i,r,a){var o,s,l,u=8*a-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=c?(s=0,o=c):o+h>=1?(s=(e*l-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+p]=255&s,p+=f,s/=256,r-=8);for(o=o<0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*m}},{}],REa7:[function(t,e,n){var i={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},{}],peL6:[function(t,e,n){var i=arguments[3],r=t("base64-js"),a=t("ieee754"),o=t("isarray");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function l(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(l()=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),c.alloc(+t)}function w(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return tt(t).length;default:if(i)return J(t).length;e=(""+e).toLowerCase(),i=!0}}function x(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return D(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function k(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function C(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:T(t,e,n,i,r);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):T(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function T(t,e,n,i,r){var a,o=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var c=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;dr&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(a=t[r+1]))&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=t[r+1],o=t[r+2],128==(192&a)&&128==(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=t[r+1],o=t[r+2],s=t[r+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return N(i)}n.Buffer=c,n.SlowBuffer=b,n.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==i.TYPED_ARRAY_SUPPORT?i.TYPED_ARRAY_SUPPORT:s(),n.kMaxLength=l(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return h(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return p(null,t,e,n)},c.allocUnsafe=function(t){return f(null,t)},c.allocUnsafeSlow=function(t){return f(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,i,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),l=this.slice(i,r),u=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return S(this,t,e,n);case"ascii":return P(this,t,e,n);case"latin1":case"binary":return L(this,t,e,n);case"base64":return I(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var z=4096;function N(t){var e=t.length;if(e<=z)return String.fromCharCode.apply(String,t);for(var n="",i=0;ii)&&(n=i);for(var r="",a=e;an)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,i,r,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function q(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function $(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function G(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,i,r){return r||G(t,0,n,4),a.write(t,e,n,i,23,4),n+4}function H(t,e,n,i,r){return r||G(t,0,n,8),a.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e0&&(r*=256);)i+=this[t+--e]*r;return i},c.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var i=this[t],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},c.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),a.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),a.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),a.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),a.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||U(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+r]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):$(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):$(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):$(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):$(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return H(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return H(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function K(t){for(var e=[],n=0;n>8,r=n%256,a.push(r),a.push(i);return a}function tt(t){return r.toByteArray(Y(t))}function et(t,e,n,i){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function nt(t){return t!=t}},{"base64-js":"yh9p",ieee754:"JgNJ",isarray:"REa7",buffer:"peL6"}],B1iE:[function(t,e,n){t("buffer").Buffer;var i,r=arguments[3];t("buffer").Buffer;(function(){var t,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,h=128,d=256,p=1/0,f=9007199254740991,m=NaN,g=4294967295,v=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",d]],y="[object Arguments]",_="[object Array]",b="[object Boolean]",w="[object Date]",x="[object Error]",k="[object Function]",C="[object GeneratorFunction]",T="[object Map]",E="[object Number]",S="[object Object]",P="[object RegExp]",L="[object Set]",I="[object String]",O="[object Symbol]",A="[object WeakMap]",M="[object ArrayBuffer]",z="[object DataView]",N="[object Float32Array]",D="[object Float64Array]",R="[object Int8Array]",j="[object Int16Array]",F="[object Int32Array]",B="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",$="[object Uint32Array]",G=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,Z=RegExp(W.source),X=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,et=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,rt=RegExp(it.source),at=/^\s+|\s+$/g,ot=/^\s+/,st=/\s+$/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,ct=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,mt=/^[-+]0x[0-9a-f]+$/i,gt=/^0b[01]+$/i,vt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wt=/($^)/,xt=/['\n\r\u2028\u2029\\]/g,kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ct="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Tt="["+Ct+"]",Et="["+kt+"]",St="\\d+",Pt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Lt="[^\\ud800-\\udfff"+Ct+St+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",It="\\ud83c[\\udffb-\\udfff]",Ot="[^\\ud800-\\udfff]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Nt="(?:"+Pt+"|"+Lt+")",Dt="(?:"+zt+"|"+Lt+")",Rt="(?:"+Et+"|"+It+")?",jt="[\\ufe0e\\ufe0f]?"+Rt+"(?:\\u200d(?:"+[Ot,At,Mt].join("|")+")[\\ufe0e\\ufe0f]?"+Rt+")*",Ft="(?:"+["[\\u2700-\\u27bf]",At,Mt].join("|")+")"+jt,Bt="(?:"+[Ot+Et+"?",Et,At,Mt,"[\\ud800-\\udfff]"].join("|")+")",Ut=RegExp("['’]","g"),qt=RegExp(Et,"g"),$t=RegExp(It+"(?="+It+")|"+Bt+jt,"g"),Gt=RegExp([zt+"?"+Pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Tt,zt,"$"].join("|")+")",Dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Tt,zt+Nt,"$"].join("|")+")",zt+"?"+Nt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",zt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",St,Ft].join("|"),"g"),Vt=RegExp("[\\u200d\\ud800-\\udfff"+kt+"\\ufe0e\\ufe0f]"),Ht=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yt=-1,Zt={};Zt[N]=Zt[D]=Zt[R]=Zt[j]=Zt[F]=Zt[B]=Zt[U]=Zt[q]=Zt[$]=!0,Zt[y]=Zt[_]=Zt[M]=Zt[b]=Zt[z]=Zt[w]=Zt[x]=Zt[k]=Zt[T]=Zt[E]=Zt[S]=Zt[P]=Zt[L]=Zt[I]=Zt[A]=!1;var Xt={};Xt[y]=Xt[_]=Xt[M]=Xt[z]=Xt[b]=Xt[w]=Xt[N]=Xt[D]=Xt[R]=Xt[j]=Xt[F]=Xt[T]=Xt[E]=Xt[S]=Xt[P]=Xt[L]=Xt[I]=Xt[O]=Xt[B]=Xt[U]=Xt[q]=Xt[$]=!0,Xt[x]=Xt[k]=Xt[A]=!1;var Jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kt=parseFloat,Qt=parseInt,te="object"==typeof r&&r&&r.Object===Object&&r,ee="object"==typeof self&&self&&self.Object===Object&&self,ne=te||ee||Function("return this")(),ie="object"==typeof n&&n&&!n.nodeType&&n,re=ie&&"object"==typeof e&&e&&!e.nodeType&&e,ae=re&&re.exports===ie,oe=ae&&te.process,se=function(){try{return re&&re.require&&re.require("util").types||oe&&oe.binding&&oe.binding("util")}catch(t){}}(),le=se&&se.isArrayBuffer,ue=se&&se.isDate,ce=se&&se.isMap,he=se&&se.isRegExp,de=se&&se.isSet,pe=se&&se.isTypedArray;function fe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function me(t,e,n,i){for(var r=-1,a=null==t?0:t.length;++r-1}function we(t,e,n){for(var i=-1,r=null==t?0:t.length;++i-1;);return n}function $e(t,e){for(var n=t.length;n--&&Ie(e,t[n],0)>-1;);return n}var Ge=Ne({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ve=Ne({"&":"&","<":"<",">":">",'"':""","'":"'"});function He(t){return"\\"+Jt[t]}function We(t){return Vt.test(t)}function Ye(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function Ze(t,e){return function(n){return t(e(n))}}function Xe(t,e){for(var n=-1,i=t.length,r=0,a=[];++n",""":'"',"'":"'"}),en=function e(n){var i,r=(n=null==n?ne:en.defaults(ne.Object(),n,en.pick(ne,Wt))).Array,kt=n.Date,Ct=n.Error,Tt=n.Function,Et=n.Math,St=n.Object,Pt=n.RegExp,Lt=n.String,It=n.TypeError,Ot=r.prototype,At=Tt.prototype,Mt=St.prototype,zt=n["__core-js_shared__"],Nt=At.toString,Dt=Mt.hasOwnProperty,Rt=0,jt=(i=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",Ft=Mt.toString,Bt=Nt.call(St),$t=ne._,Vt=Pt("^"+Nt.call(Dt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jt=ae?n.Buffer:t,te=n.Symbol,ee=n.Uint8Array,ie=Jt?Jt.allocUnsafe:t,re=Ze(St.getPrototypeOf,St),oe=St.create,se=Mt.propertyIsEnumerable,Se=Ot.splice,Ne=te?te.isConcatSpreadable:t,nn=te?te.iterator:t,rn=te?te.toStringTag:t,an=function(){try{var t=la(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),on=n.clearTimeout!==ne.clearTimeout&&n.clearTimeout,sn=kt&&kt.now!==ne.Date.now&&kt.now,ln=n.setTimeout!==ne.setTimeout&&n.setTimeout,un=Et.ceil,cn=Et.floor,hn=St.getOwnPropertySymbols,dn=Jt?Jt.isBuffer:t,pn=n.isFinite,fn=Ot.join,mn=Ze(St.keys,St),gn=Et.max,vn=Et.min,yn=kt.now,_n=n.parseInt,bn=Et.random,wn=Ot.reverse,xn=la(n,"DataView"),kn=la(n,"Map"),Cn=la(n,"Promise"),Tn=la(n,"Set"),En=la(n,"WeakMap"),Sn=la(St,"create"),Pn=En&&new En,Ln={},In=za(xn),On=za(kn),An=za(Cn),Mn=za(Tn),zn=za(En),Nn=te?te.prototype:t,Dn=Nn?Nn.valueOf:t,Rn=Nn?Nn.toString:t;function jn(t){if(Ko(t)&&!Uo(t)&&!(t instanceof qn)){if(t instanceof Un)return t;if(Dt.call(t,"__wrapped__"))return Na(t)}return new Un(t)}var Fn=function(){function e(){}return function(n){if(!Jo(n))return{};if(oe)return oe(n);e.prototype=n;var i=new e;return e.prototype=t,i}}();function Bn(){}function Un(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=t}function qn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function $n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=n?e:n)),e}function oi(e,n,i,r,a,o){var s,l=1&n,u=2&n,c=4&n;if(i&&(s=a?i(e,r,a,o):i(e)),s!==t)return s;if(!Jo(e))return e;var h=Uo(e);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Dt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(e),!l)return Er(e,s)}else{var d=ha(e),p=d==k||d==C;if(Vo(e))return br(e,l);if(d==S||d==y||p&&!a){if(s=u||p?{}:pa(e),!l)return u?function(t,e){return Sr(t,ca(t),e)}(e,function(t,e){return t&&Sr(e,Ls(e),t)}(s,e)):function(t,e){return Sr(t,ua(t),e)}(e,ni(s,e))}else{if(!Xt[d])return a?e:{};s=function(t,e,n){var i,r,a,o=t.constructor;switch(e){case M:return wr(t);case b:case w:return new o(+t);case z:return function(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case N:case D:case R:case j:case F:case B:case U:case q:case $:return xr(t,n);case T:return new o;case E:case I:return new o(t);case P:return(a=new(r=t).constructor(r.source,ft.exec(r))).lastIndex=r.lastIndex,a;case L:return new o;case O:return i=t,Dn?St(Dn.call(i)):{}}}(e,d,l)}}o||(o=new Wn);var f=o.get(e);if(f)return f;o.set(e,s),is(e)?e.forEach((function(t){s.add(oi(t,n,i,t,e,o))})):Qo(e)&&e.forEach((function(t,r){s.set(r,oi(t,n,i,r,e,o))}));var m=h?t:(c?u?ea:ta:u?Ls:Ps)(e);return ge(m||e,(function(t,r){m&&(t=e[r=t]),Qn(s,r,oi(t,n,i,r,e,o))})),s}function si(e,n,i){var r=i.length;if(null==e)return!r;for(e=St(e);r--;){var a=i[r],o=n[a],s=e[a];if(s===t&&!(a in e)||!o(s))return!1}return!0}function li(e,n,i){if("function"!=typeof e)throw new It(a);return Sa((function(){e.apply(t,i)}),n)}function ui(t,e,n,i){var r=-1,a=be,o=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=xe(e,Fe(n))),i?(a=we,o=!1):e.length>=200&&(a=Ue,o=!1,e=new Hn(e));t:for(;++r-1},Gn.prototype.set=function(t,e){var n=this.__data__,i=ti(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(kn||Gn),string:new $n}},Vn.prototype.delete=function(t){var e=oa(this,t).delete(t);return this.size-=e?1:0,e},Vn.prototype.get=function(t){return oa(this,t).get(t)},Vn.prototype.has=function(t){return oa(this,t).has(t)},Vn.prototype.set=function(t,e){var n=oa(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Hn.prototype.add=Hn.prototype.push=function(t){return this.__data__.set(t,o),this},Hn.prototype.has=function(t){return this.__data__.has(t)},Wn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Wn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Wn.prototype.get=function(t){return this.__data__.get(t)},Wn.prototype.has=function(t){return this.__data__.has(t)},Wn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var i=n.__data__;if(!kn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Vn(i)}return n.set(t,e),this.size=n.size,this};var ci=Ir(yi),hi=Ir(_i,!0);function di(t,e){var n=!0;return ci(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function pi(e,n,i){for(var r=-1,a=e.length;++r0&&n(s)?e>1?mi(s,e-1,n,i,r):ke(r,s):i||(r[r.length]=s)}return r}var gi=Or(),vi=Or(!0);function yi(t,e){return t&&gi(t,e,Ps)}function _i(t,e){return t&&vi(t,e,Ps)}function bi(t,e){return _e(e,(function(e){return Yo(t[e])}))}function wi(e,n){for(var i=0,r=(n=gr(n,e)).length;null!=e&&ie}function Ti(t,e){return null!=t&&Dt.call(t,e)}function Ei(t,e){return null!=t&&e in St(t)}function Si(e,n,i){for(var a=i?we:be,o=e[0].length,s=e.length,l=s,u=r(s),c=1/0,h=[];l--;){var d=e[l];l&&n&&(d=xe(d,Fe(n))),c=vn(d.length,c),u[l]=!i&&(n||o>=120&&d.length>=120)?new Hn(l&&d):t}d=e[0];var p=-1,f=u[0];t:for(;++p=s?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}))}function qi(t,e,n){for(var i=-1,r=e.length,a={};++i-1;)s!==t&&Se.call(s,l,1),Se.call(t,l,1);return t}function Gi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==a){var a=r;ma(r)?Se.call(t,r,1):lr(t,r)}}return t}function Vi(t,e){return t+cn(bn()*(e-t+1))}function Hi(t,e){var n="";if(!t||e<1||e>f)return n;do{e%2&&(n+=t),(e=cn(e/2))&&(t+=t)}while(e);return n}function Wi(t,e){return Pa(ka(t,e,tl),t+"")}function Yi(t){return Zn(Rs(t))}function Zi(t,e){var n=Rs(t);return Oa(n,ai(e,0,n.length))}function Xi(e,n,i,r){if(!Jo(e))return e;for(var a=-1,o=(n=gr(n,e)).length,s=o-1,l=e;null!=l&&++aa?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=r(a);++i>>1,o=t[a];null!==o&&!as(o)&&(n?o<=e:o=200){var u=e?null:Hr(t);if(u)return Je(u);o=!1,r=Ue,l=new Hn}else l=e?[]:s;t:for(;++i=r?e:tr(e,n,i)}var _r=on||function(t){return ne.clearTimeout(t)};function br(t,e){if(e)return t.slice();var n=t.length,i=ie?ie(n):new t.constructor(n);return t.copy(i),i}function wr(t){var e=new t.constructor(t.byteLength);return new ee(e).set(new ee(t)),e}function xr(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function kr(e,n){if(e!==n){var i=e!==t,r=null===e,a=e==e,o=as(e),s=n!==t,l=null===n,u=n==n,c=as(n);if(!l&&!c&&!o&&e>n||o&&s&&u&&!l&&!c||r&&s&&u||!i&&u||!a)return 1;if(!r&&!o&&!c&&e1?i[a-1]:t,s=a>2?i[2]:t;for(o=e.length>3&&"function"==typeof o?(a--,o):t,s&&ga(i[0],i[1],s)&&(o=a<3?t:o,a=1),n=St(n);++r-1?a[o?n[s]:s]:t}}function Dr(e){return Qr((function(n){var i=n.length,r=i,o=Un.prototype.thru;for(e&&n.reverse();r--;){var s=n[r];if("function"!=typeof s)throw new It(a);if(o&&!l&&"wrapper"==ia(s))var l=new Un([],!0)}for(r=l?r:i;++r1&&b.reverse(),p&&c<_&&(b.length=c),this&&this!==ne&&this instanceof h&&(E=y||zr(E)),E.apply(T,b)}}function jr(t,e){return function(n,i){return function(t,e,n,i){return yi(t,(function(t,r,a){e(i,n(t),r,a)})),i}(n,t,e(i),{})}}function Fr(e,n){return function(i,r){var a;if(i===t&&r===t)return n;if(i!==t&&(a=i),r!==t){if(a===t)return r;"string"==typeof i||"string"==typeof r?(i=or(i),r=or(r)):(i=ar(i),r=ar(r)),a=e(i,r)}return a}}function Br(t){return Qr((function(e){return e=xe(e,Fe(aa())),Wi((function(n){var i=this;return t(e,(function(t){return fe(t,i,n)}))}))}))}function Ur(e,n){var i=(n=n===t?" ":or(n)).length;if(i<2)return i?Hi(n,e):n;var r=Hi(n,un(e/Ke(n)));return We(n)?yr(Qe(r),0,e).join(""):r.slice(0,e)}function qr(e){return function(n,i,a){return a&&"number"!=typeof a&&ga(n,i,a)&&(i=a=t),n=cs(n),i===t?(i=n,n=0):i=cs(i),function(t,e,n,i){for(var a=-1,o=gn(un((e-t)/(n||1)),0),s=r(o);o--;)s[i?o:++a]=t,t+=n;return s}(n,i,a=a===t?nl))return!1;var c=o.get(e),h=o.get(n);if(c&&h)return c==n&&h==e;var d=-1,p=!0,f=2&i?new Hn:t;for(o.set(e,n),o.set(n,e);++d-1&&t%1==0&&t1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return ge(v,(function(n){var i="_."+n[0];e&n[1]&&!be(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(ut);return e?e[1].split(ct):[]}(i),n)))}function Ia(e){var n=0,i=0;return function(){var r=yn(),a=16-(r-i);if(i=r,a>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(t,arguments)}}function Oa(e,n){var i=-1,r=e.length,a=r-1;for(n=n===t?r:n;++i1?e[n-1]:t;return i="function"==typeof i?(e.pop(),i):t,eo(e,i)}));function lo(t){var e=jn(t);return e.__chain__=!0,e}function uo(t,e){return e(t)}var co=Qr((function(e){var n=e.length,i=n?e[0]:0,r=this.__wrapped__,a=function(t){return ri(t,e)};return!(n>1||this.__actions__.length)&&r instanceof qn&&ma(i)?((r=r.slice(i,+i+(n?1:0))).__actions__.push({func:uo,args:[a],thisArg:t}),new Un(r,this.__chain__).thru((function(e){return n&&!e.length&&e.push(t),e}))):this.thru(a)})),ho=Pr((function(t,e,n){Dt.call(t,n)?++t[n]:ii(t,n,1)})),po=Nr(Fa),fo=Nr(Ba);function mo(t,e){return(Uo(t)?ge:ci)(t,aa(e,3))}function go(t,e){return(Uo(t)?ve:hi)(t,aa(e,3))}var vo=Pr((function(t,e,n){Dt.call(t,n)?t[n].push(e):ii(t,n,[e])})),yo=Wi((function(t,e,n){var i=-1,a="function"==typeof e,o=$o(t)?r(t.length):[];return ci(t,(function(t){o[++i]=a?fe(e,t,n):Pi(t,e,n)})),o})),_o=Pr((function(t,e,n){ii(t,n,e)}));function bo(t,e){return(Uo(t)?xe:Di)(t,aa(e,3))}var wo=Pr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),xo=Wi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ga(t,e[0],e[1])?e=[]:n>2&&ga(e[0],e[1],e[2])&&(e=[e[0]]),Ui(t,mi(e,1),[])})),ko=sn||function(){return ne.Date.now()};function Co(e,n,i){return n=i?t:n,n=e&&null==n?e.length:n,Yr(e,h,t,t,t,t,n)}function To(e,n){var i;if("function"!=typeof n)throw new It(a);return e=hs(e),function(){return--e>0&&(i=n.apply(this,arguments)),e<=1&&(n=t),i}}var Eo=Wi((function(t,e,n){var i=1;if(n.length){var r=Xe(n,ra(Eo));i|=u}return Yr(t,i,e,n,r)})),So=Wi((function(t,e,n){var i=3;if(n.length){var r=Xe(n,ra(So));i|=u}return Yr(e,i,t,n,r)}));function Po(e,n,i){var r,o,s,l,u,c,h=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw new It(a);function m(n){var i=r,a=o;return r=o=t,h=n,l=e.apply(a,i)}function g(e){var i=e-c;return c===t||i>=n||i<0||p&&e-h>=s}function v(){var t=ko();if(g(t))return y(t);u=Sa(v,function(t){var e=n-(t-c);return p?vn(e,s-(t-h)):e}(t))}function y(e){return u=t,f&&r?m(e):(r=o=t,l)}function _(){var e=ko(),i=g(e);if(r=arguments,o=this,c=e,i){if(u===t)return function(t){return h=t,u=Sa(v,n),d?m(t):l}(c);if(p)return _r(u),u=Sa(v,n),m(c)}return u===t&&(u=Sa(v,n)),l}return n=ps(n)||0,Jo(i)&&(d=!!i.leading,s=(p="maxWait"in i)?gn(ps(i.maxWait)||0,n):s,f="trailing"in i?!!i.trailing:f),_.cancel=function(){u!==t&&_r(u),h=0,r=c=o=u=t},_.flush=function(){return u===t?l:y(ko())},_}var Lo=Wi((function(t,e){return li(t,1,e)})),Io=Wi((function(t,e,n){return li(t,ps(e)||0,n)}));function Oo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new It(a);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(Oo.Cache||Vn),n}function Ao(t){if("function"!=typeof t)throw new It(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Oo.Cache=Vn;var Mo=vr((function(t,e){var n=(e=1==e.length&&Uo(e[0])?xe(e[0],Fe(aa())):xe(mi(e,1),Fe(aa()))).length;return Wi((function(i){for(var r=-1,a=vn(i.length,n);++r=e})),Bo=Li(function(){return arguments}())?Li:function(t){return Ko(t)&&Dt.call(t,"callee")&&!se.call(t,"callee")},Uo=r.isArray,qo=le?Fe(le):function(t){return Ko(t)&&ki(t)==M};function $o(t){return null!=t&&Xo(t.length)&&!Yo(t)}function Go(t){return Ko(t)&&$o(t)}var Vo=dn||pl,Ho=ue?Fe(ue):function(t){return Ko(t)&&ki(t)==w};function Wo(t){if(!Ko(t))return!1;var e=ki(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!es(t)}function Yo(t){if(!Jo(t))return!1;var e=ki(t);return e==k||e==C||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zo(t){return"number"==typeof t&&t==hs(t)}function Xo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Jo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ko(t){return null!=t&&"object"==typeof t}var Qo=ce?Fe(ce):function(t){return Ko(t)&&ha(t)==T};function ts(t){return"number"==typeof t||Ko(t)&&ki(t)==E}function es(t){if(!Ko(t)||ki(t)!=S)return!1;var e=re(t);if(null===e)return!0;var n=Dt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Nt.call(n)==Bt}var ns=he?Fe(he):function(t){return Ko(t)&&ki(t)==P},is=de?Fe(de):function(t){return Ko(t)&&ha(t)==L};function rs(t){return"string"==typeof t||!Uo(t)&&Ko(t)&&ki(t)==I}function as(t){return"symbol"==typeof t||Ko(t)&&ki(t)==O}var os=pe?Fe(pe):function(t){return Ko(t)&&Xo(t.length)&&!!Zt[ki(t)]},ss=$r(Ni),ls=$r((function(t,e){return t<=e}));function us(t){if(!t)return[];if($o(t))return rs(t)?Qe(t):Er(t);if(nn&&t[nn])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[nn]());var e=ha(t);return(e==T?Ye:e==L?Je:Rs)(t)}function cs(t){return t?(t=ps(t))===p||t===-p?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function hs(t){var e=cs(t),n=e%1;return e==e?n?e-n:e:0}function ds(t){return t?ai(hs(t),0,g):0}function ps(t){if("number"==typeof t)return t;if(as(t))return m;if(Jo(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Jo(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(at,"");var n=gt.test(t);return n||yt.test(t)?Qt(t.slice(2),n?2:8):mt.test(t)?m:+t}function fs(t){return Sr(t,Ls(t))}function ms(t){return null==t?"":or(t)}var gs=Lr((function(t,e){if(ba(e)||$o(e))Sr(e,Ps(e),t);else for(var n in e)Dt.call(e,n)&&Qn(t,n,e[n])})),vs=Lr((function(t,e){Sr(e,Ls(e),t)})),ys=Lr((function(t,e,n,i){Sr(e,Ls(e),t,i)})),_s=Lr((function(t,e,n,i){Sr(e,Ps(e),t,i)})),bs=Qr(ri),ws=Wi((function(e,n){e=St(e);var i=-1,r=n.length,a=r>2?n[2]:t;for(a&&ga(n[0],n[1],a)&&(r=1);++i1),e})),Sr(t,ea(t),n),i&&(n=oi(n,7,Jr));for(var r=e.length;r--;)lr(n,e[r]);return n})),Ms=Qr((function(t,e){return null==t?{}:function(t,e){return qi(t,e,(function(e,n){return Cs(t,n)}))}(t,e)}));function zs(t,e){if(null==t)return{};var n=xe(ea(t),(function(t){return[t]}));return e=aa(e),qi(t,n,(function(t,n){return e(t,n[0])}))}var Ns=Wr(Ps),Ds=Wr(Ls);function Rs(t){return null==t?[]:Be(t,Ps(t))}var js=Mr((function(t,e,n){return e=e.toLowerCase(),t+(n?Fs(e):e)}));function Fs(t){return Ws(ms(t).toLowerCase())}function Bs(t){return(t=ms(t))&&t.replace(bt,Ge).replace(qt,"")}var Us=Mr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),qs=Mr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),$s=Ar("toLowerCase"),Gs=Mr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Vs=Mr((function(t,e,n){return t+(n?" ":"")+Ws(e)})),Hs=Mr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ws=Ar("toUpperCase");function Ys(e,n,i){return e=ms(e),(n=i?t:n)===t?function(t){return Ht.test(t)}(e)?function(t){return t.match(Gt)||[]}(e):function(t){return t.match(ht)||[]}(e):e.match(n)||[]}var Zs=Wi((function(e,n){try{return fe(e,t,n)}catch(t){return Wo(t)?t:new Ct(t)}})),Xs=Qr((function(t,e){return ge(e,(function(e){e=Ma(e),ii(t,e,Eo(t[e],t))})),t}));function Js(t){return function(){return t}}var Ks=Dr(),Qs=Dr(!0);function tl(t){return t}function el(t){return Mi("function"==typeof t?t:oi(t,1))}var nl=Wi((function(t,e){return function(n){return Pi(n,t,e)}})),il=Wi((function(t,e){return function(n){return Pi(t,n,e)}}));function rl(t,e,n){var i=Ps(e),r=bi(e,i);null!=n||Jo(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=bi(e,Ps(e)));var a=!(Jo(n)&&"chain"in n&&!n.chain),o=Yo(t);return ge(r,(function(n){var i=e[n];t[n]=i,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__);return(n.__actions__=Er(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,ke([this.value()],arguments))})})),t}function al(){}var ol=Br(xe),sl=Br(ye),ll=Br(Ee);function ul(t){return va(t)?ze(Ma(t)):function(t){return function(e){return wi(e,t)}}(t)}var cl=qr(),hl=qr(!0);function dl(){return[]}function pl(){return!1}var fl,ml=Fr((function(t,e){return t+e}),0),gl=Vr("ceil"),vl=Fr((function(t,e){return t/e}),1),yl=Vr("floor"),_l=Fr((function(t,e){return t*e}),1),bl=Vr("round"),wl=Fr((function(t,e){return t-e}),0);return jn.after=function(t,e){if("function"!=typeof e)throw new It(a);return t=hs(t),function(){if(--t<1)return e.apply(this,arguments)}},jn.ary=Co,jn.assign=gs,jn.assignIn=vs,jn.assignInWith=ys,jn.assignWith=_s,jn.at=bs,jn.before=To,jn.bind=Eo,jn.bindAll=Xs,jn.bindKey=So,jn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Uo(t)?t:[t]},jn.chain=lo,jn.chunk=function(e,n,i){n=(i?ga(e,n,i):n===t)?1:gn(hs(n),0);var a=null==e?0:e.length;if(!a||n<1)return[];for(var o=0,s=0,l=r(un(a/n));oa?0:a+i),(r=r===t||r>a?a:hs(r))<0&&(r+=a),r=i>r?0:ds(r);i>>0)?(e=ms(e))&&("string"==typeof n||null!=n&&!ns(n))&&!(n=or(n))&&We(e)?yr(Qe(e),0,i):e.split(n,i):[]},jn.spread=function(t,e){if("function"!=typeof t)throw new It(a);return e=null==e?0:gn(hs(e),0),Wi((function(n){var i=n[e],r=yr(n,0,e);return i&&ke(r,i),fe(t,this,r)}))},jn.tail=function(t){var e=null==t?0:t.length;return e?tr(t,1,e):[]},jn.take=function(e,n,i){return e&&e.length?tr(e,0,(n=i||n===t?1:hs(n))<0?0:n):[]},jn.takeRight=function(e,n,i){var r=null==e?0:e.length;return r?tr(e,(n=r-(n=i||n===t?1:hs(n)))<0?0:n,r):[]},jn.takeRightWhile=function(t,e){return t&&t.length?cr(t,aa(e,3),!1,!0):[]},jn.takeWhile=function(t,e){return t&&t.length?cr(t,aa(e,3)):[]},jn.tap=function(t,e){return e(t),t},jn.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new It(a);return Jo(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Po(t,e,{leading:i,maxWait:e,trailing:r})},jn.thru=uo,jn.toArray=us,jn.toPairs=Ns,jn.toPairsIn=Ds,jn.toPath=function(t){return Uo(t)?xe(t,Ma):as(t)?[t]:Er(Aa(ms(t)))},jn.toPlainObject=fs,jn.transform=function(t,e,n){var i=Uo(t),r=i||Vo(t)||os(t);if(e=aa(e,4),null==n){var a=t&&t.constructor;n=r?i?new a:[]:Jo(t)&&Yo(a)?Fn(re(t)):{}}return(r?ge:yi)(t,(function(t,i,r){return e(n,t,i,r)})),n},jn.unary=function(t){return Co(t,1)},jn.union=Ja,jn.unionBy=Ka,jn.unionWith=Qa,jn.uniq=function(t){return t&&t.length?sr(t):[]},jn.uniqBy=function(t,e){return t&&t.length?sr(t,aa(e,2)):[]},jn.uniqWith=function(e,n){return n="function"==typeof n?n:t,e&&e.length?sr(e,t,n):[]},jn.unset=function(t,e){return null==t||lr(t,e)},jn.unzip=to,jn.unzipWith=eo,jn.update=function(t,e,n){return null==t?t:ur(t,e,mr(n))},jn.updateWith=function(e,n,i,r){return r="function"==typeof r?r:t,null==e?e:ur(e,n,mr(i),r)},jn.values=Rs,jn.valuesIn=function(t){return null==t?[]:Be(t,Ls(t))},jn.without=no,jn.words=Ys,jn.wrap=function(t,e){return zo(mr(e),t)},jn.xor=io,jn.xorBy=ro,jn.xorWith=ao,jn.zip=oo,jn.zipObject=function(t,e){return pr(t||[],e||[],Qn)},jn.zipObjectDeep=function(t,e){return pr(t||[],e||[],Xi)},jn.zipWith=so,jn.entries=Ns,jn.entriesIn=Ds,jn.extend=vs,jn.extendWith=ys,rl(jn,jn),jn.add=ml,jn.attempt=Zs,jn.camelCase=js,jn.capitalize=Fs,jn.ceil=gl,jn.clamp=function(e,n,i){return i===t&&(i=n,n=t),i!==t&&(i=(i=ps(i))==i?i:0),n!==t&&(n=(n=ps(n))==n?n:0),ai(ps(e),n,i)},jn.clone=function(t){return oi(t,4)},jn.cloneDeep=function(t){return oi(t,5)},jn.cloneDeepWith=function(e,n){return oi(e,5,n="function"==typeof n?n:t)},jn.cloneWith=function(e,n){return oi(e,4,n="function"==typeof n?n:t)},jn.conformsTo=function(t,e){return null==e||si(t,e,Ps(e))},jn.deburr=Bs,jn.defaultTo=function(t,e){return null==t||t!=t?e:t},jn.divide=vl,jn.endsWith=function(e,n,i){e=ms(e),n=or(n);var r=e.length,a=i=i===t?r:ai(hs(i),0,r);return(i-=n.length)>=0&&e.slice(i,a)==n},jn.eq=Ro,jn.escape=function(t){return(t=ms(t))&&X.test(t)?t.replace(Y,Ve):t},jn.escapeRegExp=function(t){return(t=ms(t))&&rt.test(t)?t.replace(it,"\\$&"):t},jn.every=function(e,n,i){var r=Uo(e)?ye:di;return i&&ga(e,n,i)&&(n=t),r(e,aa(n,3))},jn.find=po,jn.findIndex=Fa,jn.findKey=function(t,e){return Pe(t,aa(e,3),yi)},jn.findLast=fo,jn.findLastIndex=Ba,jn.findLastKey=function(t,e){return Pe(t,aa(e,3),_i)},jn.floor=yl,jn.forEach=mo,jn.forEachRight=go,jn.forIn=function(t,e){return null==t?t:gi(t,aa(e,3),Ls)},jn.forInRight=function(t,e){return null==t?t:vi(t,aa(e,3),Ls)},jn.forOwn=function(t,e){return t&&yi(t,aa(e,3))},jn.forOwnRight=function(t,e){return t&&_i(t,aa(e,3))},jn.get=ks,jn.gt=jo,jn.gte=Fo,jn.has=function(t,e){return null!=t&&da(t,e,Ti)},jn.hasIn=Cs,jn.head=qa,jn.identity=tl,jn.includes=function(t,e,n,i){t=$o(t)?t:Rs(t),n=n&&!i?hs(n):0;var r=t.length;return n<0&&(n=gn(r+n,0)),rs(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Ie(t,e,n)>-1},jn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:hs(n);return r<0&&(r=gn(i+r,0)),Ie(t,e,r)},jn.inRange=function(e,n,i){return n=cs(n),i===t?(i=n,n=0):i=cs(i),function(t,e,n){return t>=vn(e,n)&&t=-f&&t<=f},jn.isSet=is,jn.isString=rs,jn.isSymbol=as,jn.isTypedArray=os,jn.isUndefined=function(e){return e===t},jn.isWeakMap=function(t){return Ko(t)&&ha(t)==A},jn.isWeakSet=function(t){return Ko(t)&&"[object WeakSet]"==ki(t)},jn.join=function(t,e){return null==t?"":fn.call(t,e)},jn.kebabCase=Us,jn.last=Ha,jn.lastIndexOf=function(e,n,i){var r=null==e?0:e.length;if(!r)return-1;var a=r;return i!==t&&(a=(a=hs(i))<0?gn(r+a,0):vn(a,r-1)),n==n?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(e,n,a):Le(e,Ae,a,!0)},jn.lowerCase=qs,jn.lowerFirst=$s,jn.lt=ss,jn.lte=ls,jn.max=function(e){return e&&e.length?pi(e,tl,Ci):t},jn.maxBy=function(e,n){return e&&e.length?pi(e,aa(n,2),Ci):t},jn.mean=function(t){return Me(t,tl)},jn.meanBy=function(t,e){return Me(t,aa(e,2))},jn.min=function(e){return e&&e.length?pi(e,tl,Ni):t},jn.minBy=function(e,n){return e&&e.length?pi(e,aa(n,2),Ni):t},jn.stubArray=dl,jn.stubFalse=pl,jn.stubObject=function(){return{}},jn.stubString=function(){return""},jn.stubTrue=function(){return!0},jn.multiply=_l,jn.nth=function(e,n){return e&&e.length?Bi(e,hs(n)):t},jn.noConflict=function(){return ne._===this&&(ne._=$t),this},jn.noop=al,jn.now=ko,jn.pad=function(t,e,n){t=ms(t);var i=(e=hs(e))?Ke(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Ur(cn(r),n)+t+Ur(un(r),n)},jn.padEnd=function(t,e,n){t=ms(t);var i=(e=hs(e))?Ke(t):0;return e&&in){var r=e;e=n,n=r}if(i||e%1||n%1){var a=bn();return vn(e+a*(n-e+Kt("1e-"+((a+"").length-1))),n)}return Vi(e,n)},jn.reduce=function(t,e,n){var i=Uo(t)?Ce:De,r=arguments.length<3;return i(t,aa(e,4),n,r,ci)},jn.reduceRight=function(t,e,n){var i=Uo(t)?Te:De,r=arguments.length<3;return i(t,aa(e,4),n,r,hi)},jn.repeat=function(e,n,i){return n=(i?ga(e,n,i):n===t)?1:hs(n),Hi(ms(e),n)},jn.replace=function(){var t=arguments,e=ms(t[0]);return t.length<3?e:e.replace(t[1],t[2])},jn.result=function(e,n,i){var r=-1,a=(n=gr(n,e)).length;for(a||(a=1,e=t);++rf)return[];var n=g,i=vn(t,g);e=aa(e),t-=g;for(var r=je(i,e);++n=o)return e;var l=i-Ke(r);if(l<1)return r;var u=s?yr(s,0,l).join(""):e.slice(0,l);if(a===t)return u+r;if(s&&(l+=u.length-l),ns(a)){if(e.slice(l).search(a)){var c,h=u;for(a.global||(a=Pt(a.source,ms(ft.exec(a))+"g")),a.lastIndex=0;c=a.exec(h);)var d=c.index;u=u.slice(0,d===t?l:d)}}else if(e.indexOf(or(a),l)!=l){var p=u.lastIndexOf(a);p>-1&&(u=u.slice(0,p))}return u+r},jn.unescape=function(t){return(t=ms(t))&&Z.test(t)?t.replace(W,tn):t},jn.uniqueId=function(t){var e=++Rt;return ms(t)+e},jn.upperCase=Hs,jn.upperFirst=Ws,jn.each=mo,jn.eachRight=go,jn.first=qa,rl(jn,(fl={},yi(jn,(function(t,e){Dt.call(jn.prototype,e)||(fl[e]=t)})),fl),{chain:!1}),jn.VERSION="4.17.19",ge(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){jn[t].placeholder=jn})),ge(["drop","take"],(function(e,n){qn.prototype[e]=function(i){i=i===t?1:gn(hs(i),0);var r=this.__filtered__&&!n?new qn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(i,r.__takeCount__):r.__views__.push({size:vn(i,g),type:e+(r.__dir__<0?"Right":"")}),r},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ge(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;qn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:aa(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),ge(["head","last"],(function(t,e){var n="take"+(e?"Right":"");qn.prototype[t]=function(){return this[n](1).value()[0]}})),ge(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");qn.prototype[t]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(tl)},qn.prototype.find=function(t){return this.filter(t).head()},qn.prototype.findLast=function(t){return this.reverse().find(t)},qn.prototype.invokeMap=Wi((function(t,e){return"function"==typeof t?new qn(this):this.map((function(n){return Pi(n,t,e)}))})),qn.prototype.reject=function(t){return this.filter(Ao(aa(t)))},qn.prototype.slice=function(e,n){e=hs(e);var i=this;return i.__filtered__&&(e>0||n<0)?new qn(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),n!==t&&(i=(n=hs(n))<0?i.dropRight(-n):i.take(n-e)),i)},qn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},qn.prototype.toArray=function(){return this.take(g)},yi(qn.prototype,(function(e,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),a=jn[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);a&&(jn.prototype[n]=function(){var n=this.__wrapped__,s=r?[1]:arguments,l=n instanceof qn,u=s[0],c=l||Uo(n),h=function(t){var e=a.apply(jn,ke([t],s));return r&&d?e[0]:e};c&&i&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,f=o&&!d,m=l&&!p;if(!o&&c){n=m?n:new qn(this);var g=e.apply(n,s);return g.__actions__.push({func:uo,args:[h],thisArg:t}),new Un(g,d)}return f&&m?e.apply(this,s):(g=this.thru(h),f?r?g.value()[0]:g.value():g)})})),ge(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Ot[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);jn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Uo(r)?r:[],t)}return this[n]((function(n){return e.apply(Uo(n)?n:[],t)}))}})),yi(qn.prototype,(function(t,e){var n=jn[e];if(n){var i=n.name+"";Dt.call(Ln,i)||(Ln[i]=[]),Ln[i].push({name:e,func:n})}})),Ln[Rr(t,2).name]=[{name:"wrapper",func:t}],qn.prototype.clone=function(){var t=new qn(this.__wrapped__);return t.__actions__=Er(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Er(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Er(this.__views__),t},qn.prototype.reverse=function(){if(this.__filtered__){var t=new qn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},qn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Uo(t),i=e<0,r=n?t.length:0,a=function(t,e,n){for(var i=-1,r=n.length;++i=this.__values__.length;return{done:e,value:e?t:this.__values__[this.__index__++]}},jn.prototype.plant=function(e){for(var n,i=this;i instanceof Bn;){var r=Na(i);r.__index__=0,r.__values__=t,n?a.__wrapped__=r:n=r;var a=r;i=i.__wrapped__}return a.__wrapped__=e,n},jn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var n=e;return this.__actions__.length&&(n=new qn(this)),(n=n.reverse()).__actions__.push({func:uo,args:[Xa],thisArg:t}),new Un(n,this.__chain__)}return this.thru(Xa)},jn.prototype.toJSON=jn.prototype.valueOf=jn.prototype.value=function(){return hr(this.__wrapped__,this.__actions__)},jn.prototype.first=jn.prototype.head,nn&&(jn.prototype[nn]=function(){return this}),jn}();"function"==typeof i&&"object"==typeof i.amd&&i.amd?(ne._=en,i((function(){return en}))):re?((re.exports=en)._=en,ie._=en):ne._=en}).call(this)},{buffer:"peL6"}],PG4O:[function(t,e,n){"use strict";var i=t("rbush"),r=t("point-in-polygon"),a=t("./lib/polygon_utils"),o=t("lodash");function s(t){void 0!==t&&this.loadFeatureCollection(t)}function l(t,e){var n=e.geometry.coordinates[0];if(r(t,n)){for(var i=1;i=n||!l(i,t)||(o++,0))}))}},s.prototype.search=function(t,e,n){return void 0===n?this.searchForOnePolygon(t,e):this.searchForMultiplePolygons(t,e,n)},s.prototype.loadFeatureCollection=function(t){var e=[],n=[],r=0;function o(t){n.push(t);var i=a.getBoundingBox(t.geometry.coordinates[0]);i.polyId=r++,e.push(i)}t.features.forEach((function(t){if(t.geometry&&void 0!==t.geometry.coordinates[0]&&t.geometry.coordinates[0].length>0)switch(t.geometry.type){case"Polygon":o(t);break;case"MultiPolygon":for(var e=t.geometry.coordinates,n=0;n border) {\n t = 1.0;\n } else if (dist > 0.0) {\n t = dist / border;\n }\n\n //works for overlapping circles if blending is enabled\n gl_FragColor = mix(color0, color1, t);\n}\n"},{}],XGkG:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n float border = 0.1;\n float radius = 0.5;\n vec2 center = vec2(0.5, 0.5);\n\n vec4 pointColor = vec4(\n _color[0],\n _color[1],\n _color[2],\n _color[3]\n );\n\n vec2 m = gl_PointCoord.xy - center;\n float dist1 = radius - sqrt(m.x * m.x + m.y * m.y);\n\n float t1 = 0.0;\n if (dist1 > border) {\n t1 = 1.0;\n } else if (dist1 > 0.0) {\n t1 = dist1 / border;\n }\n\n //works for overlapping circles if blending is enabled\n //gl_FragColor = mix(color0, color1, t);\n\n //border\n float outerBorder = 0.05;\n float innerBorder = 0.8;\n vec4 borderColor = vec4(0, 0, 0, 0.4);\n vec2 uv = gl_PointCoord.xy;\n vec4 clearColor = vec4(0, 0, 0, 0);\n\n // Offset uv with the center of the circle.\n uv -= center;\n\n float dist2 = sqrt(dot(uv, uv));\n\n float t2 = 1.0 + smoothstep(radius, radius + outerBorder, dist2)\n - smoothstep(radius - innerBorder, radius, dist2);\n\n gl_FragColor = mix(mix(borderColor, clearColor, t2), pointColor, t1);\n}\n"},{}],AY9x:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n vec2 center = vec2(0.5);\n vec2 uv = gl_PointCoord.xy - center;\n float smoothing = 0.005;\n vec4 _color1 = vec4(_color[0], _color[1], _color[2], _color[3]);\n float radius1 = 0.3;\n vec4 _color2 = vec4(_color[0], _color[1], _color[2], _color[3]);\n float radius2 = 0.5;\n float dist = length(uv);\n\n //SMOOTH\n float gamma = 2.2;\n color1.rgb = pow(_color1.rgb, vec3(gamma));\n color2.rgb = pow(_color2.rgb, vec3(gamma));\n\n vec4 puck = mix(\n mix(\n _color1,\n _color2,\n smoothstep(\n radius1 - smoothing,\n radius1 + smoothing,\n dist\n )\n ),\n vec4(0,0,0,0),\n smoothstep(\n radius2 - smoothing,\n radius2 + smoothing,\n dist\n )\n );\n\n //Gamma correction (prevents color fringes)\n puck.rgb = pow(puck.rgb, vec3(1.0 / gamma));\n gl_FragColor = puck;\n}\n"},{}],R6F0:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n vec4 color1 = vec4(_color[0], _color[1], _color[2], _color[3]);\n\n //simple circles\n float d = distance (gl_PointCoord, vec2(0.5, 0.5));\n if (d < 0.5 ){\n gl_FragColor = color1;\n } else {\n discard;\n }\n}\n"},{}],sqgp:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n //squares\n gl_FragColor = vec4(_color[0], _color[1], _color[2], _color[3]);\n}\n"},{}],JKQp:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n gl_FragColor = vec4(\n _color[0],\n _color[1],\n _color[2],\n _color[3]\n );\n}\n"},{}],QCba:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.glify=void 0;var i=t("./lines"),r=t("./points"),a=t("./shapes"),o=t("./utils"),s=f(t("./shader/vertex/default.glsl")),l=f(t("./shader/fragment/dot.glsl")),u=f(t("./shader/fragment/point.glsl")),c=f(t("./shader/fragment/puck.glsl")),h=f(t("./shader/fragment/simple-circle.glsl")),d=f(t("./shader/fragment/square.glsl")),p=f(t("./shader/fragment/polygon.glsl"));function f(t){return t&&t.__esModule?t:{default:t}}function m(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n10&&(document.getElementById("sendcoinbutton").disabled=!1),this.inputltrx.length<10&&(document.getElementById("sendcoinbutton").disabled=!0)}}},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(" "+t._s(t.$t("settings.littercoin.littercoin-header")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-two-thirds is-offset-1"},[n("p",[t._v(t._s(t.$t("settings.littercoin.back-later")))])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",[this._v("To see your Littercoin balance and send Littercoin from this page you will need to download Chrome and install "),e("a",{attrs:{href:"https://metamask.io/"}},[this._v("MetaMask")]),this._v(". Unfortuantely there is no mobile client available yet. When you install MetaMask these instructions will disappear.")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",[n("li",[t._v("To create a new wallet visit "),n("a",{attrs:{href:"https://myetherwallet.com"}},[t._v("MyEtherWallet")]),t._v(" and "),n("a",{attrs:{href:"https://myetherwallet.github.io/knowledge-base/private-keys-passwords/difference-beween-private-key-and-keystore-file.html"}},[t._v("export your Keystore UTC File")]),t._v(", which is an encrypted version of your password. If you are using Mist or some other wallet, export the same file (Accounts -> Backup -> Accounts). This file should be available on Unix systems at ~/User/Library/Ethereum/keystore/ as a 'UTC....' file.")]),t._v(" "),n("li",[t._v("Open Metamask and import this file as a json file.")]),t._v(" "),n("li",[t._v("Upload 7-days in a row, be the first to upload from a Country, State or City and earn Littercoin! More options coming soon!")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("h1",{staticClass:"title is-3"},[this._v("My Ethereum: "),e("span",{attrs:{id:"mybal"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("h1",{staticClass:"title is-3"},[this._v("My Littercoin: "),e("span",{attrs:{id:"myLtrx"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"input-group-addon",attrs:{id:"sizing-addon2"}},[e("span",[e("strong",[this._v("SEND")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"input-group-addon",attrs:{id:"sizing-addon2"}},[e("span",[e("strong",[this._v("LTRX")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("b",[this._v("Step 1: ")]),this._v('Add the public Littercoin ID to the "Watch Token" section of your Ethereum Wallet:')])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("b",[this._v("Step 2: ")]),this._v("Enter your Ethereum Wallet ID here so we know where to send and read your available Littercoin:")])}],!1,null,null,null);e.default=a.exports},"X/mx":function(t){t.exports=JSON.parse('{"click-to-upload":"Bofya ili kupakia au weka picha zako","thank-you":"Asante!","need-tag-litter":"Kifuatacho, unatakiwa kwekea taka nembo","tag-litter":"Wekea taka nembo"}')},X2CC:function(t,e,n){var i=n("InQf");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},XA7P:function(t,e,n){"use strict";var i=n("jq0I");n.n(i).a},Xerb:function(t,e,n){var i=n("qrmX");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},Xlqv:function(t){t.exports=JSON.parse('{"change-privacy":"Change My Privacy","maps":"Maps","credit-name":"Credit my name","credit-username":"Credit my username","name-imgs-yes":"Your name will appear on each of the images you upload to the maps.","username-imgs-yes":"Your username will appear on each of the images you upload to the maps.","name-username-map-no":"Your name and username will not appear on the maps.","leaderboards":"Leaderboards","credit-my-name":"Credit my name","credit-my-username":"Credit my username","name-leaderboards-yes":"Your name will appear in any leaderboards you qualify for.","username-leaderboards-yes":"Your username will appear in any leaderboards you qualify for.","name-username-leaderboards-no":"Your name and username will not appear on the Leaderboards.","created-by":"Created By","name-locations-yes":"Your name will appear in the created by sections of any locations you create.","username-locations-yes":"Your username will appear in the created by sections of any locations you create.","name-username-locations-yes":"Your name and username will not appear in the Created By section of any locations you add to the database.","update":"Update"}')},XqNS:function(t){t.exports=JSON.parse('{"taken-on":"Tomada en","with-a":"Con un","by":"Por","meter-hex-grids":"metros mallas hexagonales","hover-to-count":"Pase el cursor por encima para contar","pieces-of-litter":"piezas de basura","hover-polygons-to-count":"Pasa el cursor por encima de los polígonos para contar"}')},"Xs+J":function(t){t.exports=JSON.parse('{"change-privacy":"Zmień moją prywatność","maps":"Maps","credit-name":"Wpisz moje imie","credit-username":"Wpisz moją nazwę użytkownika","name-imgs-yes":"Twoje imię pojawi się na każdym obrazie przesłanym na mapy.","username-imgs-yes":"Twoja nazwa użytkownika pojawi się na każdym obrazie przesłanym na mapy.","name-username-map-no":"Twoje imię oraz nazwa użytkownika nie pojawią się na mapach.","leaderboards":"Ranking","credit-my-name":"Wpisz moje imie","credit-my-username":"Wpisz moją nazwę użytkownika","name-leaderboards-yes":"Twoje imię pojawi się we wszystkich tabelach rankingowych, do których się kwalifikujesz.","username-leaderboards-yes":"Twoja nazwa użytkownika będzie się pojawiać we wszystkich tabelach rankingowych, do których się kwalifikujesz.","name-username-leaderboards-no":"Twoje imię oraz nazwa użytkownika nie pojawią się na tablicach wyników.","created-by":"Docenione przez","name-locations-yes":"Twoje imię będzie wyświetlane we wszystkich tworzonych przez Ciebie lokalizacjach.","username-locations-yes":"Twoja nazwa użytkownika jest ustawiona tak, aby pojawiała się we wszystkich tworzonych przez Ciebie lokalizacjach.","name-username-locations-yes":"Twoje imię oraz nazwa użytkownika nie pojawią się w sekcji Utworzone Przez w żadnej lokalizacji, którą dodasz do bazy danych.","update":"Aktualizuj"}')},Xvau:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a);n("5A0h");function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var l={name:"CreateAccount",props:["plan"],components:{VueRecaptcha:n("4JY7").a},created:function(){this.plan&&("startup"===this.plan?this.planInt=2:"basic"===this.plan?this.planInt=3:"advanced"===this.plan?this.planInt=4:"pro"===this.plan&&(this.planInt=5))},data:function(){return{planInt:1,processing:!1,name:"",username:"",email:"",password:"",checkbox:!1,password_confirmation:"",g_recaptcha_response:""}},computed:{checkDisabled:function(){return!!this.processing},errors:function(){return this.$store.state.plans.errors},plans:function(){return this.$store.state.plans.plans}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("clearCreateAccountError",t)},changeUrl:function(t){var e=this.plans[t.target.value-1].name.toLowerCase();this.$router.push({path:"join",query:{plan:e}})},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},recaptcha:function(t){this.g_recaptcha_response=t},showStripe:function(){this.$store.commit("showModal",{type:"CreditCard"})},submit:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.checkbox){t.next=3;break}return alert("Please accept the terms and conditions, and privacy policy to continue"),t.abrupt("return");case 3:return e.processing=!0,n=e.plans[e.planInt-1].plan_id,t.next=7,e.$store.dispatch("CREATE_ACCOUNT",{name:e.name,username:e.username,email:e.email,password:e.password,password_confirmation:e.password_confirmation,g_recaptcha_response:e.g_recaptcha_response,plan:e.planInt,plan_id:n});case 7:e.password_confirmation="",e.processing=!1;case 9:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))})()}}},u=(n("toXO"),n("KHd+"));function c(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var h={name:"Subscribe",components:{CreateAccount:Object(u.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"call-container"},[n("div",{staticClass:"has-text-centered"},[n("strong",[t._v(t._s(t.$t("auth.subscribe.crowdfunding-message")))]),t._v(" "),n("div",{staticClass:"control mt2"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.planInt,expression:"planInt"}],on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.planInt=e.target.multiple?n:n[0]},t.changeUrl]}},t._l(t.plans,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+" — €"+t._s(e.price/100)+"\n ")])})),0)])])])]),t._v(" "),n("div",{staticClass:"signup-container"},[n("h3",{staticClass:"title is-3"},[t._v(t._s(t.$t("auth.subscribe.form-create-account")))]),t._v(" "),n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"name"}},[t._v(t._s(t.$t("auth.subscribe.form-field-name")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",class:t.errorExists("name")?"is-danger":"",attrs:{name:"name",type:"text",placeholder:"Your full name",required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t._m(0),t._v(" "),t.errorExists("name")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"username"}},[t._v(t._s(t.$t("auth.subscribe.form-field-unique-id")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],staticClass:"input",class:t.errorExists("username")?"is-danger":"",attrs:{name:"username",placeholder:"Unique Username or Organisation",required:"",type:"text"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),n("span",{staticClass:"icon is-small is-left"},[t._v("\n @\n ")]),t._v(" "),t.errorExists("username")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("username"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"email"}},[t._v(t._s(t.$t("auth.subscribe.form-field-email")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",class:t.errorExists("email")?"is-danger":"",attrs:{name:"email",type:"email",placeholder:"you@email.com",required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),t._m(1),t._v(" "),t.errorExists("email")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("email"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"password"}},[t._v(t._s(t.$t("auth.subscribe.form-field-password")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",class:t.errorExists("password")?"is-danger":"",attrs:{id:"password",name:"password",type:"password",placeholder:"Create a strong password",required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),t._m(2),t._v(" "),t.errorExists("password")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"password_confirmation"}},[t._v(t._s(t.$t("auth.subscribe.form-field-pass-confirm")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password_confirmation,expression:"password_confirmation"}],staticClass:"input",class:t.errorExists("password_confirmation")?"is-danger":"",attrs:{type:"password",id:"password_confirmation",name:"password_confirmation",placeholder:"Confirm your Password",required:""},domProps:{value:t.password_confirmation},on:{input:function(e){e.target.composing||(t.password_confirmation=e.target.value)}}}),t._v(" "),t._m(3),t._v(" "),t.errorExists("password_confirmation")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("password_confirmation"))}}):t._e()])]),t._v(" "),n("p",{staticClass:"mtb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.checkbox,expression:"checkbox"}],staticClass:"filled-in",attrs:{type:"checkbox",name:"ConfirmToS",id:"ConfirmToS"},domProps:{checked:Array.isArray(t.checkbox)?t._i(t.checkbox,null)>-1:t.checkbox},on:{change:function(e){var n=t.checkbox,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.checkbox=n.concat([null])):a>-1&&(t.checkbox=n.slice(0,a).concat(n.slice(a+1)))}else t.checkbox=r}}}),t._v(" "),n("label",{attrs:{for:"ConfirmToS"},domProps:{innerHTML:t._s(t.$t("auth.subscribe.form-account-conditions"))}})]),t._v(" "),n("div",{staticClass:"captcha"},[n("div",[n("vue-recaptcha",{attrs:{sitekey:"6Le9FtwcAAAAAMOImuwEoOYssOVdNf7dfI2x8XZh",loadRecaptchaScript:!0},on:{verify:t.recaptcha},model:{value:t.g_recaptcha_response,callback:function(e){t.g_recaptcha_response=e},expression:"g_recaptcha_response"}})],1),t._v(" "),t.errorExists("g-recaptcha-response")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("g-recaptcha-response"))}}):t._e()]),t._v(" "),n("br"),t._v(" "),n("div",{staticStyle:{"text-align":"center","padding-bottom":"1em"}},[n("button",{staticClass:"button is-medium is-primary mb1",class:t.processing?"is-loading":"",attrs:{disabled:t.checkDisabled}},[t._v(t._s(t.$t("auth.subscribe.form-btn")))]),t._v(" "),n("p",[t._v(t._s(t.$t("auth.subscribe.create-account-note"))+" ")])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-user"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-refresh"})])}],!1,null,null,null).exports,Loading:o.a},created:function(){var t,e=this;return(t=r.a.mark((function t(){var n,i,a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return window.location.href.includes("?")&&(e.plan=window.location.href.split("?")[1].split("=")[1]),window.location.href.includes("&")&&(n=window.location.href.split("&")[1].split("=")[1],i=e.$t("signup."+n+"-title"),a=e.$t("signup."+n+"-subtitle"),e.$swal(i,a,n)),t.next=4,e.$store.dispatch("GET_PLANS");case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){c(a,i,r,o,s,"next",t)}function s(t){c(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0,plan:""}}},d=Object(u.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("section",{staticClass:"hero is-info is-medium"},[n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container"},[n("h1",{staticClass:"title"},[t._v("\n "+t._s(t.$t("auth.subscribe.title"))+"\n ")]),t._v(" "),n("h2",{staticClass:"subtitle"},[t._v("\n "+t._s(t.$t("auth.subscribe.subtitle"))+"\n ")])])])]),t._v(" "),n("section",[n("create-account",{attrs:{plan:t.plan}})],1)])}),[],!1,null,"193873b8",null);e.default=d.exports},Y3sA:function(t){t.exports=JSON.parse('{"card-number":"Números de cartão","card-holder":"Nome do titular do cartão","exp":"Data de validade","cvv":"CVV","placeholders":{"card-number":"O número do seu cartão de 16 dígitos","card-holder":"Nome do titular do cartão","exp-month":"Mês","exp-year":"Ano","cvv":"***"}}')},Y5fm:function(t,e){t.exports="/images/vendor/leaflet/dist/marker-icon.png?2273e3d8ad9264b7daa5bdbf8e6b47f8"},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,a,o,s,l=1,u={},c=!1,h=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){f(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){f(t.data)},i=function(t){a.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,i=function(t){var e=h.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(f,0,t)}:(o="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&f(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(o+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=0&&h.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return y(e,t.attrs),m(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function _(t,e){var n,i,r,a;if(e.transform&&t.css){if(!(a="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=a}if(e.singleton){var o=c++;n=u||(u=v(e)),i=x.bind(null,n,o,!1),r=x.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),m(t,e),e}(e),i=C.bind(null,n,e),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),i=k.bind(null,n),r=function(){g(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=f(t,e);return p(n,e),function(t){for(var i=[],r=0;r svg,\r\n.leaflet-pane > canvas,\r\n.leaflet-zoom-box,\r\n.leaflet-image-layer,\r\n.leaflet-layer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\n}\n.leaflet-container {\r\n\toverflow: hidden;\n}\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\t-webkit-user-select: none;\r\n\t -moz-user-select: none;\r\n\t user-select: none;\r\n\t -webkit-user-drag: none;\n}\r\n/* Prevents IE11 from highlighting tiles in blue */\n.leaflet-tile::selection {\r\n\tbackground: transparent;\n}\r\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\n.leaflet-safari .leaflet-tile {\r\n\timage-rendering: -webkit-optimize-contrast;\n}\r\n/* hack that prevents hw layers \"stretching\" when loading new tiles */\n.leaflet-safari .leaflet-tile-container {\r\n\twidth: 1600px;\r\n\theight: 1600px;\r\n\t-webkit-transform-origin: 0 0;\n}\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\tdisplay: block;\n}\r\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\r\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\n.leaflet-container .leaflet-overlay-pane svg,\r\n.leaflet-container .leaflet-marker-pane img,\r\n.leaflet-container .leaflet-shadow-pane img,\r\n.leaflet-container .leaflet-tile-pane img,\r\n.leaflet-container img.leaflet-image-layer,\r\n.leaflet-container .leaflet-tile {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\n}\n.leaflet-container.leaflet-touch-zoom {\r\n\t-ms-touch-action: pan-x pan-y;\r\n\ttouch-action: pan-x pan-y;\n}\n.leaflet-container.leaflet-touch-drag {\r\n\t-ms-touch-action: pinch-zoom;\r\n\t/* Fallback for FF which doesn't support pinch-zoom */\r\n\ttouch-action: none;\r\n\ttouch-action: pinch-zoom;\n}\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\r\n\t-ms-touch-action: none;\r\n\ttouch-action: none;\n}\n.leaflet-container {\r\n\t-webkit-tap-highlight-color: transparent;\n}\n.leaflet-container a {\r\n\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\n}\n.leaflet-tile {\r\n\tfilter: inherit;\r\n\tvisibility: hidden;\n}\n.leaflet-tile-loaded {\r\n\tvisibility: inherit;\n}\n.leaflet-zoom-box {\r\n\twidth: 0;\r\n\theight: 0;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tz-index: 800;\n}\r\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\n.leaflet-overlay-pane svg {\r\n\t-moz-user-select: none;\n}\n.leaflet-pane { z-index: 400;\n}\n.leaflet-tile-pane { z-index: 200;\n}\n.leaflet-overlay-pane { z-index: 400;\n}\n.leaflet-shadow-pane { z-index: 500;\n}\n.leaflet-marker-pane { z-index: 600;\n}\n.leaflet-tooltip-pane { z-index: 650;\n}\n.leaflet-popup-pane { z-index: 700;\n}\n.leaflet-map-pane canvas { z-index: 100;\n}\n.leaflet-map-pane svg { z-index: 200;\n}\n.leaflet-vml-shape {\r\n\twidth: 1px;\r\n\theight: 1px;\n}\n.lvml {\r\n\tbehavior: url(#default#VML);\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\n}\r\n\r\n\r\n/* control positioning */\n.leaflet-control {\r\n\tposition: relative;\r\n\tz-index: 800;\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\n}\n.leaflet-top,\r\n.leaflet-bottom {\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\tpointer-events: none;\n}\n.leaflet-top {\r\n\ttop: 0;\n}\n.leaflet-right {\r\n\tright: 0;\n}\n.leaflet-bottom {\r\n\tbottom: 0;\n}\n.leaflet-left {\r\n\tleft: 0;\n}\n.leaflet-control {\r\n\tfloat: left;\r\n\tclear: both;\n}\n.leaflet-right .leaflet-control {\r\n\tfloat: right;\n}\n.leaflet-top .leaflet-control {\r\n\tmargin-top: 10px;\n}\n.leaflet-bottom .leaflet-control {\r\n\tmargin-bottom: 10px;\n}\n.leaflet-left .leaflet-control {\r\n\tmargin-left: 10px;\n}\n.leaflet-right .leaflet-control {\r\n\tmargin-right: 10px;\n}\r\n\r\n\r\n/* zoom and fade animations */\n.leaflet-fade-anim .leaflet-tile {\r\n\twill-change: opacity;\n}\n.leaflet-fade-anim .leaflet-popup {\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 0.2s linear;\r\n\t -moz-transition: opacity 0.2s linear;\r\n\t transition: opacity 0.2s linear;\n}\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r\n\topacity: 1;\n}\n.leaflet-zoom-animated {\r\n\t-webkit-transform-origin: 0 0;\r\n\t -ms-transform-origin: 0 0;\r\n\t transform-origin: 0 0;\n}\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\twill-change: transform;\n}\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\n}\n.leaflet-zoom-anim .leaflet-tile,\r\n.leaflet-pan-anim .leaflet-tile {\r\n\t-webkit-transition: none;\r\n\t -moz-transition: none;\r\n\t transition: none;\n}\n.leaflet-zoom-anim .leaflet-zoom-hide {\r\n\tvisibility: hidden;\n}\r\n\r\n\r\n/* cursors */\n.leaflet-interactive {\r\n\tcursor: pointer;\n}\n.leaflet-grab {\r\n\tcursor: -webkit-grab;\r\n\tcursor: -moz-grab;\r\n\tcursor: grab;\n}\n.leaflet-crosshair,\r\n.leaflet-crosshair .leaflet-interactive {\r\n\tcursor: crosshair;\n}\n.leaflet-popup-pane,\r\n.leaflet-control {\r\n\tcursor: auto;\n}\n.leaflet-dragging .leaflet-grab,\r\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\r\n.leaflet-dragging .leaflet-marker-draggable {\r\n\tcursor: move;\r\n\tcursor: -webkit-grabbing;\r\n\tcursor: -moz-grabbing;\r\n\tcursor: grabbing;\n}\r\n\r\n/* marker & overlays interactivity */\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-image-layer,\r\n.leaflet-pane > svg path,\r\n.leaflet-tile-container {\r\n\tpointer-events: none;\n}\n.leaflet-marker-icon.leaflet-interactive,\r\n.leaflet-image-layer.leaflet-interactive,\r\n.leaflet-pane > svg path.leaflet-interactive,\r\nsvg.leaflet-image-layer.leaflet-interactive path {\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\n}\r\n\r\n/* visual tweaks */\n.leaflet-container {\r\n\tbackground: #ddd;\r\n\toutline: 0;\n}\n.leaflet-container a {\r\n\tcolor: #0078A8;\n}\n.leaflet-container a.leaflet-active {\r\n\toutline: 2px solid orange;\n}\n.leaflet-zoom-box {\r\n\tborder: 2px dotted #38f;\r\n\tbackground: rgba(255,255,255,0.5);\n}\r\n\r\n\r\n/* general typography */\n.leaflet-container {\r\n\tfont: 12px/1.5 \"Helvetica Neue\", Arial, Helvetica, sans-serif;\n}\r\n\r\n\r\n/* general toolbar styles */\n.leaflet-bar {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\r\n\tborder-radius: 4px;\n}\n.leaflet-bar a,\r\n.leaflet-bar a:hover {\r\n\tbackground-color: #fff;\r\n\tborder-bottom: 1px solid #ccc;\r\n\twidth: 26px;\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\ttext-decoration: none;\r\n\tcolor: black;\n}\n.leaflet-bar a,\r\n.leaflet-control-layers-toggle {\r\n\tbackground-position: 50% 50%;\r\n\tbackground-repeat: no-repeat;\r\n\tdisplay: block;\n}\n.leaflet-bar a:hover {\r\n\tbackground-color: #f4f4f4;\n}\n.leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 4px;\r\n\tborder-top-right-radius: 4px;\n}\n.leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 4px;\r\n\tborder-bottom-right-radius: 4px;\r\n\tborder-bottom: none;\n}\n.leaflet-bar a.leaflet-disabled {\r\n\tcursor: default;\r\n\tbackground-color: #f4f4f4;\r\n\tcolor: #bbb;\n}\n.leaflet-touch .leaflet-bar a {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tline-height: 30px;\n}\n.leaflet-touch .leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 2px;\r\n\tborder-top-right-radius: 2px;\n}\n.leaflet-touch .leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 2px;\r\n\tborder-bottom-right-radius: 2px;\n}\r\n\r\n/* zoom control */\n.leaflet-control-zoom-in,\r\n.leaflet-control-zoom-out {\r\n\tfont: bold 18px 'Lucida Console', Monaco, monospace;\r\n\ttext-indent: 1px;\n}\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\r\n\tfont-size: 22px;\n}\r\n\r\n\r\n/* layers control */\n.leaflet-control-layers {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\r\n\tbackground: #fff;\r\n\tborder-radius: 5px;\n}\n.leaflet-control-layers-toggle {\r\n\tbackground-image: url("+i(n("Fjwm"))+");\r\n\twidth: 36px;\r\n\theight: 36px;\n}\n.leaflet-retina .leaflet-control-layers-toggle {\r\n\tbackground-image: url("+i(n("jsOg"))+");\r\n\tbackground-size: 26px 26px;\n}\n.leaflet-touch .leaflet-control-layers-toggle {\r\n\twidth: 44px;\r\n\theight: 44px;\n}\n.leaflet-control-layers .leaflet-control-layers-list,\r\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\r\n\tdisplay: none;\n}\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\r\n\tdisplay: block;\r\n\tposition: relative;\n}\n.leaflet-control-layers-expanded {\r\n\tpadding: 6px 10px 6px 6px;\r\n\tcolor: #333;\r\n\tbackground: #fff;\n}\n.leaflet-control-layers-scrollbar {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tpadding-right: 5px;\n}\n.leaflet-control-layers-selector {\r\n\tmargin-top: 2px;\r\n\tposition: relative;\r\n\ttop: 1px;\n}\n.leaflet-control-layers label {\r\n\tdisplay: block;\n}\n.leaflet-control-layers-separator {\r\n\theight: 0;\r\n\tborder-top: 1px solid #ddd;\r\n\tmargin: 5px -10px 5px -6px;\n}\r\n\r\n/* Default icon URLs */\n.leaflet-default-icon-path {\r\n\tbackground-image: url("+i(n("Y5fm"))+');\n}\r\n\r\n\r\n/* attribution and scale controls */\n.leaflet-container .leaflet-control-attribution {\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.7);\r\n\tmargin: 0;\n}\n.leaflet-control-attribution,\r\n.leaflet-control-scale-line {\r\n\tpadding: 0 5px;\r\n\tcolor: #333;\n}\n.leaflet-control-attribution a {\r\n\ttext-decoration: none;\n}\n.leaflet-control-attribution a:hover {\r\n\ttext-decoration: underline;\n}\n.leaflet-container .leaflet-control-attribution,\r\n.leaflet-container .leaflet-control-scale {\r\n\tfont-size: 11px;\n}\n.leaflet-left .leaflet-control-scale {\r\n\tmargin-left: 5px;\n}\n.leaflet-bottom .leaflet-control-scale {\r\n\tmargin-bottom: 5px;\n}\n.leaflet-control-scale-line {\r\n\tborder: 2px solid #777;\r\n\tborder-top: none;\r\n\tline-height: 1.1;\r\n\tpadding: 2px 5px 1px;\r\n\tfont-size: 11px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n.leaflet-control-scale-line:not(:first-child) {\r\n\tborder-top: 2px solid #777;\r\n\tborder-bottom: none;\r\n\tmargin-top: -2px;\n}\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r\n\tborder-bottom: 2px solid #777;\n}\n.leaflet-touch .leaflet-control-attribution,\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tbox-shadow: none;\n}\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tborder: 2px solid rgba(0,0,0,0.2);\r\n\tbackground-clip: padding-box;\n}\r\n\r\n\r\n/* popup */\n.leaflet-popup {\r\n\tposition: absolute;\r\n\ttext-align: center;\r\n\tmargin-bottom: 20px;\n}\n.leaflet-popup-content-wrapper {\r\n\tpadding: 1px;\r\n\ttext-align: left;\r\n\tborder-radius: 12px;\n}\n.leaflet-popup-content {\r\n\tmargin: 13px 19px;\r\n\tline-height: 1.4;\n}\n.leaflet-popup-content p {\r\n\tmargin: 18px 0;\n}\n.leaflet-popup-tip-container {\r\n\twidth: 40px;\r\n\theight: 20px;\r\n\tposition: absolute;\r\n\tleft: 50%;\r\n\tmargin-left: -20px;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\n}\n.leaflet-popup-tip {\r\n\twidth: 17px;\r\n\theight: 17px;\r\n\tpadding: 1px;\r\n\r\n\tmargin: -10px auto 0;\r\n\r\n\t-webkit-transform: rotate(45deg);\r\n\t -moz-transform: rotate(45deg);\r\n\t -ms-transform: rotate(45deg);\r\n\t transform: rotate(45deg);\n}\n.leaflet-popup-content-wrapper,\r\n.leaflet-popup-tip {\r\n\tbackground: white;\r\n\tcolor: #333;\r\n\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\n}\n.leaflet-container a.leaflet-popup-close-button {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tpadding: 4px 4px 0 0;\r\n\tborder: none;\r\n\ttext-align: center;\r\n\twidth: 18px;\r\n\theight: 14px;\r\n\tfont: 16px/14px Tahoma, Verdana, sans-serif;\r\n\tcolor: #c3c3c3;\r\n\ttext-decoration: none;\r\n\tfont-weight: bold;\r\n\tbackground: transparent;\n}\n.leaflet-container a.leaflet-popup-close-button:hover {\r\n\tcolor: #999;\n}\n.leaflet-popup-scrolled {\r\n\toverflow: auto;\r\n\tborder-bottom: 1px solid #ddd;\r\n\tborder-top: 1px solid #ddd;\n}\n.leaflet-oldie .leaflet-popup-content-wrapper {\r\n\t-ms-zoom: 1;\n}\n.leaflet-oldie .leaflet-popup-tip {\r\n\twidth: 24px;\r\n\tmargin: 0 auto;\r\n\r\n\t-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";\r\n\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\n}\n.leaflet-oldie .leaflet-popup-tip-container {\r\n\tmargin-top: -1px;\n}\n.leaflet-oldie .leaflet-control-zoom,\r\n.leaflet-oldie .leaflet-control-layers,\r\n.leaflet-oldie .leaflet-popup-content-wrapper,\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\tborder: 1px solid #999;\n}\r\n\r\n\r\n/* div icon */\n.leaflet-div-icon {\r\n\tbackground: #fff;\r\n\tborder: 1px solid #666;\n}\r\n\r\n\r\n/* Tooltip */\r\n/* Base styles for the element that has a tooltip */\n.leaflet-tooltip {\r\n\tposition: absolute;\r\n\tpadding: 6px;\r\n\tbackground-color: #fff;\r\n\tborder: 1px solid #fff;\r\n\tborder-radius: 3px;\r\n\tcolor: #222;\r\n\twhite-space: nowrap;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n\tpointer-events: none;\r\n\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\n}\n.leaflet-tooltip.leaflet-clickable {\r\n\tcursor: pointer;\r\n\tpointer-events: auto;\n}\n.leaflet-tooltip-top:before,\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\tborder: 6px solid transparent;\r\n\tbackground: transparent;\r\n\tcontent: "";\n}\r\n\r\n/* Directions */\n.leaflet-tooltip-bottom {\r\n\tmargin-top: 6px;\n}\n.leaflet-tooltip-top {\r\n\tmargin-top: -6px;\n}\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-top:before {\r\n\tleft: 50%;\r\n\tmargin-left: -6px;\n}\n.leaflet-tooltip-top:before {\r\n\tbottom: 0;\r\n\tmargin-bottom: -12px;\r\n\tborder-top-color: #fff;\n}\n.leaflet-tooltip-bottom:before {\r\n\ttop: 0;\r\n\tmargin-top: -12px;\r\n\tmargin-left: -6px;\r\n\tborder-bottom-color: #fff;\n}\n.leaflet-tooltip-left {\r\n\tmargin-left: -6px;\n}\n.leaflet-tooltip-right {\r\n\tmargin-left: 6px;\n}\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\ttop: 50%;\r\n\tmargin-top: -6px;\n}\n.leaflet-tooltip-left:before {\r\n\tright: 0;\r\n\tmargin-right: -12px;\r\n\tborder-left-color: #fff;\n}\n.leaflet-tooltip-right:before {\r\n\tleft: 0;\r\n\tmargin-left: -12px;\r\n\tborder-right-color: #fff;\n}\r\n',""])},aS5V:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.card-list[data-v-03bccacd] {\n margin-bottom: -130px;\n}\n@media screen and (max-width: 480px) {\n.card-list[data-v-03bccacd] {\n margin-bottom: -120px;\n}\n}\n.card-item__cvv-amex[data-v-03bccacd] {\n color: white;\n margin-top: -6%;\n font-size: 27px;\n font-weight: 500;\n position: absolute;\n left: 78%;\n}\n.slide-fade-up-enter-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n transition-delay: 0.1s;\n position: relative;\n}\n.slide-fade-up-leave-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n position: absolute;\n}\n.slide-fade-up-enter[data-v-03bccacd] {\n opacity: 0;\n transform: translateY(15px);\n pointer-events: none;\n}\n.slide-fade-up-leave-to[data-v-03bccacd] {\n opacity: 0;\n transform: translateY(-15px);\n pointer-events: none;\n}\n.slide-fade-right-enter-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n transition-delay: 0.1s;\n position: relative;\n}\n.slide-fade-right-leave-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n position: absolute;\n}\n.slide-fade-right-enter[data-v-03bccacd] {\n opacity: 0;\n transform: translateX(10px) rotate(45deg);\n pointer-events: none;\n}\n.slide-fade-right-leave-to[data-v-03bccacd] {\n opacity: 0;\n transform: translateX(-10px) rotate(45deg);\n pointer-events: none;\n}\n.card-item[data-v-03bccacd] {\n max-width: 430px;\n height: 270px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n z-index: 2;\n width: 100%;\n}\n@media screen and (max-width: 480px) {\n.card-item[data-v-03bccacd] {\n max-width: 310px;\n height: 220px;\n width: 90%;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item[data-v-03bccacd] {\n height: 180px;\n}\n}\n.card-item.-active .card-item__side.-front[data-v-03bccacd] {\n transform: perspective(1000px) rotateY(180deg) rotateX(0deg) rotateZ(0deg);\n}\n.card-item.-active .card-item__side.-back[data-v-03bccacd] {\n transform: perspective(1000px) rotateY(0) rotateX(0deg) rotateZ(0deg);\n /*// box-shadow: 0 20px 50px 0 rgba(81, 88, 206, 0.65);*/\n}\n.card-item__focus[data-v-03bccacd] {\n position: absolute;\n z-index: 3;\n border-radius: 5px;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transition: all 0.35s cubic-bezier(0.71, 0.03, 0.56, 0.85);\n opacity: 0;\n pointer-events: none;\n overflow: hidden;\n border: 2px solid rgba(255, 255, 255, 0.65);\n}\n.card-item__focus[data-v-03bccacd]:after {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n background: #08142f;\n height: 100%;\n border-radius: 5px;\n -webkit-filter: blur(25px);\n filter: blur(25px);\n opacity: 0.5;\n}\n.card-item__focus.-active[data-v-03bccacd] {\n opacity: 1;\n}\n.card-item__side[data-v-03bccacd] {\n border-radius: 15px;\n overflow: hidden;\n /*// box-shadow: 3px 13px 30px 0px rgba(11, 19, 41, 0.5);*/\n /* box-shadow: 0 20px 60px 0 rgba(14, 42, 90, 0.55);*/\n transform: perspective(2000px) rotateY(0deg) rotateX(0deg) rotate(0deg);\n transform-style: preserve-3d;\n transition: all 0.8s cubic-bezier(0.71, 0.03, 0.56, 0.85);\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n height: 100%;\n}\n.card-item__side.-back[data-v-03bccacd] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n transform: perspective(2000px) rotateY(-180deg) rotateX(0deg) rotate(0deg);\n z-index: 2;\n padding: 0;\n background-color: #2364d2;\n background-image: linear-gradient(43deg, #4158d0 0%, #8555c7 46%, #2364d2 100%);\n height: 100%;\n}\n.card-item__side.-back .card-item__cover[data-v-03bccacd] {\n transform: rotateY(-180deg);\n}\n.card-item__bg[data-v-03bccacd] {\n max-width: 100%;\n display: block;\n max-height: 100%;\n height: 100%;\n width: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.card-item__cover[data-v-03bccacd] {\n height: 100%;\n background-color: #1c1d27;\n position: absolute;\n height: 100%;\n background-color: #1c1d27;\n left: 0;\n top: 0;\n width: 100%;\n border-radius: 15px;\n overflow: hidden;\n}\n.card-item__cover[data-v-03bccacd]:after {\n content: "";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: rgba(6, 2, 29, 0.45);\n}\n.card-item__top[data-v-03bccacd] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: 40px;\n padding: 0 10px;\n}\n@media screen and (max-width: 480px) {\n.card-item__top[data-v-03bccacd] {\n margin-bottom: 25px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__top[data-v-03bccacd] {\n margin-bottom: 15px;\n}\n}\n.card-item__chip[data-v-03bccacd] {\n width: 60px;\n}\n@media screen and (max-width: 480px) {\n.card-item__chip[data-v-03bccacd] {\n width: 50px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__chip[data-v-03bccacd] {\n width: 40px;\n}\n}\n.card-item__type[data-v-03bccacd] {\n height: 45px;\n position: relative;\n display: flex;\n justify-content: flex-end;\n max-width: 100px;\n margin-left: auto;\n width: 100%;\n}\n@media screen and (max-width: 480px) {\n.card-item__type[data-v-03bccacd] {\n height: 40px;\n max-width: 90px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__type[data-v-03bccacd] {\n height: 30px;\n}\n}\n.card-item__typeImg[data-v-03bccacd] {\n max-width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n max-height: 100%;\n -o-object-position: top right;\n object-position: top right;\n}\n.card-item__info[data-v-03bccacd] {\n color: #fff;\n width: 100%;\n max-width: calc(100% - 85px);\n padding: 10px 15px;\n font-weight: 500;\n display: block;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-item__info[data-v-03bccacd] {\n padding: 10px;\n}\n}\n.card-item__holder[data-v-03bccacd] {\n opacity: 0.7;\n font-size: 13px;\n margin-bottom: 6px;\n text-align: left;\n}\n@media screen and (max-width: 480px) {\n.card-item__holder[data-v-03bccacd] {\n font-size: 12px;\n margin-bottom: 5px;\n}\n}\n.card-item__wrapper[data-v-03bccacd] {\n font-family: "Source Code Pro", monospace;\n padding: 25px 15px;\n position: relative;\n z-index: 4;\n height: 100%;\n text-shadow: 7px 6px 10px rgba(14, 42, 90, 0.8);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n@media screen and (max-width: 480px) {\n.card-item__wrapper[data-v-03bccacd] {\n padding: 20px 10px;\n}\n}\n.card-item__name[data-v-03bccacd] {\n font-size: 18px;\n line-height: 1;\n white-space: nowrap;\n max-width: 100%;\n overflow: hidden;\n text-align: left;\n text-overflow: ellipsis;\n text-transform: uppercase;\n}\n@media screen and (max-width: 480px) {\n.card-item__name[data-v-03bccacd] {\n font-size: 16px;\n}\n}\n.card-item__nameItem[data-v-03bccacd] {\n display: inline-block;\n min-width: 8px;\n position: relative;\n}\n.card-item__number[data-v-03bccacd] {\n font-weight: 500;\n line-height: 1;\n color: #fff;\n font-size: 27px;\n margin-bottom: 35px;\n display: inline-block;\n padding: 10px 15px;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-item__number[data-v-03bccacd] {\n font-size: 21px;\n margin-bottom: 15px;\n padding: 10px 10px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__number[data-v-03bccacd] {\n font-size: 19px;\n margin-bottom: 10px;\n padding: 10px 10px;\n}\n}\n.card-item__numberItem[data-v-03bccacd] {\n width: 16px;\n display: inline-block;\n}\n.card-item__numberItem.-active[data-v-03bccacd] {\n width: 30px;\n}\n@media screen and (max-width: 480px) {\n.card-item__numberItem[data-v-03bccacd] {\n width: 13px;\n}\n.card-item__numberItem.-active[data-v-03bccacd] {\n width: 16px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__numberItem[data-v-03bccacd] {\n width: 12px;\n}\n.card-item__numberItem.-active[data-v-03bccacd] {\n width: 8px;\n}\n}\n.card-item__content[data-v-03bccacd] {\n color: #fff;\n display: flex;\n align-items: flex-start;\n}\n.card-item__date[data-v-03bccacd] {\n flex-wrap: wrap;\n font-size: 18px;\n margin-left: auto;\n padding: 10px;\n display: inline-flex;\n width: 80px;\n white-space: nowrap;\n flex-shrink: 0;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-item__date[data-v-03bccacd] {\n font-size: 16px;\n}\n}\n.card-item__dateItem[data-v-03bccacd] {\n position: relative;\n}\n.card-item__dateItem span[data-v-03bccacd] {\n width: 22px;\n display: inline-block;\n}\n.card-item__dateTitle[data-v-03bccacd] {\n opacity: 0.7;\n font-size: 13px;\n padding-bottom: 6px;\n width: 100%;\n}\n@media screen and (max-width: 480px) {\n.card-item__dateTitle[data-v-03bccacd] {\n font-size: 12px;\n padding-bottom: 5px;\n}\n}\n.card-item__band[data-v-03bccacd] {\n background: rgba(0, 0, 19, 0.8);\n width: 100%;\n height: 50px;\n margin-top: 30px;\n position: relative;\n z-index: 2;\n}\n@media screen and (max-width: 480px) {\n.card-item__band[data-v-03bccacd] {\n margin-top: 20px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__band[data-v-03bccacd] {\n height: 40px;\n margin-top: 10px;\n}\n}\n.card-item__cvv[data-v-03bccacd] {\n text-align: right;\n position: relative;\n z-index: 2;\n padding: 15px;\n}\n.card-item__cvv .card-item__type[data-v-03bccacd] {\n opacity: 0.7;\n}\n@media screen and (max-width: 360px) {\n.card-item__cvv[data-v-03bccacd] {\n padding: 10px 15px;\n}\n}\n.card-item__cvvTitle[data-v-03bccacd] {\n padding-right: 10px;\n font-size: 15px;\n font-weight: 500;\n color: #fff;\n margin-bottom: 5px;\n}\n.card-item__cvvBand[data-v-03bccacd] {\n height: 45px;\n background: #fff;\n margin-bottom: 30px;\n text-align: right;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding-right: 10px;\n color: #1a3b5d;\n font-size: 18px;\n border-radius: 4px;\n /*box-shadow: 0px 10px 20px -7px rgba(32, 56, 117, 0.35);*/\n}\n@media screen and (max-width: 480px) {\n.card-item__cvvBand[data-v-03bccacd] {\n height: 40px;\n margin-bottom: 20px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__cvvBand[data-v-03bccacd] {\n margin-bottom: 15px;\n}\n}',""])},atnr:function(t,e,n){var i=n("YWuw");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},b4WK:function(t){t.exports=JSON.parse('{"title":"Tablica wyników drużyny","position-header":"Pozycja","name-header":"Nazwa","photos-header":"Wszystkie zdjęcia","litter-header":"Wszystkie odpady","created-at-header":"Utworzono w"}')},bGXT:function(t,e,n){"use strict";var i=n("ChBz");n.n(i).a},bUC5:function(t,e,n){"use strict";n.r(e);var i=n("XuX8"),r=n.n(i),a=n("vDqi"),o=n.n(a),s=n("L2JU"),l=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===u}(t)}(t)},u="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?f(Array.isArray(t)?[]:{},t,e):t}function h(t,e,n){return t.concat(e).map((function(t){return c(t,n)}))}function d(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function p(t,e){try{return e in t}catch(t){return!1}}function f(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||h,n.isMergeableObject=n.isMergeableObject||l,n.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(e);return i===Array.isArray(t)?i?n.arrayMerge(t,e,n):function(t,e,n){var i={};return n.isMergeableObject(t)&&d(t).forEach((function(e){i[e]=c(t[e],n)})),d(e).forEach((function(r){(function(t,e){return p(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(i[r]=p(t,r)&&n.isMergeableObject(e[r])?function(t,e){if(!e.customMerge)return f;var n=e.customMerge(t);return"function"==typeof n?n:f}(r,n)(t[r],e[r],n):c(e[r],n))})),i}(t,e,n):c(e,n)}f.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return f(t,n,e)}),{})};var m=f,g={id:"",filename:"",not_processed:0,awaiting_verification:0,items:{},photo:{},loading:!0,countriesWithPhotos:[],filterByCountry:"",skippedPhotos:0},v=n("o0o1"),y=n.n(v),_=n("ltXA");function b(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function w(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){b(a,i,r,o,s,"next",t)}function s(t){b(a,i,r,o,s,"throw",t)}o(void 0)}))}}var x={ADMIN_DELETE_IMAGE:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/admin/destroy",{photoId:t.state.photo.id}).then((function(e){t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},ADMIN_RESET_TAGS:function(t){return w(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),"Image has been reset",e.next=4,axios.post("/admin/reset-tags",{photoId:t.state.photo.id}).then((function(e){e.data.success&&(r.a.$vToastify.success({title:n,body:"Image has been reset",position:"top-right"}),t.dispatch("GET_NEXT_ADMIN_PHOTO"))})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},ADMIN_VERIFY_CORRECT:function(t){return w(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),"Verified",e.next=4,axios.post("/admin/verify-tags-as-correct",{photoId:t.state.photo.id}).then((function(e){e.data.success&&(r.a.$vToastify.success({title:n,body:"Verified"}),e.data.userVerificationCount>=100&&setTimeout((function(){r.a.$vToastify.success({title:"User has been verified",body:"Email sent and remaining photos verified"})}),1e3)),t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},ADMIN_VERIFY_DELETE:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/admin/contentsupdatedelete",{photoId:t.state.photo.id}).then((function(e){t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},ADMIN_UPDATE_WITH_NEW_TAGS:function(t){return w(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state.photo.id,e.next=3,axios.post("/admin/update-tags",{photoId:n,tags:t.rootState.litter.tags[n],custom_tags:t.rootState.litter.customTags[n]}).then((function(e){e.data.success&&r.a.$vToastify.success({title:"Tags updated",body:"Thank you for helping to verify OpenLitterMap data!"}),t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 3:case"end":return e.stop()}}),e)})))()},GET_NEXT_ADMIN_PHOTO:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.commit("resetLitter"),t.commit("clearTags"),e.next=4,axios.get("/admin/get-next-image-to-verify",{params:{country_id:t.state.filterByCountry,skip:t.state.skippedPhotos}}).then((function(e){var n;window.scroll({top:0,left:0,behavior:"smooth"}),t.commit("initAdminPhoto",e.data.photo),(null===(n=e.data.photo)||void 0===n?void 0:n.verification)>0&&(t.commit("initAdminItems",e.data.photo),t.commit("initAdminCustomTags",e.data.photo)),t.commit("initAdminMetadata",{not_processed:e.data.photosNotProcessed,awaiting_verification:e.data.photosAwaitingVerification}),t.dispatch("ADMIN_GET_COUNTRIES_WITH_PHOTOS")})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},ADMIN_GET_COUNTRIES_WITH_PHOTOS:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/admin/get-countries-with-photos").then((function(e){t.commit("setCountriesWithPhotos",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()}},k={adminImage:function(t,e){t.id=e.id,t.filename=e.filename},adminLoading:function(t,e){t.loading=e},initAdminMetadata:function(t,e){t.not_processed=e.not_processed,t.awaiting_verification=e.awaiting_verification},initAdminPhoto:function(t,e){t.photo=e},resetState:function(t){Object.assign(t,g)},setCountriesWithPhotos:function(t,e){t.countriesWithPhotos=e},setFilterByCountry:function(t,e){t.filterByCountry=e},setSkippedPhotos:function(t,e){t.skippedPhotos=e}},C={state:Object.assign({},g),actions:x,mutations:k},T=n("jE9Z");function E(t){var e=t.next;if(t.store.state.user.auth)return e();window.location.href="/"}function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function P(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:1;t.total_photos+=e},decrementTotalPhotos:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t.total_photos-=e},incrementTotalLitter:function(t,e){t.total_litter+=e},decrementTotalLitter:function(t,e){t.total_litter-=e},setSortLocationsBy:function(t,e){t.sortLocationsBy=e}},state:Object.assign({},ft)},bt={category:"smoking",hasAddedNewTag:!1,pickedUp:null,tag:"butts",customTag:"",loading:!1,photos:{},tags:{},customTags:{},customTagsError:"",submitting:!1,recentTags:{},recentCustomTags:[]};function wt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function xt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){wt(a,i,r,o,s,"next",t)}function s(t){wt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var kt={BULK_TAG_PHOTOS:function(t){return xt(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"Success!","Your tags were applied to the images",n=t.rootState.photos.bulkPaginate.data.filter((function(t){var e,n=t.tags&&Object.keys(t.tags).length,i=null===(e=t.custom_tags)||void 0===e?void 0:e.length;return n||i})).reduce((function(t,e){var n,i;return t[e.id]={tags:null!==(n=e.tags)&&void 0!==n?n:{},custom_tags:null!==(i=e.custom_tags)&&void 0!==i?i:[],picked_up:!!e.picked_up},t}),{}),e.next=5,axios.post("/user/profile/photos/tags/bulkTag",{photos:n}).then((function(t){t.data.success&&r.a.$vToastify.success({title:"Success!",body:"Your tags were applied to the images",position:"top-right"})})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()},ADD_TAGS_TO_IMAGE:function(t,e){return xt(y.a.mark((function e(){var n,i,a;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.tags-added"),a=t.rootState.photos.paginate.data[0].id,e.next=5,axios.post("add-tags",{photo_id:a,tags:t.state.tags[a],custom_tags:t.state.customTags[a],picked_up:t.state.pickedUp}).then((function(e){e.data.success&&(r.a.$vToastify.success({title:n,body:i,position:"top-right"}),t.commit("clearTags",a),t.rootState.user.user.verification_required||(t.commit("incrementUsersNextLittercoinScore"),100===t.rootState.user.user.littercoin_progress&&(t.commit("incrementLittercoinScore"),r.a.$vToastify.success({title:n,body:"You just earned a Littercoin!",position:"top-right"})))),t.dispatch("LOAD_NEXT_IMAGE")})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()}};function Ct(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Tt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=3?t.customTagsError=_.a.t("tags.tag-limit-reached"):(n[e.photoId].unshift(e.customTag),-1===t.recentCustomTags.indexOf(e.customTag)&&(t.recentCustomTags.push(e.customTag),t.recentCustomTags.sort((function(t,e){return t===e?0:t0&&Object.keys(i).map((function(t){n[e][t]=0}))})),t.tags=St(St({},t.tags),{},Pt({},e,n))},set_default_litter_picked_up:function(t,e){t.pickedUp=e},setLang:function(t,e){t.categoryNames=e.categoryNames,t.currentCategory=e.currentCategory,t.currentItem=e.currentItem,t.litterlang=e.litterlang},togglePickedUp:function(t){t.pickedUp=!t.pickedUp},toggleSubmit:function(t){t.submitting=!t.submitting}},It={state:Object.assign({},bt),actions:kt,mutations:Lt},Ot={action:"",button:"",show:!1,title:"",type:""},At={hideModal:function(t){t.show=!1},resetState:function(t){Object.assign(t,Ot)},showModal:function(t,e){t.type=e.type,t.title=e.title,t.action=e.action,t.show=!0}},Mt={state:Object.assign({},Ot),actions:{},mutations:At},zt={state:{errors:{}}},Nt={filters:{id:"",dateRange:{start:null,end:null},period:"created_at",verified:null},paginate:{prev_page_url:null,next_page_url:null,data:[]},bulkPaginate:{prev_page_url:null,next_page_url:null,data:[]},remaining:0,selectedCount:0,selectAll:!1,inclIds:[],exclIds:[],total:0,verified:0,previousCustomTags:[],showDetailsPhotoId:null};function Dt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function Rt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Dt(a,i,r,o,s,"next",t)}function s(t){Dt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var jt={DELETE_SELECTED_PHOTOS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/user/profile/photos/delete",{selectAll:t.state.photos.selectAll,inclIds:t.state.photos.inclIds,exclIds:t.state.photos.exclIds,filters:t.state.photos.filters}).then((function(t){})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_PHOTOS_FOR_TAGGING:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("photos").then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_FILTERED_PHOTOS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/photos/filter",{params:{filters:t.state.filters}}).then((function(e){t.commit("myProfilePhotos",e.data.paginate),t.commit("photosCount",e.data.count)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},LOAD_PREVIOUS_CUSTOM_TAGS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/photos/previous-custom-tags").then((function(e){t.commit("setPreviousCustomTags",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},LOAD_MY_PHOTOS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/photos/index").then((function(e){t.commit("myProfilePhotos",e.data.paginate),t.commit("photosCount",e.data.count)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},LOAD_NEXT_IMAGE:function(t){return Rt(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state.paginate.next_page_url||1===t.state.paginate.current_page?t.state.paginate.current_page:t.state.paginate.current_page-1,e.next=3,axios.get("/photos?page="+n).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 3:case"end":return e.stop()}}),e)})))()},NEXT_IMAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.paginate.next_page_url).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},PREVIOUS_IMAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.paginate.prev_page_url).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},PREVIOUS_PHOTOS_PAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.bulkPaginate.prev_page_url).then((function(e){t.commit("paginatedPhotos",e.data.paginate)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},NEXT_PHOTOS_PAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.bulkPaginate.next_page_url).then((function(e){t.commit("paginatedPhotos",e.data.paginate)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},SELECT_IMAGE:function(t,e){return Rt(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/photos?page=".concat(e)).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()}};function Ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bt(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n0||t.exclIds.length>0||t.selectAll)&&(e.data=e.data.map((function(e){return t.selectAll&&(e.selected=!0),t.inclIds.includes(e.id)&&(e.selected=!0),t.exclIds.includes(e.id)&&(e.selected=!1),e}))),t.bulkPaginate=e},photosCount:function(t,e){t.total=e},photosForTagging:function(t,e){t.paginate=e.photos,t.remaining=e.remaining,t.total=e.total,t.previousCustomTags=e.custom_tags},myProfilePhotos:function(t,e){t.bulkPaginate=e},setPreviousCustomTags:function(t,e){t.previousCustomTags=e},resetState:function(t){Object.assign(t,Nt)},resetPhotoState:function(t){Object.assign(t,Nt)},selectAllPhotos:function(t){t.selectAll=!t.selectAll;var e=qt(t.bulkPaginate.data);e.forEach((function(e){e.selected=t.selectAll})),t.bulkPaginate.data=e,t.selectedCount=t.selectAll?t.total:0},setPhotoPickedUp:function(t,e){var n=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),i=t.bulkPaginate.data[n];i.picked_up=e.picked_up,t.bulkPaginate.data.splice(n,1,i)},addTagToPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=Object.assign({},null!==(n=r.tags)&&void 0!==n?n:{});r.tags=Bt(Bt({},a),{},Ut({},e.category,Bt(Bt({},a[e.category]),{},Ut({},e.tag,e.quantity)))),t.bulkPaginate.data.splice(i,1,r)},addCustomTagToPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=null!==(n=r.custom_tags)&&void 0!==n?n:[];void 0===a.find((function(t){return t.toLowerCase()===e.customTag.toLowerCase()}))&&(a.length>=3||(a.unshift(e.customTag),r.custom_tags=a,t.bulkPaginate.data.splice(i,1,r)))},removeTagFromPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=Object.assign({},null!==(n=r.tags)&&void 0!==n?n:{});delete a[e.category][e.tag],0===Object.keys(a[e.category]).length&&delete a[e.category],r.tags=a,t.bulkPaginate.data.splice(i,1,r)},removeCustomTagFromPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=null!==(n=r.custom_tags)&&void 0!==n?n:[];a=a.filter((function(t){return t!==e.customTag})),r.custom_tags=a,t.bulkPaginate.data.splice(i,1,r)},setPhotoToShowDetails:function(t,e){t.showDetailsPhotoId=e},togglePhotoSelected:function(t,e){var n=qt(t.bulkPaginate.data),i=qt(t.inclIds),r=qt(t.exclIds),a=n.find((function(t){return t.id===e}));a.selected=!a.selected,a.selected?(t.selectedCount++,t.selectAll?r=r.filter((function(t){return t!==a.id})):i.push(a.id)):(t.selectedCount--,t.selectAll?r.push(a.id):i=i.filter((function(t){return t!==a.id}))),t.selectAll?t.exclIds.push(a.id):t.inclIds.push(a.id),t.inclIds=i,t.exclIds=r,t.bulkPaginate.data=n}},Vt={state:Object.assign({},Nt),actions:jt,mutations:Gt},Ht={errors:{},plan:"",plans:[]};function Wt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function Yt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Wt(a,i,r,o,s,"next",t)}function s(t){Wt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var Zt={CREATE_ACCOUNT:function(t,e){return Yt(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.post("/register",{name:e.name,username:e.username,email:e.email,password:e.password,password_confirmation:e.password_confirmation,"g-recaptcha-response":e.g_recaptcha_response}).then((function(n){if(1===e.plan)alert("Congratulations! Your free account has been created. Please verify your email to activate login");else if(e.plan>1){var i=Stripe(""),r=window.location.href+"&status=success",a=window.location.href+"&status=error";i.redirectToCheckout({lineItems:[{price:e.plan_id,quantity:1}],mode:"subscription",successUrl:r,cancelUrl:a})}t.commit("createAccountErrors",[])})).catch((function(e){t.commit("createAccountErrors",e.response.data.errors)}));case 2:case"end":return n.stop()}}),n)})))()},GET_PLANS:function(t){return Yt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/plans").then((function(e){t.commit("setPlans",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()}},Xt={clearCreateAccountError:function(t,e){delete t.errors[e]},createAccountErrors:function(t,e){t.errors=e},resetState:function(t){Object.assign(t,Ht)},setPlans:function(t,e){t.plans=e}},Jt={state:Object.assign({},Ht),actions:Zt,mutations:Xt},Kt={errors:{},just_subscribed:!1,subscription:{}};function Qt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function te(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Qt(a,i,r,o,s,"next",t)}function s(t){Qt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var ee={DELETE_ACTIVE_SUBSCRIPTION:function(t){return te(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.subscription-cancelled"),e.next=4,axios.post("/stripe/delete").then((function(e){r.a.$vToastify.success({title:n,body:i,position:"top-right"}),t.commit("reset_subscriber")})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},GET_USERS_SUBSCRIPTIONS:function(t){return te(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/stripe/subscriptions").then((function(e){t.commit("subscription",e.data.sub)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},RESUBSCRIBE:function(t,e){return te(y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.post("/stripe/resubscribe",{plan:e}).then((function(t){})).catch((function(t){}));case 2:case"end":return t.stop()}}),t)})))()},SUBSCRIBE:function(t,e){return te(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.post("/subscribe",{email:e}).then((function(e){t.commit("has_subscribed",!0),setTimeout((function(){t.commit("has_subscribed",!1)}),5e3)})).catch((function(e){t.commit("subscribeErrors",e.response.data.errors)}));case 2:case"end":return n.stop()}}),n)})))()}},ne={clearSubscriberErrors:function(t){t.errors={}},has_subscribed:function(t,e){t.just_subscribed=e},resetState:function(t){Object.assign(t,Kt)},reset_subscriber:function(t,e){t.subscription={}},subscription:function(t,e){t.subscription=e},subscribeErrors:function(t,e){t.errors=e}},ie={state:Object.assign({},Kt),actions:ee,mutations:ne};function re(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function ae(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){re(a,i,r,o,s,"next",t)}function s(t){re(a,i,r,o,s,"throw",t)}o(void 0)}))}}function oe(t){return function(t){if(Array.isArray(t))return se(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n"+e.data.team.name+"."}),e.data.activeTeam&&(t.commit("usersActiveTeam",e.data.activeTeam.id),t.commit("usersTeam",e.data.activeTeam)))})).catch((function(t){r.a.$vToastify.error({title:o,body:s})}));case 6:case"end":return n.stop()}}),n)})))()},INACTIVATE_TEAM:function(t){return ae(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.error"),i=_.a.t("notifications.something-went-wrong"),e.next=4,axios.post("/teams/inactivate").then((function(e){e.data.success&&(t.commit("usersActiveTeam",null),t.commit("usersTeam",null))})).catch((function(t){r.a.$vToastify.error({title:n,body:i})}));case 4:case"end":return e.stop()}}),e)})))()},CREATE_NEW_TEAM:function(t,e){return ae(y.a.mark((function n(){var i,a,o,s,l;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),a=_.a.t("teams.create.created"),o=_.a.t("notifications.error"),s=_.a.t("teams.create.max-created"),l=_.a.t("notifications.success"),"Congratulations! You have joined a new team!",n.next=8,axios.post("/teams/create",{name:e.name,identifier:e.identifier,team_type:e.teamType}).then((function(e){e.data.success?(r.a.$vToastify.success({title:i,body:a,position:"top-right"}),t.commit("decrementUsersRemainingTeams"),t.commit("usersActiveTeam",e.data.team.id),t.commit("usersTeam",e.data.team),t.rootState.user.user.active_team||r.a.$vToastify.success({title:l,body:"Congratulations! You have joined a new team!",position:"top-right"})):r.a.$vToastify.error({title:o,body:s,position:"top-right"})})).catch((function(e){t.commit("teamErrors",e.response.data.errors)}));case 8:case"end":return n.stop()}}),n)})))()},UPDATE_TEAM:function(t,e){return ae(y.a.mark((function n(){var i,a,o,s;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),a=_.a.t("teams.create.updated"),o=_.a.t("notifications.error"),s=_.a.t("notifications.something-went-wrong"),n.next=6,axios.post("/teams/update/".concat(e.teamId),{name:e.name,identifier:e.identifier}).then(function(){var t=ae(y.a.mark((function t(e){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.data.success?r.a.$vToastify.success({title:i,body:a}):r.a.$vToastify.error({title:o,body:s});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(e){t.commit("teamErrors",e.response.data.errors)}));case 6:case"end":return n.stop()}}),n)})))()},DOWNLOAD_DATA_FOR_TEAM:function(t,e){return ae(y.a.mark((function t(){var n;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),"Your download is being processed and will be emailed to you shortly",t.next=4,axios.post("/teams/download",{team_id:e}).then((function(t){t.data.success&&r.a.$vToastify.success({title:n,body:"Your download is being processed and will be emailed to you shortly",position:"bottom-right"})})).catch((function(t){}));case 4:case"end":return t.stop()}}),t)})))()},GET_TEAM_DASHBOARD_DATA:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/teams/data",{params:{period:e.period,team_id:e.team_id}}).then((function(e){t.commit("teamDashboardData",e.data)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},GET_TEAMS_LEADERBOARD:function(t){return ae(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/teams/leaderboard").then((function(e){t.commit("teamsLeaderboard",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_TEAM_MEMBERS:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/teams/members",{params:{team_id:e}}).then((function(e){t.commit("paginatedTeamMembers",e.data.result)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},GET_TEAM_TYPES:function(t){return ae(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/teams/get-types").then((function(e){t.commit("teamTypes",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_TEAMS:function(t){return ae(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/teams/joined").then((function(e){t.commit("usersTeams",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},JOIN_TEAM:function(t,e){return ae(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),"Congratulations! You have joined a new team!","You have already joined this team!",n.next=5,axios.post("/teams/join",{identifier:e}).then((function(e){e.data.success?(r.a.$vToastify.success({title:i,body:"Congratulations! You have joined a new team!",position:"bottom-right"}),t.commit("usersActiveTeam",e.data.activeTeam.id),t.commit("usersTeam",e.data.activeTeam)):"already-joined"===e.data.msg&&r.a.$vToastify.info({title:"Hold on!",body:"You have already joined this team!",position:"bottom-right"})})).catch((function(e){t.commit("teamErrors",e.response.data.errors)}));case 5:case"end":return n.stop()}}),n)})))()},PREVIOUS_MEMBERS_PAGE:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get(t.state.members.prev_page_url,{params:{team_id:e}}).then((function(e){t.commit("paginatedTeamMembers",e.data.result)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},NEXT_MEMBERS_PAGE:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get(t.state.members.next_page_url,{params:{team_id:e}}).then((function(e){t.commit("paginatedTeamMembers",e.data.result)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},SAVE_TEAM_SETTINGS:function(t,e){return ae(y.a.mark((function n(){var i,a;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.state.teams.find((function(t){return t.id===e.team_id})).pivot,a=_.a.t("notifications.success"),"Team settings updated",n.next=5,axios.post("/teams/settings",{settings:i,all:e.all,team_id:e.team_id}).then((function(n){n.data.success&&(r.a.$vToastify.success({title:a,body:"Team settings updated",position:"top-right"}),e.all&&t.commit("allTeamSettings",e.team_id))})).catch((function(t){}));case 5:case"end":return n.stop()}}),n)})))()},TOGGLE_LEADERBOARD_VISIBILITY:function(t,e){return ae(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),"Visibility changed",n.next=4,axios.post("/teams/leaderboard/visibility",{team_id:e}).then((function(n){n.data.success&&(r.a.$vToastify.success({title:i,body:"Visibility changed",position:"top-right"}),t.commit("toggleTeamLeaderboardVis",e))})).catch((function(t){}));case 4:case"end":return n.stop()}}),n)})))()}},mutations:{allTeamSettings:function(t,e){var n=oe(t.teams),i=n.find((function(t){return t.id===e}));n.forEach((function(t){t.pivot.show_name_maps=i.pivot.show_name_maps,t.pivot.show_username_maps=i.pivot.show_username_maps,t.pivot.show_name_leaderboards=i.pivot.show_name_leaderboards,t.pivot.show_username_leaderboards=i.pivot.show_username_leaderboards})),t.teams=n},clearTeamsError:function(t,e){delete t.errors[e]},teamDashboardData:function(t,e){t.allTeams.photos_count=e.photos_count,t.allTeams.litter_count=e.litter_count,t.allTeams.members_count=e.members_count,t.geojson=e.geojson},paginatedTeamMembers:function(t,e){t.members=e},teamComponent:function(t,e){t.component_type=e},teamErrors:function(t,e){t.errors=e},teamsLeaderboard:function(t,e){t.leaderboard=e},teamMap:function(t,e){t.geojson=e},teamMembers:function(t,e){t.members.data=e},team_settings:function(t,e){var n=oe(t.teams);n.find((function(t){return t.id===e.team_id})).pivot[e.key]=e.v,t.teams=n},teamTypes:function(t,e){t.types=e},toggleTeamLeaderboardVis:function(t,e){var n=oe(t.teams),i=n.find((function(t){return t.id===e}));i.leaderboards=!i.leaderboards,t.teams=n},usersTeams:function(t,e){t.teams=e}}},ue={admin:!1,auth:!1,countries:{},errorLogin:"",errors:{},geojson:{features:[]},helper:!1,position:0,photoPercent:0,requiredXp:0,tagPercent:0,totalPhotos:0,totalTags:0,totalUsers:0,user:{}};function ce(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function he(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){ce(a,i,r,o,s,"next",t)}function s(t){ce(a,i,r,o,s,"throw",t)}o(void 0)}))}}var de={CHANGE_PASSWORD:function(t,e){return he(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.patch("/settings/details/password",{oldpassword:e.oldpassword,password:e.password,password_confirmation:e.password_confirmation}).then((function(t){})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 2:case"end":return n.stop()}}),n)})))()},SEND_PASSWORD_RESET_LINK:function(t,e){return he(y.a.mark((function t(){var n;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),"An email will be sent with a link to reset your password if the email exists.",r.a.$vToastify.success({title:n,body:"An email will be sent with a link to reset your password if the email exists."}),t.next=5,axios.post("/password/email",{email:e}).then((function(t){})).catch((function(t){}));case 5:case"end":return t.stop()}}),t)})))()},RESET_PASSWORD:function(t,e){return he(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),n.next=3,axios.post("/password/reset",e).then((function(t){t.data.success&&(r.a.$vToastify.success({title:i,body:t.data.message}),setTimeout((function(){N.replace("/"),N.go(0)}),4e3))})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 3:case"end":return n.stop()}}),n)})))()},SEND_EMAIL_TO_US:function(t,e){return he(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),"We got your email. You'll hear from us soon!",n.next=4,axios.post("/contact-us",e).then((function(t){r.a.$vToastify.success({title:i,body:"We got your email. You'll hear from us soon!"})})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 4:case"end":return n.stop()}}),n)})))()},CHECK_AUTH:function(t){},DELETE_ACCOUNT:function(t,e){return he(y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.post("/settings/delete",{password:e}).then((function(t){})).catch((function(t){}));case 2:case"end":return t.stop()}}),t)})))()},DOWNLOAD_MY_DATA:function(t,e){return he(y.a.mark((function t(){var n;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),"Your download is being processed and will be emailed to you.",t.next=4,axios.get("/user/profile/download",{params:e}).then((function(t){r.a.$vToastify.success({title:n,body:"Your download is being processed and will be emailed to you.",position:"top-right"})})).catch((function(t){}));case 4:case"end":return t.stop()}}),t)})))()},GET_CURRENT_USER:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/current-user").then((function(e){t.commit("initUser",e.data),t.commit("set_default_litter_picked_up",e.data.picked_up)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_COUNTRIES_FOR_FLAGS:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/settings/flags/countries").then((function(e){t.commit("flags_countries",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_PROFILE_DATA:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/index").then((function(e){t.commit("usersPosition",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_PROFILE_MAP_DATA:function(t,e){return he(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/user/profile/map",{params:{period:e.period,start:e.start+" 00:00:00",end:e.end+" 23:59:59"}}).then((function(e){t.commit("usersGeojson",e.data.geojson)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},LOGIN:function(t,e){return he(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.post("/login",{email:e.email,password:e.password}).then((function(e){t.commit("hideModal"),t.commit("login"),window.location.href="/upload"})).catch((function(e){t.commit("errorLogin",e.response.data.email)}));case 2:case"end":return n.stop()}}),n)})))()},LOGOUT:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/logout").then((function(e){t.commit("logout"),t.commit("resetState"),window.location.href="/"})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},SAVE_PRIVACY_SETTINGS:function(t){return he(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.privacy-updated"),e.next=4,axios.post("/settings/privacy/update",{show_name_maps:t.state.user.show_name_maps,show_username_maps:t.state.user.show_username_maps,show_name:t.state.user.show_name,show_username:t.state.user.show_username,show_name_createdby:t.state.user.show_name_createdby,show_username_createdby:t.state.user.show_username_createdby,prevent_others_tagging_my_photos:t.state.user.prevent_others_tagging_my_photos}).then((function(t){r.a.$vToastify.success({title:n,body:i,position:"top-right"})})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},TOGGLE_EMAIL_SUBSCRIPTION:function(t){return he(y.a.mark((function e(){var n,i,a;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.settings.subscribed"),a=_.a.t("notifications.settings.unsubscribed"),e.next=5,axios.post("/settings/email/toggle").then((function(e){e.data.sub?r.a.$vToastify.success({title:n,body:i,position:"top-right"}):r.a.$vToastify.success({title:n,body:a,position:"top-right"}),t.commit("toggle_email_sub",e.data.sub)})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()},TOGGLE_LITTER_PICKED_UP_SETTING:function(t){return he(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.litter-toggled"),e.next=4,axios.post("/settings/toggle").then((function(e){"success"===e.data.message&&(t.commit("toggle_litter_picked_up",e.data.value),r.a.$vToastify.success({title:n,body:i,position:"top-right"}))})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},UPDATE_DETAILS:function(t){return he(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),"Your information has been updated",e.next=4,axios.post("/settings/details",{name:t.state.user.name,email:t.state.user.email,username:t.state.user.username}).then((function(t){r.a.$vToastify.success({title:n,body:"Your information has been updated",position:"top-right"})})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 4:case"end":return e.stop()}}),e)})))()},UPDATE_GLOBAL_FLAG:function(t,e){return he(y.a.mark((function t(){var n,i;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.settings.flag-updated"),t.next=4,axios.post("/settings/save-flag",{country:e}).then((function(t){r.a.$vToastify.success({title:n,body:i,position:"top-right"})})).catch((function(t){}));case 4:case"end":return t.stop()}}),t)})))()},UPDATE_SETTINGS:function(t,e){return he(y.a.mark((function n(){var i,a;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),a=_.a.t("notifications.settings-updated"),n.next=4,axios.patch("/settings",e).then((function(n){Object.keys(e).forEach((function(e){t.commit("deleteUserError",e)})),r.a.$vToastify.success({title:i,body:a,position:"top-right"})})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 4:case"end":return n.stop()}}),n)})))()}},pe={changePrivacy:function(t,e){t.user[e.column]=e.v},changeUserEmail:function(t,e){t.user.email=e},changeUserName:function(t,e){t.user.name=e},changeUserUsername:function(t,e){t.user.username=e},decrementUsersRemainingTeams:function(t){t.user.remaining_teams--},deleteUserError:function(t,e){delete t.errors[e]},errorLogin:function(t,e){t.errorLogin=e},errors:function(t,e){t.errors=e},flags_countries:function(t,e){t.countries=e},initUser:function(t,e){t.user=e,(window.Laravel.jsPermissions.roles.includes("admin")||window.Laravel.jsPermissions.roles.includes("superadmin"))&&(t.admin=!0),window.Laravel.jsPermissions.roles.includes("helper")&&(t.helper=!0)},login:function(t){t.auth=!0},logout:function(t){t.auth=!1,t.admin=!1,t.helper=!1},incrementUsersNextLittercoinScore:function(t){var e=Object.assign({},t.user);e.littercoin_progress++,t.user=e},incrementLittercoinScore:function(t){var e=Object.assign({},t.user);e.total_littercoin++,e.littercoin_progress=0,t.user=e},usersActiveTeam:function(t,e){t.user.active_team=e},usersTeam:function(t,e){t.user.team=e},resetState:function(t){Object.assign(t,ue)},toggle_email_sub:function(t,e){t.user.emailsub=e},toggle_litter_picked_up:function(t,e){t.user.items_remaining=e},usersGeojson:function(t,e){t.geojson=e},usersPosition:function(t,e){t.position=e.usersPosition,t.totalUsers=e.totalUsers,t.totalPhotos=e.totalPhotos,t.totalTags=e.totalTags,t.photoPercent=Math.round(100*e.photoPercent,2),t.tagPercent=Math.round(100*e.tagPercent,2),t.requiredXp=e.requiredXp}},fe={state:Object.assign({},ue),actions:de,getters:{user:function(t){return t.user}},mutations:pe};r.a.use(s.a);var me=new s.a.Store({plugins:[function(t){var e=(t=t||{}).storage||window&&window.localStorage,n=t.key||"vuex";(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var i,r=function(){return(t.getState||function(t,e){var n;try{return(n=e.getItem(t))&&void 0!==n?JSON.parse(n):void 0}catch(t){}})(n,e)};return t.fetchBeforeUse&&(i=r()),function(a){t.fetchBeforeUse||(i=r()),"object"==typeof i&&null!==i&&(a.replaceState(t.overwrite?i:m(a.state,i,{arrayMerge:t.arrayMerger||function(t,e){return e},clone:!1})),(t.rehydrated||function(){})(a)),(t.subscriber||function(t){return function(e){return t.subscribe(e)}})(a)((function(i,r){(t.filter||function(){return!0})(i)&&(t.setState||function(t,e,n){return n.setItem(t,JSON.stringify(e))})(n,(t.reducer||function(t,e){return Array.isArray(e)?e.reduce((function(e,n){return function(t,e,n,i){return(e=e.split?e.split("."):e).slice(0,-1).reduce((function(t,e){return t[e]=t[e]||{}}),t)[e.pop()]=n,t}(e,n,function(t,e,n){return void 0===(t=(e.split?e.split("."):e).reduce((function(t,e){return t&&t[e]}),t))?void 0:t}(t,n))}),{}):t})(r,t.paths),e)}))}}({paths:["user","litter.recentTags"]})],modules:{admin:C,bbox:V,donate:it,citymap:Y,cleanups:J,community:tt,errors:rt,globalmap:ct,leaderboard:pt,locations:_t,litter:It,modal:Mt,payments:zt,photos:Vt,plans:Jt,subscriber:ie,teams:le,user:fe}}),ge=n("6tWx"),ve=n.n(ge),ye=n("WIaV"),_e=(n("RBMv"),n("aDiT")),be=n.n(_e),we=n("kAG5"),xe=n("nOdW"),ke=n.n(xe),Ce=n("KJ2h"),Te=n("A823"),Ee=n.n(Te),Se=n("4LeC"),Pe=n("EaH7"),Le={name:"Languages",data:function(){return{button:"dropdown navbar-item pointer",dir:"/assets/icons/flags/",langs:[{url:"en"},{url:"es"},{url:"fr"},{url:"hu"},{url:"nl"},{url:"pl"},{url:"pt"},{url:"sw"}]}},computed:{checkOpen:function(){return this.$store.state.globalmap.langsOpen?this.button+" is-active":this.button},currentLang:function(){return this.$t("locations.countries."+this.$i18n.locale+".lang")},locale:function(){return this.$i18n.locale}},methods:{changeLanguage:function(t){this.$i18n.locale=t,this.$localStorage.set("lang",t),this.$store.commit("closeLangsButton")},getFlag:function(t){return"en"===t?this.dir+"gb.png":"es"===t?this.dir+"es.png":"pl"===t?this.dir+"pl.png":"pt"===t?this.dir+"br.png":"ms"===t?this.dir+"my.png":"tk"===t?this.dir+"tr.png":"sw"===t?this.dir+"tz.png":this.dir+t.toLowerCase()+".png"},getLang:function(t){return this.$t("locations.countries."+t+".lang")},toggleOpen:function(){this.$store.commit("closeDatesButton"),this.$store.commit("toggleLangsButton")}}},Ie=(n("pzhP"),n("KHd+"));function Oe(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Ae={name:"Nav",components:{Languages:Object(Ie.a)(Le,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.checkOpen},[n("div",{staticClass:"dropdown-trigger",on:{click:function(e){return e.stopPropagation(),t.toggleOpen(e)}}},[n("button",{staticClass:"button is-small",attrs:{"aria-haspopup":"true"}},[n("img",{staticClass:"lang-flag-small",attrs:{src:t.getFlag(this.$i18n.locale)}}),t._v(" "),n("p",[t._v(t._s(this.currentLang))])])]),t._v(" "),n("div",{staticClass:"dropdown-menu"},[n("div",{staticClass:"dropdown-content",staticStyle:{padding:"0"}},t._l(t.langs,(function(e){return n("div",{staticClass:"dropdown-item hoverable flex p1em",on:{click:function(n){return t.changeLanguage(e.url)}}},[n("img",{staticClass:"lang-flag",attrs:{src:t.getFlag(e.url)}}),t._v(" "),n("p",[t._v(t._s(t.getLang(e.url)))])])})),0)])])}),[],!1,null,null,null).exports},data:function(){return{open:!1}},computed:{auth:function(){return this.$store.state.user.auth},burger:function(){return this.open?"navbar-burger burger is-active":"navbar-burger burger"},can_bbox:function(){return this.$store.state.user.user.can_bbox},nav:function(){return this.open?"navbar-menu is-active":"navbar-menu"}},methods:{close:function(){this.open=!1},login:function(){this.$store.commit("showModal",{type:"Login",title:"Login",action:"LOGIN"})},logout:function(){var t,e=this;return(t=y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("LOGOUT");case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Oe(a,i,r,o,s,"next",t)}function s(t){Oe(a,i,r,o,s,"throw",t)}o(void 0)}))})()},toggleOpen:function(){this.open=!this.open}}},Me=(n("FZtc"),Object(Ie.a)(Ae,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("nav",{staticClass:"navbar main-nav"},[n("div",{staticClass:"container"},[n("div",{staticClass:"navbar-brand"},[n("router-link",{staticClass:"navbar-item",attrs:{to:"/"}},[n("h1",{staticClass:"nav-title"},[t._v("#OpenLitterMap")])]),t._v(" "),n("div",{class:t.burger,on:{click:t.toggleOpen}},[n("span",{staticClass:"is-white"}),t._v(" "),n("span",{staticClass:"is-white"}),t._v(" "),n("span",{staticClass:"is-white"})])],1),t._v(" "),n("div",{class:t.nav},[n("div",{staticClass:"navbar-end"},[n("router-link",{staticClass:"navbar-item",attrs:{to:"/about"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.about"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/cleanups"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n Cleanups\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/global"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.global-map"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/world"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.world-cup"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/community"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.community"))+"\n ")]),t._v(" "),t.auth?n("div",{staticClass:"flex-not-mobile"},[n("router-link",{staticClass:"navbar-item",attrs:{to:"/upload"}},[t._v("\n "+t._s(t.$t("nav.upload"))+"\n ")]),t._v(" "),n("div",{key:t.$route.fullPath,staticClass:"navbar-item has-dropdown is-hoverable"},[n("a",{staticClass:"navbar-item",attrs:{id:"more"}},[t._v(" "+t._s(t.$t("nav.more")))]),t._v(" "),n("div",{staticClass:"navbar-dropdown",staticStyle:{"z-index":"2"}},[t.can("update tags")?n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/admin/photos"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.admin-verify-photos"))+"\n ")]):t._e(),t._v(" "),t.is("superadmin")?n("a",{staticClass:"navbar-item drop-item",attrs:{href:"/horizon",target:"_blank"}},[t._v("\n "+t._s(t.$t("nav.admin-horizon"))+"\n ")]):t._e(),t._v(" "),t.can("verify boxes")?n("a",{staticClass:"navbar-item drop-item",attrs:{href:"/bbox/verify"}},[t._v("\n "+t._s(t.$t("nav.admin-verify-boxes"))+"\n ")]):t._e(),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/tag"}},[t._v("\n "+t._s(t.$t("nav.tag-litter"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/profile"}},[t._v("\n "+t._s(t.$t("nav.profile"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/teams"}},[t._v("\n "+t._s(t.$t("nav.teams"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/settings/details"}},[t._v("\n "+t._s(t.$t("nav.settings"))+"\n ")]),t._v(" "),t.can("create boxes")?n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/bbox"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.bounding-boxes"))+"\n ")]):t._e(),t._v(" "),n("a",{staticClass:"navbar-item drop-item",on:{click:t.logout}},[t._v(" "+t._s(t.$t("nav.logout")))]),t._v(" "),n("Languages")],1)])],1):n("div",{staticClass:"flex-not-mobile"},[n("a",{staticClass:"navbar-item",on:{click:t.login}},[t._v(t._s(t.$t("nav.login")))]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/signup"}},[t._v("\n "+t._s(t.$t("nav.signup"))+"\n ")]),t._v(" "),n("Languages")],1)],1)])])])])}),[],!1,null,"613b535d",null).exports);function ze(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Ne={name:"Login",data:function(){return{email:"",password:"",processing:!1,btn:"button is-medium is-primary"}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errorLogin:function(){return this.$store.state.user.errorLogin}},methods:{clearLoginError:function(){this.$store.commit("errorLogin","")},login:function(){var t,e=this;return(t=y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("LOGIN",{email:e.email,password:e.password});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){ze(a,i,r,o,s,"next",t)}function s(t){ze(a,i,r,o,s,"throw",t)}o(void 0)}))})()},clearPwError:function(){this.error=!1,this.errormessage=""}}},De=(n("Qi36"),Object(Ie.a)(Ne,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{directives:[{name:"show",rawName:"v-show",value:t.errorLogin,expression:"errorLogin"}],staticStyle:{color:"red"}},[t._v(t._s(t.errorLogin))]),t._v(" "),n("form",{staticStyle:{padding:"1em 2em"},attrs:{role:"form",method:"post"},on:{submit:function(e){return e.preventDefault(),t.login(e)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input mb1em fs125",attrs:{placeholder:"you@email.com",type:"email",name:"email",required:"",autocomplete:"email"},domProps:{value:t.email},on:{keydown:t.clearLoginError,input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input mb1em fs125",attrs:{placeholder:"Your Password",type:"password",name:"password",required:"",autocomplete:"current-password"},domProps:{value:t.password},on:{keydown:t.clearPwError,input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("auth.login.login-btn")))])]),t._v(" "),n("footer",{staticClass:"modal-card-foot",staticStyle:{height:"50px"}},[n("div",{staticClass:"column is-half"},[n("a",{attrs:{href:"/signup"}},[t._v(t._s(t.$t("auth.login.signup-text")))])]),t._v(" "),n("div",{staticClass:"column is-half"},[n("a",{staticClass:"has-text-right",attrs:{href:"/password/reset"}},[t._v(t._s(t.$t("auth.login.forgot-password")))])])])])}),[],!1,null,null,null).exports),Re={name:"CreditCard",props:["cardNumber","cardName","cardMonth","cardYear","cardCvv","isCardFlipped","focusElementStyle","currentCardBackground","getCardType","otherCardMask","amexCardMask"],data:function(){return{imgs:"https://raw.githubusercontent.com/muhammederdem/credit-card-form/master/src/assets/images/"}}};n("r1L1");function je(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Fe={name:"CreditCard",components:{Card:Object(Ie.a)(Re,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card-list"},[n("div",{staticClass:"card-item",class:{"-active":t.isCardFlipped}},[n("div",{staticClass:"card-item__side -front"},[n("div",{ref:"focusElement",staticClass:"card-item__focus",class:{"-active":t.focusElementStyle},style:t.focusElementStyle}),t._v(" "),n("div",{staticClass:"card-item__cover"},[n("img",{staticClass:"card-item__bg",attrs:{src:t.imgs+t.currentCardBackground+".jpeg"}})]),t._v(" "),n("div",{staticClass:"card-item__wrapper"},[n("div",{staticClass:"card-item__top"},[n("img",{staticClass:"card-item__chip",attrs:{src:t.imgs+"chip.png"}}),t._v(" "),n("div",{staticClass:"card-item__type"},[n("transition",{attrs:{name:"slide-fade-up"}},[t.getCardType?n("img",{key:t.getCardType,staticClass:"card-item__typeImg",attrs:{src:t.imgs+t.getCardType+".png"}}):t._e()])],1)]),t._v(" "),"amex"===t.getCardType?n("div",{},[n("div",{staticClass:"card-item__cvv-amex"},t._l(t.cardCvv,(function(e,i){return n("span",{key:i},[t._v("*")])})),0)]):t._e(),t._v(" "),n("label",{ref:"cardNumber",staticClass:"card-item__number",attrs:{for:"cardNumber"}},["amex"===t.getCardType?t._l(t.amexCardMask,(function(e,i){return n("span",{key:i},[n("transition",{attrs:{name:"slide-fade-up"}},[i>4&&i<14&&t.cardNumber.length>i&&""!==e.trim()?n("div",{staticClass:"card-item__numberItem"},[t._v("*")]):t.cardNumber.length>i?n("div",{key:i,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(t.cardNumber[i]))]):n("div",{key:i+1,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(e))])])],1)})):t._l(t.otherCardMask,(function(e,i){return n("span",{key:i},[n("transition",{attrs:{name:"slide-fade-up"}},[i>4&&i<15&&t.cardNumber.length>i&&""!==e.trim()?n("div",{staticClass:"card-item__numberItem"},[t._v("*")]):t.cardNumber.length>i?n("div",{key:i,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(t.cardNumber[i])+" ")]):n("div",{key:i+1,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(e))])])],1)}))],2),t._v(" "),n("div",{staticClass:"card-item__content"},[n("label",{ref:"cardName",staticClass:"card-item__info",attrs:{for:"cardName"}},[n("div",{staticClass:"card-item__holder"},[t._v("Card Holder")]),t._v(" "),n("transition",{attrs:{name:"slide-fade-up"}},[t.cardName.length?n("div",{key:"1",staticClass:"card-item__name"},[n("transition-group",{attrs:{name:"slide-fade-right"}},t._l(t.cardName.replace(/\s\s+/g," "),(function(e,i){return i==i?n("span",{key:i+1,staticClass:"card-item__nameItem"},[t._v(t._s(e))]):t._e()})),0)],1):n("div",{key:"2",staticClass:"card-item__name"},[t._v("Full Name")])])],1),t._v(" "),n("div",{ref:"cardDate",staticClass:"card-item__date"},[n("label",{staticClass:"card-item__dateTitle",attrs:{for:"cardMonth"}},[t._v("Expires")]),t._v(" "),n("label",{staticClass:"card-item__dateItem",attrs:{for:"cardMonth"}},[n("transition",{attrs:{name:"slide-fade-up"}},[t.cardMonth?n("span",{key:t.cardMonth},[t._v(t._s(t.cardMonth))]):n("span",{key:"2"},[t._v("MM")])])],1),t._v("\n /\n "),n("label",{staticClass:"card-item__dateItem",attrs:{for:"cardYear"}},[n("transition",{attrs:{name:"slide-fade-up"}},[t.cardYear?n("span",{key:t.cardYear},[t._v(t._s(String(t.cardYear).slice(2,4)))]):n("span",{key:"2"},[t._v("YY")])])],1)])])])]),t._v(" "),n("div",{staticClass:"card-item__side -back"},[n("div",{staticClass:"card-item__cover"},[n("img",{staticClass:"card-item__bg",attrs:{src:this.imgs+t.currentCardBackground+".jpeg"}})]),t._v(" "),n("div",{staticClass:"card-item__band"}),t._v(" "),n("div",{staticClass:"card-item__cvv"},[n("div",{staticClass:"card-item__cvvTitle"},[t._v("CVV")]),t._v(" "),n("div",{staticClass:"card-item__cvvBand"},t._l(t.cardCvv,(function(e,i){return n("span",{key:i},[t._v("*")])})),0),t._v(" "),n("div",{staticClass:"card-item__type"},[t.getCardType?n("img",{staticClass:"card-item__typeImg",attrs:{src:this.imgs+t.getCardType+".png"}}):t._e()])])])])])}),[],!1,null,"03bccacd",null).exports},data:function(){return{btn:"card-form__button button",disabled:!1,processing:!1,currentCardBackground:Math.floor(25*Math.random()+1),cardName:"",cardNumber:"",cardMonth:"",cardYear:"",cardCvv:"",minCardYear:(new Date).getFullYear(),amexCardMask:"#### ###### #####",otherCardMask:"#### #### #### ####",cardNumberTemp:"",isCardFlipped:!1,focusElementStyle:null,isInputFocused:!1,stripe:"",elements:"",card:"",intentToken:""}},mounted:function(){this.includeStripe("js.stripe.com/v3/",function(){this.configureStripe()}.bind(this)),this.loadIntent(),this.cardNumberTemp=this.otherCardMask,document.getElementById("cardNumber").focus()},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.payments.errors},generateCardNumberMask:function(){return"amex"===this.getCardType?this.amexCardMask:this.otherCardMask},getCardType:function(){var t=this.cardNumber,e=new RegExp("^4");return null!=t.match(e)?"visa":(e=new RegExp("^(34|37)"),null!=t.match(e)?"amex":(e=new RegExp("^5[1-5]"),null!=t.match(e)?"mastercard":(e=new RegExp("^6011"),null!=t.match(e)?"discover":(e=new RegExp("^9792"),null!=t.match(e)?"troy":"visa"))))},minCardMonth:function(){return this.cardYear===this.minCardYear?(new Date).getMonth()+1:1}},watch:{cardYear:function(){this.cardMonth0&&void 0===this.errors.main?this.disabled=!0:this.disabled=!1},clearErrors:function(t){this.$store.commit("clearCustomerCenterErrors",t),this.checkForErrors()},close:function(){this.$store.commit("hideModal")},configureStripe:function(){this.stripe=Stripe(""),this.elements=this.stripe.elements(),this.card=this.elements.create("card"),this.card.mount("#card-element")},errorsExist:function(t){return this.errors.hasOwnProperty(t)},flipCard:function(t){"amex"!==this.getCardType&&(this.isCardFlipped=t)},focusInput:function(t){this.isInputFocused=!0;var e=t.target.dataset.ref,n=this.$refs[e];this.focusElementStyle={width:"".concat(n.offsetWidth,"px"),height:"".concat(n.offsetHeight,"px"),transform:"translateX(".concat(n.offsetLeft,"px) translateY(").concat(n.offsetTop,"px)")}},getFirstError:function(t){return this.errors[t][0]},hasError:function(t){return void 0!==this.errors[t]},includeStripe:function(t,e){var n=document,i=n.createElement("script"),r=n.getElementsByTagName("script")[0];i.src="//"+t,e&&i.addEventListener("load",(function(t){e(null,t)}),!1),r.parentNode.insertBefore(i,r)},loadIntent:function(){var t,e=this;return(t=y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.get("/api/v1/user/setup-intent").then((function(t){e.intentToken=t.data}));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){je(a,i,r,o,s,"next",t)}function s(t){je(a,i,r,o,s,"throw",t)}o(void 0)}))})()},submit:function(){Stripe("").redirectToCheckout({lineItems:[{price:"plan_E579ju4xamcU41",quantity:1}],mode:"subscription",successUrl:"https://www.example.com/success",cancelUrl:"https://www.example.com/cancel"})}}},Be=(n("sE6M"),Object(Ie.a)(Fe,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cc-wrapper"},[n("div",{staticClass:"card-form"},[n("Card",{attrs:{cardNumber:t.cardNumber,cardName:t.cardName,cardMonth:t.cardMonth,cardYear:t.cardYear,cardCvv:t.cardCvv,isCardFlipped:t.isCardFlipped,focusElementStyle:t.focusElementStyle,currentCardBackground:t.currentCardBackground,getCardType:t.getCardType,otherCardMask:t.otherCardMask,amexCardMask:t.amexCardMask}}),t._v(" "),n("div",{attrs:{id:"card-element"}}),t._v(" "),n("div",{staticClass:"card-form__inner"},[Object.keys(this.errors).length>0&&void 0!==this.errors.main?n("div",{staticClass:"notification is-danger",staticStyle:{"margin-bottom":"20px","margin-top":"-40px"}},[n("p",[t._v(t._s(this.errors.main))])]):t._e(),t._v(" "),n("div",{staticClass:"card-input margin-mobile"},[n("label",{staticClass:"card-input__label",class:t.errorsExist("cc_number")?"label-danger":"",attrs:{for:"cardNumber"}},[t._v(t._s(t.$t("creditcard.card-number")))]),t._v(" "),n("input",{directives:[{name:"mask",rawName:"v-mask",value:t.generateCardNumberMask,expression:"generateCardNumberMask"},{name:"model",rawName:"v-model",value:t.cardNumber,expression:"cardNumber"}],staticClass:"card-input__input",class:t.errorsExist("cc_number")?"border-danger":"",attrs:{type:"text",id:"cardNumber",focus:t.focusInput,blur:t.blurInput,"data-ref":"cardNumber",autocomplete:"off",placeholder:this.$t("creditcard.placeholders.card-number")},domProps:{value:t.cardNumber},on:{input:[function(e){e.target.composing||(t.cardNumber=e.target.value)},function(e){return t.clearErrors("cc_number")}]}}),t._v(" "),t.hasError("cc_number")?n("div",{class:t.errorsExist("cc_number")?"error-message":""},[n("span",[t._v(t._s(t.getFirstError("cc_number")))])]):t._e()]),t._v(" "),n("div",{staticClass:"card-input"},[n("label",{staticClass:"card-input__label",class:t.errorsExist("cc_name")?"label-danger":"",attrs:{for:"cardName"}},[t._v(t._s(t.$t("creditcard.card-holder")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.cardName,expression:"cardName"}],staticClass:"card-input__input",class:t.errorsExist("cc_name")?"border-danger":"",attrs:{type:"text",id:"cardName",focus:t.focusInput,blur:t.blurInput,"data-ref":"cardName",autocomplete:"off",placeholder:this.$t("creditcard.placeholders.card-holder")},domProps:{value:t.cardName},on:{input:[function(e){e.target.composing||(t.cardName=e.target.value)},function(e){return t.clearErrors("cc_name")}]}}),t._v(" "),t.hasError("cc_name")?n("div",{class:t.errorsExist("cc_name")?"error-message":""},[n("span",[t._v(t._s(t.getFirstError("cc_name")))])]):t._e()]),t._v(" "),n("div",{staticClass:"card-form__row"},[n("div",{staticClass:"card-form__col"},[n("div",{staticClass:"card-form__group"},[n("label",{staticClass:"card-input__label",attrs:{for:"cardMonth"}},[t._v(t._s(t.$t("creditcard.exp")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.cardMonth,expression:"cardMonth"}],staticClass:"card-input__input -select",attrs:{id:"cardMonth",focus:t.focusInput,"data-ref":"cardDate"},on:{blur:t.blurInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.cardMonth=e.target.multiple?n:n[0]},function(e){return t.clearErrors("cc_exp_month")}]}},[n("option",{attrs:{value:"",disabled:"",selected:""}},[t._v(t._s(t.$t("creditcard.placeholders.exp-month")))]),t._v(" "),t._l(12,(function(e){return n("option",{key:e,attrs:{disabled:et.length)&&(e=t.length);for(var n=0,i=new Array(e);nHiyo ina maana kwamba huchangii timu yoyote kwa sasa.
    Unaweza kuchagua timu ilio hai kwa kubofya alama za nyota kwenye orodha ya chini.","disable-contributions-tooltip":"Hii inazima michango ya timu yako kuanzia sasa na kuendelea. Bado utakuwa mwanachama wa timu zako na unaweza kuwasha michango wakati wowote.","team-details":"Maelezo ya Timu","all-my-teams":"Timu Zangu Zote","this-is-active-team":"Hii ni timu yako inayofanya kazi","set-as-active-team":"Weka kama timu yako hai","team-identifier":"Kitambulisho cha Timu","join-team":"Tafadhali jiunge na timu","leave-team":"Acha timu","just-left-team":"Umeacha timu","cant-leave-team":"Huwezi kuondoka kwenye timu hii kwa kuwa wewe ndiwe pekee mwanachama","change-active-team":"Jiunge na timu","download-team-data":"Pakua taarifa za timu","hide-from-leaderboards":"Ficha kwenye ubao wa vingozi","show-on-leaderboards":"Onyesha kwenye ubao wa vingozi","position-header":"Nafasi","name-header":"Jina","username-header":"Jina unalotumia","status-header":"Hali","photos-header":"Picha","litter-header":"Taka","identifier-header":"Utambulisho","members-header":"Wanachama","last-activity-header":"Shughuli ya mwisho","confirm-leave-team":"Je, una uhakika?\\nUnaweza kujiunga tena wakati wowote na michango yako itahifadhiwa."}')},dvjZ:function(t,e,n){var i=n("oUSK");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},dxLh:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Wprowadź identyfikator, aby dołączyć do drużyny.","team-identifier":"Dołącz do drużyny przez jej identyfikator","enter-id-to-join-placeholder":"Wpisz identyfikator, aby dołączyć do drużyny","join-team":"Dołącz do drużyny"}')},e7o3:function(t){t.exports=JSON.parse('{"allowed-to-create":"Je mag {teams} team(s) aanmaken","what-kind-of-team":"Wat voor soort team wil je aanmaken?","team-type":"Team Type","team-name":"Team Naam","my-awesome-team-placeholder":"Mijn Geweldige Team","unique-team-id":"Uniek Kenmerk van het team","id-to-join-team":"Iedereen met dit kenmerk kan zich aansluiten bij jouw team.","create-team":"Maak Team Aan","update-team":"Team bijwerken","created":"Gefeliciteerd! Je nieuwe team is aangemaakt.","updated":"Team bijgewerkt.","select-team":"Selecteer een team","fail":"Er ging iets mis bij het aanmaken van jouw Team","max-created":"Het maximum aantal teams dat je kunt aanmaken is bereikt."}')},eC5B:function(t,e,n){var i;i=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";var i=n(1);t.exports=i.default},function(t,e,n){"use strict";var i=n(2),r=n(9),a=n(24),o=n(39),s=n(40),l=n(41),u=n(12),c=n(5),h=n(71),d=n(8),p=n(43),f=n(14),m=function(){function t(e,n){var u=this;if(function(t){if(null==t)throw"You must pass your app key when you instantiate Pusher."}(e),!(n=n||{}).cluster&&!n.wsHost&&!n.httpHost){var m=f.default.buildLogSuffix("javascriptQuickStart");d.default.warn("You should always specify a cluster when connecting. "+m)}this.key=e,this.config=r.extend(h.getGlobalConfig(),n.cluster?h.getClusterConfig(n.cluster):{},n),this.channels=p.default.createChannels(),this.global_emitter=new a.default,this.sessionID=Math.floor(1e9*Math.random()),this.timeline=new o.default(this.key,this.sessionID,{cluster:this.config.cluster,features:t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:s.default.INFO,version:c.default.VERSION}),this.config.disableStats||(this.timelineSender=p.default.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+i.default.TimelineTransport.name})),this.connection=p.default.createConnectionManager(this.key,r.extend({getStrategy:function(t){var e=r.extend({},u.config,t);return l.build(i.default.getDefaultStrategy(e),e)},timeline:this.timeline,activityTimeout:this.config.activity_timeout,pongTimeout:this.config.pong_timeout,unavailableTimeout:this.config.unavailable_timeout},this.config,{useTLS:this.shouldUseTLS()})),this.connection.bind("connected",(function(){u.subscribeAll(),u.timelineSender&&u.timelineSender.send(u.connection.isUsingTLS())})),this.connection.bind("message",(function(t){var e=0===t.event.indexOf("pusher_internal:");if(t.channel){var n=u.channel(t.channel);n&&n.handleEvent(t)}e||u.global_emitter.emit(t.event,t.data)})),this.connection.bind("connecting",(function(){u.channels.disconnect()})),this.connection.bind("disconnected",(function(){u.channels.disconnect()})),this.connection.bind("error",(function(t){d.default.warn("Error",t)})),t.instances.push(this),this.timeline.info({instances:t.instances.length}),t.isReady&&this.connect()}return t.ready=function(){t.isReady=!0;for(var e=0,n=t.instances.length;e0)i.loading[t].push(n);else{i.loading[t]=[n];var a=r.default.createScriptRequest(i.getPath(t,e)),o=i.receivers.create((function(e){if(i.receivers.remove(o),i.loading[t]){var n=i.loading[t];delete i.loading[t];for(var r=function(t){t||a.cleanup()},s=0;s>>6)+i(128|63&e):i(224|e>>>12&15)+i(128|e>>>6&63)+i(128|63&e)},u=function(t){return t.replace(/[^\x00-\x7F]/g,l)},c=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[r.charAt(n>>>18),r.charAt(n>>>12&63),e>=2?"=":r.charAt(n>>>6&63),e>=1?"=":r.charAt(63&n)].join("")},h=window.btoa||function(t){return t.replace(/[\s\S]{1,3}/g,c)}},function(t,e,n){"use strict";var i=n(12),r={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(t){return new i.OneOffTimer(0,t)},method:function(t){for(var e=[],n=1;n0)for(i=0;i0&&t.onChunk(200,e.responseText)},e.onload=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText),t.emit("finished",200),t.close()},e},abortRequest:function(t){t.ontimeout=t.onerror=t.onprogress=t.onload=null,t.abort()}};e.__esModule=!0,e.default=r},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},i=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.BadEventName=i;var r=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.RequestTimedOut=r;var a=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportPriorityTooLow=a;var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportClosed=o;var s=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedFeature=s;var l=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedTransport=l;var u=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedStrategy=u},function(t,e,n){"use strict";var i=n(33),r=n(34),a=n(36),o=n(37),s=n(38),l={createStreamingSocket:function(t){return this.createSocket(a.default,t)},createPollingSocket:function(t){return this.createSocket(o.default,t)},createSocket:function(t,e){return new r.default(t,e)},createXHR:function(t,e){return this.createRequest(s.default,t,e)},createRequest:function(t,e,n){return new i.default(t,e,n)}};e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(2),a=n(24),o=function(t){function e(e,n,i){t.call(this),this.hooks=e,this.method=n,this.url=i}return i(e,t),e.prototype.start=function(t){var e=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){e.close()},r.default.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(t)},e.prototype.close=function(){this.unloader&&(r.default.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},e.prototype.onChunk=function(t,e){for(;;){var n=this.advanceBuffer(e);if(!n)break;this.emit("chunk",{status:t,data:n})}this.isBufferTooLong(e)&&this.emit("buffer_too_long")},e.prototype.advanceBuffer=function(t){var e=t.slice(this.position),n=e.indexOf("\n");return-1!==n?(this.position+=n+1,e.slice(0,n)):null},e.prototype.isBufferTooLong=function(t){return this.position===t.length&&t.length>262144},e}(a.default);e.__esModule=!0,e.default=o},function(t,e,n){"use strict";var i=n(35),r=n(11),a=n(2),o=1,s=function(){function t(t,e){this.hooks=t,this.session=u(1e3)+"/"+function(t){for(var e=[],n=0;n0&&t.onChunk(e.status,e.responseText);break;case 4:e.responseText&&e.responseText.length>0&&t.onChunk(e.status,e.responseText),t.emit("finished",e.status),t.close()}},e},abortRequest:function(t){t.onreadystatechange=null,t.abort()}};e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=n(9),r=n(11),a=n(40),o=function(){function t(t,e,n){this.key=t,this.session=e,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return t.prototype.log=function(t,e){t<=this.options.level&&(this.events.push(i.extend({},e,{timestamp:r.default.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},t.prototype.error=function(t){this.log(a.default.ERROR,t)},t.prototype.info=function(t){this.log(a.default.INFO,t)},t.prototype.debug=function(t){this.log(a.default.DEBUG,t)},t.prototype.isEmpty=function(){return 0===this.events.length},t.prototype.send=function(t,e){var n=this,r=i.extend({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],t(r,(function(t,i){t||n.sent++,e&&e(t,i)})),!0},t.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},t}();e.__esModule=!0,e.default=o},function(t,e){"use strict";var n;!function(t){t[t.ERROR=3]="ERROR",t[t.INFO=6]="INFO",t[t.DEBUG=7]="DEBUG"}(n||(n={})),e.__esModule=!0,e.default=n},function(t,e,n){"use strict";var i=n(9),r=n(11),a=n(42),o=n(31),s=n(64),l=n(65),u=n(66),c=n(67),h=n(68),d=n(69),p=n(70),f=n(2).default.Transports;e.build=function(t,e){return w(t,i.extend({},v,e))[1].strategy};var m={isSupported:function(){return!1},connect:function(t,e){var n=r.default.defer((function(){e(new o.UnsupportedStrategy)}));return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}};function g(t){return function(e){return[t.apply(this,arguments),e]}}var v={extend:function(t,e,n){return[i.extend({},e,n),t]},def:function(t,e,n){if(void 0!==t[e])throw"Redefining symbol "+e;return t[e]=n,[void 0,t]},def_transport:function(t,e,n,r,a,l){var u,c=f[n];if(!c)throw new o.UnsupportedTransport(n);u=t.enabledTransports&&-1===i.arrayIndexOf(t.enabledTransports,e)||t.disabledTransports&&-1!==i.arrayIndexOf(t.disabledTransports,e)?m:new s.default(e,r,l?l.getAssistant(c):c,i.extend({key:t.key,useTLS:t.useTLS,timeline:t.timeline,ignoreNullOrigin:t.ignoreNullOrigin},a));var h=t.def(t,e,u)[1];return h.Transports=t.Transports||{},h.Transports[e]=u,[void 0,h]},transport_manager:g((function(t,e){return new a.default(e)})),sequential:g((function(t,e){var n=Array.prototype.slice.call(arguments,2);return new l.default(n,e)})),cached:g((function(t,e,n){return new c.default(n,t.Transports,{ttl:e,timeline:t.timeline,useTLS:t.useTLS})})),first_connected:g((function(t,e){return new p.default(e)})),best_connected_ever:g((function(){var t=Array.prototype.slice.call(arguments,1);return new u.default(t)})),delayed:g((function(t,e,n){return new h.default(n,{delay:e})})),if:g((function(t,e,n,i){return new d.default(e,n,i)})),is_supported:g((function(t,e){return function(){return e.isSupported()}}))};function y(t){return"string"==typeof t&&":"===t.charAt(0)}function _(t,e){return e[t.slice(1)]}function b(t,e){if(y(t[0])){var n=_(t[0],e);if(t.length>1){if("function"!=typeof n)throw"Calling non-function "+t[0];var r=[i.extend({},e)].concat(i.map(t.slice(1),(function(t){return w(t,i.extend({},e))[0]})));return n.apply(this,r)}return[n,e]}return function t(e,n){if(0===e.length)return[[],n];var i=w(e[0],n),r=t(e.slice(1),i[1]);return[[i[0]].concat(r[0]),r[1]]}(t,e)}function w(t,e){return"string"==typeof t?function(t,e){if(!y(t))return[t,e];var n=_(t,e);if(void 0===n)throw"Undefined symbol "+t;return[n,e]}(t,e):"object"==typeof t&&t instanceof Array&&t.length>0?b(t,e):[t,e]}},function(t,e,n){"use strict";var i=n(43),r=function(){function t(t){this.options=t||{},this.livesLeft=this.options.lives||1/0}return t.prototype.getAssistant=function(t){return i.default.createAssistantToTheTransportManager(this,t,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},t.prototype.isAlive=function(){return this.livesLeft>0},t.prototype.reportDeath=function(){this.livesLeft-=1},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=n(44),r=n(45),a=n(48),o=n(49),s=n(50),l=n(51),u=n(54),c=n(52),h=n(62),d=n(63),p={createChannels:function(){return new d.default},createConnectionManager:function(t,e){return new h.default(t,e)},createChannel:function(t,e){return new c.default(t,e)},createPrivateChannel:function(t,e){return new l.default(t,e)},createPresenceChannel:function(t,e){return new s.default(t,e)},createEncryptedChannel:function(t,e){return new u.default(t,e)},createTimelineSender:function(t,e){return new o.default(t,e)},createAuthorizer:function(t,e){return e.authorizer?e.authorizer(t,e):new a.default(t,e)},createHandshake:function(t,e){return new r.default(t,e)},createAssistantToTheTransportManager:function(t,e,n){return new i.default(t,e,n)}};e.__esModule=!0,e.default=p},function(t,e,n){"use strict";var i=n(11),r=n(9),a=function(){function t(t,e,n){this.manager=t,this.transport=e,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=void 0}return t.prototype.createConnection=function(t,e,n,a){var o=this;a=r.extend({},a,{activityTimeout:this.pingDelay});var s=this.transport.createConnection(t,e,n,a),l=null,u=function(){s.unbind("open",u),s.bind("closed",c),l=i.default.now()},c=function(t){if(s.unbind("closed",c),1002===t.code||1003===t.code)o.manager.reportDeath();else if(!t.wasClean&&l){var e=i.default.now()-l;e<2*o.maxPingDelay&&(o.manager.reportDeath(),o.pingDelay=Math.max(e/2,o.minPingDelay))}};return s.bind("open",u),s},t.prototype.isSupported=function(t){return this.manager.isAlive()&&this.transport.isSupported(t)},t}();e.__esModule=!0,e.default=a},function(t,e,n){"use strict";var i=n(9),r=n(46),a=n(47),o=function(){function t(t,e){this.transport=t,this.callback=e,this.bindListeners()}return t.prototype.close=function(){this.unbindListeners(),this.transport.close()},t.prototype.bindListeners=function(){var t=this;this.onMessage=function(e){var n;t.unbindListeners();try{n=r.processHandshake(e)}catch(e){return t.finish("error",{error:e}),void t.transport.close()}"connected"===n.action?t.finish("connected",{connection:new a.default(n.id,t.transport),activityTimeout:n.activityTimeout}):(t.finish(n.action,{error:n.error}),t.transport.close())},this.onClosed=function(e){t.unbindListeners();var n=r.getCloseAction(e)||"backoff",i=r.getCloseError(e);t.finish(n,{error:i})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},t.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},t.prototype.finish=function(t,e){this.callback(i.extend({transport:this.transport,action:t},e))},t}();e.__esModule=!0,e.default=o},function(t,e){"use strict";e.decodeMessage=function(t){try{var e=JSON.parse(t.data),n=e.data;if("string"==typeof n)try{n=JSON.parse(e.data)}catch(t){}var i={event:e.event,channel:e.channel,data:n};return e.user_id&&(i.user_id=e.user_id),i}catch(e){throw{type:"MessageParseError",error:e,data:t.data}}},e.encodeMessage=function(t){return JSON.stringify(t)},e.processHandshake=function(t){var n=e.decodeMessage(t);if("pusher:connection_established"===n.event){if(!n.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:n.data.socket_id,activityTimeout:1e3*n.data.activity_timeout}}if("pusher:error"===n.event)return{action:this.getCloseAction(n.data),error:this.getCloseError(n.data)};throw"Invalid handshake"},e.getCloseAction=function(t){return t.code<4e3?t.code>=1002&&t.code<=1004?"backoff":null:4e3===t.code?"tls_only":t.code<4100?"refused":t.code<4200?"backoff":t.code<4300?"retry":"refused"},e.getCloseError=function(t){return 1e3!==t.code&&1001!==t.code?{type:"PusherError",data:{code:t.code,message:t.reason||t.message}}:null}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(9),a=n(24),o=n(46),s=n(8),l=function(t){function e(e,n){t.call(this),this.id=e,this.transport=n,this.activityTimeout=n.activityTimeout,this.bindListeners()}return i(e,t),e.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},e.prototype.send=function(t){return this.transport.send(t)},e.prototype.send_event=function(t,e,n){var i={event:t,data:e};return n&&(i.channel=n),s.default.debug("Event sent",i),this.send(o.encodeMessage(i))},e.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},e.prototype.close=function(){this.transport.close()},e.prototype.bindListeners=function(){var t=this,e={message:function(e){var n;try{n=o.decodeMessage(e)}catch(n){t.emit("error",{type:"MessageParseError",error:n,data:e.data})}if(void 0!==n){switch(s.default.debug("Event recd",n),n.event){case"pusher:error":t.emit("error",{type:"PusherError",data:n.data});break;case"pusher:ping":t.emit("ping");break;case"pusher:pong":t.emit("pong")}t.emit("message",n)}},activity:function(){t.emit("activity")},error:function(e){t.emit("error",{type:"WebSocketError",error:e})},closed:function(e){n(),e&&e.code&&t.handleCloseEvent(e),t.transport=null,t.emit("closed")}},n=function(){r.objectApply(e,(function(e,n){t.transport.unbind(n,e)}))};r.objectApply(e,(function(e,n){t.transport.bind(n,e)}))},e.prototype.handleCloseEvent=function(t){var e=o.getCloseAction(t),n=o.getCloseError(t);n&&this.emit("error",n),e&&this.emit(e,{action:e,error:n})},e}(a.default);e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=n(2),r=function(){function t(t,e){this.channel=t;var n=e.authTransport;if(void 0===i.default.getAuthorizers()[n])throw"'"+n+"' is not a recognized auth transport";this.type=n,this.options=e,this.authOptions=(e||{}).auth||{}}return t.prototype.composeQuery=function(t){var e="socket_id="+encodeURIComponent(t)+"&channel_name="+encodeURIComponent(this.channel.name);for(var n in this.authOptions.params)e+="&"+encodeURIComponent(n)+"="+encodeURIComponent(this.authOptions.params[n]);return e},t.prototype.authorize=function(e,n){return t.authorizers=t.authorizers||i.default.getAuthorizers(),t.authorizers[this.type].call(this,i.default,e,n)},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=n(2),r=function(){function t(t,e){this.timeline=t,this.options=e||{}}return t.prototype.send=function(t,e){this.timeline.isEmpty()||this.timeline.send(i.default.TimelineTransport.getAgent(this,t),e)},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(51),a=n(8),o=n(53),s=n(14),l=function(t){function e(e,n){t.call(this,e,n),this.members=new o.default}return i(e,t),e.prototype.authorize=function(e,n){var i=this;t.prototype.authorize.call(this,e,(function(t,e){if(!t){if(void 0===e.channel_data){var r=s.default.buildLogSuffix("authenticationEndpoint");return a.default.warn("Invalid auth response for channel '"+i.name+"',expected 'channel_data' field. "+r),void n("Invalid auth response")}var o=JSON.parse(e.channel_data);i.members.setMyID(o.user_id)}n(t,e)}))},e.prototype.handleEvent=function(t){var e=t.event;if(0===e.indexOf("pusher_internal:"))this.handleInternalEvent(t);else{var n=t.data,i={};t.user_id&&(i.user_id=t.user_id),this.emit(e,n,i)}},e.prototype.handleInternalEvent=function(t){var e=t.event,n=t.data;switch(e){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(t);break;case"pusher_internal:member_added":var i=this.members.addMember(n);this.emit("pusher:member_added",i);break;case"pusher_internal:member_removed":var r=this.members.removeMember(n);r&&this.emit("pusher:member_removed",r)}},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(t.data),this.emit("pusher:subscription_succeeded",this.members))},e.prototype.disconnect=function(){this.members.reset(),t.prototype.disconnect.call(this)},e}(r.default);e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(43),a=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.authorize=function(t,e){return r.default.createAuthorizer(this,this.pusher.config).authorize(t,e)},e}(n(52).default);e.__esModule=!0,e.default=a},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(24),a=n(31),o=n(8),s=n(14),l=function(t){function e(e,n){t.call(this,(function(t,n){o.default.debug("No callbacks on "+e+" for "+t)})),this.name=e,this.pusher=n,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}return i(e,t),e.prototype.authorize=function(t,e){return e(!1,{})},e.prototype.trigger=function(t,e){if(0!==t.indexOf("client-"))throw new a.BadEventName("Event '"+t+"' does not start with 'client-'");if(!this.subscribed){var n=s.default.buildLogSuffix("triggeringClientEvents");o.default.warn("Client event triggered before channel 'subscription_succeeded' event . "+n)}return this.pusher.send_event(t,e,this.name)},e.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},e.prototype.handleEvent=function(t){var e=t.event,n=t.data;"pusher_internal:subscription_succeeded"===e?this.handleSubscriptionSucceededEvent(t):0!==e.indexOf("pusher_internal:")&&this.emit(e,n,{})},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",t.data)},e.prototype.subscribe=function(){var t=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(function(e,n){e?t.emit("pusher:subscription_error",n):t.pusher.send_event("pusher:subscribe",{auth:n.auth,channel_data:n.channel_data,channel:t.name})})))},e.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},e.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},e.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},e}(r.default);e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=n(9),r=function(){function t(){this.reset()}return t.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.members,t)?{id:t,info:this.members[t]}:null},t.prototype.each=function(t){var e=this;i.objectApply(this.members,(function(n,i){t(e.get(i))}))},t.prototype.setMyID=function(t){this.myID=t},t.prototype.onSubscription=function(t){this.members=t.presence.hash,this.count=t.presence.count,this.me=this.get(this.myID)},t.prototype.addMember=function(t){return null===this.get(t.user_id)&&this.count++,this.members[t.user_id]=t.user_info,this.get(t.user_id)},t.prototype.removeMember=function(t){var e=this.get(t.user_id);return e&&(delete this.members[t.user_id],this.count--),e},t.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(51),a=n(31),o=n(8),s=n(55),l=n(57),u=function(t){function e(){t.apply(this,arguments),this.key=null}return i(e,t),e.prototype.authorize=function(e,n){var i=this;t.prototype.authorize.call(this,e,(function(t,e){if(t)n(!0,e);else{var r=e.shared_secret;if(!r){var a="No shared_secret key in auth payload for encrypted channel: "+i.name;return n(!0,a),void o.default.warn("Error: "+a)}i.key=l.decodeBase64(r),delete e.shared_secret,n(!1,e)}}))},e.prototype.trigger=function(t,e){throw new a.UnsupportedFeature("Client events are not currently supported for encrypted channels")},e.prototype.handleEvent=function(e){var n=e.event,i=e.data;0!==n.indexOf("pusher_internal:")&&0!==n.indexOf("pusher:")?this.handleEncryptedEvent(n,i):t.prototype.handleEvent.call(this,e)},e.prototype.handleEncryptedEvent=function(t,e){var n=this;if(this.key)if(e.ciphertext&&e.nonce){var i=l.decodeBase64(e.ciphertext);if(i.length>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n,t[e+4]=i>>24&255,t[e+5]=i>>16&255,t[e+6]=i>>8&255,t[e+7]=255&i}function m(t,e,n,i,r){var a,o=0;for(a=0;a>>8)-1}function g(t,e,n,i){return m(t,e,n,i,16)}function v(t,e,n,i){return m(t,e,n,i,32)}function y(t,e,n,i){!function(t,e,n,i){for(var r,a=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,c=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,h=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,d=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,p=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,f=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,m=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,g=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,v=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,_=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,b=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,w=a,x=o,k=s,C=l,T=u,E=c,S=h,P=d,L=p,I=f,O=m,A=g,M=v,z=y,N=_,D=b,R=0;R<20;R+=2)w^=(r=(M^=(r=(L^=(r=(T^=(r=w+M|0)<<7|r>>>25)+w|0)<<9|r>>>23)+T|0)<<13|r>>>19)+L|0)<<18|r>>>14,E^=(r=(x^=(r=(z^=(r=(I^=(r=E+x|0)<<7|r>>>25)+E|0)<<9|r>>>23)+I|0)<<13|r>>>19)+z|0)<<18|r>>>14,O^=(r=(S^=(r=(k^=(r=(N^=(r=O+S|0)<<7|r>>>25)+O|0)<<9|r>>>23)+N|0)<<13|r>>>19)+k|0)<<18|r>>>14,D^=(r=(A^=(r=(P^=(r=(C^=(r=D+A|0)<<7|r>>>25)+D|0)<<9|r>>>23)+C|0)<<13|r>>>19)+P|0)<<18|r>>>14,w^=(r=(C^=(r=(k^=(r=(x^=(r=w+C|0)<<7|r>>>25)+w|0)<<9|r>>>23)+x|0)<<13|r>>>19)+k|0)<<18|r>>>14,E^=(r=(T^=(r=(P^=(r=(S^=(r=E+T|0)<<7|r>>>25)+E|0)<<9|r>>>23)+S|0)<<13|r>>>19)+P|0)<<18|r>>>14,O^=(r=(I^=(r=(L^=(r=(A^=(r=O+I|0)<<7|r>>>25)+O|0)<<9|r>>>23)+A|0)<<13|r>>>19)+L|0)<<18|r>>>14,D^=(r=(N^=(r=(z^=(r=(M^=(r=D+N|0)<<7|r>>>25)+D|0)<<9|r>>>23)+M|0)<<13|r>>>19)+z|0)<<18|r>>>14;w=w+a|0,x=x+o|0,k=k+s|0,C=C+l|0,T=T+u|0,E=E+c|0,S=S+h|0,P=P+d|0,L=L+p|0,I=I+f|0,O=O+m|0,A=A+g|0,M=M+v|0,z=z+y|0,N=N+_|0,D=D+b|0,t[0]=w>>>0&255,t[1]=w>>>8&255,t[2]=w>>>16&255,t[3]=w>>>24&255,t[4]=x>>>0&255,t[5]=x>>>8&255,t[6]=x>>>16&255,t[7]=x>>>24&255,t[8]=k>>>0&255,t[9]=k>>>8&255,t[10]=k>>>16&255,t[11]=k>>>24&255,t[12]=C>>>0&255,t[13]=C>>>8&255,t[14]=C>>>16&255,t[15]=C>>>24&255,t[16]=T>>>0&255,t[17]=T>>>8&255,t[18]=T>>>16&255,t[19]=T>>>24&255,t[20]=E>>>0&255,t[21]=E>>>8&255,t[22]=E>>>16&255,t[23]=E>>>24&255,t[24]=S>>>0&255,t[25]=S>>>8&255,t[26]=S>>>16&255,t[27]=S>>>24&255,t[28]=P>>>0&255,t[29]=P>>>8&255,t[30]=P>>>16&255,t[31]=P>>>24&255,t[32]=L>>>0&255,t[33]=L>>>8&255,t[34]=L>>>16&255,t[35]=L>>>24&255,t[36]=I>>>0&255,t[37]=I>>>8&255,t[38]=I>>>16&255,t[39]=I>>>24&255,t[40]=O>>>0&255,t[41]=O>>>8&255,t[42]=O>>>16&255,t[43]=O>>>24&255,t[44]=A>>>0&255,t[45]=A>>>8&255,t[46]=A>>>16&255,t[47]=A>>>24&255,t[48]=M>>>0&255,t[49]=M>>>8&255,t[50]=M>>>16&255,t[51]=M>>>24&255,t[52]=z>>>0&255,t[53]=z>>>8&255,t[54]=z>>>16&255,t[55]=z>>>24&255,t[56]=N>>>0&255,t[57]=N>>>8&255,t[58]=N>>>16&255,t[59]=N>>>24&255,t[60]=D>>>0&255,t[61]=D>>>8&255,t[62]=D>>>16&255,t[63]=D>>>24&255}(t,e,n,i)}function _(t,e,n,i){!function(t,e,n,i){for(var r,a=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,c=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,h=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,d=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,p=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,f=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,m=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,g=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,v=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,_=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,b=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,w=0;w<20;w+=2)a^=(r=(v^=(r=(p^=(r=(u^=(r=a+v|0)<<7|r>>>25)+a|0)<<9|r>>>23)+u|0)<<13|r>>>19)+p|0)<<18|r>>>14,c^=(r=(o^=(r=(y^=(r=(f^=(r=c+o|0)<<7|r>>>25)+c|0)<<9|r>>>23)+f|0)<<13|r>>>19)+y|0)<<18|r>>>14,m^=(r=(h^=(r=(s^=(r=(_^=(r=m+h|0)<<7|r>>>25)+m|0)<<9|r>>>23)+_|0)<<13|r>>>19)+s|0)<<18|r>>>14,b^=(r=(g^=(r=(d^=(r=(l^=(r=b+g|0)<<7|r>>>25)+b|0)<<9|r>>>23)+l|0)<<13|r>>>19)+d|0)<<18|r>>>14,a^=(r=(l^=(r=(s^=(r=(o^=(r=a+l|0)<<7|r>>>25)+a|0)<<9|r>>>23)+o|0)<<13|r>>>19)+s|0)<<18|r>>>14,c^=(r=(u^=(r=(d^=(r=(h^=(r=c+u|0)<<7|r>>>25)+c|0)<<9|r>>>23)+h|0)<<13|r>>>19)+d|0)<<18|r>>>14,m^=(r=(f^=(r=(p^=(r=(g^=(r=m+f|0)<<7|r>>>25)+m|0)<<9|r>>>23)+g|0)<<13|r>>>19)+p|0)<<18|r>>>14,b^=(r=(_^=(r=(y^=(r=(v^=(r=b+_|0)<<7|r>>>25)+b|0)<<9|r>>>23)+v|0)<<13|r>>>19)+y|0)<<18|r>>>14;t[0]=a>>>0&255,t[1]=a>>>8&255,t[2]=a>>>16&255,t[3]=a>>>24&255,t[4]=c>>>0&255,t[5]=c>>>8&255,t[6]=c>>>16&255,t[7]=c>>>24&255,t[8]=m>>>0&255,t[9]=m>>>8&255,t[10]=m>>>16&255,t[11]=m>>>24&255,t[12]=b>>>0&255,t[13]=b>>>8&255,t[14]=b>>>16&255,t[15]=b>>>24&255,t[16]=h>>>0&255,t[17]=h>>>8&255,t[18]=h>>>16&255,t[19]=h>>>24&255,t[20]=d>>>0&255,t[21]=d>>>8&255,t[22]=d>>>16&255,t[23]=d>>>24&255,t[24]=p>>>0&255,t[25]=p>>>8&255,t[26]=p>>>16&255,t[27]=p>>>24&255,t[28]=f>>>0&255,t[29]=f>>>8&255,t[30]=f>>>16&255,t[31]=f>>>24&255}(t,e,n,i)}var b=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function w(t,e,n,i,r,a,o){var s,l,u=new Uint8Array(16),c=new Uint8Array(64);for(l=0;l<16;l++)u[l]=0;for(l=0;l<8;l++)u[l]=a[l];for(;r>=64;){for(y(c,u,o,b),l=0;l<64;l++)t[e+l]=n[i+l]^c[l];for(s=1,l=8;l<16;l++)s=s+(255&u[l])|0,u[l]=255&s,s>>>=8;r-=64,e+=64,i+=64}if(r>0)for(y(c,u,o,b),l=0;l=64;){for(y(l,s,r,b),o=0;o<64;o++)t[e+o]=l[o];for(a=1,o=8;o<16;o++)a=a+(255&s[o])|0,s[o]=255&a,a>>>=8;n-=64,e+=64}if(n>0)for(y(l,s,r,b),o=0;o>>13|n<<3),i=255&t[4]|(255&t[5])<<8,this.r[2]=7939&(n>>>10|i<<6),r=255&t[6]|(255&t[7])<<8,this.r[3]=8191&(i>>>7|r<<9),a=255&t[8]|(255&t[9])<<8,this.r[4]=255&(r>>>4|a<<12),this.r[5]=a>>>1&8190,o=255&t[10]|(255&t[11])<<8,this.r[6]=8191&(a>>>14|o<<2),s=255&t[12]|(255&t[13])<<8,this.r[7]=8065&(o>>>11|s<<5),l=255&t[14]|(255&t[15])<<8,this.r[8]=8191&(s>>>8|l<<8),this.r[9]=l>>>5&127,this.pad[0]=255&t[16]|(255&t[17])<<8,this.pad[1]=255&t[18]|(255&t[19])<<8,this.pad[2]=255&t[20]|(255&t[21])<<8,this.pad[3]=255&t[22]|(255&t[23])<<8,this.pad[4]=255&t[24]|(255&t[25])<<8,this.pad[5]=255&t[26]|(255&t[27])<<8,this.pad[6]=255&t[28]|(255&t[29])<<8,this.pad[7]=255&t[30]|(255&t[31])<<8};function E(t,e,n,i,r,a){var o=new T(a);return o.update(n,i,r),o.finish(t,e),0}function S(t,e,n,i,r,a){var o=new Uint8Array(16);return E(o,0,n,i,r,a),g(t,e,o,0)}function P(t,e,n,i,r){var a;if(n<32)return-1;for(C(t,0,e,0,n,i,r),E(t,16,t,32,n-32,t),a=0;a<16;a++)t[a]=0;return 0}function L(t,e,n,i,r){var a,o=new Uint8Array(32);if(n<32)return-1;if(k(o,0,32,i,r),0!==S(e,16,e,32,n-32,o))return-1;for(C(t,0,e,0,n,i,r),a=0;a<32;a++)t[a]=0;return 0}function I(t,e){var n;for(n=0;n<16;n++)t[n]=0|e[n]}function O(t){var e,n,i=1;for(e=0;e<16;e++)n=t[e]+i+65535,i=Math.floor(n/65536),t[e]=n-65536*i;t[0]+=i-1+37*(i-1)}function A(t,e,n){for(var i,r=~(n-1),a=0;a<16;a++)i=r&(t[a]^e[a]),t[a]^=i,e[a]^=i}function M(t,n){var i,r,a,o=e(),s=e();for(i=0;i<16;i++)s[i]=n[i];for(O(s),O(s),O(s),r=0;r<2;r++){for(o[0]=s[0]-65517,i=1;i<15;i++)o[i]=s[i]-65535-(o[i-1]>>16&1),o[i-1]&=65535;o[15]=s[15]-32767-(o[14]>>16&1),a=o[15]>>16&1,o[14]&=65535,A(s,o,1-a)}for(i=0;i<16;i++)t[2*i]=255&s[i],t[2*i+1]=s[i]>>8}function z(t,e){var n=new Uint8Array(32),i=new Uint8Array(32);return M(n,t),M(i,e),v(n,0,i,0)}function N(t){var e=new Uint8Array(32);return M(e,t),1&e[0]}function D(t,e){var n;for(n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function R(t,e,n){for(var i=0;i<16;i++)t[i]=e[i]+n[i]}function j(t,e,n){for(var i=0;i<16;i++)t[i]=e[i]-n[i]}function F(t,e,n){var i,r,a=0,o=0,s=0,l=0,u=0,c=0,h=0,d=0,p=0,f=0,m=0,g=0,v=0,y=0,_=0,b=0,w=0,x=0,k=0,C=0,T=0,E=0,S=0,P=0,L=0,I=0,O=0,A=0,M=0,z=0,N=0,D=n[0],R=n[1],j=n[2],F=n[3],B=n[4],U=n[5],q=n[6],$=n[7],G=n[8],V=n[9],H=n[10],W=n[11],Y=n[12],Z=n[13],X=n[14],J=n[15];a+=(i=e[0])*D,o+=i*R,s+=i*j,l+=i*F,u+=i*B,c+=i*U,h+=i*q,d+=i*$,p+=i*G,f+=i*V,m+=i*H,g+=i*W,v+=i*Y,y+=i*Z,_+=i*X,b+=i*J,o+=(i=e[1])*D,s+=i*R,l+=i*j,u+=i*F,c+=i*B,h+=i*U,d+=i*q,p+=i*$,f+=i*G,m+=i*V,g+=i*H,v+=i*W,y+=i*Y,_+=i*Z,b+=i*X,w+=i*J,s+=(i=e[2])*D,l+=i*R,u+=i*j,c+=i*F,h+=i*B,d+=i*U,p+=i*q,f+=i*$,m+=i*G,g+=i*V,v+=i*H,y+=i*W,_+=i*Y,b+=i*Z,w+=i*X,x+=i*J,l+=(i=e[3])*D,u+=i*R,c+=i*j,h+=i*F,d+=i*B,p+=i*U,f+=i*q,m+=i*$,g+=i*G,v+=i*V,y+=i*H,_+=i*W,b+=i*Y,w+=i*Z,x+=i*X,k+=i*J,u+=(i=e[4])*D,c+=i*R,h+=i*j,d+=i*F,p+=i*B,f+=i*U,m+=i*q,g+=i*$,v+=i*G,y+=i*V,_+=i*H,b+=i*W,w+=i*Y,x+=i*Z,k+=i*X,C+=i*J,c+=(i=e[5])*D,h+=i*R,d+=i*j,p+=i*F,f+=i*B,m+=i*U,g+=i*q,v+=i*$,y+=i*G,_+=i*V,b+=i*H,w+=i*W,x+=i*Y,k+=i*Z,C+=i*X,T+=i*J,h+=(i=e[6])*D,d+=i*R,p+=i*j,f+=i*F,m+=i*B,g+=i*U,v+=i*q,y+=i*$,_+=i*G,b+=i*V,w+=i*H,x+=i*W,k+=i*Y,C+=i*Z,T+=i*X,E+=i*J,d+=(i=e[7])*D,p+=i*R,f+=i*j,m+=i*F,g+=i*B,v+=i*U,y+=i*q,_+=i*$,b+=i*G,w+=i*V,x+=i*H,k+=i*W,C+=i*Y,T+=i*Z,E+=i*X,S+=i*J,p+=(i=e[8])*D,f+=i*R,m+=i*j,g+=i*F,v+=i*B,y+=i*U,_+=i*q,b+=i*$,w+=i*G,x+=i*V,k+=i*H,C+=i*W,T+=i*Y,E+=i*Z,S+=i*X,P+=i*J,f+=(i=e[9])*D,m+=i*R,g+=i*j,v+=i*F,y+=i*B,_+=i*U,b+=i*q,w+=i*$,x+=i*G,k+=i*V,C+=i*H,T+=i*W,E+=i*Y,S+=i*Z,P+=i*X,L+=i*J,m+=(i=e[10])*D,g+=i*R,v+=i*j,y+=i*F,_+=i*B,b+=i*U,w+=i*q,x+=i*$,k+=i*G,C+=i*V,T+=i*H,E+=i*W,S+=i*Y,P+=i*Z,L+=i*X,I+=i*J,g+=(i=e[11])*D,v+=i*R,y+=i*j,_+=i*F,b+=i*B,w+=i*U,x+=i*q,k+=i*$,C+=i*G,T+=i*V,E+=i*H,S+=i*W,P+=i*Y,L+=i*Z,I+=i*X,O+=i*J,v+=(i=e[12])*D,y+=i*R,_+=i*j,b+=i*F,w+=i*B,x+=i*U,k+=i*q,C+=i*$,T+=i*G,E+=i*V,S+=i*H,P+=i*W,L+=i*Y,I+=i*Z,O+=i*X,A+=i*J,y+=(i=e[13])*D,_+=i*R,b+=i*j,w+=i*F,x+=i*B,k+=i*U,C+=i*q,T+=i*$,E+=i*G,S+=i*V,P+=i*H,L+=i*W,I+=i*Y,O+=i*Z,A+=i*X,M+=i*J,_+=(i=e[14])*D,b+=i*R,w+=i*j,x+=i*F,k+=i*B,C+=i*U,T+=i*q,E+=i*$,S+=i*G,P+=i*V,L+=i*H,I+=i*W,O+=i*Y,A+=i*Z,M+=i*X,z+=i*J,b+=(i=e[15])*D,o+=38*(x+=i*j),s+=38*(k+=i*F),l+=38*(C+=i*B),u+=38*(T+=i*U),c+=38*(E+=i*q),h+=38*(S+=i*$),d+=38*(P+=i*G),p+=38*(L+=i*V),f+=38*(I+=i*H),m+=38*(O+=i*W),g+=38*(A+=i*Y),v+=38*(M+=i*Z),y+=38*(z+=i*X),_+=38*(N+=i*J),a=(i=(a+=38*(w+=i*R))+(r=1)+65535)-65536*(r=Math.floor(i/65536)),o=(i=o+r+65535)-65536*(r=Math.floor(i/65536)),s=(i=s+r+65535)-65536*(r=Math.floor(i/65536)),l=(i=l+r+65535)-65536*(r=Math.floor(i/65536)),u=(i=u+r+65535)-65536*(r=Math.floor(i/65536)),c=(i=c+r+65535)-65536*(r=Math.floor(i/65536)),h=(i=h+r+65535)-65536*(r=Math.floor(i/65536)),d=(i=d+r+65535)-65536*(r=Math.floor(i/65536)),p=(i=p+r+65535)-65536*(r=Math.floor(i/65536)),f=(i=f+r+65535)-65536*(r=Math.floor(i/65536)),m=(i=m+r+65535)-65536*(r=Math.floor(i/65536)),g=(i=g+r+65535)-65536*(r=Math.floor(i/65536)),v=(i=v+r+65535)-65536*(r=Math.floor(i/65536)),y=(i=y+r+65535)-65536*(r=Math.floor(i/65536)),_=(i=_+r+65535)-65536*(r=Math.floor(i/65536)),b=(i=b+r+65535)-65536*(r=Math.floor(i/65536)),a=(i=(a+=r-1+37*(r-1))+(r=1)+65535)-65536*(r=Math.floor(i/65536)),o=(i=o+r+65535)-65536*(r=Math.floor(i/65536)),s=(i=s+r+65535)-65536*(r=Math.floor(i/65536)),l=(i=l+r+65535)-65536*(r=Math.floor(i/65536)),u=(i=u+r+65535)-65536*(r=Math.floor(i/65536)),c=(i=c+r+65535)-65536*(r=Math.floor(i/65536)),h=(i=h+r+65535)-65536*(r=Math.floor(i/65536)),d=(i=d+r+65535)-65536*(r=Math.floor(i/65536)),p=(i=p+r+65535)-65536*(r=Math.floor(i/65536)),f=(i=f+r+65535)-65536*(r=Math.floor(i/65536)),m=(i=m+r+65535)-65536*(r=Math.floor(i/65536)),g=(i=g+r+65535)-65536*(r=Math.floor(i/65536)),v=(i=v+r+65535)-65536*(r=Math.floor(i/65536)),y=(i=y+r+65535)-65536*(r=Math.floor(i/65536)),_=(i=_+r+65535)-65536*(r=Math.floor(i/65536)),b=(i=b+r+65535)-65536*(r=Math.floor(i/65536)),a+=r-1+37*(r-1),t[0]=a,t[1]=o,t[2]=s,t[3]=l,t[4]=u,t[5]=c,t[6]=h,t[7]=d,t[8]=p,t[9]=f,t[10]=m,t[11]=g,t[12]=v,t[13]=y,t[14]=_,t[15]=b}function B(t,e){F(t,e,e)}function U(t,n){var i,r=e();for(i=0;i<16;i++)r[i]=n[i];for(i=253;i>=0;i--)B(r,r),2!==i&&4!==i&&F(r,r,n);for(i=0;i<16;i++)t[i]=r[i]}function q(t,n,i){var r,a,o=new Uint8Array(32),s=new Float64Array(80),u=e(),c=e(),h=e(),d=e(),p=e(),f=e();for(a=0;a<31;a++)o[a]=n[a];for(o[31]=127&n[31]|64,o[0]&=248,D(s,i),a=0;a<16;a++)c[a]=s[a],d[a]=u[a]=h[a]=0;for(u[0]=d[0]=1,a=254;a>=0;--a)A(u,c,r=o[a>>>3]>>>(7&a)&1),A(h,d,r),R(p,u,h),j(u,u,h),R(h,c,d),j(c,c,d),B(d,p),B(f,u),F(u,h,u),F(h,c,p),R(p,u,h),j(u,u,h),B(c,u),j(h,d,f),F(u,h,l),R(u,u,d),F(h,h,u),F(u,d,f),F(d,c,s),B(c,p),A(u,c,r),A(h,d,r);for(a=0;a<16;a++)s[a+16]=u[a],s[a+32]=h[a],s[a+48]=c[a],s[a+64]=d[a];var m=s.subarray(32),g=s.subarray(16);return U(m,m),F(g,g,m),M(t,g),0}function $(t,e){return q(t,e,a)}function G(t,e){return i(e,32),$(t,e)}function V(t,e,n){var i=new Uint8Array(32);return q(i,n,e),_(t,r,i,b)}T.prototype.blocks=function(t,e,n){for(var i,r,a,o,s,l,u,c,h,d,p,f,m,g,v,y,_,b,w,x=this.fin?0:2048,k=this.h[0],C=this.h[1],T=this.h[2],E=this.h[3],S=this.h[4],P=this.h[5],L=this.h[6],I=this.h[7],O=this.h[8],A=this.h[9],M=this.r[0],z=this.r[1],N=this.r[2],D=this.r[3],R=this.r[4],j=this.r[5],F=this.r[6],B=this.r[7],U=this.r[8],q=this.r[9];n>=16;)d=h=0,d+=(k+=8191&(i=255&t[e+0]|(255&t[e+1])<<8))*M,d+=(C+=8191&(i>>>13|(r=255&t[e+2]|(255&t[e+3])<<8)<<3))*(5*q),d+=(T+=8191&(r>>>10|(a=255&t[e+4]|(255&t[e+5])<<8)<<6))*(5*U),d+=(E+=8191&(a>>>7|(o=255&t[e+6]|(255&t[e+7])<<8)<<9))*(5*B),h=(d+=(S+=8191&(o>>>4|(s=255&t[e+8]|(255&t[e+9])<<8)<<12))*(5*F))>>>13,d&=8191,d+=(P+=s>>>1&8191)*(5*j),d+=(L+=8191&(s>>>14|(l=255&t[e+10]|(255&t[e+11])<<8)<<2))*(5*R),d+=(I+=8191&(l>>>11|(u=255&t[e+12]|(255&t[e+13])<<8)<<5))*(5*D),d+=(O+=8191&(u>>>8|(c=255&t[e+14]|(255&t[e+15])<<8)<<8))*(5*N),p=h+=(d+=(A+=c>>>5|x)*(5*z))>>>13,p+=k*z,p+=C*M,p+=T*(5*q),p+=E*(5*U),h=(p+=S*(5*B))>>>13,p&=8191,p+=P*(5*F),p+=L*(5*j),p+=I*(5*R),p+=O*(5*D),h+=(p+=A*(5*N))>>>13,p&=8191,f=h,f+=k*N,f+=C*z,f+=T*M,f+=E*(5*q),h=(f+=S*(5*U))>>>13,f&=8191,f+=P*(5*B),f+=L*(5*F),f+=I*(5*j),f+=O*(5*R),m=h+=(f+=A*(5*D))>>>13,m+=k*D,m+=C*N,m+=T*z,m+=E*M,h=(m+=S*(5*q))>>>13,m&=8191,m+=P*(5*U),m+=L*(5*B),m+=I*(5*F),m+=O*(5*j),g=h+=(m+=A*(5*R))>>>13,g+=k*R,g+=C*D,g+=T*N,g+=E*z,h=(g+=S*M)>>>13,g&=8191,g+=P*(5*q),g+=L*(5*U),g+=I*(5*B),g+=O*(5*F),v=h+=(g+=A*(5*j))>>>13,v+=k*j,v+=C*R,v+=T*D,v+=E*N,h=(v+=S*z)>>>13,v&=8191,v+=P*M,v+=L*(5*q),v+=I*(5*U),v+=O*(5*B),y=h+=(v+=A*(5*F))>>>13,y+=k*F,y+=C*j,y+=T*R,y+=E*D,h=(y+=S*N)>>>13,y&=8191,y+=P*z,y+=L*M,y+=I*(5*q),y+=O*(5*U),_=h+=(y+=A*(5*B))>>>13,_+=k*B,_+=C*F,_+=T*j,_+=E*R,h=(_+=S*D)>>>13,_&=8191,_+=P*N,_+=L*z,_+=I*M,_+=O*(5*q),b=h+=(_+=A*(5*U))>>>13,b+=k*U,b+=C*B,b+=T*F,b+=E*j,h=(b+=S*R)>>>13,b&=8191,b+=P*D,b+=L*N,b+=I*z,b+=O*M,w=h+=(b+=A*(5*q))>>>13,w+=k*q,w+=C*U,w+=T*B,w+=E*F,h=(w+=S*j)>>>13,w&=8191,w+=P*R,w+=L*D,w+=I*N,w+=O*z,k=d=8191&(h=(h=((h+=(w+=A*M)>>>13)<<2)+h|0)+(d&=8191)|0),C=p+=h>>>=13,T=f&=8191,E=m&=8191,S=g&=8191,P=v&=8191,L=y&=8191,I=_&=8191,O=b&=8191,A=w&=8191,e+=16,n-=16;this.h[0]=k,this.h[1]=C,this.h[2]=T,this.h[3]=E,this.h[4]=S,this.h[5]=P,this.h[6]=L,this.h[7]=I,this.h[8]=O,this.h[9]=A},T.prototype.finish=function(t,e){var n,i,r,a,o=new Uint16Array(10);if(this.leftover){for(a=this.leftover,this.buffer[a++]=1;a<16;a++)this.buffer[a]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,a=2;a<10;a++)this.h[a]+=n,n=this.h[a]>>>13,this.h[a]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,o[0]=this.h[0]+5,n=o[0]>>>13,o[0]&=8191,a=1;a<10;a++)o[a]=this.h[a]+n,n=o[a]>>>13,o[a]&=8191;for(o[9]-=8192,i=(1^n)-1,a=0;a<10;a++)o[a]&=i;for(i=~i,a=0;a<10;a++)this.h[a]=this.h[a]&i|o[a];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),r=this.h[0]+this.pad[0],this.h[0]=65535&r,a=1;a<8;a++)r=(this.h[a]+this.pad[a]|0)+(r>>>16)|0,this.h[a]=65535&r;t[e+0]=this.h[0]>>>0&255,t[e+1]=this.h[0]>>>8&255,t[e+2]=this.h[1]>>>0&255,t[e+3]=this.h[1]>>>8&255,t[e+4]=this.h[2]>>>0&255,t[e+5]=this.h[2]>>>8&255,t[e+6]=this.h[3]>>>0&255,t[e+7]=this.h[3]>>>8&255,t[e+8]=this.h[4]>>>0&255,t[e+9]=this.h[4]>>>8&255,t[e+10]=this.h[5]>>>0&255,t[e+11]=this.h[5]>>>8&255,t[e+12]=this.h[6]>>>0&255,t[e+13]=this.h[6]>>>8&255,t[e+14]=this.h[7]>>>0&255,t[e+15]=this.h[7]>>>8&255},T.prototype.update=function(t,e,n){var i,r;if(this.leftover){for((r=16-this.leftover)>n&&(r=n),i=0;i=16&&(r=n-n%16,this.blocks(t,e,r),e+=r,n-=r),n){for(i=0;i=128;){for(x=0;x<16;x++)k=8*x+Z,I[x]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],O[x]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(x=0;x<80;x++)if(r=A,a=M,o=z,s=N,l=D,u=R,c=j,d=B,p=U,f=q,m=$,g=G,v=V,y=H,E=65535&(T=W),S=T>>>16,P=65535&(C=F),L=C>>>16,E+=65535&(T=(G>>>14|D<<18)^(G>>>18|D<<14)^(D>>>9|G<<23)),S+=T>>>16,P+=65535&(C=(D>>>14|G<<18)^(D>>>18|G<<14)^(G>>>9|D<<23)),L+=C>>>16,E+=65535&(T=G&V^~G&H),S+=T>>>16,P+=65535&(C=D&R^~D&j),L+=C>>>16,E+=65535&(T=Y[2*x+1]),S+=T>>>16,P+=65535&(C=Y[2*x]),L+=C>>>16,C=I[x%16],S+=(T=O[x%16])>>>16,P+=65535&C,L+=C>>>16,P+=(S+=(E+=65535&T)>>>16)>>>16,E=65535&(T=w=65535&E|S<<16),S=T>>>16,P=65535&(C=b=65535&P|(L+=P>>>16)<<16),L=C>>>16,E+=65535&(T=(B>>>28|A<<4)^(A>>>2|B<<30)^(A>>>7|B<<25)),S+=T>>>16,P+=65535&(C=(A>>>28|B<<4)^(B>>>2|A<<30)^(B>>>7|A<<25)),L+=C>>>16,S+=(T=B&U^B&q^U&q)>>>16,P+=65535&(C=A&M^A&z^M&z),L+=C>>>16,h=65535&(P+=(S+=(E+=65535&T)>>>16)>>>16)|(L+=P>>>16)<<16,_=65535&E|S<<16,E=65535&(T=m),S=T>>>16,P=65535&(C=s),L=C>>>16,S+=(T=w)>>>16,P+=65535&(C=b),L+=C>>>16,M=r,z=a,N=o,D=s=65535&(P+=(S+=(E+=65535&T)>>>16)>>>16)|(L+=P>>>16)<<16,R=l,j=u,F=c,A=h,U=d,q=p,$=f,G=m=65535&E|S<<16,V=g,H=v,W=y,B=_,x%16==15)for(k=0;k<16;k++)C=I[k],E=65535&(T=O[k]),S=T>>>16,P=65535&C,L=C>>>16,C=I[(k+9)%16],E+=65535&(T=O[(k+9)%16]),S+=T>>>16,P+=65535&C,L+=C>>>16,b=I[(k+1)%16],E+=65535&(T=((w=O[(k+1)%16])>>>1|b<<31)^(w>>>8|b<<24)^(w>>>7|b<<25)),S+=T>>>16,P+=65535&(C=(b>>>1|w<<31)^(b>>>8|w<<24)^b>>>7),L+=C>>>16,b=I[(k+14)%16],S+=(T=((w=O[(k+14)%16])>>>19|b<<13)^(b>>>29|w<<3)^(w>>>6|b<<26))>>>16,P+=65535&(C=(b>>>19|w<<13)^(w>>>29|b<<3)^b>>>6),L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,I[k]=65535&P|L<<16,O[k]=65535&E|S<<16;E=65535&(T=B),S=T>>>16,P=65535&(C=A),L=C>>>16,C=t[0],S+=(T=e[0])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[0]=A=65535&P|L<<16,e[0]=B=65535&E|S<<16,E=65535&(T=U),S=T>>>16,P=65535&(C=M),L=C>>>16,C=t[1],S+=(T=e[1])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[1]=M=65535&P|L<<16,e[1]=U=65535&E|S<<16,E=65535&(T=q),S=T>>>16,P=65535&(C=z),L=C>>>16,C=t[2],S+=(T=e[2])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[2]=z=65535&P|L<<16,e[2]=q=65535&E|S<<16,E=65535&(T=$),S=T>>>16,P=65535&(C=N),L=C>>>16,C=t[3],S+=(T=e[3])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[3]=N=65535&P|L<<16,e[3]=$=65535&E|S<<16,E=65535&(T=G),S=T>>>16,P=65535&(C=D),L=C>>>16,C=t[4],S+=(T=e[4])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[4]=D=65535&P|L<<16,e[4]=G=65535&E|S<<16,E=65535&(T=V),S=T>>>16,P=65535&(C=R),L=C>>>16,C=t[5],S+=(T=e[5])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[5]=R=65535&P|L<<16,e[5]=V=65535&E|S<<16,E=65535&(T=H),S=T>>>16,P=65535&(C=j),L=C>>>16,C=t[6],S+=(T=e[6])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[6]=j=65535&P|L<<16,e[6]=H=65535&E|S<<16,E=65535&(T=W),S=T>>>16,P=65535&(C=F),L=C>>>16,C=t[7],S+=(T=e[7])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[7]=F=65535&P|L<<16,e[7]=W=65535&E|S<<16,Z+=128,i-=128}return i}function X(t,e,n){var i,r=new Int32Array(8),a=new Int32Array(8),o=new Uint8Array(256),s=n;for(r[0]=1779033703,r[1]=3144134277,r[2]=1013904242,r[3]=2773480762,r[4]=1359893119,r[5]=2600822924,r[6]=528734635,r[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,Z(r,a,e,n),n%=128,i=0;i=0;--r)K(t,e,i=n[r/8|0]>>(7&r)&1),J(e,t),J(t,t),K(t,e,i)}function et(t,n){var i=[e(),e(),e(),e()];I(i[0],h),I(i[1],d),I(i[2],s),F(i[3],h,d),tt(t,i,n)}function nt(t,n,r){var a,o=new Uint8Array(64),s=[e(),e(),e(),e()];for(r||i(n,32),X(o,n,32),o[0]&=248,o[31]&=127,o[31]|=64,et(s,o),Q(t,s),a=0;a<32;a++)n[a+32]=t[a];return 0}var it,rt=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function at(t,e){var n,i,r,a;for(i=63;i>=32;--i){for(n=0,r=i-32,a=i-12;r>8,e[r]-=256*n;e[r]+=n,e[i]=0}for(n=0,r=0;r<32;r++)e[r]+=n-(e[31]>>4)*rt[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*rt[r];for(i=0;i<32;i++)e[i+1]+=e[i]>>8,t[i]=255&e[i]}function ot(t){var e,n=new Float64Array(64);for(e=0;e<64;e++)n[e]=t[e];for(e=0;e<64;e++)t[e]=0;at(t,n)}function st(t,n,i,r){var a,o,s=new Uint8Array(64),l=new Uint8Array(64),u=new Uint8Array(64),c=new Float64Array(64),h=[e(),e(),e(),e()];X(s,r,32),s[0]&=248,s[31]&=127,s[31]|=64;var d=i+64;for(a=0;a=0;i--)B(r,r),1!==i&&F(r,r,n);for(i=0;i<16;i++)t[i]=r[i]}(i,i),F(i,i,a),F(i,i,l),F(i,i,l),F(t[0],i,l),B(r,t[0]),F(r,r,l),z(r,a)&&F(t[0],t[0],p),B(r,t[0]),F(r,r,l),z(r,a)?-1:(N(t[0])===n[31]>>7&&j(t[0],o,t[0]),F(t[3],t[0],t[1]),0)}function ut(t,n,i,r){var a,o=new Uint8Array(32),s=new Uint8Array(64),l=[e(),e(),e(),e()],u=[e(),e(),e(),e()];if(i<64)return-1;if(lt(u,r))return-1;for(a=0;a=0},t.sign.keyPair=function(){var t=new Uint8Array(32),e=new Uint8Array(64);return nt(t,e),{publicKey:t,secretKey:e}},t.sign.keyPair.fromSecretKey=function(t){if(ht(t),64!==t.length)throw new Error("bad secret key size");for(var e=new Uint8Array(32),n=0;n=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function f(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(t).length;default:if(i)return F(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,n);case"utf8":case"utf-8":return E(this,e,n);case"ascii":return S(this,e,n);case"latin1":case"binary":return P(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function g(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function v(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=l.from(e,i)),l.isBuffer(e))return 0===e.length?-1:y(t,e,n,i,r);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,i,r){var a,o=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var c=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;dr&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o>8,r=n%256,a.push(r),a.push(i);return a}(e,t.length-n),t,n,i)}function T(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(a=t[r+1]))&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=t[r+1],o=t[r+2],128==(192&a)&&128==(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=t[r+1],o=t[r+2],s=t[r+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",i=0;ir)&&(n=r);for(var a="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function A(t,e,n,i,r,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function M(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function z(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function N(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,i,a){return a||N(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function R(t,e,n,i,a){return a||N(t,0,n,8),r.write(t,e,n,i,52,8),n+8}e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==window.TYPED_ARRAY_SUPPORT?window.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=o(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,i){return c(e),e<=0?s(t,e):void 0!==n?"string"==typeof i?s(t,e).fill(n,i):s(t,e).fill(n):s(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return h(null,t)},l.allocUnsafeSlow=function(t){return h(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,i,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),u=this.slice(i,r),c=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e0&&(r*=256);)i+=this[t+--e]*r;return i},l.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||O(t,e,this.length);for(var i=this[t],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*e)),i},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||O(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},l.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||A(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+r]=t/a&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);A(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);A(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return R(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return R(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function B(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,n,i){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}},function(t,e){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){for(var e,n=l(t),a=n[0],o=n[1],s=new r(function(t,e,n){return 3*(e+n)/4-n}(0,a,o)),u=0,c=o>0?a-4:a,h=0;h>16&255,s[u++]=e>>8&255,s[u++]=255&e;return 2===o&&(e=i[t.charCodeAt(h)]<<2|i[t.charCodeAt(h+1)]>>4,s[u++]=255&e),1===o&&(e=i[t.charCodeAt(h)]<<10|i[t.charCodeAt(h+1)]<<4|i[t.charCodeAt(h+2)]>>2,s[u++]=e>>8&255,s[u++]=255&e),s},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,a=[],o=0,s=i-r;os?s:o+16383));return 1===r?(e=t[i-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),a.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,i){for(var r,a,o=[],s=e;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,i,r){var a,o,s=8*r-i-1,l=(1<>1,c=-7,h=n?r-1:0,d=n?-1:1,p=t[e+h];for(h+=d,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+t[e+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=i;c>0;o=256*o+t[e+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=u}return(p?-1:1)*o*Math.pow(2,a-i)},e.write=function(t,e,n,i,r,a){var o,s,l,u=8*a-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=c?(s=0,o=c):o+h>=1?(s=(e*l-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+p]=255&s,p+=f,s/=256,r-=8);for(o=o<0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(24),a=n(12),o=n(8),s=n(9),l=n(2),u=function(t){function e(e,n){var i=this;t.call(this),this.key=e,this.options=n||{},this.state="initialized",this.connection=null,this.usingTLS=!!n.useTLS,this.timeline=this.options.timeline,this.errorCallbacks=this.buildErrorCallbacks(),this.connectionCallbacks=this.buildConnectionCallbacks(this.errorCallbacks),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var r=l.default.getNetwork();r.bind("online",(function(){i.timeline.info({netinfo:"online"}),"connecting"!==i.state&&"unavailable"!==i.state||i.retryIn(0)})),r.bind("offline",(function(){i.timeline.info({netinfo:"offline"}),i.connection&&i.sendActivityCheck()})),this.updateStrategy()}return i(e,t),e.prototype.connect=function(){this.connection||this.runner||(this.strategy.isSupported()?(this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()):this.updateState("failed"))},e.prototype.send=function(t){return!!this.connection&&this.connection.send(t)},e.prototype.send_event=function(t,e,n){return!!this.connection&&this.connection.send_event(t,e,n)},e.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},e.prototype.isUsingTLS=function(){return this.usingTLS},e.prototype.startConnecting=function(){var t=this,e=function(n,i){n?t.runner=t.strategy.connect(0,e):"error"===i.action?(t.emit("error",{type:"HandshakeError",error:i.error}),t.timeline.error({handshakeError:i.error})):(t.abortConnecting(),t.handshakeCallbacks[i.action](i))};this.runner=this.strategy.connect(0,e)},e.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},e.prototype.disconnectInternally=function(){this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection&&this.abandonConnection().close()},e.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},e.prototype.retryIn=function(t){var e=this;this.timeline.info({action:"retry",delay:t}),t>0&&this.emit("connecting_in",Math.round(t/1e3)),this.retryTimer=new a.OneOffTimer(t||0,(function(){e.disconnectInternally(),e.connect()}))},e.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},e.prototype.setUnavailableTimer=function(){var t=this;this.unavailableTimer=new a.OneOffTimer(this.options.unavailableTimeout,(function(){t.updateState("unavailable")}))},e.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},e.prototype.sendActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new a.OneOffTimer(this.options.pongTimeout,(function(){t.timeline.error({pong_timed_out:t.options.pongTimeout}),t.retryIn(0)}))},e.prototype.resetActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new a.OneOffTimer(this.activityTimeout,(function(){t.sendActivityCheck()})))},e.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},e.prototype.buildConnectionCallbacks=function(t){var e=this;return s.extend({},t,{message:function(t){e.resetActivityCheck(),e.emit("message",t)},ping:function(){e.send_event("pusher:pong",{})},activity:function(){e.resetActivityCheck()},error:function(t){e.emit("error",{type:"WebSocketError",error:t})},closed:function(){e.abandonConnection(),e.shouldRetry()&&e.retryIn(1e3)}})},e.prototype.buildHandshakeCallbacks=function(t){var e=this;return s.extend({},t,{connected:function(t){e.activityTimeout=Math.min(e.options.activityTimeout,t.activityTimeout,t.connection.activityTimeout||1/0),e.clearUnavailableTimer(),e.setConnection(t.connection),e.socket_id=e.connection.id,e.updateState("connected",{socket_id:e.socket_id})}})},e.prototype.buildErrorCallbacks=function(){var t=this,e=function(e){return function(n){n.error&&t.emit("error",{type:"WebSocketError",error:n.error}),e(n)}};return{tls_only:e((function(){t.usingTLS=!0,t.updateStrategy(),t.retryIn(0)})),refused:e((function(){t.disconnect()})),backoff:e((function(){t.retryIn(1e3)})),retry:e((function(){t.retryIn(0)}))}},e.prototype.setConnection=function(t){for(var e in this.connection=t,this.connectionCallbacks)this.connection.bind(e,this.connectionCallbacks[e]);this.resetActivityCheck()},e.prototype.abandonConnection=function(){if(this.connection){for(var t in this.stopActivityCheck(),this.connectionCallbacks)this.connection.unbind(t,this.connectionCallbacks[t]);var e=this.connection;return this.connection=null,e}},e.prototype.updateState=function(t,e){var n=this.state;if(this.state=t,n!==t){var i=t;"connected"===i&&(i+=" with new socket ID "+e.socket_id),o.default.debug("State changed",n+" -> "+i),this.timeline.info({state:t,params:e}),this.emit("state_change",{previous:n,current:t}),this.emit(t,e)}},e.prototype.shouldRetry=function(){return"connecting"===this.state||"connected"===this.state},e}(r.default);e.__esModule=!0,e.default=u},function(t,e,n){"use strict";var i=n(9),r=n(43),a=n(31),o=function(){function t(){this.channels={}}return t.prototype.add=function(t,e){return this.channels[t]||(this.channels[t]=function(t,e){if(0===t.indexOf("private-encrypted-")){if("ReactNative"==navigator.product)throw new a.UnsupportedFeature("Encrypted channels are not yet supported when using React Native builds.");return r.default.createEncryptedChannel(t,e)}return 0===t.indexOf("private-")?r.default.createPrivateChannel(t,e):0===t.indexOf("presence-")?r.default.createPresenceChannel(t,e):r.default.createChannel(t,e)}(t,e)),this.channels[t]},t.prototype.all=function(){return i.values(this.channels)},t.prototype.find=function(t){return this.channels[t]},t.prototype.remove=function(t){var e=this.channels[t];return delete this.channels[t],e},t.prototype.disconnect=function(){i.objectApply(this.channels,(function(t){t.disconnect()}))},t}();e.__esModule=!0,e.default=o},function(t,e,n){"use strict";var i=n(43),r=n(11),a=n(31),o=n(9),s=function(){function t(t,e,n,i){this.name=t,this.priority=e,this.transport=n,this.options=i||{}}return t.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},t.prototype.connect=function(t,e){var n=this;if(!this.isSupported())return l(new a.UnsupportedStrategy,e);if(this.priority0&&(r=new a.OneOffTimer(n.timeout,(function(){o.abort(),i(!0)}))),o=t.connect(e,(function(t,e){t&&r&&r.isRunning()&&!n.failFast||(r&&r.ensureAborted(),i(t,e))})),{abort:function(){r&&r.ensureAborted(),o.abort()},forceMinPriority:function(t){o.forceMinPriority(t)}}},t}();e.__esModule=!0,e.default=o},function(t,e,n){"use strict";var i=n(9),r=n(11),a=function(){function t(t){this.strategies=t}return t.prototype.isSupported=function(){return i.any(this.strategies,r.default.method("isSupported"))},t.prototype.connect=function(t,e){return function(t,e,n){var r=i.map(t,(function(t,i,r,a){return t.connect(e,n(i,a))}));return{abort:function(){i.apply(r,o)},forceMinPriority:function(t){i.apply(r,(function(e){e.forceMinPriority(t)}))}}}(this.strategies,t,(function(t,n){return function(r,a){n[t].error=r,r?function(t){return i.all(t,(function(t){return Boolean(t.error)}))}(n)&&e(!0):(i.apply(n,(function(t){t.forceMinPriority(a.transport.priority)})),e(null,a))}}))},t}();function o(t){t.error||t.aborted||(t.abort(),t.aborted=!0)}e.__esModule=!0,e.default=a},function(t,e,n){"use strict";var i=n(11),r=n(2),a=n(65),o=n(9),s=function(){function t(t,e,n){this.strategy=t,this.transports=e,this.ttl=n.ttl||18e5,this.usingTLS=n.useTLS,this.timeline=n.timeline}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.usingTLS,s=function(t){var e=r.default.getLocalStorage();if(e)try{var n=e[l(t)];if(n)return JSON.parse(n)}catch(e){u(t)}return null}(n),c=[this.strategy];if(s&&s.timestamp+this.ttl>=i.default.now()){var h=this.transports[s.transport];h&&(this.timeline.info({cached:!0,transport:s.transport,latency:s.latency}),c.push(new a.default([h],{timeout:2*s.latency+1e3,failFast:!0})))}var d=i.default.now(),p=c.pop().connect(t,(function a(s,h){s?(u(n),c.length>0?(d=i.default.now(),p=c.pop().connect(t,a)):e(s)):(function(t,e,n){var a=r.default.getLocalStorage();if(a)try{a[l(t)]=o.safeJSONStringify({timestamp:i.default.now(),transport:e,latency:n})}catch(t){}}(n,h.transport.name,i.default.now()-d),e(null,h))}));return{abort:function(){p.abort()},forceMinPriority:function(e){t=e,p&&p.forceMinPriority(e)}}},t}();function l(t){return"pusherTransport"+(t?"TLS":"NonTLS")}function u(t){var e=r.default.getLocalStorage();if(e)try{delete e[l(t)]}catch(t){}}e.__esModule=!0,e.default=s},function(t,e,n){"use strict";var i=n(12),r=function(){function t(t,e){var n=e.delay;this.strategy=t,this.options={delay:n}}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n,r=this.strategy,a=new i.OneOffTimer(this.options.delay,(function(){n=r.connect(t,e)}));return{abort:function(){a.ensureAborted(),n&&n.abort()},forceMinPriority:function(e){t=e,n&&n.forceMinPriority(e)}}},t}();e.__esModule=!0,e.default=r},function(t,e){"use strict";var n=function(){function t(t,e,n){this.test=t,this.trueBranch=e,this.falseBranch=n}return t.prototype.isSupported=function(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()},t.prototype.connect=function(t,e){return(this.test()?this.trueBranch:this.falseBranch).connect(t,e)},t}();e.__esModule=!0,e.default=n},function(t,e){"use strict";var n=function(){function t(t){this.strategy=t}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.strategy.connect(t,(function(t,i){i&&n.abort(),e(t,i)}));return n},t}();e.__esModule=!0,e.default=n},function(t,e,n){"use strict";var i=n(5);e.getGlobalConfig=function(){return{wsHost:i.default.host,wsPort:i.default.ws_port,wssPort:i.default.wss_port,wsPath:i.default.ws_path,httpHost:i.default.sockjs_host,httpPort:i.default.sockjs_http_port,httpsPort:i.default.sockjs_https_port,httpPath:i.default.sockjs_path,statsHost:i.default.stats_host,authEndpoint:i.default.channel_auth_endpoint,authTransport:i.default.channel_auth_transport,activity_timeout:i.default.activity_timeout,pong_timeout:i.default.pong_timeout,unavailable_timeout:i.default.unavailable_timeout}},e.getClusterConfig=function(t){return{wsHost:"ws-"+t+".pusher.com",httpHost:"sockjs-"+t+".pusher.com"}}}])},t.exports=i()},"eJw/":function(t){t.exports=JSON.parse('{"enter-team-identifier":"Geef het unieke kenmerk om je aan te sluiten bij een team.","team-identifier":"Doe mee met een team dmv kenmerk","enter-id-to-join-placeholder":"Geef kenmerk om aan te sluiten bij een team","join-team":"Sluit aan bij Team"}')},ePAn:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Art","brands":"Brands","coastal":"Coastal","coffee":"Coffee","dumping":"Dumping","food":"Food","industrial":"Industrial","sanitary":"Sanitary","softdrinks":"Soft Drinks","smoking":"Smoking","other":"Other","material":"Material","dogshit":"Pets"},"smoking":{"butts":"Cigarettes/Butts","lighters":"Lighters","cigaretteBox":"Cigarette Box","tobaccoPouch":"Tobacco Pouch","skins":"Rolling Papers","smoking_plastic":"Plastic Packaging","filters":"Filters","filterbox":"Filter Box","vape_pen":"Vape pen","vape_oil":"Vape oil","smokingOther":"Smoking-Other"},"alcohol":{"beerBottle":"Beer Bottles","spiritBottle":"Spirit Bottles","wineBottle":"Wine Bottles","beerCan":"Beer Cans","brokenGlass":"Broken Glass","bottleTops":"Beer bottle tops","paperCardAlcoholPackaging":"Paper Packaging","plasticAlcoholPackaging":"Plastic Packaging","pint":"Pint Glass","six_pack_rings":"Six-pack rings","alcohol_plastic_cups":"Plastic Cups","alcoholOther":"Alcohol-Other"},"art":{"item":"Litter Art"},"coffee":{"coffeeCups":"Coffee Cups","coffeeLids":"Coffee Lids","coffeeOther":"Coffee-Other"},"food":{"sweetWrappers":"Sweet Wrappers","paperFoodPackaging":"Paper/Cardboard Packaging","plasticFoodPackaging":"Plastic Packaging","plasticCutlery":"Plastic Cutlery","crisp_small":"Crisp/Chip Packet (small)","crisp_large":"Crisp/Chip Packet (large)","styrofoam_plate":"Styrofoam Plate","napkins":"Napkins","sauce_packet":"Sauce Packet","glass_jar":"Glass Jar","glass_jar_lid":"Glass Jar Lid","aluminium_foil":"Aluminium Foil","pizza_box":"Pizza Box","foodOther":"Food-Other","chewing_gum":"Chewing Gum"},"softdrinks":{"waterBottle":"Plastic Water bottle","fizzyDrinkBottle":"Plastic Fizzy Drink bottle","tinCan":"Can","bottleLid":"Bottle Tops","bottleLabel":"Bottle Labels","sportsDrink":"Sports Drink bottle","straws":"Straws","plastic_cups":"Plastic Cups","plastic_cup_tops":"Plastic Cup Tops","milk_bottle":"Milk Bottle","milk_carton":"Milk Carton","paper_cups":"Paper Cups","juice_cartons":"Juice Cartons","juice_bottles":"Juice Bottles","juice_packet":"Juice Packet","ice_tea_bottles":"Ice Tea Bottles","ice_tea_can":"Ice Tea Can","energy_can":"Energy Can","pullring":"Pull-ring","strawpacket":"Straw Packaging","styro_cup":"Styrofoam Cup","broken_glass":"Broken Glass","softDrinkOther":"Soft Drink-Other"},"sanitary":{"gloves":"Gloves","facemask":"Facemask","condoms":"Condoms","nappies":"Nappies","menstral":"Menstral","deodorant":"Deodorant","ear_swabs":"Ear Swabs","tooth_pick":"Tooth Pick","tooth_brush":"Tooth Brush","wetwipes":"Wet Wipes","hand_sanitiser":"Hand Sanitiser","sanitaryOther":"Sanitary-Other"},"dumping":{"small":"Small","medium":"Medium","large":"Large"},"industrial":{"oil":"Oil","industrial_plastic":"Plastic","chemical":"Chemical","bricks":"Bricks","tape":"Tape","industrial_other":"Industrial-Other"},"coastal":{"microplastics":"Microplastics","mediumplastics":"Mediumplastics","macroplastics":"Macroplastics","rope_small":"Rope small","rope_medium":"Rope medium","rope_large":"Rope large","fishing_gear_nets":"Fishing gear/nets","ghost_nets":"Ghost nets","buoys":"Buoys","degraded_plasticbottle":"Degraded Plastic Bottle","degraded_plasticbag":"Degraded Plastic Bag","degraded_straws":"Degraded Drinking Straws","degraded_lighters":"Degraded Lighters","balloons":"Balloons","lego":"Lego","shotgun_cartridges":"Shotgun Cartridges","styro_small":"Styrofoam small","styro_medium":"Styrofoam medium","styro_large":"Styrofoam large","coastal_other":"Coastal-Other"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"TrashDog","littercat":"LitterCat","duck":"LitterDuck"},"other":{"dogshit":"Dog Poo","pooinbag":"Dog Poo In Bag","automobile":"Automobile","clothing":"Clothing","traffic_cone":"Traffic cone","life_buoy":"Life Buoy","plastic":"Unidentified Plastic","dump":"Illegal Dumping","metal":"Metal Object","plastic_bags":"Plastic Bags","election_posters":"Election Posters","forsale_posters":"For Sale Posters","books":"Books","magazine":"Magazines","paper":"Paper","stationary":"Stationery","washing_up":"Washing-up Bottle","hair_tie":"Hair Tie","ear_plugs":"Ear Plugs (music)","batteries":"Batteries","elec_small":"Electric small","elec_large":"Electric large","random_litter":"Random Litter","balloons":"Balloons","bags_litter":"Bags of Litter","overflowing_bins":"Overflowing Bins","tyre":"Tyre","cable_tie":"Cable Tie","other":"Other-Other"},"presence":{"picked-up":"I picked it up!","still-there":"Was not picked up!","picked-up-text":"It\'s gone.","still-there-text":"The litter is still there!"},"no-tags":"No Tags","not-verified":"Awaiting verification","not-tagged-yet":"Not tagged yet!","dogshit":{"poo":"Surprise!","poo_in_bag":"Surprise in a bag!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},ePQW:function(t,e,n){var i=n("3PcX");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},eSK7:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"This will be back later","claim-tokens":"If you want to just claim your tokens and access your wallet from elsewhere, enter your wallet ID and you will be sent your earnings."}')},eTB5:function(t){t.exports=JSON.parse('{"welcome":"Karibu kwenye Wasifu wako mpya","out-of":"Kati ya watumiaji {jumla}","rank":"Uko katika nafasi ya {rank}","have-uploaded":"Umepakia","photos":"picha","tags":"nembo","all-photos":"picha zote","all-tags":"anembo zote","your-level":"Kiwango chako","reached-level":"Umefikia kiwango cha","have-xp":"na una","need-xp":"Unahitaji","to-reach-level":"kufikia kiwango kinachofuata.","total-categories":"Jumla ya makundi","calendar-load-data":"Onyesha taarifa","download-data":"Pakua taarifa zangu","email-send-msg":"Barua pepe itatumwa kwa anwani unayotumia kuingia.","timeseries-verified-photos":"Picha zilizo hakikiwa","manage-my-photos":"Tazama picha zako, chagua nyingi, zifute au ongeza lebo!","view-my-photos":"Angalia picha zangu","my-photos":"Picha zangu","add-tags":"Ongeza nembo","bulk-tag-dblclick-info":"Bofya mara mbili kuona picha kwa karibu zaidi!"}')},eXIN:function(t,e,n){"use strict";n.r(e);var i={name:"Privacy"},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("h1",[t._v("PLEASE READ CAREFULLY BEFORE USING OPENLITTERMAP.COM:")]),t._v(" "),n("p",[n("i",[t._v("\n Last updated: 14"),n("sup",[t._v("th")]),t._v("\n April 2017\n ")])]),t._v(" "),n("br"),t._v(" "),n("h1",[t._v("Privacy Policy of OpenLitterMap.com")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("Our Services provide volunteers (Citizen Scientists) with a means to share information on occurrences of litter through geotagged imagery. Geotagged images have a spatial (a specific, typically centimeter-accurate GPS Lat/Long position) reference as well as a specific time-stamp (Year-month-day HH:MM:SS), which can be used to determine exactly where and when an occurrence of litter was identified- thus showing the location of a contributor at any point in time and potentially revealing information about the spatial patterns of a contributor or many contributors and revealing the location of hotspots and irregular occurrences of hazardous material such as drug-related litter (eg. needles, injecting equipment). A specific litter item can be shown individually and/or abstracted to a dynamically-sized hexagonal grid to analytically characterize the presence of litter, or abstractively perhaps even the illicit consumption of toxic substances. Once these images are shared with us, and only geotagged images can pass, the volunteer must properly attribute each image (eg. Determine x items of litter in x number of photos through the user of their Profile (https://openlittermap.com/profile) and once the image and its’ contents are attributed, each image must be submitted for crowdsourced verification. The verified images, their location and the time the image was captured will be mapped, spatially analyzed and the results, the images, the make/model of the device (which is an indication of spatial accuracy eg. iPhones (5+) are currently typically superior in spatial accuracy and temporal GPS-revisit frequency to Android) and their contents will be made public for guests or authenticated users of the website. Each image can account for only 1 point on the map which when clicked, will show the image which can be viewed in high-resolution, as well as its contents, the make and/or model of the device and although all images will be submitted anonymously by default, each contributor has the option to credit either their full name and/or unique Username or Organisation on the verifiable geotagged images they provide. We will maintain the images at our own discretion in accordance with our limited server capacity. However, images that are verified by an Admin and reach stage two verification will be deleted, allowing us to resolve greater volumes of data and keep our costs as low as possible.\n "),n("br"),t._v(" "),n("br"),t._v(" "),n("br"),t._v("\n This Privacy Policy describes how and when we collect, share and use your information across the website. By using this website, you authorize us to store and use your information in accordance with this privacy policy. This policy will change from time to time and we will do our best to notify you of these changes and updates once you log into the website and through our social media campaigns @OpenLitterMap (Twitter).")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("People under the age of 13")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("We do not allow for people under the age of 13 to use or register with our Services. If we discover there is personal information from or about children below this age category, we will permanently delete that information and any other associate records immediately.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("People aged 13-17")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("Only with parental or guardian supervision may a person aged 13-17 use this website for educational purposes. With proper supervision a person in this age category may be able to involve themselves with challenging the destructive paradigm of plastic pollution and contribute to the production of geospatial knowledge that has the potential to transform public and institutional behaviour however users should take particular caution when sharing their information online or when collecting data on litter which may be detrimental to personal health. For example, drug-related litter is a highly dangerous public-health hazard and if mishandled or stepped on accidentally, could result in a life-long physical, sexual and mentally-debilitating illness, disease, infection and/or scar, which will require urgent medical treatment from a medical professional- something this website claims to hold no knowledge of. Parents may choose to show the information on drug-related litter to their adolescent children to raise awareness about the harms caused by drug-related littering the public so that further accidents can be avoided.")]),t._v(" "),n("br"),t._v(" "),n("h3",{staticStyle:{color:"red"}},[t._v("If you require urgent medical treatment")]),t._v(" "),n("br"),t._v(" "),n("p",[n("b",[t._v("Please call 112, 999 or your appropriate emergency line and ask for an ambulance.")])]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("We collect the following information:")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("- Information you provide when you register for an account (eg. Full Name, legitimate and verifiable email address, a unique username or the organisation you are legally entitled to represent)\n "),n("br"),t._v("\n - The images you submit.\n "),n("br"),t._v("\n - The metadata associated with the images.\n "),n("br"),t._v("\n - The attribute information associated with each image.\n "),n("br"),t._v("\n - Cumulate statistics and geostatistics based on the analysis of each and all images.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("We do not collect the following information:")]),t._v(" "),n("p",[n("br"),t._v("\n - Cookies.\n "),n("br"),t._v("\n - Your IP address.\n "),n("br"),t._v("\n - The website you have come for, or are going to.\n "),n("br"),t._v("\n - The type of browser you are using.\n "),n("br"),t._v("\n - “Clickstream” data.\n "),n("br"),t._v("\n - How you use this website.\n "),n("br")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("Other people including 3rd parties may use the information you decide to make public accessible.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("By submitting data to this Service, you accept and understand that the images, their contents, their location in time and space and potentially on your allowance, you may wish to be represented as the contributor of the image by full name and/or your unique username. By default, all images will be contributed anonymously. ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("Security and your Password")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("You must choose a strong password at least 6 characters long that contains upper and lower case characters, a number and a symbol. Your password will be encrypted using the best available encryption methods and stored securely on our server. With the one exception of the map on Firefox which requires partial encryption, all of our website runs on an encrypted HTTPS network so the information you provide, including for example credit card information, is fully encrypted with SSL. In fact for credit cards we never touch your card details as we use Stripe for payments. www.stripe.com")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("Feedback")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("This is a new service. We are happy to hear feedback on this service or privacy policy if you think you can offer us some advice please contact us at info@openlittermap.com")])])}],!1,null,"9a72d7c4",null);e.default=a.exports},elOy:function(t,e,n){"use strict";var i=n("Zcca");n.n(i).a},emV3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#hexmap[data-v-41819959] {\n height: 100%;\n margin: 0;\n position: relative;\n}\n.btn-map-fullscreen[data-v-41819959] {\n position: absolute;\n top: 1em;\n right: 1em;\n z-index: 1234;\n}\n\n/* remove padding on mobile */\n.profile-map-container[data-v-41819959] {\n height: 100%;\n position: relative;\n}\n",""])},enqF:function(t){t.exports=JSON.parse('{"ready-to-join":"Prêt à rejoindre la révolution géospatiale?","join-subtitle":"Si vous aimez notre travail, votre aide sera vraiment très utile à OpenLitterMap.","free-plan":"GRATUIT","free-plan-feature1":"Télécharger 1000 images par jour.","free-plan-feature2":"Débloquer des Badges + Récompenses.","free-plan-feature3":"Gagner des Littercoins.","free-plan-feature4":"Concourir dans plusieurs classements différents.","free-plan-join":"Je participe","startup-plan":"LANCEMENT","startup-plan-donation":"5€ par mois","startup-plan-feature1":"Financer le développement d\'OpenLitterMap.","startup-plan-feature2":"Nous aider à couvrir nos frais.","startup-plan-feature3":"S\'installer et profiter des mises à jour.","startup-plan-join":"J\'apporte mon soutien!","basic-plan":"BASIQUE","basic-plan-donation":"9,99€ par mois","basic-plan-feature1":"Financer le développement d\'OpenLitterMap.","basic-plan-feature2":"Nous aider à couvrir nos frais.","basic-plan-feature3":"S\'installer et profiter des mises à jour.","basic-plan-join":"J\'apporte mon soutien!","advanced-plan":"AVANCÉ","advanced-plan-donation":"20€ par mois","advanced-plan-feature1":"Financer le développement d\'OpenLitterMap.","advanced-plan-feature2":"Nous aider à couvrir nos frais.","advanced-plan-feature3":"S\'installer et profiter des mises à jour.","advanced-plan-join":"J\'apporte mon soutien!","pro-plan":"PRO","pro-plan-donation":"30€ par mois","pro-plan-feature1":"Financer le développement d\'OpenLitterMap.","pro-plan-feature2":"Nous aider à couvrir nos frais.","pro-plan-feature3":"S\'installer et profiter des mises à jour.","pro-plan-join":"Je suis vraiment déterminé."}')},fIXd:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Arte","brands":"Marcas","coastal":"Costa","coffee":"Café","dumping":"Vertedero","food":"Comida","industrial":"Industrial","sanitary":"Sanitario","softdrinks":"Refrescos","smoking":"Fumar","other":"Otros","dogshit":"Mascotas","material":"Material"},"smoking":{"butts":"Cigarrillos/Colillas","lighters":"Mecheros","cigaretteBox":"Caja de cigarros","tobaccoPouch":"Bolsa de tabaco","skins":"Papel de liar","smoking_plastic":"Embalaje de plástico","filters":"Filtros","filterbox":"Caja de filtros","vape_pen":"Vapeador (cigarrillo electrónico)","vape_oil":"Líquido para vapear","smokingOther":"Fumar-Otros"},"alcohol":{"beerBottle":"Botellas de cerveza","spiritBottle":"Botellas de alcohol","wineBottle":"Botellas de vino","beerCan":"Latas de cerveza","brokenGlass":"Vidrio roto","bottleTops":"Tapas de botellas de cerveza","paperCardAlcoholPackaging":"Embalaje de papel","plasticAlcoholPackaging":"Embajale de plástico","pint":"Vaso de cerveza","six_pack_rings":"Anillos para latas de cerveza","alcohol_plastic_cups":"Vasos de plástico","alcoholOther":"Alcohol-Otros"},"art":{"item":"Arte de la Basura"},"coffee":{"coffeeCups":"Vasos de café","coffeeLids":"Tapas de café","coffeeOther":"Café-Otros"},"food":{"sweetWrappers":"Envoltorios de dulces","paperFoodPackaging":"Embalaje de papel/cartón","plasticFoodPackaging":"Embalaje de plástico","plasticCutlery":"Cubiertos de plástico","crisp_small":"Paquete de patatas fritas (pequeño)","crisp_large":"Paquete de patatas fritas (grande)","styrofoam_plate":"Plato de poliestireno desechable","napkins":"Servilletas","sauce_packet":"Paquete de salsa","glass_jar":"Jarra de vidrio","glass_jar_lid":"Tapa de jarra de vidrio","aluminium_foil":"Papel aluminio","pizza_box":"Caja de pizza","foodOther":"Comida-Otros","chewing_gum":"Chicle"},"softdrinks":{"waterBottle":"Botella de plástico de agua","fizzyDrinkBottle":"Botella de plástico de bebida gaseosa","tinCan":"Lata","bottleLid":"Tapas de botellas","bottleLabel":"Etiquetas de botellas","sportsDrink":"Botella de bebida deportiva","straws":"Pajitas/Popotes","plastic_cups":"Vasos de plástico","plastic_cup_tops":"Tapas de vasos de plástico","milk_bottle":"Botella de leche","milk_carton":"Cartón de leche","paper_cups":"Vasos de papel","juice_cartons":"Cartones de zumo/jugo","juice_bottles":"Botellas de zumo/jugo","juice_packet":"Paquete de zumos/jugos","ice_tea_bottles":"Botellas de té helado","ice_tea_can":"Lata de té helado","energy_can":"Lata de bebida energética","pullring":"Anillas","strawpacket":"Embalaje pajitas","styro_cup":"Vaso de poliestireno","broken_glass":"Vidrio roto","softDrinkOther":"Bebidas-Otras"},"sanitary":{"gloves":"Guantes","facemask":"Mascarillas","condoms":"Preservativos","nappies":"Pañales","menstral":"Menstral","deodorant":"Desodorante","ear_swabs":"Bastoncillos para los oídos","tooth_pick":"Palillo de dientes","tooth_brush":"Cepillo de dientes","wetwipes":"Toallitas húmedas","hand_sanitiser":"Higienizante de manos","sanitaryOther":"Sanitario-Otros"},"dumping":{"small":"Pequeño","medium":"Mediano","large":"Grande"},"industrial":{"oil":"Aceite","industrial_plastic":"Plástico","chemical":"Químicos","bricks":"Ladrillos","tape":"Cinta","industrial_other":"Industrial-Otros"},"coastal":{"microplastics":"Microplásticos","mediumplastics":"Mesoplásticos","macroplastics":"Macroplásticos","rope_small":"Cuerda pequeña","rope_medium":"Cuerda mediana","rope_large":"Cuerda larga","fishing_gear_nets":"Equipo de pesca/redes","ghost_nets":"Redes fantasma","buoys":"Boyas","degraded_plasticbottle":"Botella de plástico degradada","degraded_plasticbag":"Bolsa de plástico degradada","degraded_straws":"Pajitas para beber degradadas","degraded_lighters":"Mecheros degradados","balloons":"Globos","lego":"Lego","shotgun_cartridges":"Cartuchos de escopeta","styro_small":"Espuma de poliestireno pequeña","styro_medium":"Espuma de poliestireno mediana","styro_large":"Espuma de poliestireno grande","coastal_other":"Costa-Otros"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"TrashDog","littercat":"LitterCat","duck":"LitterDuck"},"other":{"dogshit":"Heces de perro","pooinbag":"Heces de perro en una bolsa","automobile":"Automóvil","clothing":"Ropa","traffic_cone":"Cono de tráfico","life_buoy":"Boya salvavidas","plastic":"Plástico no identificado","dump":"Vertedero ilegal","metal":"Objeto de metal","plastic_bags":"Bolsas de plástico","election_posters":"Carteles electoráles","forsale_posters":"Carteles de \'en venta\'","books":"Libros","magazine":"Revistas","paper":"Papel","stationary":"Papelería","washing_up":"Botella lavavajillas","hair_tie":"Gomas para cabello","ear_plugs":"Tapones para los oídos","batteries":"Pilas","elec_small":"Electrónica pequeña","elec_large":"Electrónica grande","random_litter":"Basura aleatoría","balloons":"Globos","bags_litter":"Bolsas de basura","overflowing_bins":"Contenedores de basura desbordados","tyre":"Neumáticos","cable_tie":"Sujetacables","other":"Otros-Otros"},"presence":{"picked-up":"¡La he recogido!","still-there":"¡No fue recogido!","picked-up-text":"Ya no está.","still-there-text":"¡La basura sigue ahí!"},"no-tags":"Sin etiquetas","not-verified":"Esperando verificación","not-tagged-yet":"¡Todavía no etiquetado!","dogshit":{"poo":"¡Sorpresa!","poo_in_bag":"¡Sorpresa dentro de la bolsa!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},fJHo:function(t,e,n){"use strict";var i=n("w+GM");n.n(i).a},fKuF:function(t,e,n){"use strict";var i=n("+2sq");n.n(i).a},fMyq:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".btn-map-fullscreen[data-v-49b858a9] {\n position: absolute;\n top: 80px;\n left: 12px;\n z-index: 1234;\n}\n\n/* remove padding on mobile */\n.team-map-container[data-v-49b858a9] {\n height: 750px;\n margin: 0;\n position: relative;\n padding-top: 1em;\n}\n@media (max-width: 991.98px) {\n.team-map-container[data-v-49b858a9] {\n height: 500px;\n}\n}\n@media (max-width: 575.98px) {\n.team-map-container[data-v-49b858a9] {\n margin-left: -3em;\n margin-right: -3em;\n}\n}",""])},fYLw:function(t){t.exports=JSON.parse('{"change-privacy":"Alterar minha privacidade","maps":"Mapas","credit-name":"Creditar meu nome","credit-username":"Creditar meu nome de usuário","name-imgs-yes":"Seu nome aparecerá em cada uma das imagens que você enviar para os mapas.","username-imgs-yes":"Seu nome de usuário aparecerá em cada uma das imagens que você enviar para os mapas.","name-username-map-no":"Seu nome e nome de usuário não aparecerão nos mapas.","leaderboards":"Placares de líderes","credit-my-name":"Creditar meu nome","credit-my-username":"Creditar meu nome de usuário","name-leaderboards-yes":"Seu nome aparecerá em todos os placares de líderes para os quais você se qualificar.","username-leaderboards-yes":"Seu nome de usuário aparecerá em todas as tabelas de classificação para as quais você se qualificar.","name-username-leaderboards-no":"Seu nome e nome de usuário não aparecerão nas tabelas de classificação.","created-by":"Criado por","name-locations-yes":"Seu nome aparecerá nas seções criadas por de qualquer local que você criar.","username-locations-yes":"Seu nome de usuário aparecerá nas seções criadas por de qualquer local que você criar.","name-username-locations-yes":"Seu nome e nome de usuário não aparecerão na seção Criado Por de nenhum local que você adicionar ao banco de dados.","update":"Atualizar"}')},fYS8:function(t,e,n){var i=n("oYGC");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},fcDi:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.tsc[data-v-e122f83a] {\n margin-top: 1em;\n margin-left: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.tsc[data-v-e122f83a] {\n margin-top: 0;\n margin-left: 0;\n}\n}\n\n",""])},feLt:function(t){t.exports=JSON.parse('{"welcome":"Welkom bij je nieuwe Profiel","out-of":"Van de {total} gebruikers","rank":"Sta jij op plek {rank}","have-uploaded":"Je hebt ge-upload","photos":"Foto\'s","tags":"Kenmerken","all-photos":"alle foto\'s","all-tags":"alle kenmerken","your-level":"Jouw niveau","reached-level":"Jouw bereikte niveau","have-xp":"en je heb","need-xp":"je hebt nodig","to-reach-level":"om het volgende niveau te bereiken.","total-categories":"Totaal Categorieën","calendar-load-data":"Ophalen Data","download-data":"Download Mijn Data","email-send-msg":"Een e-mail wordt gestuurd naar het adres dat je gebruikt om in te loggen.","timeseries-verified-photos":"Gecontroleerde Foto\'s","manage-my-photos":"Bekijk mijn foto\'s, selecteer meerdere, verwijder ze of voeg kenmerken toe!","view-my-photos":"Bekijk mijn Foto\'s","my-photos":"Mijn Foto\'s","add-tags":"Voeg kenmerken toe","bulk-tag-dblclick-info":"Dubbelklik om foto\'s in te zoomen!"}')},fjiq:function(t){t.exports=JSON.parse('{"title":"Ayúdanos a cambiar el mundo.","subtitle":"Nosotros estamos creciendo por día","photos-last-30-days":"Fotos subidas los últimos 30 días","users-last-30-days":"Nuevos usuarios los últimos 30 días","litter-tags-last-30-days":"Camada etiquetada los últimos 30 días","photos-every-month-label":"Fotos subidas cada mes","users-every-month-label":"Nuevos usuarios cada mes","zoom-text":"Únase a nosotros en {link}, donde escuchamos muchas ideas y sugerencias nuevas de nuestra creciente comunidad global. Cada semana, nuestros usuarios comparten sus comentarios, lo que siempre ayuda a que nuestra aplicación sea más fácil y mejor de usar. Ayude a dar forma a la dirección futura de nuestra plataforma de monitoreo ambiental y recopilación de datos de código abierto. La llamada comienza en:","zoom-weekly-calls":"las llamadas de Zoom semanales a las 6 p.m. GMT (hora de Dublín/Londres/Lisboa) todos los jueves","zoom-live":"En Vivo","zoom-days":"día | días","zoom-hours":"hora | horas","zoom-minutes":"minuto | minutos","slack-text":"{slack} es nuestro principal medio de comunicación y colaboración. Usuarios avanzados, recién llegados, desarrolladores, una comunidad de más de 400 miembros: todos estamos allí. Escríbanos y obtendrá una respuesta instantánea, estamos en línea todo el tiempo.","fundraiser-text":"OpenLitterMap depende completamente de las donaciones. Hemos creado una {link} y todavía estamos lejos de nuestro objetivo. Todas las contribuciones son bienvenidas. {emoji}","fundraiser-link":"recaudación de fondos de GoFundMe"}')},fnz1:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".leaflet-control-select .leaflet-control-button {\n cursor: pointer;\n font-size: 20px;\n}\n.leaflet-control-select .leaflet-control-select-menu {\n width: auto;\n}\n.leaflet-control-select .leaflet-control-select-menu:nth-of-type(1) {\n position: absolute;\n top: -3px;\n left: -2px;\n}\n.leaflet-control-select .leaflet-control-select-menu:nth-of-type(n + 2) {\n margin-top: -7px;\n position: absolute;\n left: 100%;\n margin-left: 5px;\n}\n.leaflet-control-select .leaflet-control-select-menu {\n background-color: white;\n color: black;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line {\n padding: 7px;\n padding-right: 20px;\n padding-left: 10px;\n margin: 0;\n cursor: pointer;\n white-space: nowrap;\n display: -webkit-box;\n width: auto;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line.group.group-opened {\n background-color: grey;\n color: white;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content {\n width: 100%;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content .icon {\n position: absolute;\n right: 6px;\n margin-top: 1px;\n width: 10px;\n text-align: center;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content .icon,\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content .text {\n display: inline;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line span {\n display: inline;\n}",""])},"g+b/":function(t){t.exports=JSON.parse('{"delete-account":"A fiókom törlése","delete-account?":"Szeretné törölni a fiókját?","enter-password":"Írd be a jelszavad"}')},g1lL:function(t){t.exports=JSON.parse('{"change-details":"Zmień dane osobowe","your-name":"Twoje imie","unique-id":"Unikatowy Identyfikator","email":"E-mail","update-details":"Aktualizuj dane"}')},"g4/Y":function(t){t.exports=JSON.parse('{"finance":"Financer le développement d\'OpenLitterMap","help":"Nous avons besoin de votre aide.","support":"Soutenez le libre accès des données sur la Pollution Plastique","help-costs":"Aider à couvrir nos coûts","help-hire":"Embaucher des développeurs, des concepteurs et des diplômés","help-produce":"Produire des vidéos","help-write":"Écrire des articles","help-outreach":"Conférence & sensibilisation","help-incentivize":"Encourager la collecte de données avec le Littercoin","more-soon":"D\'autres mises à jour intéressantes suivront bientôt","click-to-support":"Cliquez ici pour soutenir"}')},g57v:function(t,e){},gBxo:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("ltXA"),r=n("wd/R"),a=n.n(r),o={popupOptions:{minWidth:window.innerWidth>=768?350:200,maxWidth:600,maxHeight:window.innerWidth>=768?800:500,closeButton:!0},scrollPopupToBottom:function(t){var e,n,i=null===(e=t.popup)||void 0===e||null===(n=e.getElement())||void 0===n?void 0:n.querySelector(".leaflet-popup-content");i&&(i.scrollTop=i.scrollHeight)},parseTags:function(t,e,n){if(!t&&!e)return n?i.a.t("litter.not-tagged-yet"):i.a.t("litter.not-verified");var r="",a=t?t.split(","):[];return a.pop(),a.forEach((function(t){var e=t.split(" ");"art.item"===e[0]?r+=i.a.t("litter."+e[0])+"
    ":r+=i.a.t("litter."+e[0])+": "+e[1]+"
    "})),r},formatUserName:function(t,e){return t||e?"".concat(i.a.t("locations.cityVueMap.by")," ").concat(t||""," ").concat(e?"@"+e:""):""},formatPickedUp:function(t){return"".concat(t?i.a.t("litter.presence.picked-up"):i.a.t("litter.presence.still-there"))},formatTeam:function(t){return t?"".concat(i.a.t("common.team")," ").concat(t):""},formatPhotoTakenTime:function(t){return i.a.t("locations.cityVueMap.taken-on")+" "+a()(t).format("LLL")},getMapImagePopupContent:function(t){var e,n,i,r,a,s,l,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=o.formatUserName(t.name,t.username),h="/assets/images/waiting.png"!==t.filename,d=null===(e=t.custom_tags)||void 0===e?void 0:e.join("
    "),p=o.parseTags(t.result_string,d,h),f=o.formatPhotoTakenTime(t.datetime),m=o.formatTeam(t.team),g=o.formatPickedUp(t.picked_up),v=t.result_string&&t.result_string.includes("art.item"),y=t.social&&Object.keys(t.social).length;return'\n \n
    \n ').concat(p?"
    "+p+"
    ":"","\n ").concat(d?"
    "+d+"
    ":"","\n ").concat(v?"":"
    "+g+"
    ","\n
    ").concat(f,"
    \n ").concat(c?"
    "+c+"
    ":"","\n ").concat(m?'
    '+m+"
    ":"","\n ").concat(y?'":"","\n ").concat(u?'':"","\n
    ")},getCleanupContent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="";return null===e?n="Log in to join the cleanup":t.users.find((function(t){return t.user_id===e}))?(n="

    You have joined the cleanup

    ",e===t.user_id?n+="

    You cannot leave the cleanup you created

    ":n+="Click here to leave")):n="Click here to join"),'\n
    \n

    '.concat(t.name,"

    \n

    Attending: ").concat(t.users.length," ").concat(1===t.users.length?"person":"people","

    \n

    ").concat(t.description,"

    \n

    When? ").concat(t.startsAt,"

    \n

    ").concat(t.timeDiff,"

    \n ").concat(n,"\n
    \n ")}}},gCZh:function(t,e,n){var i=n("9Qla");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"gD/i":function(t){t.exports=JSON.parse('{"title":"Classement des Équipes","position-header":"Position","name-header":"Nom","photos-header":"Total des Photos","litter-header":"Total des déchets","created-at-header":"Créé À"}')},"gGk+":function(t){t.exports=JSON.parse('{"title":"Are you ready?","subtitle":"Sign up to become an expert litter mapper and help us defeat plastic pollution.","crowdfunding-message":"Please consider supporting our work by crowdfunding OpenLitterMap with as little as 6 cents a day with a monthly subscription to help grow and develop this important platform.","form-create-account":"Create your account","form-field-name":"Name","form-field-unique-id":"Unique Identifier","form-field-email":"E-Mail Address","form-field-password":"Password. Must contain Uppercase, lowercase and a number.","form-field-pass-confirm":"Confirm Password","form-account-conditions":"I have read and agree to the Terms and Conditions of use and Privacy Policy","form-btn":"Sign up","create-account-note":"Note: If you do not recieve the verification e-mail in your inbox, please check your spam/junk folder."}')},gMnw:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap jest obecnie całkowicie zależny od dotacji","its-important":"Jest to ważne"}')},"gRT/":function(t){t.exports=JSON.parse('{"do-you-pickup":"Vous ramassez le déchet ou vous le laisser sur place?","save-def-settings":"Vous pouvez enregistrer vos paramètres par défaut ici.","change-value-of-litter":"Vous pouvez aussi changer la valeur de chaque déchet pendant que vous les taguez.","status":"Statut Actuel","toggle-presence":"Inverser la participation","pickup?":"Ramasser?"}')},gUen:function(t){t.exports=JSON.parse('{"what-about-litter":"¿Qué pasa con la basura?","about2":"En este momento, billones de colillas de cigarro con filtro de plástico están filtrando productos químicos tóxicos y microplásticos al medio ambiente.","about3":"¿El resultado?","about4":"Se liberan cantidades masivas de nicotina y otras sustancias químicas tóxicas.","about5":"Estos productos químicos tóxicos se bioacumulan en varias plantas y animales. Algunos de los cuales comemos.","about6":"Una emergencia ambiental que está al alcance de nuestra mano.","about7":"Puedes ayudarnos a solucionar esto contribuyendo a OpenLitterMap.","about8":"Sólo tienes que hacer una foto, etiquetarla y subirla.","about9":"¡Quiero ayudar!","about9a":"Sólo toma una foto","about9b":"Etiqueta la basura","about9c":"Súbela","about10":"Cada año, millones de toneladas de plástico encuentran su camino desde tierra firme hasta el mar.","about11":"Donde se vuelve significativamente más dañino, más difícil y más caro de eliminar.","about12":"La ilusión de la \\"limpieza urbana\\"","about13":"se ve facilitada por el diseño de la infraestructura.","about14":"Los datos de OpenLitterMap son","about14a":"Datos Abiertos","about14b":"Esto significa que cualquiera puede descargar los datos de forma gratuita y utilizarlos para cualquier propósito, sin permiso.","about15":"Los datos abiertos son esenciales para brindar transparencia, democracia y seguimiento a la ciencia sobre la contaminación. De lo contrario, ¿quién podrá utilizar los datos?","about16":"OpenLitterMap te empodera con las herramientas para convertirte en un científico ciudadano.","about17":"Ahora tienes el poder de contribuir a la producción de conocimiento geoespacial sobre nuestro mundo. Esto tiene el potencial de transformar el comportamiento público e institucional.","about17a":"Nuestros datos están mapeados por Espacio, Tiempo, Localización y Comportamientos.","about17b":"Echa un vistazo a este increíble tramo de Datos Abiertos sobre la contaminación causada por los productos de un puñado de corporaciones globales.","about17c":"¿Quieres descargar los datos?","about18":"La producción de conocimiento geográfico estuvo en su día en manos exclusivamente de las grandes instituciones y personas de poder.","about19":"Como Científico Ciudadano, ","about20":"tu puedes crear conocimiento. ","about21":"Se trata de un cambio de paradigma en cómo se crea la información geográfica que conocemos sobre nuestro mundo.","about22":"Cómo ayudar:","about23":"¡Únete hoy mismo!","about24":"Activa el geoetiquetado en tu dispositivo. Las instrucciones sobre cómo hacerlo se envían en un correo electrónico de bienvenida cuando te registras.","about25":"Puedes mapear cualquier cosa, desde tan solo una colilla de cigarrillo hasta el contenido de toda una playa o calle limpia en 1 foto.","about26":"Si hay demasiada basura y es difícil de calcular, simplemente use la categoría \\"Vertedero\\" y califica el área del 1 al 100 o elija \\"Basura aleatoria\\" en la categoría \\"Otros\\".","about27":"Si quieres crear mapas realmente impactantes, haz todas las fotos que puedas. O si no tienes tiempo, puedes registrar cualquier número de elementos en una sola foto.","about28":"¡Las imágenes y el contenido verificados se agregarán automáticamente a la base de datos, analizadas cuantitativa y geoespacialmente, y estarán disponibles públicamente para que el mundo las vea!","about29":"Ayúdanos a comunicar los problemas y las soluciones para evitar que el plástico llegue al océano.","about29a":"Si te gusta nuestro trabajo y te gustarppia apoyar, por favor únete al crowdfunding.","about30":"Únete a OpenLitterMap para crear un mundo con menos de","about301":"esto","about302":"y esto...","about31":"Sólo en 2010, se calcula que al menos 8 millones de toneladas de plástico fueron a parar al océano. Eso supone una media de 916 toneladas por hora.","about32":"Una muestra de lo que flota en los océanos","about33":"Actualmente, la contaminación por plásticos es responsable de la muerte de alrededor de 1 millón de aves y 100 mil mamíferos marinos al año.","about34":"Para 2025, se espera que la cantidad de plástico que ingresa al océano aumente a 70 millones de toneladas, suponiendo que continúen las tendencias actuales.","about35":"¡Quiero ayudar!"}')},gZjL:function(t,e,n){"use strict";var i=n("mzd9");n.n(i).a},gaDp:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=["alcohol","art","brands","coastal","coffee","dogshit","dumping","food","industrial","sanitary","softdrinks","smoking","material","other"]},gdWU:function(t){t.exports=JSON.parse('{"cancel":"Annuler","submit":"Soumettre","download":"Télécharger","delete":"Supprimer","delete-image":"Supprimer l\'image","confirm-delete":"Confirmer la suppresion","loading":"Chargement...","created_at":"Créé à","created":"Créé","created-by":"Créé par","datetime":"Prise à","day-names":["Lu","Ma","Me","Je","Ve","Sa","Di"],"month-names":["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Decembre"],"short-month-names":["Jan","Fev","Mar","Avr","Mai","Juin","Juil","Août","Sep","Oct","Nov","Dec"],"next":"Suivant","previous":"Précédent","next-page":"Page suivante","add-tags":"Ajouter un tag","add-many-tags":"Ajouter plusieurs tags","select-all":"Sélectionner tout","de-select-all":"Désélectionner tout","choose-dates":"Choisir les dates","not-verified":"Non vérifié","verified":"Vérifié","search-by-id":"Rechercher par ID","active":"Actif","inactive":"Inactif","inactivate":"Désactiver les contributions d\'équipes","your-email":"vous@email.com","team":"Equipe","actions":"Actions","anonymous":"Anonyme","photo":"Photo","reason":"Raison","faq":"Foire aux questions"}')},gtXK:function(t){t.exports=JSON.parse('{"what-about-litter":"Co ze śmieciami","about2":"W tej chwili biliony niedopałków po papierosach z plastikowymi końcówkami wysysają toksyczne chemikalia i mikroplastiki do środowiska.","about3":"Jaki jest rezultat?","about4":"Uwalniają się ogromne ilości nikotyny i innych toksycznych chemikaliów.","about5":"Te toksyczne chemikalia gromadzą się biologicznie w różnych roślinach i zwierzętach. Niektóre z nich jemy.","about6":"Stan zagrożenia środowiska jest na wyciągnięcie ręki.","about7":"Możesz pomóc nam to naprawić, współtworząc OpenLitterMap.","about8":"Po prostu zrób zdjęcie, otaguj je i prześlij.","about9":"Chce pomóc!","about9a":"Zrób zdjęcie","about9b":"Oznacz śmieci","about9c":"Wyślij je","about10":"Każdego roku miliony ton plastiku przedostają się z lądu do morza.","about11":"Tam, gdzie jest znacznie bardziej szkodliwy, trudniejszy i droższy do usunięcia.","about12":"Iluzja \\"miejskiego sprzątania\\"","about13":"ułatwia projektowanie infrastruktury.","about14":"Dane OpenLitterMap są","about14a":"Danymi otwartymi","about14b":"Oznacza to, że każdy może bezpłatnie pobierać dane i wykorzystywać je w dowolnym celu bez pozwolenia.","about15":"Otwarte dane mają zasadnicze znaczenie dla zapewnienia przejrzystości, demokracji i odpowiedzialności nauce w zakresie zanieczyszczeń. W przeciwnym razie kto będzie mógł korzystać z danych?","about16":"OpenLitterMap daje Ci narzędzia, dzięki którym możesz zostać naukowym obywatelem.","about17":"Masz teraz możliwość przyczynienia się do tworzenia wiedzy geoprzestrzennej o naszym świecie. Ma to potencjał do zmiany zachowań publicznych i instytucjonalnych.","about17a":"Nasze dane są mapowane według przestrzeni, czasu, lokalizacji i zachowania.","about17b":"Sprawdź ten niesamowity fragment bezpłatnych i otwartych danych na temat zanieczyszczenia powodowanego przez produkty kilku globalnych korporacji","about17c":"Chcesz pobrać dane?","about18":"Produkcja wiedzy geoprzestrzennej była kiedyś prowadzona wyłącznie przez główne instytucje i osoby posiadające władzę.","about19":"Jako obywatelski naukowiec, ","about20":"ty tworzysz wiedzę. ","about21":"To jest zmiana paradygmatu w sposobie tworzenia znanych informacji geograficznych o naszym świecie.","about22":"Jak pomóc:","about23":"Dołącz dziś!","about24":"Włącz geotagowanie na swoim urządzeniu. Instrukcje, jak to zrobić, są wysyłane w powitalnej wiadomości e-mail podczas rejestracji.","about25":"Na jednym zdjęciu możesz zmapować wszystko, od jednego niedopałka papierosa po zawartość całej plaży lub ulicy.","about26":"Jeśli jest zbyt dużo śmieci i jest to nieobliczalne, po prostu użyj kategorii Zaśmiecanie i oceń obszar od 1 do 100 lub wybierz \\"Losowe śmieci\\" w kategorii \\"Inne\\"","about27":"Jeśli chcesz tworzyć naprawdę potężne mapy, zrób jak najwięcej zdjęć. Jeśli nie masz czasu, możesz zarejestrować dowolną liczbę odpadów na jednym zdjęciu.","about28":"Zweryfikowane zdjęcia i treści zostaną automatycznie dodane do bazy danych, poddane analizie ilościowej i geoprzestrzennej oraz udostępnione publicznie, aby świat mógł je zobaczyć!","about29":"Pomóż nam informować o problemach i rozwiązaniach - aby plastik nie dostawał się do oceanu.","about29a":"Jeśli podoba Ci się nasza praca i chciałbyś nas wesprzeć, dołącz do crowdfundingu","about30":"Dołącz do Open Litter Map, aby stworzyć świat z mniejszą ilością","about301":"tego","about302":"i tego...","about31":"Szacuje się, że w samym 2010 roku co najmniej 8 milionów ton plastiku trafiło do oceanu. To średnio 916 ton na godzinę.","about32":"Próbka tego, co unosi się w oceanach","about33":"Zanieczyszczenie tworzywami sztucznymi jest obecnie odpowiedzialne za roczną śmierć około 1 miliona ptaków i 100 000 ssaków morskich.","about34":"Oczekuje się, że do 2025 roku. Ilość plastiku wprowadzanego do oceanu wzrośnie do 70 milionów ton, zakładając kontynuację obecnych trendów.","about35":"Chcę pomóc!"}')},heCY:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.root-container[data-v-2a45d4ce] {\n height: calc(100vh - 10px);\n}\n\n",""])},hfun:function(t,e,n){"use strict";n.r(e);var i={name:"Credits"},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.flaticon.com/authors/pixel-buddha",title:"Pixel Buddha"}},[t._v("Pixel Buddha")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.freepik.com",title:"Freepik"}},[t._v("Freepik")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.flaticon.com/authors/smashicons",title:"Smashicons"}},[t._v("Smashicons")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.flaticon.com/authors/alfredo-hernandez",title:"Alfredo Hernandez"}},[t._v("Alfredo Hernandez")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("a",{attrs:{href:"https://www.freepik.com/vectors/garbage-man"}},[t._v("Garbage man vector created by pch.vector - www.freepik.com")]),t._v(" "),n("a",{attrs:{href:"https://create.vista.com/unlimited/stock-photos/164344014/stock-photo-volunteer-with-trash-bag-and/"}},[t._v("Photo Volunteering, people and ecology concept - volunteer woman with garbage bag and glass bottle cleaning area in park created by Syda_Productions")])])}],!1,null,"3861d040",null);e.default=a.exports},hnin:function(t){t.exports=JSON.parse('{"title":"Csapataim","currently-joined-team":"Az Ön aktív csapata","currently-not-joined-team":"Jelenleg nem vagy egy csapat tagja","no-joined-team":"Még nem csatlakoztál egy csapathoz","leader-of-team":"Te vagy ennek a csapatnak a vezetője","enabled-contributions":"Minden hozzájárulásod csak ennek a csapatnak számít.","disabled-contributions":"Még nem választottál ki aktív csapatot.
    Ez azt jelenti, hogy jelenleg egyetlen csapatban sem járulsz hozzá.
    Aktív csapatát az alsó lista csillag ikonjaira kattintva választhatja ki.","disable-contributions-tooltip":"Ez mostantól letiltja a csapat hozzájárulásaidat. Továbbra is tagja maradsz csapataidnak, és bármikor engedélyezheted a hozzájárulásokat.","team-details":"Csapat részletei","all-my-teams":"Minden csapatom","this-is-active-team":"Ez az Ön aktív csapata","set-as-active-team":"Állítsa be aktív csapataként","team-identifier":"Csapatazonosító","join-team":"Csatlakozz egy csapathoz","leave-team":"Csapat elhagyása","just-left-team":"Most hagytad el a csapatot","cant-leave-team":"Nem hagyhatod el ezt a csapatot, mivel te vagy az egyetlen tagja","change-active-team":"Csatlakozz a csapathoz","download-team-data":"Csapatadatok letöltése","hide-from-leaderboards":"Elrejtés a Ranglistákról","show-on-leaderboards":"Megjelenítés a Ranglistákon","position-header":"Pozíció","name-header":"Név","username-header":"Felhasználónév","status-header":"Állapot","photos-header":"Fényképek","litter-header":"Szemét","identifier-header":"Azonosító","members-header":"Tagok","last-activity-header":"Utolsó Bejelentkezés","confirm-leave-team":"Biztos vagy ebben?\\nBármikor újra csatlakozhat, és hozzájárulásait a rendszer elmenti."}')},hqZl:function(t){t.exports=JSON.parse('{"address":"Adres","add-tag":"Dodaj tag","coordinates":"Współrzędne","device":"Urządzenie","next":"Następne zdjęcie","no-tags":"W tej chwili nie masz nic do oznaczenia.","picked-up-title":"Zebrane?","please-upload":"Prześlij więcej zdjęć","previous":"poprzednie zdjęcie","removed":"Śmieci zostały usunięte","still-there":"Śmieci nadal tam są","taken":"zebrane","to-tag":"Zdjęcia pozostawione do oznaczenia","total-uploaded":"Wszystkie przesłane zdjęcia","uploaded":"Przesłane","confirm-delete":"Czy chcesz usunąć to zdjęcie? Tego nie da się cofnąć.","recently-tags":"Ostatnio używane tagi: ","clear-tags":"Wyczyścić ostatnie tagi?","clear-tags-btn":"Wyczyść ostatnie tagi","search-all-tags":"Naciśnij Ctrl + Spacja, aby wyszukać wszystkie tagi","search-custom-tags":"Dodaj własne tagi","custom-tags":"Tagi Niestandardowe","custom-tags-min":"Musi mieć co najmniej 3 znaki.","custom-tags-max":"Musi mieć co najwyżej 100 znaków.","tag-already-added":"Tag już dodany.","tag-limit-reached":"Możesz przesłać maksymalnie 3 niestandardowe tagi."}')},hzg3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.green[data-v-25e6824a] {\n color: green !important;\n}\n.panel-block[data-v-25e6824a] {\n color: black;\n background-color: white;\n}\n/* .location-container {\n padding-top: 3em;\n padding-bottom: 5em;\n } */\n.location-title[data-v-25e6824a]:hover {\n color: green !important;\n border-bottom: 1px solid green;\n}\n.total-photos-percentage[data-v-25e6824a] {\n color: green;\n font-weight: 700;\n}\n.img-flag[data-v-25e6824a] {\n padding-right: 1.5em;\n border-radius: 1px;\n flex: 0.1;\n}\n\n",""])},iAFQ:function(t,e,n){"use strict";n.r(e);var i={name:"About",methods:{android:function(){window.open("https://play.google.com/store/apps/details?id=com.geotech.openlittermap","_blank")},ios:function(){window.open("https://apps.apple.com/us/app/openlittermap/id1475982147","_blank")}}},r=(n("STDh"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("section",{staticClass:"section"},[n("div",{staticClass:"columns"},[t._m(0),t._v(" "),n("div",{staticClass:"column cig-2"},[n("h2",{staticClass:"title is-2",staticStyle:{color:"red","text-align":"center"},attrs:{id:"butts1txt"}},[n("strong",[t._v(t._s(t.$t("home.about.about2")))])])])]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("h1",{staticClass:"title is-1",staticStyle:{"text-align":"center"}},[n("strong",[t._v(t._s(t.$t("home.about.about3")))])]),t._v(" "),n("br"),t._v(" "),n("h1",{staticClass:"subtitle is-3"},[t._v(t._s(t.$t("home.about.about4")))]),t._v(" "),n("br"),t._v(" "),n("h1",{staticClass:"subtitle is-3"},[t._v(t._s(t.$t("home.about.about5")))]),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"subtitle is-3"},[t._v(t._s(t.$t("home.about.about6")))])]),t._v(" "),t._m(1)])]),t._v(" "),n("section",{staticClass:"hero is-success"},[n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container has-text-centered"},[n("h1",{staticClass:"title"},[n("strong",[t._v("\n "+t._s(t.$t("home.about.about7"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"has-text-centered",staticStyle:{"padding-top":"2em"}},[n("router-link",{attrs:{to:"/signup"}},[n("button",{staticClass:"button is-large is-info hov"},[t._v(t._s(t.$t("home.about.about9")))])])],1)])]),t._v(" "),n("div",{staticClass:"has-text-centered pt3"},[n("h1",{staticClass:"title is-1"},[t._v("1. "+t._s(t.$t("home.about.about9a")))]),t._v(" "),n("img",{attrs:{src:"/assets/about/iphone.PNG"}})]),t._v(" "),n("div",{staticClass:"has-text-centered pt3"},[n("h1",{staticClass:"title is-1"},[t._v("2. "+t._s(t.$t("home.about.about9b")))]),t._v(" "),n("img",{attrs:{src:"/assets/about/facemask-tag.PNG"}})]),t._v(" "),n("div",{staticClass:"has-text-centered pt3"},[n("h1",{staticClass:"title is-1"},[t._v("3. "+t._s(t.$t("home.about.about9c")))]),t._v(" "),n("img",{attrs:{src:"/assets/about/facemask-map.PNG"}})]),t._v(" "),n("div",{staticClass:"flex jc pt3"},[n("img",{staticClass:"app-icon",staticStyle:{"margin-right":"1em"},attrs:{src:"/assets/icons/ios.png"},on:{click:t.ios}}),t._v(" "),n("img",{staticClass:"app-icon",attrs:{src:"/assets/icons/android.png"},on:{click:t.android}})]),t._v(" "),n("section",[n("div",{staticClass:"columns",staticStyle:{"padding-top":"4em","padding-bottom":"4em"}},[n("div",{staticClass:"column is-one-third is-offset-1",staticStyle:{"padding-left":"2em",margin:"auto"}},[n("h1",{staticClass:"title is-2",staticStyle:{"text-align":"center"}},[n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about10")))])]),t._v(" "),n("br"),t._v(" "),n("h1",{staticClass:"title is-2",staticStyle:{"text-align":"center"}},[n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about11")))])])]),t._v(" "),t._m(2)])]),t._v(" "),n("section",{staticClass:"hero is-warning"},[n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1"},[t._v("\n "+t._s(t.$t("home.about.about12"))+"\n ")]),t._v(" "),n("img",{attrs:{src:"/assets/cigbutts.jpg"}}),t._v(" "),n("h1",{staticClass:"title is-1 has-text-right"},[t._v("\n "+t._s(t.$t("home.about.about13"))+"\n ")])])])]),t._v(" "),n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container"},[n("div",{staticClass:"tile is-ancestor"},[n("div",{staticClass:"tile is-vertical is-8"},[n("div",{staticClass:"tile"},[n("div",{staticClass:"tile is-parent is-vertical"},[n("article",{staticClass:"tile is-child notification is-primary"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about14"))+" "),n("b",{staticStyle:{color:"black"}},[t._v(t._s(t.$t("home.about.about14a")))])]),t._v(" "),n("p",{staticClass:"title",staticStyle:{"padding-bottom":"1em"}},[t._v(t._s(t.$t("home.about.about14b")))]),t._v(" "),n("p",{staticClass:"subtitle",staticStyle:{"text-align":"right",color:"red"}},[n("strong",[t._v(t._s(t.$t("home.about.about15")))])])]),t._v(" "),n("article",{staticClass:"tile is-child notification is-warning"},[n("p",{staticClass:"title",staticStyle:{"padding-bottom":"1em"}},[t._v(t._s(t.$t("home.about.about16")))]),t._v(" "),n("p",{staticClass:"subtitle",staticStyle:{"text-align":"right",color:"red","padding-bottom":"1em"}},[n("b",[t._v(t._s(t.$t("home.about.about17")))])])])]),t._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-info"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about17a")))]),t._v(" "),n("p",{staticClass:"subtitle"},[t._v(t._s(t.$t("home.about.about17b")))]),t._v(" "),n("a",{attrs:{href:"https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/map"}},[t._v("https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/map")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("img",{attrs:{src:"/assets/nlbrands.png"}}),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"subtitle"},[t._v(t._s(t.$t("home.about.about17c")))]),t._v(" "),n("a",{attrs:{href:"https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/download"}},[t._v("https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/download")]),t._v(" "),n("br")])])]),t._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-danger"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about18")))]),t._v(" "),n("p",{staticClass:"subtitle"},[t._v(t._s(t.$t("home.about.about19"))),n("strong",[t._v(t._s(t.$t("home.about.about20")))]),t._v(" "+t._s(t.$t("home.about.about21")))]),t._v(" "),n("div",{staticClass:"content"})])])]),t._v(" "),n("div",{staticClass:"tile is-parent is-5"},[n("article",{staticClass:"tile is-child is-10 notification is-success"},[n("div",{staticClass:"content"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about22")))]),t._v(" "),n("div",{staticClass:"content"},[n("ul",[n("li",[t._v(t._s(t.$t("home.about.about24")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about25")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about26")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about27")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about28")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about29")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about29a")))])])])])])])])])]),t._v(" "),n("div",[n("br"),t._v(" "),n("h1",{staticClass:"title is-1",staticStyle:{color:"black","text-align":"center"}},[n("strong",[t._v(t._s(t.$t("home.about.about30")))]),t._v(" "),n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about301")))])]),t._v(" "),n("br")]),t._v(" "),n("div",{staticClass:"container",staticStyle:{"padding-bottom":"5em","text-align":"center"}},[n("img",{attrs:{src:"/assets/marinelitter.jpg"}}),t._v(" "),n("p",{staticStyle:{"padding-bottom":"3em"}},[t._v("Dublin, Ireland.")]),t._v(" "),n("h1",{staticClass:"title is-1",staticStyle:{color:"black","text-align":"center"}},[n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about302")))])]),t._v(" "),n("img",{attrs:{src:"/assets/microplastics_oranmore.JPG"}}),t._v(" "),n("p",[t._v("Microplastics in Oranmore, Co. Galway.")])]),t._v(" "),n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1"},[t._v("\n "+t._s(t.$t("home.about.about31"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("br")]),t._v(" "),n("img",{staticStyle:{"padding-bottom":"1em"},attrs:{src:"/assets/urban.JPG"}}),t._v(" "),n("p",{staticStyle:{"padding-bottom":"5em","text-align":"center"}},[t._v("Penrose Wharf, Cork City, Ireland (above)")]),t._v(" "),n("div",{staticStyle:{"text-align":"center"}},[n("img",{staticStyle:{"padding-bottom":"2em"},attrs:{src:"/assets/IMG_0554.JPG"}}),t._v(" "),t._m(3),t._v(" "),n("img",{staticStyle:{"padding-bottom":"2em"},attrs:{src:"/assets/IMG_0556.JPG"}}),t._v(" "),n("p",{staticStyle:{"padding-bottom":"5em"}},[t._v(t._s(t.$t("home.about.about32")))])]),t._v(" "),n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1 has-text-left"},[t._v("\n "+t._s(t.$t("home.about.about33"))+"\n ")])]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1 has-text-left"},[t._v("\n "+t._s(t.$t("home.about.about34"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"has-text-centered",staticStyle:{"padding-top":"2em"}},[n("form",{attrs:{action:"/signup"}},[n("button",{staticClass:"button is-large is-primary hov"},[t._v(t._s(t.$t("home.about.about35")))])])]),t._v(" "),n("br"),t._v(" "),n("br")]),t._v(" "),t._m(4)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-third is-offset-1",staticStyle:{"text-align":"center"}},[e("img",{attrs:{src:"/assets/butts.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-offset-1 butts-img"},[e("img",{staticStyle:{height:"600px"},attrs:{src:"/assets/cigbutts_jar.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-third is-offset-1",staticStyle:{"padding-top":"4em","padding-bottom":"4em",margin:"auto"}},[e("img",{attrs:{src:"/assets/plastic_bottles.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticStyle:{"padding-bottom":"5em","text-align":"center"}},[this._v("Accra, Capital of Ghana, North-Western Coast of Africa "),e("a",{attrs:{href:"https://www.facebook.com/nshorena/posts/1652239435009949"}},[this._v("more photos on facebook")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("footer",{staticClass:"footer"},[e("div",{staticClass:"container"},[e("div",{staticClass:"content has-text-centered"},[e("p",[e("strong",[this._v("OpenLitterMap")]),this._v(" by "),e("a",{attrs:{href:"https://ie.linkedin.com/in/seanlynchgis"}},[this._v("Seán Lynch, M.Sc, M.Sc., B.A.")]),this._v(" "),e("br")]),e("p",[this._v("info@openlittermap.com")])])])])}],!1,null,"d8d31e7c",null);e.default=a.exports},iTxj:function(t){t.exports=JSON.parse('{"ready-to-join":"Je, uko tayari kujiunga na mapinduzi ya kijiografia?","join-subtitle":"Ikiwa unapenda kazi yetu, OpenLitterMap inaweza kutumia usaidizi wako.","free-plan":"BURE","free-plan-feature1":"Pakia picha 1000 kwa siku.","free-plan-feature2":"Fungua Beji + Zawadi.","free-plan-feature3":"Pata Littercoin.","free-plan-feature4":"Shindana katika bao nyingi tofauti za wanaoongoza.","free-plan-join":"Nimo ndani","startup-plan":"KUANZA","startup-plan-donation":"€5 kwa mwezi","startup-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","startup-plan-feature2":"Tusaidie kulipia gharama zetu.","startup-plan-feature3":"Tulia na ufurahie maboresho.","startup-plan-join":"Nitaunga mkono!","basic-plan":"KAWAIDA","basic-plan-donation":"€9.99 kwa mwezi","basic-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","basic-plan-feature2":"Tusaidie kulipia gharama zetu.","basic-plan-feature3":"Tulia na ufurahie maboresho.","basic-plan-join":"Nitaunga mkono!","advanced-plan":"KUBWA","advanced-plan-donation":"€20 kwa mwezi","advanced-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","advanced-plan-feature2":"Tusaidie kulipia gharama zetu.","advanced-plan-feature3":"Tulia na ufurahie maboresho.","advanced-plan-join":"Nitaunga mkono!","pro-plan":"KUBWA LAO","pro-plan-donation":"€30 kwa mwezi","pro-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","pro-plan-feature2":"Tusaidie kulipia gharama zetu.","pro-plan-feature3":"Tulia na ufurahie maboresho.","pro-plan-join":"Namaanisha biashara haswa"}')},iZMr:function(t){t.exports=JSON.parse('{"change-password":"Jelszó módosítása","enter-old-password":"Írja be a régi jelszót","enter-new-password":"Írja be az új jelszót","enter-strong-password":"Írjon be egy erős jelszót","confirm-new-password":"Erősítse meg új jelszavát","repeat-strong-password":"Ismételje meg erős jelszavát","update-password":"Jelszó frissítése"}')},ia29:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.select-all-photos[data-v-4d2593f8] {\n min-width: 9em;\n}\n.filter-my-photos[data-v-4d2593f8] {\n flex-direction: column;\n gap: 8px\n}\n\n/* Laptop and above */\n@media (min-width: 1027px)\n{\n.filter-my-photos[data-v-4d2593f8] {\n flex-direction: row;\n gap: 16px;\n}\n}\n\n",""])},iaXR:function(t){t.exports=JSON.parse('{"address":"Adresse","add-tag":"Ajouter un tag","coordinates":"Coordonnées","device":"Appareil","next":"Image suivante","no-tags":"Vous n\'avez rien à tagué pour le moment.","picked-up-title":"Ramassé ?","please-upload":"Envoyer plus de photos","previous":"Image précédente","removed":"Le déchet a été enlevé","still-there":"Le déchet est toujours là","taken":"Récupérer","to-tag":"Images restantes à taguer","total-uploaded":"Nombre total d\'images envoyées","uploaded":"Envoyé","confirm-delete":"Voulez vous supprimer cette image ? Cela ne pourras pas être annulé.","recently-tags":"Tags récemment utilisés: ","clear-tags":"Effacer les tags récents ?","clear-tags-btn":"Effacer les tags récents","search-all-tags":"Appuyer sur Ctrl + Spacebar pour chercher tout les tags","search-custom-tags":"Ajouter vos propres tags","custom-tags":"Tags personnalisés","custom-tags-min":"Le tag doit faire minimum 3 charactères.","custom-tags-max":"Le tag doit faire moins de 100 charactères.","tag-already-added":"Tag déjà ajouté.","tag-limit-reached":"Vous ne pouver rajouter que jusqu\'à 3 tags."}')},ilIf:function(t,e,n){"use strict";var i=n("Wpz3");n.n(i).a},ipqG:function(t,e,n){var i,r,a,o;o=function(t,e){if(void 0===n)var n={iso8601:e};return t.TimeDimension=(t.Layer||t.Class).extend({includes:t.Evented||t.Mixin.Events,initialize:function(e){t.setOptions(this,e),this._availableTimes=this._generateAvailableTimes(),this._currentTimeIndex=-1,this._loadingTimeIndex=-1,this._loadingTimeout=this.options.loadingTimeout||3e3,this._syncedLayers=[],this._availableTimes.length>0&&this.setCurrentTime(this.options.currentTime||this._getDefaultCurrentTime()),this.options.lowerLimitTime&&this.setLowerLimit(this.options.lowerLimitTime),this.options.upperLimitTime&&this.setUpperLimit(this.options.upperLimitTime)},getAvailableTimes:function(){return this._availableTimes},getCurrentTimeIndex:function(){return-1===this._currentTimeIndex?this._availableTimes.length-1:this._currentTimeIndex},getCurrentTime:function(){var t=-1;return(t=-1!==this._loadingTimeIndex?this._loadingTimeIndex:this.getCurrentTimeIndex())>=0?this._availableTimes[t]:null},isLoading:function(){return-1!==this._loadingTimeIndex},setCurrentTimeIndex:function(t){var e=this._upperLimit||this._availableTimes.length-1,n=this._lowerLimit||0;if(!((t=Math.min(Math.max(n,t),e))<0)){this._loadingTimeIndex=t;var i=this._availableTimes[t];this._checkSyncedLayersReady(this._availableTimes[this._loadingTimeIndex])?this._newTimeIndexLoaded():(this.fire("timeloading",{time:i}),setTimeout(function(t){t==this._loadingTimeIndex&&this._newTimeIndexLoaded()}.bind(this,t),this._loadingTimeout))}},_newTimeIndexLoaded:function(){if(-1!==this._loadingTimeIndex){var t=this._availableTimes[this._loadingTimeIndex];this._currentTimeIndex=this._loadingTimeIndex,this.fire("timeload",{time:t}),this._loadingTimeIndex=-1}},_checkSyncedLayersReady:function(t){for(var e=0,n=this._syncedLayers.length;e-1&&(n=this._loadingTimeIndex),(n+=t)>i&&(n=e?r:i),n-1&&(i=this._loadingTimeIndex);for(var a=0,o=this._syncedLayers.length;a0;){if((i+=t)>l){if(!n)break;i=u}if(i-1&&(i=this._loadingTimeIndex);for(var r=e,a=0,o=this._upperLimit||this._availableTimes.length-1,s=this._lowerLimit||0;r>0;){if((i+=t)>o){if(!n){r=0,a=e;break}i=s}if(i0&&e--,e},setAvailableTimes:function(e,n){var i=this.getCurrentTime(),r=this.getLowerLimit(),a=this.getUpperLimit();if("extremes"==n){var o=this.options.period||"P1D";this._availableTimes=t.TimeDimension.Util.explodeTimeRange(new Date(e[0]),new Date(e[e.length-1]),o)}else{var s=t.TimeDimension.Util.parseTimesExpression(e);if(0===this._availableTimes.length)this._availableTimes=s;else if("intersect"==n)this._availableTimes=t.TimeDimension.Util.intersect_arrays(s,this._availableTimes);else if("union"==n)this._availableTimes=t.TimeDimension.Util.union_arrays(s,this._availableTimes);else{if("replace"!=n)throw"Merge available times mode not implemented: "+n;this._availableTimes=s}}r&&this.setLowerLimit(r),a&&this.setUpperLimit(a),this.setCurrentTime(i),this.fire("availabletimeschanged",{availableTimes:this._availableTimes,currentTime:i})},getLowerLimit:function(){return this._availableTimes[this.getLowerLimitIndex()]},getUpperLimit:function(){return this._availableTimes[this.getUpperLimitIndex()]},setLowerLimit:function(t){var e=this._seekNearestTimeIndex(t);this.setLowerLimitIndex(e)},setUpperLimit:function(t){var e=this._seekNearestTimeIndex(t);this.setUpperLimitIndex(e)},setLowerLimitIndex:function(t){this._lowerLimit=Math.min(Math.max(t||0,0),this._upperLimit||this._availableTimes.length-1),this.fire("limitschanged",{lowerLimit:this._lowerLimit,upperLimit:this._upperLimit})},setUpperLimitIndex:function(t){this._upperLimit=Math.max(Math.min(t,this._availableTimes.length-1),this._lowerLimit||0),this.fire("limitschanged",{lowerLimit:this._lowerLimit,upperLimit:this._upperLimit})},getLowerLimitIndex:function(){return this._lowerLimit},getUpperLimitIndex:function(){return this._upperLimit}}),t.Map.addInitHook((function(){this.options.timeDimension&&(this.timeDimension=t.timeDimension(this.options.timeDimensionOptions||{}))})),t.timeDimension=function(e){return new t.TimeDimension(e)},t.TimeDimension.Util={getTimeDuration:function(t){if(void 0===n)throw"iso8601-js-period library is required for Leatlet.TimeDimension: https://github.com/nezasa/iso8601-js-period";return n.iso8601.Period.parse(t,!0)},addTimeDuration:function(t,e,n){void 0===n&&(n=!0),("string"==typeof e||e instanceof String)&&(e=this.getTimeDuration(e));var i=e.length,r=n?"getUTC":"get",a=n?"setUTC":"set";i>0&&0!=e[0]&&t[a+"FullYear"](t[r+"FullYear"]()+e[0]),i>1&&0!=e[1]&&t[a+"Month"](t[r+"Month"]()+e[1]),i>2&&0!=e[2]&&t[a+"Date"](t[r+"Date"]()+7*e[2]),i>3&&0!=e[3]&&t[a+"Date"](t[r+"Date"]()+e[3]),i>4&&0!=e[4]&&t[a+"Hours"](t[r+"Hours"]()+e[4]),i>5&&0!=e[5]&&t[a+"Minutes"](t[r+"Minutes"]()+e[5]),i>6&&0!=e[6]&&t[a+"Seconds"](t[r+"Seconds"]()+e[6])},subtractTimeDuration:function(t,e,n){("string"==typeof e||e instanceof String)&&(e=this.getTimeDuration(e));for(var i=[],r=0,a=e.length;r2&&n[2].length?n[2]:"P1D";return null!=e&&(a=e),this.explodeTimeRange(i,r,a)},explodeTimeRange:function(t,e,n,i){var r=this.getTimeDuration(n),a=[],o=new Date(t.getTime()),s=null,l=null,u=null,c=null;if(void 0!==i){var h=i.split("/");s=h[0].split(":")[0],l=h[0].split(":")[1],u=h[1].split(":")[0],c=h[1].split(":")[1]}for(;o=s&&o.getUTCHours()<=u)&&(o.getUTCHours()!=s||o.getUTCMinutes()>=l)&&(o.getUTCHours()!=u||o.getUTCMinutes()<=c)&&a.push(o.getTime()),this.addTimeDuration(o,r);return o>=e&&a.push(e.getTime()),a},parseTimeInterval:function(t){var e=t.split("/");if(2!=e.length)throw"Incorrect ISO9601 TimeInterval: "+t;var n=Date.parse(e[0]),i=null,r=null;return isNaN(n)?(r=this.getTimeDuration(e[0]),i=Date.parse(e[1]),n=new Date(i),this.subtractTimeDuration(n,r,!0),i=new Date(i)):(i=Date.parse(e[1]),isNaN(i)?(r=this.getTimeDuration(e[1]),i=new Date(n),this.addTimeDuration(i,r,!0)):i=new Date(i),n=new Date(n)),[n,i]},parseTimesExpression:function(t,e){var n=[];if(!t)return n;if("string"==typeof t||t instanceof String)for(var i,r,a=t.split(","),o=0,s=a.length;o0&&i.length>0;)n[0]i[0]||r.push(n.shift()),i.shift());return r},union_arrays:function(t,e){for(var n=t.slice(0),i=e.slice(0),r=[];n.length>0&&i.length>0;)n[0]i[0]?r.push(i.shift()):(r.push(n.shift()),i.shift());return n.length>0?r=r.concat(n):i.length>0&&(r=r.concat(i)),r},sort_and_deduplicate:function(t){for(var e=[],n=null,i=0,r=(t=t.slice(0).sort()).length;i-1&&(n=a-e)>0&&(o=i.splice(0,n),this._removeLayers(o)),t>-1&&(a=i.indexOf(r),(n=i.length-a-t-1)>0&&(o=i.splice(a+t+1,n),this._removeLayers(o)))},_showLayer:function(t,e){this._currentLayer&&this._currentLayer!==t&&this._currentLayer.hide(),t.show(),this._currentLayer&&this._currentLayer===t||(this._currentLayer=t,this._currentTime=e,this._evictCachedTimes(this._timeCacheForward,this._timeCacheBackward))},_getLayerForTime:function(t){if(0==t||t==this._defaultTime||null==t)return this._baseLayer;if(this._layers.hasOwnProperty(t))return this._layers[t];var e=this._getNearestTime(t);if(this._layers.hasOwnProperty(e))return this._layers[e];var n=this._createLayerForTime(e);return this._layers[t]=n,n.on("load",function(t,e){t.setLoaded(!0),this._layers[e]||(this._layers[e]=t),this._timeDimension&&e==this._timeDimension.getCurrentTime()&&!this._timeDimension.isLoading()&&this._showLayer(t,e),this.fire("timeload",{time:e})}.bind(this,n,t)),n.onAdd=function(t){Object.getPrototypeOf(this).onAdd.call(this,t),this.hide()}.bind(n),n},_createLayerForTime:function(t){var e=this._baseLayer.options;return e.time=new Date(t).toISOString(),new this._baseLayer.constructor(this._baseLayer.getURL(),e)},_getLoadedTimes:function(){var t=[];for(var e in this._layers)this._layers.hasOwnProperty(e)&&t.push(e);return t.sort((function(t,e){return t-e}))},_removeLayers:function(t){for(var e=0,n=t.length;ethis._timeCacheForward&&(this._timeCacheForward=t)},_requestTimeDimensionFromCapabilities:function(){if(!this._capabilitiesRequested){this._capabilitiesRequested=!0;var t=this._getCapabilitiesUrl();this._proxy&&(t=this._proxy+"?url="+encodeURIComponent(t));var e=new XMLHttpRequest;e.addEventListener("load",function(t){var e=t.currentTarget.responseXML;null!==e&&(this._defaultTime=Date.parse(this._getDefaultTimeFromCapabilities(e)),this._setDefaultTime=this._setDefaultTime||this._timeDimension&&0==this._timeDimension.getAvailableTimes().length,this.setAvailableTimes(this._parseTimeDimensionFromCapabilities(e)),this._setDefaultTime&&this._timeDimension&&this._timeDimension.setCurrentTime(this._defaultTime))}.bind(this)),e.overrideMimeType("application/xml"),e.open("GET",t),e.send()}},_getCapabilitiesUrl:function(){var e=this._baseLayer.getURL();this._getCapabilitiesAlternateUrl&&(e=this._getCapabilitiesAlternateUrl);var n=t.extend({},this._getCapabilitiesParams,{request:"GetCapabilities",service:"WMS",version:this._wmsVersion});return e+=t.Util.getParamString(n,e,n.uppercase)},_parseTimeDimensionFromCapabilities:function(t){var e=t.querySelectorAll('Layer[queryable="1"]'),n=this._baseLayer.wmsParams.layers,i=null,r=null;return e.forEach((function(t){t.querySelector("Name").innerHTML===n&&(i=t)})),i&&((r=this._getTimesFromLayerCapabilities(i))||(r=this._getTimesFromLayerCapabilities(i.parentNode))),r},_getTimesFromLayerCapabilities:function(t){for(var e=null,n=t.children,i=0,r=n.length;i0&&this._timeDimension.setCurrentTime(this._defaultTime))},_getNearestTime:function(t){if(this._layers.hasOwnProperty(t))return t;if(0==this._availableTimes.length)return t;for(var e=0,n=this._availableTimes.length;e0&&e--,this._availableTimes[e],this._availableTimes[e]}}),t.NonTiledLayer||(t.NonTiledLayer=(t.Layer||t.Class).extend({})),t.NonTiledLayer.include({_visible:!0,_loaded:!1,_originalUpdate:t.NonTiledLayer.prototype._update,_originalOnRemove:t.NonTiledLayer.prototype.onRemove,_update:function(){!this._visible&&this._loaded||this._originalUpdate()},onRemove:function(t){this._loaded=!1,this._originalOnRemove(t)},setLoaded:function(t){this._loaded=t},isLoaded:function(){return this._loaded},hide:function(){this._visible=!1,this._div.style.display="none"},show:function(){this._visible=!0,this._div.style.display="block"},getURL:function(){return this._wmsUrl}}),t.TileLayer.include({_visible:!0,_loaded:!1,_originalUpdate:t.TileLayer.prototype._update,_update:function(){!this._visible&&this._loaded||this._originalUpdate()},setLoaded:function(t){this._loaded=t},isLoaded:function(){return this._loaded},hide:function(){this._visible=!1,this._container&&(this._container.style.display="none")},show:function(){this._visible=!0,this._container&&(this._container.style.display="block")},getURL:function(){return this._url}}),t.timeDimension.layer.wms=function(e,n){return new t.TimeDimension.Layer.WMS(e,n)},t.TimeDimension.Layer.GeoJson=t.TimeDimension.Layer.extend({initialize:function(e,n){t.TimeDimension.Layer.prototype.initialize.call(this,e,n),this._updateTimeDimension=this.options.updateTimeDimension||!1,this._updateTimeDimensionMode=this.options.updateTimeDimensionMode||"extremes",this._duration=this.options.duration||null,this._addlastPoint=this.options.addlastPoint||!1,this._waitForReady=this.options.waitForReady||!1,this._defaultTime=0,this._availableTimes=[],this._loaded=!1,0==this._baseLayer.getLayers().length?this._waitForReady?this._baseLayer.on("ready",this._onReadyBaseLayer,this):this._loaded=!0:(this._loaded=!0,this._setAvailableTimes()),this._baseLayer.on("layeradd",function(){this._loaded&&this._setAvailableTimes()}.bind(this))},onAdd:function(e){t.TimeDimension.Layer.prototype.onAdd.call(this,e),this._loaded&&this._setAvailableTimes()},eachLayer:function(e,n){return this._currentLayer&&e.call(n,this._currentLayer),t.TimeDimension.Layer.prototype.eachLayer.call(this,e,n)},isReady:function(t){return this._loaded},_update:function(){if(this._map&&this._loaded){this._timeDimension.getCurrentTime();var e=this._timeDimension.getCurrentTime(),n=0;if(this._duration){var i=new Date(e);t.TimeDimension.Util.subtractTimeDuration(i,this._duration,!0),n=i.getTime()}for(var r=t.geoJson(null,this._baseLayer.options),a=this._baseLayer.getLayers(),o=0,s=a.length;o0)){var u=l.properties;u.last=!0,r.addData({type:"Feature",properties:u,geometry:{type:"Point",coordinates:l.geometry.coordinates[l.geometry.coordinates.length-1]}})}}this._currentLayer&&this._map.removeLayer(this._currentLayer),r.getLayers().length&&(r.addTo(this._map),this._currentLayer=r)}},_setAvailableTimes:function(){for(var e=[],n=this._baseLayer.getLayers(),i=0,r=n.length;in||i[o-1]e)for(var s=0;se&&(r=s),i[s]>n){a=s;break}null===r&&(r=0),null===a&&(a=o);var l=[];return l=t.geometry.coordinates[0].length?t.geometry.coordinates.slice(r,a):t.geometry.coordinates,{type:"Feature",properties:t.properties,geometry:{type:t.geometry.type,coordinates:l}}},_onReadyBaseLayer:function(){this._loaded=!0,this._setAvailableTimes(),this._update()}}),t.timeDimension.layer.geoJson=function(e,n){return new t.TimeDimension.Layer.GeoJson(e,n)},t.TimeDimension.Player=(t.Layer||t.Class).extend({includes:t.Evented||t.Mixin.Events,initialize:function(e,n){t.setOptions(this,e),this._timeDimension=n,this._paused=!1,this._buffer=this.options.buffer||5,this._minBufferReady=this.options.minBufferReady||1,this._waitingForBuffer=!1,this._loop=this.options.loop||!1,this._steps=1,this._timeDimension.on("timeload",function(t){this.release(),this._waitingForBuffer=!1}.bind(this)),this.setTransitionTime(this.options.transitionTime||1e3),this._timeDimension.on("limitschanged availabletimeschanged timeload",function(t){this._timeDimension.prepareNextTimes(this._steps,this._minBufferReady,this._loop)}.bind(this))},_tick:function(){var t=this._getMaxIndex(),e=this._timeDimension.getCurrentTimeIndex()>=t&&this._steps>0,n=0==this._timeDimension.getCurrentTimeIndex()&&this._steps<0;if((e||n)&&!this._loop)return this.pause(),this.stop(),void this.fire("animationfinished");if(!this._paused){var i=0,r=this._bufferSize;if(this._minBufferReady>0)if(i=this._timeDimension.getNumberNextTimesReady(this._steps,r,this._loop),this._waitingForBuffer){if(i0&&this._timeDimension.prepareNextTimes(this._steps,r,this._loop)}},_getMaxIndex:function(){return Math.min(this._timeDimension.getAvailableTimes().length-1,this._timeDimension.getUpperLimitIndex()||1/0)},start:function(e){this._intervalID||(this._steps=e||1,this._waitingForBuffer=!1,this.options.startOver&&this._timeDimension.getCurrentTimeIndex()===this._getMaxIndex()&&this._timeDimension.setCurrentTimeIndex(this._timeDimension.getLowerLimitIndex()||0),this.release(),this._intervalID=window.setInterval(t.bind(this._tick,this),this._transitionTime),this._tick(),this.fire("play"),this.fire("running"))},stop:function(){this._intervalID&&(clearInterval(this._intervalID),this._intervalID=null,this._waitingForBuffer=!1,this.fire("stop"))},pause:function(){this._paused=!0},release:function(){this._paused=!1},getTransitionTime:function(){return this._transitionTime},isPlaying:function(){return!!this._intervalID},isWaiting:function(){return this._waitingForBuffer},isLooped:function(){return this._loop},setLooped:function(t){this._loop=t,this.fire("loopchange",{loop:t})},setTransitionTime:function(t){this._transitionTime=t,"function"==typeof this._buffer?this._bufferSize=this._buffer.call(this,this._transitionTime,this._minBufferReady,this._loop):this._bufferSize=this._buffer,this._intervalID&&(this.stop(),this.start(this._steps)),this.fire("speedchange",{transitionTime:t,buffer:this._bufferSize})},getSteps:function(){return this._steps}}),t.UI=t.ui=t.UI||{},t.UI.Knob=t.Draggable.extend({options:{className:"knob",step:1,rangeMin:0,rangeMax:10},initialize:function(e,n){t.setOptions(this,n),this._element=t.DomUtil.create("div",this.options.className||"knob",e),t.Draggable.prototype.initialize.call(this,this._element,this._element),this._container=e,this.on("predrag",(function(){this._newPos.y=0,this._newPos.x=this._adjustX(this._newPos.x)}),this),this.on("dragstart",(function(){t.DomUtil.addClass(e,"dragging")})),this.on("dragend",(function(){t.DomUtil.removeClass(e,"dragging")})),t.DomEvent.on(this._element,"dblclick",(function(t){this.fire("dblclick",t)}),this),t.DomEvent.disableClickPropagation(this._element),this.enable()},_getProjectionCoef:function(){return(this.options.rangeMax-this.options.rangeMin)/(this._container.offsetWidth||this._container.style.width)},_update:function(){this.setPosition(t.DomUtil.getPosition(this._element).x)},_adjustX:function(t){var e=this._toValue(t)||this.getMinValue();return this._toX(this._adjustValue(e))},_adjustValue:function(t){return t=Math.max(this.getMinValue(),Math.min(this.getMaxValue(),t)),t-=this.options.rangeMin,t=Math.round(t/this.options.step)*this.options.step,t+=this.options.rangeMin,t=Math.round(100*t)/100},_toX:function(t){return(t-this.options.rangeMin)/this._getProjectionCoef()},_toValue:function(t){return t*this._getProjectionCoef()+this.options.rangeMin},getMinValue:function(){return this.options.minValue||this.options.rangeMin},getMaxValue:function(){return this.options.maxValue||this.options.rangeMax},setStep:function(t){this.options.step=t,this._update()},setPosition:function(e){t.DomUtil.setPosition(this._element,t.point(this._adjustX(e),0)),this.fire("positionchanged")},getPosition:function(){return t.DomUtil.getPosition(this._element).x},setValue:function(t){this.setPosition(this._toX(t))},getValue:function(){return this._adjustValue(this._toValue(this.getPosition()))}}),t.Control.TimeDimension=t.Control.extend({options:{styleNS:"leaflet-control-timecontrol",position:"bottomleft",title:"Time Control",backwardButton:!0,forwardButton:!0,playButton:!0,playReverseButton:!1,loopButton:!1,displayDate:!0,timeSlider:!0,timeSliderDragUpdate:!1,limitSliders:!1,limitMinimumRange:5,speedSlider:!0,minSpeed:.1,maxSpeed:10,speedStep:.1,timeSteps:1,autoPlay:!1,playerOptions:{transitionTime:1e3},timeZones:["UTC","Local"]},initialize:function(e){t.setOptions(e),t.Control.prototype.initialize.call(this,e),this._timeZoneIndex=0,this._timeDimension=this.options.timeDimension||null},onAdd:function(e){var n;return this._map=e,!this._timeDimension&&e.timeDimension&&(this._timeDimension=e.timeDimension),this._initPlayer(),n=t.DomUtil.create("div","leaflet-bar leaflet-bar-horizontal leaflet-bar-timecontrol"),this.options.backwardButton&&(this._buttonBackward=this._createButton("Backward",n)),this.options.playReverseButton&&(this._buttonPlayReversePause=this._createButton("Play Reverse",n)),this.options.playButton&&(this._buttonPlayPause=this._createButton("Play",n)),this.options.forwardButton&&(this._buttonForward=this._createButton("Forward",n)),this.options.loopButton&&(this._buttonLoop=this._createButton("Loop",n)),this.options.displayDate&&(this._displayDate=this._createButton("Date",n)),this.options.timeSlider&&(this._sliderTime=this._createSliderTime(this.options.styleNS+" timecontrol-slider timecontrol-dateslider",n)),this.options.speedSlider&&(this._sliderSpeed=this._createSliderSpeed(this.options.styleNS+" timecontrol-slider timecontrol-speed",n)),this._steps=this.options.timeSteps||1,this._timeDimension.on("timeload",this._update,this),this._timeDimension.on("timeload",this._onPlayerStateChange,this),this._timeDimension.on("timeloading",this._onTimeLoading,this),this._timeDimension.on("limitschanged availabletimeschanged",this._onTimeLimitsChanged,this),t.DomEvent.disableClickPropagation(n),n},addTo:function(){return t.Control.prototype.addTo.apply(this,arguments),this._onPlayerStateChange(),this._onTimeLimitsChanged(),this._update(),this},onRemove:function(){this._player.off("play stop running loopchange speedchange",this._onPlayerStateChange,this),this._player.off("waiting",this._onPlayerWaiting,this),this._timeDimension.off("timeload",this._update,this),this._timeDimension.off("timeload",this._onPlayerStateChange,this),this._timeDimension.off("timeloading",this._onTimeLoading,this),this._timeDimension.off("limitschanged availabletimeschanged",this._onTimeLimitsChanged,this)},_initPlayer:function(){this._player||(this.options.player?this._player=this.options.player:this._player=new t.TimeDimension.Player(this.options.playerOptions,this._timeDimension)),this.options.autoPlay&&this._player.start(this._steps),this._player.on("play stop running loopchange speedchange",this._onPlayerStateChange,this),this._player.on("waiting",this._onPlayerWaiting,this),this._onPlayerStateChange()},_onTimeLoading:function(e){e.time==this._timeDimension.getCurrentTime()&&this._displayDate&&t.DomUtil.addClass(this._displayDate,"loading")},_onTimeLimitsChanged:function(){var t=this._timeDimension.getLowerLimitIndex(),e=this._timeDimension.getUpperLimitIndex(),n=this._timeDimension.getAvailableTimes().length-1;this._limitKnobs&&(this._limitKnobs[0].options.rangeMax=n,this._limitKnobs[1].options.rangeMax=n,this._limitKnobs[0].setValue(t||0),this._limitKnobs[1].setValue(e||n)),this._sliderTime&&(this._sliderTime.options.rangeMax=n,this._sliderTime._update())},_onPlayerWaiting:function(e){this._buttonPlayPause&&this._player.getSteps()>0&&(t.DomUtil.addClass(this._buttonPlayPause,"loading"),this._buttonPlayPause.innerHTML=this._getDisplayLoadingText(e.available,e.buffer)),this._buttonPlayReversePause&&this._player.getSteps()<0&&(t.DomUtil.addClass(this._buttonPlayReversePause,"loading"),this._buttonPlayReversePause.innerHTML=this._getDisplayLoadingText(e.available,e.buffer))},_onPlayerStateChange:function(){if(this._buttonPlayPause&&(this._player.isPlaying()&&this._player.getSteps()>0?(t.DomUtil.addClass(this._buttonPlayPause,"pause"),t.DomUtil.removeClass(this._buttonPlayPause,"play")):(t.DomUtil.removeClass(this._buttonPlayPause,"pause"),t.DomUtil.addClass(this._buttonPlayPause,"play")),this._player.isWaiting()&&this._player.getSteps()>0?t.DomUtil.addClass(this._buttonPlayPause,"loading"):(this._buttonPlayPause.innerHTML="",t.DomUtil.removeClass(this._buttonPlayPause,"loading"))),this._buttonPlayReversePause&&(this._player.isPlaying()&&this._player.getSteps()<0?t.DomUtil.addClass(this._buttonPlayReversePause,"pause"):t.DomUtil.removeClass(this._buttonPlayReversePause,"pause"),this._player.isWaiting()&&this._player.getSteps()<0?t.DomUtil.addClass(this._buttonPlayReversePause,"loading"):(this._buttonPlayReversePause.innerHTML="",t.DomUtil.removeClass(this._buttonPlayReversePause,"loading"))),this._buttonLoop&&(this._player.isLooped()?t.DomUtil.addClass(this._buttonLoop,"looped"):t.DomUtil.removeClass(this._buttonLoop,"looped")),this._sliderSpeed&&!this._draggingSpeed){var e=this._player.getTransitionTime()||1e3;e=Math.round(1e4/e)/10,this._sliderSpeed.setValue(e)}},_update:function(){if(this._timeDimension)if(this._timeDimension.getCurrentTimeIndex()>=0){var e=new Date(this._timeDimension.getCurrentTime());this._displayDate&&(t.DomUtil.removeClass(this._displayDate,"loading"),this._displayDate.innerHTML=this._getDisplayDateFormat(e)),this._sliderTime&&!this._slidingTimeSlider&&this._sliderTime.setValue(this._timeDimension.getCurrentTimeIndex())}else this._displayDate&&(this._displayDate.innerHTML=this._getDisplayNoTimeError())},_createButton:function(e,n){var i=t.DomUtil.create("a",this.options.styleNS+" timecontrol-"+e.toLowerCase(),n);return i.href="#",i.title=e,t.DomEvent.addListener(i,"click",t.DomEvent.stopPropagation).addListener(i,"click",t.DomEvent.preventDefault).addListener(i,"click",this["_button"+e.replace(/ /i,"")+"Clicked"],this),i},_createSliderTime:function(e,n){var i,r,a,o,s;return i=t.DomUtil.create("div",e,n),r=t.DomUtil.create("div","slider",i),a=this._timeDimension.getAvailableTimes().length-1,this.options.limitSliders&&(s=this._limitKnobs=this._createLimitKnobs(r)),(o=new t.UI.Knob(r,{className:"knob main",rangeMin:0,rangeMax:a})).on("dragend",(function(t){var e=t.target.getValue();this._sliderTimeValueChanged(e),this._slidingTimeSlider=!1}),this),o.on("drag",(function(t){this._slidingTimeSlider=!0;var e=this._timeDimension.getAvailableTimes()[t.target.getValue()];if(e){var n=new Date(e);this._displayDate&&(this._displayDate.innerHTML=this._getDisplayDateFormat(n)),this.options.timeSliderDragUpdate&&this._sliderTimeValueChanged(t.target.getValue())}}),this),o.on("predrag",(function(){var t,e;s&&(t=s[0].getPosition(),e=s[1].getPosition(),this._newPos.xe&&(this._newPos.x=e))}),o),t.DomEvent.on(r,"click",(function(e){if(!t.DomUtil.hasClass(e.target,"knob")){var n=e.touches&&1===e.touches.length?e.touches[0]:e,i=t.DomEvent.getMousePosition(n,r).x;s?s[0].getPosition()<=i&&i<=s[1].getPosition()&&(o.setPosition(i),this._sliderTimeValueChanged(o.getValue())):(o.setPosition(i),this._sliderTimeValueChanged(o.getValue()))}}),this),o.setPosition(0),o},_createLimitKnobs:function(e){t.DomUtil.addClass(e,"has-limits");var n=this._timeDimension.getAvailableTimes().length-1,i=t.DomUtil.create("div","range",e),r=new t.UI.Knob(e,{className:"knob lower",rangeMin:0,rangeMax:n}),a=new t.UI.Knob(e,{className:"knob upper",rangeMin:0,rangeMax:n});return t.DomUtil.setPosition(i,0),r.setPosition(0),a.setPosition(n),r.on("dragend",(function(t){var e=t.target.getValue();this._sliderLimitsValueChanged(e,a.getValue())}),this),a.on("dragend",(function(t){var e=t.target.getValue();this._sliderLimitsValueChanged(r.getValue(),e)}),this),r.on("drag positionchanged",(function(){t.DomUtil.setPosition(i,t.point(r.getPosition(),0)),i.style.width=a.getPosition()-r.getPosition()+"px"}),this),a.on("drag positionchanged",(function(){i.style.width=a.getPosition()-r.getPosition()+"px"}),this),a.on("predrag",(function(){var t=r._toX(r.getValue()+this.options.limitMinimumRange);a._newPos.x<=t&&(a._newPos.x=t)}),this),r.on("predrag",(function(){var t=a._toX(a.getValue()-this.options.limitMinimumRange);r._newPos.x>=t&&(r._newPos.x=t)}),this),r.on("dblclick",(function(){this._timeDimension.setLowerLimitIndex(0)}),this),a.on("dblclick",(function(){this._timeDimension.setUpperLimitIndex(this._timeDimension.getAvailableTimes().length-1)}),this),[r,a]},_createSliderSpeed:function(e,n){var i=t.DomUtil.create("div",e,n),r=t.DomUtil.create("span","speed",i),a=t.DomUtil.create("div","slider",i),o=Math.round(1e4/(this._player.getTransitionTime()||1e3))/10;r.innerHTML=this._getDisplaySpeed(o);var s=new t.UI.Knob(a,{step:this.options.speedStep,rangeMin:this.options.minSpeed,rangeMax:this.options.maxSpeed});return s.on("dragend",(function(t){var e=t.target.getValue();this._draggingSpeed=!1,r.innerHTML=this._getDisplaySpeed(e),this._sliderSpeedValueChanged(e)}),this),s.on("drag",(function(t){this._draggingSpeed=!0,r.innerHTML=this._getDisplaySpeed(t.target.getValue())}),this),s.on("positionchanged",(function(t){r.innerHTML=this._getDisplaySpeed(t.target.getValue())}),this),t.DomEvent.on(a,"click",(function(e){if(e.target!==s._element){var n=e.touches&&1===e.touches.length?e.touches[0]:e,i=t.DomEvent.getMousePosition(n,a).x;s.setPosition(i),r.innerHTML=this._getDisplaySpeed(s.getValue()),this._sliderSpeedValueChanged(s.getValue())}}),this),s},_buttonBackwardClicked:function(){this._timeDimension.previousTime(this._steps)},_buttonForwardClicked:function(){this._timeDimension.nextTime(this._steps)},_buttonLoopClicked:function(){this._player.setLooped(!this._player.isLooped())},_buttonPlayClicked:function(){this._player.isPlaying()?this._player.stop():this._player.start(this._steps)},_buttonPlayReverseClicked:function(){this._player.isPlaying()?this._player.stop():this._player.start(-1*this._steps)},_buttonDateClicked:function(){this._switchTimeZone()},_sliderTimeValueChanged:function(t){this._timeDimension.setCurrentTimeIndex(t)},_sliderLimitsValueChanged:function(t,e){this._timeDimension.setLowerLimitIndex(t),this._timeDimension.setUpperLimitIndex(e)},_sliderSpeedValueChanged:function(t){this._player.setTransitionTime(1e3/t)},_getCurrentTimeZone:function(){return this.options.timeZones[this._timeZoneIndex]},_switchTimeZone:function(){"utc"==this._getCurrentTimeZone().toLowerCase()&&t.DomUtil.removeClass(this._displayDate,"utc"),this._timeZoneIndex=(this._timeZoneIndex+1)%this.options.timeZones.length;var e=this._getCurrentTimeZone();"utc"==e.toLowerCase()?(t.DomUtil.addClass(this._displayDate,"utc"),this._displayDate.title="UTC Time"):"local"==e.toLowerCase()?this._displayDate.title="Local Time":this._displayDate.title=e,this._update()},_getDisplayDateFormat:function(t){var e=this._getCurrentTimeZone();return"utc"==e.toLowerCase()?t.toISOString():"local"==e.toLowerCase()?t.toLocaleString():t.toLocaleString([],{timeZone:e,timeZoneName:"short"})},_getDisplaySpeed:function(t){return t+"fps"},_getDisplayLoadingText:function(t,e){return""+Math.floor(t/e*100)+"%"},_getDisplayNoTimeError:function(){return"Time not available"}}),t.Map.addInitHook((function(){this.options.timeDimensionControl&&(this.timeDimensionControl=t.control.timeDimension(this.options.timeDimensionControlOptions||{}),this.addControl(this.timeDimensionControl))})),t.control.timeDimension=function(e){return new t.Control.TimeDimension(e)},t.TimeDimension},window,r=[n("4R65"),n("5IzF")],void 0===(a="function"==typeof(i=o)?i.apply(e,r):i)||(t.exports=a)},"j/zF":function(t){t.exports=JSON.parse('{"change-password":"Badili neno langu la siri","enter-old-password":"Ingiza neno la siri la zamani","enter-new-password":"Ingiza neno jipya la siri","enter-strong-password":"Ingiza neno imara la siri","confirm-new-password":"Hakiki neno lako jipya la siri","repeat-strong-password":"Rudia neno lako imara la siri","update-password":"Weka neno jipya"}')},jFJf:function(t){t.exports=JSON.parse('{"de":{"name":"Germany","lang":"German"},"en":{"name":"UK","lang":"English"},"es":{"name":"Spain","lang":"Español"},"fr":{"name":"France","lang":"French"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Ireland","lang":"Irish"},"it":{"name":"Italy","lang":"Italian"},"ms":{"name":"Malaysia","lang":"Malay"},"nl":{"name":"Nederland","lang":"Nederlands"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkey","lang":"Turkish"},"uk":{"name":"UK","lang":"English"},"tz":{"name":"Tanzania","lang":"Kiswahili"}}')},jR8y:function(t){t.exports=JSON.parse('{"change-privacy":"Verander mijn Privacy","maps":"Kaarten","credit-name":"Noem mijn naam","credit-username":"Noem mijn gebruikersnaam","name-imgs-yes":"Je naam is ingesteld om te tonen bij elke foto die je upload naar de kaarten.","username-imgs-yes":"Je gebruikersnaam is ingesteld om te tonen bij elke foto die je upload naar de kaarten.","name-username-map-no":"Je naam en gebruikersnaam worden niet getoond op de kaarten.","leaderboards":"Scoreboard","credit-my-name":"Noem mijn naam","credit-my-username":"Noem mijn gebruikersnaam","name-leaderboards-yes":"Je naam is ingesteld om te tonen bij elk scoreboard waar je voor in aanmerking komt.","username-leaderboards-yes":"Je gebruikersnaam is ingesteld om te tonen bij elk scoreboard waar je voor in aanmerking komt.","name-username-leaderboards-no":"Je naam en gebruikersnaam worden niet getoond op de scoreboards.","created-by":"Gemaakt Door","name-locations-yes":"Je naam is ingesteld om te tonen bij elke locatie die je maakt.","username-locations-yes":"Je gebruikersnaam is ingesteld om te tonen bij elke locatie die je maakt","name-username-locations-yes":"Je naam en gebruikersnaam worden niet getoond in de Gemaakt Door sectie van welke locatie je dan ook toevoegt aan de database","update":"Bijwerken"}')},jTMi:function(t){t.exports=JSON.parse('{"address":"Endereço","add-tag":"Adicionar Tag","coordinates":"Coordenadas","device":"Dispositivo","next":"Próxima Imagem","no-tags":"Você não tem nada para marcar no momento.","picked-up-title":"Pegou?","please-upload":"Enviar mais fotos","previous":"Imagem Anterior","removed":"O lixo foi removido","still-there":"O lixo ainda está lá","taken":"Tirada","to-tag":"Images deixadas para marcar","total-uploaded":"Total de imagens enviadas","uploaded":"Enviado","confirm-delete":"Você quer deletar essa imagem? Isso não pode ser desfeito.","recently-tags":"Tags usadas recentemente: ","clear-tags":"Limpar tags recentes?","clear-tags-btn":"Limpar tags recentes","search-all-tags":"Pressione Ctrl + Espaço para pesquisar todas as etiquetas","search-custom-tags":"Adicione suas próprias etiquetas","custom-tags":"Etiquetas Personalizadas","custom-tags-min":"Ele precisa ter pelo menos 3 caracteres.","custom-tags-max":"Ele precisa ter no máximo 100 caracteres.","tag-already-added":"Etiqueta já adicionada.","tag-limit-reached":"Você pode fazer upload de até 3 etiquetas personalizadas."}')},jX4s:function(t,e,n){var i=n("deU7");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},jiCS:function(t,e,n){"use strict";var i=n("praq");n.n(i).a},jq0I:function(t,e,n){var i=n("t+I/");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},jsOg:function(t,e){t.exports="/images/vendor/leaflet/dist/layers-2x.png?4f0283c6ce28e888000e978e537a6a56"},jtbz:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"/* \n * Leaflet TimeDimension v1.1.1 - 2019-11-05 \n * \n * Copyright 2019 Biel Frontera (ICTS SOCIB) \n * datacenter@socib.es \n * http://www.socib.es/ \n * \n * Licensed under the MIT license. \n * \n * Demos: \n * http://apps.socib.es/Leaflet.TimeDimension/ \n * \n * Source: \n * git://github.com/socib/Leaflet.TimeDimension.git \n * \n */\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot');\n src: url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.woff') format('woff'), url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');\n}\n.leaflet-bar-timecontrol{\n background-color: #fff;\n color: black;\n}\n.leaflet-bar-timecontrol * {\n box-sizing: border-box;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol {\n float: left;\n height: 26px;\n line-height: 26px;\n border: solid #a5a5a5;\n background-color: #fff;\n border-width: 0 1px 0 0;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol:first-child {\n border-radius: 4px 0 0 4px;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol:last-child {\n border-radius: 0 4px 4px 0;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol:before {\n font-family: \"Glyphicons Halflings\";\n display: block;\n}\n.leaflet-bar-timecontrol .timecontrol-slider {\n position: relative;\n width: auto;\n cursor: auto;\n}\n.leaflet-bar-timecontrol a.timecontrol-date,\n.leaflet-bar-timecontrol a.timecontrol-date:hover {\n position: relative;\n min-width: 150px;\n width: auto;\n padding: 0 10px 0 20px;\n white-space: nowrap;\n}\n.leaflet-bar-timecontrol a.timecontrol-date.utc,\n.leaflet-bar-timecontrol a.timecontrol-date.utc:hover {\n min-width: 185px;\n}\n.leaflet-bar-timecontrol a.timecontrol-date.loading,\n.leaflet-bar-timecontrol a.timecontrol-date.loading:hover {\n background-color: #ffefa4;\n}\n.leaflet-bar-timecontrol .timecontrol-dateslider .slider {\n width: 200px;\n}\n.leaflet-bar-timecontrol .timecontrol-speed {\n white-space: nowrap;\n cursor: auto;\n}\n.leaflet-bar-timecontrol .timecontrol-speed .slider {\n width: 55px;\n display: inline-block;\n}\n.leaflet-bar-timecontrol .timecontrol-speed .speed {\n width: 55px;\n display: inline-block;\n float: left;\n text-align: right;\n}\n.leaflet-bar-timecontrol .timecontrol-play,\n.leaflet-bar-timecontrol .timecontrol-play:hover {\n position: relative;\n}\n.leaflet-bar-timecontrol .timecontrol-play span {\n font-size: 10px;\n}\n.leaflet-bar-timecontrol a.timecontrol-play.loading {\n background-color: #ffefa4;\n}\n\n/**\n* Slider/Knobs styles\n*/\n\n.timecontrol-slider .slider {\n position: relative;\n height: 12px;\n margin: 6px;\n border: 1px solid #a5a5a5;\n cursor: pointer;\n}\n.timecontrol-slider .slider.has-limits {\n margin-left: 15px;\n margin-right: 15px;\n background-color: #ddd;\n}\n.timecontrol-slider .slider.has-limits .range {\n position: absolute;\n height: 10px;\n background-color: #fff;\n /*opacity: 0.5;*/\n}\n.timecontrol-slider .knob {\n position: absolute;\n width: 8px;\n height: 22px;\n background-color: #ddd;\n border-radius: 2px;\n border: 1px solid #a5a5a5;\n /*use margins because on ie,leaflet will use top/left for positionning*/\n margin-top: -6px;\n margin-left: -4px;\n cursor: ew-resize;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n}\n.timecontrol-slider .knob:after {\n /** Big transparent block on top of the knob for easier grabbing on touch device*/\n content: ' ';\n display: block;\n position: absolute;\n width: 20px;\n top:-5px;\n height: 32px;\n left: -7px;\n /* opacity: 0.5;\n background: red;*/\n \n}\n.timecontrol-slider .knob.upper,\n.timecontrol-slider .knob.lower {\n width: 11px;\n height: 20px;\n border: none;\n background-color: transparent;\n}\n.timecontrol-slider .knob.upper {\n margin-top: -5px;\n margin-left: -1px;\n}\n.timecontrol-slider .knob.lower {\n margin-top: -5px;\n margin-left: -10px;\n}\n.timecontrol-slider .knob.lower:after {\n right:0px;\n left: initial;\n}\n.timecontrol-slider .knob.upper:after {\n left:0px;\n}\n.timecontrol-slider .knob.upper:before,\n.timecontrol-slider .knob.lower:before {\n display: block;\n content: '';\n position: relative;\n top: 2px;\n width: 0;\n height: 0;\n border-style: solid;\n}\n.timecontrol-slider .knob.upper:before {\n border-width: 16px 0 0 10px;\n border-color: transparent transparent transparent #a5a5a5;\n}\n.timecontrol-slider .knob.lower:before {\n border-width: 0 0 16px 10px;\n border-color: transparent transparent #a5a5a5;\n}\n\n.timecontrol-slider .slider.dragging,\n.timecontrol-slider .dragging .knob,\n.timecontrol-slider .knob.leaflet-drag-target {\n cursor: ew-resize;\n cursor: grabbing;\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n}\n\n/**\n* Icons definitions\n*/\n\n@-webkit-keyframes icon-rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes icon-rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.timecontrol-loop.looped,\n.timecontrol-loop.looped:hover {\n background-color: #ddd;\n color: #094F8E;\n}\n\n.timecontrol-backward:before,\n.timecontrol-forward:before,\n.timecontrol-stop:before,\n.timecontrol-play:before,\n.timecontrol-loop:before { \n width: 100%;\n text-align: center;\n}\n\n.timecontrol-play:before {\n position: absolute;\n content: \"\\E072\";\n}\n/*.timecontrol-play.play:before {\n content: \"\\e072\";\n}*/\n.timecontrol-play.reverse:before {\n content: \"\\E072\";\n transform: scaleX(-1);\n}\n.timecontrol-play.pause:before {\n content: \"\\E073\";\n}\n.timecontrol-play.reverse.pause:before {\n transform: none;\n}\n\na.timecontrol-play.loading:before {\n content: \"\\E031\";\n opacity: 0.2;\n -webkit-animation: icon-rotation 6s infinite linear;\n animation: icon-rotation 6s infinite linear;\n}\n.timecontrol-date.loading:before {\n content: \"\\E031\";\n left: 5px;\n position: absolute;\n -webkit-animation: icon-rotation 6s infinite linear;\n animation: icon-rotation 6s infinite linear;\n}\n.timecontrol-speed:before {\n content: \"\\E141\";\n position: absolute;\n left: 7px;\n}\n.timecontrol-stop:before {\n content: \"\\E074\";\n}\n.timecontrol-forward:before {\n content: \"\\E075\";\n}\n.timecontrol-backward:before {\n content: \"\\E071\";\n}\n.timecontrol-loop:before {\n content: \"\\E030\";\n}\n\n@media (max-width: 767px){\n .leaflet-bar-timecontrol .timecontrol-date,\n .leaflet-bar-timecontrol .timecontrol-slider{\n clear: both;\n float: none;\n border-right: none;\n }\n}\n.leaflet-touch .leaflet-bar-timecontrol .leaflet-control-timecontrol{\n height: 30px;\n line-height: 30px;\n}\n.leaflet-touch .timecontrol-slider .slider{\n margin-top: 10px;\n}",""])},kGIl:function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){},function(t,e,n){"use strict";n.r(e);const i="undefined"!=typeof window?window.HTMLElement:Object;var r={mounted(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn(t){if(!this.isActive)return;if(t.target===this.$el||this.$el.contains(t.target))return;let e=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||e&&e.contains(t.target))&&(t.preventDefault(),this.$el.focus())}},beforeDestroy(){document.removeEventListener("focusin",this.focusIn)}};function a(t,e,n,i,r,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}var o=a({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,stroke:this.color}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])}),[],!1,null,null,null).exports,s=a({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:this.color,width:this.width,height:this.height}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,l=a({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:this.height,width:this.width,fill:this.color}},[e("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,u=a({name:"vue-loading",mixins:[r],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,i],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:()=>{}},color:String,backgroundColor:String,opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data(){return{isActive:this.active}},components:{Spinner:o,Dots:s,Bars:l},beforeMount(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide(){this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(()=>{var t;this.$destroy(),void 0!==(t=this.$el).remove?t.remove():t.parentNode.removeChild(t)},150))},keyPress(t){27===t.keyCode&&this.cancel()}},watch:{active(t){this.isActive=t}},beforeDestroy(){document.removeEventListener("keyup",this.keyPress)}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":t.isFullPage},style:{zIndex:t.zIndex},attrs:{tabindex:"0","aria-busy":t.isActive,"aria-label":"Loading"}},[n("div",{staticClass:"vld-background",style:{background:t.backgroundColor,opacity:t.opacity},on:{click:function(e){return e.preventDefault(),t.cancel(e)}}}),n("div",{staticClass:"vld-icon"},[t._t("before"),t._t("default",[n(t.loader,{tag:"component",attrs:{color:t.color,width:t.width,height:t.height}})]),t._t("after")],2)])])}),[],!1,null,null,null).exports;n(0),u.install=(t,e={},n={})=>{let i=((t,e={},n={})=>({show(i=e,r=n){const a=Object.assign({},e,i,{programmatic:!0}),o=new(t.extend(u))({el:document.createElement("div"),propsData:a}),s=Object.assign({},n,r);return Object.keys(s).map(t=>{o.$slots[t]=s[t]}),o}}))(t,e,n);t.$loading=i,t.prototype.$loading=i},e.default=u}]).default},"kY4/":function(t){t.exports=JSON.parse('{"admin":"Msimamizi","admin-verify-photos":"Msimamizi - Thibitisha Picha","admin-horizon":"Msimamizi - Upeo wa macho","admin-verify-boxes":"Msimamizi - Thibitisha visanduku","about":"Kuhusu","global-map":"Ramani ya Ulimwengu","world-cup":"Kombe la Dunia","community":"JUmuiya","upload":"Pakia","more":"Zaidi","tag-litter":"Wekea taka lebo","profile":"Wasifu","settings":"Mpangilio","bounding-boxes":"Sanduku za Kufunga","logout":"Toka","login":"Ingia","signup":"Jisajili","teams":"Timu"}')},kcmK:function(t,e,n){var i=n("lhb6");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},kg4N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.butts-img[data-v-d8d31e7c] {\n text-align: center;\n padding-right: 5em;\n}\n.cig-2[data-v-d8d31e7c] {\n align-items: center;\n display: flex;\n padding: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.butts-img[data-v-d8d31e7c] {\n padding-right: 0;\n}\n.cig-2[data-v-d8d31e7c] {\n padding: 1em;\n}\n}\n",""])},kkbq:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Vérification des photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Vérification des boîtes","about":"A propos","global-map":"Carte du monde","world-cup":"Coupe du monde","community":"Communauté","upload":"Envoyer","more":"Plus","tag-litter":"Tagué un déchet","profile":"Profil","settings":"Options","bounding-boxes":"Boite à limite","logout":"Déconnexion","login":"Connexion","signup":"Inscription","teams":"Equipes"}')},kpIZ:function(t){t.exports=JSON.parse('{"title":"Pomóż nam zmieniać świat.","subtitle":"Rośniemy z dnia na dzień","photos-last-30-days":"Zdjęcia przesłane w ciągu ostatnich 30 dni","users-last-30-days":"Nowi użytkownicy ostatni 30 dni","litter-tags-last-30-days":"Miot oznaczony ostatnich 30 dni","photos-every-month-label":"Zdjęcia przesyłane co miesiąc","users-every-month-label":"Nowi użytkownicy co miesiąc","zoom-text":"Dołącz do nas na {link}, gdzie możemy usłyszeć wiele nowych pomysłów i sugestii od naszej rosnącej globalnej społeczności. Co tydzień nasi użytkownicy dzielą się swoimi opiniami, co zawsze pomaga uczynić naszą aplikację łatwiejszą i lepszą w użyciu. Pomóż kształtować przyszły kierunek naszej otwartej platformy gromadzenia danych i monitorowania środowiska. Rozmowa rozpoczyna się za:","zoom-weekly-calls":"cotygodniowych rozmowach Zoom o 18:00. GMT (Dublin/Londyn/Lizbona czas) w każdy czwartek","zoom-live":"Na Żywo","zoom-days":"dzień | dni","zoom-hours":"godzina | godziny","zoom-minutes":"minuta | minuty","slack-text":"{slack} to nasze główne medium komunikacji i współpracy. Zaawansowani użytkownicy, nowicjusze, programiści, społeczność licząca ponad 400 członków - wszyscy tam jesteśmy. Napisz do nas, a otrzymasz natychmiastową odpowiedź, jesteśmy cały czas online.","fundraiser-text":"OpenLitterMap jest całkowicie uzależniony od darowizn. Zorganizowaliśmy {link} i wciąż jesteśmy daleko od naszego celu. Wszystkie składki są mile widziane. {emoji}","fundraiser-link":"zbiórkę funduszy GoFundMe"}')},ksP6:function(t,e,n){t.exports=function(){"use strict";var t,e=(function(t){var e=function(){function t(t,e){for(var n=0;n1?n-1:0),r=1;r=o.length);)o[a++].apply(this,i)}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var i=0;i=n.length);){var i=n[e++];if(/(^| )dz-message($| )/.test(i.className)){t=i,i.className="dz-message";break}}t||(t=a.createElement('
    '),this.element.appendChild(t));var r=t.getElementsByTagName("span")[0];return r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,i){var r={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},a=t.width/t.height;null==e&&null==n?(e=r.srcWidth,n=r.srcHeight):null==e?e=n*a:null==n&&(n=e/a);var o=(e=Math.min(e,r.srcWidth))/(n=Math.min(n,r.srcHeight));if(r.srcWidth>e||r.srcHeight>n)if("crop"===i)a>o?(r.srcHeight=t.height,r.srcWidth=r.srcHeight*o):(r.srcWidth=t.width,r.srcHeight=r.srcWidth/o);else{if("contain"!==i)throw new Error("Unknown resizeMethod '"+i+"'");a>o?n=e/a:e=n*a}return r.srcX=(t.width-r.srcWidth)/2,r.srcY=(t.height-r.srcHeight)/2,r.trgWidth=e,r.trgHeight=n,r},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Check\n \n \n \n \n \n
    \n
    \n \n Error\n \n \n \n \n \n \n \n
    \n
    ',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=a.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var n=0,i=i=t.previewElement.querySelectorAll("[data-dz-name]");!(n>=i.length);){var r=i[n++];r.textContent=t.name}for(var o=0,s=s=t.previewElement.querySelectorAll("[data-dz-size]");!(o>=s.length);)(r=s[o++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=a.createElement(''+this.options.dictRemoveFile+""),t.previewElement.appendChild(t._removeLink));for(var l=function(n){return n.preventDefault(),n.stopPropagation(),t.status===a.UPLOADING?a.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?a.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},u=0,c=c=t.previewElement.querySelectorAll("[data-dz-remove]");!(u>=c.length);)c[u++].addEventListener("click",l)}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var n=0,i=i=t.previewElement.querySelectorAll("[data-dz-thumbnail]");!(n>=i.length);){var r=i[n++];r.alt=t.name,r.src=e}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var n=0,i=i=t.previewElement.querySelectorAll("[data-dz-errormessage]");!(n>=i.length);)i[n++].textContent=e}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement)for(var i=0,r=r=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");!(i>=r.length);){var a=r[i++];"PROGRESS"===a.nodeName?a.value=e:a.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i=a.length);){var o=a[r++];for(var s in o){var l=o[s];t[s]=l}}return t}}]),e(a,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(a.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(a.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(a.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===a.UPLOADING||t.status===a.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(a.createElement('
    '+this.options.dictDefaultMessage+"
    ")),this.clickableElements.length&&function e(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",a.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length)for(var i=0,r=r=n;!(i>=r.length);){var a=r[i++];t.addFile(a)}return t.emit("addedfiles",n),e()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;for(var e=0,n=n=this.events;!(e>=n.length);){var i=n[e++];this.on(i,this.options[i])}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var r=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return r(e),t.emit("dragenter",e)},dragover:function(e){var n=void 0;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",r(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return r(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||a.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,a.instances.splice(a.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,n=0;if(this.getActiveFiles().length){for(var i=0,r=r=this.getActiveFiles();!(i>=r.length);){var a=r[i++];e+=a.upload.bytesSent,n+=a.upload.total}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e=void 0;if(t=this.getExistingFallback())return t;var n='
    ';this.options.dictFallbackText&&(n+="

    "+this.options.dictFallbackText+"

    "),n+='
    ';var i=a.createElement(n);return"FORM"!==this.element.tagName?(e=a.createElement('
    ')).appendChild(i):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:i}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,n=n=t;!(e>=n.length);){var i=n[e++];if(/(^| )fallback($| )/.test(i.className))return i}},e=["div","form"],n=0;n0){for(var i=["tb","gb","mb","kb","b"],r=0;r=Math.pow(this.options.filesizeBase,4-r)/10){e=t/Math.pow(this.options.filesizeBase,4-r),n=a;break}}e=Math.round(10*e)/10}return""+e+" "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n=n.length);){var i=n[e++];this.addFile(i)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var n=[],i=0,r=r=t;!(i>=r.length);){var a,o=r[i++];null!=o.webkitGetAsEntry&&(a=o.webkitGetAsEntry())?a.isFile?n.push(e.addFile(o.getAsFile())):a.isDirectory?n.push(e._addFilesFromDirectory(a,a.name)):n.push(void 0):null==o.getAsFile||null!=o.kind&&"file"!==o.kind?n.push(void 0):n.push(e.addFile(o.getAsFile()))}return n}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,i=t.createReader(),r=function(t){return n=function(e){return e.log(t)},null!=(e=console)&&"function"==typeof e.log?n(e):void 0;var e,n};return function t(){return i.readEntries((function(i){if(i.length>0){for(var r=0,a=a=i;!(r>=a.length);){var o=a[r++];o.isFile?o.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,n.addFile(t)})):o.isDirectory&&n._addFilesFromDirectory(o,e+"/"+o.name)}t()}return null}),r)}()}},{key:"accept",value:function(t,e){return this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):a.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;return t.upload={uuid:a.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=a.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){for(var e=0,n=n=t;!(e>=n.length);){var i=n[e++];this.enqueueFile(i)}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==a.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=a.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===a.UPLOADING&&this.cancelUpload(t),this.files=o(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var e=0,n=n=this.files.slice();!(e>=n.length);){var i=n[e++];(i.status!==a.UPLOADING||t)&&this.removeFile(i)}return null}},{key:"resizeImage",value:function(t,e,n,i,r){var o=this;return this.createThumbnail(t,e,n,i,!0,(function(e,n){if(null==n)return r(t);var i=o.options.resizeMimeType;null==i&&(i=t.type);var s=n.toDataURL(i,o.options.resizeQuality);return"image/jpeg"!==i&&"image/jpg"!==i||(s=u.restore(t.dataURL,s)),r(a.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,i,r,a){var o=this,s=new FileReader;return s.onload=function(){if(t.dataURL=s.result,"image/svg+xml"!==t.type)return o.createThumbnailFromUrl(t,e,n,i,r,a);null!=a&&a(s.result)},s.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,n,i,r,a,o){var s=this,u=document.createElement("img");return o&&(u.crossOrigin=o),u.onload=function(){var o=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&r&&(o=function(t){return EXIF.getData(u,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),o((function(r){t.width=u.width,t.height=u.height;var o=s.options.resize.call(s,t,e,n,i),c=document.createElement("canvas"),h=c.getContext("2d");switch(c.width=o.trgWidth,c.height=o.trgHeight,r>4&&(c.width=o.trgHeight,c.height=o.trgWidth),r){case 2:h.translate(c.width,0),h.scale(-1,1);break;case 3:h.translate(c.width,c.height),h.rotate(Math.PI);break;case 4:h.translate(0,c.height),h.scale(1,-1);break;case 5:h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:h.rotate(.5*Math.PI),h.translate(0,-c.width);break;case 7:h.rotate(.5*Math.PI),h.translate(c.height,-c.width),h.scale(-1,1);break;case 8:h.rotate(-.5*Math.PI),h.translate(-c.height,0)}l(h,u,null!=o.srcX?o.srcX:0,null!=o.srcY?o.srcY:0,o.srcWidth,o.srcHeight,null!=o.trgX?o.trgX:0,null!=o.trgY?o.trgY:0,o.trgWidth,o.trgHeight);var d=c.toDataURL("image/png");if(null!=a)return a(d,c)}))},null!=a&&(u.onerror=a),u.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var i=this.getQueuedFiles();if(i.length>0){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-e));for(;n=n.length);){var i=n[e++];i.processing=!0,i.status=a.UPLOADING,this.emit("processing",i)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===a.UPLOADING){for(var e=this._getFilesWithXhr(t.xhr),n=0,i=i=e;!(n>=i.length);)i[n++].status=a.CANCELED;void 0!==t.xhr&&t.xhr.abort();for(var r=0,o=o=e;!(r>=o.length);){var s=o[r++];this.emit("canceled",s)}this.options.uploadMultiple&&this.emit("canceledmultiple",e)}else t.status!==a.ADDED&&t.status!==a.QUEUED||(t.status=a.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i=i.upload.totalChunkCount)){var o=n*e.options.chunkSize,s=Math.min(o+e.options.chunkSize,i.size),l={name:e._getParamName(0),data:r.webkitSlice?r.webkitSlice(o,s):r.slice(o,s),filename:i.upload.filename,chunkIndex:n};i.upload.chunks[n]={file:i,index:n,dataBlock:l,status:a.UPLOADING,progress:0,retries:0},e._uploadData(t,[l])}};if(i.upload.finishedChunkUpload=function(n){var r=!0;n.status=a.SUCCESS,n.dataBlock=null,n.xhr=null;for(var s=0;s=o.length);)o[r++].xhr=i;t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,t),l=this.resolveOption(this.options.url,t);i.open(s,l,!0),i.timeout=this.resolveOption(this.options.timeout,t),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){n._finishedUploading(t,i,e)},i.onerror=function(){n._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return n._updateFilesUploadProgress(t,i,e)};var u={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var c in this.options.headers&&a.extend(u,this.options.headers),u){var h=u[c];h&&i.setRequestHeader(c,h)}var d=new FormData;if(this.options.params){var p=this.options.params;for(var f in"function"==typeof p&&(p=p.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),p){var m=p[f];d.append(f,m)}}for(var g=0,v=v=t;!(g>=v.length);){var y=v[g++];this.emit("sending",y,i,d)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,d),this._addFormElementData(d);for(var _=0;_=n.length);){var i=n[e++],r=i.getAttribute("name"),a=i.getAttribute("type");if(a&&(a=a.toLowerCase()),null!=r)if("SELECT"===i.tagName&&i.hasAttribute("multiple"))for(var o=0,s=s=i.options;!(o>=s.length);){var l=s[o++];l.selected&&t.append(r,l.value)}else(!a||"checkbox"!==a&&"radio"!==a||i.checked)&&t.append(r,i.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){var i=void 0;if(void 0!==n){if(i=100*n.loaded/n.total,t[0].upload.chunked){var r=t[0],a=this._getChunk(r,e);a.progress=i,a.total=n.total,a.bytesSent=n.loaded,r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var o=0;o=l.length);){var u=l[s++];u.upload.progress=i,u.upload.total=n.total,u.upload.bytesSent=n.loaded}for(var c=0,h=h=t;!(c>=h.length);){var d=h[c++];this.emit("uploadprogress",d,d.upload.progress,d.upload.bytesSent)}}else{var p=!0;i=100;for(var f=0,m=m=t;!(f>=m.length);){var g=m[f++];100===g.upload.progress&&g.upload.bytesSent===g.upload.total||(p=!1),g.upload.progress=i,g.upload.bytesSent=g.upload.total}if(p)return;for(var v=0,y=y=t;!(v>=y.length);){var _=y[v++];this.emit("uploadprogress",_,i,_.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,e,n){var i=void 0;if(t[0].status!==a.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(i=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{i=JSON.parse(i)}catch(t){n=t,i="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e)):this._finished(t,i,n):this._handleUploadError(t,e,i)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==a.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var i=this._getChunk(t[0],e);if(i.retries++=o.length);)o[r++],this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}},{key:"submitRequest",value:function(t,e,n){t.send(e)}},{key:"_finished",value:function(t,e,n){for(var i=0,r=r=t;!(i>=r.length);){var o=r[i++];o.status=a.SUCCESS,this.emit("success",o,e,n),this.emit("complete",o)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){for(var i=0,r=r=t;!(i>=r.length);){var o=r[i++];o.status=a.ERROR,this.emit("error",o,e,n),this.emit("complete",o)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),a}();a.initClass(),a.version="5.5.1",a.options={},a.optionsForElement=function(t){return t.getAttribute("id")?a.options[s(t.getAttribute("id"))]:void 0},a.instances=[],a.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},a.autoDiscover=!0,a.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var n=[],i=0,r=r=e;!(i>=r.length);){var a=r[i++];/(^| )dropzone($| )/.test(a.className)?n.push(t.push(a)):n.push(void 0)}return n}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],n=0,i=i=t;!(n>=i.length);){var r=i[n++];!1!==a.optionsForElement(r)?e.push(new a(r)):e.push(void 0)}return e}()},a.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],a.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,n=n=a.blacklistedBrowsers;!(e>=n.length);)n[e++].test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},a.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(e.length),r=new Uint8Array(i),a=0,o=e.length,s=0<=o;s?a<=o:a>=o;s?a++:a--)r[a]=e.charCodeAt(a);return new Blob([i],{type:n})};var o=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},s=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};a.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},a.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},a.getElement=function(t,e){var n=void 0;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},a.getElements=function(t,e){var n=void 0,i=void 0;if(t instanceof Array){i=[];try{for(var r=0,a=a=t;!(r>=a.length);)n=a[r++],i.push(this.getElement(n,e))}catch(t){i=null}}else if("string"==typeof t){i=[];for(var o=0,s=s=document.querySelectorAll(t);!(o>=s.length);)n=s[o++],i.push(n)}else null!=t.nodeType&&(i=[t]);if(null==i||!i.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},a.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},a.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var n=t.type,i=n.replace(/\/.*$/,""),r=0,a=a=e;!(r>=a.length);){var o=a[r++];if("."===(o=o.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(o.toLowerCase(),t.name.length-o.length))return!0}else if(/\/\*$/.test(o)){if(i===o.replace(/\/.*$/,""))return!0}else if(n===o)return!0}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new a(this,t)}))}),null!==t?t.exports=a:window.Dropzone=a,a.ADDED="added",a.QUEUED="queued",a.ACCEPTED=a.QUEUED,a.UPLOADING="uploading",a.PROCESSING=a.UPLOADING,a.CANCELED="canceled",a.ERROR="error",a.SUCCESS="success";var l=function(t,e,n,i,r,a,o,s,l,u){var c=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var i=n.getContext("2d");i.drawImage(t,0,0);for(var r=i.getImageData(1,0,1,e).data,a=0,o=e,s=e;s>a;)0===r[4*(s-1)+3]?o=s:a=s,s=o+a>>1;var l=s/e;return 0===l?1:l}(e);return t.drawImage(e,n,i,r,a,o,s,l,u/c)},u=function(){function t(){i(this,t)}return e(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,i=void 0,r="",a=void 0,o=void 0,s=void 0,l="",u=0;a=(n=t[u++])>>2,o=(3&n)<<4|(i=t[u++])>>4,s=(15&i)<<2|(r=t[u++])>>6,l=63&r,isNaN(i)?s=l=64:isNaN(r)&&(l=64),e=e+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),n=i=r="",a=o=s=l="",ut.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,i="",r=void 0,a=void 0,o="",s=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(s++))<<2|(r=this.KEY_STR.indexOf(t.charAt(s++)))>>4,n=(15&r)<<4|(a=this.KEY_STR.indexOf(t.charAt(s++)))>>2,i=(3&a)<<6|(o=this.KEY_STR.indexOf(t.charAt(s++))),l.push(e),64!==a&&l.push(n),64!==o&&l.push(i),e=n=i="",r=a=o="",s{var a=new FormData;let o=new XMLHttpRequest,s="function"==typeof e.signingURL?e.signingURL(t):e.signingURL;o.open("POST",s),o.onload=function(){200==o.status?i(JSON.parse(o.response)):r(o.statusText)},o.onerror=function(t){r(t)},!0===e.withCredentials&&(o.withCredentials=!0),Object.entries(e.headers||{}).forEach(([t,e])=>{o.setRequestHeader(t,e)}),n=Object.assign(n,e.params||{}),Object.entries(n).forEach(([t,e])=>{a.append(t,e)}),o.send(a)})},sendFile(t,e,n){var i=n?this.setResponseHandler:this.sendS3Handler;return this.getSignedURL(t,e).then(e=>i(e,t)).catch(t=>t)},setResponseHandler(t,e){e.s3Signature=t.signature,e.s3Url=t.postEndpoint},sendS3Handler(t,e){let n=new FormData,i=t.signature;return Object.keys(i).forEach((function(t){n.append(t,i[t])})),n.append("file",e),new Promise((e,i)=>{let r=new XMLHttpRequest;r.open("POST",t.postEndpoint),r.onload=function(){if(201==r.status){var t=(new window.DOMParser).parseFromString(r.response,"text/xml").firstChild.children[0].innerHTML;e({success:!0,message:t})}else{var n=(new window.DOMParser).parseFromString(r.response,"text/xml").firstChild.children[0].innerHTML;i({success:!1,message:n+". Request is marked as resolved when returns as status 201"})}},r.onerror=function(t){var e=(new window.DOMParser).parseFromString(r.response,"text/xml").firstChild.children[1].innerHTML;i({success:!1,message:e})},r.send(n)})}};return e.autoDiscover=!1,function(t,e,n,i,r,a,o,s,l,u){"boolean"!=typeof o&&(o,o=!1);var c,h="function"==typeof n?n.options:n;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0),c)if(h.functional){var d=h.render;h.render=function(t,e){return c.call(e),d(t,e)}}else{var p=h.beforeCreate;h.beforeCreate=p?[].concat(p,c):[c]}return n}({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"dropzoneElement",class:{"vue-dropzone dropzone":this.includeStyling},attrs:{id:this.id}},[this.useCustomSlot?e("div",{staticClass:"dz-message"},[this._t("default",[this._v("Drop files here to upload")])],2):this._e()])},staticRenderFns:[]},0,{props:{id:{type:String,required:!0,default:"dropzone"},options:{type:Object,required:!0},includeStyling:{type:Boolean,default:!0,required:!1},awss3:{type:Object,required:!1,default:null},destroyDropzone:{type:Boolean,default:!0,required:!1},duplicateCheck:{type:Boolean,default:!1,required:!1},useCustomSlot:{type:Boolean,default:!1,required:!1}},data:()=>({isS3:!1,isS3OverridesServerPropagation:!1,wasQueueAutoProcess:!0}),computed:{dropzoneSettings(){let t={thumbnailWidth:200,thumbnailHeight:200};return Object.keys(this.options).forEach((function(e){t[e]=this.options[e]}),this),null!==this.awss3&&(t.autoProcessQueue=!1,this.isS3=!0,this.isS3OverridesServerPropagation=!1===this.awss3.sendFileToServer,void 0!==this.options.autoProcessQueue&&(this.wasQueueAutoProcess=this.options.autoProcessQueue),this.isS3OverridesServerPropagation&&(t.url=t=>t[0].s3Url)),t}},mounted(){if(this.$isServer&&this.hasBeenMounted)return;this.hasBeenMounted=!0,this.dropzone=new e(this.$refs.dropzoneElement,this.dropzoneSettings);let t=this;this.dropzone.on("thumbnail",(function(e,n){t.$emit("vdropzone-thumbnail",e,n)})),this.dropzone.on("addedfile",(function(e){var n,i;if(t.duplicateCheck&&this.files.length)for(n=0,i=this.files.length;n-1||e.indexOf(".png")>-1||e.indexOf(".jpg")>-1||e.indexOf(".jpeg")>-1||e.indexOf(".gif")>-1||e.indexOf(".webp")>-1)&&(n=!0),this.dropzone.options.createImageThumbnails&&n&&t.size<=1024*this.dropzone.options.maxThumbnailFilesize*1024){e&&this.dropzone.emit("thumbnail",t,e);for(var i=t.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0;r{this.getSignedAndUploadToS3(t)}):this.dropzone.processQueue(),this.dropzone.on("success",(function(){t.options.autoProcessQueue=!0})),this.dropzone.on("queuecomplete",(function(){t.options.autoProcessQueue=!1}))},init:function(){return this.dropzone.init()},destroy:function(){return this.dropzone.destroy()},updateTotalUploadProgress:function(){return this.dropzone.updateTotalUploadProgress()},getFallbackForm:function(){return this.dropzone.getFallbackForm()},getExistingFallback:function(){return this.dropzone.getExistingFallback()},setupEventListeners:function(){return this.dropzone.setupEventListeners()},removeEventListeners:function(){return this.dropzone.removeEventListeners()},disable:function(){return this.dropzone.disable()},enable:function(){return this.dropzone.enable()},filesize:function(t){return this.dropzone.filesize(t)},accept:function(t,e){return this.dropzone.accept(t,e)},addFile:function(t){return this.dropzone.addFile(t)},removeFile:function(t){this.dropzone.removeFile(t)},getAcceptedFiles:function(){return this.dropzone.getAcceptedFiles()},getRejectedFiles:function(){return this.dropzone.getRejectedFiles()},getFilesWithStatus:function(){return this.dropzone.getFilesWithStatus()},getQueuedFiles:function(){return this.dropzone.getQueuedFiles()},getUploadingFiles:function(){return this.dropzone.getUploadingFiles()},getAddedFiles:function(){return this.dropzone.getAddedFiles()},getActiveFiles:function(){return this.dropzone.getActiveFiles()},getSignedAndUploadToS3(t){var e=n.sendFile(t,this.awss3,this.isS3OverridesServerPropagation);this.isS3OverridesServerPropagation?e.then(()=>{setTimeout(()=>this.dropzone.processFile(t))}):e.then(e=>{e.success?(t.s3ObjectLocation=e.message,setTimeout(()=>this.dropzone.processFile(t)),this.$emit("vdropzone-s3-upload-success",e.message)):void 0!==e.message?this.$emit("vdropzone-s3-upload-error",e.message):this.$emit("vdropzone-s3-upload-error","Network Error : Could not send request to AWS. (Maybe CORS error)")}),e.catch(t=>{alert(t)})},setAWSSigningURL(t){this.isS3&&(this.awss3.signingURL=t)}}},0,0,0,void 0)}()},kv4v:function(t){t.exports=JSON.parse('{"de":{"name":"Germany","lang":"German"},"en":{"name":"UK","lang":"English"},"es":{"name":"Spain","lang":"Español"},"fr":{"name":"France","lang":"French"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Ireland","lang":"Irish"},"it":{"name":"Italy","lang":"Italian"},"ms":{"name":"Malaysia","lang":"Malay"},"nl":{"name":"Nederland","lang":"Nederlands"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkey","lang":"Turkish"},"uk":{"name":"UK","lang":"English"}}')},kzuA:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Pombe","art":"Sanaa","brands":"Chapa","coastal":"Fukwe","coffee":"Kahawa","dumping":"Tupa","food":"Chakula","industrial":"Viwandani","sanitary":"Usafi","softdrinks":"Vinywaji baridi","smoking":"Uvutaji","other":"Nyingine","material":"Vitu","dogshit":"Wanyama"},"smoking":{"butts":"Sigara/Vichungi","lighters":"Kiberiti","cigaretteBox":"Boksi la sigara","tobaccoPouch":"Pochi ya tumbaku","skins":"Karatasi za kunyongea","smoking_plastic":"Kifungashio ch plastiki","filters":"Chujio","filterbox":"Box la chujio","vape_pen":"Kalamu za kuvuta","vape_oil":"Mafuta ya kuvuta","smokingOther":"Vingine vyakuvuta"},"alcohol":{"beerBottle":"Chupa ya bia","spiritBottle":"Chupa ya pombe kali","wineBottle":"Chupa ya mvinyo","beerCan":"Kopo la bia","brokenGlass":"Glasi zilizopasuka","bottleTops":"Kizibo cha bia","paperCardAlcoholPackaging":"Kifungashio cha karatasi","plasticAlcoholPackaging":"Kifungashio cha plastiki","pint":"Glasi ya pint","six_pack_rings":"Pete za Six-pack","alcohol_plastic_cups":"Vikombe vya plastiki","alcoholOther":"Pombe- nyingine"},"art":{"item":"Taka za sana"},"coffee":{"coffeeCups":"Vikombe vya kahawa","coffeeLids":"Vifunuko vya kahawa","coffeeOther":"Kahawa-vingine"},"food":{"sweetWrappers":"Maganda ya pipi","paperFoodPackaging":"vifungashio vya karatasi au kadi","plasticFoodPackaging":"Vifungashio vya plastiki","plasticCutlery":"Vipandikizi vya Plastiki","crisp_small":"Pakiti za Crisp/Chip (ndogo)","crisp_large":"Pakiti za Crisp/Chip (kubwa)","styrofoam_plate":"Sahani ya Styrofoam","napkins":"Karatasi zakujifuta","sauce_packet":"Pakiti za viungo","glass_jar":"Jagi la kioo","glass_jar_lid":"Mfuniko wa jagi wa kioo","aluminium_foil":"Foil ya Aluminium ","pizza_box":"Boksi la Pizza","foodOther":"Chakula-vingine","chewing_gum":"Jojo"},"softdrinks":{"waterBottle":"Chupa ya maji ya plastiki","fizzyDrinkBottle":"Chupa ya Kunywa ya Plastiki Fizzy","tinCan":"Kopo","bottleLid":"Kifuniko cha chupa","bottleLabel":"Lebo ya chupa","sportsDrink":"Chupa ya michezo","straws":"Mrija","plastic_cups":"Vikombe vya plastiki","plastic_cup_tops":"Vifuniko vya kikombe vya plastiki","milk_bottle":"Chupa ya maziwa","milk_carton":"Kartoni ya maziwa","paper_cups":"Vikombe vya makaratasi","juice_cartons":"Karton za juice","juice_bottles":"Chupa za juisi","juice_packet":"Pakiti za juisi","ice_tea_bottles":"Chupa za Chai ya Barafu","ice_tea_can":"Makopo ya Chai ya Barafu","energy_can":"Makopo ya energy drink","pullring":"Vipete vya makopo","strawpacket":"Kifungashio cha mirija","styro_cup":"Kikombe cha Styrofoam","broken_glass":"Glasi zilizovunjika","softDrinkOther":"Kinywaji baridi-vingine"},"sanitary":{"gloves":"Kinga za mikono","facemask":"Barakoa","condoms":"Kondomu","nappies":"Karatasi za kujifuta","menstral":"Hedhi","deodorant":"Manukato","ear_swabs":"Pamba za masikio","tooth_pick":"Vichokonola meno","tooth_brush":"Mswaki","wetwipes":"Karatsi mbichi za kujifuta","hand_sanitiser":"Vitakasa mikono","sanitaryOther":"Usafi-vingine"},"dumping":{"small":"Ndogo","medium":"Kati","large":"Kubwa"},"industrial":{"oil":"Mafuta","industrial_plastic":"Plastiki","chemical":"Kemikali","bricks":"Tofali","tape":"Tepe","industrial_other":"Viwandani-nyingine"},"coastal":{"microplastics":"Plastiki ndogo","mediumplastics":"Plastiki za kati","macroplastics":"Plastiki kubwa","rope_small":"Kamba ndogo","rope_medium":"Kamba za kati","rope_large":"Kamba kubwa","fishing_gear_nets":"Zana za uvuvi","ghost_nets":"Nyavu","buoys":"Boya","degraded_plasticbottle":"Chupa chakavu ya plastiki","degraded_plasticbag":"Begi chakavu la plastiki","degraded_straws":"Mirija chavu","degraded_lighters":"Viberiti chakavu","balloons":"Maputo","lego":"Lego","shotgun_cartridges":"Mkebe wa risasi","styro_small":"Styrofoam ndogo","styro_medium":"Styrofoam ya kati","styro_large":"Styrofoam kubwa","coastal_other":"FUfukweni-nyingine"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Uchafu wa mbwa","littercat":"Uchafu wa paka","duck":"Uchafu bata"},"other":{"dogshit":"Choo cha mbwa","pooinbag":"Choo cha mbwa kwenye begi","automobile":"Vyombo vya moto","clothing":"Mavazi","traffic_cone":"Koni za trafiki","life_buoy":"Boya lakuokolea maisha","plastic":"Plastiki Isiyojulikana","dump":"Utupaji Haramu","metal":"Vitu vya chuma","plastic_bags":"Vifungashio vya plastiki","election_posters":"Mabango ya uchaguzi","forsale_posters":"Mabango ya matangazo","books":"Vitabu","magazine":"Jarida","paper":"Karatasi","stationary":"Vifaa vya kuandikia","washing_up":"Chupa ya Kuosha","hair_tie":"Vibanio vya nywele","ear_plugs":"Foni (muziki)","batteries":"Betri","elec_small":"Umeme vidogo","elec_large":"Umeme vya kati","random_litter":"Taka mchanganyiko","balloons":"Maputo","bags_litter":"Magi ya taka","overflowing_bins":"Ndoo zinazofurika taka","tyre":"Tairi","cable_tie":"Kifungo cha Cable","other":"nyingine-nyingine"},"presence":{"picked-up":"Niliiokota!","still-there":"Haikuokotwa!","picked-up-text":"Imeondoka","still-there-text":"Taka bado ipo"},"no-tags":"Hakuna nembo","not-verified":"Inasubiria uhakiki","not-tagged-yet":"Bado haija wekewa nembo","dogshit":{"poo":"Shangaza!","poo_in_bag":"Chakushangaza kwenye begi!"},"material":{"aluminium":"Aluminiam","bronze":"Shaba","carbon_fiber":"Nyuzi za Carbon","ceramic":"Kauri","composite":"Mchanganyiko","concrete":"Zege","copper":"Shaba","fiberglass":"Nyuzi za glasi","glass":"Glasi","iron_or_steel":"Chuma","latex":"Latex","metal":"Chuma","nickel":"Nickel","nylon":"Nailoni","paper":"Karatasi","plastic":"Plastiki","polyethylene":"Polyethilini","polymer":"Polima","polypropylene":"Polypropen","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Mpira","titanium":"Titanium","wood":"Mbao"}}')},"l+Pr":function(t){t.exports=JSON.parse('{"change-details":"Modificar datos personales","your-name":"Tu nombre","unique-id":"Identificador único","email":"Correo electrónico","update-details":"Actualizar datos"}')},lF28:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("sTxc"),o=n("kGIl"),s=n.n(o);n("5A0h");function l(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var u={name:"States",created:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,window.scroll({top:0,left:0}),n=window.location.href.split("/")[4],t.next=5,e.$store.dispatch("GET_STATES",n);case 5:e.loading=!1;case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){l(a,i,r,o,s,"next",t)}function s(t){l(a,i,r,o,s,"throw",t)}o(void 0)}))})()},components:{Loading:s.a,SortLocations:a.a},data:function(){return{loading:!0}},computed:{backButtonText:function(){return this.$store.state.locations.countryName}},methods:{goBack:function(){this.$store.commit("setLocations",[]),this.$router.push({path:"/world"})}}},c=n("KHd+"),h=Object(c.a)(u,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"locations-container"},[e("section",{staticClass:"hero is-info is-medium"},[e("div",{staticClass:"hero-body"},[e("div",{staticClass:"container"},[e("div",{staticClass:"columns"},[e("div",{staticClass:"column is-4"},[e("h1",{staticClass:"title is-1 flex pointer",on:{click:this.goBack}},[e("i",{directives:[{name:"show",rawName:"v-show",value:!this.loading,expression:"!loading"}],staticClass:"fa fa-chevron-left country-back"}),this._v("\n "+this._s(this.backButtonText)+"\n ")])])])])])]),this._v(" "),e("sort-locations",{attrs:{locationType:"state"}})],1)}),[],!1,null,"2a1d6ad0",null);e.default=h.exports},lL9X:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.box[data-v-713cf557] {\n min-height: 100%;\n}\n\n",""])},lVEh:function(t){t.exports=JSON.parse('{"title":"Uko tayari?","subtitle":"Jisajili ili uwe mtaalamu wa ramani ya takataka na utusaidie kushinda uchafuzi wa plastiki.","crowdfunding-message":"Tafadhali unga mkono jitihada zetu kwa kufadhili OpenLitterMap kwa kutumia kiasi kidogo angalau senti 6 kwa siku na usajili wa kila mwezi ili kusaidia kukuza na kuendeleza jukwaa hili muhimu.","form-create-account":"Fungua akaunti yako","form-field-name":"Jina","form-field-unique-id":"Kitambulisho cha Kipekee","form-field-email":"Barua pepe","form-field-password":"Neno la siri. Lazima liwe na herufi kubwa, ndogo na nambari.","form-field-pass-confirm":"Hakiki neno la siri","form-account-conditions":"Nimesoma na kukubaliana na Sheria na Masharti na Sera ya Faragha","form-btn":"Jisajili","create-account-note":"Kumbuka: Ikiwa hujapokea barua pepe ya uthibitishaji , tafadhali angalia folda lako la spam/junk folder."}')},lbgl:function(t){t.exports=JSON.parse('{"welcome":"Bienvenido a tu nuevo Perfil","out-of":"De {total} usuarios","rank":"Actualmente estas en la {rank} posición","have-uploaded":"Has subido","photos":"Fotos","tags":"Etiquetas","all-photos":"de todas las fotos","all-tags":"de todas las etiquetas","your-level":"Tu nivel","reached-level":"Has alcanzado el nivel","have-xp":"y tienes","need-xp":"Necesitas","to-reach-level":"para alcanzar el siguiente nivel.","total-categories":"Total categorías","calendar-load-data":"Cargar datos","download-data":"Descargar mis datos","email-send-msg":"Se enviará un correo electrónico a la dirección que utilizas para iniciar sesión.","timeseries-verified-photos":"Fotos verificadas","manage-my-photos":"¡Ve tus fotos, selecciona varias, elimínalas o añade etiquetas!","view-my-photos":"Ver mis fotos","my-photos":"Mis fotos","add-tags":"Anadir etiquetas","bulk-tag-dblclick-info":"¡Haz doble clic para hacer zoom en las fotos!"}')},leKr:function(t){t.exports=JSON.parse('{"general":"General","password":"Contraseña","details":"Datos personales","social":"Cuentas Sociales","account":"Mi cuenta","payments":"Mis pagos","privacy":"Privacidad","littercoin":"Littercoin (LTRX)","presence":"Presencia","emails":"Corres electrónicos","show-flag":"Mostrar bandera","teams":"Equipos"}')},lhb6:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".-mt-2[data-v-6749f36b] {\n margin-top: -2px;\n}",""])},lk3M:function(t){t.exports=JSON.parse('{"de":{"name":"Alemanha","lang":"Alemão"},"en":{"name":"Reino Unido","lang":"English"},"es":{"name":"Espanha","lang":"Español"},"fr":{"name":"França","lang":"Francês"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Irlanda","lang":"Irlandês"},"it":{"name":"Italia","lang":"Italiano"},"ms":{"name":"Malásia","lang":"Malaia"},"nl":{"name":"Holanda","lang":"Nederlands"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turquia","lang":"Turco"},"uk":{"name":"Reino Unido","lang":"Inglês"},"pl":{"name":"Polônia","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},ls82:function(t,e,n){var i=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",o=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,i){var r=e&&e.prototype instanceof h?e:h,a=Object.create(r.prototype),o=new k(i||[]);return a._invoke=function(t,e,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return T()}for(n.method=r,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=u(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(t,n,o),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var c={};function h(){}function d(){}function p(){}var f={};f[r]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(C([])));g&&g!==e&&n.call(g,r)&&(f=g);var v=p.prototype=h.prototype=Object.create(f);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var i;this._invoke=function(r,a){function o(){return new e((function(i,o){!function i(r,a,o,s){var l=u(t[r],t,a);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(h).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(l.arg)}(r,a,i,o)}))}return i=i?i.then(o,o):o()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=u(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,c;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function C(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function e(){for(;++i=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},ltXA:function(t,e,n){"use strict";var i=n("XuX8"),r=n.n(i),a=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];var o=Array.isArray;function s(t){return null!==t&&"object"==typeof t}function l(t){return"string"==typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function h(t){return null==t}function d(t){return"function"==typeof t}function p(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,i=null;return 1===t.length?s(t[0])||o(t[0])?i=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(s(t[1])||o(t[1]))&&(i=t[1])),{locale:n,params:i}}function f(t){return JSON.parse(JSON.stringify(t))}function m(t,e){return!!~t.indexOf(e)}var g=Object.prototype.hasOwnProperty;function v(t,e){return g.call(t,e)}function y(t){for(var e=arguments,n=Object(t),i=1;i0;)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(T),T.mixin(b),T.directive("t",{bind:S,update:P,unbind:L}),T.component(w.name,w),T.component(E.name,E),T.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var z=function(){this._caches=Object.create(null)};z.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,i="";for(;n0)h--,c=4,d[0]();else{if(h=0,void 0===n)return!1;if(!1===(n=B(n)))return!1;d[1]()}};null!==c;)if(u++,"\\"!==(e=t[u])||!p()){if(r=F(e),8===(a=(s=R[c])[r]||s.else||8))return;if(c=a[0],(o=d[a[1]])&&(i=void 0===(i=a[2])?e:i,!1===o()))return;if(7===c)return l}}(t))&&(this._cache[t]=e),e||[]},U.prototype.getPathValue=function(t,e){if(!s(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var i=n.length,r=t,a=0;a/,G=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,V=/^@(?:\.([a-z]+))?:/,H=/[()]/g,W={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Y=new z,Z=function(t){var e=this;void 0===t&&(t={}),!T&&"undefined"!=typeof window&&window.Vue&&M(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},a=t.dateTimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Y,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new U,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(e,t,n);var r,a;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(r=t,a=n,r=Math.abs(r),2===a?r?r>1?1:0:1:r?Math.min(r,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!h(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:a,numberFormats:o})},X={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Z.prototype._checkLocaleMessage=function(t,e,n){var i=function(t,e,n,r){if(c(n))Object.keys(n).forEach((function(a){var o=n[a];c(o)?(r.push(a),r.push("."),i(t,e,o,r),r.pop(),r.pop()):(r.push(a),i(t,e,o,r),r.pop())}));else if(o(n))n.forEach((function(n,a){c(n)?(r.push("["+a+"]"),r.push("."),i(t,e,n,r),r.pop(),r.pop()):(r.push("["+a+"]"),i(t,e,n,r),r.pop())}));else if(l(n)){if($.test(n))r.join("")}};i(e,t,n,[])},Z.prototype._initVM=function(t){var e=T.config.silent;T.config.silent=!0,this._vm=new T({data:t}),T.config.silent=e},Z.prototype.destroyVM=function(){this._vm.$destroy()},Z.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Z.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Z.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)T.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Z.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Z.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},X.vm.get=function(){return this._vm},X.messages.get=function(){return f(this._getMessages())},X.dateTimeFormats.get=function(){return f(this._getDateTimeFormats())},X.numberFormats.get=function(){return f(this._getNumberFormats())},X.availableLocales.get=function(){return Object.keys(this.messages).sort()},X.locale.get=function(){return this._vm.locale},X.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},X.fallbackLocale.get=function(){return this._vm.fallbackLocale},X.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},X.formatFallbackMessages.get=function(){return this._formatFallbackMessages},X.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},X.missing.get=function(){return this._missing},X.missing.set=function(t){this._missing=t},X.formatter.get=function(){return this._formatter},X.formatter.set=function(t){this._formatter=t},X.silentTranslationWarn.get=function(){return this._silentTranslationWarn},X.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},X.silentFallbackWarn.get=function(){return this._silentFallbackWarn},X.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},X.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},X.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},X.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},X.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},X.postTranslation.get=function(){return this._postTranslation},X.postTranslation.set=function(t){this._postTranslation=t},Z.prototype._getMessages=function(){return this._vm.messages},Z.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Z.prototype._getNumberFormats=function(){return this._vm.numberFormats},Z.prototype._warnDefault=function(t,e,n,i,r,a){if(!h(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,i,r]);if(l(o))return o}else 0;if(this._formatFallbackMessages){var s=p.apply(void 0,r);return this._render(e,a,s.params,e)}return e},Z.prototype._isFallbackRoot=function(t){return!t&&!h(this._root)&&this._fallbackRoot},Z.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Z.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Z.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Z.prototype._interpolate=function(t,e,n,i,r,a,s){if(!e)return null;var u,p=this._path.getPathValue(e,n);if(o(p)||c(p))return p;if(h(p)){if(!c(e))return null;if(!l(u=e[n])&&!d(u))return null}else{if(!l(p)&&!d(p))return null;u=p}return l(u)&&(u.indexOf("@:")>=0||u.indexOf("@.")>=0)&&(u=this._link(t,e,u,i,"raw",a,s)),this._render(u,r,a,n)},Z.prototype._link=function(t,e,n,i,r,a,s){var l=n,u=l.match(G);for(var c in u)if(u.hasOwnProperty(c)){var h=u[c],d=h.match(V),p=d[0],f=d[1],g=h.replace(p,"").replace(H,"");if(m(s,g))return l;s.push(g);var v=this._interpolate(t,e,g,i,"raw"===r?"string":r,"raw"===r?void 0:a,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;v=y._translate(y._getMessages(),y.locale,y.fallbackLocale,g,i,r,a)}v=this._warnDefault(t,g,v,i,o(a)?a:[a],r),this._modifiers.hasOwnProperty(f)?v=this._modifiers[f](v):W.hasOwnProperty(f)&&(v=W[f](v)),s.pop(),l=v?l.replace(h,v):l}return l},Z.prototype._createMessageContext=function(t){var e=o(t)?t:[],n=s(t)?t:{};return{list:function(t){return e[t]},named:function(t){return n[t]}}},Z.prototype._render=function(t,e,n,i){if(d(t))return t(this._createMessageContext(n));var r=this._formatter.interpolate(t,n,i);return r||(r=Y.interpolate(t,n,i)),"string"!==e||l(r)?r:r.join("")},Z.prototype._appendItemToChain=function(t,e,n){var i=!1;return m(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Z.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var a=r.join("-");i=this._appendItemToChain(t,a,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Z.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r0;)a[o]=arguments[o+4];if(!t)return"";var s=p.apply(void 0,a),l=s.locale||e,u=this._translate(n,l,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(a))}return u=this._warnDefault(l,t,u,i,a,"string"),this._postTranslation&&null!=u&&(u=this._postTranslation(u,t)),u},Z.prototype.t=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Z.prototype._i=function(t,e,n,i,r){var a=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,a,i,[r],"raw")},Z.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Z.prototype._tc=function(t,e,n,i,r){for(var a,o=[],s=arguments.length-5;s-- >0;)o[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},u=p.apply(void 0,o);return u.params=Object.assign(l,u.params),o=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((a=this)._t.apply(a,[t,e,n,i].concat(o)),r)},Z.prototype.fetchChoice=function(t,e){if(!t&&!l(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Z.prototype.tc=function(t,e){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Z.prototype._te=function(t,e,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var a=p.apply(void 0,i).locale||e;return this._exist(n[a],t)},Z.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Z.prototype.getLocaleMessage=function(t){return f(this._vm.messages[t]||{})},Z.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Z.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,y({},this._vm.messages[t]||{},e))},Z.prototype.getDateTimeFormat=function(t){return f(this._vm.dateTimeFormats[t]||{})},Z.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Z.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,y(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Z.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Z.prototype._localizeDateTime=function(t,e,n,i,r){for(var a=e,o=i[a],s=this._getLocaleChain(e,n),l=0;l0;)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?l(e[0])?r=e[0]:s(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(l(e[0])&&(r=e[0]),l(e[1])&&(i=e[1])),this._d(t,i,r)},Z.prototype.getNumberFormat=function(t){return f(this._vm.numberFormats[t]||{})},Z.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Z.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,y(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Z.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Z.prototype._getNumberFormatter=function(t,e,n,i,r,a){for(var o=e,s=i[o],l=this._getLocaleChain(e,n),u=0;u0;)e[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===e.length?l(e[0])?r=e[0]:s(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var i;return m(a,n)?Object.assign({},t,((i={})[n]=e[0][n],i)):t}),null)):2===e.length&&(l(e[0])&&(r=e[0]),l(e[1])&&(i=e[1])),this._n(t,i,r,o)},Z.prototype._ntp=function(t,e,n,i){if(!Z.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).formatToParts(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),a=r&&r.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return a||[]},Object.defineProperties(Z.prototype,X),Object.defineProperty(Z,"availabilities",{get:function(){if(!q){var t="undefined"!=typeof Intl;q={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return q}}),Z.install=M,Z.version="8.21.0";var J=Z,K=n("TH7d"),Q=n("9FWL"),tt=n("gGk+"),et={login:K,signup:Q,subscribe:tt},nt=n("HOht"),it=n("2Uk4"),rt=n("Hc5j"),at=n("IKhi"),ot=n("1O6V"),st=n("+7PB"),lt=n("vwrS"),ut=n("40O4"),ct={about:rt,donate:at,footer:ot,welcome:st,community:lt,globalMap:ut},ht=n("ePAn"),dt=n("1rbm"),pt=n("5S+d"),ft=n("kv4v"),mt={cityVueMap:pt,countries:ft},gt=n("T7To"),vt=n("Zhs0"),yt=n("pAip"),_t={dashboard:yt},bt=n("V2N6"),wt=n("1tOW"),xt=n("GGJd"),kt=n("6mC8"),Ct=n("94G+"),Tt=n("u8o6"),Et=n("eSK7"),St=n("qrWs"),Pt=n("BDmR"),Lt=n("4loq"),It=n("Xlqv"),Ot={account:bt,social:wt,common:xt,details:kt,emails:Ct,globalFlag:Tt,littercoin:Et,password:St,payments:Pt,presence:Lt,privacy:It},At=n("RRYh"),Mt=n("15wQ"),zt=n("diqR"),Nt=n("1rPI"),Dt=n("EDOO"),Rt=n("sIYV"),jt=n("PT26"),Ft=n("B8Gz"),Bt={create:zt,dashboard:Nt,join:Dt,leaderboard:Rt,myteams:jt,settings:Ft},Ut=n("SFi8"),qt={auth:et,common:nt,creditcard:it,home:ct,litter:ht,location:dt,locations:mt,nav:gt,notifications:vt,profile:_t,settings:Ot,signup:At,tags:Mt,teams:Bt,upload:Ut},$t=n("7VP3"),Gt=n("0NR4"),Vt=n("E6oU"),Ht={login:$t,signup:Gt,subscribe:Vt},Wt=n("wEH+"),Yt=n("tIw/"),Zt=n("gUen"),Xt=n("VRB9"),Jt=n("N+wP"),Kt=n("09JO"),Qt=n("fjiq"),te=n("EzV4"),ee={about:Zt,donate:Xt,footer:Jt,welcome:Kt,community:Qt,globalMap:te},ne=n("fIXd"),ie=n("tulk"),re=n("XqNS"),ae=n("0Ajk"),oe={cityVueMap:re,countries:ae},se=n("+4ci"),le=n("oFPX"),ue=n("lbgl"),ce={dashboard:ue},he=n("56Dk"),de=n("NDTK"),pe=n("leKr"),fe=n("l+Pr"),me=n("cJYt"),ge=n("sG1D"),ve=n("1lel"),ye=n("QoU/"),_e=n("JumI"),be=n("nMp1"),we=n("vsSR"),xe={account:he,social:de,common:pe,details:fe,emails:me,globalFlag:ge,littercoin:ve,password:ye,payments:_e,presence:be,privacy:we},ke=n("VPXm"),Ce=n("CO0D"),Te=n("sX8j"),Ee=n("1SYZ"),Se=n("s2Pw"),Pe=n("Hw7p"),Le=n("TFCV"),Ie=n("1FiT"),Oe={create:Te,dashboard:Ee,join:Se,leaderboard:Pe,myteams:Le,settings:Ie},Ae=n("p+ct"),Me={auth:Ht,common:Wt,creditcard:Yt,home:ee,litter:ne,location:ie,locations:oe,nav:se,notifications:le,profile:ce,settings:xe,signup:ke,tags:Ce,teams:Oe,upload:Ae},ze=n("HQdr"),Ne=n("enqF"),De=n("DqzX"),Re={login:ze,signup:Ne,subscribe:De},je=n("gdWU"),Fe=n("rpVx"),Be=n("W76K"),Ue=n("On30"),qe=n("zSOa"),$e=n("8G2h"),Ge=n("Q32/"),Ve=n("HMOf"),He={about:Be,donate:Ue,footer:qe,welcome:$e,community:Ge,globalMap:Ve},We=n("v8ui"),Ye=n("5GFE"),Ze=n("2osq"),Xe=n("GoYr"),Je={cityVueMap:Ze,countries:Xe},Ke=n("kkbq"),Qe=n("VL2Z"),tn=n("CW5W"),en={dashboard:tn},nn=n("JkqQ"),rn=n("UnEU"),an=n("H9zO"),on=n("+XkP"),sn=n("EXqm"),ln=n("/xT5"),un=n("wHEA"),cn=n("slj6"),hn=n("g4/Y"),dn=n("gRT/"),pn=n("4Lso"),fn={account:nn,social:rn,common:an,details:on,emails:sn,globalFlag:ln,littercoin:un,password:cn,payments:hn,presence:dn,privacy:pn},mn=n("ZtsI"),gn=n("iaXR"),vn=n("bzCz"),yn=n("ujGR"),_n=n("xyEF"),bn=n("gD/i"),wn=n("pTi1"),xn=n("r3I6"),kn={create:vn,dashboard:yn,join:_n,leaderboard:bn,myteams:wn,settings:xn},Cn=n("bWQd"),Tn={auth:Re,common:je,creditcard:Fe,home:He,litter:We,location:Ye,locations:Je,nav:Ke,notifications:Qe,profile:en,settings:fn,signup:mn,tags:gn,teams:kn,upload:Cn},En=n("Hv2k"),Sn=n("/iew"),Pn=n("/xHF"),Ln={login:En,signup:Sn,subscribe:Pn},In=n("Ap9Q"),On=n("+BrE"),An=n("2/FA"),Mn=n("wUjy"),zn=n("2fOW"),Nn=n("C8vp"),Dn=n("qfSu"),Rn={about:An,donate:Mn,footer:zn,welcome:Nn,community:Dn},jn=n("9RCj"),Fn=n("oalr"),Bn=n("M3TT"),Un=n("+uFM"),qn={cityVueMap:Bn,countries:Un},$n=n("yHOK"),Gn=n("a67d"),Vn=n("JKCj"),Hn={dashboard:Vn},Wn=n("g+b/"),Yn=n("LcUr"),Zn=n("ZvzM"),Xn=n("36z2"),Jn={en:qt,es:Me,fr:Tn,hu:{auth:Ln,common:In,creditcard:On,home:Rn,litter:jn,location:Fn,locations:qn,nav:$n,notifications:Gn,profile:Hn,settings:{account:Wn,social:Yn,common:Zn,details:Xn,emails:n("dJrg"),globalFlag:n("be92"),littercoin:n("s306"),password:n("iZMr"),payments:n("tkaX"),presence:n("yeoh"),privacy:n("Sbn/")},signup:n("q4nw"),tags:n("6djo"),teams:{create:n("Pb1J"),dashboard:n("AxWf"),join:n("zzSn"),leaderboard:n("P3rd"),myteams:n("hnin"),settings:n("cD0Z")},upload:n("WL7+")},nl:{auth:{login:n("15/P"),signup:n("TW6y"),subscribe:n("DIPp")},common:n("QLhK"),creditcard:n("GvbF"),home:{about:n("nAEM"),donate:n("BGUB"),footer:n("p5/b"),welcome:n("KNCH"),community:n("xB1W"),globalMap:n("Ez+z")},litter:n("4CRn"),location:n("A85c"),locations:{cityVueMap:n("7QOT"),countries:n("nSSA")},nav:n("rhOw"),notifications:n("uvWH"),profile:{dashboard:n("feLt")},settings:{account:n("cXOZ"),social:n("dMz0"),common:n("GKyZ"),details:n("61Kv"),emails:n("YytN"),globalFlag:n("Sn/w"),littercoin:n("uFkq"),password:n("xoeU"),payments:n("+7ij"),presence:n("Tsbz"),privacy:n("jR8y")},signup:n("ILJX"),tags:n("NEqZ"),teams:{create:n("e7o3"),dashboard:n("+0tX"),join:n("eJw/"),leaderboard:n("pwP9"),myteams:n("Td1u"),settings:n("PeV8")},upload:n("Kb5C")},pl:{auth:{login:n("t2E5"),signup:n("/HxI"),subscribe:n("PCBF")},common:n("Sl6+"),creditcard:n("AYZs"),home:{about:n("gtXK"),donate:n("gMnw"),footer:n("8ClP"),welcome:n("ssMp"),community:n("kpIZ"),globalMap:n("tiDI")},litter:n("HpQ/"),location:n("OBXI"),locations:{cityVueMap:n("syxb"),countries:n("Bj9c")},nav:n("uWY9"),notifications:n("rJdF"),profile:{dashboard:n("AElL")},settings:{account:n("9Q6N"),social:n("SrbP"),common:n("G6KL"),details:n("g1lL"),emails:n("BE1l"),globalFlag:n("zNTn"),littercoin:n("P8nw"),password:n("P+KS"),payments:n("VigF"),presence:n("30qX"),privacy:n("Xs+J")},signup:n("TGU/"),tags:n("hqZl"),teams:{create:n("R7ON"),dashboard:n("4Plr"),join:n("dxLh"),leaderboard:n("b4WK"),myteams:n("o4on"),settings:n("E+4Y")},upload:n("BqL+")},pt:{auth:{login:n("ng3h"),signup:n("nVW1"),subscribe:n("BpIE")},common:n("VGFI"),creditcard:n("Y3sA"),home:{about:n("+2jo"),donate:n("NEmZ"),footer:n("qcgz"),welcome:n("xrdK"),community:n("2Nds"),globalMap:n("Hz4E")},litter:n("uA4O"),location:n("aLIK"),locations:{cityVueMap:n("6Ia7"),countries:n("lk3M")},nav:n("cUn5"),notifications:n("8V5I"),profile:{dashboard:n("HP61")},settings:{account:n("+fPF"),social:n("uD9k"),common:n("EpeX"),details:n("LhuG"),emails:n("5uan"),globalFlag:n("WvOj"),littercoin:n("Q8B6"),password:n("CacJ"),payments:n("9fnu"),presence:n("c0qq"),privacy:n("fYLw")},signup:n("YVy1"),tags:n("jTMi"),teams:{create:n("+z9b"),dashboard:n("R/GM"),join:n("BmvU"),leaderboard:n("sN9Z"),myteams:n("NcSw"),settings:n("LxGr")},upload:n("YenQ")},sw:{auth:{login:n("sHr0"),signup:n("iTxj"),subscribe:n("lVEh")},common:n("TTnB"),creditcard:n("oR4i"),home:{about:n("WnxK"),donate:n("RqL8"),footer:n("oQsM"),welcome:n("PEqn"),community:n("CxA2"),globalMap:n("3L/Y")},litter:n("kzuA"),location:n("Lb50"),locations:{cityVueMap:n("EDK3"),countries:n("jFJf")},nav:n("kY4/"),notifications:n("CvDn"),profile:{dashboard:n("eTB5")},settings:{account:n("4j8G"),social:n("HMki"),common:n("Aaoo"),details:n("Wg6k"),emails:n("vC4K"),globalFlag:n("VPFN"),littercoin:n("wb9+"),password:n("j/zF"),payments:n("DO4j"),presence:n("Tz4O"),privacy:n("ACKy")},signup:n("70H2"),tags:n("mK6p"),teams:{create:n("F99G"),dashboard:n("Dcc/"),join:n("rRwV"),leaderboard:n("bgq+"),myteams:n("dkfv"),settings:n("W+eS")},upload:n("X/mx")}};r.a.use(J);e.a=new J({locale:"en",fallbackLocale:"en",messages:Jn})},m2r5:function(t,e,n){var i=n("fcDi");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},m7SO:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.cmc[data-v-5b5ada14] {\n height: calc(100vh - 82px);\n}\n",""])},mK6p:function(t){t.exports=JSON.parse('{"address":"Anuani","add-tag":"Ongeza lebo","coordinates":"Mahali","device":"Kifaa","next":"Picha inayofuta","no-tags":"Huna chochote cha kuweka lebo kwa sasa.","picked-up-title":"Imeokotwa?","please-upload":"Pakia picha zaidi","previous":"Picha iliyopita","removed":"Taka imeondolewa","still-there":"Taka bado ipo hapo","taken":"Chukuliwa","to-tag":"Pichwa imeachwa iwekewe lebo","total-uploaded":"Jumla ya picha zilizopakiwa","uploaded":"Imepakiwa","confirm-delete":"Je, ungependa kufuta picha hii? Hili haliwezi kutenduliwa.","recently-tags":"Lebo zilizotumiwa hivi karibuni: ","clear-tags":"Ungependa kufuta lebo za hivi karibuni?","clear-tags-btn":"Futa lebo za hivi karibuni","search-all-tags":"Bonyeza Ctrl + Spacebar ili Utafute Lebo Zote","search-custom-tags":"Ongeza lebo zako mwenyewe","custom-tags":"Lebo Maalum","custom-tags-min":"Inahitaji kuwa na urefu wa angalau vibambo 3.","custom-tags-max":"Inahitaji kuwa na urefu zisiozidi herufi 100.","tag-already-added":"Lebo tayari imeshaongezwa.","tag-limit-reached":"Unaweza kupakia hadi lebo 3 maalum."}')},mM78:function(t,e,n){var i=n("YP0+");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},meck:function(t,e,n){"use strict";var i=n("CASQ");n.n(i).a},mrkR:function(t,e,n){"use strict";n.r(e);var i={name:"FAQ",mounted:function(){window.scrollTo(0,0)}},r=(n("GsvD"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"hero section-faq"},[e("div",{staticClass:"hero-body"},[e("div",{staticClass:"py-2 mb-6"},[e("div",{staticClass:"title has-text-light has-text-centered"},[this._v("\n "+this._s(this.$t("common.faq"))+"\n ")])]),this._v(" "),this._m(0)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"faq"},[n("ul",[n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What is OpenLitterMap?")]),t._v(" "),n("p",[t._v("OpenLitterMap is an open source, interactive, and accessible databsase of the world's litter & plastic pollution.\n We are turning cleaning the planet into a game, to make it fun and easy to collect data.\n This data is important to give visibility to litter, and help find solutions like where to put bins, ashtrays & more.\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("Why is it called OpenLitterMap?")]),t._v(" "),n("p",[t._v('\n "Open" - because all of our code & data is open source. This means that anyone can access the code, learn from it,\n improvee it, or use it in another project! You don\'t have to be a developer to appreciate how powerful this is.\n Open source code can be passed on from generation to generation,\n who can build on it, learn from it and use it to continue to help improve society for the betterment of humanity.\n '),n("br"),t._v(" "),n("br"),t._v("\n Not only is all of our code open source, which you can find at "),n("a",{attrs:{href:"https://github.com/openlittermap"}},[t._v("https://github.com/openlittermap")]),t._v("\n but all of our data is also openly available for anyone to download and start using. This is in contrast to many other apps,\n who do not open up access to their code and data as they are trying to keep it for themselves (booo!!!)\n "),n("br"),t._v('\n "LitterMap" - because we visualise our entire global repository on the global map, which loads all data in\n 30kb and 33ms (August 2022).\n '),n("br"),t._v("\n The OpenLitterMap name was inspired by "),n("a",{attrs:{href:"https://openstreetmap.org"}},[t._v("OpenStreetMap")]),t._v(" which is the most\n detailed & comprehensive map of the world ever created by over 2-million volunteers that contiunes to be updated\n constantly. Unlike other services like Google Maps, which is not open and owned by Google, OpenStreetMap code\n and data is open to everyone, allowing anyone to be a part of adding, editing or using the code and/or data.\n Inspired by the open source values of OpenStreetMap, we decided to apply the same open values to litter and plastic pollution.\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("How do I take pictures?")]),t._v(" "),n("p",[t._v("\n Firstly, make sure that your phone has the right settings:\n "),n("br"),t._v('  • iPhone. Open Settings -> Privacy -> Location. Turn "Camera On While Using".\n\n '),n("br"),t._v("  • Android. Open the Camera.\n "),n("br"),t._v("Go to camera settings => Activate Geotagging.\n "),n("br"),t._v("Pull down top-menu and Activate GPS\n\n "),n("br"),n("br"),t._v("There are different ways to take pictures:\n "),n("br"),t._v("  • Open your normal camera and use that to take the photos (our preferred way)\n "),n("br"),t._v("  • Open the app and take pictures from within the app (This is currently disabled.)\n\n "),n("br"),n("br"),t._v("There are 2 ways to upload and tag your data. You can use the mobile app, or you\n can use openlittermap.com and log in there. If you visit the website, you have to upload\n your images first, then tag them. Some people prefer this way, as you get a full screen,\n a keyboard, and you can tag many items at once. Other people prefer using the mobile app,\n where you have to select your images first, tag them, and upload the tagged ones.\n\n "),n("br"),t._v("Check your setting: do you normally pick up the litter or not?\n\n "),n("br"),t._v("If you want to take pictures without draining your battery, it is\n okay to put it in flight-mode! To determine your location, you need\n the GPS sensor in your device to connect to a location-tracking satellite,\n not your cellular or wifi network. You can collect geospatial data anywhere, without\n needing a connection to anything else. This means that it works in the most remote\n parts of the world, but you need to connect to the internet if you want to upload your data.\n\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What is Littercoin?")]),t._v(" "),n("p",[t._v("Littercoin is the reward that our users get for producing geographic information.\n You can not buy Littercoin. You can only earn it by joining the community and helping us collect data.\n "),n("br"),t._v("Littercoin does not yet have a value, but we are working on it by locking ADA in a smart contract\n which will give each Littercoin value. Our vision is that your Littercoin can only be spent at\n participating pre-approved zero-waste stores that partner up. Unlike traditional government\n money that is printed out of thin-air, Littercoin is a new type of environmental currency that is\n created by people helping to clean the planet and can be spent in climate-approved stores only.\n "),n("br"),t._v("Unlike other cryptocurrencies, we are not going to list Littercoin on any exchange, making it non-tradable.\n The smart contract will be able to verify the integrity of each token, proving it has not been traded or\n listed on an exchange.\n "),n("br"),t._v("Cheating the system (‘oh, let me just drop a bunch of litter here and take a lot of\n photos of it’) is possible, but in reality, nobody does this and the benefits will far outweigh any\n cheating. There is also so much litter out there that finding it is much easier than carrying it around.\n We have a system in place that involves reviewing all tags on each image. This is generating high quality\n data that is being used to train the OpenLitterAI, which will make verification easier.\n If you really want to cheat the system, you might as well rob a zero-waste store.\n (Please don’t).\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("How can I download the images?")]),t._v(" "),n("p",[t._v("This feature is not working properly yet as openlittermap is still in development.\n Do you think the development of this technology is important?\n https://gofundme.com/openlittermap\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What’s the use of having an option ‘I did not pick it up’?")]),t._v(" "),n("p",[t._v("Isn’t it all about cleaning the earth and picking litter? Good question! Yes, the idea is to\n make the world a better place, and there are many ways to do that. Most of us pick litter,\n so right at that moment, a difference is being made, the world is a bit cleaner than before.\n And we don’t just pick the litter, but we also take a picture to create data about that\n litter that can be used long after the litter is gone.\n "),n("br"),t._v("However, there are situatuibs when someone would take a picture without picking the\n litter:\n "),n("br"),t._v("  • The litter is too big. You are walking with your dog and picking some\n litter while doing so, but suddenly you see something that shouldn’t be there but it is too\n big. (a car-wheel, a broken toilet, etc.).\n "),n("br"),t._v("  • It’s too dangerous. For instance during Covid, a lot of litter-pickers\n stopped picking litter like facemasks because of the risk of Covid. However, taking pictures\n of the facemasks was still possible and welcome.\n "),n("br"),t._v("  • You believe that leaving the litter where it was found is making a bigger\n impact. This might also be true. Some people believe that by removing the litter, you are in\n fact saying ‘dump whatever you want, I’ll come around and pick it up’. Others believe ‘if\n the place is clean, it will stay clean for a longer period of time. We ourselves don’t\n believe in either of them. Anyway, if you want to make an impact by not touching the litter,\n you can still register it.\n "),n("br"),t._v("   • Someone else can pick it up. Suppose you are in a wheelchair, or late for a meeting.\n By collecting data, you can create data that other people can respond to. This feature is still\n in development.\n "),n("br"),t._v("   • We can also use those pictures to train our Machine Learning model. The more pictures we\n have from different kinds of litter, the better we can train the computer to recognise the litter;\n eventually it can help us in predicting what the litter in the picture is and\n lessen the trouble of you or us having to tag it manually\n "),n("br"),t._v("   • The data tells an important story. Some people don't want to pick up litter, but\n they are happy to try and help educate society. We have been picking up litter for decades\n and its getting worse, so clearly picking up litter alone is not working. If picking up\n litter is all we do, that is all we will ever do. Collecting data can be a more effective\n educational tool long-term to fix the problem.\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("Taking pictures and tagging them is taking a lot of time, what to do?")]),t._v(" "),n("p",[t._v("You could try our ‘bulk-tag’option. You can find this on the add-tags page, or your profile.\n Here you can see the photos that you uploaded from web that you need to tag.\n If you have similar photos (for instance all pictures with a redbull-can),\n you can select all of them and then choose ‘start tagging’, now you only have\n to give the right tags once and these will be applied to all selected pictures.\n The pictures that were not selected remain so you could repeat the process if you want to.\n This tool actually works really good, go check it out!\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What kind of pictures should I take?")]),t._v(" "),n("p",[n("br"),t._v("  • This is entirely up to you and depends on what kind of story you want to take.\n "),n("br"),t._v("  • If you want, you can add 1 tag to each photo.\n "),n("br"),t._v("  • Or, you can include many objects in a single photo.\n "),n("br"),t._v("  • If its not possible to count the litter, you can use the Dumping category\n (small, medium, large) and pick a number between 0-100 depending on how bad you think the problem is.\n\n "),n("br"),t._v("  • When possible, hold your camera as close to the item as possible.\n "),n("br"),t._v("  • If there is a brand on the item, make sure that is also visible in the\n picture.\n "),n("br"),t._v("  • Don't include people, faces, shadows, feet, or clothes. Please take photos of litter ONLY.\n With these guidelines, you can help us create an excellent quality datasetset and you will\n make life easier for those who need to help verify the data.\n However, there are situations where this is not possible. For instance, you see something\n floating in the water and are not able to pick it, or turn it to see if there is a brand on\n it, or to zoom in. That’s okay, it is still valuable data and we welcome your contribution.\n\n "),n("br"),t._v("Do I have to take 1 photo per item?\n "),n("br"),t._v("  • No, you don’t. You can take 1 photo, apply a tag of cigarette butts tag with a quantity of 50.\n "),n("br"),t._v("And if I find different objects close together, do i have to sort those first?\n "),n("br"),t._v("  • Some people do this, but its not necessary. It all depends what kind of story you want to tell.\n "),n("br"),t._v("So do whatever you prefer, but do try and help us build a high quality database!\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("How to tag correctly?")]),t._v(" "),n("p",[t._v("\n There is no single method to tag pictures, all data is valuable. It is also 'your story'\n to tell. However, you should try to tell what kind of item it is (it should be available\n under some category, and only if it is not, use 'other') and if possible add the brand as\n well (if the brand is not available yet, you could use the custom tags input). But try to use\n the pre-defined tags as much as possible.\n "),n("br"),t._v("If possible, tag the ‘worst’ material. So an item with both plastic and paper, tag as\n plastic.\n "),n("br"),n("br"),t._v("Some examples:\n "),n("br"),t._v("red bull can → 2 tags: ‘the object’ (look for the best ‘can’ that you can find) + brand\n "),n("br"),t._v("Soda can with a brand that we don’t have yet → 1 predefined tag (can) + 1\n customtag:somebrandname\n "),n("br"),t._v("If you have found an energy-can, only give 1 tag for the item: so don’t tag it as ‘can’\n and ‘energycan’, but just as an energycan\n "),n("br"),n("br"),t._v("Multiple litter items in a photo can be tagged with appropriate counts applied. A\n photo can contain a mixture of beer bottles, beer cans, plastic cups, or any number of\n recognized category items. Multiple recognized brands and their counts can also be applied.\n ")])])])])}],!1,null,"15fcfe1f",null);e.default=a.exports},ms69:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".bulk-tag[data-v-7a4ea0d6] {\n padding: 3rem;\n}\n.my-photos-grid-container[data-v-7a4ea0d6] {\n display: grid;\n grid-template-rows: repeat(5, 1fr);\n grid-template-columns: repeat(6, 1fr);\n grid-row-gap: 0.5em;\n grid-column-gap: 0.5em;\n}\n.my-grid-photo[data-v-7a4ea0d6] {\n max-height: 10em;\n max-width: 10em;\n position: relative;\n}\n.my-grid-photo .litter[data-v-7a4ea0d6] {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n border-radius: 5px;\n}\n.grid-checkmark[data-v-7a4ea0d6] {\n position: absolute;\n height: 32px;\n bottom: 8px;\n right: 0;\n color: #0ca3e0;\n font-size: 1rem;\n padding: 5px;\n}\n.grid-checkmark .tag-icon[data-v-7a4ea0d6] {\n position: relative;\n height: 30px;\n width: 30px;\n border-radius: 50%;\n background-color: black;\n}\n.grid-checkmark .tag-icon i[data-v-7a4ea0d6] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.grid-tagged[data-v-7a4ea0d6] {\n position: absolute;\n height: 32px;\n top: 0;\n right: 0;\n color: #00d1b2;\n font-size: 1rem;\n padding: 5px;\n cursor: pointer;\n}\n.grid-tagged .tag-icon[data-v-7a4ea0d6] {\n position: relative;\n height: 30px;\n width: 30px;\n border-radius: 50%;\n background-color: black;\n}\n.grid-tagged .tag-icon i[data-v-7a4ea0d6] {\n position: absolute;\n top: 52%;\n left: 52%;\n transform: translate(-50%, -50%);\n}\n.grid-tagged .tooltip-text[data-v-7a4ea0d6] {\n min-width: -webkit-max-content;\n min-width: -moz-max-content;\n min-width: max-content;\n transform: translate(-50%, -5px);\n}\n.grid-tagged[data-v-7a4ea0d6]:hover {\n transform: scale(1.05);\n}\n.photo-tags[data-v-7a4ea0d6] {\n position: absolute;\n top: 105%;\n right: 50%;\n width: 250px;\n padding: 10px;\n background: ghostwhite;\n box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);\n border-radius: 5px;\n transform: translateX(50%);\n z-index: 10;\n}\n.photos-info[data-v-7a4ea0d6] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.photos-info .info-icon[data-v-7a4ea0d6] {\n display: flex;\n justify-content: center;\n align-items: center;\n color: white;\n background-color: #00d1b2;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n}\n.photos-info .info-icon i[data-v-7a4ea0d6] {\n margin-top: 2px;\n}\n.bottom-actions[data-v-7a4ea0d6] {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n margin-top: 16px;\n gap: 8px;\n}\n.bottom-actions .bottom-navigation[data-v-7a4ea0d6] {\n display: flex;\n flex-direction: row;\n}\n.bottom-actions .bottom-right-actions[data-v-7a4ea0d6] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n}\n\n/* Laptop and above */\n@media (min-width: 1027px) {\n.my-photos-grid-container[data-v-7a4ea0d6] {\n grid-template-rows: repeat(3, 1fr);\n grid-template-columns: repeat(10, 1fr);\n grid-row-gap: 1em;\n grid-column-gap: 1em;\n}\n.bottom-actions[data-v-7a4ea0d6] {\n flex-direction: row;\n gap: 0;\n}\n.bottom-actions .bottom-right-actions[data-v-7a4ea0d6] {\n flex-direction: row;\n}\n}\n.fade-enter-active[data-v-7a4ea0d6], .fade-leave-active[data-v-7a4ea0d6] {\n transition: opacity 0.3s;\n}\n.fade-enter[data-v-7a4ea0d6], .fade-leave-to[data-v-7a4ea0d6] {\n opacity: 0;\n}",""])},myLu:function(t,e,n){(function(t,n){var i="[object Arguments]",r="[object Map]",a="[object Object]",o="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,u=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[i]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[r]=f["[object Number]"]=f[a]=f["[object RegExp]"]=f[o]=f["[object String]"]=f["[object WeakMap]"]=!1;var m="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y=e&&!e.nodeType&&e,_=y&&"object"==typeof n&&n&&!n.nodeType&&n,b=_&&_.exports===y&&m.process,w=function(){try{return b&&b.binding("util")}catch(t){}}(),x=w&&w.isTypedArray;function k(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function C(t,e){for(var n=-1,i=t?t.length:0,r=Array(i);++n-1},ht.prototype.set=function(t,e){var n=this.__data__,i=gt(n,t);return i<0?n.push([t,e]):n[i][1]=e,this},dt.prototype.clear=function(){this.__data__={hash:new ct,map:new(J||ht),string:new ct}},dt.prototype.delete=function(t){return Ot(this,t).delete(t)},dt.prototype.get=function(t){return Ot(this,t).get(t)},dt.prototype.has=function(t){return Ot(this,t).has(t)},dt.prototype.set=function(t,e){return Ot(this,t).set(t,e),this},pt.prototype.add=pt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},pt.prototype.has=function(t){return this.__data__.has(t)},ft.prototype.clear=function(){this.__data__=new ht},ft.prototype.delete=function(t){return this.__data__.delete(t)},ft.prototype.get=function(t){return this.__data__.get(t)},ft.prototype.has=function(t){return this.__data__.has(t)},ft.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ht){var i=n.__data__;if(!J||i.length<199)return i.push([t,e]),this;n=this.__data__=new dt(i)}return n.set(t,e),this};var vt,yt,_t=(vt=function(t,e){return t&&bt(t,e,ee)},function(t,e){if(null==t)return t;if(!Yt(t))return vt(t,e);for(var n=t.length,i=yt?n:-1,r=Object(t);(yt?i--:++i=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Pt(t){return Wt(t)?t:Bt(t)}function Lt(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=Qt(t),o=void 0!==e,s=null===e,l=e==e,u=Qt(e);if(!s&&!u&&!a&&t>e||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&ts))return!1;var u=a.get(t);if(u&&a.get(e))return u==e;var c=-1,h=!0,d=1&r?new pt:void 0;for(a.set(t,e),a.set(e,t);++c-1&&t%1==0&&t1&&Dt(t,e[0],e[1])?e=[]:n>2&&Dt(e[0],e[1],e[2])&&(e=[e[0]]),St(t,function t(e,n,i,r,a){var o=-1,s=e.length;for(i||(i=zt),a||(a=[]);++o0&&i(l)?n>1?t(l,n-1,i,r,a):T(a,l):r||(a[a.length]=l)}return a}(e,1),[])}));function Gt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o),o};return n.cache=new(Gt.Cache||dt),n}function Vt(t,e){return t===e||t!=t&&e!=e}function Ht(t){return function(t){return Kt(t)&&Yt(t)}(t)&&B.call(t,"callee")&&(!V.call(t,"callee")||U.call(t)==i)}Gt.Cache=dt;var Wt=Array.isArray;function Yt(t){return null!=t&&Xt(t.length)&&!Zt(t)}function Zt(t){var e=Jt(t)?U.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function Xt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Jt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Kt(t){return!!t&&"object"==typeof t}function Qt(t){return"symbol"==typeof t||Kt(t)&&"[object Symbol]"==U.call(t)}var te=x?S(x):function(t){return Kt(t)&&Xt(t.length)&&!!f[U.call(t)]};function ee(t){return Yt(t)?mt(t):Et(t)}function ne(t){return t}n.exports=$t}).call(this,n("yLpj"),n("YuTi")(t))},mzd9:function(t,e,n){var i=n("QhcE");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},n2md:function(t,e,n){"use strict";var i=n("o0o1"),r=n.n(i),a=n("vne5"),o=n("/yRl"),s=n("Whpc"),l=n("URHZ"),u=(n("xMlF"),n("gaDp")),c=n("ZoWG"),h=n("5n2/"),d=n.n(h);function p(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function f(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n100?this.$store.commit("setCustomTagsError",this.$i18n.t("tags.custom-tags-max")):(this.addCustomTag(t),this.$nextTick((function(){this.onFocusCustomTags()})))},submit:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,n="",n=e.annotations?e.isVerifying?"VERIFY_BOXES":"ADD_BOXES_TO_IMAGE":"ADD_TAGS_TO_IMAGE",t.next=5,e.$store.dispatch(n);case 5:e.processing=!1;case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){p(a,i,r,o,s,"next",t)}function s(t){p(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},destroyed:function(){window.removeEventListener("keydown",this.listenForArrowKeys),window.removeEventListener("keydown",this.listenForSearchFocusEvent),window.removeEventListener("keydown",this.listenForSubmitEvent)}},v=(n("+iHb"),n("KHd+")),y=Object(v.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"flex flex-column-mobile"},[n("div",{staticClass:"is-flex-grow-3 search-container"},[n("div",{staticClass:"select is-fullwidth"},[n("vue-simple-suggest",{ref:"search",attrs:{"display-attribute":"title","value-attribute":"key","filter-by-query":!0,list:t.allTags,"min-length":1,"max-suggestions":0,mode:"input",styles:t.autoCompleteStyle,placeholder:t.$t("tags.search-all-tags"),controls:{autocomplete:[32]}},on:{focus:t.onFocusSearch,select:t.search}})],1)]),t._v(" "),t.showCustomTags?n("div",{staticClass:"is-flex-grow-1"},[n("input",{ref:"customTagsInput",staticClass:"input is-fullwidth",class:t.customTagsError?"is-danger":"",attrs:{type:"text",min:"3",max:"100",placeholder:t.$t("tags.search-custom-tags")},on:{focus:t.onFocusCustomTags,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.searchCustomTag(e)}}}),t._v(" "),t.customTagsError?n("p",{staticClass:"help has-text-left"},[t._v(t._s(t.customTagsError))]):t._e()]):t._e()]),t._v(" "),n("div",{staticClass:"control has-text-centered mt-4"},[n("div",{staticClass:"select"},[n("vue-simple-suggest",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideCategory,expression:"clickOutsideCategory"}],ref:"categories",attrs:{"display-attribute":"title","value-attribute":"key","filter-by-query":!0,list:t.categories,"min-length":0,"max-suggestions":0,mode:"select",styles:t.autoCompleteStyle},on:{"suggestion-click":function(e){return t.onSuggestion()},focus:function(e){return t.onFocusCategories()}},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}})],1),t._v(" "),n("div",{staticClass:"select"},[n("vue-simple-suggest",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideTag,expression:"clickOutsideTag"}],ref:"tags",attrs:{"display-attribute":"title","value-attribute":"key","filter-by-query":!0,list:t.tags,"min-length":0,"max-suggestions":0,mode:"select",styles:t.autoCompleteStyle},on:{"suggestion-click":function(e){return t.onSuggestion()},focus:function(e){return t.onFocusTags()}},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}})],1),t._v(" "),n("div",{staticClass:"select",attrs:{id:"int"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.quantity,expression:"quantity"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.quantity=e.target.multiple?n:n[0]}}},t._l(t.integers,(function(e){return n("option",[t._v(t._s(e))])})),0)]),t._v(" "),n("br"),n("br"),t._v(" "),n("div",[n("button",{staticClass:"button is-medium is-danger",attrs:{disabled:t.checkDecr},on:{click:t.decr}},[t._v("-")]),t._v(" "),n("button",{staticClass:"button is-medium is-info",on:{click:t.addTag}},[t._v(t._s(t.$t("tags.add-tag")))]),t._v(" "),n("button",{staticClass:"button is-medium is-dark",attrs:{disabled:t.checkIncr},on:{click:t.incr}},[t._v("+")])]),t._v(" "),n("br"),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.admin&&0!==this.id,expression:"! admin && this.id !== 0"}],class:t.button,attrs:{disabled:!t.hasAddedTags,type:"submit"},on:{click:function(e){return e.preventDefault(),t.submit(e)}}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Ctrl (⌘) + Enter")]),t._v("\n "+t._s(t.$t("common.submit"))+"\n ")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0!==this.id,expression:"this.id !== 0"}],staticClass:"show-mobile"},[n("br"),t._v(" "),n("tags",{attrs:{"photo-id":t.id}}),t._v(" "),n("div",{staticClass:"box custom-buttons"},[n("profile-delete",{attrs:{photoid:t.id}}),t._v(" "),n("presence",{attrs:{itemsr:!0}})],1)],1)])])}),[],!1,null,"6f714926",null);e.a=y.exports},nAEM:function(t){t.exports=JSON.parse('{"what-about-litter":"En zwerfafval dan?","about2":"Op dit moment lekken miljoenen, met plastic gevulde, sigarettenfilters gif in de grond.","about3":"Het resultaat?","about4":"Ongelovelijke hoeveelheden nicotine en andere giftige chemicaliën komen vrij.","about5":"Deze giftige chemicaliën hopen zich op in verschillende planten en dieren. Sommige hiervan eten we.","about6":"Een milieuramp ligt op de loer.","about7":"Jij kunt helpen deze te voorkomen door bij te dragen aan OpenLitterMap","about8":"Neem een foto, geef het een label en upload hem.","about9":"Ik wil helpen!","about9a":"Neem een foto","about9b":"Geef het een label","about9c":"Upload hem","about10":"Elk jaar vinden miljoenen tonnen plastic hun weg van land naar zee.","about11":"Waar het aanzienlijk schadelijker, moeilijker en duurder wordt om te verwijderen.","about12":"De illusie van \\"stadsreiniging\\"","about13":"wordt mogelijk gemaakt door infrastructureel ontwerp","about14":"OpenLitterMap data is","about14a":"Open Data","about14b":"Dit betekent dat iedereen de data gratis kan downloaden en kan gebruiken voor elk doel, zonder toestemming te hoeven vragen.","about15":"Open data is essentieel om transparantie, democratie en verantwoordingsplicht over vervuiling aan de wetenschap te brengen. Wie mag anders de data gebruiken?","about16":"OpenLitterMap geeft jou de middelen om een burgerweterschapper te worden","about17":"Je bent nu in staat om bij te dragen aan de productie van geospatiale kennis over onze wereld. Hiermee kan het publieke en institutionele gedrag gewijzigd worden.","about17a":"Onze gegevens worden in kaart gebracht door ruimte, tijd, locatie en gedrag","about17b":"Bekijk dit ongelooflijke stuk Gratis en Open data over de vervuiling die wordt veroorzaakt door de producten van een handvol wereldwijde bedrijven","about17c":"Wil je de data downloaden??","about18":"De productie van geospatiale kennis was ooit voorbehouden aan grote instituten en machthebbers.","about19":"Als Burger Wetenschapper, ","about20":"kan jij kennis creëren. ","about21":"Dit is een verschuiving in de manier waarop geografische informatie over onze wereld wordt gemaakt.","about22":"Hoe je kunt helpen:","about23":"Meld je vandaag nog aan!","about24":"Zet locatiegegevens aan in je telefoon. Uitleg hoe je dat doet, staat in de mail die je ontvangt als je je aanmeldt.","about25":"Je kunt alles in kaart brengen, van iets kleins als een sigarettenpeuk tot de inhoud van een heel strand of straat in 1 foto","about26":"Als er teveel afval ligt en het is niet te berekenen, dan kan je kiezen voor de categorie \'Dumping\' en geef een score van 1-100 of kies bijvoorbeeld \\"Willekeurig afval\\" in de \\"Anders\\" categorie","about27":"Als je veelzeggende plattegronden wilt maken, maak dan zoveel mogelijk foto\'s. Of, als je niet zoveel tijd hebt, maak dan 1 foto en label zoveel mogelijk items daarin.","about28":"Gecontroleerde foto\'s worden automatisch toegevoegd aan de database, voorzien van aantallen en locaties en worden beschikbaar gesteld aan iedereen om te kunnen gebruiken!","about29":"Help ons om de problemen én oplossingen te communiceren zodat we kunnen voorkomen dat plastic de oceaan bereikt.","about29a":"Als je ons werk waardeert en ons zou willen steunen, sluit je dan ook aan bij onze fondsenwervingscampagne","about30":"Sluit je aan bij Open Litter Map om een wereld te creëren met minder van","about301":"dit","about302":"en dit...","about31":"Er wordt geschat, dat alleen al in 2010, 8 miljard kilo plastic in de zee is beland. Dat is gemiddeld 916.000 kilo per uur.","about32":"Een voorbeeld van wat er in de oceanen drijft","about33":"Plastic vervuiling is op dit moment verantwoordelijk voor de dood van ongeveer 1 miljoen vogels en 100.000 zeedieren per jaar","about34":"Als de huidige trend zich voortzet, wordt verwacht dat in het jaar 2025, 70 miljard kilo plastic in de oceaan verdwijnt","about35":"Ik wil helpen!"}')},nHKW:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("2524"),o={computed:{errors:function(){return this.$store.state.errors.errorsObject},errorsExist:function(){return this.errors&&Object.keys(this.errors).length>0}},methods:{clearError:function(t){this.errors&&this.errors[t]&&this.$store.commit("clearError",t)},errorExists:function(t){return!!this.errors&&this.errors.hasOwnProperty(t)},getFirstError:function(t){return this.errors[t][0]}}};function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var l={name:"CreateCleanup",mixins:[o],data:function(){return{name:"",description:"",time:"",date:"",invite_link:"",processing:!1}},computed:{cleanup:function(){return this.$store.state.cleanups},getInviteLink:function(){var t="https://openlittermap.com/cleanups/";return""===this.invite_link?t:t+this.invite_link+"/join"}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("CREATE_CLEANUP_EVENT",{name:e.name,date:e.date,lat:e.cleanup.lat,lon:e.cleanup.lon,time:e.time,description:e.description,invite_link:e.invite_link});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))})()}}},u=n("KHd+"),c=Object(u.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cleanup-container"},[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Name")]),t._v(" "),t.errorExists("name")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input mb1",class:t.errorExists("name")?"is-danger":"",attrs:{name:"name",placeholder:"My Awesome Cleanup",required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Date")]),t._v(" "),t.errorExists("date")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("date"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.date,expression:"date"}],staticClass:"input mb1",class:t.errorExists("date")?"is-danger":"",attrs:{name:"date",type:"date"},domProps:{value:t.date},on:{input:function(e){e.target.composing||(t.date=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Location:")]),t._v(" "),t.errorExists("lat")||t.errorExists("lon")?n("div",[n("p",{staticClass:"help is-danger"},[t._v("\n You have not set a location.\n ")])]):t._e()]),t._v(" "),n("div",{staticClass:"mb1"},[t.cleanup.lat?n("div",[n("p",[t._v("\n Lat: "+t._s(t.cleanup.lat)+"\n ")]),t._v(" "),n("p",[t._v("\n Lon: "+t._s(t.cleanup.lon)+"\n ")])]):n("p",[t._v("\n Click anywhere on the map to set the location\n ")])]),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Time")]),t._v(" "),t.errorExists("time")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("time"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.time,expression:"time"}],staticClass:"input mb1",class:t.errorExists("time")?"is-danger":"",attrs:{name:"time",placeholder:"Enter time",required:""},domProps:{value:t.time},on:{input:function(e){e.target.composing||(t.time=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Description")]),t._v(" "),t.errorExists("description")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("description"))}}):t._e()]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"input mb1",class:t.errorExists("description")?"is-danger":"",staticStyle:{height:"2.65em"},attrs:{name:"description",placeholder:"Enter information about your event",required:""},domProps:{value:t.description},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("\n Create an invite link\n ")]),t._v(" "),t.errorExists("invite_link")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("invite_link"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.invite_link,expression:"invite_link"}],staticClass:"input mb-05",class:t.errorExists("invite_link")?"is-danger":"",attrs:{name:"invite_link",placeholder:"openlittermap.com/cleanups/my-cleanup-event"},domProps:{value:t.invite_link},on:{input:function(e){e.target.composing||(t.invite_link=e.target.value)}}}),t._v(" "),n("p",{staticClass:"is-grey mb2"},[t._v("\n "+t._s(t.getInviteLink)+"\n ")]),t._v(" "),n("div",{staticClass:"flex"},[n("button",{staticClass:"button is-info is-medium",class:t.processing?"is-loading":"",attrs:{disabled:t.processing,type:"submit"}},[t._v("\n Let's Cleanup!\n ")])])])])}),[],!1,null,"7e59e074",null).exports;function h(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var d={name:"JoinCleanup",data:function(){return{invite_link:"",processing:!1}},mixins:[o],methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("JOIN_CLEANUP",{link:e.invite_link});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){h(a,i,r,o,s,"next",t)}function s(t){h(a,i,r,o,s,"throw",t)}o(void 0)}))})()}}},p=Object(u.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"has-text-left"},[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Join a cleanup")]),t._v(" "),t.errorExists("invite_link")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("invite_link"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.invite_link,expression:"invite_link"}],staticClass:"input",class:t.errorExists("invite_link")?"is-danger":"",attrs:{name:"invite_link",required:"",placeholder:"Enter invitation code to join a cleanup"},domProps:{value:t.invite_link},on:{input:function(e){e.target.composing||(t.invite_link=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex mt1 jc"},[n("button",{staticClass:"button is-info is-medium",class:t.processing?"is-loading":"",attrs:{disabled:t.processing,type:"submit"}},[t._v("\n Join Cleanup!\n ")])])])])}),[],!1,null,"d8a28724",null).exports,f={name:"CleanupSidebar",components:{CreateCleanup:c,JoinCleanup:p},props:["creatingCleanup","joiningCleanup"],data:function(){return{processing:!1}},computed:{auth:function(){return this.$store.state.user.auth},getCreateCleanupImg:function(){return"https://img.freepik.com/free-vector/volunteers-cleaning-up-garbage-city-park_74855-17942.jpg?w=1380&t=st=1659282438~exp=1659283038~hmac=b3c1ecc87fa677a97391b1f182f0e8674f32684d632f8d5df366bfe8204ee62e"},getTitle:function(){return this.$store.state.globalmap.creating?"Create a new cleanup event!":"Help us clean the planet!"}},methods:{goBack:function(){this.$store.commit("clearErrors"),this.$store.commit("creatingCleanup",!1),this.$store.commit("joiningCleanup",!1)},startCreatingCleanup:function(){this.$store.commit("creatingCleanup",!0)},startJoiningCleanup:function(){this.$store.commit("joiningCleanup",!0)}}},m=(n("tzsb"),Object(u.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"pt3 pb3 flex",staticStyle:{"align-items":"center"}},[t.joiningCleanup||t.creatingCleanup?n("i",{staticClass:"fa fa-arrow-left pointer",on:{click:t.goBack}}):t._e(),t._v(" "),n("p",{staticClass:"title is-3 flex-1"},[t._v("\n "+t._s(t.getTitle)+"\n ")])]),t._v(" "),n("div",{staticClass:"cleanup-buttons"},[t.creatingCleanup||t.joiningCleanup?t._e():n("div",[n("img",{staticClass:"pb1",attrs:{src:t.getCreateCleanupImg}}),t._v(" "),t.auth?n("div",[n("button",{staticClass:"button is-medium is-info mb1",on:{click:t.startCreatingCleanup}},[t._v("\n Create a cleanup\n ")]),t._v(" "),n("button",{staticClass:"button is-medium is-primary mb1",on:{click:t.startJoiningCleanup}},[t._v("\n Join a cleanup\n ")])]):n("p",{staticClass:"mb1"},[t._v("\n Log In to Create or Join a Cleanup\n ")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("\n Cleanups are a great way to bring people together, quantify, and communicate your positive environmental impact.\n ")]),t._v(" "),n("p",[t._v("\n Clean up, have fun and share data!\n ")])]),t._v(" "),t.creatingCleanup?n("CreateCleanup"):t._e(),t._v(" "),t.joiningCleanup?n("JoinCleanup"):t._e()],1)])}),[],!1,null,"cc82b81c",null).exports);function g(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var v={name:"Cleanups",components:{Supercluster:a.a,CleanupSidebar:m},data:function(){return{loading:!1}},created:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_CLEANUPS");case 3:if(!(n=e.$route).params.hasOwnProperty("invite_link")){t.next=7;break}return t.next=7,e.$store.dispatch("JOIN_CLEANUP",{link:n.params.invite_link});case 7:e.loading=!1;case 8:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){g(a,i,r,o,s,"next",t)}function s(t){g(a,i,r,o,s,"throw",t)}o(void 0)}))})()},computed:{creatingCleanup:function(){return this.$store.state.cleanups.creating},joiningCleanup:function(){return this.$store.state.cleanups.joining}}},y=(n("dOUv"),Object(u.a)(v,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"cleanups-container"},[e("CleanupSidebar",{staticClass:"cleanup-sidebar",class:this.creatingCleanup?"find-location":"",attrs:{creatingCleanup:this.creatingCleanup,joiningCleanup:this.joiningCleanup}}),this._v(" "),e("div",{staticClass:"cleanup-map",class:this.creatingCleanup?"find-location":""},[this.loading?e("div"):e("Supercluster",{attrs:{activeLayer:"cleanups"}})],1)],1)}),[],!1,null,"4ac26321",null));e.default=y.exports},nMp1:function(t){t.exports=JSON.parse('{"do-you-pickup":"¿Recoges la basura o la dejas ahí?","save-def-settings":"Aquí puedes guardar tu configuración por defecto.","change-value-of-litter":"También puedes cambiar el valor de cada artículo de basura a medida que los etiquetas.","status":"Estado Actual","toggle-presence":"Alternar presencia","pickup?":"¿Recoger?"}')},nP8I:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.fs125 {\n\tfont-size: 1.25em;\n}\n",""])},nSSA:function(t){t.exports=JSON.parse('{"de":{"name":"Duitland","lang":"Duits"},"en":{"name":"Engeland","lang":"English"},"es":{"name":"Spanje","lang":"Español"},"fr":{"name":"Frankrijk","lang":"Frans"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Ierland","lang":"Iers"},"it":{"name":"Italië","lang":"Italiaans"},"ms":{"name":"Maleisië","lang":"Maleis"},"nl":{"name":"Nederland","lang":"Nederlands"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkije","lang":"Turks"},"uk":{"name":"Engeland","lang":"English"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},nVW1:function(t){t.exports=JSON.parse('{"ready-to-join":"Pronto para se juntar à revolução geoespacial?","join-subtitle":"Se você gosta do nosso trabalho, OpenLitterMap pode fazer muito com a sua ajuda.","free-plan":"GRÁTIS","free-plan-feature1":"Faça upload de 1000 imagens por dia.","free-plan-feature2":"Desbloquear emblemas + recompensas.","free-plan-feature3":"Ganhe Littercoin.","free-plan-feature4":"Competir em várias tabelas de classificação diferentes.","free-plan-join":"Estou dentro! ","startup-plan":"STARTUP","startup-plan-donation":"€5 por mês","startup-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","startup-plan-feature2":"Ajude-nos a cobrir nossos custos.","startup-plan-feature3":"Sente-se e aproveite as atualizações.","startup-plan-join":"Quero ajudar!","basic-plan":"BÁSICO","basic-plan-donation":"€9.99 por mês","basic-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","basic-plan-feature2":"Ajude-nos a cobrir nossos custos.","basic-plan-feature3":"Sente-se e aproveite as atualizações.","basic-plan-join":"Quero ajudar!","advanced-plan":"AVANÇADO","advanced-plan-donation":"€20 por mês","advanced-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","advanced-plan-feature2":"Ajude-nos a cobrir nossos custos.","advanced-plan-feature3":"Sente-se e aproveite as atualizações.","advanced-plan-join":"Quero ajudar!","pro-plan":"PRO","pro-plan-donation":"€30 por mês","pro-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","pro-plan-feature2":"Ajude-nos a cobrir nossos custos.","pro-plan-feature3":"Sente-se e aproveite as atualizações.","pro-plan-join":"Este é um assunto sério!."}')},nYYR:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".-mt-2[data-v-3c640beb] {\n margin-top: -2px;\n}",""])},ng3h:function(t){t.exports=JSON.parse('{"login-btn":"Login","signup-text":"Inscreva-se","forgot-password":"Esqueceu sua senha?"}')},nvJ6:function(t,e,n){"use strict";var i=n("dvjZ");n.n(i).a},o0o1:function(t,e,n){t.exports=n("ls82")},o4Q4:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.dash-time[data-v-5003807a] {\n width: 25%;\n}\n.mobile-teams-select[data-v-5003807a] {\n display: flex;\n justify-content: center;\n}\n.tdc[data-v-5003807a] {\n padding-left: 2em;\n padding-right: 2em;\n}\n.teams-card[data-v-5003807a] {\n background: white;\n text-align: center;\n margin: 1em;\n padding: 5em;\n}\n.teams-dashboard-subtitle[data-v-5003807a] {\n margin-bottom: 1em;\n}\n@media screen and (max-width: 768px)\n{\n.dash-time[data-v-5003807a] {\n width: 100%;\n margin-bottom: 1em;\n}\n.mobile-teams-select[data-v-5003807a] {\n display: block;\n justify-content: center;\n}\n.teams-card[data-v-5003807a] {\n padding: 3em;\n}\n.teams-dashboard-subtitle[data-v-5003807a] {\n margin-bottom: 2em;\n}\n}\n\n\n",""])},o4on:function(t){t.exports=JSON.parse('{"title":"Moje drużyny","currently-joined-team":"Jesteś obecnie członkiem drużyny","currently-not-joined-team":"Nie jesteś obecnie członkiem drużyny","no-joined-team":"Nie dołączyłeś jeszcze do drużyny","leader-of-team":"Jesteś liderem tej drużyny","enabled-contributions":"Wszystkie Twoje wkłady będą się liczyły tylko do tego drużyny.","disabled-contributions":"Nie wybrałeś jeszcze aktywnego zespołu.
    Oznacza to, że w tej chwili nie współpracujesz z żadnym zespołem.
    Możesz wybrać swoją aktywną drużynę, klikając ikony gwiazdek na dolnej liście.","disable-contributions-tooltip":"Od teraz wyłącza to Twój wkład zespołowy. Nadal będziesz członkiem swoich zespołów i w każdej chwili będziesz mógł włączać wkłady.","team-details":"Szczegóły Drużyny","all-my-teams":"Wszystkie Moje Drużyny","this-is-active-team":"To jest Twój aktywny drużyny","set-as-active-team":"Ustaw jako aktywny drużyny","team-identifier":"Identyfikator Drużyny","join-team":"Dołącz do drużyny","leave-team":"Opuść zespół","just-left-team":"Właśnie opuściłeś drużynę","cant-leave-team":"Nie możesz opuścić tego drużyny, ponieważ jesteś jedynym członkiem","change-active-team":"Zmień aktywną drużynę","download-team-data":"Pobierz dane drużyny","hide-from-leaderboards":"Ukryj w rankingach","show-on-leaderboards":"Pokaż w rankingach","position-header":"Pozycja","name-header":"Nazwa","username-header":"Nazwa Użytkownika","status-header":"Status","photos-header":"Zdjęcia","litter-header":"Odpady","identifier-header":"Identyfikator","members-header":"Członkowie","last-activity-header":"Ostatnia aktywność","confirm-leave-team":"Jesteś pewny?\\nZawsze możesz ponownie dołączyć, a Twój wkład zostanie zapisany."}')},oBKJ:function(t,e,n){"use strict";var i=n("ePQW");n.n(i).a},oDVm:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".drop-title[data-v-8b339ba0] {\n text-align: center;\n}\n.upload-section[data-v-8b339ba0] {\n padding: 5rem;\n}\n.upload-section .fa-arrow-right[data-v-8b339ba0] {\n margin-left: 10px;\n}\n#customdropzone[data-v-8b339ba0] {\n border: 2px #80d8f2 dashed;\n border-radius: 10px;\n margin-bottom: 1rem;\n}\n@media (min-width: 992px) {\n#customdropzone[data-v-8b339ba0] {\n margin-left: 4rem;\n margin-right: 4rem;\n}\n}\n@media (max-width: 575.98px) {\n.drop-title[data-v-8b339ba0] {\n font-size: 2.5rem;\n}\n.upload-section[data-v-8b339ba0] {\n padding: 2rem;\n}\n}\n.upload-icon[data-v-8b339ba0] {\n font-size: 60px;\n}\n.upload-icon[data-v-8b339ba0]:hover {\n transform: translate(0px, -5px);\n transition-duration: 0.3s;\n}\n.wrapper[data-v-8b339ba0] {\n margin: 0 4rem 2rem 4rem;\n}\n.progress-bar[data-v-8b339ba0] {\n width: 100%;\n background-color: #ffffff;\n border-radius: 2px;\n}\n.progress-bar-fill[data-v-8b339ba0] {\n display: block;\n height: 4px;\n border-radius: 2px;\n transition: width 500ms ease-in-out;\n}",""])},oFPX:function(t){t.exports=JSON.parse('{"success":"Todo correcto","error":"¡Error!","settings-updated":"¡Configuración actualizada con éxito!","tags-added":"¡Éxito! Tus etiquetas han sido añadidas","subscription-cancelled":"Tu suscripción ha sido cancelada","privacy-updated":"Se ha guardado tu configuración de privacidad","litter-toggled":"Valor sobre recogida de basura actualizado","settings":{"subscribed":"¡Te has suscrito a las actualizaciones y buenas noticias!","unsubscribed":"Te has dado de baja. ¡Ya no recibirás las buenas noticias!","flag-updated":"Tu bandera ha sido actualizada"},"something-went-wrong":"Algo salió mal. ¡Inténtelo de nuevo o contáctenos!"}')},oNMY:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".section-slack[data-v-154518d3] {\n background-color: #4A154B;\n}\n.section-slack .hero-body[data-v-154518d3] {\n margin: 0 auto;\n}\n.section-slack a[data-v-154518d3] {\n color: whitesmoke;\n text-decoration: underline;\n}\n.section-slack .slack[data-v-154518d3] {\n max-width: 1000px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.section-slack .slack .image-wrapper img[data-v-154518d3] {\n width: 4rem;\n height: 4rem;\n margin: 0 auto 1rem;\n}\n.section-slack .slack a[data-v-154518d3]:hover {\n color: #06f1f6;\n}\n.section-slack .screenshot[data-v-154518d3] {\n position: relative;\n margin: 1rem auto;\n overflow: hidden;\n max-width: 700px;\n}\n.section-slack .screenshot img[data-v-154518d3] {\n border-radius: 0.5rem;\n}\n.section-slack .screenshot a[data-v-154518d3] {\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n font-size: 0.5rem;\n}\n.section-slack .screenshot a i[data-v-154518d3]:hover {\n color: whitesmoke;\n transform: scale(1.05);\n}\n@media screen and (min-width: 1024px) {\n.section-slack .slack[data-v-154518d3] {\n flex-direction: row;\n}\n.section-slack .slack .image-wrapper[data-v-154518d3] {\n flex-shrink: 0;\n margin-right: 1rem;\n}\n.section-slack .slack .image-wrapper img[data-v-154518d3] {\n margin: 0 auto;\n}\n.section-slack .screenshot[data-v-154518d3] {\n margin: 2rem auto;\n overflow: hidden;\n max-width: 700px;\n}\n.section-slack .screenshot img[data-v-154518d3] {\n border-radius: 0.5rem;\n}\n.section-slack .screenshot a[data-v-154518d3] {\n font-size: 1rem;\n}\n}",""])},oQsM:function(t){t.exports=JSON.parse('{"email-you":"Ungependa tukutumie barua pepe mara kwa mara na habari njema","subscribe":"Jisajili","subscribed-success-msg":"Umejiandikisha kupokea habari njema! Unaweza kujiondoa wakati wowote","need-your-help":"Tunahitaji usaidizi wako ili kuunda hifadhidata ya juu zaidi na inayoweza kufikiwa duniani kuhusu uchafuzi wa mazingira","read":"SOMA","blog":"Blog","research-paper":"Nyaraka za tafiti","watch":"ANGALIA","help":"MSAADA","join-the-team":"Jiunge na timu","join-slack":"Jiunge Slack","create-account":"Tengeneza akaunti","fb-group":"Kundi la Facebook","single-donation":"Msaada mmoja","crowdfunding":"Mchango wa kundi","olm-is-flagship":"OpenLitterMap ni bidhaa kuu ya GeoTech Innovations Ltd., iliyoanzishwa nchini Ireland ikianzisha huduma muhimu za sayansi za raia. #650323","enter-email":"Ingiza burua pepe yako","references":"Marejeleo","credits":"Pongezi","contact-us":"Wasiliana nasi"}')},oR4i:function(t){t.exports=JSON.parse('{"card-number":"Namba ya kadi","card-holder":"Jina la mmiliki wa kadi","exp":"Tarehe ya kumalizika muda wake","cvv":"CVV","placeholders":{"card-number":"Nambari ya kadi yako yenye tarakimu 16","card-holder":"Jina la mmiliki wa kadi","exp-month":"Mwezi","exp-year":"Mwaka","cvv":"***"}}')},oUSK:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.is-box[data-v-4bd574db] {\n border: 1px solid #ccc;\n padding: 1em;\n margin-bottom: 1em;\n max-width: 20em;\n position: relative;\n}\n.is-box.is-active[data-v-4bd574db] {\n border: 1px solid green;\n}\n.box-label[data-v-4bd574db] {\n margin-bottom: 0.25em;\n}\n.box-categories[data-v-4bd574db] {\n display: grid;\n}\n.duplicate-box[data-v-4bd574db] {\n position: absolute;\n right: 1em;\n}\n.toggle-box[data-v-4bd574db] {\n position: absolute;\n top: 7em;\n right: 1em;\n}\n.rotate-box[data-v-4bd574db] {\n position: absolute;\n top: 10em;\n right: 1em;\n}\n",""])},oVpI:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),n("RQXY")),l={name:"ProgressBar",props:["currentxp","xpneeded","startingxp"],computed:{currentValue:function(){var t=this.xpneeded-this.startingxp;return 100*(this.currentxp-this.startingxp)/t}}},u=n("KHd+"),c={name:"Progress",props:["loading"],components:{ProgressBar:Object(u.a)(l,(function(){var t=this.$createElement;return(this._self._c||t)("progress",{staticClass:"progress is-large is-success",attrs:{max:100},domProps:{value:this.currentValue}})}),[],!1,null,null,null).exports},methods:{commas:function(t){return parseInt(t).toLocaleString()}},computed:{littercoin:function(){return this.$store.state.locations.littercoin},previousXp:function(){return this.$store.state.locations.level.previousXp},nextXp:function(){return this.$store.state.locations.level.nextXp},total_litter:function(){return this.$store.state.locations.total_litter},previous_littercoin:function(){var t=0;return this.$localStorage.get("littercoin_owed")&&(t=this.$localStorage.get("littercoin_owed")),this.$localStorage.set("littercoin_owed",this.littercoin),t},previous_total_litter:function(){var t=0;return this.$localStorage.get("total_litter")&&(t=this.$localStorage.get("total_litter")),this.$localStorage.set("total_litter",this.total_litter),t},previous_total_photos:function(){var t=0;return this.$localStorage.get("total_photos")&&(t=this.$localStorage.get("total_photos")),this.$localStorage.set("total_photos",this.total_photos),t},progress:function(){var t=this.nextXp-this.previousXp;return(100*(this.total_litter-this.previousXp)/t).toFixed(2)},total_photos:function(){return this.$store.state.locations.total_photos}}},h=(n("cIXG"),Object(u.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container mt2 progress-bar"},[n("div",[n("div",{staticClass:"flex mb1"},[n("h4",{staticClass:"flex-1 has-text-white"},[t._v("\n "+t._s(t.$t("location.previous-target"))+":\n "),n("br"),t._v(" "),n("strong",{staticClass:"has-text-white"},[t._v("\n "+t._s(t._f("commas")(this.previousXp))+" "+t._s(t.$t("location.litter"))+"\n ")])]),t._v(" "),n("h4",{staticClass:"has-text-white"},[t._v(t._s(t.$t("location.next-target"))+":\n "),n("br"),t._v(" "),n("strong",{staticClass:"has-text-white"},[t._v("\n "+t._s(t._f("commas")(this.nextXp))+" "+t._s(t.$t("location.litter"))+"\n ")])])]),t._v(" "),n("ProgressBar",{staticClass:"mb1em",attrs:{currentxp:t.total_litter,startingxp:t.previousXp,xpneeded:t.nextXp}}),t._v(" "),t.loading?n("p",{staticClass:"has-text-centered has-text-white mb2"},[t._v("...%")]):n("p",{staticClass:"has-text-centered has-text-white mb2"},[t._v(t._s(this.progress)+"%")])],1),t._v(" "),n("div",{staticClass:"stats"},[n("div",{staticClass:"stat"},[n("h1",{staticClass:"subtitle is-5 has-text-centered"},[n("strong",{staticClass:"has-text-black"},[t._v("\n "+t._s(t.$t("location.total-verified-litter"))+"\n ")])]),t._v(" "),n("h1",{staticClass:"title is-2 has-text-centered has-text-white"},[n("strong",[t.loading?n("span",[t._v("...")]):n("number",{attrs:{from:t.previous_total_litter,to:t.total_litter,duration:3,delay:1,easing:"Power1.easeOut",format:t.commas}})],1)])]),t._v(" "),n("div",{staticClass:"stat"},[n("h1",{staticClass:"subtitle is-5 has-text-centered"},[n("strong",{staticClass:"has-text-black"},[t._v("\n "+t._s(t.$t("location.total-verified-photos"))+"\n ")])]),t._v(" "),n("h1",{staticClass:"title is-2 has-text-centered has-text-white"},[n("strong",[t.loading?n("span",[t._v("...")]):n("number",{attrs:{from:t.previous_total_photos,to:t.total_photos,duration:3,delay:1,easing:"Power1.easeOut",format:t.commas}})],1)])]),t._v(" "),n("div",{staticClass:"stat"},[n("h1",{staticClass:"subtitle is-5 has-text-centered"},[n("strong",{staticClass:"has-text-black"},[t._v("\n "+t._s(t.$t("location.total-littercoin-issued"))+"\n ")])]),t._v(" "),n("h1",{staticClass:"title is-2 has-text-centered has-text-white"},[n("strong",[t.loading?n("span",[t._v("...")]):n("number",{attrs:{from:t.previous_littercoin,to:t.littercoin,duration:3,delay:1,easing:"Power1.easeOut",format:t.commas}})],1)])])])])}),[],!1,null,"0c6af5d8",null).exports),d={name:"GlobalMetaData",props:["loading"],components:{GlobalLeaders:s.a,Progress:h},channel:"main",echo:{ImageUploaded:function(t,e){t.isUserVerified&&e.$store.commit("incrementTotalPhotos")},ImageDeleted:function(t,e){t.isUserVerified&&e.$store.commit("decrementTotalPhotos")},TagsVerifiedByAdmin:function(t,e){e.$store.commit("incrementTotalLitter",t.total_litter_all_categories),t.isUserVerified||e.$store.commit("incrementTotalPhotos")}},computed:{leaders:function(){return this.$store.state.locations.globalLeaders}},methods:{openLeaderboard:function(t){this.$router.push({path:"/leaderboard"})}}},p=(n("5rnx"),Object(u.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"is-link hero is-bold"},[n("section",{staticClass:"wrapper is-link is-bold"},[n("div",{staticClass:"container"},[n("div",{staticClass:"leaderboard-heading",on:{click:t.openLeaderboard}},[n("h3",{staticClass:"title is-2 has-text-centered"},[t._v("\n "+t._s(t.$t("location.global-leaderboard"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-arrow-right"})]),t._v(" "),n("GlobalLeaders",{attrs:{leaders:t.leaders}})],1),t._v(" "),n("Progress",{attrs:{loading:t.loading}})],1)])}),[],!1,null,"39bc26de",null).exports),f=n("sTxc");function m(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var g={name:"Countries",components:{Loading:o.a,GlobalMetaData:p,SortLocations:f.a},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_COUNTRIES");case 3:e.loading=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){m(a,i,r,o,s,"next",t)}function s(t){m(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0}}},v=Object(u.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("loading",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}),t._v(" "),n("GlobalMetaData",{attrs:{loading:t.loading}}),t._v(" "),n("SortLocations",{attrs:{locationType:"country"}})],1)}),[],!1,null,null,null);e.default=v.exports},oYGC:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".close-login[data-v-660fe80c] {\n padding: 0.5em;\n cursor: pointer;\n}\n.my-class[data-v-660fe80c] {\n background-color: red;\n font-size: 20px;\n border: 2px solid black;\n}\n.modal-enter .modal-container[data-v-660fe80c],\n.modal-leave-active .modal-container[data-v-660fe80c] {\n transform: scale(1.1);\n}\n.modal-enter[data-v-660fe80c] {\n opacity: 0;\n}\n.modal-leave-active[data-v-660fe80c] {\n opacity: 0;\n}\n.modal-enter .modal-container[data-v-660fe80c],\n.modal-leave-active .modal-container[data-v-660fe80c] {\n transform: scale(1.1);\n}\n.inner-modal-container[data-v-660fe80c] {\n padding: 1em 2em;\n}\n.inner-login-container[data-v-660fe80c] {\n padding-top: 1em;\n}\n.modal-container[data-v-660fe80c] {\n background-color: #fff;\n border-radius: 10px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);\n display: inline-block;\n font-family: Helvetica, Arial, sans-serif;\n position: relative;\n margin: 30px auto;\n transition: all 0.3s ease;\n width: 585px;\n}\n@media (max-width: 700px) {\n.modal-container[data-v-660fe80c] {\n width: 80%;\n}\n}\n.modal-flex[data-v-660fe80c] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.modal-header[data-v-660fe80c] {\n margin-bottom: 1em;\n position: relative;\n text-align: center;\n}\n.modal-mask[data-v-660fe80c] {\n background-color: rgba(0, 0, 0, 0.5);\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n overflow-x: hidden;\n transition: opacity 0.3s ease;\n text-align: center;\n z-index: 1555;\n}\n.top-left[data-v-660fe80c] {\n position: absolute;\n left: 2em;\n}\n.top-right[data-v-660fe80c] {\n position: absolute;\n top: 0;\n right: 1em;\n padding: 0.3em;\n cursor: pointer;\n z-index: 9999;\n}\n.transparent-container[data-v-660fe80c] {\n background-color: transparent;\n border-radius: 10px;\n box-shadow: none;\n display: inline-block;\n font-family: Helvetica, Arial, sans-serif;\n padding: 2.5em 0;\n position: relative;\n margin: 30px auto;\n transition: all 0.3s ease;\n width: 585px;\n}\n@media (max-width: 700px) {\n.transparent-container[data-v-660fe80c] {\n width: 80%;\n}\n}\n.info-title[data-v-660fe80c] {\n color: #459ef5;\n cursor: pointer;\n margin-top: 1.75em;\n}\n@media only screen and (max-width: 600px) {\n.mobile-only[data-v-660fe80c] {\n padding-bottom: 0px;\n}\n.inner-modal-container[data-v-660fe80c] {\n padding: 1em;\n}\n.transparent-container[data-v-660fe80c] {\n padding: 15em 0 0 0;\n width: 100%;\n}\n}",""])},oalr:function(t){t.exports=JSON.parse('{"maps1":"Nyílt adatokat hozunk létre a műanyagszennyezésről","maps2":"Az adatokat bárki letöltheti és felhasználhatja.","maps3":"Lásd a Globális térképet","global-leaderboard":"Globális ranglista","position":"Pozíció","name":"Név","xp":"XP","social":"Social","previous-target":"Előző cél","next-target":"Következő cél","litter":"Szemét","total-verified-litter":"Összes szemét","total-verified-photos":"Összes fénykép","total-littercoin-issued":"Összes Littercoin","number-of-contributors":"Közreműködők száma","avg-img-per-person":"Átlagos kép személyenként","avg-litter-per-person":"Átlagos szemét személyenként","leaderboard":"Ranglista","time-series":"Idősorok","options":"Beállítások","most-data":"A legtöbb szemétcímkék","most-data-person":"A legtöbb szemétcímke személyenként","download-open-verified-data":"Ingyenes és nyílt, ellenőrzött polgári tudomány adatok a műanyagszennyezésről.","stop-plastic-ocean":"Állítsuk meg a műanyag óceánba kerülését.","enter-email-sent-data":"Kérjük, adjon meg egy e-mail címet, amelyre az adatokat el tudjuk küldeni:"}')},"p+ct":function(t){t.exports=JSON.parse('{"click-to-upload":"Haz clic para subir tus fotos o arrastra y sueltas aquí","thank-you":"¡Gracias!","need-tag-litter":"A continuación, hay que etiquetar la basura","tag-litter":"Etiquetar basura"}')},"p+sy":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"ContactUs",components:{VueRecaptcha:n("4JY7").a},data:function(){return{name:"",email:"",subject:"",message:"",g_recaptcha_response:"",processing:!1}},computed:{errors:function(){return this.$store.state.user.errors},computedKey:function(){return"6LcvHsIZAAAAAOG0q9-1vY3uWqu0iFvUC3tCNhID"}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SEND_EMAIL_TO_US",{name:e.name,email:e.email,subject:e.subject,message:e.message,"g-recaptcha-response":e.g_recaptcha_response});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()},clearErrors:function(t){this.$store.commit("deleteUserError",t)},hasError:function(t){return this.errors.hasOwnProperty(t)},getError:function(t){return this.errors[t][0]},recaptcha:function(t){this.g_recaptcha_response=t}}},s=(n("1zmp"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero is-info is-fullheight"},[n("div",{staticClass:"columns centered"},[n("div",{staticClass:"column"}),t._v(" "),n("div",{staticClass:"column is-half-tablet is-one-third-desktop is-one-quarter-fullhd"},[n("p",{staticClass:"title is-1 has-text-centered"},[t._v("Contact Us")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearErrors(e.target.name)}}},[t._m(0),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"name"}},[t._v("Your Name (optional)")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",class:t.hasError("name")?"is-danger":"",attrs:{id:"name",type:"text",name:"name",autofocus:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t._m(1),t._v(" "),t.hasError("name")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("name")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"email"}},[t._v("Your Email")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",class:t.hasError("email")?"is-danger":"",attrs:{id:"email",type:"email",name:"email",required:"",placeholder:"you@email.com"},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),t._m(2),t._v(" "),t.hasError("email")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("email")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"subject"}},[t._v("Subject")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.subject,expression:"subject"}],staticClass:"input",class:t.hasError("subject")?"is-danger":"",attrs:{id:"subject",type:"text",name:"subject",required:""},domProps:{value:t.subject},on:{input:function(e){e.target.composing||(t.subject=e.target.value)}}}),t._v(" "),t._m(3),t._v(" "),t.hasError("subject")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("subject")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"message"}},[t._v("Message")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],staticClass:"textarea",class:t.hasError("message")?"is-danger":"",attrs:{id:"message",required:""},domProps:{value:t.message},on:{input:function(e){e.target.composing||(t.message=e.target.value)}}}),t._v(" "),t.hasError("message")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("message")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("div",{staticClass:"control recaptcha"},[n("vue-recaptcha",{attrs:{sitekey:t.computedKey,loadRecaptchaScript:!0},on:{verify:t.recaptcha},model:{value:t.g_recaptcha_response,callback:function(e){t.g_recaptcha_response=e},expression:"g_recaptcha_response"}}),t._v(" "),t.hasError("g-recaptcha-response")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("g-recaptcha-response")))]):t._e()],1)]),t._v(" "),n("div",{staticClass:"field has-text-centered"},[n("div",{staticClass:"control"},[n("button",{staticClass:"button is-primary",class:t.processing?"is-loading":"",attrs:{type:"submit",disabled:t.processing}},[t._v("\n Send Email\n ")])])])])])]),t._v(" "),n("div",{staticClass:"column"})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"field with-x-spacing"},[e("label",{staticClass:"label has-text-white",attrs:{for:"to"}},[this._v("To")]),this._v(" "),e("div",{staticClass:"control"},[e("input",{staticClass:"input",attrs:{type:"text",value:"info@openlittermap.com",readonly:""}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-user"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-info"})])}],!1,null,"433468a8",null);e.default=l.exports},"p5/b":function(t){t.exports=JSON.parse('{"email-you":"Wil je dat we je zo nu en dan voorzien van goed nieuws","subscribe":"Abonneer","subscribed-success-msg":"Je bent nu geabonneerd op goed nieuws! Je kunt je abonnement op elk moment opzeggen","need-your-help":"We hebben jouw hulp nodig om \'s werelds meest geavanceerde en toegankelijke database over zwerfafval te maken","read":"LEES","blog":"Blog","research-paper":"Onderzoeksrapport","watch":"KIJK","help":"HELP","join-the-team":"Sluit je aan bij het Team","join-slack":"Sluit je aan bij Slack","create-account":"Maak een Account","fb-group":"Facebook Groep","single-donation":"Eenmalige donatie","crowdfunding":"Fondsenwerving","olm-is-flagship":"OpenLitterMap is het vlaggenschip product van GeoTech Innovations Ltd., een startup in Ierland, baanbrekend op het gebied van burgerwetenschap #650323","enter-email":"Voer je email adres in","references":"Referenties","credits":"Credits","contact-us":"Contact Us"}')},p6Vx:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),n("YFMt")),l=n("4R65"),u=n.n(l),c=(n("tmUW"),n("UZfx")),h=n.n(c),d=n("gBxo");function p(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){p(a,i,r,o,s,"next",t)}function s(t){p(a,i,r,o,s,"throw",t)}o(void 0)}))}}var m={name:"ClusterMap",props:["clustersUrl","pointsUrl"],data:function(){return{map:null,clusters:[],points:[],prevZoom:s.e,pointsLayerController:null,pointsControllerShowing:!1,grey_dot:null,green_dot:null}},mounted:function(){var t=this;return f(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.setup();case 2:case"end":return e.stop()}}),e)})))()},watch:{clustersUrl:function(){var t=this;return f(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.map.remove(),t.map=null,t.prevZoom=s.e,(null===(n=t.points)||void 0===n?void 0:n.remove)&&(t.points.resetVertices(),t.points.remove()),t.clusters.clearLayers(),t.clusters=null,t.points=null,t.pointsLayerController=null,t.pointsControllerShowing=!1,e.next=11,t.setup();case 11:case"end":return e.stop()}}),e)})))()}},methods:{setup:function(){var t=this;return f(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.map=u.a.map("map",{center:[0,0],zoom:s.e,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1}),t.map.scrollWheelZoom=!0,n=(new Date).getFullYear(),'OpenStreetMap',u.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:s.c,minZoom:s.e}).addTo(t.map),t.map.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+n+" Clustering @ MapBox"),t.clusters=u.a.geoJSON(null,{pointToLayer:t.createClusterIcon,onEachFeature:t.onEachFeature}).addTo(t.map),e.next=9,t.getClusters(2,null);case 9:t.map.on("moveend",t.update),t.map.on("overlayadd",t.update),t.map.on("overlayremove",t.update),t.map.on("popupopen",d.a.scrollPopupToBottom),t.map.on("zoom",(function(){var e;(null===(e=t.points)||void 0===e?void 0:e.remove)&&t.points.remove()})),t.green_dot=u.a.icon({iconUrl:"./images/vendor/leaflet/dist/dot.png",iconSize:[10,10]}),t.grey_dot=u.a.icon({iconUrl:"./images/vendor/leaflet/dist/grey-dot.jpg",iconSize:[13,10]});case 16:case"end":return e.stop()}}),e)})))()},getClusters:function(t,e){var n=this;return f(r.a.mark((function i(){return r.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,axios.get(n.clustersUrl,{params:{zoom:t,bbox:e}}).then((function(t){n.clusters.clearLayers(),n.clusters.addData(t.data)})).catch((function(t){})).finally((function(){return n.$emit("loading-complete")}));case 2:case"end":return i.stop()}}),i)})))()},getPoints:function(t,e,n){var i=this;return f(r.a.mark((function a(){return r.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,axios.get(i.pointsUrl,{params:{zoom:t,bbox:e,layers:n}}).then((function(t){i.prevZoom=0)){e.next=5;break}return e.abrupt("return");case 5:if((null===(n=t.points)||void 0===n?void 0:n.remove)&&(t.clusters.clearLayers(),t.points.remove()),!(o'+t.properties.point_count_abbreviated+"",className:"marker-cluster-"+i,iconSize:u.a.point(40,40)});return u.a.marker(e,{icon:r})},createPointGroups:function(){if(!this.pointsControllerShowing){var t={Alcohol:new u.a.LayerGroup,Brands:new u.a.LayerGroup,Coastal:new u.a.LayerGroup,Coffee:new u.a.LayerGroup,Dumping:new u.a.LayerGroup,Food:new u.a.LayerGroup,Industrial:new u.a.LayerGroup,Other:new u.a.LayerGroup,PetSurprise:new u.a.LayerGroup,Sanitary:new u.a.LayerGroup,Smoking:new u.a.LayerGroup,SoftDrinks:new u.a.LayerGroup};this.pointsLayerController=u.a.control.layers(null,t).addTo(this.map),this.pointsControllerShowing=!0}},onEachFeature:function(t,e){if(t.properties.cluster){var n=this;e.on("click",(function(t){var e=n.map.getZoom()+s.f>s.c?s.c:n.map.getZoom()+s.f;n.map.flyTo(t.latlng,e,{animate:!0,duration:2})}))}},getActiveLayers:function(){var t=this,e=[];return this.pointsLayerController._layerControlInputs.forEach((function(n,i){if(n.checked){var r="petsurprise"===t.pointsLayerController._layers[i].name.toLowerCase()?"dogshit":t.pointsLayerController._layers[i].name.toLowerCase();e.push(r)}})),e.length>0?e:null},renderLeafletPopup:function(t,e){u.a.popup(d.a.popupOptions).setLatLng(e).setContent(d.a.getMapImagePopupContent(t.properties)).openOn(this.map)}}},g=(n("Vss8"),n("KHd+")),v=Object(g.a)(m,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"h100"},[e("div",{ref:"map",attrs:{id:"map"}})])}),[],!1,null,"1ed19081",null).exports,y={name:"TeamMap",props:["teamId"],components:{Loading:o.a,ClusterMap:v},data:function(){return{loading:!0}},watch:{teamId:function(t){t>0&&(this.loading=!0)}},methods:{fullscreenChange:function(t){this.fullscreen=t},toggle:function(){this.$refs.fullscreen.toggle()}}};n("snC/");function _(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function b(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){_(a,i,r,o,s,"next",t)}function s(t){_(a,i,r,o,s,"throw",t)}o(void 0)}))}}var w={name:"TeamsDashboard",components:{TeamMap:Object(g.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"team-map-container"},[t.loading&&t.teamId>0?n("loading",{attrs:{active:t.loading,"is-full-page":!1},on:{"update:active":function(e){t.loading=e}}}):t._e(),t._v(" "),t.teamId>0?n("fullscreen",{ref:"fullscreen",staticClass:"profile-map-container",on:{change:t.fullscreenChange}},[n("button",{staticClass:"btn-map-fullscreen",on:{click:t.toggle}},[n("i",{staticClass:"fa fa-expand"})]),t._v(" "),n("cluster-map",{attrs:{"clusters-url":"/teams/clusters/"+t.teamId,"points-url":"/teams/points/"+t.teamId},on:{"loading-complete":function(e){t.loading=!1}}})],1):t._e()],1)}),[],!1,null,"49b858a9",null).exports},created:function(){var t=this;return b(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.changeTeamOrTime();case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{period:"all",timePeriods:["today","week","month","year","all"],viewTeam:0}},computed:{litter_count:function(){var t;return null!==(t=this.$store.state.teams.allTeams.litter_count)&&void 0!==t?t:0},photos_count:function(){var t;return null!==(t=this.$store.state.teams.allTeams.photos_count)&&void 0!==t?t:0},members_count:function(){var t;return null!==(t=this.$store.state.teams.allTeams.members_count)&&void 0!==t?t:0},teams:function(){return this.$store.state.teams.teams}},methods:{changeTeamOrTime:function(){var t=this;return b(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_TEAM_DASHBOARD_DATA",{period:t.period,team_id:t.viewTeam});case 2:case"end":return e.stop()}}),e)})))()},getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)}}},x=(n("0Oxq"),Object(g.a)(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"tdc"},[n("p",{staticClass:"subtitle is-centered is-3"},[t._v(t._s(t.$t("teams.dashboard.teams-dashboard")))]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column teams-card"},[n("span",{staticClass:"title is-2",staticStyle:{color:"#7b848e"}},[t._v(t._s(t.photos_count))]),t._v(" "),n("br"),t._v("\n "+t._s(t.$t("teams.dashboard.photos-uploaded"))+" "+t._s(this.getPeriod())+"\n ")]),t._v(" "),n("div",{staticClass:"column teams-card"},[n("span",{staticClass:"title is-2",staticStyle:{color:"#7b848e"}},[t._v(t._s(t.litter_count))]),t._v(" "),n("br"),t._v("\n "+t._s(t.$t("teams.dashboard.litter-tagged"))+" "+t._s(this.getPeriod())+"\n ")]),t._v(" "),n("div",{staticClass:"column teams-card"},[n("span",{staticClass:"title is-2",staticStyle:{color:"#7b848e"}},[t._v(t._s(t.members_count))]),t._v(" "),n("br"),t._v("\n "+t._s(t.$t("teams.dashboard.members-uploaded"))+" "+t._s(this.getPeriod())+"\n ")])]),t._v(" "),n("div",{staticClass:"mobile-teams-select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input dash-time",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]},t.changeTeamOrTime]}},t._l(t.timePeriods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0),t._v(" "),n("div",{staticStyle:{flex:"0.1"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.viewTeam,expression:"viewTeam"}],staticClass:"input dash-time",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.viewTeam=e.target.multiple?n:n[0]},t.changeTeamOrTime]}},[n("option",{attrs:{value:"0",selected:""}},[t._v(t._s(t.$t("teams.dashboard.all-teams")))]),t._v(" "),t._l(t.teams,(function(e){return n("option",{domProps:{value:e.id}},[t._v(t._s(e.name))])}))],2)]),t._v(" "),n("TeamMap",{attrs:{"team-id":t.viewTeam}})],1)}),[],!1,null,"5003807a",null).exports);function k(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var C={name:"CreateTeam",data:function(){return{btn:"button is-medium is-primary",processing:!1,identifier:"",name:"",teamType:1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.teams.errors},remaining:function(){return this.user.remaining_teams},teamTypes:function(){return this.$store.state.teams.types},user:function(){return this.$store.state.user.user}},methods:{clearErrors:function(){this.$store.commit("teamErrors",[])},clearError:function(t){this.errors[t]&&this.$store.commit("clearTeamsError",t)},create:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("CREATE_NEW_TEAM",{name:e.name,identifier:e.identifier,teamType:e.teamType});case 3:e.processing=!1,e.name="",e.identifier="";case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){k(a,i,r,o,s,"next",t)}function s(t){k(a,i,r,o,s,"throw",t)}o(void 0)}))})()},errorExists:function(t){return this.errors.hasOwnProperty(t)},getFirstError:function(t){return this.errors[t][0]}},mounted:function(){this.clearErrors()}},T=(n("1ZSq"),Object(g.a)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ctc"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.dashboard.create-a-team")))]),t._v(" "),n("p",{staticClass:"mb2"},[t._v(t._s(t.$t("teams.create.allowed-to-create",{teams:this.remaining}))+".")]),t._v(" "),t.remaining?n("div",{staticClass:"columns mt3"},[n("div",{staticClass:"column is-one-third"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.create.what-kind-of-team")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.create(e)}}},[n("div",{staticClass:"control pb2"},[n("p",[t._v(t._s(t.$t("teams.create.team-type")))]),t._v(" "),n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.teamType,expression:"teamType"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.teamType=e.target.multiple?n:n[0]}}},t._l(t.teamTypes,(function(e){return n("option",{domProps:{value:e.id}},[t._v(t._s(e.team))])})),0)])]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("teams.create.team-name")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",attrs:{name:"name",placeholder:t.$t("teams.create.my-awesome-team-placeholder"),type:"text",required:""},domProps:{value:t.name},on:{keydown:function(e){return t.clearError("name")},input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t.errorExists("name")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"identifier"}},[t._v(t._s(t.$t("teams.create.unique-team-id")))]),t._v(" "),n("br"),t._v(" "),n("small",[t._v(t._s(t.$t("teams.create.id-to-join-team")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.identifier,expression:"identifier"}],staticClass:"input",attrs:{name:"identifier",placeholder:"Awesome2021",required:""},domProps:{value:t.identifier},on:{keydown:function(e){return t.clearError("identifier")},input:function(e){e.target.composing||(t.identifier=e.target.value)}}}),t._v(" "),t.errorExists("identifier")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("identifier"))}}):t._e()]),t._v(" "),n("div",[n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("teams.create.create-team")))])])])])]):t._e()])}),[],!1,null,"82c06a6a",null).exports);function E(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var S={name:"JoinTeam",data:function(){return{btn:"button is-medium is-primary",identifier:"",processing:!1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.teams.errors}},methods:{clearErrors:function(){this.$store.commit("teamErrors",[])},clearError:function(t){this.errors[t]&&this.$store.commit("clearTeamsError",t)},errorExists:function(t){return this.errors.hasOwnProperty(t)},getFirstError:function(t){return this.errors[t][0]},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("JOIN_TEAM",e.identifier);case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){E(a,i,r,o,s,"next",t)}function s(t){E(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},mounted:function(){this.clearErrors()}},P=(n("0a/T"),Object(g.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"jtc"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.dashboard.join-a-team")))]),t._v(" "),n("div",{staticClass:"columns mt3"},[n("div",{staticClass:"column is-one-third"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.join.enter-team-identifier")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("div",{staticClass:"control mb2"},[n("label",{attrs:{for:"join"}},[t._v(t._s(t.$t("teams.join.team-identifier")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.identifier,expression:"identifier"}],staticClass:"input",attrs:{name:"join",id:"join",placeholder:t.$t("teams.join.enter-id-to-join-placeholder"),required:"",autofocus:""},domProps:{value:t.identifier},on:{input:[function(e){e.target.composing||(t.identifier=e.target.value)},t.clearError]}}),t._v(" "),t.errorExists("identifier")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("identifier"))}}):t._e()]),t._v(" "),n("div",{staticClass:"has-text-right"},[n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("teams.join.join-team")))])])])])])])}),[],!1,null,"59181ff6",null).exports),L=n("wd/R"),I=n.n(L);function O(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function A(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){O(a,i,r,o,s,"next",t)}function s(t){O(a,i,r,o,s,"throw",t)}o(void 0)}))}}var M={name:"MyTeams",data:function(){return{loading:!1,processing:!1,changing:!1,viewTeam:null,dlProcessing:!1}},computed:{activeTeam:function(){return this.user.active_team},current_page:function(){return this.members.current_page},isLeader:function(){var t=this,e=this.teams.find((function(e){return e.id===t.viewTeam}));return e&&e.leader===this.user.id},members:function(){return this.$store.state.teams.members},show_current_page:function(){return this.members.current_page>1},show_next_page:function(){return this.members.next_page_url},teams:function(){return this.$store.state.teams.teams},user:function(){return this.$store.state.user.user}},mounted:function(){var t=this;return A(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,t.getUserTeams();case 3:t.loading=!1;case 4:case"end":return e.stop()}}),e)})))()},methods:{changeActiveTeam:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.processing=!0,n.next=3,e.$store.dispatch("CHANGE_ACTIVE_TEAM",t);case 3:e.processing=!1;case 4:case"end":return n.stop()}}),n)})))()},inactivateTeam:function(){var t=this;return A(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("INACTIVATE_TEAM");case 3:return t.viewTeam=null===(n=t.teams[0])||void 0===n?void 0:n.id,e.next=6,t.changeViewedTeam();case 6:t.processing=!1;case 7:case"end":return e.stop()}}),e)})))()},getUserTeams:function(){var t=this;return A(r.a.mark((function e(){var n,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_USERS_TEAMS");case 2:if(!(i=t.activeTeam||(null===(n=t.teams[0])||void 0===n?void 0:n.id))){e.next=7;break}return t.viewTeam=i,e.next=7,t.$store.dispatch("GET_TEAM_MEMBERS",t.viewTeam);case 7:case"end":return e.stop()}}),e)})))()},leaveTeam:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(confirm(e.$t("teams.myteams.confirm-leave-team"))){n.next=2;break}return n.abrupt("return");case 2:return e.loading=!0,n.next=5,e.$store.dispatch("LEAVE_TEAM",t);case 5:return n.next=7,e.getUserTeams();case 7:e.loading=!1;case 8:case"end":return n.stop()}}),n)})))()},changeViewedTeam:function(){var t=this;return A(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.changing=!0,e.next=3,t.$store.dispatch("GET_TEAM_MEMBERS",t.viewTeam);case 3:t.changing=!1;case 4:case"end":return e.stop()}}),e)})))()},checkActiveTeam:function(t){return t===this.viewTeam?"team-active":"team-inactive"},checkActiveTeamText:function(t){return this.changing?"...":t===this.viewTeam?this.$t("common.active"):this.$t("common.inactive")},download:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.dlProcessing=!0,n.next=3,e.$store.dispatch("DOWNLOAD_DATA_FOR_TEAM",t);case 3:e.dlProcessing=!1;case 4:case"end":return n.stop()}}),n)})))()},getRank:function(t){return 1===this.members.current_page?t+1:t+1+10*(this.members.current_page-1)},icon:function(t){return t===this.viewTeam?"fa fa-check":"fa fa-ban"},medal:function(t){if(1===this.members.current_page){if(0===t)return"/assets/icons/gold-medal.png";if(1===t)return"/assets/icons/silver-medal.png";if(2===t)return"/assets/icons/bronze-medal.svg"}return""},previousPage:function(){this.$store.dispatch("PREVIOUS_MEMBERS_PAGE",this.viewTeam)},nextPage:function(){this.$store.dispatch("NEXT_MEMBERS_PAGE",this.viewTeam)},toggleLeaderboardVis:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.$store.dispatch("TOGGLE_LEADERBOARD_VISIBILITY",t);case 2:case"end":return n.stop()}}),n)})))()},formatDate:function(t){return I()(t).format("LLL")}}},z=(n("oBKJ"),Object(g.a)(M,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("div",{staticClass:"my-teams-container"},[n("h1",{staticClass:"title is-2"},[t._v("\n "+t._s(t.$t("teams.myteams.title"))+"\n ")]),t._v(" "),t.loading?n("p",[t._v("\n "+t._s(t.$t("common.loading"))+"\n ")]):n("div",[n("div",{staticClass:"active-team-indicator"},[n("div",[t.user.active_team?n("div",{staticClass:"mb1"},[n("p",[t._v("\n "+t._s(t.$t("teams.myteams.currently-joined-team"))+" "),n("strong",[t._v(t._s(t.user.team.name))]),t._v(".\n "),n("br"),t._v("\n "+t._s(t.$t("teams.myteams.enabled-contributions"))+"\n ")])]):t.teams&&t.teams.length?n("p",{staticClass:"mb1",domProps:{innerHTML:t._s(t.$t("teams.myteams.disabled-contributions"))}}):n("p",{staticClass:"mb1"},[t._v("\n "+t._s(t.$t("teams.myteams.no-joined-team"))+".\n ")])]),t._v(" "),t.user.active_team?n("div",{staticClass:"button is-warning tooltip",on:{click:t.inactivateTeam}},[n("span",{staticClass:"tooltip-text disable-teams-tooltip"},[t._v("\n "+t._s(t.$t("teams.myteams.disable-contributions-tooltip"))+"\n ")]),t._v("\n "+t._s(t.$t("common.inactivate"))+"\n ")]):t._e()]),t._v(" "),t.teams&&t.teams.length?n("div",{staticClass:"mb1"},[n("div",{staticClass:"is-size-3"},[t._v("\n "+t._s(t.$t("teams.myteams.team-details"))+"\n ")]),t._v(" "),t.isLeader?n("div",[n("p",[t._v(t._s(t.$t("teams.myteams.leader-of-team"))+".")])]):t._e()]):t._e(),t._v(" "),t.teams&&t.teams.length?n("div",{staticStyle:{"overflow-x":"scroll"}},[n("div",{staticClass:"flex mb1"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.viewTeam,expression:"viewTeam"}],staticClass:"input mtba",staticStyle:{"max-width":"20em","min-width":"5em"},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.viewTeam=e.target.multiple?n:n[0]},t.changeViewedTeam]}},[n("option",{attrs:{disabled:""},domProps:{selected:!t.viewTeam,value:null}},[t._v("\n "+t._s(t.$t("teams.myteams.join-team"))+"\n ")]),t._v(" "),t._l(t.teams,(function(e){return n("option",{key:e.id,domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])}))],2)]),t._v(" "),n("table",{staticClass:"table is-fullwidth is-hoverable has-text-centered"},[n("thead",[n("th",[t._v(t._s(t.$t("teams.myteams.position-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.name-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.username-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.status-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.photos-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.litter-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.last-activity-header")))])]),t._v(" "),n("tbody",t._l(t.members.data,(function(e,i){return n("tr",{key:e.id},[n("td",[n("div",{staticClass:"medal-container"},[n("img",{directives:[{name:"show",rawName:"v-show",value:i<3,expression:"index < 3"}],staticClass:"medal",attrs:{src:t.medal(i)}}),t._v(" "),n("span",[t._v(t._s(t.getRank(i)))])])]),t._v(" "),n("td",[t._v(t._s(e.name?e.name:"-"))]),t._v(" "),n("td",[t._v(t._s(e.username?e.username:"-"))]),t._v(" "),n("td",{staticStyle:{width:"9em","white-space":"nowrap"}},[n("span",{class:t.checkActiveTeam(e.active_team)},[n("i",{class:t.icon(e.active_team)}),t._v("\n "+t._s(t.checkActiveTeamText(e.active_team))+"\n ")])]),t._v(" "),n("td",[t._v(t._s(e.pivot.total_photos))]),t._v(" "),n("td",[t._v(t._s(e.pivot.total_litter))]),t._v(" "),n("td",{staticStyle:{"max-width":"100px"}},[t._v("\n "+t._s(e.pivot.updated_at?t.formatDate(e.pivot.updated_at):"-")+"\n ")])])})),0)]),t._v(" "),n("div",{staticClass:"has-text-centered"},[n("a",{directives:[{name:"show",rawName:"v-show",value:this.current_page>1,expression:"this.current_page > 1"}],staticClass:"pagination-previous",on:{click:t.previousPage}},[t._v(t._s(t.$t("common.previous")))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:this.show_next_page,expression:"this.show_next_page"}],staticClass:"pagination-next",on:{click:t.nextPage}},[t._v(t._s(t.$t("common.next-page")))])])]):t._e(),t._v(" "),t.teams&&t.teams.length?n("div",{staticStyle:{"overflow-x":"scroll"}},[n("div",{staticClass:"is-size-3 mb1"},[t._v("\n "+t._s(t.$t("teams.myteams.all-my-teams"))+"\n ")]),t._v(" "),n("table",{staticClass:"table is-fullwidth is-hoverable"},[n("thead",[n("th",[t._v(t._s(t.$t("teams.myteams.name-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.identifier-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.members-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.photos-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.litter-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("common.actions")))])]),t._v(" "),n("tbody",t._l(t.teams,(function(e){return n("tr",{key:e.id,class:e.id===t.activeTeam?"is-primary-row":""},[n("td",[t._v(t._s(e.name))]),t._v(" "),n("td",[t._v(t._s(e.identifier))]),t._v(" "),n("td",[t._v(t._s(e.members))]),t._v(" "),n("td",[t._v(t._s(e.total_images))]),t._v(" "),n("td",[t._v(t._s(e.total_litter))]),t._v(" "),n("td",{staticStyle:{"min-width":"120px","max-width":"150px"}},[n("button",{staticClass:"button is-small is-primary team-action tooltip",class:t.processing?"is-loading":"",attrs:{disabled:e.id===t.activeTeam},on:{click:function(n){return t.changeActiveTeam(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v("\n "+t._s(e.id===t.activeTeam?t.$t("teams.myteams.this-is-active-team"):t.$t("teams.myteams.set-as-active-team"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-star"})]),t._v(" "),n("button",{staticClass:"button is-small is-info team-action tooltip",class:t.dlProcessing?"is-loading":"",on:{click:function(n){return t.download(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v(t._s(t.$t("teams.myteams.download-team-data")))]),t._v(" "),n("i",{staticClass:"fa fa-download"})]),t._v(" "),n("button",{staticClass:"button is-small is-danger team-action tooltip",attrs:{disabled:e.members<=1},on:{click:function(n){return t.leaveTeam(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v("\n "+t._s(e.members>1?t.$t("teams.myteams.leave-team"):t.$t("teams.myteams.cant-leave-team"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-sign-out"})]),t._v(" "),e.leader===t.user.id?n("button",{staticClass:"button is-small is-warning team-action tooltip",on:{click:function(n){return t.toggleLeaderboardVis(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v("\n "+t._s(e.leaderboards?t.$t("teams.myteams.hide-from-leaderboards"):t.$t("teams.myteams.show-on-leaderboards"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa",class:e.leaderboards?"fa-eye-slash":"fa-eye"})]):t._e()])])})),0)])]):t._e()])])])}),[],!1,null,"0320b80a",null).exports);function N(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function D(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){N(a,i,r,o,s,"next",t)}function s(t){N(a,i,r,o,s,"throw",t)}o(void 0)}))}}var R={name:"TeamSettings",data:function(){return{loading:!0,privacySectionSelectedTeamId:0,attributesSectionSelectedTeamId:0,privacyAllProcessing:!1,privacySubmitProcessing:!1,attributesProcessing:!1,attributesTeamName:"",attributesTeamIdentifier:"",btnAll:"button is-medium is-primary mt1",btn:"button is-medium is-warning mt1 mr1"}},created:function(){var t=this;return D(r.a.mark((function e(){var n,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loading=!0,0!==t.teams.length){e.next=4;break}return e.next=4,t.$store.dispatch("GET_USERS_TEAMS");case 4:t.privacySectionSelectedTeamId=null===(n=t.teams[0])||void 0===n?void 0:n.id,t.attributesSectionSelectedTeamId=null===(i=t.teamsLedByUser[0])||void 0===i?void 0:i.id,t.clearErrors(),t.loading=!1;case 8:case"end":return e.stop()}}),e)})))()},watch:{attributesSectionSelectedTeam:function(){this.attributesTeamName=this.attributesSectionSelectedTeam.name,this.attributesTeamIdentifier=this.attributesSectionSelectedTeam.identifier}},computed:{allButton:function(){return this.privacyAllProcessing?this.btnAll+" is-loading":this.btnAll},disabled:function(){return this.privacyAllProcessing||this.privacySubmitProcessing},submitButton:function(){return this.privacySubmitProcessing?this.btn+" is-loading":this.btn},show_name_leaderboards:{get:function(){return this.team.pivot.show_name_leaderboards},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_name_leaderboards",v:t})}},show_username_leaderboards:{get:function(){return this.team.pivot.show_username_leaderboards},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_username_leaderboards",v:t})}},show_name_maps:{get:function(){return this.team.pivot.show_name_maps},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_name_maps",v:t})}},show_username_maps:{get:function(){return this.team.pivot.show_username_maps},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_username_maps",v:t})}},team:function(){var t=this;return this.teams.find((function(e){return e.id===t.privacySectionSelectedTeamId}))},attributesSectionSelectedTeam:function(){var t=this;return this.teamsLedByUser.find((function(e){return e.id===t.attributesSectionSelectedTeamId}))},teams:function(){return this.$store.state.teams.teams},user:function(){return this.$store.state.user.user},teamsLedByUser:function(){var t=this;return this.teams.filter((function(e){return e.leader===t.user.id}))},errors:function(){return this.$store.state.teams.errors}},methods:{submit:function(t){var e=this;return D(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t?e.privacyAllProcessing=!0:e.privacySubmitProcessing=!0,n.next=3,e.$store.dispatch("SAVE_TEAM_SETTINGS",{all:t,team_id:e.privacySectionSelectedTeamId});case 3:e.privacySubmitProcessing=!1,e.privacyAllProcessing=!1;case 5:case"end":return n.stop()}}),n)})))()},updateTeam:function(){var t=this;return D(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.attributesProcessing=!0,e.next=3,t.$store.dispatch("UPDATE_TEAM",{teamId:t.attributesSectionSelectedTeamId,name:t.attributesTeamName,identifier:t.attributesTeamIdentifier});case 3:if(t.attributesProcessing=!1,!Object.keys(t.errors).length){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.$store.dispatch("GET_USERS_TEAMS");case 8:t.user.active_team===t.attributesSectionSelectedTeamId&&(n=t.teams.find((function(e){return e.id===t.attributesSectionSelectedTeamId})),t.$store.commit("usersTeam",n));case 9:case"end":return e.stop()}}),e)})))()},clearErrors:function(){this.$store.commit("teamErrors",[])},clearError:function(t){this.errors[t]&&this.$store.commit("clearTeamsError",t)},getFirstError:function(t){return this.errors[t]?this.errors[t][0]:null}}},j=(n("yGXg"),Object(g.a)(R,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tsc"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.dashboard.settings")))]),t._v(" "),t.loading||t.teams.length?t._e():n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.myteams.no-joined-team"))+".")]),t._v(" "),t.teams.length?n("div",{staticClass:"columns mt3 mb3"},[n("div",{staticClass:"column is-one-third pt0"},[n("h1",{staticClass:"title"},[t._v(t._s(t.$t("teams.settings.privacy-title")))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.settings.privacy-text")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.privacySectionSelectedTeamId,expression:"privacySectionSelectedTeamId"}],staticClass:"input mb2",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.privacySectionSelectedTeamId=e.target.multiple?n:n[0]}}},t._l(t.teams,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("teams.settings.maps.team-map"))+":")]),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_name_maps,expression:"show_name_maps"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_name_maps)?t._i(t.show_name_maps,null)>-1:t.show_name_maps},on:{change:function(e){var n=t.show_name_maps,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_name_maps=n.concat([null])):a>-1&&(t.show_name_maps=n.slice(0,a).concat(n.slice(a+1)))}else t.show_name_maps=r}}}),t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_username_maps,expression:"show_username_maps"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_username_maps)?t._i(t.show_username_maps,null)>-1:t.show_username_maps},on:{change:function(e){var n=t.show_username_maps,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_username_maps=n.concat([null])):a>-1&&(t.show_username_maps=n.slice(0,a).concat(n.slice(a+1)))}else t.show_username_maps=r}}}),t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_name_maps,expression:"show_name_maps"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.maps.name-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_username_maps,expression:"show_username_maps"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.maps.username-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!t.show_name_maps&&!t.show_username_maps,expression:"! show_name_maps && ! show_username_maps"}],staticClass:"is-red"},[t._v(t._s(t.$t("teams.settings.maps.will-not-appear")))]),t._v(" "),n("h1",{staticClass:"title is-4 mt1"},[t._v(t._s(t.$t("teams.settings.leaderboards.team-leaderboard"))+":")]),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_name_leaderboards,expression:"show_name_leaderboards"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_name_leaderboards)?t._i(t.show_name_leaderboards,null)>-1:t.show_name_leaderboards},on:{change:function(e){var n=t.show_name_leaderboards,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_name_leaderboards=n.concat([null])):a>-1&&(t.show_name_leaderboards=n.slice(0,a).concat(n.slice(a+1)))}else t.show_name_leaderboards=r}}}),t._v(" "),t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_username_leaderboards,expression:"show_username_leaderboards"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_username_leaderboards)?t._i(t.show_username_leaderboards,null)>-1:t.show_username_leaderboards},on:{change:function(e){var n=t.show_username_leaderboards,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_username_leaderboards=n.concat([null])):a>-1&&(t.show_username_leaderboards=n.slice(0,a).concat(n.slice(a+1)))}else t.show_username_leaderboards=r}}}),t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_name_leaderboards,expression:"show_name_leaderboards"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.leaderboards.name-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_username_leaderboards,expression:"show_username_leaderboards"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.leaderboards.username-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!t.show_name_leaderboards&&!t.show_username_leaderboards,expression:"! show_name_leaderboards && ! show_username_leaderboards"}],staticClass:"is-red"},[t._v(t._s(t.$t("teams.settings.leaderboards.will-not-appear")))]),t._v(" "),n("div",{staticClass:"flex"},[n("button",{class:t.submitButton,attrs:{disabled:t.disabled},on:{click:function(e){return t.submit(!1)}}},[t._v(t._s(t.$t("teams.settings.submit-one-team")))]),t._v(" "),n("button",{class:t.allButton,attrs:{disabled:t.disabled},on:{click:function(e){return t.submit(!0)}}},[t._v(t._s(t.$t("teams.settings.apply-all-teams")))])])])])]):t._e(),t._v(" "),t.teamsLedByUser.length?n("div",{staticClass:"columns mb3"},[n("div",{staticClass:"column is-one-third pt0"},[n("h1",{staticClass:"title"},[t._v(t._s(t.$t("teams.settings.team-update-title")))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.settings.team-update-text")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n("div",[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.updateTeam(e)}}},[n("div",{staticClass:"control pb2"},[n("p",[t._v(t._s(t.$t("teams.create.select-team")))]),t._v(" "),n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.attributesSectionSelectedTeamId,expression:"attributesSectionSelectedTeamId"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.attributesSectionSelectedTeamId=e.target.multiple?n:n[0]}}},t._l(t.teamsLedByUser,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0)])]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("teams.create.team-name")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.attributesTeamName,expression:"attributesTeamName"}],staticClass:"input",attrs:{name:"name",placeholder:t.$t("teams.create.my-awesome-team-placeholder"),type:"text",required:""},domProps:{value:t.attributesTeamName},on:{keydown:function(e){return t.clearError("name")},input:function(e){e.target.composing||(t.attributesTeamName=e.target.value)}}}),t._v(" "),t.getFirstError("name")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"identifier"}},[t._v(t._s(t.$t("teams.create.unique-team-id")))]),t._v(" "),n("br"),t._v(" "),n("small",[t._v(t._s(t.$t("teams.create.id-to-join-team")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.attributesTeamIdentifier,expression:"attributesTeamIdentifier"}],staticClass:"input",attrs:{id:"identifier",name:"identifier",placeholder:"Awesome2021",required:""},domProps:{value:t.attributesTeamIdentifier},on:{keydown:function(e){return t.clearError("identifier")},input:function(e){e.target.composing||(t.attributesTeamIdentifier=e.target.value)}}}),t._v(" "),t.getFirstError("identifier")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("identifier"))}}):t._e()]),t._v(" "),n("div",[n("button",{class:t.btnAll,attrs:{disabled:t.attributesProcessing}},[t._v(t._s(t.$t("teams.create.update-team")))])])])])])]):t._e()])}),[],!1,null,"e122f83a",null).exports);function F(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var B={name:"TeamsLeaderboard",data:function(){return{loading:!0}},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_TEAMS_LEADERBOARD");case 2:e.loading=!1;case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){F(a,i,r,o,s,"next",t)}function s(t){F(a,i,r,o,s,"throw",t)}o(void 0)}))})()},computed:{teams:function(){return this.$store.state.teams.leaderboard}},methods:{getDate:function(t){return I()(t).format("LL")},medal:function(t){return 0===t?"/assets/icons/gold-medal.png":1===t?"/assets/icons/silver-medal.png":2===t?"/assets/icons/bronze-medal.svg":""}}};n("t5Ox");function U(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var q={name:"Teams",components:{TeamsDashboard:x,CreateTeam:T,JoinTeam:P,MyTeams:z,TeamSettings:j,TeamsLeaderboard:Object(g.a)(B,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("div",{staticClass:"my-teams-container"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.leaderboard.title")))]),t._v(" "),t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n("table",{staticClass:"table is-fullwidth is-hoverable has-text-centered"},[n("thead",[n("th",[t._v(t._s(t.$t("teams.leaderboard.position-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.name-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.litter-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.photos-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.created-at-header")))])]),t._v(" "),n("tbody",t._l(t.teams,(function(e,i){return n("tr",[n("td",[n("div",{staticClass:"medal-container"},[n("img",{directives:[{name:"show",rawName:"v-show",value:i<3,expression:"index < 3"}],staticClass:"medal",attrs:{src:t.medal(i)}}),t._v(" "),n("span",[t._v(t._s(i+1))])])]),t._v(" "),n("td",[t._v(t._s(e.name))]),t._v(" "),n("td",[t._v(t._s(e.total_litter))]),t._v(" "),n("td",[t._v(t._s(e.total_images))]),t._v(" "),n("td",[t._v(t._s(t.getDate(e.created_at)))])])})),0)])])])}),[],!1,null,"f4da4910",null).exports},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_TEAM_TYPES");case 3:if(0!==e.teams.length){t.next=6;break}return t.next=6,e.$store.dispatch("GET_USERS_TEAMS");case 6:e.loading=!1;case 7:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){U(a,i,r,o,s,"next",t)}function s(t){U(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0,items:[{name:this.$t("teams.dashboard.dashboard"),icon:"fa fa-home teams-icon",component:"TeamsDashboard"},{name:this.$t("teams.dashboard.join-a-team"),icon:"fa fa-sign-in teams-icon",component:"JoinTeam"},{name:this.$t("teams.dashboard.create-a-team"),icon:"fa fa-plus teams-icon",component:"CreateTeam"},{name:this.$t("teams.myteams.title"),icon:"fa fa-users teams-icon",component:"MyTeams"},{name:this.$t("teams.dashboard.leaderboard"),icon:"fa fa-trophy teams-icon",component:"TeamsLeaderboard"},{name:this.$t("teams.dashboard.settings"),icon:"fa fa-gear teams-icon",component:"TeamSettings"}]}},computed:{teams:function(){return this.$store.state.teams.teams},type:function(){return this.$store.state.teams.component_type}},methods:{goto:function(t){this.$store.commit("teamComponent",t)}}},$=(n("PLR4"),Object(g.a)(q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-fifth teams-left-col"},[n("p",{staticClass:"teams-title"},[t._v(t._s(t.$t("teams.dashboard.olm-teams")))]),t._v(" "),t._l(t.items,(function(e){return n("div",{staticClass:"team-flex",on:{click:function(n){return t.goto(e.component)}}},[n("i",{class:e.icon}),t._v(" "),n("p",{staticClass:"mtba"},[t._v(t._s(e.name))])])}))],2),t._v(" "),n("div",{staticClass:"column pt3 mobile-teams-padding",staticStyle:{"background-color":"#edf1f4"}},[t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n(t.type,{tag:"component"})],1)])])}),[],!1,null,"52fe9a19",null));e.default=$.exports},pA5b:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".wrapper[data-v-39bc26de] {\n padding: 1rem 0.5rem;\n}\n.leaderboard-heading[data-v-39bc26de] {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 1rem;\n margin-bottom: 2rem;\n cursor: pointer;\n}\n.leaderboard-heading:hover .title[data-v-39bc26de] {\n text-decoration: underline;\n}\n.leaderboard-heading:hover i[data-v-39bc26de] {\n transform: translateX(1rem);\n}\n.leaderboard-heading .title[data-v-39bc26de] {\n color: white;\n margin-bottom: 0;\n}\n.leaderboard-heading i[data-v-39bc26de] {\n color: white;\n font-size: 20px;\n transition: all 0.3s;\n}\n@media screen and (min-width: 768px) {\n.wrapper[data-v-39bc26de] {\n padding: 3rem 1.5rem;\n}\n}",""])},pAip:function(t){t.exports=JSON.parse('{"welcome":"Welcome to your new Profile","out-of":"Out of {total} users","rank":"You are in {rank} place","have-uploaded":"You have uploaded","photos":"photos","tags":"tags","all-photos":"all photos","all-tags":"all tags","your-level":"Your Level","reached-level":"You have reached level","have-xp":"and you have","need-xp":"You need","to-reach-level":"to reach the next level.","total-categories":"Total Categories","calendar-load-data":"Load Data","download-data":"Download My Data","email-send-msg":"An email will be sent to the address you use to login.","timeseries-verified-photos":"Verified Photos","manage-my-photos":"View your photos, select multiple, delete them or add tags!","view-my-photos":"View my Photos","my-photos":"My Photos","add-tags":"Add Tags","bulk-tag-dblclick-info":"Double click to zoom photos!"}')},pMqV:function(t,e,n){"use strict";var i=n("blTc");n.n(i).a},pTi1:function(t){t.exports=JSON.parse('{"title":"Mes Équipes","currently-joined-team":"Votre équipe active est","currently-not-joined-team":"Vous n\'êtes membre d\'aucune équipe en ce moment","no-joined-team":"Vous n\'avez pas rejoint d\'équipe","leader-of-team":"Vous êtes le leader de cette équipe","enabled-contributions":"Toutes vos contributions seront prises en compte uniquement dans cette équipe.","disabled-contributions":"Vous n\'avez pas encore sélectionné d\'équipe active.
    Ceci signifie que vous ne contribuez dans aucune équipe pour le moment.
    Vous pouvez sélectionner votre équipe active en cliquant sur les icônes étoiles dans la liste du bas.","disable-contributions-tooltip":"Ceci désactive les contributions de votre équipe à partir de maintenant. Vous serez toujours membre de votre équipe et pourrez continuer de contribuer.","team-details":"Informations sur l\'Équipe","all-my-teams":"Toutes mes Équipes","this-is-active-team":"Ceci est votre équipe active","set-as-active-team":"Désignez-la comme équipe active","team-identifier":"Identifiant de l\'Équipe","join-team":"Veuillez rejoindre une équipe","leave-team":"Quitter l\'équipe","just-left-team":"Vous venez de quitter l\'équipe","cant-leave-team":"Vous ne pouvez pas quitter cette équipe car vous êtes l\'unique membre","change-active-team":"Rejoindre l\'Équipe","download-team-data":"Télécharger les données de l\'Équipe","hide-from-leaderboards":"À cacher des classements","show-on-leaderboards":"Montrer dans les Classements","position-header":"Position","name-header":"Nom","username-header":"Nom d\'utilisateur","status-header":"Statut","photos-header":"Photos","litter-header":"Déchets","identifier-header":"Identifiant","members-header":"Membres","last-activity-header":"Dernière Activité","confirm-leave-team":"Êtes-vous sûr?\\nVous pouvez toujours revenir et vos contributions sauvegardées."}')},pV29:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".top-row[data-v-774c9699] {\n display: flex;\n justify-content: center;\n}\n.close-popup[data-v-774c9699] {\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n width: 20px;\n font-size: 16px;\n}\n.close-popup[data-v-774c9699]:hover {\n transform: scale(1.05);\n}\n.photo-tags-container[data-v-774c9699] {\n margin-top: 16px;\n}\n.tags-list[data-v-774c9699] {\n display: flex;\n max-width: 50em;\n margin: auto;\n flex-wrap: wrap;\n overflow: auto;\n justify-content: center;\n}\n.litter-tag[data-v-774c9699] {\n position: relative;\n cursor: pointer;\n padding: 4px;\n border-radius: 4px;\n background-color: #3298dc;\n margin: 4px;\n}\n.litter-tag .close[data-v-774c9699] {\n display: none;\n position: absolute;\n top: -5px;\n right: -5px;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n color: white;\n font-size: 12px;\n background-color: rgba(0, 0, 0, 0.7);\n}\n.litter-tag .close[data-v-774c9699]:hover {\n background-color: black;\n}\n.litter-tag:hover .close[data-v-774c9699] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.list-enter-active[data-v-774c9699], .list-leave-active[data-v-774c9699],\n.categories-enter-active[data-v-774c9699], .categories-leave-active[data-v-774c9699] {\n transition: all 0.5s;\n}\n.list-enter[data-v-774c9699], .list-leave-to[data-v-774c9699] {\n opacity: 0;\n transform: translateX(30px);\n}\n.categories-enter[data-v-774c9699], .categories-leave-to[data-v-774c9699] {\n opacity: 0;\n transform: translateY(50px);\n}\n.categories-move[data-v-774c9699] {\n transition: transform 0.5s;\n}",""])},pj1R:function(t,e,n){var i=n("aS5V");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},praq:function(t,e,n){var i=n("5t4f");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},pwP9:function(t){t.exports=JSON.parse('{"title":"Team Scorebord","position-header":"Positie","name-header":"Naam","photos-header":"Totaal Foto\'s","litter-header":"Totaal Afval","created-at-header":"Gemaakt op"}')},pzhP:function(t,e,n){"use strict";var i=n("ZfPz");n.n(i).a},q4nw:function(t){t.exports=JSON.parse('{"success-title":"Köszi a segítséget!","success-subtitle":"A bejelentkezés engedélyezéséhez ne felejtse el igazolni az e-mail-címét.","error-title":"Volt egy probléma.","error-subtitle":"Kártyáját nem terhelték meg, de továbbra is ellenőrizheti e-mail-címét és bejelentkezhet."}')},qAbK:function(t,e,n){var i=n("emV3");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},qG1z:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a);n("5A0h");function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var l={name:"DonateButtons",components:{Loading:o.a},data:function(){return{stripeEmail:"",stripeToken:"",amount:"",loading:!0}},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_DONATION_AMOUNTS");case 3:e.$emit("donations-loaded"),e.loading=!1;case 5:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))})()},computed:{amounts:function(){return this.$store.state.donate.amounts}},methods:{donate:function(t){var e=this;this.amount=100*this.prices[t],this.stripe=StripeCheckout.configure({key:OLM.stripeKey,image:"https://stripe.com/img/documentation/checkout/marketplace.png",locale:"auto",panelLabel:"One-time Donation",token:function(t){e.stripeToken=t.id,e.stripeEmail=t.email,axios.post("/donate",e.$data).then((function(t){alert("Congratulations! Your payment was successful. Thanks!")})).catch((function(t){alert("Sorry, there was an error processing your card! You have not been charged. Please try again")}))}}),this.stripe.open({name:"€"+this.prices[t],description:"OpenLitterMap",zipCode:!1,amount:100*this.prices[t]})}}},u=(n("O5P5"),n("KHd+")),c={name:"Donate",components:{DonateButtons:Object(u.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!1},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"box"},[n("h3",{staticClass:"title is-2 mb1em"},[n("strong",{staticStyle:{color:"#363636"}},[t._v("Select an amount:")])]),t._v(" "),n("div",{staticClass:"grid-container has-text-centered"},t._l(t.amounts,(function(e){return n("div",[n("div",{staticClass:"box",staticStyle:{"background-color":"lightgreen"}},[n("h3",{staticClass:"title is-3 mb1em"},[n("strong",[t._v("€"+t._s(e.amount/100))])]),t._v(" "),n("button",{staticClass:"button is-medium is-primary",on:{click:function(n){return t.donate(e.id)}}},[t._v("Donate now")])])])})),0),t._v(" "),n("h3",{staticClass:"title is-1",staticStyle:{"text-align":"right"}},[n("strong",{staticStyle:{color:"#363636"}},[t._v("Thank you.")])])])],1)}),[],!1,null,"65329fa1",null).exports},data:function(){return{loading:!0}}},h=Object(u.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"section hero is-fullheight is-primary is-bold"},[n("div",{staticClass:"container"},[n("h3",{staticClass:"title is-3"},[t._v(t._s(t.$t("home.donate.olm-dependent-on-donations")))]),t._v(" "),n("br"),t._v(" "),n("img",{staticStyle:{height:"450px",display:"block",margin:"auto","object-fit":"cover"},attrs:{src:"/assets/IMG_0556.JPG",alt:"It's important",title:"It's important"}}),t._v(" "),n("p",{staticStyle:{"text-align":"center","margin-top":"12px"}},[t._v(t._s(t.$t("home.donate.its-important")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticStyle:{"word-break":"break-all"}},[n("p",[t._v("Bitcoin: 3Cvyhhec777Dnc6a5QHZ1S8DZpL3nodZ2K")]),t._v(" "),n("p",[t._v("Bitcoin Cash: 14FEA8ckGiTf5HvYhANBAEpmvawdJpFFU6")]),t._v(" "),n("p",[t._v("Ethereum: 0x43DbD68771cEDad272dcC78c4108B543DDF8a449")]),t._v(" "),n("p",[t._v("Dash: XfLLMTKeSwXhaoUGpUJVTV9KrtGTXiMoAG")]),t._v(" "),t.loading?n("p",[t._v("Updating....")]):t._e()]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"container"},[n("donate-buttons",{on:{"donations-loaded":function(e){t.loading=!1}}})],1)])])}),[],!1,null,"225d4ccf",null);e.default=h.exports},qSlN:function(t,e,n){"use strict";n.r(e);var i={name:"SocialSection",data:function(){return{cards:[{title:"Facebook",link:"https://www.facebook.com/openlittermap/",icon:"fa fa-facebook"},{title:"Twitter",link:"https://twitter.com/OpenLitterMap",icon:"fa fa-twitter"},{title:"Instagram",link:"https://www.instagram.com/openlittermap/",icon:"fa fa-instagram"},{title:"Reddit",link:"https://www.reddit.com/r/openlittermap/",icon:"fa fa-reddit"},{title:"YouTube",link:"https://www.youtube.com/channel/UCfUT45IaIoxSCdQwv7-cTRg",icon:"fa fa-youtube"},{title:"Slack",link:"https://join.slack.com/t/openlittermap/shared_invite/zt-fdctasud-mu~OBQKReRdC9Ai9KgGROw",icon:"fa fa-slack"},{title:"LinkedIn",link:"https://www.linkedin.com/company/openlittermap/",icon:"fa fa-linkedin"},{title:"GitHub",link:"https://github.com/openlittermap",icon:"fa fa-github"}]}}},r=(n("0R12"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"hero section-social"},[e("div",{staticClass:"hero-body"},[e("div",{staticClass:"py-2 social-links"},this._l(this.cards,(function(t){return e("div",{staticClass:"social-card"},[e("a",{attrs:{href:t.link,title:t.title,target:"_blank"}},[e("i",{staticClass:"fa-4x fa-fw is-large has-text-light",class:t.icon})])])})),0)])])}),[],!1,null,"d3742836",null).exports,o={name:"HeroSection",computed:{imageStyle:function(){return'linear-gradient(to left, transparent 0%, black 100%), url("'.concat(window.location.origin,'/assets/grass.jpg")')}}},s=(n("RScH"),Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"community",style:{backgroundImage:t.imageStyle}},[n("div",{staticClass:"hero is-medium container"},[n("div",{staticClass:"hero-body community-hero"},[n("h1",{staticClass:"title has-text-white has-text-weight-bold is-size-2 is-size-1-desktop"},[t._v("\n "+t._s(t.$t("home.community.title"))+"\n ")]),t._v(" "),n("h2",{staticClass:"subtitle has-text-white-bis is-size-4 mt-1"},[t._v("\n "+t._s(t.$t("home.community.subtitle"))+"\n ")])])]),t._v(" "),t._m(0)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"copyright"},[e("a",{attrs:{target:"_blank",href:"https://www.pexels.com/photo/green-grass-field-during-sun-rise-997121/"}},[this._v("\n Photo by Peter Fazekas from Pexels\n ")])])}],!1,null,"480a7831",null).exports),l=n("o0o1"),u=n.n(l),c=n("H8ri"),h=c.e.reactiveProp;function d(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var p={name:"StatsSection",components:{StatsChart:{extends:c.c,mixins:[h],props:["options"],mounted:function(){this.renderChart(this.chartData,this.options)}}},data:function(){return{options:{aspectRatio:3,maintainAspectRatio:!1,legend:{labels:{fontColor:"whitesmoke"}},scales:{xAxes:[{gridLines:{display:!1},ticks:{fontColor:"whitesmoke"}}],yAxes:[{id:"photos",type:"linear",position:"left",gridLines:{display:!1},ticks:{fontColor:"whitesmoke"}},{id:"users",type:"linear",position:"right",gridLines:{display:!1},ticks:{fontColor:"whitesmoke"}}]}}}},computed:{stats:function(){return this.$store.state.community},yearlyStats:function(){return this.stats.statsByMonth?{labels:this.stats.statsByMonth.periods,datasets:[{label:this.$i18n.t("home.community.photos-every-month-label"),yAxisID:"photos",borderColor:"#1DD3B0",borderWidth:3,pointBackgroundColor:"#008080",pointBorderColor:"#008080",backgroundColor:"transparent",data:this.stats.statsByMonth.photosByMonth},{label:this.$i18n.t("home.community.users-every-month-label"),yAxisID:"users",borderColor:"#c2f970",borderWidth:3,pointBackgroundColor:"#008080",pointBorderColor:"#008080",backgroundColor:"transparent",data:this.stats.statsByMonth.usersByMonth}]}:{}}},mounted:function(){var t,e=this;return(t=u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_STATS");case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){d(a,i,r,o,s,"next",t)}function s(t){d(a,i,r,o,s,"throw",t)}o(void 0)}))})()},methods:{commas:function(t){return parseInt(t).toLocaleString()}}},f=(n("Tk/m"),Object(r.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero section-stats"},[n("div",{staticClass:"hero-body is-flex"},[n("div",{staticClass:"stats"},[n("div",{staticClass:"stat has-text-light has-text-centered"},[n("div",{staticClass:"total has-text-weight-bold"},[n("number",{attrs:{from:0,to:t.stats.photosPerMonth,duration:2,delay:0,easing:"Power1.easeOut",format:t.commas}})],1),t._v(" "),n("div",{staticClass:"is-size-5"},[t._v(t._s(t.$t("home.community.photos-last-30-days")))])]),t._v(" "),n("div",{staticClass:"stat has-text-light has-text-centered"},[n("div",{staticClass:"total has-text-weight-bold"},[n("number",{attrs:{from:0,to:t.stats.usersPerMonth,duration:2,delay:0,easing:"Power1.easeOut",format:t.commas}})],1),t._v(" "),n("div",{staticClass:"is-size-5"},[t._v(t._s(t.$t("home.community.users-last-30-days")))])]),t._v(" "),n("div",{staticClass:"stat has-text-light has-text-centered"},[n("div",{staticClass:"total has-text-weight-bold"},[n("number",{attrs:{from:0,to:t.stats.litterTagsPerMonth,duration:2,delay:0,easing:"Power1.easeOut",format:t.commas}})],1),t._v(" "),n("div",{staticClass:"is-size-5"},[t._v(t._s(t.$t("home.community.litter-tags-last-30-days")))])])]),t._v(" "),n("div",{staticClass:"charts mt-6"},[n("div",{staticClass:"chart"},[n("StatsChart",{attrs:{"chart-data":t.yearlyStats,options:t.options}})],1)])])])}),[],!1,null,"506fa15d",null).exports),m={name:"ZoomSection",data:function(){return{days:null,hours:null,minutes:null,isLive:!1}},mounted:function(){var t=this;setInterval((function(){var e=new Date,n=new Date;n.setUTCDate(e.getUTCDate()+(10-e.getUTCDay())%7+1);var i=new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),18,0,0,0);if(i.setUTCHours(18),4===e.getDay()){var r=new Date(e.getTime());r.setUTCHours(18),r.setUTCMinutes(0),r.setUTCSeconds(0),r.setUTCMilliseconds(0);var a=new Date(r.getTime());a.setUTCHours(19),a.setUTCMinutes(30),t.isLive=e>=r&&e1,expression:"leaderboard.currentPage > 1"}],staticClass:"button is-medium mr-1",on:{click:t.loadPreviousPage}},[t._v("\n "+t._s(t.$t("common.previous"))+"\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.leaderboard.hasNextPage,expression:"leaderboard.hasNextPage"}],staticClass:"button is-medium",on:{click:t.loadNextPage}},[t._v("\n "+t._s(t.$t("common.next"))+"\n ")])]):t._e()],1)],1)])}),[],!1,null,"2b52fd53",null);e.default=h.exports},s2Pw:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Introduce un identificador para unirte a un equipo.","team-identifier":"Unirse a un equipo usando un identificador","enter-id-to-join-placeholder":"Introduce un ID para unirse a un equipo","join-team":"Unirme al equipo"}')},s306:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Ez később visszatér","claim-tokens":"Ha csak igényelni szeretné a tokenjeit, és máshonnan szeretné elérni pénztárcáját, adja meg pénztárcaazonosítóját, és elküldjük a bevételeit."}')},sE6M:function(t,e,n){"use strict";var i=n("tsbo");n.n(i).a},sEG9:function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},sFYy:function(t,e,n){var i=n("OflQ");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},sG1D:function(t){t.exports=JSON.parse('{"show-flag":"Mostrar la bandera del país","top-10":"¡Solamente los 10 líderes globales de OpenLitterMap!","top-10-challenge":"Si consigues estar entre los 10 primeros, podrás representar a tu país.","action-select":"Escribe o desplázate para seleccionar de la lista","select-country":"Selecciona tu país","save-flag":"Guardar bandera"}')},sHr0:function(t){t.exports=JSON.parse('{"login-btn":"Ingia","signup-text":"Jisajili","forgot-password":"Umesahau neno la siri?"}')},sIYV:function(t){t.exports=JSON.parse('{"title":"Team Leaderboard","position-header":"Position","name-header":"Name","photos-header":"Total Photos","litter-header":"Total Litter","created-at-header":"Created At"}')},sN9Z:function(t){t.exports=JSON.parse('{"title":"Tabela de classificação da equipe","position-header":"Posição","name-header":"Nome","photos-header":"Fotos Totais","litter-header":"Lixo Total","created-at-header":"Criado em"}')},sTxc:function(t,e,n){"use strict";var i={name:"LocationNavbar",data:function(){return{options:[{text:"A-Z",value:"alphabetical"},{text:this.$t("location.most-data"),value:"most-data"},{text:this.$t("location.most-data-person"),value:"most-data-per-person"},{text:"Total Contributors",value:"total-contributors"},{text:"First Created",value:"first-created"},{text:"Most Recently Created",value:"most-recently-created"},{text:"Most Recently Updated",value:"most-recently-updated"}]}},computed:{sortLocationsBy:{get:function(){return this.$store.state.locations.sortLocationsBy},set:function(t){this.$store.commit("setSortLocationsBy",t)}}}},r=(n("1xvw"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container w100"},[n("br"),t._v(" "),n("div",{staticClass:"control locations-control"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.sortLocationsBy,expression:"sortLocationsBy"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.sortLocationsBy=e.target.multiple?n:n[0]}}},t._l(t.options,(function(e){return n("option",{key:e.value,domProps:{value:e.value}},[t._v(t._s(e.text))])})),0)])])])}),[],!1,null,"4b8d1e59",null).exports,o=n("wd/R"),s=n.n(o),l={name:"LocationMetadata",props:["index","location","locationType","category"],data:function(){return{dir:"/assets/icons/flags/"}},computed:{country:function(){return this.$store.state.locations.country},countryName:function(){return this.$store.state.locations.countryName},stateName:function(){return this.$store.state.locations.stateName},state:function(){return this.$store.state.locations.state},textSize:function(){return"A-Z"===this.category?"title is-1 flex-1 ma":"title is-3 flex-1 ma"}},methods:{getCountryFlag:function(t){if(t)return t=t.toLowerCase(),this.dir+t+".png"},getDataForLocation:function(t){if(this.$store.commit("setLocations",[]),"country"===this.locationType){var e=t.country;this.$store.commit("countryName",e),this.$router.push({path:"/world/"+e})}else if("state"===this.locationType){var n=this.countryName,i=t.state;this.$store.commit("stateName",i),this.$router.push({path:"/world/"+n+"/"+i})}else if("city"===this.locationType){var r=this.countryName,a=this.stateName,o=t.city;t.hasOwnProperty("hex")&&this.$router.push({path:"/world/"+r+"/"+a+"/"+o+"/map/"}),this.$router.push({path:"/world/"+r+"/"+a+"/"+o+"/map"})}},getLocationName:function(t){return t[this.locationType]},positions:function(t){return s.a.localeData().ordinal(t+1)}}},u=(n("dLyD"),Object(r.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"column is-3"},[n("div",{staticClass:"flex pb1"},["country"===t.locationType?n("img",{staticClass:"img-flag",attrs:{height:"15",src:t.getCountryFlag(t.location.shortcode)}}):t._e(),t._v(" "),n("h2",{class:t.textSize},[n("a",{staticClass:"is-link has-text-centered location-title",attrs:{id:t.location[t.locationType]},on:{click:function(e){return t.getDataForLocation(t.location)}}},[n("span",{directives:[{name:"show",rawName:"v-show",value:"A-Z"!==t.category&&t.index<100,expression:"category !== 'A-Z' && index < 100"}]},[t._v(t._s(t.positions(t.index))+" -")]),t._v(" "),n("span",[t._v(t._s(t.getLocationName(t.location)))])])])]),t._v(" "),n("div",{staticClass:"panel"},[n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.total-verified-litter"))+":\n "),n("strong",{staticClass:"green flex-1"},[t._v(" \n "+t._s(t.location.total_litter_redis.toLocaleString())+"\n ")]),t._v(" "),"country"===t.locationType?n("p",{staticClass:"total-photos-percentage"},[t._v("\n "+t._s((t.location.total_litter_redis/this.$store.state.locations.total_litter*100).toFixed(2)+"% Total")+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v("\n "+t._s(t.$t("location.total-verified-photos"))+":\n "),n("strong",{staticClass:"green flex-1"},[t._v(" \n "+t._s(t.location.total_photos_redis.toLocaleString())+"\n ")]),t._v(" "),"country"===t.locationType?n("p",{staticClass:"total-photos-percentage"},[t._v("\n "+t._s((t.location.total_photos_redis/this.$store.state.locations.total_photos*100).toFixed(2)+"% Total")+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("common.created"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.diffForHumans))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.number-of-contributors"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.total_contributors_redis.toLocaleString()))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.avg-img-per-person"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.avg_photo_per_user.toLocaleString()))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.avg-litter-per-person"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.avg_litter_per_user.toLocaleString()))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("common.created-by"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.created_by_name)+" "+t._s(t.location.created_by_username))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v("Last Updated: "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.updatedAtDiffForHumans))])])])])}),[],!1,null,"25e6824a",null).exports),c=n("H8ri"),h={extends:c.b,name:"LitterChart",props:["litter"],data:function(){return{litterData:[],litterValues:[],colors:["#C28535","#8AAE56","#B66C46","#EAE741","#BFE5A6","#FFFFFF","#BF00FE","#add8e6"]}},mounted:function(){var t=this;Object.keys(this.litter).map((function(e){t.litter[e]&&(t.litterData.push(e),t.litterValues.push(t.litter[e]))})),this.renderChart({labels:this.litterData,datasets:[{label:"Collected",backgroundColor:this.litterValues.map((function(e,n){return t.colors[n]})),data:this.litterValues}]},{responsive:!0,maintainAspectRatio:!0,legend:{labels:{fontColor:"#ffffff"}}})}},d=Object(r.a)(h,void 0,void 0,!1,null,null,null).exports,p={extends:c.b,name:"BrandsChart",props:["brands"],data:function(){return{myArray:[],top10keys:[],top10values:[]}},mounted:function(){var t=this;for(var e in Object.keys(this.brands).map((function(e,n){t.brands[e]&&t.myArray.push({key:e,value:t.brands[e]})})),this.myArray.sort((function(t,e){return e.value-t.value})),this.myArray)e<9&&this.myArray[e].value>0&&(this.top10keys.push(this.myArray[e].key),this.top10values.push(this.myArray[e].value));this.renderChart({labels:this.top10keys,datasets:[{label:"Collected",backgroundColor:this.myComputedBackgrounds,data:this.top10values}]},{responsive:!1,maintainAspectRatio:!0,legend:{labels:{fontColor:"#ffffff"}}})},computed:{myComputedBackgrounds:function(){return 0==this.top10keys.length?["#C28535"]:1==this.top10keys.length?["#C28535","#8AAE56"]:2==this.top10keys.length?["#C28535","#8AAE56","#B66C46"]:3==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741"]:4==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000"]:5==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6"]:6==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF"]:7==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF","#BF00FE"]:8==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF","#BF00FE","#ccc"]:9==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF","#BF00FE","#000000"]:void 0}}},f={name:"ChartsContainer",components:{LitterChart:d,BrandsChart:Object(r.a)(p,void 0,void 0,!1,null,null,null).exports},props:["litter_data","brands_data","total_brands"]},m=Object(r.a)(f,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("nav",{staticClass:"level"},[e("div",{staticClass:"level-item"},[e("litter-chart",{attrs:{width:300,height:300,litter:this.litter_data}})],1),this._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:this.total_brands,expression:"this.total_brands"}],staticClass:"level-item"},[e("brands-chart",{attrs:{width:300,height:300,brands:this.brands_data}})],1)])])}),[],!1,null,null,null).exports,g={extends:c.a,name:"TimeSeries",props:["ppm"],data:function(){return{months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}},mounted:function(){var t=[],e=[];for(var n in this.ppm)t.push(this.months[parseInt(n.substring(0,2))-1]+n.substring(2,5)),e.push(this.ppm[n]);this.renderChart({labels:t,datasets:[{label:"Verified Photos",backgroundColor:"#FF0000",data:e,fill:!1,borderColor:"red",maxBarThickness:"50"}]},{responsive:!0,maintainAspectRatio:!1,legend:{labels:{fontColor:"#000000"}},scales:{xAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#000000"}}],yAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#000000"}}]}})}},v={name:"TimeSeriesContainer",props:["ppm"],components:{TimeSeries:Object(r.a)(g,void 0,void 0,!1,null,null,null).exports},computed:{checkWidth:function(){return window.screen.width>1e3?600:300}}},y=Object(r.a)(v,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container has-text-center"},[e("time-series",{attrs:{width:this.checkWidth,height:500,ppm:this.ppm}})],1)}),[],!1,null,null,null).exports,_={name:"Leaderboard",props:["leaderboard"],data:function(){return{positions:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"]}}},b=Object(r.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-three-quarters is-offset-1"},[n("table",{staticClass:"table is-fullwidth",staticStyle:{"background-color":"transparent"}},[t._m(0),t._v(" "),t._l(t.leaderboard,(function(e,i){return n("tr",{staticClass:"wow slideInLeft"},[n("td",[t._v(t._s(t.positions[i]))]),t._v(" "),e.name||e.username?n("td",[t._v(t._s(e.name)+" "+t._s(e.username))]):n("td",[t._v(t._s(t.$t("common.anonymous")))]),t._v(" "),n("td",[t._v(t._s(e.xp))])])}))],2)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("th",[this._v("Position")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("XP")])])}],!1,null,null,null).exports,w=n("SXG0"),x=n.n(w),k=(n("JN9a"),{name:"Options",components:{vueSlider:x.a},props:["time","index"],mounted:function(){var t=JSON.parse(this.time);this.dates=Object.keys(t),this.min=this.dates[0],this.max=this.dates[this.dates.length-1]},data:function(){return{dates:[],min:"",max:"",hexValue:100}},computed:{getSliderId:function(){return"slider_"+this.index}},methods:{update:function(){var t=this.$refs.dates.getValue(),e=this.$refs.hex.getValue();this.$store.commit("updateCitySlider",{dates:t,hex:e,index:this.index})}}}),C=Object(r.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",{staticClass:"title is-3"},[t._v("Filter temporally:")]),t._v(" "),n("br"),t._v(" "),n("vue-slider",{ref:"dates",attrs:{data:this.dates,value:[this.dates[0],this.dates[this.dates.length-1]]},on:{"drag-end":t.update}}),t._v(" "),n("br"),t._v(" "),n("h3",{staticClass:"title is-3"},[t._v("Choose a hex size (meters):")]),t._v(" "),n("vue-slider",{ref:"hex",attrs:{max:500,min:10,value:100},on:{"drag-end":t.update}})],1)}),[],!1,null,null,null).exports,T=n("o0o1"),E=n.n(T);function S(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var P={name:"Download",props:["locationType","locationId"],data:function(){return{email:"",emailEntered:!1}},methods:{download:function(){var t,e=this;return(t=E.a.mark((function t(){return E.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("DOWNLOAD_DATA",{locationType:e.locationType,locationId:e.locationId,email:e.email});case 2:e.email="",e.emailEntered=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){S(a,i,r,o,s,"next",t)}function s(t){S(a,i,r,o,s,"throw",t)}o(void 0)}))})()},textEntered:function(){this.emailEntered=!!this.email.match(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/)}},computed:{isAuth:function(){return this.$store.state.user.auth},disableDownloadButton:function(){return!this.isAuth&&!this.emailEntered}}},L=Object(r.a)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-3"},[t._v(t._s(t.$t("location.download-open-verified-data")))]),t._v(" "),n("h1",{staticClass:"title is-3"},[t._v(t._s(t.$t("location.stop-plastic-ocean")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!t.isAuth,expression:"!isAuth"}],staticClass:"mb1"},[t._v(t._s(t.$t("location.enter-email-sent-data")))]),t._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:!t.isAuth,expression:"!isAuth"},{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input mb1em fs125",attrs:{placeholder:t.$t("common.your-email"),type:"email",name:"email",required:"",autocomplete:"email"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.textEntered]}}),t._v(" "),n("button",{staticClass:"button is-large is-danger mb1",attrs:{disabled:t.disableDownloadButton},on:{click:t.download}},[t._v(t._s(t.$t("common.download")))]),t._v(" "),n("p",[t._v("© OpenLitterMap & Contributors.")])])}),[],!1,null,null,null).exports,I=n("myLu"),O={name:"SortLocations",props:["locationType"],components:{LocationNavbar:a,LocationMetadata:u,ChartsContainer:m,TimeSeriesContainer:y,Leaderboard:b,Options:C,Download:L},data:function(){return{tab:"",tabs:[{title:this.$t("location.litter"),component:"ChartsContainer",in_location:"all"},{title:this.$t("location.time-series"),component:"TimeSeriesContainer",in_location:"all"},{title:this.$t("location.leaderboard"),component:"Leaderboard",in_location:"all"},{title:this.$t("location.options"),component:"Options",in_location:"city"},{title:this.$t("common.download"),component:"Download",in_location:"all"}]}},computed:{container:function(){return 0===this.orderedBy.length?"vh65":""},isAuth:function(){return this.$store.state.user.auth},orderedBy:function(){return"alphabetical"===this.sortedBy?this.locations:"most-data"===this.sortedBy?I(this.locations,"total_litter_redis").reverse():"most-data-per-person"===this.sortedBy?I(this.locations,"avg_litter_per_user").reverse():"most-recently-updated"===this.sortedBy?I(this.locations,"updated_at").reverse():"total-contributors"===this.sortedBy?I(this.locations,"total_contributors_redis").reverse():"first-created"===this.sortedBy?I(this.locations,"created_at"):"most-recently-created"===this.sortedBy?I(this.locations,"created_at").reverse():[]},locations:function(){return this.$store.state.locations.locations},sortedBy:function(){return this.$store.state.locations.sortLocationsBy}},methods:{loadTab:function(t){this.tab=t},tabClass:function(t){return t===this.tab?"l-tab is-active":"l-tab"},showTab:function(t){return"all"===t||this.locationType===t},updateUrl:function(t){}}},A=(n("W0c7"),Object(r.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"inner-locations-container",class:t.container},[n("location-navbar"),t._v(" "),t._l(t.orderedBy,(function(e,i){return n("section",{key:i},[n("br"),t._v(" "),n("h1",{staticClass:"title is-1 has-text-centered world-cup-title"},[t._v("\n #LitterWorldCup\n ")]),t._v(" "),n("div",{staticClass:"hero-body location-container"},[n("div",{staticClass:"columns"},[n("LocationMetadata",{attrs:{index:i,location:e,locationType:t.locationType,category:t.sortedBy}}),t._v(" "),n("div",{staticClass:"column is-half is-offset-1"},[n("p",{staticClass:"show-mobile"},[t._v("Drag these across for more options")]),t._v(" "),n("div",{staticClass:"tabs is-center"},t._l(t.tabs,(function(e,i){return n("a",{directives:[{name:"show",rawName:"v-show",value:t.showTab(e.in_location),expression:"showTab(tab.in_location)"}],key:i,class:t.tabClass(e),on:{click:function(n){return t.loadTab(e.component)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t")])})),0),t._v(" "),n(t.tab,{tag:"component",attrs:{litter_data:e.litter_data,brands_data:e.brands_data,total_brands:e.total_brands,ppm:e.ppm,leaderboard:e.leaderboard,time:e.time,index:i,locationType:t.locationType,locationId:e.id},on:{dateschanged:t.updateUrl}})],1)],1)])])}))],2)}),[],!1,null,"49e9ba08",null));e.a=A.exports},sVoB:function(t,e,n){var i=n("V47G");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},sX8j:function(t){t.exports=JSON.parse('{"allowed-to-create":"Tienes permito crear {teams} equipo(s)","what-kind-of-team":"¿Qué clase de equipo te gustaría crear?","team-type":"Tipo de equipo","team-name":"Nombre del equipo","my-awesome-team-placeholder":"Mi Super Equipo","unique-team-id":"Identificador de Equipo Único","id-to-join-team":"Cualquiera con este identificador podrá unirse a tu equipo.","create-team":"Crear equipo","update-team":"Actualizar el equipo","created":"¡Enhorabuena! Se ha creado tu nuevo equipo.","updated":"Equipo actualizado.","select-team":"Seleccionar un equipo","fail":"Hubo un error al crear tu equipo","max-created":"No tienes permitido crear más equipos."}')},slj6:function(t){t.exports=JSON.parse('{"change-password":"Changer Mon Mot de passe","enter-old-password":"Entrez ancien mot de passe","enter-new-password":"Entrez nouveau mot de passe","enter-strong-password":"Entrez un mot de passe sécurisé","confirm-new-password":"Confirmez votre nouveau mot de passe","repeat-strong-password":"Réécrivez votre mot de passe sécurisé","update-password":"Mettre à jour le mot de passe"}')},"snC/":function(t,e,n){"use strict";var i=n("UxKL");n.n(i).a},ssMp:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Zanieczyszczenie plastikiem wymknęło się spod kontroli","fires-out-of-control":"Niedopałki papierosów mogą wywołać pożar","climate-change-out-of-control":"Plastik przyspiesza zmianę klimatu","help-us":"Pomóż nam stworzyć najbardziej zaawansowaną na świecie otwartą bazę danych o śmieciach, markach i zanieczyszczeniu plastikiem","why-collect-data":"Dlaczego powinniśmy zbierać dane","visibility":"Widoczność","our-maps-reveal-litter-normality":"Dla wielu ludzi śmieci stały się normalne i niewidoczne. Mapy są potężne, ponieważ przekazują to, czego zwykle nie możemy zobaczyć","science":"Rozwiązywanie problemów","our-data-open-source":"Nasze dane są otwarte i dostępne. Każdy ma równe, otwarte i nieograniczone prawa do pobierania wszystkich naszych danych i wykorzystywania ich w dowolnym celu","community":"Społeczność","must-work-together":"Potrzebujemy Twojej pomocy, aby zmienić paradygmat w sposobie, w jaki rozumiemy zanieczyszczenie i reagujemy na nie","how-does-it-work":"Jak to działa","take-a-photo":"Zrób zdjęcie","device-captures-info":"Twoje urządzenie może przechwytywać cenne informacje o lokalizacji, czasie, przedmiocie, materiale i marce.","tag-the-litter":"Oznacz śmieci","tag-litter-you-see":"Po prostu oznacz, jaki śmieć widzisz na zdjęciu. Możesz oznaczyć, czy śmieci zostały zebrane, czy nadal tam są. Możesz również przesłać swoje zdjęcia w dowolnym momencie","share-results":"Podziel się wynikami","share":"Udostępnij mapy lub pobierz nasze dane. Pokażmy wszystkim, jak bardzo zanieczyszczony jest świat","verified":"Twój email został potwierdzony! Możesz się teraz zalogować.","close":"Zamknij","our-partners":"Nasi Partnerzy","become-a-partner":"Zostać partnerem"}')},syxb:function(t){t.exports=JSON.parse('{"taken-on":"Zrobione","with-a":"Przy użyciu","by":"Przez","meter-hex-grids":"metrowe siatki sześciokątne","hover-to-count":"Najedź kursorem, aby policzyć","pieces-of-litter":"Kawałki śmieci","hover-polygons-to-count":"Najedź kursorem na wielokąty, aby policzyć"}')},"t+I/":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.is-purp[data-v-97472472] {\n color: #8e7fd6;\n}\n.is-white[data-v-97472472] {\n color: white !important;\n}\n.is-secondary[data-v-97472472] {\n color: #1DD3B0;\n}\n",""])},t2E5:function(t){t.exports=JSON.parse('{"login-btn":"Zaloguj się","signup-text":"Załóż Konto","forgot-password":"Zapomniane hasło?"}')},t5Ox:function(t,e,n){"use strict";var i=n("gCZh");n.n(i).a},"tIw/":function(t){t.exports=JSON.parse('{"card-number":"Número de tarjeta","card-holder":"Nombre del titular","exp":"Fecha de caducidad","cvv":"CVV (código de seguridad)","placeholders":{"card-number":"Tu número de tarjeta de 16 dígitos","card-holder":"Nombre del titular de la tarjeta","exp-month":"Mes","exp-year":"Año","cvv":"***"}}')},tQEm:function(t,e,n){var i=n("DACc");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},tiDI:function(t){t.exports=JSON.parse('{"new-image":"Nowy Obraz","new-user":"Nowy Użytkownik","new-country":"Nowy Kraj","new-state":"Nowy Stan","new-city":"Nowe Miasto","user-signed-up":"Nowy użytkownik zarejestrował się!","say-hello-to":"Powitaj się","littercoin-mined":"Littercoin został wydobyty!","littercoin-100-boxes-verified":"100 zweryfikowanych pudełek OpenLitterAI","littercoin-100-verified":"100 zweryfikowanych obrazów","team-created":"Utworzono nowy Zespół!","litter-picked-up":"Zbieranie Śmieci","litter-uploaded":"Przesłany Miot"}')},tkaX:function(t){t.exports=JSON.parse('{"finance":"Támogassa az OpenLitterMap fejlesztését","help":"Szükségünk van a segítségedre.","support":"Nyílt adatok támogatása a műanyagszennyezésről","help-costs":"Segíts költségeinket fedezni","help-hire":"Béreljen fel fejlesztőket, tervezőket és diplomásokat","help-produce":"Készíts videókat","help-write":"Irj Tanulmányokat","help-outreach":"Konferenciák és tájékoztatás","help-incentivize":"Ösztönözze az adatgyűjtést a Littercoin segítségével","more-soon":"További izgalmas frissítések hamarosan","click-to-support":"Kattintson ide a támogatáshoz"}')},tmUW:function(t,e){L.Map.mergeOptions({smoothWheelZoom:!0,smoothSensitivity:1}),L.Map.SmoothWheelZoom=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,"wheel",this._onWheelScroll,this)},removeHooks:function(){L.DomEvent.off(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){this._isWheeling||this._onWheelStart(t),this._onWheeling(t)},_onWheelStart:function(t){var e=this._map;this._isWheeling=!0,this._wheelMousePosition=e.mouseEventToContainerPoint(t),this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),this._wheelStartLatLng=e.containerPointToLatLng(this._wheelMousePosition),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),e._panAnim&&e._panAnim.stop(),this._goalZoom=e.getZoom(),this._prevCenter=e.getCenter(),this._prevZoom=e.getZoom(),this._zoomAnimationId=requestAnimationFrame(this._updateWheelZoom.bind(this))},_onWheeling:function(t){var e=this._map;this._goalZoom=this._goalZoom+.003*L.DomEvent.getWheelDelta(t)*e.options.smoothSensitivity,(this._goalZoome.getMaxZoom())&&(this._goalZoom=e._limitZoom(this._goalZoom)),clearTimeout(this._timeoutId),this._timeoutId=setTimeout(this._onWheelEnd.bind(this),200),L.DomEvent.preventDefault(t),L.DomEvent.stopPropagation(t)},_onWheelEnd:function(t){this._isWheeling=!1,cancelAnimationFrame(this._zoomAnimationId),this._map._moveEnd(!0)},_updateWheelZoom:function(){var t=this._map;if(t.getCenter().equals(this._prevCenter)&&t.getZoom()==this._prevZoom){this._zoom=t.getZoom()+.3*(this._goalZoom-t.getZoom()),this._zoom=Math.floor(100*this._zoom)/100;var e=this._wheelMousePosition.subtract(this._centerPoint);0===e.x&&0===e.y||("center"===t.options.smoothWheelZoom?this._center=this._startLatLng:this._center=t.unproject(t.project(this._wheelStartLatLng,this._zoom).subtract(e),this._zoom),this._moved||(t._moveStart(!0,!1),this._moved=!0),t._move(this._center,this._zoom),this._prevCenter=t.getCenter(),this._prevZoom=t.getZoom(),this._zoomAnimationId=requestAnimationFrame(this._updateWheelZoom.bind(this)))}}}),L.Map.addInitHook("addHandler","smoothWheelZoom",L.Map.SmoothWheelZoom)},toXO:function(t,e,n){"use strict";var i=n("Q+hE");n.n(i).a},tsbo:function(t,e,n){var i=n("Jqpr");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},tulk:function(t){t.exports=JSON.parse('{"maps1":"Estamos creando Datos Abiertos sobre la contaminación por plásticos","maps2":"Cualquiera puede descargar los datos y utilizarlos.","maps3":"Mapa Global","global-leaderboard":"Tabla de Clasificación Global","position":"Posición","name":"Nombre","xp":"XP","social":"Social","previous-target":"Objetivo previo","next-target":"Próximo objetivo","litter":"Basura","total-verified-litter":"Total de basura verificada","total-verified-photos":"Total de fotos verificadas","total-littercoin-issued":"Total de Littercoin emitidos","number-of-contributors":"Número de colaboradores","avg-img-per-person":"Media de imágenes por persona","avg-litter-per-person":"Media de basura por persona","leaderboard":"Tabla de clasificación","time-series":"Series temporales","options":"Opciones","most-data":"Con más datos abiertos","most-data-person":"Con más datos abiertos por persona","download-open-verified-data":"Datos verificados, libres y abiertos de ciencia ciudadana sobre la contaminación por plásticos.","stop-plastic-ocean":"Evitemos que el plástico llegue al océano.","enter-email-sent-data":"Indica una dirección de correo electrónico a la que se enviarán los datos:"}')},tzsb:function(t,e,n){"use strict";var i=n("tQEm");n.n(i).a},u5mE:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Presence",data:function(){return{processing:!1}},methods:{toggle:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("TOGGLE_LITTER_PICKED_UP_SETTING");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}},computed:{button:function(){return this.processing?"button is-info is-loading":"button is-info"},picked_up:function(){return!this.$store.state.user.user.items_remaining},text:function(){return this.picked_up?"Your litter will be logged as picked up.":"Your litter is logged as not picked up."}}},s=n("KHd+"),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.presence.do-you-pickup")))]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("settings.presence.save-def-settings")))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("settings.presence.change-value-of-litter")))]),t._v(" "),n("p",[t._v(t._s(t.$t("settings.presence.status")))]),t._v(" "),n("br"),t._v(" "),n("p",[n("b",[t._v(t._s(t.$t("settings.presence.toggle-presence"))+":")])]),t._v(" "),n("p",[n("b",{style:t.picked_up?"color: green":"color: red"},[t._v(t._s(this.text))])]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("div",{staticClass:"row"},[n("button",{class:t.button,attrs:{disabled:t.processing},on:{click:t.toggle}},[t._v(t._s(t.$t("settings.presence.pickup?")))])])])])])}),[],!1,null,null,null);e.default=l.exports},u8o6:function(t){t.exports=JSON.parse('{"show-flag":"Show Country Flag","top-10":"Top 10 Global OpenLitterMap Leaders only!","top-10-challenge":"If you can make the top 10, you can represent your country!","action-select":"Type or scroll to select from the list","select-country":"Select your country","save-flag":"Save Flag"}')},uA4O:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Álcool","art":"Arte","brands":"Marcas","coastal":"Costeiro","coffee":"Café","dumping":"Despejo","food":"Comida","industrial":"Industrial","sanitary":"Sanitário","softdrinks":"Refrigerantes","smoking":"Fumar","other":"Outros","dogshit":"Pets","material":"Material"},"smoking":{"butts":"Cigarros/Bitucas","lighters":"Isqueiros","cigaretteBox":"Caixa de cigarros","tobaccoPouch":"Bolsa de Tabaco","skins":"Papéis para enrolar","smoking_plastic":"Pacote de plástico","filters":"Filtros","filterbox":"Caixa de filtro","vape_pen":"Vape caneta","vape_oil":"Óleo de vapor","smokingOther":"Fumar-Outros"},"alcohol":{"beerBottle":"Garrafas de cerveja","spiritBottle":"Garrafas de espírito","wineBottle":"Garrafas de vinho","beerCan":"Latas de cerveja","brokenGlass":"Vidro quebrado","bottleTops":"Tampas de garrafa de cerveja","paperCardAlcoholPackaging":"Embalagem de papel","plasticAlcoholPackaging":"Pacote de plástico","pint":"Copo de cerveja","six_pack_rings":"Anéis de seis pacotes","alcohol_plastic_cups":"Copos de plastico","alcoholOther":"Álcool-Outros"},"art":{"item":"Arte de Lixo"},"coffee":{"coffeeCups":"Xícaras de café","coffeeLids":"Tampas de café","coffeeOther":"Café-Outros"},"food":{"sweetWrappers":"Embalagens de doces","paperFoodPackaging":"Embalagem de papel/cartão","plasticFoodPackaging":"Pacote de plástico","plasticCutlery":"Talheres de plástico","crisp_small":"Pacote de batatas fritas/chips (pequeno)","crisp_large":"Pacote de batatas fritas/chips (grande)","styrofoam_plate":"Prato de isopor","napkins":"Guardanapos","sauce_packet":"Pacote de molho","glass_jar":"Jarra de vidro","glass_jar_lid":"Tampa do Frasco de Vidro","aluminium_foil":"Folha de alumínio","pizza_box":"Caixa de pizza","foodOther":"Comida-Outros","chewing_gum":"Goma de mascar"},"softdrinks":{"waterBottle":"Garrafa de água de plástico","fizzyDrinkBottle":"Garrafa de refrigerante de plástico","tinCan":"Lata","bottleLid":"Tampinhas de Garrafas","bottleLabel":"Rótulos de Garrafas","sportsDrink":"Garrafa de bebida esportiva","straws":"Canudos","plastic_cups":"Copos de plastico","plastic_cup_tops":"Tampos de copos de plástico","milk_bottle":"Garrafa de leite","milk_carton":"Caixa de leite","paper_cups":"Copos de papel","juice_cartons":"Caixas de suco","juice_bottles":"Garrafas de suco","juice_packet":"Pacote de Suco","ice_tea_bottles":"Garrafas de chá gelado","ice_tea_can":"Lata de chá gelado","energy_can":"Lata de energético","pullring":"Anel de puxar","strawpacket":"Embalagem de palha","styro_cup":"Copo de isopor","broken_glass":"Vidro quebrado","softDrinkOther":"Refrigerante-Outro"},"sanitary":{"gloves":"Luvas","facemask":"Máscara","condoms":"Preservativos","nappies":"Fraldas","menstral":"Menstrual","deodorant":"Desodorante","ear_swabs":"Cotonetes","tooth_pick":"Palito de dente","tooth_brush":"Escova de dente","wetwipes":"Lenços umedecidos","hand_sanitiser":"Desinfetante para as mãos","sanitaryOther":"Sanitário-Outro"},"dumping":{"small":"Pequeno","medium":"Médio","large":"Grande"},"industrial":{"oil":"Óleo","industrial_plastic":"Plástico","chemical":"Químico","bricks":"Tijolos","tape":"Fita","industrial_other":"Industrial-Outro"},"coastal":{"microplastics":"Microplásticos","mediumplastics":"Plásticos médios","macroplastics":"Macroplásticos","rope_small":"Corda pequena","rope_medium":"Corda média","rope_large":"Corda grande","fishing_gear_nets":"Equipamentos/redes de pesca","ghost_nets":"Redes fantasmas","buoys":"Bóias","degraded_plasticbottle":"Garrafa Plástica Degradada","degraded_plasticbag":"Saco Plástico Degradado","degraded_straws":"Canudos Degradados","degraded_lighters":"Isqueiros Degradados","balloons":"Balões","lego":"Lego","shotgun_cartridges":"Cartuchos de espingarda","styro_small":"Isopor pequeno","styro_medium":"Isopor médio","styro_large":"Isopor grande","coastal_other":"Litoral-Outro"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Lixo de cachorro","littercat":"Lixo de gato","duck":"Lixo de pato"},"other":{"dogshit":"Cocô de cachorro","pooinbag":"Cocô de cachorro no saco","automobile":"Automóvel","clothing":"Roupas","traffic_cone":"Cone de tráfego","life_buoy":"Bóia salva-vidas","plastic":"Plástico não identificado","dump":"Despejo ilegal","metal":"Objeto Metálico","plastic_bags":"Sacos de plástico","election_posters":"Cartazes eleitorais","forsale_posters":"Cartazes à venda","books":"Livros","magazine":"Revistas","paper":"Papel","stationary":"Papelaria","washing_up":"Garrafa de Lavagem","hair_tie":"Presilha de cabelo","ear_plugs":"Tampões de ouvido (música)","batteries":"Baterias","elec_small":"Elétrico pequeno","elec_large":"Elétrico grande","random_litter":"Lixo Aleatória","balloons":"Balões","bags_litter":"Sacos de lixo","overflowing_bins":"Caixas Transbordando","tyre":"Pneu","cable_tie":"Abraçadeira","other":"Outros-Outros"},"presence":{"picked-up":"Eu peguei!","still-there":"Não foi recolhido!","picked-up-text":"Foi-se.","still-there-text":"O lixo ainda está lá!"},"no-tags":"Sem Tags","not-verified":"Aguardando verificação","not-tagged-yet":"Ainda não marcado!","dogshit":{"poo":"Surpresa!","poo_in_bag":"Surpresa em um saco!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},uCbU:function(t,e,n){var i=n("EHpN");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},uD9k:function(t){t.exports=JSON.parse('{"description":"Esses links aparecerão em todas as fotos que você carregou, no Mapa Global. Forneça URLs completos.","personal-website":"Site Pessoal","personal-website-url":"URL do Site Pessoal"}')},uFkq:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Dit komt later terug","claim-tokens":"Als je je tokens wilt claimen en je portemonnee vanuit andere locaties benaderen, voer dan je portemonnee-id in en je krijgt je verdiensten toegestuurd."}')},uKBK:function(t,e,n){"use strict";var i=n("0pvQ");n.n(i).a},uWY9:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Weryfikacja zdjęć","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Zweryfikuj ramki","about":"O nas","global-map":"Globalna Mapa","world-cup":"Mistrzostwa Świata","community":"Społeczność","upload":"Prześlij dane","more":"Więcej","tag-litter":"Taguj Śmieci","profile":"Profile","settings":"Ustawienia","bounding-boxes":"ramki ograniczające","logout":"Wyloguj","login":"Zaloguj","signup":"Załóż konto","teams":"Drużyny"}')},uc3R:function(t,e,n){"use strict";var i=n("X2CC");n.n(i).a},ujGR:function(t){t.exports=JSON.parse('{"olm-teams":"Équipes OpenLitterMap","dashboard":"Tableau de bord","join-a-team":"Rejoindre une équipe","create-a-team":"Créer une Équipe","your-teams":"Vos Équipes","leaderboard":"Tableau des scores","settings":"Paramètres","teams-dashboard":"Tableau de bord des Équipes","photos-uploaded":"Photos téléchargées","litter-tagged":"Déchets tagués","members-uploaded":"Membres de l\'équipe ajoutés","all-teams":"Toutes les Équipes","times":{"today":"Aujourd\'hui","week":"Cette semaine","month":"Ce mois","year":"Cette année","all":"Toute période comprise","created_at":"Téléchargée à","datetime":"Prise à"}}')},uvWH:function(t){t.exports=JSON.parse('{"success":"Gelukt","error":"Fout!","settings-updated":"Instellingen succesvol geüpdatet!","tags-added":"Gelukt! Je foto labels zijn toegevoegd","subscription-cancelled":"Je abonnement is beëindigd","privacy-updated":"Je Privacy Instellingen zijn opgeslagen","litter-toggled":"Opgeruimd schakelaar bijgewerkt","settings":{"subscribed":"Je bent geabonneerd op aanpassingen en goed-nieuws-berichten!","unsubscribed":"Je bent niet langer geabonneerd. Je zult geen goed-nieuws-berichten meer ontvangen!","flag-updated":"Je vlag is aangepast"},"something-went-wrong":"Er is iets fout gegaan. Probeer het opnieuw of neem contact met ons op!"}')},v8ui:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcool","art":"Art","brands":"Marque","coastal":"Côtier","coffee":"Café","dumping":"Dumping","food":"nourriture","industrial":"Industriel","sanitary":"Produits d\'hygiène","softdrinks":"Boisson sans alcool","smoking":"Tabac","other":"Autre","material":"Matériaux","dogshit":"Animeaux"},"smoking":{"butts":"Cigarettes/Mégots","lighters":"Briquets","cigaretteBox":"Cartouche de cigarette","tobaccoPouch":"Blague à tabac","skins":"Papier à rouler","smoking_plastic":"Etuie plastique","filters":"Filtres","filterbox":"Boite à filtre","vape_pen":"Vapoteuse","vape_oil":"E-liquide","smokingOther":"Tabac-autre"},"alcohol":{"beerBottle":"Bouteille de bière","spiritBottle":"Bouteille de spiritueux","wineBottle":"Bouteille de vin","beerCan":"canettes de bière","brokenGlass":"Tessons de bouteille","bottleTops":"Beer bottle tops","paperCardAlcoholPackaging":"Emballage papier","plasticAlcoholPackaging":"Emballage plastique","pint":"Verre à pinte","six_pack_rings":"Emaballage de canettes","alcohol_plastic_cups":"Gobelet plastique","alcoholOther":"Alcool-autre"},"art":{"item":"Trash art"},"coffee":{"coffeeCups":"Tasse à café","coffeeLids":"Couvercle de tasse","coffeeOther":"Café-autre"},"food":{"sweetWrappers":"Emballages de bonbon","paperFoodPackaging":"Emballages papier/carton","plasticFoodPackaging":"Emballage plastique","plasticCutlery":"Couvert plastique","crisp_small":"Petit paquet de chips","crisp_large":"Grand paquet de chips","styrofoam_plate":"Assiette","napkins":"Serviette","sauce_packet":"Sachet de sauce","glass_jar":"Conserve en verre","glass_jar_lid":"Couvercle de conserve","aluminium_foil":"Papier aluminium","pizza_box":"Carton de pizza","foodOther":"Nourriture-autre","chewing_gum":"Chewing Gum"},"softdrinks":{"waterBottle":"Bouteille plastique","fizzyDrinkBottle":"Bouteille de soda","tinCan":"canette","bottleLid":"Bouchon de bouteille","bottleLabel":"Etiquette de bouteille","sportsDrink":"Boisson énergisante","straws":"Paille","plastic_cups":"Gobelet palstique","plastic_cup_tops":"Couvercle de gobelet plastique","milk_bottle":"Bouteille de lait","milk_carton":"Brique de lait","paper_cups":"Gobelet papier","juice_cartons":"Brique de jus","juice_bottles":"Bouteille de jus","juice_packet":"Bouteille de jus en carton","ice_tea_bottles":"Bouteille de thé glacé","ice_tea_can":"Canette de thé glacé ","energy_can":"Canette de boisson énérgisante","pullring":"Anneau d\'ouverture","strawpacket":"gobelet avec paille","styro_cup":"Gobelet en polystyrène","broken_glass":"Bris de verre","softDrinkOther":"Boisson S.A-autre"},"sanitary":{"gloves":"Gants","facemask":"Masques","condoms":"Présérvatifs","nappies":"Couches","menstral":"Menstral","deodorant":"Deodorant","ear_swabs":"Cotons tiges","tooth_pick":"Tooth Pick","tooth_brush":"Cure-dent","wetwipes":"Lingettes humide","hand_sanitiser":"gel hydroalcoolique","sanitaryOther":"Produit d\'hygiène-autre"},"dumping":{"small":"Small","medium":"Medium","large":"Large"},"industrial":{"oil":"Huile","industrial_plastic":"Plastique","chemical":"Produit chimique","bricks":"Brique","tape":"Ruban adhésif","industrial_other":"Industriel-autre"},"coastal":{"microplastics":"Petit plastiques","mediumplastics":"Plastiques moyen","macroplastics":"Grand plastiques","rope_small":"Petite corde","rope_medium":"Corde moyenne","rope_large":"Grande corde","fishing_gear_nets":"Outils de pêche/filets","ghost_nets":"Filet fantôme","buoys":"Bouées","degraded_plasticbottle":"Bouteille plastique détériorée","degraded_plasticbag":"Sac en plastique détériorés","degraded_straws":"Pailles détériorées","degraded_lighters":"Briquets détériorés","balloons":"Ballons","lego":"Lego","shotgun_cartridges":"Cartouche de fusil à pompe","styro_small":"Petit polystyrène","styro_medium":"polystyrène moyen","styro_large":"Grand polystyrène","coastal_other":"Côtier-autre"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Déjection canine","littercat":"Litière pour chat","duck":"Litière pour canard"},"other":{"dogshit":"Déjection canine","pooinbag":"Déjection canine en sachet","automobile":"Automobile","clothing":"Vétement","traffic_cone":"Plot de signalisation","life_buoy":"Bouée de sauvetage","plastic":"Plastique non identifié","dump":"Déversement illégal","metal":"Objet métallique","plastic_bags":"Sacs en plastique","election_posters":"Affiche éléctoral","forsale_posters":"Affiche promotionnel","books":"Livres","magazine":"Magazines","paper":"Papier","stationary":"Papeterie","washing_up":"Bouteille de savon","hair_tie":"Elastique à cheveux","ear_plugs":"Ecouteurs","batteries":"Batteries","elec_small":"Petit éléctroménager","elec_large":"Grand éléctroménager","random_litter":"Déchet aléatoire","balloons":"Ballons","bags_litter":"Sac poubelles","overflowing_bins":"Débordement de poubelles","tyre":"Pneu","cable_tie":"Collier de serrage en plastique","other":"Autres"},"presence":{"picked-up":"Je l\'ai ramassé !","still-there":"N\'a pas été ramassé !","picked-up-text":"Il n\'est plus là.","still-there-text":"Le déchet est toujours là !"},"no-tags":"Aucun tags","not-verified":"Vérification en attente","not-tagged-yet":"Pas encore tagé !","dogshit":{"poo":"Surprise !","poo_in_bag":"Surprise dans un sac !"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Fibre de carbone","ceramic":"Céramique","composite":"Matériau composite","concrete":"Ciment","copper":"Cuivre","fiberglass":"Fibre de verre","glass":"Verre","iron_or_steel":"Fer/Acier","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Papier","plastic":"Plastique","polyethylene":"Polyéthylène","polymer":"Polymère","polypropylene":"Polypropylène","polystyrene":"Polystyrène","pvc":"PVC","rubber":"Caoutchouc","titanium":"Titane","wood":"Bois"}}')},vC4K:function(t){t.exports=JSON.parse('{"toggle-email":"Badili Usajili wa Barua Pepe","we-send-updates":"Mara kwa mara, tunatuma barua pepe zinazohusu maboresho na habari njema.","subscribe":"Unaweza kujiandikisha au kujiondoa kwenye barua pepe zetu hapa.","current-status":"Hali ya sasa","change-status":"Badili hali"}')},vYUr:function(t,e,n){"use strict";var i=n("PKhi");n.n(i).a},vaEP:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'/* component style */\n.vue-slider-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n/* rail style */\n.vue-slider-rail {\n background-color: #ccc;\n border-radius: 15px;\n}\n\n/* process style */\n.vue-slider-process {\n background-color: #3498db;\n border-radius: 15px;\n}\n\n/* mark style */\n.vue-slider-mark {\n z-index: 4;\n}\n.vue-slider-mark:first-child .vue-slider-mark-step, .vue-slider-mark:last-child .vue-slider-mark-step {\n display: none;\n}\n.vue-slider-mark-step {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.16);\n}\n.vue-slider-mark-label {\n font-size: 14px;\n white-space: nowrap;\n}\n/* dot style */\n.vue-slider-dot-handle {\n cursor: pointer;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #fff;\n box-sizing: border-box;\n box-shadow: 0.5px 0.5px 2px 1px rgba(0, 0, 0, 0.32);\n}\n.vue-slider-dot-handle-focus {\n box-shadow: 0px 0px 1px 2px rgba(52, 152, 219, 0.36);\n}\n\n.vue-slider-dot-handle-disabled {\n cursor: not-allowed;\n background-color: #ccc;\n}\n\n.vue-slider-dot-tooltip-inner {\n font-size: 14px;\n white-space: nowrap;\n padding: 2px 5px;\n min-width: 20px;\n text-align: center;\n color: #fff;\n border-radius: 5px;\n border-color: #3498db;\n background-color: #3498db;\n box-sizing: content-box;\n}\n.vue-slider-dot-tooltip-inner::after {\n content: "";\n position: absolute;\n}\n.vue-slider-dot-tooltip-inner-top::after {\n top: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-top-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-bottom::after {\n bottom: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-bottom-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-left::after {\n left: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-left-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-right::after {\n right: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-right-color: inherit;\n}\n\n.vue-slider-dot-tooltip-wrapper {\n opacity: 0;\n transition: all 0.3s;\n}\n.vue-slider-dot-tooltip-wrapper-show {\n opacity: 1;\n}\n',""])},vne5:function(t,e,n){"use strict";var i={name:"Tags",props:["photoId","admin"],computed:{categories:function(){var t=[];return Object.entries(this.$store.state.litter.tags[this.photoId]||{}).map((function(e){Object.keys(e[1]).length>0&&t.push({category:e[0],tags:e[1]})})),t},customTags:function(){return this.$store.state.litter.customTags[this.photoId]||[]}},methods:{getCategory:function(t){return this.$i18n.t("litter.categories."+t)},getTags:function(t,e){return this.$i18n.t("litter."+e+"."+t[0])+": "+t[1]+"
    "},removeTag:function(t,e){var n=this.admin?"resetTag":"removeTag";this.$store.commit(n,{photoId:this.photoId,category:t,tag_key:e})},removeCustomTag:function(t){this.$store.commit("removeCustomTag",{photoId:this.photoId,customTag:t})}}},r=(n("GQYL"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{staticClass:"container"},[n("transition-group",{attrs:{name:"categories",tag:"div"}},[t.customTags.length?n("li",{key:"customTags",staticClass:"admin-item"},[n("span",{staticClass:"category"},[t._v(t._s(t.$t("tags.custom-tags")))]),t._v(" "),t._l(t.customTags,(function(e){return n("span",{staticClass:"tag is-medium has-background-link has-text-white litter-tag",domProps:{innerHTML:t._s(e)},on:{click:function(n){return t.removeCustomTag(e)}}})}))],2):t._e(),t._v(" "),t._l(t.categories,(function(e){return n("li",{key:e.category,staticClass:"admin-item"},[n("span",{staticClass:"category"},[t._v(t._s(t.getCategory(e.category)))]),t._v(" "),t._l(Object.entries(e.tags),(function(i){return n("span",{staticClass:"tag is-medium is-info litter-tag",domProps:{innerHTML:t._s(t.getTags(i,e.category))},on:{click:function(n){return t.removeTag(e.category,i[0])}}})}))],2)}))],2)],1)])}),[],!1,null,"cd11bd74",null);e.a=a.exports},vsSR:function(t){t.exports=JSON.parse('{"change-privacy":"Cambiar mi privacidad","maps":"Mapas","credit-name":"Acreditar mi nombre","credit-username":"Acreditar mi nombre de usuario","name-imgs-yes":"Tu nombre está configurado para aparecer en cada una de las imágenes que subas a los mapas.","username-imgs-yes":"Tu nombre de usuario está configurado para aparecer en cada una de las imágenes que subas a los mapas.","name-username-map-no":"Tu nombre y tu nombre de usuario no aparecerán en los mapas.","leaderboards":"Tablas de Clasificación","credit-my-name":"Acreditar mi nombre","credit-my-username":"Acreditar mi nombre de usuario","name-leaderboards-yes":"Tu nombre está configurado para aparecer en cualquier tabla de clasificación para la que califiques.","username-leaderboards-yes":"Tu nombre de usuario está configurado para aparecer en cualquier tabla de clasificación para la que califiques.","name-username-leaderboards-no":"Tu nombre y tu nombre de usuario no aparecerán en las tablas de clasificación.","created-by":"Creada por","name-locations-yes":"Tu nombre está configurado para aparecer en cualquier ubicación creada por ti.","username-locations-yes":"Tu nombre de usuartio está configurado para aparecer en cualquier ubicación creada por ti.","name-username-locations-yes":"Tu nombre y tu nombre de usuario no aparecerán en la sección \'Creada por\' de las ubicaciones que añadas a la base de datos.","update":"Actualizar"}')},vwrS:function(t){t.exports=JSON.parse('{"title":"Help us change the world.","subtitle":"We\'re growing by the day","photos-last-30-days":"Photos uploaded last 30 days","users-last-30-days":"New users last 30 days","litter-tags-last-30-days":"Litter tagged last 30 days","photos-every-month-label":"Photos uploaded every month","users-every-month-label":"New users every month","zoom-text":"Join us on the {link}, where we get to hear lots of new ideas and suggestions from our growing global community. Every week our users share their feedback which always helps make our app easier and better to use. Help shape the future direction of our open source data collection and environmental monitoring platform. Call starts in:","zoom-weekly-calls":"weekly Zoom calls at 6 p.m. GMT (Dublin/London/Lisbon time) every Thursday","zoom-live":"Live","zoom-days":"day | days","zoom-hours":"hour | hours","zoom-minutes":"minute | minutes","slack-text":"{slack} is our main medium of communication and collaboration. Power-users, newcomers, developers, a community of over 400 members - we\'re all there. Drop us a line and you\'ll get an instant reply, we\'re online all the time.","fundraiser-text":"OpenLitterMap is entirely dependent on donations. We\'ve set up a {link} and we\'re still far away from our target. All contributions are welcome. {emoji}","fundraiser-link":"GoFundMe Fundraiser"}')},"w+GM":function(t,e,n){var i=n("8J0w");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"w1/D":function(t,e,n){var i=n("HBdk");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"wEH+":function(t){t.exports=JSON.parse('{"cancel":"Cancelar","submit":"Enviar","download":"Descargar","delete":"Eliminar","delete-image":"Eliminar imagen","confirm-delete":"Confirmar eliminar","loading":"Cargando...","created_at":"Subida el","created":"Creado","created-by":"Creado por","datetime":"Tomada el","day-names":["lu.","ma.","mi.","ju.","vi.","sá.","do."],"month-names":["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agusto","Septiembre","Octobre","Noviembre","Diciembre"],"short-month-names":["en.","febr.","mzo.","abr.","my.","jun.","jul.","ag.","sept.","oct.","nov.","dic."],"next":"Siguiente","previous":"Previa","next-page":"Siguiente página","add-tags":"Añadir etiquetas","add-many-tags":"Añadir varias etiquetas","select-all":"Seleccionar todo","de-select-all":"Deselecionar todo","choose-dates":"Escoger fechas","not-verified":"No verificada","verified":"Verificada","search-by-id":"Busquea por ID","active":"Activo","inactive":"Inactivo","inactivate":"Deshabilitar las contribuciones del equipo","your-email":"tu@correoelectronico.com","team":"Equipo","actions":"Comportamiento","photo":"Foto","reason":"Razón","anonymous":"Anónimo","faq":"Preguntas Frecuentes"}')},wHEA:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Ceci sera retourné plus tard","claim-tokens":"Si vous voulez juste réclamer vos jetons et accéder à votre portefeuille, entrez l\'identifiant de votre portefeuille et vos gains vous serons envoyés."}')},wUjy:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"Az OpenLitterMap jelenleg teljes mértékben az adományoktól függ.","its-important":"Ez fontos"}')},"wb9+":function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Hii itarudi baadaye","claim-tokens":"Ikiwa ungependa kudai tu tokeni zako na kufikia pochi yako kutoka mahali pengine, weka kitambulisho chako cha pochi na utatumiwa mapato yako."}')},wfSq:function(t,e,n){var i=n("KSRL");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"x+NJ":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a={name:"PhotoDetailsPopup",computed:{photo:function(){var t=this.$store.state.photos.showDetailsPhotoId;return this.$store.state.photos.bulkPaginate.data.find((function(e){return e.id===t}))}},methods:{getCategoryName:function(t){return this.$i18n.t("litter.categories.".concat(t))},getTagName:function(t,e){return this.$i18n.t("litter.".concat(t,".").concat(e))},removeTag:function(t,e){this.$store.commit("removeTagFromPhoto",{photoId:this.photo.id,category:t,tag:e})},clearCustomTag:function(t){this.$store.commit("removeCustomTagFromPhoto",{photoId:this.photo.id,customTag:t})},togglePickedUp:function(){this.$store.commit("setPhotoPickedUp",{photoId:this.photo.id,picked_up:!this.photo.picked_up})}}},o=(n("S11f"),n("KHd+")),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.photo?n("div",[n("div",[n("div",{staticClass:"top-row"},[n("div",{staticClass:"switch-container"},[n("p",{staticClass:"mr-2"},[n("strong",[t._v(t._s(t.$t("tags.picked-up-title")))])]),t._v(" "),n("label",{staticClass:"switch"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.photo.picked_up},on:{change:t.togglePickedUp}}),t._v(" "),n("span",{staticClass:"slider round"})])])]),t._v(" "),n("div",{staticClass:"close-popup",on:{click:function(e){return t.$emit("close")}}},[n("i",{staticClass:"fa fa-times"})])]),t._v(" "),t.photo.custom_tags&&t.photo.custom_tags.length||Object.keys(t.photo.tags).length?n("div",{staticClass:"photo-tags-container"},[t.photo.custom_tags&&t.photo.custom_tags.length?n("div",[n("p",{staticClass:"has-text-centered"},[t._v(t._s(t.$t("tags.custom-tags")))]),t._v(" "),n("transition-group",{staticClass:"tags-list",attrs:{name:"list",tag:"div"}},t._l(t.photo.custom_tags,(function(e){return n("div",{key:e,staticClass:"litter-tag"},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.clearCustomTag(e)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v(t._s(e))])])})),0)],1):t._e(),t._v(" "),n("transition-group",{attrs:{name:"categories",tag:"div"}},t._l(Object.keys(t.photo.tags||{}),(function(e){return n("div",{key:e},[n("p",{staticClass:"has-text-centered"},[t._v(t._s(t.getCategoryName(e)))]),t._v(" "),n("transition-group",{staticClass:"tags-list",attrs:{name:"list",tag:"div"}},t._l(Object.keys(t.photo.tags[e]),(function(i){return n("div",{key:i,staticClass:"litter-tag"},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.removeTag(e,i)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v("\n "+t._s(t.getTagName(e,i))+":\n "+t._s(t.photo.tags[e][i])+"\n ")])])})),0)],1)})),0)],1):t._e()]):t._e()}),[],!1,null,"774c9699",null).exports;function l(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){l(a,i,r,o,s,"next",t)}function s(t){l(a,i,r,o,s,"throw",t)}o(void 0)}))}}var c={name:"FilterMyPhotos",components:{FunctionalCalendar:n("R5vI").a},data:function(){return{periods:["created_at","datetime"],processing:!1,showCalendar:!1}},computed:{calendar:function(){return this.showCalendar?"dropdown is-active":"dropdown"},filters:function(){return this.$store.state.photos.filters},filter_by_calendar:{get:function(){return this.filters.calendar},set:function(t){this.$store.commit("filter_photos_calendar",{min:t.dateRange.start,max:t.dateRange.end}),t.dateRange.end&&this.getPhotos()}},filter_by_id:{get:function(){return this.filters.id},set:function(t){this.$store.commit("filter_photos",{key:"id",v:t})}},getSelectAllText:function(){return this.selectAll?this.$t("common.de-select-all"):this.$t("common.select-all")},period:{get:function(){return this.filters.period},set:function(t){this.$store.commit("filter_photos",{key:"period",v:t})}},selectAll:{get:function(){return this.$store.state.photos.selectAll},set:function(t){this.$store.commit("selectAllPhotos",t)}},showCalendarDates:function(){return this.filters.dateRange.start&&this.filters.dateRange.end?"".concat(this.filters.dateRange.start," - ").concat(this.filters.dateRange.end):this.$t("common.choose-dates")},spinner:function(){return this.processing?"fa fa-refresh fa-spin":"fa fa-refresh"},verifiedIndex:{get:function(){return this.filters.verified},set:function(t){this.$store.commit("filter_photos",{key:"verified",v:t})}}},methods:{getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)},getPhotos:function(){var t=this;return u(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_USERS_FILTERED_PHOTOS");case 2:case"end":return e.stop()}}),e)})))()},getVerifiedText:function(t){return 0===t?this.$t("common.not-verified"):this.$t("common.verified")},search:function(){var t=this;this.processing=!0,this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(u(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getPhotos();case 2:t.processing=!1;case 3:case"end":return e.stop()}}),e)}))),500)},toggleAll:function(){this.$store.commit("selectAllPhotos",this.selectAll)},toggleCalendar:function(){this.showCalendar=!this.showCalendar}}},h=(n("fKuF"),Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex mb1 filter-my-photos"},[n("router-link",{attrs:{to:"/tag"}},[n("button",{staticClass:"button is-primary"},[t._v("Tag individually")])]),t._v(" "),n("div",{staticClass:"field mb0 pt0"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.filter_by_id,expression:"filter_by_id"}],staticClass:"input w10",attrs:{placeholder:t.$t("common.search-by-id")},domProps:{value:t.filter_by_id},on:{input:[function(e){e.target.composing||(t.filter_by_id=e.target.value)},t.search]}}),t._v(" "),n("span",{staticClass:"icon is-small is-left z-index-0"},[n("i",{class:t.spinner})])])]),t._v(" "),n("button",{staticClass:"button is-primary select-all-photos",on:{click:t.toggleAll}},[t._v("\n "+t._s(t.getSelectAllText)+"\n ")]),t._v(" "),n("div",{class:t.calendar},[n("div",{staticClass:"dropdown-trigger"},[n("button",{staticClass:"button dropdownButtonLeft",on:{click:t.toggleCalendar}},[n("span",[t._v(t._s(t.showCalendarDates))])])]),t._v(" "),n("div",{staticClass:"dropdown-menu"},[n("div",{staticClass:"dropdown-content calendar-box"},[n("FunctionalCalendar",{ref:"calendar",attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),"change-month-function":!0,"change-year-function":!0,"is-date-range":!0,"date-format":"yyyy/mm/dd"},on:{selectedDaysCount:t.toggleCalendar},model:{value:t.filter_by_calendar,callback:function(e){t.filter_by_calendar=e},expression:"filter_by_calendar"}})],1)])]),t._v(" "),n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]},t.getPhotos]}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0)])],1)}),[],!1,null,"4d2593f8",null).exports),d=n("kGIl"),p=n.n(d),f=(n("5A0h"),n("wd/R")),m=n.n(f);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nOpenStreetMap',o.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:20,minZoom:2}).addTo(t.map),t.map.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+i),a=new o.a.TimeDimension({}),t.map.timeDimension=a,t.player=new o.a.TimeDimension.Player({transitionTime:1e3,loop:!0},a),t.player.on("play",(function(){var e;(null===(e=t.map)||void 0===e?void 0:e.hasLayer(t.pointsLayer))&&t.map.removeLayer(t.pointsLayer)})),t.map.addControl(new o.a.Control.TimeDimension({player:t.player,timeDimension:a,timeSliderDragUpdate:!0,loopButton:!0,autoPlay:!1,minSpeed:5})),t.pointsLayer=o.a.geoJSON(t.geojson,{pointToLayer:function(t,e){return o.a.marker([e.lng,e.lat])},onEachFeature:function(e,n){n.on("click",(function(n){o.a.popup(s.a.popupOptions).setLatLng(e.geometry.coordinates).setContent(s.a.getMapImagePopupContent(e.properties)).openOn(t.map)}))}}),t.timeLayer=o.a.timeDimension.layer.geoJson(t.pointsLayer,{updateTimeDimension:!0,updateTimeDimensionMode:"replace"}),t.pointsLayer.addTo(t.map),t.timeLayer.addTo(t.map),t.map.on("moveend",t.updateLocationInURL),t.map.on("popupopen",s.a.scrollPopupToBottom);case 20:case"end":return e.stop()}}),e)})))()},methods:{load:function(){var t=this;return c(r.a.mark((function e(){var n,i,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new URLSearchParams(window.location.search),i=n.get("custom_tag"),a=n.get("brand"),e.next=5,axios.get("/tags-search",{params:{custom_tag:i,brand:a}}).then((function(e){t.geojson=e.data})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()},flyToLocationFromURL:function(){var t=new URLSearchParams(window.location.search),e=parseFloat(t.get("lat")||0),n=parseFloat(t.get("lon")||0),i=parseFloat(t.get("zoom")||l.e);if(e=e<-85||e>85?0:e,n=n<-180||n>180?0:n,i=i18?l.e:i,0!==e||0!==n||i!==l.e){var r=[e,n];this.map.flyTo(r,i,{animate:!0,duration:5})}},updateLocationInURL:function(){var t=this.map.getCenter(),e=new URL(window.location.href);e.searchParams.set("lat",t.lat),e.searchParams.set("lon",t.lng),e.searchParams.set("zoom",this.map.getZoom()),window.history.pushState(null,"",e)}}},d=(n("UbYI"),n("KHd+")),p=Object(d.a)(h,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"map-container"},[e("div",{ref:"map",attrs:{id:"map"}})])}),[],!1,null,"b62b8330",null);e.default=p.exports},xH61:function(t,e,n){var i=n("W5Xp");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},xJzp:function(t,e,n){"use strict";var i=n("AEb0");n.n(i).a},xMlF:function(t,e,n){var i=n("73T2");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},xoeU:function(t){t.exports=JSON.parse('{"change-password":"Verander mijn wachtwoord","enter-old-password":"Voer oud wachtwoord in","enter-new-password":"Voer nieuw wachtwoord in","enter-strong-password":"Kies een sterk wachtwoord","confirm-new-password":"Bevestig je nieuwe wachtwoord","repeat-strong-password":"Herhaal je sterke wachtwoord","update-password":"Werk wachtwoord bij"}')},xrdK:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"A poluição de plástico está fora de controle","fires-out-of-control":"Bitucas de cigarros podem iniciar incêndios","climate-change-out-of-control":"Plástico está aumentando a mudança climática","help-us":"Ajude-nos a criar o banco de dados aberto mais avançado do mundo sobre lixo, marcas e poluição de plástico","why-collect-data":"Por que devemos coletar dados","visibility":"Visibilidade","our-maps-reveal-litter-normality":"Para muitas pessoas, o lixo se tornou normal e invisível. Os mapas são poderosos porque comunicam o que normalmente não podemos ver","science":"Solução de problemas","our-data-open-source":"Nossos dados são abertos e acessíveis. Todos têm direitos iguais, abertos e ilimitados de baixar todos os nossos dados e usá-los para qualquer finalidade","community":"Comunidade","must-work-together":"Precisamos da sua ajuda para criar uma mudança de paradigma em como entendemos e respondemos à poluição","how-does-it-work":"Como funciona","take-a-photo":"Tire uma foto","device-captures-info":"Seu dispositivo pode capturar informações valiosas sobre a localização, hora, objeto, material e marca.","tag-the-litter":"Tag o lixo","tag-litter-you-see":"Apenas tag o lixo que você vê na foto. Você pode marcar se a cama foi recolhida ou se ainda está lá. Você pode fazer upload de suas fotos a qualquer momento","share-results":"Compartilhe seus resultados","share":"Compartilhe os mapas ou baixe nossos dados. Vamos mostrar a todos como o mundo realmente é poluído","verified":"Seu email foi confirmado! Agora você pode fazer o login.","close":"Fechar","our-partners":"Nossos Parceiros","become-a-partner":"Torne-se um parceiro"}')},xyEF:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Entrer un identifiant pou rejoindre une équipe.","team-identifier":"Rejoindre une équipe par identifiant","enter-id-to-join-placeholder":"Entrer un ID pour joindre une équipe","join-team":"Rejoindre une Équipe"}')},yGXg:function(t,e,n){"use strict";var i=n("m2r5");n.n(i).a},yHOK:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Ellenörzött Fényképek","admin-horizon":"ADMIN - Horizont","admin-verify-boxes":"ADMIN - Ellenörzött Dobozok","about":"Rólunk","global-map":"Globális térkép","world-cup":"Világbajnokság","community":"Közösség","upload":"Feltöltés","more":"Több","tag-litter":"Szemét megjelölése","profile":"Profil","settings":"Beállítások","bounding-boxes":"Határoló dobozok","logout":"Kijelentkezés","login":"Belépés","signup":"Regisztrálás","teams":"Csapatok"}')},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},yPIN:function(t,e,n){var i=n("pV29");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},yeoh:function(t){t.exports=JSON.parse('{"do-you-pickup":"Felveszed a szemetet vagy ott hagyod?","save-def-settings":"Itt mentheti el az alapértelmezett beállítást.","change-value-of-litter":"Az egyes szemetek értékét is módosíthatja a címkézés során.","status":"Jelenlegi Állapot","toggle-presence":"Beállítás megváltoztatása","pickup?":"Felveszi?"}')},"z/o8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i.f}));var i=n("LiCP");i.e._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,a=t.cycle;for(i in a)r=a[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},n=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,a={},o=isNaN(i),s=e.axis,l={center:.5,end:1}[i]||0;return function(t,u,c){var h,d,p,f,m,g,v,y,_,b=(c||e).length,w=a[b];if(!w){if(!(_="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=c[_++].getBoundingClientRect().left)&&_v&&(v=m),mb?b-1:s?"y"===s?b/_:_:Math.max(_,b/_))||0,w.b=b<0?r-b:r}return b=(w[t]-w.min)/w.max,w.b+(n?n.getRatio(b):b)*w.v}},r=function(t,e,n){i.f.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=r.prototype.render},a=i.f._internals,o=a.isSelector,s=a.isArray,l=r.prototype=i.f.to({},.1,{}),u=[];r.version="2.1.3",l.constructor=r,l.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.f.killTweensOf,r.getTweensOf=i.f.getTweensOf,r.lagSmoothing=i.f.lagSmoothing,r.ticker=i.f.ticker,r.render=i.f.render,r.distribute=n,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.f.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,r=this.ratio,a=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime.998){var o=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(o,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||a)for(var s,l=1/(1-r),u=this._firstPT;u;)s=u.s+u.c,u.c*=l,u.s=s-u.c,u=u._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,o,s,l,u,c,h,d,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,v=this._cycle,y=this._duration,_=this._rawPrevTime;if(t>=f-1e-8&&t>=0?(this._totalTime=f,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,o="onComplete",n=n||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(_<0||t<=0&&t>=-1e-8||1e-8===_&&"isPause"!==this.data)&&_!==t&&(n=!0,_>1e-8&&(o="onReverseComplete")),this._rawPrevTime=d=!e||t||_===t?t:1e-8)):t<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===y&&_>0)&&(o="onReverseComplete",r=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||n)&&(_>=0&&(n=!0),this._rawPrevTime=d=!e||t||_===t?t:1e-8)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=y+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&g<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=y-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof i.b?p:i.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof i.b?p:"function"==typeof p?new i.b(p,this.vars.easeParams):i.b.map[p]||i.f.defaultEase:i.f.defaultEase)),this.ratio=p?1-p.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!p?(u=this._time/y,(1===(c=this._easeType)||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===(h=this._easePower)?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:this._time/y<.5?u/2:1-u/2):p||(this.ratio=this._ease.getRatio(this._time/y))),m!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=_,this._cycle=v,a.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||r||p?r&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/y)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===g&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):o||(o="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==y||e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==g||o)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),o&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o),0===y&&1e-8===this._rawPrevTime&&1e-8!==d&&(this._rawPrevTime=0)))}else g!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},r.to=function(t,e,n){return new r(t,e,n)},r.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new r(t,e,n)},r.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new r(t,e,i)},r.staggerTo=r.allTo=function(a,l,c,h,d,p,f){var m,g,v,y,_=[],b=n(c.stagger||h),w=c.cycle,x=(c.startAt||u).cycle;for(s(a)||("string"==typeof a&&(a=i.f.selector(a)||a),o(a)&&(a=t(a))),m=(a=a||[]).length-1,v=0;v<=m;v++){for(y in g={},c)g[y]=c[y];if(w&&(e(g,a,v),null!=g.duration&&(l=g.duration,delete g.duration)),x){for(y in x=g.startAt={},c.startAt)x[y]=c.startAt[y];e(g.startAt,a,v)}g.delay=b(v,a[v],a)+(g.delay||0),v===m&&d&&(g.onComplete=function(){c.onComplete&&c.onComplete.apply(c.onCompleteScope||this,arguments),d.apply(f||c.callbackScope||this,p||u)}),_[v]=new r(a[v],l,g)}return _},r.staggerFrom=r.allFrom=function(t,e,n,i,a,o,s){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,r.staggerTo(t,e,n,i,a,o,s)},r.staggerFromTo=r.allFromTo=function(t,e,n,i,a,o,s,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,r.staggerTo(t,e,i,a,o,s,l)},r.delayedCall=function(t,e,n,i,a){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,useFrames:a,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return i.f.getTweensOf(t,!0).length>0};var c=function(t,e){for(var n=[],r=0,a=t._first;a;)a instanceof i.f?n[r++]=a:(e&&(n[r++]=a),r=(n=n.concat(c(a,e))).length),a=a._next;return n},h=r.getAllTweens=function(t){return c(i.a._rootTimeline,t).concat(c(i.a._rootFramesTimeline,t))};r.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var a,o,s,l=h(0!=r),u=l.length,c=e&&n&&r;for(s=0;s-1;)r.killChildTweensOf(e[h],n);else{for(c in l=[],p)for(u=p[c].target.parentNode;u;)u===e&&(l=l.concat(p[c].tweens)),u=u.parentNode;for(d=l.length,h=0;h-1;)o=s[u],(l||o instanceof i.c||(a=o.target===o.vars.onComplete)&&n||e&&!a)&&o.paused(t)};return r.pauseAll=function(t,e,n){d(!0,t,e,n)},r.resumeAll=function(t,e,n){d(!1,t,e,n)},r.globalTimeScale=function(t){var e=i.a._rootTimeline,n=i.f.ticker.time;return arguments.length?(t=t||1e-8,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.a._rootFramesTimeline,n=i.f.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.a._rootTimeline._timeScale=t,t):e._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return t>n&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},l.duration=function(t){return arguments.length?i.a.prototype.duration.call(this,t):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r}),!0);var r=i.g.TweenMax;i.e._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,n,r,a=function(){i.d.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=i.e._gsDefine.globals,s={},l=a.prototype=new i.d("css");l.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,l="px",a.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,d,p,f,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,k=/opacity *= *([^)]*)/i,C=/opacity:([^;]*)/i,T=/alpha\(opacity *=.+?\)/i,E=/^(rgb|hsl)/,S=/([A-Z])/g,P=/-([a-z])/gi,L=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,I=function(t,e){return e.toUpperCase()},O=/(?:Left|Right|Width)/i,A=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,M=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,D=Math.PI/180,R=180/Math.PI,j={},F={style:{}},B=i.e.document||{createElement:function(){return F}},U=function(t,e){var n=B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t);return n.style?n:B.createElement(t)},q=U("div"),$=U("img"),G=a._internals={_specialProps:s},V=(i.e.navigator||{}).userAgent||"",H=function(){var t=V.indexOf("Android"),e=U("a");return h=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),p=h&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,d=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(f=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return k.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Y=function(t){i.e.console},Z="",X="",J=function(t,e){var n,i,r=(e=e||q).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(Z="-"+(X=3===i?"ms":n[i]).toLowerCase()+"-",X+t):null},K="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},Q=function(t){return K.getComputedStyle(t)},tt=a.getStyle=function(t,e,n,i,r){var a;return H||"opacity"!==e?(!i&&t.style[e]?a=t.style[e]:(n=n||Q(t))?a=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(a=t.currentStyle[e]),null==r||a&&"none"!==a&&"auto"!==a&&"auto auto"!==a?a:r):W(t)},et=G.convertToPixels=function(t,e,n,r,o){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var s,l,u,c=O.test(e),h=t,d=q.style,p=n<0,f=1===n;if(p&&(n=-n),f&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=n/100*(c?t.clientWidth:t.clientHeight);else{if(d.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)d[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||B.body,-1!==tt(h,"display").indexOf("flex")&&(d.position="absolute"),l=h._gsCache,u=i.f.ticker.frame,l&&c&&l.time===u)return l.width*n/100;d[c?"width":"height"]=n+r}h.appendChild(q),s=parseFloat(q[c?"offsetWidth":"offsetHeight"]),h.removeChild(q),c&&"%"===r&&!1!==a.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=s/n*100),0!==s||o||(s=et(t,e,n,r,!0))}else l=Q(t).lineHeight,t.style.lineHeight=n,s=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return f&&(s/=100),p?-s:s},nt=G.calculateOffset=function(t,e,n){if("absolute"!==tt(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=tt(t,"margin"+i,n);return t["offset"+i]-(et(t,e,parseFloat(r),r.replace(x,""))||0)},it=function(t,e){var n,i,r,a={};if(e=e||Q(t))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&zt!==r||(a[r.replace(P,I)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&Mt!==n||(a[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===a[n]&&(a[n.replace(P,I)]=e[n]);return H||(a.opacity=W(t)),i=Wt(t,e,!1),a.rotation=i.rotation,a.skewX=i.skewX,a.scaleX=i.scaleX,a.scaleY=i.scaleY,a.x=i.x,a.y=i.y,Dt&&(a.z=i.z,a.rotationX=i.rotationX,a.rotationY=i.rotationY,a.scaleZ=i.scaleZ),a.filters&&delete a.filters,a},rt=function(t,e,n,i,r){var a,o,s,l={},u=t.style;for(o in n)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(a=n[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"!=typeof a&&"string"!=typeof a||(l[o]="auto"!==a||"left"!==o&&"top"!==o?""!==a&&"auto"!==a&&"none"!==a||"string"!=typeof e[o]||""===e[o].replace(w,"")?a:0:nt(t,o),void 0!==u[o]&&(s=new _t(u,o,u[o],s))));if(i)for(o in i)"className"!==o&&(l[o]=i[o]);return{difs:l,firstMPT:s}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],st=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||Q(t))[e]||0;if(t.getCTM&&Gt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=at[e],a=r.length;for(n=n||Q(t);--a>-1;)i-=parseFloat(tt(t,"padding"+r[a],n,!0))||0,i-=parseFloat(tt(t,"border"+r[a]+"Width",n,!0))||0;return i},lt=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],a=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==a.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===a.charAt(1),e.ox=parseFloat(r.replace(w,"")),e.oy=parseFloat(a.replace(w,"")),e.v=t),e||t},ut=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ct=function(t,e){"function"==typeof t&&(t=t(g,m));var n="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(n?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(n?t.substr(2):t)/100)),null==t?e:n?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ht=function(t,e,n,i){var r,a,o,s;return"function"==typeof t&&(t=t(g,m)),null==t?o=e:"number"==typeof t?o=t:(360,r=t.split("_"),a=((s="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:R)-(s?0:e),r.length&&(i&&(i[n]=e+a),-1!==t.indexOf("short")&&(a%=360)!==a%180&&(a=a<0?a+360:a-360),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%360-360*(a/360|0):-1!==t.indexOf("ccw")&&a>0&&(a=(a-3599999999640)%360-360*(a/360|0))),o=e+a),o<1e-6&&o>-1e-6&&(o=0),o},dt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},pt=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ft=a.parseColor=function(t,e){var n,i,r,a,o,s,l,u,c,h,d;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),dt[t])n=dt[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),r=t.charAt(2),a=t.charAt(3),t="#"+i+i+r+r+a+a),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=d=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(n[0])%360/360,s=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(s+1):l+s-l*s),n.length>3&&(n[3]=Number(n[3])),n[0]=pt(o+1/3,i,r),n[1]=pt(o,i,r),n[2]=pt(o-1/3,i,r);else n=t.match(v)||dt.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=dt.black;return e&&!d&&(i=n[0]/255,r=n[1]/255,a=n[2]/255,l=((u=Math.max(i,r,a))+(c=Math.min(i,r,a)))/2,u===c?o=s=0:(h=u-c,s=l>.5?h/(2-u-c):h/(u+c),o=u===i?(r-a)/h+(r0?o[0].replace(v,""):"";return c?r=e?function(t){var e,d,p,f;if("number"==typeof t)t+=h;else if(i&&z.test(t)){for(f=t.replace(z,"|").split("|"),p=0;pp--)for(;++pd--)for(;++d>0];return r.parse(e,s,a,o)}},_t=(G._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,a,o=this.data,s=o.proxy,l=o.firstMPT;l;)e=s[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===t||0===t)for(l=o.firstMPT,a=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+o,p[s=i.p+"_"+l]=i.data[l],d[s]=i[l],a||(u=new _t(i,l,s,u,i.rxp[l]));i=i._next}return{proxy:d,end:p,firstMPT:u,pt:c}},G.CSSPropTween=function(e,n,i,a,o,s,l,u,c,h,d){this.t=e,this.p=n,this.s=i,this.c=a,this.n=l||n,e instanceof bt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=s||0,c&&(this.pr=c,t=!0),this.b=void 0===h?i:h,this.e=void 0===d?i+a:d,o&&(this._next=o,o._prev=this)}),wt=function(t,e,n,i,r,a){var o=new bt(t,e,n,i-n,r,-1,a);return o.b=n,o.e=o.xs0=i,o},xt=a.parseComplex=function(t,e,n,i,r,o,s,l,c,h){n=n||o||"","function"==typeof i&&(i=i(g,m)),s=new bt(t,e,0,0,s,h?2:1,null,!1,l,n,i),i+="",r&>.test(i+n)&&(i=[n,i],a.colorStringFilter(i),n=i[0],i=i[1]);var d,p,f,_,b,w,x,k,C,T,E,S,P,L=n.split(", ").join(",").split(" "),I=i.split(", ").join(",").split(" "),O=L.length,A=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(L=L.join(" ").replace(z,", ").split(" "),I=I.join(" ").replace(z,", ").split(" ")):(L=L.join(" ").split(",").join(", ").split(" "),I=I.join(" ").split(",").join(", ").split(" ")),O=L.length),O!==I.length&&(O=(L=(o||"").split(" ")).length),s.plugin=c,s.setRatio=h,gt.lastIndex=0,d=0;d6)&&!H&&0===b[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(I[d]).join("transparent")):(H||(C=!1),P?s.appendXtra(T.substr(0,T.indexOf("hsl"))+(C?"hsla(":"hsl("),_[0],ut(b[0],_[0]),",",!1,!0).appendXtra("",_[1],ut(b[1],_[1]),"%,",!1).appendXtra("",_[2],ut(b[2],_[2]),C?"%,":"%"+S,!1):s.appendXtra(T.substr(0,T.indexOf("rgb"))+(C?"rgba(":"rgb("),_[0],b[0]-_[0],",",Math.round,!0).appendXtra("",_[1],b[1]-_[1],",",Math.round).appendXtra("",_[2],b[2]-_[2],C?",":S,Math.round),C&&(_=_.length<4?1:_[3],s.appendXtra("",_,(b.length<4?1:b[3])-_,S,!1))),gt.lastIndex=0;else if(w=_.match(v)){if(!(x=b.match(y))||x.length!==w.length)return s;for(f=0,p=0;p0;)l["xn"+kt]=0,l["xs"+kt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,a){var o=this,s=o.l;return o["xs"+s]+=a&&(s||o["xs"+s])?" "+t:t||"",n||0===s||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=i||"",s>0?(o.data["xn"+s]=e+n,o.rxp["xn"+s]=r,o["xn"+s]=e,o.plugin||(o.xfirst=new bt(o,"xn"+s,e,n,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+n},o.rxp={},o.s=e,o.c=n,o.r=r,o)):(o["xs"+s]+=e+(i||""),o)};var Ct=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,s[t]=s[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Tt=G._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),a=e.defaultValue;for(n=n||[a],i=0;is.length?l.length:s.length,o=0;o-1;)a=Number(r[kt]),r[kt]=(o=a-(a|=0))?(1e5*o+(o<0?-.5:.5)|0)/1e5+a:a;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Wt=G.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var o,s,l,u,c,h,d=n&&t._gsTransform||new Rt,p=d.scaleX<0,f=1e5,m=Dt&&(parseFloat(tt(t,Nt,e,!1,"0 0 0").split(" ")[2])||d.zOrigin)||0,g=parseFloat(a.defaultTransformPerspective)||0;if(d.svg=!(!t.getCTM||!Gt(t)),d.svg&&(qt(t,tt(t,Nt,e,!1,"50% 50%")+"",d,t.getAttribute("data-svg-origin")),St=a.useSVGTransformAttr||Ut),(o=Ht(t))!==Vt){if(16===o.length){var v,y,_,b,w,x=o[0],k=o[1],C=o[2],T=o[3],E=o[4],S=o[5],P=o[6],L=o[7],I=o[8],O=o[9],A=o[10],M=o[12],z=o[13],N=o[14],D=o[11],j=Math.atan2(P,A);d.zOrigin&&(M=I*(N=-d.zOrigin)-o[12],z=O*N-o[13],N=A*N+d.zOrigin-o[14]),d.rotationX=j*R,j&&(v=E*(b=Math.cos(-j))+I*(w=Math.sin(-j)),y=S*b+O*w,_=P*b+A*w,I=E*-w+I*b,O=S*-w+O*b,A=P*-w+A*b,D=L*-w+D*b,E=v,S=y,P=_),j=Math.atan2(-C,A),d.rotationY=j*R,j&&(y=k*(b=Math.cos(-j))-O*(w=Math.sin(-j)),_=C*b-A*w,O=k*w+O*b,A=C*w+A*b,D=T*w+D*b,x=v=x*b-I*w,k=y,C=_),j=Math.atan2(k,x),d.rotation=j*R,j&&(v=x*(b=Math.cos(j))+k*(w=Math.sin(j)),y=E*b+S*w,_=I*b+O*w,k=k*b-x*w,S=S*b-E*w,O=O*b-I*w,x=v,E=y,I=_),d.rotationX&&Math.abs(d.rotationX)+Math.abs(d.rotation)>359.9&&(d.rotationX=d.rotation=0,d.rotationY=180-d.rotationY),j=Math.atan2(E,S),d.scaleX=(Math.sqrt(x*x+k*k+C*C)*f+.5|0)/f,d.scaleY=(Math.sqrt(S*S+P*P)*f+.5|0)/f,d.scaleZ=(Math.sqrt(I*I+O*O+A*A)*f+.5|0)/f,x/=d.scaleX,E/=d.scaleY,k/=d.scaleX,S/=d.scaleY,Math.abs(j)>2e-5?(d.skewX=j*R,E=0,"simple"!==d.skewType&&(d.scaleY*=1/Math.cos(j))):d.skewX=0,d.perspective=D?1/(D<0?-D:D):0,d.x=M,d.y=z,d.z=N,d.svg&&(d.x-=d.xOrigin-(d.xOrigin*x-d.yOrigin*E),d.y-=d.yOrigin-(d.yOrigin*k-d.xOrigin*S))}else if(!Dt||r||!o.length||d.x!==o[4]||d.y!==o[5]||!d.rotationX&&!d.rotationY){var F=o.length>=6,B=F?o[0]:1,U=o[1]||0,q=o[2]||0,$=F?o[3]:1;d.x=o[4]||0,d.y=o[5]||0,l=Math.sqrt(B*B+U*U),u=Math.sqrt($*$+q*q),c=B||U?Math.atan2(U,B)*R:d.rotation||0,h=q||$?Math.atan2(q,$)*R+c:d.skewX||0,d.scaleX=l,d.scaleY=u,d.rotation=c,d.skewX=h,Dt&&(d.rotationX=d.rotationY=d.z=0,d.perspective=g,d.scaleZ=1),d.svg&&(d.x-=d.xOrigin-(d.xOrigin*B+d.yOrigin*q),d.y-=d.yOrigin-(d.xOrigin*U+d.yOrigin*$))}for(s in Math.abs(d.skewX)>90&&Math.abs(d.skewX)<270&&(p?(d.scaleX*=-1,d.skewX+=d.rotation<=0?180:-180,d.rotation+=d.rotation<=0?180:-180):(d.scaleY*=-1,d.skewX+=d.skewX<=0?180:-180)),d.zOrigin=m,d)d[s]<2e-5&&d[s]>-2e-5&&(d[s]=0)}return n&&(t._gsTransform=d,d.svg&&(St&&t.style[Mt]?i.f.delayedCall(.001,(function(){Jt(t.style,Mt)})):!St&&t.getAttribute("transform")&&i.f.delayedCall(.001,(function(){t.removeAttribute("transform")})))),d},Yt=function(t){var e,n,i=this.data,r=-i.rotation*D,a=r+i.skewX*D,o=1e5,s=(Math.cos(r)*i.scaleX*o|0)/o,l=(Math.sin(r)*i.scaleX*o|0)/o,u=(Math.sin(a)*-i.scaleY*o|0)/o,c=(Math.cos(a)*i.scaleY*o|0)/o,h=this.t.style,d=this.t.currentStyle;if(d){n=l,l=-u,u=-n,e=d.filter,h.filter="";var p,m,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==d.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+l+", M21="+u+", M22="+c,b=i.x+g*i.xPercent/100,w=i.y+v*i.yPercent/100;if(null!=i.ox&&(b+=(p=(i.oxp?g*i.ox*.01:i.ox)-g/2)-(p*s+(m=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),w+=m-(p*u+m*c)),_+=y?", Dx="+((p=g/2)-(p*s+(m=v/2)*l)+b)+", Dy="+(m-(p*u+m*c)+w)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(M,_):h.filter=_+" "+e,0!==t&&1!==t||1===s&&0===l&&0===u&&1===c&&(y&&-1===_.indexOf("Dx=0, Dy=0")||k.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!y){var C,T,E,S=f<8?1:-1;for(p=i.ieOffsetX||0,m=i.ieOffsetY||0,i.ieOffsetX=Math.round((g-((s<0?-s:s)*g+(l<0?-l:l)*v))/2+b),i.ieOffsetY=Math.round((v-((c<0?-c:c)*v+(u<0?-u:u)*g))/2+w),kt=0;kt<4;kt++)E=(n=-1!==(C=d[T=ot[kt]]).indexOf("px")?parseFloat(C):et(this.t,T,parseFloat(C),C.replace(x,""))||0)!==i[T]?kt<2?-i.ieOffsetX:-i.ieOffsetY:kt<2?p-i.ieOffsetX:m-i.ieOffsetY,h[T]=(i[T]=Math.round(n-E*(0===kt||2===kt?1:S)))+"px"}}},Zt=G.set3DTransformRatio=G.setTransformRatio=function(t){var e,n,i,r,a,o,s,l,u,c,h,p,f,m,g,v,y,_,b,w,x,k=this.data,C=this.t.style,T=k.rotation,E=k.rotationX,S=k.rotationY,P=k.scaleX,L=k.scaleY,I=k.scaleZ,O=k.x,A=k.y,M=k.z,z=k.svg,N=k.perspective,R=k.force3D,j=k.skewY,F=k.skewX;if(j&&(F+=j,T+=j),!((1!==t&&0!==t||"auto"!==R||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&R||M||N||S||E||1!==I)||St&&z||!Dt)T||F||z?(T*=D,w=F*D,x=1e5,n=Math.cos(T)*P,a=Math.sin(T)*P,i=Math.sin(T-w)*-L,o=Math.cos(T-w)*L,w&&"simple"===k.skewType&&(e=Math.tan(w-j*D),i*=e=Math.sqrt(1+e*e),o*=e,j&&(e=Math.tan(j*D),n*=e=Math.sqrt(1+e*e),a*=e)),z&&(O+=k.xOrigin-(k.xOrigin*n+k.yOrigin*i)+k.xOffset,A+=k.yOrigin-(k.xOrigin*a+k.yOrigin*o)+k.yOffset,St&&(k.xPercent||k.yPercent)&&(g=this.t.getBBox(),O+=.01*k.xPercent*g.width,A+=.01*k.yPercent*g.height),O<(g=1e-6)&&O>-g&&(O=0),A-g&&(A=0)),b=(n*x|0)/x+","+(a*x|0)/x+","+(i*x|0)/x+","+(o*x|0)/x+","+O+","+A+")",z&&St?this.t.setAttribute("transform","matrix("+b):C[Mt]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix(":"matrix(")+b):C[Mt]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix(":"matrix(")+P+",0,0,"+L+","+O+","+A+")";else{if(d&&(P<(g=1e-4)&&P>-g&&(P=I=2e-5),L-g&&(L=I=2e-5),!N||k.z||k.rotationX||k.rotationY||(N=0)),T||F)T*=D,v=n=Math.cos(T),y=a=Math.sin(T),F&&(T-=F*D,v=Math.cos(T),y=Math.sin(T),"simple"===k.skewType&&(e=Math.tan((F-j)*D),v*=e=Math.sqrt(1+e*e),y*=e,k.skewY&&(e=Math.tan(j*D),n*=e=Math.sqrt(1+e*e),a*=e))),i=-y,o=v;else{if(!(S||E||1!==I||N||z))return void(C[Mt]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) translate3d(":"translate3d(")+O+"px,"+A+"px,"+M+"px)"+(1!==P||1!==L?" scale("+P+","+L+")":""));n=o=1,i=a=0}c=1,r=s=l=u=h=p=0,f=N?-1/N:0,m=k.zOrigin,g=1e-6,",","0",(T=S*D)&&(v=Math.cos(T),l=-(y=Math.sin(T)),h=f*-y,r=n*y,s=a*y,c=v,f*=v,n*=v,a*=v),(T=E*D)&&(e=i*(v=Math.cos(T))+r*(y=Math.sin(T)),_=o*v+s*y,u=c*y,p=f*y,r=i*-y+r*v,s=o*-y+s*v,c*=v,f*=v,i=e,o=_),1!==I&&(r*=I,s*=I,c*=I,f*=I),1!==L&&(i*=L,o*=L,u*=L,p*=L),1!==P&&(n*=P,a*=P,l*=P,h*=P),(m||z)&&(m&&(O+=r*-m,A+=s*-m,M+=c*-m+m),z&&(O+=k.xOrigin-(k.xOrigin*n+k.yOrigin*i)+k.xOffset,A+=k.yOrigin-(k.xOrigin*a+k.yOrigin*o)+k.yOffset),O-g&&(O="0"),A-g&&(A="0"),M-g&&(M=0)),b=k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix3d(":"matrix3d(",b+=(n-g?"0":n)+","+(a-g?"0":a)+","+(l-g?"0":l),b+=","+(h-g?"0":h)+","+(i-g?"0":i)+","+(o-g?"0":o),E||S||1!==I?(b+=","+(u-g?"0":u)+","+(p-g?"0":p)+","+(r-g?"0":r),b+=","+(s-g?"0":s)+","+(c-g?"0":c)+","+(f-g?"0":f)+","):b+=",0,0,0,0,1,0,",b+=O+","+A+","+M+","+(N?1+-M/N:1)+")",C[Mt]=b}};(l=Rt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,Tt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,o,s,l){if(r._lastParsedTransform===l)return o;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(g,t));var c,h,d,p,f,v,y,_,b,w=t._gsTransform,x=t.style,k=At.length,C=l,T={},E=Wt(t,n,!0,C.parseTransform),S=C.transform&&("function"==typeof C.transform?C.transform(g,m):C.transform);if(E.skewType=C.skewType||E.skewType||a.defaultSkewType,r._transform=E,"rotationZ"in C&&(C.rotation=C.rotationZ),S&&"string"==typeof S&&Mt)(h=q.style)[Mt]=S,h.display="block",h.position="absolute",-1!==S.indexOf("%")&&(h.width=tt(t,"width"),h.height=tt(t,"height")),B.body.appendChild(q),c=Wt(q,null,!1),"simple"===E.skewType&&(c.scaleY*=Math.cos(c.skewX*D)),E.svg&&(v=E.xOrigin,y=E.yOrigin,c.x-=E.xOffset,c.y-=E.yOffset,(C.transformOrigin||C.svgOrigin)&&(S={},qt(t,lt(C.transformOrigin),S,C.svgOrigin,C.smoothOrigin,!0),v=S.xOrigin,y=S.yOrigin,c.x-=S.xOffset-E.xOffset,c.y-=S.yOffset-E.yOffset),(v||y)&&(_=Ht(q,!0),c.x-=v-(v*_[0]+y*_[2]),c.y-=y-(v*_[1]+y*_[3]))),B.body.removeChild(q),c.perspective||(c.perspective=E.perspective),null!=C.xPercent&&(c.xPercent=ct(C.xPercent,E.xPercent)),null!=C.yPercent&&(c.yPercent=ct(C.yPercent,E.yPercent));else if("object"==typeof C){if(c={scaleX:ct(null!=C.scaleX?C.scaleX:C.scale,E.scaleX),scaleY:ct(null!=C.scaleY?C.scaleY:C.scale,E.scaleY),scaleZ:ct(C.scaleZ,E.scaleZ),x:ct(C.x,E.x),y:ct(C.y,E.y),z:ct(C.z,E.z),xPercent:ct(C.xPercent,E.xPercent),yPercent:ct(C.yPercent,E.yPercent),perspective:ct(C.transformPerspective,E.perspective)},null!=(f=C.directionalRotation))if("object"==typeof f)for(h in f)C[h]=f[h];else C.rotation=f;"string"==typeof C.x&&-1!==C.x.indexOf("%")&&(c.x=0,c.xPercent=ct(C.x,E.xPercent)),"string"==typeof C.y&&-1!==C.y.indexOf("%")&&(c.y=0,c.yPercent=ct(C.y,E.yPercent)),c.rotation=ht("rotation"in C?C.rotation:"shortRotation"in C?C.shortRotation+"_short":E.rotation,E.rotation,"rotation",T),Dt&&(c.rotationX=ht("rotationX"in C?C.rotationX:"shortRotationX"in C?C.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",T),c.rotationY=ht("rotationY"in C?C.rotationY:"shortRotationY"in C?C.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",T)),c.skewX=ht(C.skewX,E.skewX),c.skewY=ht(C.skewY,E.skewY)}for(Dt&&null!=C.force3D&&(E.force3D=C.force3D,p=!0),(d=E.force3D||E.z||E.rotationX||E.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==C.scale||(c.scaleZ=1);--k>-1;)((S=c[b=At[k]]-E[b])>1e-6||S<-1e-6||null!=C[b]||null!=j[b])&&(p=!0,o=new bt(E,b,E[b],S,o),b in T&&(o.e=T[b]),o.xs0=0,o.plugin=s,r._overwriteProps.push(o.n));return S="function"==typeof C.transformOrigin?C.transformOrigin(g,m):C.transformOrigin,E.svg&&(S||C.svgOrigin)&&(v=E.xOffset,y=E.yOffset,qt(t,lt(S),c,C.svgOrigin,C.smoothOrigin),o=wt(E,"xOrigin",(w?E:c).xOrigin,c.xOrigin,o,"transformOrigin"),o=wt(E,"yOrigin",(w?E:c).yOrigin,c.yOrigin,o,"transformOrigin"),v===E.xOffset&&y===E.yOffset||(o=wt(E,"xOffset",w?v:E.xOffset,E.xOffset,o,"transformOrigin"),o=wt(E,"yOffset",w?y:E.yOffset,E.yOffset,o,"transformOrigin")),S="0px 0px"),(S||Dt&&d&&E.zOrigin)&&(Mt?(p=!0,b=Nt,S||(S=(S=(tt(t,b,n,!1,"50% 50%")+"").split(" "))[0]+" "+S[1]+" "+E.zOrigin+"px"),S+="",(o=new bt(x,b,0,0,o,-1,"transformOrigin")).b=x[b],o.plugin=s,Dt?(h=E.zOrigin,S=S.split(" "),E.zOrigin=(S.length>2?parseFloat(S[2]):h)||0,o.xs0=o.e=S[0]+" "+(S[1]||"50%")+" 0px",(o=new bt(E,"zOrigin",0,0,o,-1,o.n)).b=h,o.xs0=o.e=E.zOrigin):o.xs0=o.e=S):lt(S+"",E)),p&&(r._transformType=E.svg&&St||!d&&3!==this._transformType?2:3),u&&(l.scale=u),o},allowFunc:!0,prefix:!0}),Tt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Tt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),Tt("borderRadius",{defaultValue:"0px",parser:function(t,i,r,a,o,s){i=this.format(i);var l,u,c,h,d,p,f,m,g,v,y,_,b,w,x,k,C=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(g=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u-1;)(c=-1!==(g=s[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-$.width:t.offsetHeight-$.height,s[u]=c?parseFloat(g)/100*h+"px":parseFloat(g)/h*100+"%");g=s.join(" ")}return this.parseComplex(t.style,g,v,a,o)},formatter:lt}),Tt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:lt(-1===t.indexOf(" ")?t+" "+t:t)}}),Tt("perspective",{defaultValue:"0px",prefix:!0}),Tt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Tt("transformStyle",{prefix:!0}),Tt("backfaceVisibility",{prefix:!0}),Tt("userSelect",{prefix:!0}),Tt("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Tt("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Tt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,a,o){var s,l,u;return f<9?(l=t.currentStyle,u=f<8?" ":",",s="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(s=this.format(tt(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,s,e,a,o)}}),Tt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Tt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),Tt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,a,o){var s=tt(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(x,"");return"px"!==u&&(s=parseFloat(s)/et(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(s+" "+tt(t,"borderTopStyle",n,!1,"solid")+" "+tt(t,"borderTopColor",n,!1,"#000")),l.join(" "),a,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Tt("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Tt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,a){var o=t.style,s="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,s,0,0,r,-1,n,!1,0,o[s],e)}});var Xt=function(t){var e,n=this.t,i=n.filter||tt(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!tt(this.data,"filter")):(n.filter=i.replace(T,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(k,"opacity="+r))};Tt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,a,o){var s=parseFloat(tt(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),u&&1===s&&"hidden"===tt(t,"visibility",n)&&0!==e&&(s=0),H?a=new bt(l,"opacity",s,e-s,a):((a=new bt(l,"opacity",100*s,100*(e-s),a)).xn1=u?1:0,l.zoom=1,a.type=2,a.b="alpha(opacity="+a.s+")",a.e="alpha(opacity="+(a.s+a.c)+")",a.data=t,a.plugin=o,a.setRatio=Xt),u&&((a=new bt(l,"visibility",0,0,a,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(a.n),r._overwriteProps.push(i)),a}});var Jt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},Kt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:Jt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Tt("className",{parser:function(e,i,r,a,o,s,l){var u,c,h,d,p,f=e.getAttribute("class")||"",m=e.style.cssText;if((o=a._classNamePT=new bt(e,r,0,0,o,2)).setRatio=Kt,o.pr=-11,t=!0,o.b=f,c=it(e,n),h=e._gsClassPT){for(d={},p=h.data;p;)d[p.p]=1,p=p._next;h.setRatio(1)}return e._gsClassPT=o,o.e="="!==i.charAt(1)?i:f.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",o.e),u=rt(e,c,it(e),l,d),e.setAttribute("class",f),o.data=u.firstMPT,e.style.cssText!==m&&(e.style.cssText=m),o=o.xfirst=a.parse(e,u.difs,o,s)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,a,o=this.t.style,l=s.transform.parse;if("all"===this.e)o.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],s[n]&&(s[n].parse===l?r=!0:n="transformOrigin"===n?Nt:s[n].p),Jt(o,n);r&&(Jt(o,Mt),(a=this.t._gsTransform)&&(a.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Tt("clearProps",{parser:function(e,n,i,r,a){return(a=new bt(e,i,0,0,a,2)).setRatio=Qt,a.e=n,a.pr=-10,a.data=r._tween,t=!0,a}}),l="bezier,throwProps,physicsProps,physics2D".split(","),kt=l.length;kt--;)Et(l[kt]);(l=a.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,o,l,d){if(!i.nodeType)return!1;this._target=m=i,this._tween=l,this._vars=o,g=d,u=o.autoRound,t=!1,e=o.suffixMap||a.suffixMap,n=Q(i),r=this._overwriteProps;var f,v,y,_,b,w,x,k,T,E=i.style;if(c&&""===E.zIndex&&("auto"!==(f=tt(i,"zIndex",n))&&""!==f||this._addLazySet(E,"zIndex",0)),"string"==typeof o&&(_=E.cssText,f=it(i,n),E.cssText=_+";"+o,f=rt(i,f,it(i)).difs,!H&&C.test(o)&&(f.opacity=parseFloat(RegExp.$1)),o=f,E.cssText=_),o.className?this._firstPT=v=s.className.parse(i,o.className,"className",this,null,null,o):this._firstPT=v=this.parse(i,o,null),this._transformType){for(T=3===this._transformType,Mt?h&&(c=!0,""===E.zIndex&&("auto"!==(x=tt(i,"zIndex",n))&&""!==x||this._addLazySet(E,"zIndex",0)),p&&this._addLazySet(E,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(T?"visible":"hidden"))):E.zoom=1,y=v;y&&y._next;)y=y._next;k=new bt(i,"transform",0,0,null,2),this._linkCSSP(k,null,y),k.setRatio=Mt?Zt:Yt,k.data=this._transform||Wt(i,n,!0),k.tween=l,k.pr=-1,r.pop()}if(t){for(;v;){for(w=v._next,y=_;y&&y.pr>v.pr;)y=y._next;(v._prev=y?y._prev:b)?v._prev._next=v:_=v,(v._next=y)?y._prev=v:b=v,v=w}this._firstPT=_}return!0},l.parse=function(t,i,r,a){var o,l,c,h,d,p,f,v,y,_,b=t.style;for(o in i){if(p=i[o],l=s[o],"function"!=typeof p||l&&l.allowFunc||(p=p(g,m)),l)r=l.parse(t,p,o,this,r,a,i);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}d=tt(t,o,n)+"",y="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||y&&E.test(p)?(y||(p=((p=ft(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=xt(b,o,d,p,!0,"transparent",r,0,a)):y&&N.test(p)?r=xt(b,o,d,p,!0,null,r,0,a):(f=(c=parseFloat(d))||0===c?d.substr((c+"").length):"",""!==d&&"auto"!==d||("width"===o||"height"===o?(c=st(t,o,n),f="px"):"left"===o||"top"===o?(c=nt(t,o,n),f="px"):(c="opacity"!==o?0:1,f="")),(_=y&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),v=p.replace(x,"")):(h=parseFloat(p),v=y?p.replace(x,""):""),""===v&&(v=o in e?e[o]:f),p=h||0===h?(_?h+c:h)+v:i[o],f!==v&&(""===v&&"lineHeight"!==o||(h||0===h)&&c&&(c=et(t,o,c,f),"%"===v?(c/=et(t,o,100,"%")/100,!0!==i.strictUnits&&(d=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=et(t,o,1,v):"px"!==v&&(h=et(t,o,h,v),v="px"),_&&(h||0===h)&&(p=h+c+v))),_&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==b[o]&&(p||p+""!="NaN"&&null!=p)?(r=new bt(b,o,h||c||0,0,r,-1,o,!1,0,d,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:d:Y(i[o]):(r=new bt(b,o,c,h-c,r,0,o,!1!==u&&("px"===v||"zIndex"===o),0,d,p)).xs0=v)}a&&r&&!r.plugin&&(r.plugin=a)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i-1;)ee(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)o=(a=i[r]).type,a.style&&(e.push(it(a)),n&&n.push(a)),1!==o&&9!==o&&11!==o||!a.childNodes.length||ee(a,e,n)};return a.cascadeTo=function(t,e,n){var r,a,o,s,l=i.f.to(t,e,n),u=[l],c=[],h=[],d=[],p=i.f._internals.reservedProps;for(t=l._targets||l.target,ee(t,c,d),l.render(e,!0,!0),ee(t,h),l.render(0,!0,!0),l._enabled(!0),r=d.length;--r>-1;)if((a=rt(d[r],c[r],h[r])).firstMPT){for(o in a=a.difs,n)p[o]&&(a[o]=n[o]);for(o in s={},a)s[o]=c[r][o];u.push(i.f.fromTo(d[r],e,s,a))}return u},i.d.activate([a]),a}),!0);var a=i.g.CSSPlugin,o=i.e._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,a;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(a=e[r])&&(a=a(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",a+"",r,!1,r),this._overwriteProps.push(r);return!0}}),s=i.e._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),l=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},c=s.prototype;c._onInitAllProps=function(){var t,e,n,i,r=this._tween,a=r.vars.roundProps,o={},s=r._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),n=a.length;--n>-1;)o[a[n]]=Math.round;else for(i in a)o[i]=l(a[i]);for(i in o)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(o):t.n===i&&(2===t.f&&t.t?u(t.t._firstPT,o[i]):(this._add(t.t,i,t.s,t.c,o[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=s)),t=e;return!1},c._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)};var h=i.e._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,a,o,s,l,u,c=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(s=e[r])&&(s=s(i,t)),a=(u=(s+"").split("_"))[0],o=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(s=this.finals[r]="string"==typeof a&&"="===a.charAt(1)?o+parseInt(a.charAt(0)+"1",10)*Number(a.substr(2)):Number(a)||0)-o,u.length&&(-1!==(a=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==a.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==a.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,o,o+l,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});h._autoCSS=!0,i.e._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){i.c.call(this,t);var e,n,r=this.vars;for(n in this._labels={},this.autoRemoveChildren=!!r.autoRemoveChildren,this.smoothChildTiming=!!r.smoothChildTiming,this._sortChildren=!0,this._onUpdate=r.onUpdate,r)e=r[n],a(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));a(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=i.f._internals,n=t._internals={},r=e.isSelector,a=e.isArray,o=e.lazyTweens,s=e.lazyRender,l=i.e._gsDefine.globals,u=function(t){var e,n={};for(e in t)n[e]=t[e];return n},c=function(t,e,n){var i,r,a=t.cycle;for(i in a)r=a[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},h=n.pauseCallback=function(){},d=function(t,e,n,i){var r="immediateRender";return r in e||(e[r]=!(n&&!1===n[r]||i)),e},p=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,a={},o=isNaN(i),s=e.axis,l={center:.5,end:1}[i]||0;return function(t,u,c){var h,d,p,f,m,g,v,y,_,b=(c||e).length,w=a[b];if(!w){if(!(_="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=c[_++].getBoundingClientRect().left)&&_v&&(v=m),mb?b-1:s?"y"===s?b/_:_:Math.max(_,b/_))||0,w.b=b<0?r-b:r}return b=(w[t]-w.min)/w.max,w.b+(n?n.getRatio(b):b)*w.v}},f=t.prototype=new i.c;return t.version="2.1.3",t.distribute=p,f.constructor=t,f.kill()._gc=f._forcingPlayhead=f._hasPause=!1,f.to=function(t,e,n,r){var a=n.repeat&&l.TweenMax||i.f;return e?this.add(new a(t,e,n),r):this.set(t,n,r)},f.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i.f).from(t,e,d(0,n)),r)},f.fromTo=function(t,e,n,r,a){var o=r.repeat&&l.TweenMax||i.f;return r=d(0,r,n),e?this.add(o.fromTo(t,e,n,r),a):this.set(t,r,a)},f.staggerTo=function(e,n,a,o,s,l,h,d){var f,m,g=new t({onComplete:l,onCompleteParams:h,callbackScope:d,smoothChildTiming:this.smoothChildTiming}),v=p(a.stagger||o),y=a.startAt,_=a.cycle;for("string"==typeof e&&(e=i.f.selector(e)||e),r(e=e||[])&&(e=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n}(e)),m=0;m1e-5)&&e.render(s,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duratione._startTime;h._timeline;)d&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},f.remove=function(t){if(t instanceof i.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.a._rootFramesTimeline:i.a._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&a(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},f._remove=function(t,e){return i.c.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},f.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},f.insert=f.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},f.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},f.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},f.addPause=function(t,e,n,r){var a=i.f.delayedCall(0,h,n,r||this);return a.vars.onComplete=a.vars.onReverseComplete=e,a.data="isPause",this._hasPause=!0,this.add(a,t)},f.removeLabel=function(t){return delete this._labels[t],this},f.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},f._parseTimeOrLabel=function(t,e,n,r){var o,s;if(r instanceof i.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&a(r)))for(s=r.length;--s>-1;)r[s]instanceof i.a&&r[s].timeline===this&&this.remove(r[s]);if(o="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-o:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=o+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,n):o}return Number(t)+e},f.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},f.stop=function(){return this.paused(!0)},f.gotoAndPlay=function(t,e){return this.play(t,e)},f.gotoAndStop=function(t,e){return this.pause(t,e)},f.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,r,a,l,u,c,h,d,p=this._time,f=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,g=this._timeScale,v=this._paused;if(p!==this._time&&(t+=this._time-p),this._hasPause&&!this._forcingPlayhead&&!e){if(t>p)for(i=this._first;i&&i._startTime<=t&&!c;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(c=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!c;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(c=i),i=i._prev;c&&(this._time=this._totalTime=t=c._startTime,d=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=f-1e-8&&t>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(u=!0,this._rawPrevTime>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=f+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==p||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&r)for(i=this._first;i&&0===i._startTime;)i._duration||(r=!1),i=i._next;t=0,this._initted||(u=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==p&&this._first||n||u||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(h=this._time)>=p)for(i=this._first;i&&(a=i._next,h===this._time&&(!this._paused||v));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(c===i&&(this.pause(),this._pauseTime=d),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=a;else for(i=this._last;i&&(a=i._prev,h===this._time&&(!this._paused||v));){if(i._active||i._startTime<=p&&!i._paused&&!i._gc){if(c===i){for(c=i._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,this.pause(),this._pauseTime=d}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=a}this._onUpdate&&(e||(o.length&&s(),this._callback("onUpdate"))),l&&(this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||f>=this.totalDuration())&&(r&&(o.length&&s(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},f._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},f.getChildren=function(t,e,n,r){r=r||-9999999999;for(var a=[],o=this._first,s=0;o;)o._startTime-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(o[s++]=n[r]);return a&&this._enabled(!1,!0),o},f.recent=function(){return this._recent},f._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},f.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,a=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in a)a[i]>=n&&(a[i]+=t);return this._uncache(!0)},f._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},f.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},f.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.a.prototype.invalidate.call(this)},f._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.c.prototype._enabled.call(this,t,e)},f.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},f.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},f.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this,a=r._last,o=999999999999;a;)e=a._prev,a._dirty&&a.totalDuration(),a._startTime>o&&r._sortChildren&&!a._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(a,a._startTime-a._delay),r._calculatingDuration=0):o=a._startTime,a._startTime<0&&!a._paused&&(i-=a._startTime,r._timeline.smoothChildTiming&&(r._startTime+=a._startTime/r._timeScale,r._time-=a._startTime,r._totalTime-=a._startTime,r._rawPrevTime-=a._startTime),r.shiftChildren(-a._startTime,!1,-9999999999),o=0),(n=a._startTime+a._totalDuration/a._timeScale)>i&&(i=n),a=e;r._duration=r._totalDuration=i,r._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},f.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.a.prototype.paused.apply(this,arguments)},f.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.a._rootFramesTimeline},f.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var d=i.g.TimelineLite;i.e._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){d.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=i.f._internals,n=e.lazyTweens,r=e.lazyRender,a=i.e._gsDefine.globals,o=new i.b(null,null,1,0),s=t.prototype=new d;return s.constructor=t,s.kill()._gc=!1,t.version="2.1.3",s.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),d.prototype.invalidate.call(this)},s.addCallback=function(t,e,n,r){return this.add(i.f.delayedCall(0,t,n,r),e)},s.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},s.removePause=function(t){return this.removeCallback(d._internals.pauseCallback,t)},s.tweenTo=function(t,e){e=e||{};var n,r,s,l={ease:o,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&a.TweenMax||i.f;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),n=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,s=new u(this,n,l),l.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||n!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||s,e.onStartParams||[])},s},s.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},s.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var a,o,s,l,u,c,h,d,p,f=this._time,m=this._dirty?this.totalDuration():this._totalDuration,g=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,b=this._rawPrevTime,w=this._paused,x=this._cycle;if(f!==this._time&&(t+=this._time-f),t>=m-1e-8&&t>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||b<0||1e-8===b)&&b!==t&&this._first&&(u=!0,b>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=g,t=g+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==f||0===g&&1e-8!==b&&(b>0||t<0&&b>=0)&&!this._locked)&&(l="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=o=!0,l="onReverseComplete"):b>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=g||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&o)for(a=this._first;a&&0===a._startTime;)a._duration||(o=!1),a=a._next;t=0,this._initted||(u=!0)}else 0===g&&b<0&&(u=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=g+this._repeatDelay,this._cycle=this._totalTime/c>>0,this._cycle&&this._cycle===this._totalTime/c&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&1&this._cycle&&(this._time=g-this._time),this._time>g?(this._time=g,t=g+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>f||this._repeat&&x!==this._cycle)for(a=this._first;a&&a._startTime<=t&&!h;)a._duration||"isPause"!==a.data||a.ratio||0===a._startTime&&0===this._rawPrevTime||(h=a),a=a._next;else for(a=this._last;a&&a._startTime>=t&&!h;)a._duration||"isPause"===a.data&&a._rawPrevTime>0&&(h=a),a=a._prev;h&&(p=this._startTime+(this._reversed?this._duration-h._startTime:h._startTime)/this._timeScale,h._startTime0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(d=this._time)>=f)for(a=this._first;a&&(s=a._next,d===this._time&&(!this._paused||w));)(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)&&(h===a&&(this.pause(),this._pauseTime=p),a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(t-a._startTime)*a._timeScale,e,i):a.render((t-a._startTime)*a._timeScale,e,i)),a=s;else for(a=this._last;a&&(s=a._prev,d===this._time&&(!this._paused||w));){if(a._active||a._startTime<=f&&!a._paused&&!a._gc){if(h===a){for(h=a._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause(),this._pauseTime=p}a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(t-a._startTime)*a._timeScale,e,i):a.render((t-a._startTime)*a._timeScale,e,i)}a=s}this._onUpdate&&(e||(n.length&&r(),this._callback("onUpdate"))),l&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||m>=this.totalDuration())&&(o&&(n.length&&r(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},s.getActive=function(t,e,n){var i,r,a=[],o=this.getChildren(t||null==t,e||null==t,!!n),s=0,l=o.length;for(i=0;it)return n[e].name;return null},s.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].timen&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},s.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},s.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},s.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t}),!0);var p=i.g.TimelineMax,f=180/Math.PI,m=[],g=[],v=[],y={},_=i.e._gsDefine.globals,b=function(t,e,n,i){n===i&&(n=i-(i-e)/1e6),t===e&&(e=t+(n-t)/1e6),this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t},w=function(t,e,n,i){var r={a:t},a={},o={},s={c:i},l=(t+e)/2,u=(e+n)/2,c=(n+i)/2,h=(l+u)/2,d=(u+c)/2,p=(d-h)/8;return r.b=l+(t-l)/4,a.b=h+p,r.c=a.a=(r.b+a.b)/2,a.c=o.a=(h+d)/2,o.b=d-p,s.b=c+(i-c)/4,o.c=s.a=(o.b+s.b)/2,[r,a,o,s]},x=function(t,e,n,i,r){var a,o,s,l,u,c,h,d,p,f,y,_,b,x=t.length-1,k=0,C=t[0].a;for(a=0;a-1;)"string"==typeof(u=t[a][e])&&"="===u.charAt(1)&&(t[a][e]=i[e]+Number(u.charAt(0)+u.substr(2)));if((r=t.length-2)<0)return c[0]=new b(t[0][e],0,0,t[0][e]),c;for(a=0;a1){for(p=t[t.length-1],d=!0,o=_.length;--o>-1;)if(s=_[o],Math.abs(b[s]-p[s])>.05){d=!1;break}d&&(t=t.concat(),a&&t.unshift(a),t.push(t[1]),a=t[t.length-3])}for(m.length=g.length=v.length=0,o=_.length;--o>-1;)s=_[o],y[s]=-1!==r.indexOf(","+s+","),f[s]=k(t,s,y[s],a);for(o=m.length;--o>-1;)m[o]=Math.sqrt(m[o]),g[o]=Math.sqrt(g[o]);if(!i){for(o=_.length;--o>-1;)if(y[s])for(h=(l=f[_[o]]).length-1,u=0;u-1;)v[o]=Math.sqrt(v[o])}for(o=_.length,u=n?4:1;--o>-1;)l=f[s=_[o]],x(l,e,n,i,y[s]),d&&(l.splice(0,u),l.splice(l.length-u,u));return f},T=function(t,e,n){for(var i,r,a,o,s,l,u,c,h,d,p,f=1/n,m=t.length;--m>-1;)for(a=(d=t[m]).a,o=d.d-a,s=d.c-a,l=d.b-a,i=r=0,c=1;c<=n;c++)i=r-(r=((u=f*c)*u*o+3*(h=1-u)*(u*s+h*l))*u),e[p=m*n+c-1]=(e[p]||0)+i*i},E=i.e._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,n){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,r,a,o,s,l=e.values||[],u={},c=l[0],h=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,c)this._props.push(i);for(a=this._props.length;--a>-1;)i=this._props[a],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],u[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),s||u[i]!==l[0][i]&&(s=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?C(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,s):function(t,e,n){var i,r,a,o,s,l,u,c,h,d,p,f={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&n&&(t=[n].concat(t)),null==t||t.length-1;){for(f[h=v[l]]=s=[],d=0,c=t.length,u=0;u1&&u>0||6)-1,h=[],d=[];for(n in t)T(t[n],o,e);for(r=o.length,i=0;i>0]=d,s[a]=u,l=0,d=[]);return{length:u,lengths:s,segments:h}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),a=h.length;--a>-1;){for(o=0;o<3;o++)i=h[a][o],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[a][2],this._initialRotations[a]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,r,a,o,s,l,u,c,h,d=this._segCount,p=this._func,m=this._target,g=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,c=this._curSeg,h=t*this._length,i=this._li,h>this._l2&&i0){for(;i>0&&(this._l1=u[--i])>=h;);0===i&&hthis._s2&&i0){for(;i>0&&(this._s1=c[--i])>=h;);0===i&&h=1?d-1:d*t>>0)*(1/d))*d;for(n=1-o,i=this._props.length;--i>-1;)r=this._props[i],s=(o*o*(a=this._beziers[r][e]).da+3*n*(o*a.ca+n*a.ba))*o+a.a,this._mod[r]&&(s=this._mod[r](s,m)),p[r]?m[r](s):m[r]=s;if(this._autoRotate){var v,y,_,b,w,x,k,C=this._autoRotate;for(i=C.length;--i>-1;)r=C[i][2],x=C[i][3]||0,k=!0===C[i][4]?1:f,a=this._beziers[C[i][0]],v=this._beziers[C[i][1]],a&&v&&(a=a[e],v=v[e],y=a.a+(a.b-a.a)*o,y+=((b=a.b+(a.c-a.b)*o)-y)*o,b+=(a.c+(a.d-a.c)*o-b)*o,_=v.a+(v.b-v.a)*o,_+=((w=v.b+(v.c-v.b)*o)-_)*o,w+=(v.c+(v.d-v.c)*o-w)*o,s=g?Math.atan2(w-_,b-y)*k+x:this._initialRotations[i],this._mod[r]&&(s=this._mod[r](s,m)),p[r]?m[r](s):m[r]=s)}}}),S=E.prototype;E.bezierThrough=C,E.cubicToQuadratic=w,E._autoCSS=!0,E.quadraticToCubic=function(t,e,n){return new b(t,(2*e+t)/3,(2*e+n)/3,n)},E._cssRegister=function(){var t=_.CSSPlugin;if(t){var e=t._internals,n=e._parseToProxy,i=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,a,o,s,l){e instanceof Array&&(e={values:e}),l=new E;var u,c,h,d=e.values,p=d.length-1,f=[],m={};if(p<0)return s;for(u=0;u<=p;u++)h=n(t,d[u],o,s,l,p!==u),f[u]=h.end;for(c in e)m[c]=e[c];return m.values=f,(s=new r(t,"bezier",0,0,h.pt,2)).data=h,s.plugin=l,s.setRatio=i,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(h.proxy,m,o._tween),s}})}},S._mod=function(t){for(var e,n=this._overwriteProps,i=n.length;--i>-1;)(e=t[n[i]])&&"function"==typeof e&&(this._mod[n[i]]=e)},S._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;--n>-1;)i[n]===e&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)t[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,t)},i.e._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,n,r,a=i.e.GreenSockGlobals||i.e,o=a.com.greensock,s=2*Math.PI,l=Math.PI/2,u=o._class,c=function(t,e){var n=u("easing."+t,(function(){}),!0),r=n.prototype=new i.b;return r.constructor=n,r.getRatio=e,n},h=i.b.register||function(){},d=function(t,e,n,i,r){var a=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return h(a,t),a},p=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},f=function(t,e){var n=u("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),r=n.prototype=new i.b;return r.constructor=n,r.getRatio=e,r.config=function(t){return new n(t)},n},m=d("Back",f("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),f("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),f("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),g=u("easing.SlowMo",(function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n}),!0),v=g.prototype=new i.b;return v.constructor=g,v.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},g.ease=new g(.7,.7),v.config=g.config=function(t,e,n){return new g(t,e,n)},(v=(t=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new i.b).constructor=t,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},(v=(e=u("easing.ExpoScaleEase",(function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n}),!0)).prototype=new i.b).constructor=e,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,n,i){return new e(t,n,i)},(v=(n=u("easing.RoughEase",(function(t){for(var e,n,r,a,o,s,l=(t=t||{}).taper||"none",u=[],c=0,h=0|(t.points||20),d=h,f=!1!==t.randomize,m=!0===t.clamp,g=t.template instanceof i.b?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--d>-1;)e=f?Math.random():1/h*d,n=g?g.getRatio(e):e,r="none"===l?v:"out"===l?(a=1-e)*a*v:"in"===l?e*e*v:e<.5?(a=2*e)*a*.5*v:(a=2*(1-e))*a*.5*v,f?n+=Math.random()*r-.5*r:d%2?n+=.5*r:n-=.5*r,m&&(n>1?n=1:n<0&&(n=0)),u[c++]={x:e,y:n};for(u.sort((function(t,e){return t.x-e.x})),s=new p(1,1,null),d=h;--d>-1;)o=u[d],s=new p(o.x,o.y,s);this._prev=new p(0,0,0!==s.t?s:s.next)}),!0)).prototype=new i.b).constructor=n,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new n(t)},n.ease=new n,d("Bounce",c("BounceOut",(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),c("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),c("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),d("Circ",c("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),c("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),c("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),d("Elastic",(r=function(t,e,n){var r=u("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2}),!0),a=r.prototype=new i.b;return a.constructor=r,a.getRatio=e,a.config=function(t,e){return new r(t,e)},r})("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),d("Expo",c("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),c("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),c("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),d("Sine",c("SineOut",(function(t){return Math.sin(t*l)})),c("SineIn",(function(t){return 1-Math.cos(t*l)})),c("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(t){return i.b.map[t]}},!0),h(a.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),m}),!0);var P=i.g.Back,L=i.g.Elastic,I=i.g.Bounce,O=i.g.RoughEase,A=i.g.SlowMo,M=i.g.SteppedEase,z=i.g.Circ,N=i.g.Expo,D=i.g.Sine,R=i.g.ExpoScaleEase;r._autoActivated=[d,p,a,o,E,s,h,P,L,I,O,A,M,z,N,D,R]},z12Y:function(t,e,n){"use strict";var i=n("Xerb");n.n(i).a},z1Hx:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.section-faq[data-v-15fcfe1f] {\n background-color: #111827;\n min-height: 100%;\n padding-bottom: 100px;\n}\n.section-faq .hero-body[data-v-15fcfe1f] {\n margin: 0 auto;\n}\n.section-faq .faq[data-v-15fcfe1f] {\n max-width: 1000px;\n}\n.section-faq .faq a[data-v-15fcfe1f] {\n color: whitesmoke;\n text-decoration: underline;\n}\n.section-faq .faq a[data-v-15fcfe1f]:hover {\n color: #EE6C4D;\n}\n.section-faq .faq .transition[data-v-15fcfe1f], .section-faq .faq ul li i[data-v-15fcfe1f]:before, .section-faq .faq ul li i[data-v-15fcfe1f]:after, .section-faq .faq p[data-v-15fcfe1f] {\n transition: all 0.25s ease-in-out;\n}\n.section-faq .faq .flipIn[data-v-15fcfe1f], .section-faq .faq ul li[data-v-15fcfe1f], .section-faq .faq h1[data-v-15fcfe1f] {\n -webkit-animation: flipdown-data-v-15fcfe1f 0.5s ease both;\n animation: flipdown-data-v-15fcfe1f 0.5s ease both;\n}\n.section-faq .faq .no-select[data-v-15fcfe1f], .section-faq .faq h2[data-v-15fcfe1f] {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.section-faq .faq h2[data-v-15fcfe1f] {\n color: #ff6873;\n}\n.section-faq .faq h2[data-v-15fcfe1f] {\n font-size: 26px;\n line-height: 34px;\n font-weight: 300;\n letter-spacing: 1px;\n display: block;\n margin: 0 0 14px;\n cursor: pointer;\n}\n.section-faq .faq p[data-v-15fcfe1f] {\n color: whitesmoke;\n position: relative;\n overflow: hidden;\n max-height: 800px;\n opacity: 1;\n transform: translate(0, 0);\n z-index: 2;\n}\n.section-faq .faq ul[data-v-15fcfe1f] {\n list-style: none;\n perspective: 900;\n padding: 0;\n margin: 0;\n}\n.section-faq .faq ul li[data-v-15fcfe1f] {\n position: relative;\n margin: 0;\n padding: 16px 0;\n border-top: 1px solid #dce7eb;\n}\n.section-faq .faq ul li[data-v-15fcfe1f] {\n -webkit-animation-delay: 0.3s;\n animation-delay: 0.3s;\n}\n.section-faq .faq ul li[data-v-15fcfe1f]:last-of-type {\n padding-bottom: 0;\n}\n.section-faq .faq ul li i[data-v-15fcfe1f] {\n position: absolute;\n transform: translate(-6px, 0);\n margin-top: 16px;\n right: 0;\n}\n.section-faq .faq ul li i[data-v-15fcfe1f]:before, .section-faq .faq ul li i[data-v-15fcfe1f]:after {\n content: "";\n position: absolute;\n background-color: #ff6873;\n width: 3px;\n height: 9px;\n}\n.section-faq .faq ul li i[data-v-15fcfe1f]:before {\n transform: translate(-2px, 0) rotate(45deg);\n}\n.section-faq .faq ul li i[data-v-15fcfe1f]:after {\n transform: translate(2px, 0) rotate(-45deg);\n}\n.section-faq .faq ul li input[type=checkbox][data-v-15fcfe1f] {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n z-index: 1;\n opacity: 0;\n}\n.section-faq .faq ul li input[type=checkbox]:checked ~ p[data-v-15fcfe1f] {\n margin-top: 0;\n max-height: 0;\n opacity: 0;\n transform: translate(0, 50%);\n}\n.section-faq .faq ul li input[type=checkbox]:checked ~ i[data-v-15fcfe1f]:before {\n transform: translate(2px, 0) rotate(45deg);\n}\n.section-faq .faq ul li input[type=checkbox]:checked ~ i[data-v-15fcfe1f]:after {\n transform: translate(-2px, 0) rotate(-45deg);\n}\n@-webkit-keyframes flipdown-data-v-15fcfe1f {\n0% {\n opacity: 0;\n transform-origin: top center;\n transform: rotateX(-90deg);\n}\n5% {\n opacity: 1;\n}\n80% {\n transform: rotateX(8deg);\n}\n83% {\n transform: rotateX(6deg);\n}\n92% {\n transform: rotateX(-3deg);\n}\n100% {\n transform-origin: top center;\n transform: rotateX(0deg);\n}\n}\n@keyframes flipdown-data-v-15fcfe1f {\n0% {\n opacity: 0;\n transform-origin: top center;\n transform: rotateX(-90deg);\n}\n5% {\n opacity: 1;\n}\n80% {\n transform: rotateX(8deg);\n}\n83% {\n transform: rotateX(6deg);\n}\n92% {\n transform: rotateX(-3deg);\n}\n100% {\n transform-origin: top center;\n transform: rotateX(0deg);\n}\n}',""])},zBhI:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".global-leaders[data-v-84a58308] {\n max-width: 800px;\n margin: 0 auto;\n padding: 0 1em;\n}\n.global-leaders .social-container[data-v-84a58308] {\n display: none;\n transition: opacity 0.3s;\n flex-direction: row;\n gap: 0.3rem;\n justify-content: flex-end;\n flex-wrap: wrap;\n min-width: 140px;\n color: #3273dc;\n}\n.global-leaders .social-container a[data-v-84a58308] {\n width: 20px;\n}\n.global-leaders .social-container a[data-v-84a58308]:hover {\n transform: scale(1.1);\n color: #3273dc;\n}\n.global-leaders .leader[data-v-84a58308] {\n position: relative;\n background-color: white;\n border-radius: 4px;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n padding: 5px 4px;\n margin-bottom: 5px;\n color: #011638;\n display: flex;\n align-items: flex-start;\n font-size: 14px;\n transition: all 0.1s;\n}\n.global-leaders .leader[data-v-84a58308]:hover {\n transform: scale(1.05);\n}\n.global-leaders .leader .medal[data-v-84a58308] {\n position: absolute;\n top: -12px;\n left: -12px;\n width: 32px;\n z-index: 10;\n}\n.global-leaders .leader .rank[data-v-84a58308] {\n width: 48px;\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n}\n.global-leaders .leader .rank .flag[data-v-84a58308] {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 48px;\n}\n.global-leaders .leader .rank .flag img[data-v-84a58308] {\n border-radius: 50%;\n width: 32px;\n height: 32px;\n -o-object-fit: fill;\n object-fit: fill;\n}\n.global-leaders .leader .details[data-v-84a58308] {\n flex: 1;\n}\n.global-leaders .leader .details .name[data-v-84a58308] {\n font-weight: 500;\n}\n.global-leaders .leader .details .team[data-v-84a58308] {\n font-size: 12px;\n}\n.global-leaders .leader .details .social-container[data-v-84a58308] {\n display: flex;\n justify-content: flex-start;\n}\n.global-leaders .leader .xp[data-v-84a58308] {\n display: flex;\n flex-direction: column;\n padding-right: 4px;\n}\n.global-leaders .leader .xp .value[data-v-84a58308] {\n font-weight: 500;\n}\n.global-leaders .leader .xp .text[data-v-84a58308] {\n text-align: center;\n}\n@media screen and (min-width: 768px) {\n.global-leaders .social-container[data-v-84a58308] {\n display: flex;\n gap: 0.5rem;\n margin: auto 16px;\n}\n.global-leaders .social-container a[data-v-84a58308] {\n width: 24px;\n}\n.global-leaders .leader[data-v-84a58308] {\n border-radius: 8px;\n padding: 10px 8px;\n margin-bottom: 10px;\n font-size: 16px;\n align-items: center;\n}\n.global-leaders .leader .rank[data-v-84a58308] {\n flex-direction: row;\n gap: 0;\n width: 96px;\n}\n.global-leaders .leader .rank span[data-v-84a58308],\n.global-leaders .leader .rank .flag[data-v-84a58308] {\n width: 48px;\n}\n.global-leaders .leader .details .team[data-v-84a58308] {\n font-size: 14px;\n}\n.global-leaders .leader .details .social-container[data-v-84a58308] {\n display: none;\n}\n.global-leaders .leader .xp[data-v-84a58308] {\n padding-right: 0;\n width: 100px;\n flex-direction: row;\n justify-content: space-evenly;\n}\n}",""])},zH9V:function(t,e,n){"use strict";var i=n("uCbU");n.n(i).a},zLNj:function(t,e,n){var i=n("7kWm");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},zNTn:function(t){t.exports=JSON.parse('{"show-flag":"Pokaż flagę kraju","top-10":"Top 10 najlepszych globalnych liderów OpenLitterMap!","top-10-challenge":"Jeśli uda ci się znaleźć się w pierwszej dziesiątce, możesz reprezentować swój kraj!","action-select":"Wpisz lub przewiń, aby wybrać z listy","select-country":"Wybierz swój kraj","save-flag":"Zapisz flagę"}')},zSMp:function(t,e,n){"use strict";var i=n("zag5");n.n(i).a},zSOa:function(t){t.exports=JSON.parse('{"email-you":"Vous aimeriez que nous vous contactions de temps en temps par e-mail avec de bonnes nouvelles","subscribe":"Abonnez-vous","subscribed-success-msg":"Vous vous êtes abonnées à de bonnes nouvelles! Vous pouvez vous désabonner à tout moment","need-your-help":"Nous avons besoin d\'aide pour créer la base de données sur la pollution la plus avancée et accessible au monde","read":"LIRE","blog":"Blog","research-paper":"Document de Recherche","watch":"REGARDER","help":"AIDER","join-the-team":"Rejoindre l\'équipe","join-slack":"Rejoindre Slack","create-account":"Créer un Compte","fb-group":"Groupe Facebook","single-donation":"Don Unique","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap est un produit phare de GeoTech Innovations Ltd., une startup en Irlande, pionnière dans les services essentiels de la science citoyenne #650323","enter-email":"Entrez votre e-mail","references":"Références","credits":"Crédits","contact-us":"Contactez-Nous"}')},zag5:function(t,e,n){var i=n("bb/+");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},zzSn:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Adjon meg egy azonosítót a csapathoz való csatlakozáshoz.","team-identifier":"Csatlakozz a csapathoz azonosító alapján","enter-id-to-join-placeholder":"Adja meg az azonosítót a csapathoz való csatlakozáshoz","join-team":"Csatlakozz a csapathoz"}')}},[[0,1,2]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+0tX":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Dashboard","join-a-team":"Sluit je aan bij een Team","create-a-team":"Maak een Team aan","your-teams":"Jouw Teams","leaderboard":"Team Scoreboard","settings":"Instellingen","teams-dashboard":"Teams Dashboard","photos-uploaded":"Foto\'s ge-upload","litter-tagged":"Afval voorzien van kenmerken","members-uploaded":"Teamleden hebben geupload","all-teams":"Alle Teams","times":{"today":"Vandaag","week":"Deze week","month":"Deze maand","year":"Dit jaar","all":"Alle tijden","created_at":"Geupload op","datetime":"Genomen op"}}')},"+2jo":function(t){t.exports=JSON.parse('{"what-about-litter":"E o lixo?","about2":"No momento, trilhões de pontas de cigarro com ponta de plástico estão sugando produtos químicos tóxicos e microplásticos para o meio ambiente.","about3":"O resultado?","about4":"Grandes quantidades de nicotina e outros produtos químicos tóxicos são liberados.","about5":"Esses produtos químicos tóxicos se bioacumulam em várias plantas e animais. Alguns dos quais comemos.","about6":"Uma emergência ambiental está ao nosso alcance.","about7":"Você pode nos ajudar a corrigir isso contribuindo para o OpenLitterMap.","about8":"Basta tirar uma foto, colocar uma tag e carregá-la.","about9":"Eu quero ajudar!","about9a":"Basta tirar uma foto","about9b":"Colocar uma tag no lixo","about9c":"Fazer o upload","about10":"Todos os anos, milhões de toneladas de plástico trafegam da terra para o mar.","about11":"Onde se torna significativamente mais prejudicial, mais difícil e mais caro de remover.","about12":"A ilusão de \\"limpesa urbana\\"","about13":"é facilitado pelo projeto de infraestrutura.","about14":"Os dados OpenLitterMap são","about14a":"Dados Abertos","about14b":"Isso significa que qualquer pessoa pode baixar os dados gratuitamente e usá-los para qualquer finalidade, sem permissão.","about15":"Dados abertos são essenciais para trazer transparência, democracia e responsabilidade para a ciência sobre poluição. Caso contrário, quem terá permissão para usar os dados?","about16":"OpenLitterMap capacita você com as ferramentas para você se tornar um cidadão cientista.","about17":"Você agora está autorizado a contribuir para a produção de conhecimento geoespacial sobre o nosso mundo. Isso tem o potencial de transformar o comportamento público e institucional.","about17a":"Nossos dados são mapeados por Espaço, Tempo, Localização e Comportamento.","about17b":"Confira esta incrível extensão de Dados Livres e Abertos sobre a poluição causada pelos produtos de um punhado de corporações globais","about17c":"Quer baixar os dados?","about18":"A produção de conhecimento geoespacial já foi realizada exclusivamente por grandes instituições e pessoas de poder.","about19":"Como um cidadão cientista, ","about20":"você pode criar conhecimento. ","about21":"Esta é uma mudança de paradigma na forma como as informações geográficas conhecidas são criadas sobre o nosso mundo.","about22":"Como ajudar:","about23":"Junte-se hoje!","about24":"Ative a marcação geográfica em seu dispositivo. As instruções sobre como fazer isso são enviadas em um e-mail de boas-vindas quando você se inscreve.","about25":"Você pode mapear qualquer coisa, desde uma única bituca de cigarro até o conteúdo de uma praia inteira ou rua limpa em 1 foto.","about26":"Se houver lixo demais e for incalculável, simplesmente use a categoria Dumping e avalie a área de 1-100 ou escolha \\"Lixo Aleatório\\" em \\"Outra\\" categoria","about27":"Se você deseja criar mapas realmente poderosos, tire o máximo de fotos possível. Ou, se não tiver tempo, pode registrar quantos itens quiser em uma única foto.","about28":"Imagens e conteúdos verificados serão adicionados automaticamente ao banco de dados, analisados quantitativamente e geoespacialmente e disponíveis para visualização pública para que o mundo veja!","about29":"Ajude-nos a comunicar os problemas e soluções para impedir que o plástico chegue ao oceano.","about29a":"Se você gosta do nosso trabalho e gostaria de apoiar, por favor, participe do crowdfunding","about30":"Junte-se ao Open Litter Map para criar um mundo com menos","about301":"isso","about302":"e isso...","about31":"Só em 2010, estima-se que pelo menos 8 milhões de toneladas de plástico foram para o oceano. Isso é uma média de 916 toneladas por hora.","about32":"Uma amostra do que está flutuando nos oceanos","about33":"A poluição do plástico é atualmente responsável pela morte anual de cerca de 1 milhão de pássaros e 100.000 mamíferos marinhos anualmente.","about34":"Em 2025, a quantidade de plástico que entra no oceano deve aumentar para 70 milhões de toneladas, assumindo que as tendências atuais continuem.","about35":"Eu quero ajudar!"}')},"+2sq":function(t,e,n){var i=n("ia29");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+4ci":function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Verify Photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Verify Boxes","about":"Acerca","global-map":"Mapa Global","world-cup":"Copa Mundial","community":"Comunidad","upload":"Subir","more":"Más","tag-litter":"Etiquetar Basura","profile":"Perfil","settings":"Ajustes","bounding-boxes":"Bounding Boxes","logout":"Cerrar Sesión","login":"Iniciar Sesión","signup":"Registrarse","teams":"Equipos"}')},"+7PB":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Plastic pollution is out of control","fires-out-of-control":"Cigarette butts can start fires","glass-hurts-pets":"Broken glass hurts pets","climate-change-out-of-control":"Plastic is increasing climate change","help-us":"Help us create the world\'s most advanced open database on litter, brands & plastic pollution","why-collect-data":"Why should we collect data","visibility":"Visibility","our-maps-reveal-litter-normality":"For many people, litter has become normal and invisible. Maps are powerful because they communicate what we cannot usually see","science":"Problem solving","our-data-open-source":"Our data is open and accessible. Everyone has equal, open and unlimited rights to download all of our data and use it for any purpose","community":"Community","must-work-together":"We need your help to create a paradigm shift in how we understand and respond to pollution","how-does-it-work":"How does it work","take-a-photo":"Take a photo","device-captures-info":"Your device can capture valuable information about the location, time, object, material and brand.","tag-the-litter":"Tag the litter","tag-litter-you-see":"Just tag what litter you see in the photo. You can tag if the litter has been picked up or if it\'s still there. You can upload your photos anytime","share-results":"Share your results","share":"Share the maps or download our data. Let\'s show everyone how badly polluted the world really is","verified":"Your email has been confirmed! You can now log in.","close":"Close","our-partners":"Our Partners","become-a-partner":"Become a partner"}')},"+7ij":function(t){t.exports=JSON.parse('{"finance":"Financier de ontwikkeling van OpenLitterMap","help":"We hebben jouw hulp nodig.","support":"Steun Open Data over Plastic Pollution","help-costs":"Help ons onze kosten te dekken","help-hire":"Huur ontwikkelaars, ontwerpers en afgestudeerden in","help-produce":"Maak videos","help-write":"Schrijf documenten","help-outreach":"Conferenties & outreach","help-incentivize":"Stimulier data verzamelen door Littercoin","more-soon":"Meer spannende updates volgen snel","click-to-support":"Klik hier om te helpen"}')},"+BMQ":function(t,e,n){var i=n("3xMu");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+BrE":function(t){t.exports=JSON.parse('{"card-number":"Kártyaszám","card-holder":"Kártyabirtokos Neve","exp":"Lejárati dátum","cvv":"CVV","placeholders":{"card-number":"16 jegyű kártyaszáma","card-holder":"Kártyabirtokos Neve","exp-month":"Hónap","exp-year":"Év","cvv":"***"}}')},"+Fkb":function(t,e,n){var i=n("UBjI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+LEQ":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a={name:"MapsPrivacy",computed:{maps_name:{get:function(){return this.$store.getters.user.show_name_maps},set:function(t){this.$store.commit("changePrivacy",{column:"show_name_maps",v:t})}},maps_username:{get:function(){return this.$store.getters.user.show_username_maps},set:function(t){this.$store.commit("changePrivacy",{column:"show_username_maps",v:t})}}}},o=n("KHd+"),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.maps"))+":\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.maps_name,expression:"maps_name"}],attrs:{id:"settings_maps_change_name",name:"settings_maps_change_name",type:"checkbox"},domProps:{checked:Array.isArray(t.maps_name)?t._i(t.maps_name,null)>-1:t.maps_name},on:{change:function(e){var n=t.maps_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.maps_name=n.concat([null])):a>-1&&(t.maps_name=n.slice(0,a).concat(n.slice(a+1)))}else t.maps_name=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_maps_change_name"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.maps_username,expression:"maps_username"}],attrs:{id:"settings_maps_change_username",name:"settings_maps_change_username",type:"checkbox"},domProps:{checked:Array.isArray(t.maps_username)?t._i(t.maps_username,null)>-1:t.maps_username},on:{change:function(e){var n=t.maps_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.maps_username=n.concat([null])):a>-1&&(t.maps_username=n.slice(0,a).concat(n.slice(a+1)))}else t.maps_username=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_maps_change_username"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")])]),t._v(" "),n("div",{staticClass:"mb1"},[t.maps_name&&t.maps_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n Both your name and username will appear on each image you upload to the maps.\n ")]):t.maps_name&&!t.maps_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-imgs-yes"))+"\n ")]):!t.maps_name&&t.maps_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.username-imgs-yes"))+"\n ")]):t.maps_name||t.maps_username?t._e():n("h1",{staticClass:"failed-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-username-map-no"))+"\n ")])])])}),[],!1,null,null,null).exports,l={name:"LeaderboardsPrivacy",computed:{leaderboard_name:{get:function(){return this.$store.getters.user.show_name},set:function(t){this.$store.commit("changePrivacy",{column:"show_name",v:t})}},leaderboard_username:{get:function(){return this.$store.getters.user.show_username},set:function(t){this.$store.commit("changePrivacy",{column:"show_username",v:t})}}}},u=Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.leaderboards"))+":\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.leaderboard_name,expression:"leaderboard_name"}],attrs:{id:"settings_privacy_leaderboards_name",name:"settings_privacy_leaderboards_name",type:"checkbox"},domProps:{checked:Array.isArray(t.leaderboard_name)?t._i(t.leaderboard_name,null)>-1:t.leaderboard_name},on:{change:function(e){var n=t.leaderboard_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.leaderboard_name=n.concat([null])):a>-1&&(t.leaderboard_name=n.slice(0,a).concat(n.slice(a+1)))}else t.leaderboard_name=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_leaderboards_name"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-my-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.leaderboard_username,expression:"leaderboard_username"}],attrs:{id:"settings_privacy_leaderboards_username",name:"settings_privacy_leaderboards_username",type:"checkbox"},domProps:{checked:Array.isArray(t.leaderboard_username)?t._i(t.leaderboard_username,null)>-1:t.leaderboard_username},on:{change:function(e){var n=t.leaderboard_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.leaderboard_username=n.concat([null])):a>-1&&(t.leaderboard_username=n.slice(0,a).concat(n.slice(a+1)))}else t.leaderboard_username=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_leaderboards_username"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-my-username"))+"\n ")])]),t._v(" "),n("div",{staticClass:"mb1"},[t.leaderboard_name&&t.leaderboard_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n Both your name and username will appear on the Leaderboards. Good luck!\n ")]):t.leaderboard_name&&!t.leaderboard_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-leaderboards-yes"))+"\n ")]):!t.leaderboard_name&&t.leaderboard_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.username-leaderboards-yes"))+"\n ")]):t.leaderboard_name||t.leaderboard_username?t._e():n("h1",{staticClass:"failed-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-username-leaderboards-no"))+"\n ")])])])}),[],!1,null,null,null).exports,c={name:"CreatedByPrivacy",computed:{createdby_name:{get:function(){return this.$store.getters.user.show_name_createdby},set:function(t){this.$store.commit("changePrivacy",{column:"show_name_createdby",v:t})}},createdby_username:{get:function(){return this.$store.getters.user.show_username_createdby},set:function(t){this.$store.commit("changePrivacy",{column:"show_username_createdby",v:t})}}}},h=Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.created-by"))+":\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createdby_name,expression:"createdby_name"}],attrs:{id:"settings_privacy_createdby_name",name:"settings_privacy_createdby_name",type:"checkbox"},domProps:{checked:Array.isArray(t.createdby_name)?t._i(t.createdby_name,null)>-1:t.createdby_name},on:{change:function(e){var n=t.createdby_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.createdby_name=n.concat([null])):a>-1&&(t.createdby_name=n.slice(0,a).concat(n.slice(a+1)))}else t.createdby_name=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_createdby_name"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.createdby_username,expression:"createdby_username"}],attrs:{id:"settings_privacy_createdby_username",name:"settings_privacy_createdby_username",type:"checkbox"},domProps:{checked:Array.isArray(t.createdby_username)?t._i(t.createdby_username,null)>-1:t.createdby_username},on:{change:function(e){var n=t.createdby_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.createdby_username=n.concat([null])):a>-1&&(t.createdby_username=n.slice(0,a).concat(n.slice(a+1)))}else t.createdby_username=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_createdby_username"}},[t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")])]),t._v(" "),n("div",{staticClass:"mb1"},[t.createdby_name&&t.createdby_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n Both your name and username will appear in the Created By section of any new locations you create by being the first to upload.\n ")]):t.createdby_name&&!t.createdby_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-locations-yes"))+"\n ")]):!t.createdby_name&&t.createdby_username?n("h1",{staticClass:"success-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.username-locations-yes"))+"\n ")]):t.createdby_name||t.createdby_username?t._e():n("h1",{staticClass:"failed-privacy-text"},[t._v("\n "+t._s(t.$t("settings.privacy.name-username-locations-yes"))+"\n ")])])])}),[],!1,null,null,null).exports,d={name:"PreventOthersTaggingMyPhotos",computed:{prevent_others_tagging_my_photos:{get:function(){return this.$store.getters.user.prevent_others_tagging_my_photos},set:function(t){this.$store.commit("changePrivacy",{column:"prevent_others_tagging_my_photos",v:t})}}}};function p(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var f={name:"Privacy",components:{PreventOthersTaggingMyPhotos:Object(o.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-4"},[t._v("\n Prevent others tagging my photos:\n ")]),t._v(" "),n("div",{staticClass:"mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.prevent_others_tagging_my_photos,expression:"prevent_others_tagging_my_photos"}],attrs:{id:"settings_privacy_prevent_others_tagging_my_photos",name:"settings_privacy_prevent_others_tagging_my_photos",type:"checkbox"},domProps:{checked:Array.isArray(t.prevent_others_tagging_my_photos)?t._i(t.prevent_others_tagging_my_photos,null)>-1:t.prevent_others_tagging_my_photos},on:{change:function(e){var n=t.prevent_others_tagging_my_photos,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.prevent_others_tagging_my_photos=n.concat([null])):a>-1&&(t.prevent_others_tagging_my_photos=n.slice(0,a).concat(n.slice(a+1)))}else t.prevent_others_tagging_my_photos=r}}}),t._v(" "),n("label",{staticClass:"checkbox",attrs:{for:"settings_privacy_prevent_others_tagging_my_photos"}},[t._v("\n Prevent others tagging my photos\n ")])])])}),[],!1,null,null,null).exports,MapsPrivacy:s,LeaderboardsPrivacy:u,CreatedByPrivacy:h},data:function(){return{processing:!1}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SAVE_PRIVACY_SETTINGS");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){p(a,i,r,o,s,"next",t)}function s(t){p(a,i,r,o,s,"throw",t)}o(void 0)}))})()}}},m=Object(o.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v("\n "+t._s(t.$t("settings.privacy.change-privacy"))+"\n ")]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column one-third is-offset-1"},[n("div",{staticClass:"field"},[n("MapsPrivacy"),t._v(" "),n("LeaderboardsPrivacy"),t._v(" "),n("CreatedByPrivacy"),t._v(" "),n("PreventOthersTaggingMyPhotos")],1),t._v(" "),n("button",{staticClass:"button is-medium is-info",class:t.processing?"is-loading":"",attrs:{disabled:t.processing},on:{click:t.submit}},[t._v("\n "+t._s(t.$t("settings.privacy.update"))+"\n ")])])])])}),[],!1,null,null,null);e.default=m.exports},"+Vbd":function(t,e,n){"use strict";n.r(e);var i,r,a,o,s,l,u,c,h,d,p,f,m,g,v,y=n("o0o1"),_=n.n(y),b=n("kGIl"),w=n.n(b),x=(n("5A0h"),n("4R65")),k=n.n(x),C=n("Kuz/"),T=n("gaDp"),E=n("ZoWG"),S=n("gBxo");function P(t){return t>60?"#800026":t>20?"#BD0026":t>10?"#E31A1C":t>4?"#FD8D3C":t>2?"#FED976":"#FFEDA0"}function L(t){return{weight:2,opacity:1,color:"white",dashArray:"3",fillOpacity:.7,fillColor:P(t.properties.total)}}function I(t,e){e.on({mouseover:O,mouseout:A,click:M})}function O(t){var e=t.target;e.setStyle({weight:5,color:"#666",dashArray:"",fillOpacity:.7}),k.a.Browser.ie||k.a.Browser.opera||k.a.Browser.edge||e.bringToFront(),r.update(e.feature.properties)}function A(t){a.resetStyle(t.target),r.update()}function M(t){}var z={name:"CityMap",mounted:function(){i=k.a.map(this.$refs.map,{center:this.$store.state.citymap.center,zoom:this.$store.state.citymap.zoom,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1});var t=(new Date).getFullYear();if(k.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:20,minZoom:1}).addTo(i),i.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+t),this.geojson){a=k.a.geoJson(this.aggregate,{style:L,onEachFeature:I,filter:function(t,e){if(t.properties.values.length>0){for(var n=0,i=0;i0}}).addTo(i),(r=k.a.control()).onAdd=function(t){return this._div=k.a.DomUtil.create("div","info"),this.update(),this._div};var e=this.$t("locations.cityVueMap.meter-hex-grids"),n=this.$t("locations.cityVueMap.hover-to-count"),o=this.$t("locations.cityVueMap.pieces-of-litter"),s=this.$t("locations.cityVueMap.hover-polygons-to-count"),l=this.hex;r.update=function(t){this._div.innerHTML="

    "+l+" ".concat(e,"

    ")+(t?"".concat(n,"
    ")+t.total+" ".concat(o):"".concat(s,"."))},r.addTo(i);var u=k.a.control({position:"bottomleft"});u.onAdd=function(t){for(var e,n,i=k.a.DomUtil.create("div","info legend"),r=[1,3,6,10,20],a=[],o=0;o '+e+(n?"–"+n:"+"));return i.innerHTML=a.join("
    "),i},u.addTo(i)}this.addDataToLayerGroups()},computed:{aggregate:function(){var t=C.bbox(this.geojson),e=C.hexGrid(t,this.hex,"meters");return e=JSON.parse(JSON.stringify(e)),C.collect(e,this.geojson,"total_litter","values")},center:function(){return this.$store.state.citymap.center},geojson:function(){return this.$store.state.citymap.data},hex:function(){return this.$store.state.citymap.hex},zoom:function(){return this.$store.state.citymap.zoom}},methods:{addDataToLayerGroups:function(){o=new k.a.LayerGroup,s=new k.a.LayerGroup,l=new k.a.LayerGroup,u=new k.a.LayerGroup,c=(new k.a.LayerGroup).addTo(i),h=new k.a.LayerGroup,d=new k.a.LayerGroup,p=new k.a.LayerGroup,f=new k.a.LayerGroup,m=new k.a.LayerGroup,g=new k.a.LayerGroup,v=new k.a.LayerGroup;var t={smoking:o,food:s,coffee:l,alcohol:u,softdrinks:c,sanitary:h,other:d,coastal:p,brands:f,dogshit:m,industrial:v,dumping:g};this.geojson.features.map((function(e){T.a.map((function(n){e.properties[n]&&E.a[n].map((function(i){e.properties[n][i]&&k.a.marker([e.properties.lat,e.properties.lon]).addTo(t[n]).bindPopup(S.a.getMapImagePopupContent(e.properties),S.a.popupOptions)}))}))}));var e={Alcohol:u,Brands:f,Coastal:p,Coffee:l,Dumping:g,Food:s,Industrial:v,Other:d,PetSurprise:m,Sanitary:h,Smoking:o,SoftDrinks:c};k.a.control.layers(null,e).addTo(i)}}},N=(n("pMqV"),n("KHd+")),D=Object(N.a)(z,(function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"map",attrs:{id:"hexmap"}})}),[],!1,null,"76e1f7e6",null).exports;function R(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var j={name:"CityMapContainer",components:{Loading:w.a,CityMap:D},data:function(){return{loading:!0}},created:function(){var t,e=this;return(t=_.a.mark((function t(){var n,i,r,a;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=window.location.href.split("/"),i=null,r=null,a=null,11===n.length&&(i=n[8],r=n[9],a=n[10]),t.next=8,e.$store.dispatch("GET_CITY_DATA",{city:n[6],min:i,max:r,hex:a});case 8:e.loading=!1;case 9:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){R(a,i,r,o,s,"next",t)}function s(t){R(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},F=(n("56GE"),Object(N.a)(j,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cmc"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("CityMap")],1)}),[],!1,null,"5b5ada14",null));e.default=F.exports},"+XkP":function(t){t.exports=JSON.parse('{"change-details":"Changer les Données Personnelles","your-name":"Votre nom","unique-id":"Identifiant Unique","email":"E-mail","update-details":"Mise à jour des données"}')},"+fPF":function(t){t.exports=JSON.parse('{"delete-account":"Deletar Minha Donta","delete-account?":"Você quer deletar sua conta?","enter-password":"Informe sua senha"}')},"+iHb":function(t,e,n){"use strict";var i=n("5wWY");n.n(i).a},"+uFM":function(t){t.exports=JSON.parse('{"de":{"name":"Germany","lang":"German"},"en":{"name":"UK","lang":"English"},"es":{"name":"Spain","lang":"Español"},"fr":{"name":"France","lang":"French"},"hu":{"name":"Magyarország","lang":"Magyar"},"ie":{"name":"Ireland","lang":"Irish"},"it":{"name":"Italy","lang":"Italian"},"ms":{"name":"Malaysia","lang":"Malay"},"nl":{"name":"Nederland","lang":"Nederlands"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkey","lang":"Turkish"},"uk":{"name":"UK","lang":"English"}}')},"+z9b":function(t){t.exports=JSON.parse('{"allowed-to-create":"Você tem permissão para criar {teams} equipe(s)","what-kind-of-team":"Que tipo de Equipe você gostari de criar?","team-type":"Tipo da Equipe","team-name":"Nome da Equipe","my-awesome-team-placeholder":"Minha Equipe Incrível","unique-team-id":"Identificador de equipe exclusivo","id-to-join-team":"Qualquer pessoa com este ID poderá participar da sua equipe.","create-team":"Criar Equipe","update-team":"Atualizar Equipe","created":"Parabéns! A sua nova equipe foir criada!","updated":"Equipe atualizada.","select-team":"Selecione uma equipe","fail":"Ocorreu um erro ao criar sua equipe","max-created":"Você não tem permissão para criar mais equipes."}')},"/6TC":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"#hexmap[data-v-76e1f7e6] {\n height: 100%;\n margin: 0;\n position: relative;\n z-index: 0;\n}",""])},"/HxI":function(t){t.exports=JSON.parse('{"ready-to-join":"Gotowy do przyłączenia się do rewolucji geoprzestrzennej?","join-subtitle":"Jeśli podoba Ci się nasza praca, OpenLitterMap przyda się twoja pomoc.","free-plan":"Darmowy","free-plan-feature1":"Prześlij 1000 obrazów dziennie.","free-plan-feature2":"Odblokuj odznaki + nagrody.","free-plan-feature3":"Zdobywaj Littercoin.","free-plan-feature4":"Rywalizuj w wielu różnych rankingach.","free-plan-join":"Wchodze w to","startup-plan":"STARTUP","startup-plan-donation":"5 € miesięcznie","startup-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","startup-plan-feature2":"Pomóż nam pokryć nasze koszty.","startup-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","startup-plan-join":"Wspieram to!","basic-plan":"BASIC","basic-plan-donation":"9,99 € miesięcznie","basic-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","basic-plan-feature2":"Pomóż nam pokryć nasze koszty.","basic-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","basic-plan-join":"Wspieram to!","advanced-plan":"ADVANCED","advanced-plan-donation":"€20 miesięcznie","advanced-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","advanced-plan-feature2":"Pomóż nam pokryć nasze koszty.","advanced-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","advanced-plan-join":"Wspieram to!","pro-plan":"PRO","pro-plan-donation":"€30 miesięcznie","pro-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","pro-plan-feature2":"Pomóż nam pokryć nasze koszty.","pro-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","pro-plan-join":"Wspieram to!"}')},"/iew":function(t){t.exports=JSON.parse('{"ready-to-join":"Készen áll, hogy csatlakozzon a térinformatikai forradalomhoz?","join-subtitle":"Ha tetszik a munkánk, az OpenLitterMap használni tudja a segítségedet.","free-plan":"INGYENES","free-plan-feature1":"Naponta 1000 kép feltöltése.","free-plan-feature2":"Jelvények és jutalmak feloldása.","free-plan-feature3":"Szerezz Littercoint.","free-plan-feature4":"Versenyezz több különböző ranglistán.","free-plan-join":"Benne vagyok","startup-plan":"KEZDŐ","startup-plan-donation":"€5 havonta","startup-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","startup-plan-feature2":"Segítsen költségeinket fedezni.","startup-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","startup-plan-join":"Támogatni fogom!","basic-plan":"ALAP","basic-plan-donation":"€9.99 havonta","basic-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","basic-plan-feature2":"Segítsen költségeinket fedezni.","basic-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","basic-plan-join":"Támogatni fogom!","advanced-plan":"HALADÓ","advanced-plan-donation":"€20 havonta","advanced-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","advanced-plan-feature2":"Segítsen költségeinket fedezni.","advanced-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","advanced-plan-join":"Támogatni fogom!","pro-plan":"PRO","pro-plan-donation":"€30 havonta","pro-plan-feature1":"Támogassa az OpenLitterMap fejlesztését.","pro-plan-feature2":"Segítsen költségeinket fedezni.","pro-plan-feature3":"Dőljön hátra, és élvezze a frissítéseket.","pro-plan-join":"Komolyan szeretnék segíteni."}')},"/xHF":function(t){t.exports=JSON.parse('{"title":"Készen állsz?","subtitle":"Regisztráljon, és legyen szakértő szemét térképező, és segítsen legyőzni a műanyagszennyezést.","crowdfunding-message":"Kérjük, fontolja meg munkánk támogatását az OpenLitterMap közösségi finanszírozásával akár napi 6 centtel, havi előfizetéssel, hogy segítse ennek a fontos platformnak a növekedését és fejlesztését.","form-create-account":"Fiók létrehozása","form-field-name":"Név","form-field-unique-id":"Egyedi azonosító","form-field-email":"E-mail cím","form-field-password":"Jelszó. Tartalmaznia kell nagybetűt, kisbetűt és számot.","form-field-pass-confirm":"Jelszó megerősítése","form-account-conditions":"Elolvastam és elfogadom a Felhasználási feltételeket és az Adatvédelmi szabályzatot","form-btn":"Új fiók létrehozása","create-account-note":"Megjegyzés: Ha nem kapja meg az ellenőrző e-mailt a beérkező levelek között, kérjük, ellenőrizze a spam mappáját."}')},"/xT5":function(t){t.exports=JSON.parse('{"show-flag":"Montrer le drapeau du pays","top-10":"Top 10 des leaders mondiaux!","top-10-challenge":"Si vous atteignez le top 10, vous pourrez représenter votre pays!","action-select":"Écrivez ou faites défiler pour choisir dans la liste","select-country":"Choissez votre pays","save-flag":"Enregistrez le drapeau"}')},"/yRl":function(t,e,n){"use strict";var i={name:"Presence",computed:{pickedUp:function(){return this.$store.state.litter.pickedUp}},methods:{toggle:function(){this.$store.commit("togglePickedUp")}}},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"switch-container"},[e("p",{staticClass:"mr-2"},[e("strong",[this._v(this._s(this.$t("tags.picked-up-title")))])]),this._v(" "),e("label",{staticClass:"switch"},[e("input",{attrs:{type:"checkbox"},domProps:{checked:this.pickedUp},on:{change:this.toggle}}),this._v(" "),e("span",{staticClass:"slider round"})])])}),[],!1,null,"06133970",null);e.a=a.exports},0:function(t,e,n){n("bUC5"),t.exports=n("g57v")},"09JO":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"La contaminación por plásticos está fuera de control","fires-out-of-control":"Las colillas de cigarrillos pueden provocar incendios","glass-hurts-pets":"Los vidrios rotos lastiman a las mascotas","climate-change-out-of-control":"El plástico está aumentando el cambio climático","help-us":"Ayúdanos a crear la base de datos abiertos sobre basura, marcas y contaminación por plásticos más avanzada del mundo","why-collect-data":"¿Por qué deberíamos recolectar estos datos","visibility":"Visibilidad","our-maps-reveal-litter-normality":"Para muchas personas, la basura se ha convertido en algo normal e invisible. Los mapas son poderosos instrumentos porque comunican lo que normalmente no podemos ver","science":"Resolución de problemas","our-data-open-source":"Nuestros datos son abiertos y accesibles. Todo el mundo tiene el mismo derecho, abierto e ilimitado para descargar todos nuestros datos y utilizarlos para cualquier fin","community":"Comunidad","must-work-together":"Necesitamos tu ayuda para crear un cambio de paradigma en la forma de entender y responder a la contaminación","how-does-it-work":"¿Cómo funciona","take-a-photo":"Haz una foto","device-captures-info":"Tu dispositivo móvil puede capturar información valiosa sobre la localización, la hora, el objeto, el material y la marca.","tag-the-litter":"Etiqueta la basura","tag-litter-you-see":"Sólo etiqueta la basura que ves en la foto. Puedes marcar si se ha recogido la basura o si todavía sigue ahí. ¡Puedes subir tus fotos en cualquier momento","share-results":"Comparte tus resultados","share":"Comparte los mapas o descarga nuestros datos. ¡Demostremos a todos cuán contaminado está realmente el mundo","verified":"¡Tu correo electrónico ha sido confirmado! Ahora ya puedes iniciar sesión","close":"Cerrar","our-partners":"Nuestros compañeros","become-a-partner":"Conviértete en un compañero"}')},"0Ajk":function(t){t.exports=JSON.parse('{"de":{"name":"Alemania","lang":"Aleman"},"en":{"name":"UK","lang":"English"},"es":{"name":"España","lang":"Español"},"fr":{"name":"Francia","lang":"Francés"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Irlanda","lang":"Irlandés"},"it":{"name":"Italia","lang":"Italiano"},"ms":{"name":"Malasia","lang":"Malayo"},"nl":{"name":"Holanda","lang":"Nederlands"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turquía","lang":"Turco"},"uk":{"name":"UK","lang":"English"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},"0NR4":function(t){t.exports=JSON.parse('{"ready-to-join":"¿Listo para unirte a la revolución geoespacial?","join-subtitle":"Si te gusta nuestro trabajo, OpenLitterMap puede hacer mucho con tu ayuda.","free-plan":"GRATIS","free-plan-feature1":"Sube 1000 imágenes por día.","free-plan-feature2":"Desbloquea Insignias + Recompensas.","free-plan-feature3":"Gana Littercoin.","free-plan-feature4":"Compite en varias tablas de clasificación diferentes","free-plan-join":"¡Estoy dentro!","startup-plan":"STARTUP","startup-plan-donation":"€5 por mes","startup-plan-feature1":"Financia el desarrollo de OpenLitterMap.","startup-plan-feature2":"Ayúdanos a cubrir nuestros costes","startup-plan-feature3":"Siéntate y disfruta de las actualizaciones.","startup-plan-join":"¡Quiero ayudar!","basic-plan":"BÁSICO","basic-plan-donation":"€9.99 por mes","basic-plan-feature1":"Financia el desarrollo de OpenLitterMap.","basic-plan-feature2":"Ayúdanos a cubrir nuestros costes","basic-plan-feature3":"Siéntate y disfruta de las actualizaciones.","basic-plan-join":"¡Quiero ayudar!","advanced-plan":"AVANZADO","advanced-plan-donation":"€20 por mes","advanced-plan-feature1":"Financia el desarrollo de OpenLitterMap.","advanced-plan-feature2":"Ayúdanos a cubrir nuestros costes","advanced-plan-feature3":"Siéntate y disfruta de las actualizaciones.","advanced-plan-join":"¡Quiero ayudar!","pro-plan":"PRO","pro-plan-donation":"€30 por mes","pro-plan-feature1":"Financia el desarrollo de OpenLitterMap.","pro-plan-feature2":"Ayúdanos a cubrir nuestros costes","pro-plan-feature3":"Siéntate y disfruta de las actualizaciones.","pro-plan-join":"¡Esto es asunto serio!"}')},"0Oxq":function(t,e,n){"use strict";var i=n("VFG2");n.n(i).a},"0R12":function(t,e,n){"use strict";var i=n("Jqis");n.n(i).a},"0TQV":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),{name:"BrandsBox",computed:{brands:{get:function(){return this.$store.state.bbox.brands},set:function(t){this.$store.commit("setBrandsBox",t)}},selectedBrandIndex:function(){return this.$store.state.bbox.selectedBrandIndex}},methods:{brandClass:function(t){return this.selectedBrandIndex===t?"is-brand-card selected":"is-brand-card"},isSelected:function(t){return this.selectedBrandIndex===t?" - selected":""},select:function(t){this.$store.commit("selectBrandBoxIndex",t)}}}),l=(n("LB33"),n("KHd+")),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fit-content",on:{click:function(t){t.stopPropagation()}}},[n("p",{directives:[{name:"show",rawName:"v-show",value:t.brands.length>0,expression:"brands.length > 0"}]},[t._v("Select a brand to add to a box")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:null!==t.selectedBrandIndex,expression:"selectedBrandIndex !== null"}],staticClass:"mb1"},[t._v("When a box is selected, click a box to add the brand")]),t._v(" "),t._l(t.brands,(function(e,i){return n("div",{key:e+i,class:t.brandClass(i),on:{mousedown:function(e){return t.select(i)}}},[t._v(t._s(e)+" "+t._s(t.isSelected(i)))])}))],2)}),[],!1,null,"6090c5f2",null).exports,c={name:"Boxes",components:{BrandsBox:u},computed:{boxes:function(){return this.$store.state.bbox.boxes},boxHidden:function(){return this.$store.state.bbox.boxes.find((function(t){return t.hidden}))},manyBoxes:function(){return this.$store.state.bbox.boxes.length>1}},methods:{activateAndCheckBox:function(t){this.$store.commit("activateBox",t),null!==this.$store.state.bbox.selectedBrandIndex&&this.$store.commit("addSelectedBrandToBox",t)},boxClass:function(t){return t?"is-box is-active":"is-box"},duplicate:function(t){this.$store.commit("duplicateBox",t)},getCategories:function(t){var e=[];return Object.entries(t).map((function(t){Object.keys(t[1]).length>0&&e.push({category:t[0],tags:t[1]})})),e},getCategory:function(t){return this.$i18n.t("litter.categories."+t)},getTags:function(t,e){return this.$i18n.t("litter."+t+"."+e)+": 1"},hideInactive:function(){this.$store.commit("toggleHiddenBoxes")},removeTag:function(t,e){this.$store.commit("removeBboxTag",{category:t,tag_key:e})},rotate:function(t){this.$store.commit("rotateBox",t)},showAll:function(){this.$store.commit("showAllBoxes")},toggleLabel:function(t){this.$store.commit("toggleBoxLabel",t)}}},h=(n("nvJ6"),Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"column is-one-third pl3 pt7"},[n("BrandsBox"),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.manyBoxes,expression:"manyBoxes"}],staticClass:"button is-small is-primary mb1",on:{click:function(e){return e.stopPropagation(),t.hideInactive(e)}}},[t._v("Hide boxes")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.boxHidden,expression:"boxHidden"}],staticClass:"button is-small is-info mb1",on:{click:t.showAll}},[t._v("Show boxes")]),t._v(" "),t._l(t.boxes,(function(e,i){return n("div",{key:e.id,class:t.boxClass(e.active),on:{click:function(n){return n.stopPropagation(),t.activateAndCheckBox(e.id)}}},[n("p",{staticClass:"ma"},[t._v("Box: "),n("span",{staticClass:"is-bold"},[t._v(t._s(e.id))])]),t._v(" "),n("button",{staticClass:"button is-small duplicate-box",attrs:{disabled:""},on:{click:function(n){return t.duplicate(e.id)}}},[t._v("Todo - Duplicate Box")]),t._v(" "),n("button",{staticClass:"button is-small toggle-box",on:{click:function(n){return t.toggleLabel(e.id)}}},[t._v("Toggle Label")]),t._v(" "),n("button",{staticClass:"button is-small is-dark rotate-box",on:{click:function(n){return t.rotate(e.id)}}},[t._v("Rotate")]),t._v(" "),n("p",[t._v("Left: "+t._s(e.left))]),t._v(" "),n("p",[t._v("Top: "+t._s(e.top))]),t._v(" "),n("p",[t._v("Width: "+t._s(e.width))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Height: "+t._s(e.height))]),t._v(" "),n("div",{staticClass:"container"},[n("div",{staticClass:"box-categories"},[n("span",{staticClass:"box-category"},[t._v(t._s(t.getCategory(e.category)))]),t._v(" "),n("span",{staticClass:"tag is-medium is-info box-label",domProps:{innerHTML:t._s(t.getTags(e.category,e.tag))},on:{click:function(n){return t.removeTag(e.category,e.tag)}}}),t._v(" "),e.brand?n("div",[n("p",{staticClass:"box-category"},[t._v("Brand")]),t._v(" "),n("span",{staticClass:"tag is-medium is-info box-label w100",domProps:{innerHTML:t._s(t.getTags("brands",e.brand))},on:{click:function(n){return t.removeTag("brands",e.brand)}}})]):t._e()])])])}))],2)}),[],!1,null,"4bd574db",null).exports),d=n("vne5"),p=n("n2md"),f=n("O1jo"),m=n.n(f),g=n("5n2/"),v=n.n(g);function y(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function _(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){y(a,i,r,o,s,"next",t)}function s(t){y(a,i,r,o,s,"throw",t)}o(void 0)}))}}var b={name:"BoundingBox",components:{Loading:o.a,Tags:d.a,AddTags:p.a,Boxes:h,VueDragResize:m.a,BrandsBox:u},directives:{ClickOutside:v.a},created:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.innerWidth<1e3&&(t.isMobile=!0,t.stickSize=30),window.location.href.includes("verify")?(t.isVerifying=!0,t.$store.dispatch("GET_NEXT_BOXES_TO_VERIFY")):t.$store.dispatch("GET_NEXT_BBOX");case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{stickSize:6,skip_processing:!1,update_processing:!1,wrong_tags_processing:!1,isMobile:!1,isVerifying:!1}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){var n=e.key;"ArrowUp"===n?(e.preventDefault(),t.$store.commit("moveBoxUp")):"ArrowRight"===n?(e.preventDefault(),t.$store.commit("moveBoxRight")):"ArrowDown"===n?(e.preventDefault(),t.$store.commit("moveBoxDown")):"ArrowLeft"===n&&(e.preventDefault(),t.$store.commit("moveBoxLeft"))}))},computed:{boxes:function(){return this.$store.state.bbox.boxes},disabled:function(){return this.skip_processing||this.update_processing||this.wrong_tags_processing},getTitle:function(){return this.isVerifying?"Verify boxes for image # ".concat(this.imageId):"Add bounding box to image # ".concat(this.imageId)},image:function(){return"backgroundImage: url("+this.$store.state.admin.filename+")"},imageId:function(){return this.$store.state.admin.id},isAdmin:function(){return this.$store.state.user.admin||this.$store.state.user.helper},littercoinEarned:function(){return this.$store.state.user.user.littercoin_owed+this.$store.state.user.user.littercoin_allowance},littercoinProgress:function(){return this.$store.state.user.user.bbox_verification_count+"%"},loading:function(){return this.$store.state.admin.loading},skipButton:function(){var t="button is-medium is-warning mt1 ";return this.skip_processing?t+" is-loading":t},totalBoxCount:function(){return this.$store.state.bbox.totalBoxCount},usersBoxCount:function(){return this.$store.state.bbox.usersBoxCount},updateButton:function(){var t="button is-medium is-primary mt1 ";return this.update_processing?t+"is-loading":t},wrongTagsButton:function(){var t="button is-medium is-primary mt1 ";return this.wrong_tags_processing?t+"is-loading":t}},methods:{activated:function(t){this.$store.commit("activateBox",t)},boxText:function(t,e,n,i){return e?this.$t("litter.".concat(n,".").concat(i)):t},deactivate:function(){this.$store.commit("deactivateBoxes")},dragging:function(t){this.$store.commit("updateBoxPosition",t)},resize:function(t){this.stickSize=1,this.$store.commit("updateBoxPosition",t)},resizestop:function(){this.stickSize=this.isMobile?30:6},skip:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.skip_processing=!0,e.next=3,t.$store.dispatch("BBOX_SKIP_IMAGE",t.isVerifying);case 3:t.skip_processing=!1;case 4:case"end":return e.stop()}}),e)})))()},update:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.update_processing=!0,e.next=3,t.$store.dispatch("BBOX_UPDATE_TAGS");case 3:t.update_processing=!1;case 4:case"end":return e.stop()}}),e)})))()},wrongTags:function(){this.wrong_tags_processing=!0,this.$store.dispatch("BBOX_WRONG_TAGS"),this.wrong_tags_processing=!1}}},w=(n("WA2R"),Object(l.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"relative h100",on:{click:t.deactivate}},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"columns mt1"},[n("Boxes"),t._v(" "),n("div",{staticClass:"column is-one-third"},[n("h1",{staticClass:"title is-2 has-text-centered"},[t._v(t._s(t.getTitle))]),t._v(" "),n("div",{staticClass:"display-inline-grid",on:{click:function(t){t.stopPropagation()}}},[n("div",{ref:"img",style:t.image,attrs:{id:"image-wrapper"}},t._l(t.boxes,(function(e){return n("VueDragResize",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"! box.hidden"}],key:e.id,attrs:{w:e.width,h:e.height,x:e.left,y:e.top,isActive:e.active,minw:5,minh:5,stickSize:t.stickSize,parentLimitation:!0,z:e.id},on:{clicked:function(n){return t.activated(e.id)},dragging:t.dragging,resizing:t.resize,resizestop:t.resizestop}},[n("p",{staticClass:"box-tag"},[t._v(t._s(t.boxText(e.id,e.showLabel,e.category,e.tag)))])])})),1),t._v(" "),n("add-tags",{directives:[{name:"show",rawName:"v-show",value:t.isAdmin,expression:"isAdmin"}],attrs:{id:t.imageId,annotations:!0,isVerifying:t.isVerifying,"show-custom-tags":!1}})],1)]),t._v(" "),n("div",{staticClass:"column is-2 is-offset-1 has-text-centered"},[n("Tags",{attrs:{admin:t.isAdmin}}),t._v(" "),t.isAdmin?n("button",{class:t.updateButton,attrs:{disabled:t.disabled},on:{click:t.update}},[t._v("Update Tags")]):n("button",{class:t.wrongTagsButton,attrs:{disabled:t.disabled},on:{click:t.wrongTags}},[t._v("Wrong Tags")]),t._v(" "),n("button",{class:t.skipButton,attrs:{disabled:t.disabled},on:{click:t.skip}},[t._v("Cannot use this image")])],1)],1),t._v(" "),n("div",{staticClass:"littercoin-pos"},[n("p",[t._v("Your boxes: "+t._s(this.usersBoxCount))]),t._v(" "),n("p",[t._v("Total Boxes: "+t._s(this.totalBoxCount))]),t._v(" "),n("p",[t._v("Littercoin earned: "+t._s(this.littercoinEarned))]),t._v(" "),n("p",[t._v("Next Littercoin: "+t._s(this.littercoinProgress))])])],1)}),[],!1,null,null,null));e.default=w.exports},"0a/T":function(t,e,n){"use strict";var i=n("jX4s");n.n(i).a},"0pvQ":function(t,e,n){var i=n("NPqV");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"11sb":function(t,e,n){"use strict";var i=n("5H76");n.n(i).a},"15/P":function(t){t.exports=JSON.parse('{"login-btn":"Inloggen","signup-text":"Aanmelden","forgot-password":"Wachtwoord vergeten?"}')},"15wQ":function(t){t.exports=JSON.parse('{"address":"Address","add-tag":"Add Tag","coordinates":"Coordinates","device":"Device","next":"Next Image","no-tags":"You don\'t have anything to tag at the moment.","picked-up-title":"Picked Up?","please-upload":"Upload more photos","previous":"Previous Image","removed":"The litter has been removed","still-there":"The litter is still there","taken":"Taken","to-tag":"Images left to tag","total-uploaded":"Total images uploaded","uploaded":"Uploaded","confirm-delete":"Do you want to delete this image? This cannot be undone.","recently-tags":"Recently used tags: ","clear-tags":"Clear recent tags?","clear-tags-btn":"Clear recent tags","search-all-tags":"Press Ctrl + Spacebar to Search All Tags","search-custom-tags":"Add your own tags","custom-tags":"Custom Tags","custom-tags-min":"It needs to be at least 3 characters long.","custom-tags-max":"It needs to be at most 100 characters long.","tag-already-added":"Tag already added.","tag-limit-reached":"You can upload up to 3 custom tags."}')},"1C7U":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.captcha {\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n.call-container {\n padding-top: 5em;\n margin-bottom: 2em;\n margin-left: auto;\n margin-right: auto;\n max-width: 50em;\n}\n.field {\n padding-top: 0.5em;\n}\n.input-group {\n\t\tpadding-bottom: 1em;\n}\n.signup-container {\n margin: auto;\n width: 35em;\n}\n\n /* Small screens */\n@media only screen and (max-width: 600px)\n {\n.call-container {\n padding: 2em 1em;\n margin-bottom: 0 !important;\n}\n.signup-container {\n width: 20em;\n}\n}\n\n",""])},"1Fcm":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),n("wd/R")),l=n.n(s),u=n("n2md"),c=n("vne5"),h=n("8bp/");function d(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){d(a,i,r,o,s,"next",t)}function s(t){d(a,i,r,o,s,"throw",t)}o(void 0)}))}}var f={name:"VerifyPhotos",components:{Loading:o.a,AddTags:u.a,Tags:c.a,RecentTags:h.a},created:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO");case 3:t.loading=!1;case 4:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0,processing:!1,btn:"button is-large is-success",deleteButton:"button is-large is-danger mb1 tooltip",deleteVerify:"button is-large is-warning mb1 tooltip",verifyClass:"button is-large is-success mb1 tooltip",selectedCountry:""}},computed:{checkUpdateTagsDisabled:function(){return!(!this.processing&&!1!==this.$store.state.litter.hasAddedNewTag)},delete_button:function(){return this.processing?this.deleteButton+" is-loading":this.deleteButton},delete_verify_button:function(){return this.processing?this.deleteVerify+" is-loading":this.deleteVerify},photo:function(){return this.$store.state.admin.photo},photosNotProcessed:function(){return this.$store.state.admin.not_processed},photosAwaitingVerification:function(){return this.$store.state.admin.awaiting_verification},countriesWithPhotos:function(){return this.$store.state.admin.countriesWithPhotos},update_new_tags_button:function(){return this.processing?this.verifyClass+" is-loading":this.verifyClass},uploadedTime:function(){return l()(this.photo.created_at).format("LLL")},verify_correct_button:function(){return this.processing?this.btn+" is-loading":this.btn},hasRecentTags:function(){return Object.keys(this.$store.state.litter.recentTags).length>0||this.$store.state.litter.recentCustomTags.length}},methods:{adminDelete:function(t){var e=this;return p(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("ADMIN_DELETE_IMAGE");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})))()},clearTags:function(){this.$store.commit("setAllTagsToZero",this.photo.id)},resetTags:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_RESET_TAGS");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},verifyCorrect:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_VERIFY_CORRECT");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},verifyDelete:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_VERIFY_DELETE");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},updateNewTags:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_UPDATE_WITH_NEW_TAGS");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},filterByCountry:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.$store.commit("setFilterByCountry",t.selectedCountry),e.next=4,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO");case 4:t.loading=!1;case 5:case"end":return e.stop()}}),e)})))()},skipPhoto:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,t.$store.commit("setSkippedPhotos",t.$store.state.admin.skippedPhotos+1),e.next=4,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO");case 4:t.loading=!1;case 5:case"end":return e.stop()}}),e)})))()}}},m=(n("Gebw"),n("KHd+")),g=Object(m.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"has-background-grey-light has-text-centered py-2 admin-filters"},[n("p",{staticClass:"has-text-weight-bold"},[t._v("Filter photos by:")]),t._v(" "),n("div",{staticClass:"control ml-4"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCountry,expression:"selectedCountry"}],on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCountry=e.target.multiple?n:n[0]},t.filterByCountry]}},[n("option",{attrs:{value:""}},[t._v("All Countries")]),t._v(" "),t._l(t.countriesWithPhotos,(function(e){return n("option",{key:e.id,domProps:{value:e.id}},[t._v(t._s(e.country)+" ("+t._s(e.total)+")")])}))],2)])])]),t._v(" "),n("div",{staticClass:"container is-fluid mt3"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",[0===this.photosAwaitingVerification&&0===this.photosNotProcessed?n("div",[n("p",{staticClass:"title is-3"},[t._v("All done.")])]):t.photo?n("div",[n("div",{staticClass:"columns"},[n("div",{staticClass:"column has-text-centered"},[n("p",{staticClass:"subtitle is-5"},[t._v("Uploaded, not tagged: "+t._s(this.photosNotProcessed))]),t._v(" "),n("p",{staticClass:"subtitle is-5"},[t._v("Tagged, awaiting verification: "+t._s(this.photosAwaitingVerification))]),t._v(" "),n("div",{staticClass:"mt-5"},[n("button",{class:t.delete_verify_button,attrs:{disabled:t.processing},on:{click:t.verifyDelete}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Accept data, verify, but delete the image.")]),t._v("\n Verify & Delete\n ")]),t._v(" "),n("button",{class:t.delete_button,attrs:{disabled:t.processing},on:{click:t.adminDelete}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Delete the image.")]),t._v("\n DELETE\n ")])]),t._v(" "),t.hasRecentTags?n("div",{staticClass:"recent-tags control has-text-centered has-background-light px-4 py-4"},[n("RecentTags",{staticClass:"mb-5",attrs:{"photo-id":t.photo.id}})],1):t._e()]),t._v(" "),n("div",{staticClass:"column is-half",staticStyle:{"text-align":"center"}},[n("h1",{staticClass:"title is-2 has-text-centered"},[t._v("\n #"+t._s(parseInt(this.photo.id).toLocaleString())+" Uploaded "+t._s(this.uploadedTime)+"\n ")]),t._v(" "),n("p",[t._v("\n From: "),n("span",[t._v("@"+t._s(this.photo.user.username)+" #"+t._s(this.photo.user.id))])]),t._v(" "),n("p",[t._v("\n Verification count: "+t._s(this.photo.user.user_verification_count)+"%\n ")]),t._v(" "),n("p",{staticClass:"subtitle is-5 has-text-centered mb-8"},[t._v("\n "+t._s(this.photo.display_name)+"\n ")]),t._v(" "),n("img",{directives:[{name:"img",rawName:"v-img",value:{sourceButton:!0},expression:"{sourceButton: true}"}],staticClass:"verify-image",attrs:{src:this.photo.filename}}),t._v(" "),.1===t.photo.verification?n("div",{staticClass:"has-text-centered mb1"},[n("button",{class:t.verify_correct_button,attrs:{disabled:t.processing},on:{click:t.verifyCorrect}},[t._v("VERIFY CORRECT")]),t._v(" "),n("button",{staticClass:"button is-large is-danger",attrs:{disabled:t.processing},on:{click:t.resetTags}},[t._v("FALSE")])]):t._e(),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-two-thirds is-offset-2"},[n("add-tags",{attrs:{admin:!0,id:t.photo.id}})],1)]),t._v(" "),n("div",{staticStyle:{"padding-top":"1em","text-align":"center"}},[n("button",{class:t.update_new_tags_button,attrs:{disabled:t.checkUpdateTagsDisabled},on:{click:t.updateNewTags}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Update the image and save the new data.")]),t._v("\n Update with new tags\n ")]),t._v(" "),n("button",{staticClass:"button is-large is-info tooltip mb-1",attrs:{disabled:t.processing},on:{click:t.skipPhoto}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Skip this photo and verify the next one.")]),t._v("\n Skip\n ")])])]),t._v(" "),n("div",{staticClass:"column has-text-centered",staticStyle:{position:"relative"}},[n("Tags",{attrs:{"photo-id":t.photo.id,admin:!0}}),t._v(" "),n("div",{staticStyle:{"padding-top":"3em"}},[n("button",{staticClass:"button is-medium is-dark tooltip",on:{click:t.clearTags}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("To undo this, just refresh the page.")]),t._v("\n Clear user input\n ")])])],1)])]):n("div",[n("p",{staticClass:"title is-3"},[t._v("All photos for your selection are done.")]),t._v(" "),n("p",{staticClass:"subtitle is-5"},[t._v("You can refresh the page to view skipped photos.")])])])],1)])}),[],!1,null,"4d71f573",null);e.default=g.exports},"1FiT":function(t){t.exports=JSON.parse('{"privacy-title":"Controla tu privacidad","privacy-text":"Controla tu privacidad para cada equipo al que te hayas unido.","team-update-title":"Actualiza tus equipos","team-update-text":"Solo puede actualizar los equipos que lidera.","maps":{"team-map":"Mapa del equipo","name-will-appear":"Tu nombre aparecerá en los mapas","username-will-appear":"Tu nombre de usuario aparecerá en los mapas","will-not-appear":"Tu nombre y nombre de usuario aparecerán en los mapas"},"leaderboards":{"team-leaderboard":"Tabla de clasificación del equipo","name-will-appear":"Tu nombre aparecerá en las tablas de clasificación","username-will-appear":"Tu nombre de usuario aparecerá en las tablas de clasificación","will-not-appear":"Tu nombre y nombre de usuario aparecerán en las tablas de clasificación"},"submit-one-team":"Guardar para este equipo","apply-all-teams":"Aplicar a todos los equipos"}')},"1O6V":function(t){t.exports=JSON.parse('{"email-you":"Want us to email you occasionally with good news","subscribe":"Subscribe","subscribed-success-msg":"You have been subscribed to the good news! You can unsubscribe at any time","need-your-help":"We need your help to create the world\'s most advanced and accessible database on pollution","read":"READ","blog":"Blog","research-paper":"Research Paper","watch":"WATCH","help":"HELP","join-the-team":"Join the Team","join-slack":"Join Slack","create-account":"Create Account","fb-group":"Facebook Group","single-donation":"Single Donation","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap is a flagship product of GeoTech Innovations Ltd., a startup in Ireland pioneering essential citizen science services #650323","enter-email":"Enter your email address","references":"References","credits":"Credits","contact-us":"Contact Us"}')},"1PMt":function(t,e,n){var i=n("md0N");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"1SP2":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#openlittermap {\n height: 100%;\n margin: 0;\n position: relative;\n}\n.leaflet-marker-icon {\n border-radius: 20px;\n}\n.mi {\n height: 100%;\n margin: auto;\n display: flex;\n justify-content: center;\n border-radius: 20px;\n}\n.leaflet-control {\n pointer-events: visiblePainted !important;\n}\n.leaflet-cleanup-container {\n padding: 1em 2em;\n}\n.leaflet-cleanup-container p {\n margin: 10px 0 !important;\n}\n\n",""])},"1SYZ":function(t){t.exports=JSON.parse('{"olm-teams":"Equipos de OpenLitterMap","dashboard":"Dashboard","join-a-team":"Únete a un equipo","create-a-team":"Crea un equipo","your-teams":"Tus equipos","leaderboard":"Tabla de clasificación","settings":"Ajustes","teams-dashboard":"Dashboard de equipos ","photos-uploaded":"Fotos subidas","litter-tagged":"Basura etiquetada","members-uploaded":"Miembros del equipo con fotos subidas","all-teams":"Todos los equipos","times":{"today":"Hoy","week":"Esta semana","month":"Este mes","year":"Este año","all":"Todos los años","created_at":"Subida el","datetime":"Tomada el"}}')},"1Ttm":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.profile-percent[data-v-79f52017] {\n font-size: 3em;\n font-weight: 600;\n margin-right: 0.5em;\n}\n.profile-stat-card[data-v-79f52017] {\n flex: 1;\n display: flex;\n text-align: center;\n}\n.profile-stat-card img[data-v-79f52017] {\n height: 3em;\n margin: auto 1em auto 0;\n}\n.profile-stat[data-v-79f52017] {\n font-size: 1.5em;\n font-weight: 600;\n}\n.profile-text[data-v-79f52017] {\n color: #1DD3B0 !important;\n}\n\n",""])},"1W/y":function(t,e,n){"use strict";var i=n("IhEX");n.n(i).a},"1ZSq":function(t,e,n){"use strict";var i=n("8RtP");n.n(i).a},"1k10":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".grid-container[data-v-65329fa1] {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-column-gap: 1em;\n grid-row-gap: 1em;\n padding-bottom: 2em;\n}\n@media screen and (max-width: 1000px) {\n.grid-container[data-v-65329fa1] {\n grid-template-columns: 1fr 1fr;\n grid-row-gap: 2em !important;\n}\n}\n@media screen and (max-width: 600px) {\n.grid-container[data-v-65329fa1] {\n grid-template-columns: 1fr;\n grid-row-gap: 2em !important;\n}\n}",""])},"1lel":function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Esto volverá más tarde","claim-tokens":"Si quieres simplemente reclamar tus tokens y acceder a tu monedero desde otro lugar, introduce el ID de tu monedero y se te enviarán tus ganancias."}')},"1rPI":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Dashboard","join-a-team":"Join a Team","create-a-team":"Create a Team","your-teams":"Yours Teams","leaderboard":"Leaderboard","settings":"Settings","teams-dashboard":"Teams Dashboard","photos-uploaded":"Photos uploaded","litter-tagged":"Litter tagged","members-uploaded":"Team members uploaded","all-teams":"All Teams","times":{"today":"Today","week":"This week","month":"This month","year":"This year","all":"All time","created_at":"Uploaded at","datetime":"Taken at"}}')},"1rbm":function(t){t.exports=JSON.parse('{"maps1":"We are creating Open Data on Plastic Pollution","maps2":"Anyone can download the data and use it.","maps3":"See Global Map","global-leaderboard":"Global Leaderboard","position":"Position","name":"Name","xp":"XP","social":"Social","previous-target":"Previous Target","next-target":"Next Target","litter":"Litter","total-verified-litter":"Total Litter","total-verified-photos":"Total Photos","total-littercoin-issued":"Total Littercoin","number-of-contributors":"Number of Contributors","avg-img-per-person":"Average Image per Person","avg-litter-per-person":"Average Litter per Person","leaderboard":"Leaderboard","time-series":"Time-series","options":"Options","most-data":"Most Litter Tags","most-data-person":"Most Litter Tags Per Person","download-open-verified-data":"Free and Open Verified Citizen Science Data on Plastic Pollution.","stop-plastic-ocean":"Let\'s stop plastic going into the ocean.","enter-email-sent-data":"Please enter an email address to which the data will be sent:"}')},"1tOW":function(t){t.exports=JSON.parse('{"description":"These links will appear in every photo you\'ve uploaded, on the Global Map. Please provide full URLs.","personal-website":"Personal Website","personal-website-url":"Personal Website URL"}')},"1xvw":function(t,e,n){"use strict";var i=n("3W49");n.n(i).a},"1zmp":function(t,e,n){"use strict";var i=n("D4Tw");n.n(i).a},"2/C0":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.ctc[data-v-82c06a6a] {\n margin-top: 1em;\n margin-left: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.ctc[data-v-82c06a6a] {\n margin-top: 0;\n margin-left: 0;\n}\n}\n",""])},"2/FA":function(t){t.exports=JSON.parse('{"what-about-litter":"Mi a helyzet a szeméttel?","about2":"Jelenleg több billió műanyag végű cigarettacsikk juttat mérgező vegyszereket és mikroműanyagokat a környezetbe.","about3":"Az eredmény?","about4":"Hatalmas mennyiségű nikotin és más mérgező vegyi anyagok szabadulnak fel.","about5":"Ezek a mérgező vegyszerek biológiailag felhalmozódnak különböző növényekben és állatokban. Egy részét megegyük.","about6":"Ez a környezetvédelmi vészhelyzet az orrunk előtt van.","about7":"Segíthet nekünk a probléma megoldásában, ha hozzájárul az OpenLitterMaphez.","about8":"Csak készítsen egy fényképet, címkézze meg és töltse fel.","about9":"Segíteni akarok!","about9a":"Csak fényképezzen","about9b":"Jelölje meg a szemetet","about9c":"Töltsd fel","about10":"Évente több millió tonna műanyag kerül a szárazföldről a tengerbe.","about11":"Ahol lényegesen károsabbá, nehezebbé és drágábbá válik az eltávolítása.","about12":"A \\"városi takarítás\\" illúzióját","about13":"infrastrukturális kialakítása segíti elő.","about14":"Az OpenLitterMap adatok","about14a":"Nyitott Adatok","about14b":"Ez azt jelenti, hogy az adatokat bárki ingyenesen letöltheti, és bármilyen célra felhasználhatja, engedély nélkül.","about15":"A nyílt adatok elengedhetetlenek ahhoz, hogy átláthatóságot, demokráciát és elszámoltathatóságot teremtsenek a szennyezéssel foglalkozó tudomány számára. Ellenkező esetben ki használhatja fel az adatokat?","about16":"Az OpenLitterMap olyan eszközökkel ruházza fel Önt, amelyek segítségével polgári tudósokká válhat.","about17":"Ön most fel van hatalmazva arra, hogy hozzájáruljon a világunkról szóló térinformatikai ismeretek előállításához. Így képes lesz átalakítani az állami és intézményi magatartást.","about17a":"Adataink a tér, az idő, a hely és a viselkedés alapján vannak leképezve.","about17b":"Nézze meg ezt a hihetetlen szabad és nyílt adatot arról a szennyezésről, amelyet néhány globális vállalat termékei okoznak.","about17c":"Szeretné letölteni az adatokat?","about18":"A térinformatikai ismeretek előállítását egykor kizárólag nagyobb intézmények és hatalmi emberek végezték.","about19":"Mint polgári tudós, ","about20":"tudást teremthetsz. ","about21":"Ez egy paradigmaváltás a világunkról ismert földrajzi információk létrehozásának módjában.","about22":"Hogyan lehet segíteni:","about23":"Csatlakozz ma!","about24":"Engedélyezze a földrajzi címkézést az eszközön. Az erre vonatkozó utasításokat egy üdvözlő e-mailben küldjük ki, amikor regisztrál.","about25":"Egyetlen cigarettacsikktől egy teljes strand vagy utca tisztaságáig bármit leképezhet 1 fotón.","about26":"Ha túl sok az szemét, és az nem megszámlálható, egyszerűen használja a Szemétlerakó kategóriát, és értékelje a területet 1-100 között, vagy válassza a \\"Véletlenszerű szemét\\" lehetőséget az \\"Egyéb\\" kategóriában","about27":"Ha igazán erőteljes térképeket szeretne készíteni, készítsen annyi fényképet, amennyit csak tud. Vagy ha nincs időd, tetszőleges számú szemetet jelölhet be egyetlen fényképen.","about28":"Az ellenőrzött képek és tartalmak automatikusan hozzáadódnak az adatbázishoz, mennyiségileg és térinformatikailag elemezve, nyilvánosan megtekinthetők, hogy a világ lássa!","about29":"Segítsen nekünk kommunikálni a problémákat és a megoldásokat, hogy megakadályozzuk a műanyag óceánba jutását.","about29a":"Ha tetszik munkánk és támogatni szeretnéd, csatlakozz a közösségi támogatáshoz","about30":"Csatlakozzon az Open Litter Map-hez, hogy elérjünk egy világot ahol kevesebb van","about301":"ebből","about302":"és ebből...","about31":"Csak 2010-ben a becslések szerint legalább 8 millió tonna műanyag került az óceánba. Ez átlagosan 916 tonna óránként.","about32":"Példák abból, ami az óceánokban lebeg","about33":"A műanyagszennyezés jelenleg évente körülbelül 1 millió madár és 100 000 tengeri emlős haláláért felelős.","about34":"2025-re az óceánba kerülő műanyag mennyisége várhatóan 70 millió tonnára fog növekedni, feltételezve, hogy a jelenlegi tendenciák folytatódnak.","about35":"Segíteni akarok!"}')},"22Q+":function(t,e,n){"use strict";var i=n("2AZE");n.n(i).a},2524:function(t,e,n){"use strict";var i=n("o0o1"),r=n.n(i),a={name:"ImageUploaded",props:["payload"],data:function(){return{dir:"/assets/icons/flags/"}},methods:{countryFlag:function(t){return t?this.dir+t.toLowerCase()+".png":""}},computed:{country:function(){var t;return(null===(t=this.payload.country)||void 0===t?void 0:t.includes("error_"))?null:this.payload.country},state:function(){var t;return(null===(t=this.payload.state)||void 0===t?void 0:t.includes("error_"))?null:this.payload.state},city:function(){var t;return(null===(t=this.payload.city)||void 0===t?void 0:t.includes("error_"))?null:this.payload.city},cityText:function(){var t=[this.city,this.state].filter((function(t){return t})).join(", ");return t&&this.country&&(t+=", "),t},photoSource:function(){return"web"===this.payload.photoSource?"fa-desktop":"fa-mobile large-icon"}}},o=(n("1W/y"),n("KHd+")),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"event",on:{click:function(e){return t.$emit("click",e)}}},[n("div",{staticClass:"top-heading"},[t.payload.countryCode?n("img",{attrs:{src:t.countryFlag(t.payload.countryCode),alt:t.payload.countryCode}}):n("i",{staticClass:"fa fa-image fa-2x"}),t._v(" "),n("div",[n("p",{staticClass:"event-bold"},[t.payload.isPickedUp?n("span",[t._v(t._s(t.$t("home.globalMap.litter-picked-up")))]):n("span",[t._v(t._s(t.$t("home.globalMap.litter-uploaded")))])]),t._v(" "),n("p",{staticClass:"event-location"},[n("i",{staticClass:"city-name"},[t._v(t._s(t.cityText))]),t._v(t._s(t.country)+"\n ")])]),t._v(" "),n("div",{staticClass:"event-source"},[n("i",{staticClass:"fa",class:t.photoSource})])]),t._v(" "),t.payload.user.name||t.payload.user.username?n("p",[t._v("\n "+t._s(t.$t("locations.cityVueMap.by"))+"\n "),n("span",{staticClass:"event-bold"},[t._v("\n "+t._s(t.payload.user.name)+"\n "+t._s(t.payload.user.username?"@"+t.payload.user.username:"")+"\n ")])]):t._e(),t._v(" "),t.payload.teamName?n("p",{staticClass:"event-team"},[t._v("\n "+t._s(t.$t("common.team"))+"\n "),n("span",{staticClass:"event-bold"},[t._v(t._s(t.payload.teamName))])]):t._e()])}),[],!1,null,"6e086e0b",null).exports,l={name:"GlobalMapNotification",props:{color:{type:String,default:"green"}}},u=(n("zSMp"),Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"event",class:"event-"+t.color,on:{click:function(e){return t.$emit("click",e)}}},[n("div",{staticClass:"event-image"},[t._t("image")],2),t._v(" "),n("div",{staticClass:"event-content"},[t._t("content")],2)])}),[],!1,null,"5804c808",null).exports),c={name:"NewCountryAdded",components:{GlobalMapNotification:u},props:["payload"]},h=(n("Ds3t"),Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"blue"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-flag fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-country")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("i",[t._v(t._s(t.payload.country))])])]},proxy:!0}])})}),[],!1,null,"3c640beb",null).exports),d={name:"NewStateAdded",components:{GlobalMapNotification:u},props:["payload"]},p=(n("UWLc"),Object(o.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"blue"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-flag fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-state")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("i",[t._v(t._s(t.payload.state))])])]},proxy:!0}])})}),[],!1,null,"6749f36b",null).exports),f={name:"NewCityAdded",components:{GlobalMapNotification:u},props:["payload"]},m=(n("YNJU"),Object(o.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"blue"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-flag fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-city")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("i",[t._v(t._s(t.payload.city))])])]},proxy:!0}])})}),[],!1,null,"2ea11f5d",null).exports),g={name:"UserSignedUp",props:["payload"],components:{GlobalMapNotification:u}},v=(n("bbbQ"),Object(o.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"yellow"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-user fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("strong",[t._v(t._s(t.$t("home.globalMap.new-user")))]),t._v(" "),n("p",[t._v(t._s(t.$t("home.globalMap.user-signed-up")))])]},proxy:!0}])})}),[],!1,null,"7e4fd7ef",null).exports),y={name:"TeamCreated",components:{GlobalMapNotification:u},props:["payload"]},_=(n("uKBK"),Object(o.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("GlobalMapNotification",{attrs:{color:"colourful"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"image",fn:function(){return[n("div",{staticClass:"-mt-2"},[n("i",{staticClass:"fa fa-users fa-fw"})])]},proxy:!0},{key:"content",fn:function(){return[n("p",[t._v(t._s(t.$t("home.globalMap.team-created")))]),t._v(" "),n("i",[t._v(t._s(t.$t("home.globalMap.say-hello-to"))+" "),n("strong",[t._v(t._s(t.payload.teamName))]),t._v("!")])]},proxy:!0}])})}),[],!1,null,"7a7fd8e6",null).exports),b={name:"LittercoinMined",components:{GlobalMapNotification:u},props:["payload"],methods:{getLittercoinReason:function(t){return"verified-box"===t?this.$i18n.t("home.globalMap.littercoin-100-boxes-verified"):"100-images-verified"===t?this.$i18n.t("home.globalMap.littercoin-100-verified"):void 0}}},w=(n("G3Ch"),{name:"CleanupCreated",props:["payload"],components:{GlobalMapNotification:u}});function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function k(t){for(var e=1;e0?"("+this.events.length+") OpenLitterMap":"OpenLitterMap"}}},I=(n("22Q+"),Object(o.a)(L,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-menu scrollbar-hidden"},[n("transition-group",{attrs:{name:"list",mode:"out-in"}},t._l(t.events,(function(e,i){return n("span",{key:e.id,staticClass:"list-item"},[n(e.type,{tag:"component",attrs:{payload:e.payload},on:{click:function(n){return t.click(e,i)}}})],1)})),0)],1)}),[],!1,null,null,null).exports),O=n("YFMt"),A=n("4R65"),M=n.n(A),z=(n("tmUW"),n("UZfx")),N=n.n(z),D=n("gBxo"),R=function(){M.a.Control.Select=M.a.Control.extend({options:{position:"topright",iconMain:"≡",iconChecked:"◉",iconUnchecked:"ⵔ",iconGroupChecked:"▶",iconGroupUnchecked:"⊳",multi:!1,items:[],id:"",selectedDefault:!1,additionalClass:"",onOpen:function(){},onClose:function(){},onGroupOpen:function(t){},onSelect:function(t){}},initialize:function(t){var e=this;this.menus=[],M.a.Util.setOptions(this,t);var n=this.options;this.options.items.forEach((function(t){t.label||(t.label=t.value)})),n.multi?n.selectedDefault=n.selectedDefault instanceof Array?n.selectedDefault:[]:n.selectedDefault=n.selectedDefault||n.items instanceof Array&&n.items.length>0&&n.items[0].value,this.state={selected:n.selectedDefault,open:!1};this.options.items.map((function(t){t.parent="top",function t(n){e._isGroup(n)&&n.items.map((function(e){e.parent=n.value,t(e)}))}(t)}));var i=function t(n){n.children=function t(n){var i=[];return e._isGroup(n)&&n.items.map((function(e){i.push(e.value),i=i.concat(t(e))})),i}(n),e._isGroup(n)&&n.items.map((function(e){t(e)}))};this.options.items.map((function(t){i(t)}))},onAdd:function(t){this.map=t;var e=this.options;this.container=M.a.DomUtil.create("div","leaflet-control leaflet-bar leaflet-control-select"),this.container.setAttribute("id",e.id);var n=M.a.DomUtil.create("a","leaflet-control-button ",this.container);return n.innerHTML=e.iconMain,t.on("click",this._hideMenu,this),M.a.DomEvent.on(n,"click",M.a.DomEvent.stop),M.a.DomEvent.on(n,"click",this._iconClicked,this),M.a.DomEvent.disableClickPropagation(this.container),M.a.DomEvent.disableScrollPropagation(this.container),this.render(),this.container},_emit:function(t,e){var n={};switch(t){case"ITEM_SELECT":this.options.multi?(n.selected=this.state.selected.slice(),this.state.selected.includes(e.item.value)?n.selected=n.selected.filter((function(t){return t!==e.item.value})):n.selected.push(e.item.value)):n.selected=e.item.value,n.open=e.item.parent;break;case"GROUP_OPEN":n.open=e.item.value;break;case"GROUP_CLOSE":n.open=e.item.parent;break;case"MENU_OPEN":n.open="top";break;case"MENU_CLOSE":n.open=!1}this._setState(n),this.render()},_setState:function(t){this.options.onSelect&&t.selected&&(this.options.multi&&t.selected.length!==this.state.selected.length||!this.options.multi&&t.selected!==this.state.selected)&&this.options.onSelect(t.selected),this.options.onGroupOpen&&t.open&&t.open!==this.state.open&&this.options.onGroupOpen(t.open),this.options.onOpen&&"top"===t.open&&this.options.onOpen(),this.options.onClose&&!t.open&&this.options.onClose(),this.state=Object.assign(this.state,t)},_isGroup:function(t){return"items"in t},_isSelected:function(t){var e=this.state.selected;return!!e&&(this._isGroup(t)?"children"in t&&(this.options.multi?e.find((function(e){return t.children.includes(e)})):t.children.includes(e)):this.options.multi?e.indexOf(t.value)>-1:e===t.value)},_isOpen:function(t){var e=this.state.open;return e&&(e===t.value||t.children.includes(e))},_hideMenu:function(){this._emit("MENU_CLOSE",{})},_iconClicked:function(){this._emit("MENU_OPEN",{})},_itemClicked:function(t){this._isGroup(t)?this.state.open===t.value?this._emit("GROUP_CLOSE",{item:t}):this._emit("GROUP_OPEN",{item:t}):this._emit("ITEM_SELECT",{item:t})},_renderRadioIcon:function(t,e){M.a.DomUtil.create("span","radio icon",e).innerHTML=t?this.options.iconChecked:this.options.iconUnchecked},_renderGroupIcon:function(t,e){M.a.DomUtil.create("span","group icon",e).innerHTML=t?this.options.iconGroupChecked:this.options.iconGroupUnchecked},_renderItem:function(t,e){var n=this,i=this._isSelected(t),r=M.a.DomUtil.create("div","leaflet-control-select-menu-line",e),a=M.a.DomUtil.create("div","leaflet-control-select-menu-line-content",r);return M.a.DomUtil.create("span","text",a).innerHTML=t.label,this._isGroup(t)?(this._renderGroupIcon(i,a),M.a.DomUtil.addClass(r,"group"),this._isOpen(t)&&M.a.DomUtil.addClass(r,"group-opened"),this._isOpen(t)&&this._renderMenu(r,t.items)):this._renderRadioIcon(i,a),M.a.DomEvent.addListener(a,"click",(function(e){n._itemClicked(t)})),r},_renderMenu:function(t,e){var n=this,i=M.a.DomUtil.create("div","leaflet-control-select-menu leaflet-bar ",t);this.menus.push(i),e.map((function(t){n._renderItem(t,i)}))},_clearMenus:function(){this.menus.map((function(t){return t.remove()})),this.meus=[]},render:function(){this._clearMenus(),this.state.open&&this._renderMenu(this.container,this.options.items)},close:function(){this._hideMenu()}}),M.a.control.select=function(t){return new M.a.Control.Select(t)}};function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function F(t){for(var e=1;e'+t.properties.point_count_abbreviated+"",className:"marker-cluster-"+i,iconSize:M.a.point(40,40)});return M.a.marker(e,{icon:r})}function tt(){W&&(T.removeControl($),W=!1),Y||((G=M.a.control.layers(null,null).addTo(T)).addOverlay(E,"Global"),G.addOverlay(S,"Litter Art"),G.addOverlay(q,"Cleanups"),Y=!0)}function et(){if(Y&&(T.removeControl(G),Y=!1),!W){var t={Alcohol:new M.a.LayerGroup,Brands:new M.a.LayerGroup,Coastal:new M.a.LayerGroup,Coffee:new M.a.LayerGroup,Dumping:new M.a.LayerGroup,Food:new M.a.LayerGroup,Industrial:new M.a.LayerGroup,Other:new M.a.LayerGroup,PetSurprise:new M.a.LayerGroup,Sanitary:new M.a.LayerGroup,Smoking:new M.a.LayerGroup,SoftDrinks:new M.a.LayerGroup};$=M.a.control.layers(null,t).addTo(T),W=!0}}function nt(t,e){t.properties.cluster&&e.on("click",(function(t){var e=T.getZoom()+O.f>O.c?O.c:T.getZoom()+O.f;T.flyTo(t.latlng,e,{animate:!0,duration:2})}))}function it(t,e){e.on("click",(function(e){T.flyTo(t.geometry.coordinates,14,{animate:!0,duration:10});var n=new URL(window.location.href);n.searchParams.set("lat",t.geometry.coordinates[0]),n.searchParams.set("lon",t.geometry.coordinates[1]),n.searchParams.set("zoom",O.a),n.searchParams.set("photo",t.properties.photo_id),M.a.popup(D.a.popupOptions).setLatLng(t.geometry.coordinates).setContent(D.a.getMapImagePopupContent(t.properties,n.toString())).openOn(T)}))}function rt(t,e){e.on("click",(function(e){var n=[t.geometry.coordinates[1],t.geometry.coordinates[0]];T.flyTo(n,14,{animate:!0,duration:10});var i=D.a.getCleanupContent(t.properties,H);M.a.popup(D.a.popupOptions).setLatLng(n).setContent(i).openOn(T)}))}function at(){var t=[];return $._layerControlInputs.forEach((function(e,n){if(e.checked){var i="petsurprise"===$._layers[n].name.toLowerCase()?"dogshit":$._layers[n].name.toLowerCase();t.push(i)}})),t.length>0?t:null}var ot={name:"Supercluster",components:{LiveEvents:I},props:{activeLayer:{default:"clusters",required:!1}},data:function(){return{visiblePoints:[]}},mounted:function(){var t,e,n;window.olm_map=this,(T=M.a.map("openlittermap",{center:[0,0],zoom:O.e,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1})).scrollWheelZoom=!0,this.flyToLocationFromURL();var i=(new Date).getFullYear();if(M.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:O.c,minZoom:O.e}).addTo(T),T.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+i+" Clustering @ MapBox"),E=M.a.geoJSON(null,{pointToLayer:Q,onEachFeature:nt}),(null===(t=this.$store.state.globalmap.geojson)||void 0===t?void 0:t.features)&&E.addData(this.$store.state.globalmap.geojson.features),"clusters"===this.activeLayer&&E.addTo(T),S=M.a.geoJSON(null,{pointToLayer:J,onEachFeature:it}),(null===(e=this.$store.state.globalmap)||void 0===e||null===(n=e.artData)||void 0===n?void 0:n.features)&&S.addData(this.$store.state.globalmap.artData.features),this.$store.state.cleanups.geojson&&(q=M.a.geoJSON(this.$store.state.cleanups.geojson,{onEachFeature:rt,pointToLayer:K})),"cleanups"===this.activeLayer&&(q.addTo(T),T.on("click",(function(t){var e=t.latlng.lat,n=t.latlng.lng;window.olm_map.$store.commit("setCleanupLocation",{lat:e,lng:n})})),this.$route.params.hasOwnProperty("invite_link"))){var r=this.$store.state.cleanups.cleanup,a=[r.lat,r.lon];T.flyTo(a,16,{animate:!0,duration:5});var o=this.$store.state.user.auth?this.$store.state.user.user.id:null;M.a.popup(D.a.popupOptions).setLatLng(a).setContent(D.a.getCleanupContent(r,o)).openOn(T)}this.$store.state.user.auth&&(H=this.$store.state.user.user.id),T.on("moveend",this.update),tt(),T.on("overlayadd",this.update),T.on("overlayremove",this.update),T.on("popupopen",D.a.scrollPopupToBottom),T.on("popupclose",(function(){var t=new URL(window.location.href);t.searchParams.delete("photo"),window.history.pushState(null,"",t)})),T.on("zoom",(function(){var t;(null===(t=P)||void 0===t?void 0:t.remove)&&P.remove()})),this.setupYearDropdown()},methods:{update:function(){var t,e=this;return(t=r.a.mark((function t(){var n,i,a,o,s,l,u,c,h,d;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.updateLocationInURL(),n=T.getBounds(),i={left:n.getWest(),bottom:n.getSouth(),right:n.getEast(),top:n.getNorth()},2!==(a=Math.round(T.getZoom()))||a!==V){t.next=6;break}return t.abrupt("return");case 6:if(3!==a||a!==V){t.next=8;break}return t.abrupt("return");case 8:if(4!==a||a!==V){t.next=10;break}return t.abrupt("return");case 10:if(5!==a||a!==V){t.next=12;break}return t.abrupt("return");case 12:if(P&&(E.clearLayers(),P.remove()),o=new URLSearchParams(window.location.search),s=parseInt(o.get("year"))||null,l=o.get("fromDate")||null,u=o.get("toDate")||null,c=o.get("username")||null,!(a85?0:e,n=n<-180||n>180?0:n,i=i<2||i>18?O.e:i,0===e&&0===n&&2===i||this.flyToLocation({latitude:e,longitude:n,zoom:i,photoId:r})},updateUrlPhotoIdAndFlyToLocation:function(t){var e=Math.round(T.getZoom()),n=new URL(window.location.href);n.searchParams.set("photo",t.photoId),window.history.pushState(null,"",n);var i=T.distance(T.getCenter(),[t.latitude,t.longitude]);e>=O.a&&i<=2e3?this.flyToLocation(F(F({},t),{},{duration:1})):this.flyToLocation(t)},flyToLocation:function(t){var e,n=[t.latitude,t.longitude],i=t.photoId&&Math.round(t.zoom)=2017;e--)t.push({label:e.toString(),value:e.toString()});var n=parseInt(new URLSearchParams(window.location.search).get("year"))||"*";M.a.control.select({position:"topleft",selectedDefault:n.toString(),items:t,onSelect:function(t){var e=new URL(window.location.href);"*"===t?e.searchParams.delete("year"):e.searchParams.set("year",t),window.history.pushState(null,"",e),window.location.reload()}}).addTo(T)}}},st=(n("vYUr"),n("elOy"),Object(o.a)(ot,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"h100"},[e("div",{ref:"openlittermap",attrs:{id:"openlittermap"}}),this._v(" "),e("LiveEvents",{on:{"fly-to-location":this.updateUrlPhotoIdAndFlyToLocation}})],1)}),[],!1,null,null,null));e.a=st.exports},"2AZE":function(t,e,n){var i=n("3jFI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"2GZd":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".section-social[data-v-d3742836] {\n background-color: #094C54;\n}\n.section-social .social-links[data-v-d3742836] {\n display: grid;\n grid-gap: 3rem;\n grid-template-columns: repeat(auto-fit, minmax(75px, 2fr));\n}\n.section-social .social-card[data-v-d3742836] {\n background-color: transparent;\n}\n.section-social .social-card[data-v-d3742836]:hover {\n transform: scale(1.05);\n}\n@media screen and (min-width: 1280px) {\n.section-social .social-links[data-v-d3742836] {\n width: 100%;\n max-width: 1000px;\n margin: auto;\n justify-content: center;\n}\n}",""])},"2Nds":function(t){t.exports=JSON.parse('{"title":"Ajude-nos a mudar o mundo.","subtitle":"Estamos crescendo a cada dia","photos-last-30-days":"Fotos enviadas nos últimos 30 dias","users-last-30-days":"Novos usuários nos últimos 30 dias","litter-tags-last-30-days":"Tags marcada nos últimos 30 dias","photos-every-month-label":"Fotos enviadas todos os meses","users-every-month-label":"Novos usuários todos os meses","zoom-text":"Junte-se a nós nas {link}, onde ouvimos muitas novas ideias e sugestões de nossa crescente comunidade global. Toda semana, nossos usuários compartilham seus comentários, o que sempre ajuda a tornar nosso aplicativo mais fácil e melhor de usar. Ajude a moldar a direção futura de nossa plataforma de coleta de dados de código aberto e monitoramento ambiental. A chamada começa em:","zoom-weekly-calls":"chamadas semanais do Zoom às 18h. GMT (horário de Dublin/Londres/Lisboa) toda quinta-feira","zoom-live":"Ao Vivo","zoom-days":"dia | dias","zoom-hours":"hora | horas","zoom-minutes":"minuto | minutos","slack-text":"O {slack} é nosso principal meio de comunicação e colaboração. Usuários avançados, recém-chegados, desenvolvedores, uma comunidade de mais de 400 membros - estamos todos lá. Envie-nos uma linha e você receberá uma resposta instantânea, estamos online o tempo todo.","fundraiser-text":"OpenLitterMap é totalmente dependente de doações. Criamos uma {link} e ainda estamos longe do nosso objetivo. Todas as contribuições são bem-vindas. {emoji}","fundraiser-link":"campanha de arrecadação de fundos do GoFundMe"}')},"2Uk4":function(t){t.exports=JSON.parse('{"card-number":"Card Number","card-holder":"Card Holder\'s Name","exp":"Expiration Date","cvv":"CVV","placeholders":{"card-number":"Your 16 digit card number","card-holder":"Card holder\'s name","exp-month":"Month","exp-year":"Year","cvv":"***"}}')},"2fOW":function(t){t.exports=JSON.parse('{"email-you":"Szeretné, ha időnként e-mailt küldenénk jó hírekkel","subscribe":"Iratkozz fel","subscribed-success-msg":"Feliratkoztál a jó hírekre! Bármikor leiratkozhatsz","need-your-help":"Az Ön segítségére van szükségünk a világ legfejlettebb és legelérhetőbb környezetszennyezési adatbázisának létrehozásához","read":"OLVASD EL","blog":"Blog","research-paper":"Kutatási dokumentumok","watch":"NÉZD MEG","help":"SEGÍTSÉG","join-the-team":"Csatlakozz a Csapathoz","join-slack":"Csatlakozz a Slackhez","create-account":"Fiók létrehozása","fb-group":"Facebook csoport","single-donation":"Egyszeri adományozás","crowdfunding":"Közösségi Támogatás","olm-is-flagship":"Az OpenLitterMap a GeoTech Innovations Ltd., egy írországi startup zászlóshajója, amely úttörő alapvető állampolgári tudományos szolgáltatásokat nyújt #650323","enter-email":"írd be az email címed","references":"Hivatkozások","credits":"Közreműködtek","contact-us":"Lépjen kapcsolatba velünk"}')},"2osq":function(t){t.exports=JSON.parse('{"taken-on":"Prise à","with-a":"Avec un/une","by":"Par","meter-hex-grids":"grilles hexagonales de compteurs","hover-to-count":"Survoler pour compter","pieces-of-litter":"Morceaux de déchets","hover-polygons-to-count":"Survoler les polygones pour compter"}')},"30qX":function(t){t.exports=JSON.parse('{"do-you-pickup":"zdbierasz śmieci, czy je tam zostawiasz?","save-def-settings":"Tutaj możesz zapisać swoje domyślne ustawienie.","change-value-of-litter":"Możesz także zmienić wartość każdego odpadu podczas ich oznaczania.","status":"Aktualny status","toggle-presence":"Przełącz obecność","pickup?":"zbierz?"}')},"36AV":function(t,e,n){"use strict";var i=n("A5jf");n.n(i).a},"36z2":function(t){t.exports=JSON.parse('{"change-details":"Személyes adatok módosítása","your-name":"Neved","unique-id":"Egyedi Azonosító","email":"Email","update-details":"Adatok Frissítése"}')},"3Fuk":function(t,e,n){"use strict";var i=n("PFQ8");n.n(i).a},"3L/Y":function(t){t.exports=JSON.parse('{"new-image":"Picha Mpya","new-user":"Mtumiaji mpya","new-country":"Nchi mpya","new-state":"Jimbo jipya","new-city":"Jiji jipya","user-signed-up":"Mtumiaji mpya amejiandikisha!","say-hello-to":"Msalimie","littercoin-mined":"Littercoin imechimbwa!","littercoin-100-boxes-verified":"Sanduku 100 za OpenLitterAI zimethibitishwa","littercoin-100-verified":"Picha 100 zimethibitishwa","team-created":"Timu mpya imeundwa!","litter-picked-up":"Takataka imeokotwa","litter-uploaded":"Takataka Imewekwa kwenye ramani"}')},"3PcX":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.medal-container[data-v-0320b80a] {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative\n}\n.medal[data-v-0320b80a] {\n height: 1em;\n position: absolute;\n left: 2em;\n}\n.my-teams-container[data-v-0320b80a] {\n padding: 0 1em;\n}\n.team-active[data-v-0320b80a] {\n background-color: #2ecc71;\n padding: 0.5em 1em;\n border-radius: 10px;\n}\n.team-inactive[data-v-0320b80a] {\n background-color: #e67e22;\n padding: 0.5em 1em;\n border-radius: 10px;\n}\n.team-action[data-v-0320b80a] {\n border-radius: 5px;\n}\n.is-primary-row[data-v-0320b80a] {\n background-color: #00c4a730;\n}\n.disable-teams-tooltip[data-v-0320b80a] {\n width: 250px;\n white-space: initial;\n}\n.active-team-indicator[data-v-0320b80a] {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n@media (max-width: 640px) {\n.active-team-indicator[data-v-0320b80a] {\n flex-direction: column;\n}\n.active-team-indicator .button[data-v-0320b80a] {\n max-width: -webkit-min-content;\n max-width: -moz-min-content;\n max-width: min-content;\n margin-bottom: 2em;\n}\n.my-teams-container[data-v-0320b80a] {\n padding: 0;\n}\n}\n\n",""])},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3W49":function(t,e,n){var i=n("Eovg");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"3jFI":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".list-enter-active {\n transition: all 1s ease;\n}\n.list-leave-active {\n transition: all 0.3s ease;\n}\n.list-move {\n transition: transform 1s ease-in-out;\n}\n.list-enter, .list-leave-to {\n transform: translateX(100px);\n opacity: 0;\n}\n.list-item {\n display: grid;\n}\n.sidebar-menu {\n position: absolute;\n top: 70px;\n right: 10px;\n width: 20rem;\n max-height: 80vh;\n overflow-y: scroll;\n z-index: 999;\n font-size: 0.8rem;\n}\n.sidebar-menu .event {\n width: 20rem;\n}\n.grid-img {\n padding: 16px;\n}\n.grid-main {\n padding-top: 10px;\n padding-bottom: 10px;\n}\n@media (max-width: 1024px) {\n.sidebar-menu {\n width: 16rem;\n font-size: 0.7rem;\n}\n.sidebar-menu .event {\n width: 16rem;\n}\n.grid-img {\n padding: 12px;\n}\n.grid-main {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n}\n@media (max-width: 768px) {\n.sidebar-menu {\n width: 12rem;\n}\n.sidebar-menu .event {\n width: 12rem;\n}\n}\n@media (max-width: 640px) {\n.sidebar-menu {\n width: 10rem;\n max-height: 74vh;\n font-size: 0.6rem;\n}\n.sidebar-menu .event {\n width: 10rem;\n}\n}\n.sidebar-title {\n padding: 20px;\n text-align: center;\n font-size: 24px;\n font-weight: 700;\n}",""])},"3nVL":function(t,e,n){"use strict";var i=n("sVoB");n.n(i).a},"3vLD":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".fa-users[data-v-52fe9a19] {\n font-size: 1.75rem !important;\n}\n.team-flex[data-v-52fe9a19] {\n display: flex;\n margin-bottom: 1em;\n cursor: pointer;\n}\n.teams-left-col[data-v-52fe9a19] {\n background-color: #232d3f;\n min-height: calc(100vh - 70px);\n padding-left: 2em;\n color: #d3d8e0;\n}\n.teams-icon[data-v-52fe9a19] {\n margin: auto 1em auto 0;\n font-size: 2em;\n}\n.teams-title[data-v-52fe9a19] {\n font-size: 1.75rem;\n font-family: sans-serif;\n margin-top: 1em;\n margin-bottom: 1em;\n}\n@media (max-width: 575.98px) {\n.columns[data-v-52fe9a19] {\n margin-right: 0;\n}\n.teams-left-col[data-v-52fe9a19] {\n background-color: #232d3f;\n height: auto;\n min-height: auto;\n padding-left: 2em;\n color: #d3d8e0;\n}\n.mobile-teams-padding[data-v-52fe9a19] {\n padding-left: 1.5em;\n padding-bottom: 5em;\n}\n}",""])},"3xMu":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".hero-body[data-v-506fa15d] {\n flex-direction: column;\n}\n.section-stats[data-v-506fa15d] {\n background-color: #111827;\n}\n.section-stats .stats[data-v-506fa15d] {\n width: 100%;\n display: grid;\n grid-gap: 3rem;\n grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));\n}\n.section-stats .stats .stat[data-v-506fa15d] {\n background-color: transparent;\n}\n.section-stats .stats .stat .total[data-v-506fa15d] {\n font-size: 5rem;\n}\n.section-stats .stats .stat[data-v-506fa15d]:hover {\n transform: scale(1.05);\n}\n.section-stats .charts[data-v-506fa15d] {\n width: 100%;\n background-color: #111827;\n border-radius: 1rem;\n overflow: hidden;\n}\n.section-stats .charts .chart[data-v-506fa15d] {\n padding: 0.25rem;\n}\n@media screen and (min-width: 1280px) {\n.section-stats .stats[data-v-506fa15d] {\n max-width: 1000px;\n margin: auto;\n justify-content: center;\n}\n.section-stats .charts[data-v-506fa15d] {\n max-width: 1000px;\n margin: auto;\n justify-content: center;\n}\n.section-stats .charts .chart[data-v-506fa15d] {\n padding: 1rem;\n}\n}",""])},"4/9s":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".wrapper[data-v-2b52fd53] {\n padding: 1rem 0.5rem;\n}\n.leaderboard-heading[data-v-2b52fd53] {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 1rem;\n margin-bottom: 2rem;\n cursor: pointer;\n}\n.leaderboard-heading:hover .title[data-v-2b52fd53] {\n text-decoration: underline;\n}\n.leaderboard-heading:hover i[data-v-2b52fd53] {\n transform: translateX(-1rem);\n}\n.leaderboard-heading .title[data-v-2b52fd53] {\n margin-bottom: 0;\n}\n.leaderboard-heading i[data-v-2b52fd53] {\n font-size: 20px;\n transition: all 0.3s;\n}\n@media screen and (min-width: 768px) {\n.wrapper[data-v-2b52fd53] {\n padding: 3rem 1.5rem;\n}\n}",""])},"40O4":function(t){t.exports=JSON.parse('{"new-image":"New Image","new-user":"New User","new-country":"New Country","new-state":"New State","new-city":"New City","user-signed-up":"A new user has signed up!","say-hello-to":"Say hello to","littercoin-mined":"A Littercoin has been mined!","littercoin-100-boxes-verified":"100 OpenLitterAI boxes verified","littercoin-100-verified":"100 images verified","team-created":"A new Team has been created!","litter-picked-up":"Litter Picked Up","litter-uploaded":"Litter Mapped"}')},"4CRn":function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Kunst","brands":"Merken","coastal":"Kust","coffee":"Koffie","dumping":"Lozingen","food":"Voedsel","industrial":"Industrieel","sanitary":"Hygiëne","softdrinks":"Frisdrank","smoking":"Rookwaar","other":"Overig","dogshit":"Huisdieren","material":"Material"},"smoking":{"butts":"Sigaretten/Peuken","lighters":"Aanstekers","cigaretteBox":"Sigarettenpakje","tobaccoPouch":"Tabakszak","skins":"Vloeipapier","smoking_plastic":"Sigarettenpakplastic","filters":"Filters","filterbox":"Filterverpakking","vape_pen":"Vape pen","vape_oil":"Vape olie","smokingOther":"Rookwaar-Overig"},"alcohol":{"beerBottle":"Bier Flessen","spiritBottle":"Sterke Drank Flessen","wineBottle":"Wijn Flessen","beerCan":"Bier Blikken","brokenGlass":"Gebroken Glas","bottleTops":"Bierfles Doppen","paperCardAlcoholPackaging":"Papieren Verpakking","plasticAlcoholPackaging":"Plastic Verpakking","pint":"Bierglas","six_pack_rings":"Six-pack keelclips","alcohol_plastic_cups":"Plastic Bekers","alcoholOther":"Alcohol-Overig"},"art":{"item":"Zwerfvuil"},"coffee":{"coffeeCups":"Koffie Bekers","coffeeLids":"Koffie Deksels","coffeeOther":"Koffie-Overig"},"food":{"sweetWrappers":"Snoep Papiertjes","paperFoodPackaging":"Papier/Karton Verpakking","plasticFoodPackaging":"Plastic Verpakking","plasticCutlery":"Plastic Bestek","crisp_small":"Chips Verpakking (klein)","crisp_large":"Chips Verpakking (groot)","styrofoam_plate":"Piepschuim bord","napkins":"Servetten","sauce_packet":"Saus Bakjes","glass_jar":"Glazen Pot","glass_jar_lid":"Glazen Pot Deksel","aluminium_foil":"Aluminium folie","pizza_box":"Pizza Doos","foodOther":"Voedsel-Overig","chewing_gum":"Kauwgom"},"softdrinks":{"waterBottle":"Plastic Water Fles","fizzyDrinkBottle":"Plastic Frisdrank Fles","tinCan":"Blikje","bottleLid":"Fles Dop","bottleLabel":"Fles Label","sportsDrink":"Sportdrank Fles","straws":"Rietjes","plastic_cups":"Plastic Bekers","plastic_cup_tops":"Plastic Beker Deksel","milk_bottle":"Melk Fles","milk_carton":"Melk Karton","paper_cups":"Papieren Beker","juice_cartons":"Sap Karton","juice_bottles":"Sap Fles","juice_packet":"Juice Packet","ice_tea_bottles":"IJsthee Fles","ice_tea_can":"IJsthee Blikje","energy_can":"Energie Blikje","pullring":"Blik Lipje","strawpacket":"Rietjes Verpakking","styro_cup":"Piepschuim Beker","broken_glass":"Gebroken Glas","softDrinkOther":"Frisdrank-Overig"},"sanitary":{"gloves":"Handschoenen","facemask":"Mondkapje","condoms":"Condoom","nappies":"Luier","menstral":"Maandverband","deodorant":"Deodorant","ear_swabs":"Wattenstaaf","tooth_pick":"Tandenstoker","tooth_brush":"Tandenborstel","wetwipes":"Natte Doekjes","hand_sanitiser":"Hand Reiniger","sanitaryOther":"Hygiëne-Overig"},"dumping":{"small":"Klein","medium":"Middel","large":"Groot"},"industrial":{"oil":"Olie","industrial_plastic":"Plastic","chemical":"Chemicaliën","bricks":"Stenen","tape":"Plakband","industrial_other":"Industrieel-Overig"},"coastal":{"microplastics":"Microplastic","mediumplastics":"Middelplastics","macroplastics":"Grootplastics","rope_small":"Klein touw","rope_medium":"Middel touw","rope_large":"Groot touw","fishing_gear_nets":"Vistuig/net","ghost_nets":"Ghost nets","buoys":"Boei","degraded_plasticbottle":"Gedegradeerde Plastic Fles","degraded_plasticbag":"Gedegradeerde Plastic Tas","degraded_straws":"Gedegradeerde Rietjes","degraded_lighters":"Gedegradeerde Aanstekers","balloons":"Ballonnen","lego":"Lego","shotgun_cartridges":"Geweer Patronen","styro_small":"Piepschuim klein","styro_medium":"Piepschuim middel","styro_large":"Piepschuim groot","coastal_other":"Kust-Overig"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Hond bij Afval","littercat":"Kat bij Afval","duck":"Eend bij Afval"},"other":{"dogshit":"Hondendrol","pooinbag":"Hondendrol in zakje","automobile":"Auto","clothing":"Kleding","traffic_cone":"Verkeerspilon","life_buoy":"Levensboei","plastic":"Onbekend Plastic","dump":"Illegale Dumping","metal":"Metalen Object","plastic_bags":"Plastic Tas","election_posters":"Verkiezingsposter","forsale_posters":"Tekoop Poster","books":"Boeken","magazine":"Tijdschrift","paper":"Krant","stationary":"Briefpapier","washing_up":"Afwasmiddel Fles","hair_tie":"Haar Elastiek","ear_plugs":"Oordopjes (muziek)","batteries":"Batterijen","elec_small":"Elektrisch klein","elec_large":"Elektrisch groot","random_litter":"Willekeurig afval","balloons":"Ballonnen","bags_litter":"Vuilniszakken met afval","overflowing_bins":"Uitpuilende vuilnisbakken","tyre":"Band","cable_tie":"plastic binder (tie rip)","other":"Overig-Overig"},"presence":{"picked-up":"Ik heb het opgeruimd!","still-there":"Werd niet opgehaald!","picked-up-text":"Het is opgeruimd.","still-there-text":"Het afval is er nog!"},"no-tags":"Geen kenmerken","not-verified":"In afwachting van verificatie","not-tagged-yet":"Nog niet getagd!","dogshit":{"poo":"Hondendrol!","poo_in_bag":"Hondendrol in zakje!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},"4JY7":function(t,e,n){"use strict";function i(){return(i=Object.assign||function(t){for(var e=1;e0?Math.floor(t):Math.ceil(t)};function M(t,e,n){return t instanceof O?t:g(t)?new O(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,n)}function z(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>=e.x&&i.x<=n.x,o=r.y>=e.y&&i.y<=n.y;return a&&o},overlaps:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>=e.lat&&i.lat<=n.lat,o=r.lng>=e.lng&&i.lng<=n.lng;return a&&o},overlaps:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>e.lat&&i.late.lng&&i.lng1,Tt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),Et=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!Y("svg").createSVGRect),Pt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Lt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var It={ie:J,ielt9:K,edge:Q,webkit:tt,android:et,android23:nt,androidStock:rt,opera:at,chrome:ot,gecko:st,safari:lt,phantom:ut,opera12:ct,win:ht,ie3d:dt,webkit3d:pt,gecko3d:ft,any3d:mt,mobile:gt,mobileWebkit:vt,mobileWebkit3d:yt,msPointer:_t,pointer:bt,touch:wt,mobileOpera:xt,mobileGecko:kt,retina:Ct,passiveEvents:Tt,canvas:Et,svg:St,vml:Pt},Ot=_t?"MSPointerDown":"pointerdown",At=_t?"MSPointerMove":"pointermove",Mt=_t?"MSPointerUp":"pointerup",zt=_t?"MSPointerCancel":"pointercancel",Nt={},Dt=!1;function Rt(t,e,n,r){return"touchstart"===e?function(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&ze(t),Ut(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Ot,r,!1),Dt||(document.addEventListener(Ot,jt,!0),document.addEventListener(At,Ft,!0),document.addEventListener(Mt,Bt,!0),document.addEventListener(zt,Bt,!0),Dt=!0)}(t,n,r):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Ut(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}(t,n,r):"touchend"===e&&function(t,e,n){var i=function(t){Ut(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(Mt,i,!1),t.addEventListener(zt,i,!1)}(t,n,r),this}function jt(t){Nt[t.pointerId]=t}function Ft(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Bt(t){delete Nt[t.pointerId]}function Ut(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var qt,$t,Gt,Vt,Ht,Wt=_t?"MSPointerDown":bt?"pointerdown":"touchstart",Yt=_t?"MSPointerUp":bt?"pointerup":"touchend",Zt="_leaflet_",Xt=de(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Jt=de(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Jt||"OTransition"===Jt?Jt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function re(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ae(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ce(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=h(e),i=0,r=n.length;i1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=250,i=e}function s(t){if(a&&!r.cancelBubble){if(bt){if("mouse"===t.pointerType)return;var n,o,s={};for(o in r)n=r[o],s[o]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}t[Zt+Wt+n]=o,t[Zt+Yt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Wt,o,!!Tt&&{passive:!1}),t.addEventListener(Yt,s,!!Tt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,o,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Pe[e]||e,o,!!Tt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(o=function(e){e=e||window.event,qe(t,e)&&s(e)},t.addEventListener(Pe[e],o,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,o),t[Te]=t[Te]||{},t[Te][r]=o}function Ie(t,e,n,i){var r=e+a(n)+(i?"_"+a(i):""),o=t[Te]&&t[Te][r];if(!o)return this;bt&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Ot,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(Mt,i,!1),t.removeEventListener(zt,i,!1))}(t,e,r):wt&&"dblclick"===e&&!Se()?function(t,e){var n=t[Zt+Wt+e],i=t[Zt+Yt+e],r=t[Zt+"dblclick"+e];t.removeEventListener(Wt,n,!!Tt&&{passive:!1}),t.removeEventListener(Yt,i,!!Tt&&{passive:!1}),t.removeEventListener("dblclick",r,!1)}(t,r):"removeEventListener"in t?t.removeEventListener(Pe[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[Te][r]=null}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Ue(t),this}function Ae(t){return Le(t,"wheel",Oe),this}function Me(t){return Ce(t,"mousedown touchstart dblclick",Oe),Le(t,"click",Be),this}function ze(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return ze(t),Oe(t),this}function De(t,e){if(!e)return new O(t.clientX,t.clientY);var n=xe(e),i=n.boundingClientRect;return new O((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Re=ht&&ot?2*window.devicePixelRatio:st?window.devicePixelRatio:1;function je(t){return Q?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Re:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Fe={};function Be(t){Fe[t.type]=!0}function Ue(t){var e=Fe[t.type];return Fe[t.type]=!1,e}function qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var $e={on:Ce,off:Ee,stopPropagation:Oe,disableScrollPropagation:Ae,disableClickPropagation:Me,preventDefault:ze,stop:Ne,getMousePosition:De,getWheelDelta:je,fakeStop:Be,skipped:Ue,isExternalTarget:qe,addListener:Ce,removeListener:Ee},Ge=I.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,R(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=M((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=M(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),a=this.project(r),o=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),u=N([s.min.add(n),s.max.subtract(i)]);if(!u.contains(o)){this._enforcingBounds=!0;var c=a.subtract(o),h=M(o.x+c.x,o.y+c.y);(o.xu.max.x)&&(h.x=a.x-c.x,c.x>0?h.x+=l.x-n.x:h.x-=l.x-i.x),(o.yu.max.y)&&(h.y=a.y-c.y,c.y>0?h.y+=l.y-n.y:h.y-=l.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=n.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,t):navigator.geolocation.getCurrentPosition(n,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new j(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(r,i.maxZoom):r)}var a={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(a[o]=t.coords[o]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new D(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=R(t),n=M(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),a=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),u=N(this.project(s,i),this.project(o,i)).getSize(),c=mt?this.options.zoomSnap:1,h=l.x/u.x,d=l.y/u.y,p=e?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(p,i),c&&(i=Math.round(i/(c/100))*(c/100),i=e?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(r,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new z(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(M(t),e)},layerPointToLatLng:function(t){var e=M(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(F(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return M(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return M(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(M(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return De(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ce(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&mt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ct?" leaflet-retina":"")+(K?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),fe(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){fe(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){fe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Ee:Ce;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),mt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],r="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!qe(o,t))break;if(i.push(n),r)break}if(o===this._container)break;o=o.parentNode}return i.length||s||r||!qe(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ue(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||_e(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var r=e({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var a=i[0];"contextmenu"===n&&a.listens(n,!0)&&ze(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?a.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var l=0;l0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=mt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Xt,n=this._proxy.style[e];pe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();pe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(C((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C((function(){this._moveEnd(!0)}),this))}}),He=S.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),We=function(t){return new He(t)};Ve.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,r){var a=e+i+" "+e+r;t[i+r]=ee("div",a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ye=He.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+a(this),i),this._layerControlInputs.push(e),e.layerId=a(t.layer),Ce(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var a=n.length-1;a>=0;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(a=0;a=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=He.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var a=ee("a",n,i);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Me(a),Ce(a,"click",Ne),Ce(a,"click",r,this),Ce(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ve.mergeOptions({zoomControl:!0}),Ve.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))}));var Xe=He.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Je=He.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Me(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ve.mergeOptions({attributionControl:!0}),Ve.addInitHook((function(){this.options.attributionControl&&(new Je).addTo(this)})),He.Layers=Ye,He.Zoom=Ze,He.Scale=Xe,He.Attribution=Je,We.layers=function(t,e,n){return new Ye(t,e,n)},We.zoom=function(t){return new Ze(t)},We.scale=function(t){return new Xe(t)},We.attribution=function(t){return new Je(t)};var Ke=S.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:P},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},rn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},an=I.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){d(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ce(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(an._dragging===this&&this.finishDrag(),Ee(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!oe(this._element,"leaflet-zoom-anim")&&!(an._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(an._dragging=this,this._preventOutline&&_e(this._element),ve(),qt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=we(this._element);this._startPoint=new O(e.clientX,e.clientY),this._parentScale=xe(n),Ce(document,rn[t.type],this._onMove,this),Ce(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new O(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(o=s,u=l);u>i&&(n[o]=1,t(e,n,i,r,o),t(e,n,i,o,a))}(t,i,e,0,n-1);var r,a=[];for(r=0;re&&(n.push(t[i]),r=i);var o,s,l,u;return re.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function hn(t,e,n,i){var r,a=e.x,o=e.y,s=n.x-a,l=n.y-o,u=s*s+l*l;return u>0&&((r=((t.x-a)*s+(t.y-o)*l)/u)>1?(a=n.x,o=n.y):r>0&&(a+=s*r,o+=l*r)),s=t.x-a,l=t.y-o,i?s*s+l*l:new O(a,o)}function dn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pn(t){return dn(t)}var fn={simplify:on,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return hn(t,e,n)},clipSegment:ln,_getEdgeIntersection:un,_getBitCode:cn,_sqClosestPointOnSegment:hn,isFlat:dn,_flat:pn};function mn(t,e,n){var i,r,a,o,s,l,u,c,h,d=[1,4,2,8];for(r=0,u=t.length;r1e-7;l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=u=Math.PI/2-2*Math.atan(o*e)-s;return new j(s*n,t.x*n/i)}},_n={LonLat:vn,Mercator:yn,SphericalMercator:$},bn=e({},q,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return V(t,.5,-t,.5)}()}),wn=e({},q,{code:"EPSG:4326",projection:vn,transformation:V(1/180,1,-1/180,.5)}),xn=e({},U,{projection:vn,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});U.Earth=q,U.EPSG3395=bn,U.EPSG3857=H,U.EPSG900913=W,U.EPSG4326=wn,U.Simple=xn;var kn=I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ve.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return o=(i-e)/n,this._map.layerPointToLatLng([a.x-o*(a.x-r.x),a.y-o*(a.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return dn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=dn(t),i=0,r=t.length;i=2&&e[0]instanceof j&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){Mn.prototype._setLatLngs.call(this,t),dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new O(e,e);if(t=new z(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,a=this._rings.length;rt.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||Mn.prototype._containsPoint.call(this,t,!0)}}),Nn=Tn.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=g(t)?t:t.features;if(r){for(e=0,n=r.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;or?(e.height=r+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();fe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new O(this._containerLeft,-n-this._containerBottom);r._add(me(this._container));var a=t.layerPointToContainerPoint(r),o=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||o),l=M(this.options.autoPanPaddingBottomRight||o),u=t.getSize(),c=0,h=0;a.x+i+l.x>u.x&&(c=a.x+i-u.x+l.x),a.x-c-s.x<0&&(c=a.x-s.x),a.y+n+l.y>u.y&&(h=a.y+n-u.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ve.mergeOptions({closePopupOnClick:!0}),Ve.include({openPopup:function(t,e,n){return t instanceof Jn||(t=new Jn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),kn.include({bindPopup:function(t,e){return t instanceof Jn?(d(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Jn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof In?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Kn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,a=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,l=r.offsetWidth,u=r.offsetHeight,c=M(this.options.offset),h=this._getAnchor();"top"===s?(e=l/2,n=u):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=u/2):"right"===s?(e=0,n=u/2):"left"===s?(e=l,n=u/2):o.xthis.options.maxZoom||ni&&this._retainParent(r,a,o,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var a=2*e;a<2*e+2;a++){var o=new O(r,a);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)this._setView(t,n);else{for(var h=r.min.y;h<=r.max.y;h++)for(var d=r.min.x;d<=r.max.x;d++){var p=new O(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:o.push(p)}}if(o.sort((function(t,e){return t.distanceTo(a)-e.distanceTo(a)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n);return[e.unproject(i,t.z),e.unproject(r,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new D(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new O(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,K&&this.options.opacity<1&&he(t,this.options.opacity),et&&!nt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&C(i(this._tileReady,this,t,null,a)),fe(a,n),this._tiles[r]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(he(n.el,0),T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),K||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new z(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ei=ti.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=d(this,e)).detectRetina&&Ct&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),et||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ce(n,"load",i(this._tileOnLoad,this,e,n)),Ce(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ct?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return m(this._url,e(n,this.options))},_tileOnLoad:function(t,e){K?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=y,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",y),ti.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return ti.prototype._tileReady.call(this,t,e,n)}});function ni(t,e){return new ei(t,e)}var ii=ei.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var a=(n=d(this,n)).detectRetina&&Ct?2:1,o=this.getTileSize();i.width=o.x*a,i.height=o.y*a,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=N(n.project(e[0]),n.project(e[1])),r=i.min,a=i.max,o=(this._wmsVersion>=1.3&&this._crs===wn?[r.y,r.x,a.y,a.x]:[r.x,r.y,a.x,a.y]).join(","),s=ei.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ei.WMS=ii,ni.wms=function(t,e){return new ii(t,e)};var ri=kn.extend({options:{padding:.1,tolerance:0},initialize:function(t){d(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=me(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),o=this._map.project(t,e).subtract(a),s=r.multiplyBy(-n).add(i).add(r).subtract(o);mt?pe(this._container,s,n):fe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new z(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ai=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ce(t,"mousemove",this._onMouseMove,this),Ce(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,ne(this._container),Ee(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ct?2:1;fe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ct&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),li={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=si("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=si("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=si("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=si("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){re(t._container)},_bringToBack:function(t){ae(t._container)}},ui=Pt?si:Y,ci=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),Ee(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),fe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=ui("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Z(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){re(t._path)},_bringToBack:function(t){ae(t._path)}});function hi(t){return St||Pt?new ci(t):null}Pt&&ci.include(li),Ve.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&oi(t)||hi(t)}});var di=zn.extend({initialize:function(t,e){zn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ci.create=ui,ci.pointsToPath=Z,Nn.geometryToLayer=Dn,Nn.coordsToLatLng=jn,Nn.coordsToLatLngs=Fn,Nn.latLngToCoords=Bn,Nn.latLngsToCoords=Un,Nn.getFeature=qn,Nn.asFeature=$n,Ve.mergeOptions({boxZoom:!0});var pi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),qt(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ce(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new z(this._point,this._startPoint),n=e.getSize();fe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),$t(),ye(),Ee(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ve.addInitHook("addHandler","boxZoom",pi),Ve.mergeOptions({doubleClickZoom:!0});var fi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});Ve.addInitHook("addHandler","doubleClickZoom",fi),Ve.mergeOptions({dragging:!0,inertia:!nt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new an(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,a=(i+e+n)%t-e-n,o=Math.abs(r+n)0?a:-a))-e;this._delta=0,this._startTime=null,o&&("center"===t.options.scrollWheelZoom?t.setZoom(e+o):t.setZoomAround(this._lastMousePos,e+o))}});Ve.addInitHook("addHandler","scrollWheelZoom",vi),Ve.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(ze(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new O(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),Ce(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ee(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||bt&&!lt||Ve.addInitHook("addHandler","tap",yi),Ve.mergeOptions({touchZoom:wt&&!nt,bounceAtZoomLimits:!0});var _i=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Ee(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend",this._onTouchEnd,this),ze(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&a>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===a)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===a&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),ze(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Ee(document,"touchmove",this._onTouchMove,this),Ee(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ve.addInitHook("addHandler","touchZoom",_i),Ve.BoxZoom=pi,Ve.DoubleClickZoom=fi,Ve.Drag=mi,Ve.Keyboard=gi,Ve.ScrollWheelZoom=vi,Ve.Tap=yi,Ve.TouchZoom=_i,t.version="1.7.1",t.Control=He,t.control=We,t.Browser=It,t.Evented=I,t.Mixin=tn,t.Util=E,t.Class=S,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=a,t.setOptions=d,t.DomEvent=$e,t.DomUtil=ke,t.PosAnimation=Ge,t.Draggable=an,t.LineUtil=fn,t.PolyUtil=gn,t.Point=O,t.point=M,t.Bounds=z,t.bounds=N,t.Transformation=G,t.transformation=V,t.Projection=_n,t.LatLng=j,t.latLng=F,t.LatLngBounds=D,t.latLngBounds=R,t.CRS=U,t.GeoJSON=Nn,t.geoJSON=Vn,t.geoJson=Hn,t.Layer=kn,t.LayerGroup=Cn,t.layerGroup=function(t,e){return new Cn(t,e)},t.FeatureGroup=Tn,t.featureGroup=function(t,e){return new Tn(t,e)},t.ImageOverlay=Wn,t.imageOverlay=function(t,e,n){return new Wn(t,e,n)},t.VideoOverlay=Yn,t.videoOverlay=function(t,e,n){return new Yn(t,e,n)},t.SVGOverlay=Zn,t.svgOverlay=function(t,e,n){return new Zn(t,e,n)},t.DivOverlay=Xn,t.Popup=Jn,t.popup=function(t,e){return new Jn(t,e)},t.Tooltip=Kn,t.tooltip=function(t,e){return new Kn(t,e)},t.Icon=En,t.icon=function(t){return new En(t)},t.DivIcon=Qn,t.divIcon=function(t){return new Qn(t)},t.Marker=Ln,t.marker=function(t,e){return new Ln(t,e)},t.TileLayer=ei,t.tileLayer=ni,t.GridLayer=ti,t.gridLayer=function(t){return new ti(t)},t.SVG=ci,t.svg=hi,t.Renderer=ri,t.Canvas=ai,t.canvas=oi,t.Path=In,t.CircleMarker=On,t.circleMarker=function(t,e){return new On(t,e)},t.Circle=An,t.circle=function(t,e,n){return new An(t,e,n)},t.Polyline=Mn,t.polyline=function(t,e){return new Mn(t,e)},t.Polygon=zn,t.polygon=function(t,e){return new zn(t,e)},t.Rectangle=di,t.rectangle=function(t,e){return new di(t,e)},t.Map=Ve,t.map=function(t,e){return new Ve(t,e)};var bi=window.L;t.noConflict=function(){return window.L=bi,this},window.L=t}(e)},"4j8G":function(t){t.exports=JSON.parse('{"delete-account":"Futa Akaunti Yangu","delete-account?":"Je, ungependa kufuta akaunti yako?","enter-password":"Ingiza neno lako la siri"}')},"4loq":function(t){t.exports=JSON.parse('{"do-you-pickup":"Do you pick up the litter or leave it there?","save-def-settings":"You can save your default setting here.","change-value-of-litter":"You can also change the value of each litter item as you are tagging them.","status":"Current Status","toggle-presence":"Toggle Presence","pickup?":"Pick up?"}')},"55Cu":function(t,e,n){var i=n("V3s9");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"56Dk":function(t){t.exports=JSON.parse('{"delete-account":"Eliminar mi cuenta","delete-account?":"¿Quieres elimar tu cuenta?","enter-password":"Introduce tu contraseña"}')},"56GE":function(t,e,n){"use strict";var i=n("QbqM");n.n(i).a},"5A0h":function(t,e,n){var i=n("WJbV");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5GFE":function(t){t.exports=JSON.parse('{"maps1":"Nous générons de la données public à propos de la pollution plastique.","maps2":"Tout le monde peut télécharger les données et les utiliser.","maps3":"Voir la carte du monde","global-leaderboard":"Classement mondial","position":"Position","name":"Nom","xp":"XP","social":"Social","previous-target":"Cible précédente","next-target":"Cible suivante","litter":"Déchet","total-verified-litter":"Déchet totaux","total-verified-photos":"Total des photos","total-littercoin-issued":"Total de Littercoin","number-of-contributors":"Nombre de contributeurs","avg-img-per-person":"Nombre moyen de photos par personne","avg-litter-per-person":"Nombre moyen de déchet par personne","leaderboard":"Classement","time-series":"Série temporelle","options":"Options","most-data":"Le plus de déchet tagué","most-data-person":"Le plus de déchet tagué par personne","download-open-verified-data":"Données scientifique populaire sur la pollution plastique en accès libre et gratuit.","stop-plastic-ocean":"Empêchons le plastique d\'atteindre l\'océan.","enter-email-sent-data":"Veuillez entrer un email sur lequel recevoir les données:"}')},"5H76":function(t,e,n){var i=n("1Ttm");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5IzF":function(t,e,n){var i,r,a;r=[],void 0===(a="function"==typeof(i=function(){var t={Period:{}};function e(t,e){var n,i=e||!1,r=[2,3,4,5,7,8,9],a=[0,0,0,0,0,0,0],o=[0,12,4,7,24,60,60];if(!(t=t.toUpperCase()))return a;if("string"!=typeof t)throw new Error("Invalid iso8601 period string '"+t+"'");if(!(n=/^P((\d+Y)?(\d+M)?(\d+W)?(\d+D)?)?(T(\d+H)?(\d+M)?(\d+S)?)?$/.exec(t)))throw new Error("String '"+t+"' is not a valid ISO8601 period.");for(var s=0;s0;s--)a[s]>=o[s]&&(a[s-1]=a[s-1]+Math.floor(a[s]/o[s]),a[s]=a[s]%o[s]);return a}return t.version="0.2",t.Period.parse=function(t,n){return e(t,n)},t.Period.parseToTotalSeconds=function(t){for(var n=[31104e3,2592e3,604800,86400,3600,60,1],i=e(t),r=0,a=0;a0&&(1==o[s]?a[s]=o[s]+" "+n[s]:a[s]=o[s]+" "+i[s]);return a.join(" ").trim().replace(/[ ]{2,}/g," ")},t})?i.apply(e,r):i)||(t.exports=a)},"5QBx":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))}}var s={name:"Account",created:function(){var t=this;return o(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_PLANS");case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{btn:"button is-danger",processing:!1,password:""}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors},plans:function(){return this.$store.state.createaccount.plans}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t=this;return o(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("DELETE_ACCOUNT",t.password);case 3:t.processing=!1,t.password="";case 5:case"end":return e.stop()}}),e)})))()}}},l=n("KHd+"),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.account.delete-account")))]),t._v(" "),n("hr"),t._v(" "),n("p",[t._v(t._s(t.$t("settings.account.delete-account")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("div",{staticClass:"row"},[n("form",{attrs:{method:"POST"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("settings.account.delete-account?")))]),t._v(" "),t.errorExists("password")?n("span",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",attrs:{type:"password",name:"password",id:"password",placeholder:"******",required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})])]),t._v(" "),n("button",{class:t.button},[t._v(t._s(t.$t("settings.account.enter-password")))])])])])])])}),[],!1,null,null,null);e.default=u.exports},"5S+d":function(t){t.exports=JSON.parse('{"taken-on":"Taken on","with-a":"With a","by":"By","meter-hex-grids":"meter hex grids","hover-to-count":"Hover over to count","pieces-of-litter":"pieces of litter","hover-polygons-to-count":"Hover over polygons to count"}')},"5bAn":function(t,e,n){var i=n("heCY");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5bHs":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.burger[data-v-613b535d] {\n align-self: center;\n}\n.drop-item[data-v-613b535d] {\n color: black;\n font-weight: 500;\n}\n.flex-not-mobile[data-v-613b535d] {\n display: flex;\n}\n.main-nav[data-v-613b535d] {\n background-color: black;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.nav-title[data-v-613b535d] {\n color: white;\n font-size: 2.5rem;\n font-weight: 600;\n line-height: 1.125;\n}\n.is-white[data-v-613b535d] {\n color: white;\n}\n@media (max-width: 768px)\n{\n.flex-not-mobile[data-v-613b535d] {\n display: block;\n}\n.nav-title[data-v-613b535d] {\n font-size: 2rem;\n padding-left: 0.25em;\n}\n}\n\n",""])},"5ljX":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".hide-br[data-v-6f714926] {\n display: none;\n}\n.is-flex-grow-3[data-v-6f714926] {\n flex-grow: 3;\n}\n.is-flex-grow-1[data-v-6f714926] {\n flex-grow: 1;\n}\n.search-container[data-v-6f714926] {\n margin-right: 4px;\n}\n.custom-buttons[data-v-6f714926] {\n display: flex;\n gap: 1rem;\n justify-content: space-between;\n align-items: center;\n flex-direction: row;\n}\n@media (max-width: 500px) {\n.hide-br[data-v-6f714926] {\n display: block;\n}\n.v-select[data-v-6f714926] {\n margin-top: 10px;\n}\n.flex-column-mobile[data-v-6f714926] {\n flex-direction: column;\n}\n.search-container[data-v-6f714926] {\n margin-right: 0;\n margin-bottom: 4px;\n}\n.custom-buttons[data-v-6f714926] {\n flex-direction: column;\n}\n}\n@media (min-width: 768px) {\n.show-mobile[data-v-6f714926] {\n display: none !important;\n}\n}\nbutton[data-v-6f714926]:focus {\n outline: 2px solid lightskyblue;\n outline-offset: 2px;\n}",""])},"5n2/":function(t,e){function n(t){return"function"==typeof t.value}function i(t){return void 0!==t.componentInstance&&t.componentInstance.$isServer}t.exports={bind:function(t,e,r){if(!n(e))return;function a(e){if(r.context){var n=e.path||e.composedPath&&e.composedPath();n&&n.length>0&&n.unshift(e.target),t.contains(e.target)||function(t,e){if(!t||!e)return!1;for(var n=0,i=e.length;n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.vue-simple-suggest.designed {\n position: relative;\n}\n\n.vue-simple-suggest.designed, .vue-simple-suggest.designed * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.vue-simple-suggest.designed .input-wrapper input {\n display: block;\n width: 100%;\n padding: 10px;\n border: 1px solid #cde;\n border-radius: 3px;\n color: black;\n background: white;\n outline:none;\n -webkit-transition: all .1s;\n transition: all .1s;\n -webkit-transition-delay: .05s;\n transition-delay: .05s\n}\n\n.vue-simple-suggest.designed.focus .input-wrapper input {\n border: 1px solid #aaa;\n}\n\n.vue-simple-suggest.designed .suggestions {\n position: absolute;\n left: 0;\n right: 0;\n top: 100%;\n top: calc(100% + 5px);\n border-radius: 3px;\n border: 1px solid #aaa;\n background-color: #fff;\n opacity: 1;\n z-index: 1000;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item,\n.vue-simple-suggest.designed .suggestions .misc-item {\n padding: 5px 10px;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item.hover {\n background-color: #2874D5 !important;\n color: #fff !important;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item.selected {\n background-color: #2832D5;\n color: #fff;\n}\n",""])},"7QOT":function(t){t.exports=JSON.parse('{"taken-on":"Genomen op","with-a":"Met een","by":"Door","meter-hex-grids":"meter hex rooster","hover-to-count":"Ga er met de muis overheen om te tellen","pieces-of-litter":"aantal items","hover-polygons-to-count":"Ga met de muis over de polygons om te tellen"}')},"7U67":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".partners-list[data-v-3998ef0d] {\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n grid-gap: 32px 32px;\n}\n.partner[data-v-3998ef0d] {\n max-width: 200px;\n margin: auto;\n}\n.partner[data-v-3998ef0d],\n.partner img[data-v-3998ef0d] {\n width: 100%;\n}\n\n/* Smaller screens */\n@media (max-width: 1024px) {\n.partners-list[data-v-3998ef0d] {\n grid-gap: 16px 16px;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n}\n/* Mobile view */\n/* Extra small */\n@media (max-width: 576px) {\n.partners-list[data-v-3998ef0d] {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n}\n/* Extra extra small */",""])},"7VP3":function(t){t.exports=JSON.parse('{"login-btn":"Iniciar sesión","signup-text":"Regístrate","forgot-password":"¿Olvidaste tu contraseña?"}')},"7Ww6":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.bulk-tag-picked-up[data-v-79c706bb] {\n display: flex;\n justify-content: center;\n margin-bottom: 16px;\n}\n",""])},"7Ypd":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".tags-container[data-v-6465121a] {\n max-height: 650px;\n overflow-y: auto;\n}\n.recent-tags[data-v-6465121a] {\n display: flex;\n max-width: 50em;\n margin: auto;\n flex-wrap: wrap;\n overflow: auto;\n justify-content: center;\n}\n.recent-tags-title[data-v-6465121a] {\n max-width: 100px;\n}\n.clear-tags-button[data-v-6465121a] {\n position: absolute;\n top: 20px;\n right: 20px;\n}\n.litter-tag[data-v-6465121a] {\n position: relative;\n cursor: pointer;\n padding: 5px;\n border-radius: 5px;\n background-color: #3298dc;\n margin: 5px;\n}\n.litter-tag .close[data-v-6465121a] {\n display: none;\n position: absolute;\n top: -5px;\n right: -5px;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n color: white;\n font-size: 12px;\n background-color: rgba(0, 0, 0, 0.7);\n}\n.litter-tag .close[data-v-6465121a]:hover {\n background-color: black;\n}\n.litter-tag:hover .close[data-v-6465121a] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n@media screen and (min-width: 1280px) {\n.recent-tags-title[data-v-6465121a] {\n max-width: none;\n}\n}\n.list-enter-active[data-v-6465121a], .list-leave-active[data-v-6465121a],\n.categories-enter-active[data-v-6465121a], .categories-leave-active[data-v-6465121a] {\n transition: all 0.5s;\n}\n.list-enter[data-v-6465121a], .list-leave-to[data-v-6465121a] {\n opacity: 0;\n transform: translateX(30px);\n}\n.categories-enter[data-v-6465121a], .categories-leave-to[data-v-6465121a] {\n opacity: 0;\n transform: translateY(50px);\n}\n.categories-move[data-v-6465121a] {\n transition: transform 0.5s;\n}",""])},"7Zut":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Social",data:function(){return{btn:"button is-medium is-info",processing:!1,twitter:null,facebook:null,instagram:null,linkedin:null,reddit:null,personal:null}},mounted:function(){var t,e,n,i,r,a;this.$store.commit("errors",{}),this.twitter=null===(t=this.user.settings)||void 0===t?void 0:t.social_twitter,this.facebook=null===(e=this.user.settings)||void 0===e?void 0:e.social_facebook,this.instagram=null===(n=this.user.settings)||void 0===n?void 0:n.social_instagram,this.linkedin=null===(i=this.user.settings)||void 0===i?void 0:i.social_linkedin,this.reddit=null===(r=this.user.settings)||void 0===r?void 0:r.social_reddit,this.personal=null===(a=this.user.settings)||void 0===a?void 0:a.social_personal},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors},user:function(){return this.$store.state.user.user}},methods:{getFirstError:function(t){return this.errors.hasOwnProperty(t)?this.errors[t][0]:null},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("UPDATE_SETTINGS",{social_twitter:e.twitter,social_facebook:e.facebook,social_instagram:e.instagram,social_linkedin:e.linkedin,social_reddit:e.reddit,social_personal:e.personal});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=n("KHd+"),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.common.social")))]),t._v(" "),n("hr"),t._v(" "),n("p",[t._v(t._s(t.$t("settings.social.description")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-half"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("label",{attrs:{for:"twitter"}},[t._v("Twitter")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.twitter,expression:"twitter"}],staticClass:"input",attrs:{type:"text",name:"twitter",id:"twitter",placeholder:"Twitter URL"},domProps:{value:t.twitter},on:{input:function(e){e.target.composing||(t.twitter=e.target.value)}}}),t._v(" "),t._m(0)]),t._v(" "),t.getFirstError("social_twitter")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_twitter"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"facebook"}},[t._v("Facebook")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.facebook,expression:"facebook"}],staticClass:"input",attrs:{type:"text",name:"facebook",id:"facebook",placeholder:"Facebook URL"},domProps:{value:t.facebook},on:{input:function(e){e.target.composing||(t.facebook=e.target.value)}}}),t._v(" "),t._m(1)]),t._v(" "),t.getFirstError("social_facebook")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_facebook"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"instagram"}},[t._v("Instagram")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.instagram,expression:"instagram"}],staticClass:"input",attrs:{type:"text",name:"instagram",id:"instagram",placeholder:"Instagram URL"},domProps:{value:t.instagram},on:{input:function(e){e.target.composing||(t.instagram=e.target.value)}}}),t._v(" "),t._m(2)]),t._v(" "),t.getFirstError("social_instagram")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_instagram"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"linkedin"}},[t._v("LinkedIn")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkedin,expression:"linkedin"}],staticClass:"input",attrs:{type:"text",name:"linkedin",id:"linkedin",placeholder:"LinkedIn URL"},domProps:{value:t.linkedin},on:{input:function(e){e.target.composing||(t.linkedin=e.target.value)}}}),t._v(" "),t._m(3)]),t._v(" "),t.getFirstError("social_linkedin")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_linkedin"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"reddit"}},[t._v("Reddit")]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.reddit,expression:"reddit"}],staticClass:"input",attrs:{type:"text",name:"reddit",id:"reddit",placeholder:"Reddit URL"},domProps:{value:t.reddit},on:{input:function(e){e.target.composing||(t.reddit=e.target.value)}}}),t._v(" "),t._m(4)]),t._v(" "),t.getFirstError("social_reddit")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_reddit"))}}):t._e()]),t._v(" "),n("label",{attrs:{for:"personal"}},[t._v(t._s(t.$t("settings.social.personal-website")))]),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.personal,expression:"personal"}],staticClass:"input",attrs:{type:"text",name:"personal",id:"personal",placeholder:t.$t("settings.social.personal-website-url")},domProps:{value:t.personal},on:{input:function(e){e.target.composing||(t.personal=e.target.value)}}}),t._v(" "),t._m(5)]),t._v(" "),t.getFirstError("social_personal")?n("p",{staticClass:"help is-danger is-size-6",domProps:{textContent:t._s(t.getFirstError("social_personal"))}}):t._e()]),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("common.submit")))])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-twitter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-facebook"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-instagram"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-linkedin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-reddit"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-link"})])}],!1,null,null,null);e.default=l.exports},"7dii":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.vfc-popover-container:focus {\n outline: none;\n}\n.vfc-single-input, .vfc-multiple-input input {\n font-size: inherit;\n -webkit-transition: width 200ms;\n transition: width 200ms;\n padding: 7px;\n width: 143px;\n color: #aaaaaa;\n border: 1px solid #efefef;\n text-align: center;\n outline: none;\n}\n.vfc-single-input {\n border-radius: 10px;\n}\n.vfc-multiple-input input:first-child {\n border-radius: 10px 0 0 10px;\n}\n.vfc-multiple-input input:last-child {\n border-radius: 0 10px 10px 0;\n}\n.vfc-tags-input {\n display: -moz-flex;\n display: -ms-flex;\n display: -o-flex;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-tags-input input {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n background: transparent;\n border: none;\n}\n.vfc-tags-input input[type=text] {\n color: #495057;\n}\n.vfc-tags-input input:focus {\n outline: none;\n}\n.vfc-tags-input span {\n margin-right: 0.3em;\n margin-bottom: 0.3em;\n padding-right: 0.75em;\n padding-left: 0.6em;\n border-radius: 10em;\n}\n.vfc-tags-input-wrapper-default {\n width: 295px;\n padding: 0.5em 0.25em;\n min-height: 15px;\n background: #ffffff;\n border: 1px solid #dbdbdb;\n border-radius: 10px;\n}\n.vfc-tags-input-badge {\n width: 85px;\n background-color: #f0f1f2;\n position: relative;\n display: inline-block;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 0.25em;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.vfc-tags-input-remove {\n cursor: pointer;\n position: absolute;\n display: inline-block;\n right: 0.3em;\n top: 0.3em;\n padding: 0.5em;\n overflow: hidden;\n}\n.vfc-tags-input-remove::before, .vfc-tags-input-remove::after {\n content: "";\n position: absolute;\n width: 75%;\n left: 0.15em;\n background: #ff8498;\n height: 2px;\n margin-top: -1px;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-tags-input-remove::after {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-dark.vfc-multiple-input input {\n border-color: #28456c;\n background-color: #1a202c;\n}\n.vfc-dark .vfc-single-input {\n border-color: #28456c;\n background-color: #1a202c;\n}\n.vfc-dark.vfc-tags-input-root .vfc-tags-input-wrapper-default {\n background-color: #1a202c;\n border-color: #28456c;\n}\n.vfc-dark.vfc-tags-input-root .vfc-tags-input-wrapper-default.vfc-tags-input .vfc-tags-input-badge {\n background-color: #ffffff;\n}\n.vfc-main-container {\n position: relative;\n border-radius: 0.28571429rem;\n -webkit-box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);\n box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);\n font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", serif;\n background-color: #ffffff;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.vfc-main-container.vfc-modal {\n position: absolute;\n width: inherit;\n z-index: 1000;\n}\n.vfc-main-container > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.vfc-main-container.vfc-dark {\n background-color: #1a202c;\n}\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-right,\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-right,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-left {\n border-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-left:active,\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-right:active,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-left:active,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-right:active {\n border-color: #d9d9d9;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-right {\n border-color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date.vfc-underline {\n -webkit-text-decoration: underline dotted #66b3cc;\n text-decoration: underline dotted #66b3cc;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span.vfc-underline {\n -webkit-text-decoration: underline #4299e1;\n text-decoration: underline #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span.vfc-underline.vfc-underline-active {\n -webkit-text-decoration-color: #ffffff;\n text-decoration-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-dayNames span {\n color: #bfbfbf;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week .vfc-week-number {\n border-color: #38b2ac;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day .vfc-base-start,\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day .vfc-base-end {\n background-color: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-today {\n background-color: #38b2ac;\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked {\n background-color: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-borderd, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked:not(.vfc-start-marked):not(.vfc-end-marked):before {\n background-color: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked:after {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-hide {\n color: #bfbfbf;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hide {\n color: #464646;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-disabled {\n color: rgba(133, 133, 133, 0.2);\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day:after {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hover:hover, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hovered {\n z-index: 1;\n background-color: #4682b4;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list .vfc-time-picker__item {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list .vfc-time-picker__item--selected {\n color: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list::-webkit-scrollbar-track {\n background: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list::-webkit-scrollbar-thumb {\n background: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-close:before,\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-close:after {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-modal-time-mechanic .vfc-modal-time-line {\n background-color: #4299e1;\n color: #ffffff;\n}\n.vfc-time-picker::after {\n content: "";\n display: table;\n clear: both;\n}\n.vfc-time-picker-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-time-picker__list {\n float: left;\n width: 50%;\n height: 200px;\n overflow-y: scroll;\n}\n.vfc-time-picker__list::-webkit-scrollbar {\n width: 3px;\n}\n.vfc-time-picker__list::-webkit-scrollbar-track {\n background: #efefef;\n}\n.vfc-time-picker__list::-webkit-scrollbar-thumb {\n background: #cccccc;\n}\n.vfc-time-picker__with-suffix .vfc-time-picker__list {\n width: 33.333333%;\n}\n.vfc-time-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n -webkit-transition: font-size 0.3s;\n transition: font-size 0.3s;\n}\n.vfc-time-picker__item:hover {\n font-size: 32px;\n}\n.vfc-time-picker__item--selected {\n color: #66b3cc;\n font-size: 32px;\n}\n.vfc-time-picker__item--disabled {\n opacity: 0.4;\n cursor: default;\n font-size: 20px !important;\n}\n.vfc-close {\n position: absolute;\n right: 12px;\n top: 16px;\n width: 32px;\n height: 32px;\n opacity: 0.3;\n z-index: 100;\n}\n.vfc-close:hover {\n opacity: 1;\n}\n.vfc-close::before, .vfc-close::after {\n position: absolute;\n left: 15px;\n content: " ";\n height: 26px;\n width: 2px;\n background-color: #ffffff;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-close::after {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-modal-time-mechanic {\n position: relative;\n margin: 0 auto;\n width: 100%;\n}\n.vfc-modal-time-line {\n width: 100%;\n background-color: #66b3cc;\n text-align: left;\n color: #ffffff;\n font-size: 16px;\n padding-top: 15px;\n padding-bottom: 15px;\n border-radius: 0.28571429rem 0.28571429rem 0 0;\n}\n.vfc-modal-time-line span {\n margin-left: 15px;\n}\n.vfc-modal-time-line span span.vfc-active {\n text-decoration: underline;\n}\n.vfc-modal-append {\n color: #7d7d7d;\n font-weight: normal;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-modal-midle {\n display: inline-block;\n}\n.vfc-modal-midle-dig {\n display: inline-block;\n text-align: center;\n}\n.vfc-modal-digits {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n font-size: 50px;\n}\n.vfc-modal-digits select {\n margin: 5px 0;\n width: 100%;\n text-align: center;\n -moz-text-align-last: center;\n text-align-last: center;\n}\n.vfc-arrow {\n opacity: 0.3;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n}\n.vfc-arrow:hover {\n opacity: 1;\n}\n.vfc-arrow-up {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-bottom: 20px solid #333333;\n}\n.vfc-arrow-down {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-top: 20px solid #333333;\n}\n.vfc-separately-navigation-buttons {\n margin-bottom: -80px;\n}\n.vfc-navigation-buttons {\n width: 100%;\n position: absolute;\n}\n.vfc-navigation-buttons, .vfc-separately-navigation-buttons {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 15%;\n flex: 0 1 15%;\n margin-top: -10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-navigation-buttons.vfc-left, .vfc-separately-navigation-buttons.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.vfc-navigation-buttons.vfc-right, .vfc-separately-navigation-buttons.vfc-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.vfc-navigation-buttons.vfc-space-between, .vfc-separately-navigation-buttons.vfc-space-between {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-navigation-buttons div, .vfc-separately-navigation-buttons div {\n z-index: 200;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n color: #000000;\n font-size: 18px;\n margin: 20px 10px;\n}\n.vfc-navigation-buttons div.vfc-cursor-pointer, .vfc-separately-navigation-buttons div.vfc-cursor-pointer {\n cursor: pointer;\n}\n.vfc-navigation-buttons div .vfc-arrow-left, .vfc-separately-navigation-buttons div .vfc-arrow-left {\n width: 12px;\n height: 12px;\n border-top: 2px solid;\n border-left: 2px solid;\n border-color: #0a0c19;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-navigation-buttons div .vfc-arrow-left:active,\n.vfc-navigation-buttons div .vfc-arrow-right:active, .vfc-separately-navigation-buttons div .vfc-arrow-left:active,\n.vfc-separately-navigation-buttons div .vfc-arrow-right:active {\n border-color: #ddd;\n}\n.vfc-navigation-buttons div .vfc-arrow-left.vfc-disabled,\n.vfc-navigation-buttons div .vfc-arrow-right.vfc-disabled, .vfc-separately-navigation-buttons div .vfc-arrow-left.vfc-disabled,\n.vfc-separately-navigation-buttons div .vfc-arrow-right.vfc-disabled {\n border-color: #dddddd;\n}\n.vfc-navigation-buttons div .vfc-arrow-right, .vfc-separately-navigation-buttons div .vfc-arrow-right {\n width: 12px;\n height: 12px;\n border-top: 2px solid;\n border-right: 2px solid;\n border-color: #0a0c19;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-calendar {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-flow: column nowrap;\n flex-flow: column nowrap;\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vfc-calendar .vfc-content {\n margin-bottom: 20px;\n}\n.vfc-calendars {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.vfc-calendars-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n.vfc-calendar-fade-enter-active, .vfc-calendar-fade-leave-active, .vfc-calendar-slide-down-enter-active, .vfc-calendar-slide-down-leave-active, .vfc-calendar-slide-left-enter-active, .vfc-calendar-slide-left-leave-active, .vfc-calendar-slide-right-enter-active, .vfc-calendar-slide-right-leave-active, .vfc-calendar-slide-up-enter-active, .vfc-calendar-slide-up-leave-active {\n -webkit-transition: all 0.25s ease-in-out;\n transition: all 0.25s ease-in-out;\n}\n.vfc-calendar-fade-leave-active, .vfc-calendar-none-leave-active, .vfc-calendar-slide-down-leave-active, .vfc-calendar-slide-left-leave-active, .vfc-calendar-slide-right-leave-active, .vfc-calendar-slide-up-leave-active {\n position: absolute;\n}\n.vfc-calendar-none-enter-active, .vfc-calendar-none-leave-active {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n.vfc-calendar-slide-left-enter, .vfc-calendar-slide-right-leave-to {\n opacity: 0;\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n}\n.vfc-calendar-slide-left-leave-to, .vfc-calendar-slide-right-enter {\n opacity: 0;\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n}\n.vfc-calendar-slide-down-leave-to, .vfc-calendar-slide-up-enter {\n opacity: 0;\n -webkit-transform: translateY(20px);\n transform: translateY(20px);\n}\n.vfc-calendar-slide-down-enter, .vfc-calendar-slide-up-leave-to {\n opacity: 0;\n -webkit-transform: translateY(-20px);\n transform: translateY(-20px);\n}\n.vfc-months {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n padding: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months .vfc-item {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: 30%;\n flex-basis: 30%;\n margin: 3px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n text-align: center;\n outline-style: none;\n border-radius: 5px;\n}\n.vfc-months .vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n -webkit-transition: background-color 0.2s ease-in-out;\n transition: background-color 0.2s ease-in-out;\n cursor: pointer;\n}\n.vfc-months .vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.vfc-months-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n margin-left: -20px;\n}\n.vfc-months-container.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n margin-left: 0;\n}\n.vfc-months-container.vfc-left .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: 45px;\n}\n.vfc-months-container.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n margin-left: 0;\n}\n.vfc-months-container.vfc-left .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: 45px;\n}\n.vfc-months-container.vfc-center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-months-container.vfc-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.vfc-months-container.vfc-right .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: calc(100% - 90px);\n}\n.vfc-months-container .vfc-content {\n width: 45%;\n min-width: 133px;\n position: absolute;\n z-index: 1000;\n background-color: #2d3748;\n border: 1px solid;\n border-radius: 5px;\n top: 55px;\n color: #ffffff;\n padding: 5px 0;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons {\n position: unset;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div {\n margin: 10px 10px;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover {\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover .vfc-arrow-left,\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover .vfc-arrow-right {\n border-color: #4299e1;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-right {\n border-color: #ffffff;\n width: 8px;\n height: 8px;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date {\n font-size: 18px;\n font-weight: bold;\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date-has-delta:hover {\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n content: "";\n position: absolute;\n display: block;\n width: 12px;\n height: 12px;\n border-top: inherit;\n border-left: inherit;\n background: inherit;\n z-index: -1;\n background-color: #2d3748;\n -webkit-transform: translateY(-40%) rotate(45deg);\n transform: translateY(-40%) rotate(45deg);\n top: 0;\n left: 50%;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date.vfc-underline {\n cursor: pointer;\n -webkit-text-decoration: underline dotted #66b3cc;\n text-decoration: underline dotted #66b3cc;\n}\n.vfc-months-container .vfc-content .vfc-months {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n padding: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: 30%;\n flex-basis: 30%;\n margin: 3px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n text-align: center;\n outline-style: none;\n border-radius: 5px;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n -webkit-transition: background-color 0.2s ease-in-out;\n transition: background-color 0.2s ease-in-out;\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.vfc-content {\n margin: 0 20px;\n z-index: 100;\n}\n.vfc-top-date {\n margin: 25px;\n font-size: 18px;\n font-weight: normal;\n}\n.vfc-top-date.vfc-left {\n text-align: left;\n}\n.vfc-top-date.vfc-right {\n text-align: right;\n}\n.vfc-top-date.vfc-center {\n text-align: center;\n}\n.vfc-top-date span {\n cursor: default;\n text-decoration: unset;\n margin: 0 2px;\n color: #000000;\n}\n.vfc-top-date span.vfc-cursor-pointer {\n cursor: pointer;\n}\n.vfc-top-date span.vfc-underline {\n cursor: pointer;\n -webkit-text-decoration: underline #66b3cc;\n text-decoration: underline #66b3cc;\n}\n.vfc-top-date span.vfc-underline.vfc-underline-active {\n -webkit-text-decoration-color: #000000;\n text-decoration-color: #000000;\n}\n.vfc-dayNames, .vfc-week {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.vfc-dayNames {\n -webkit-box-flex: 30px;\n -ms-flex: 30px 0 0px;\n flex: 30px 0 0;\n margin-bottom: 10px;\n}\n.vfc-dayNames span {\n width: 100%;\n margin-right: 5px;\n color: #333333;\n text-align: center;\n}\n.vfc-dayNames span:last-child {\n margin-right: 0;\n}\n.vfc-week-number {\n border-right: 1px solid #ff8498;\n}\n.vfc-week .vfc-day {\n position: relative;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: 3px;\n /* Weekends */\n}\n.vfc-week .vfc-day .vfc-base-start,\n.vfc-week .vfc-day .vfc-base-end {\n position: absolute;\n background: #8fd8ec;\n width: 50% !important;\n border-radius: 0 !important;\n border-right-width: 0 !important;\n height: 100%;\n}\n.vfc-week .vfc-day .vfc-base-start {\n right: 0;\n}\n.vfc-week .vfc-day .vfc-base-end {\n left: 0;\n}\n.vfc-week .vfc-day span.vfc-span-day {\n display: inline-block;\n text-align: center;\n width: 30px;\n line-height: 30px;\n border-radius: 50%;\n margin: 0 auto;\n vertical-align: middle;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-today {\n background-color: #ff8498;\n color: #ffffff;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-cursor-not-allowed {\n cursor: not-allowed;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked {\n margin: auto;\n background-color: #66b3cc;\n border-radius: 50%;\n opacity: 1;\n z-index: 1;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-borderd, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked {\n color: #ffffff;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-borderd:before, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked:before, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked:before {\n background: transparent;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked:before {\n top: 0;\n left: 0;\n content: "";\n position: absolute;\n background-color: #8fd8ec;\n width: 100%;\n height: 100%;\n z-index: -1;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked:after {\n color: #000000;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-hide {\n color: #d9d9d9;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-hide {\n color: #bfbfbf;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-disabled {\n margin: auto;\n color: rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n opacity: 1;\n z-index: 2;\n}\n.vfc-week .vfc-day span.vfc-span-day:after {\n z-index: 2;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n content: attr(data-date);\n color: #000000;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-hover:hover, .vfc-week .vfc-day span.vfc-span-day.vfc-hovered {\n background-color: #dadada;\n z-index: 100;\n}\n.vfc-week .vfc-day:last-child {\n color: #000000;\n}\n.rangeCleaner {\n padding: 5px 0 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.rangeCleaner span {\n color: white;\n border-radius: 5px;\n border: none;\n padding: 5px;\n}\n.rangeCleaner span.active {\n background-color: #66b3cc;\n}\n.rangeCleaner span.active:hover {\n background-color: #4f8a9e;\n cursor: pointer;\n}\n.rangeCleaner span.disabled {\n background-color: #949494;\n}',""])},"7eOH":function(t,e,n){var i=n("D9m9");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"7kWm":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#image-wrapper {\n height: 500px;\n width: 500px;\n background-repeat: no-repeat;\n position: relative;\n background-size: 500px 500px;\n margin: 0 auto 1em auto;\n}\n.vdr {\n border: 1px solid red;\n}\n.vdr.active:before {\n outline: 0;\n}\n.box-tag {\n background-color: red;\n position: absolute;\n top: -1.5em;\n right: 0;\n padding: 0 5px;\n margin-right: -3px;\n}\n.display-inline-grid {\n display: inline-grid;\n}\n.filler {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n.littercoin-pos {\n position: fixed;\n background: white;\n bottom: 0;\n left: 1em;\n margin-bottom: 1em;\n}\n\n",""])},"8/Lw":function(t,e,n){"use strict";var i=n("+Fkb");n.n(i).a},"8ClP":function(t){t.exports=JSON.parse('{"email-you":"Chcesz, abyśmy od czasu do czasu wysyłali Ci e-maile z dobrymi wiadomościami","subscribe":"Subskrybuj","subscribed-success-msg":"Zasubskrybowano do dobrych wieści! W każdej chwili możesz zrezygnować z subskrypcji","need-your-help":"Potrzebujemy Twojej pomocy, aby stworzyć najbardziej zaawansowaną i dostępną na świecie bazę danych o zanieczyszczeniach","read":"Czytaj","blog":"Blog","research-paper":"Artykuł badawczy","watch":"Oglądaj","help":"Pomoc","join-the-team":"Dołącz do drużyny","join-slack":"dołącz do Slack","create-account":"Załóż konto","fb-group":"Grupa Facebook","single-donation":"Pojedyncza dotacja","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap to flagowy produkt GeoTech Innovations Ltd., startupu z Irlandii, który jest pionierem w zakresie podstawowych usług naukowych dla obywateli # 650323","enter-email":"Wpisz swój adres e-mail","references":"Referencje","credits":"Zasługi","contact-us":"Contact Us"}')},"8G2h":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"La pollution plastique est hors de contrôle","fires-out-of-control":"Les mégots de cigarette peuvent déclencher des incendies","glass-hurts-pets":"Le verre brisé blesse les animaux domestiques","climate-change-out-of-control":"La pollution plastique est en train d\'aggraver le changement climatique","help-us":"Aidez-nous à créer la base de données sur les déchets, les marques concernées et la pollution plastique, la plus avancée au monde ","why-collect-data":"Pourquoi devrions-nous collecter des données","visibility":"La Visibilité","our-maps-reveal-litter-normality":"Pour beaucoup de personnes, les déchets sont devenus normaux et presque invisibles. Les cartes sont puissantes parce qu\'elles montrent ce que nous ne pouvons habituellement pas voir","science":"Résolution de problème","our-data-open-source":"Nos données sont libres d\'accès. Toute personne a un droit égal et illimité de téléchargement et d\'utilisation de nos données pour quelque raison que ce soit","community":"Communauté","must-work-together":"Nous avons besoin de votre aide pour créer un changement de paradigme dans la façon dont nous comprenons et répondons à la pollution","how-does-it-work":"Comment ça marche","take-a-photo":"Prenez une photo","device-captures-info":"Votre appareil peut capturer de précieuses informations sur le lieu, l\'heure, le matériel et la marque concernée.","tag-the-litter":"Taguez le déchet","tag-litter-you-see":"Taguez juste le déchet que vous voyez sur la photo. Vous pouvez préciser si le déchet a été ramassé ou est toujours sur place. Vous pouvez télécharger vos photos à tout moment","share-results":"Partagez vos résultats","share":"Partagez les cartes ou téléchargez nos données. Montrons à tout le monde à quel point le monde est pollué","verified":"Votre e-mail a été confirmé! Vous pouvez maintenant vous connecter.","close":"Fermer","our-partners":"Nos Partenaires","become-a-partner":"Devenez partenaire"}')},"8J0w":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.ref-title[data-v-54856fda] {\n font-size: 2em;\n font-weight: 600;\n}\n\n",""])},"8RtP":function(t,e,n){var i=n("2/C0");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8V5I":function(t){t.exports=JSON.parse('{"success":"Successo!","error":"Error!","settings-updated":"Configurações atualizadas com sucesso!","tags-added":"Sucesso! Suas tags foram adicionadas!","subscription-cancelled":"Sua assinatura foi cancelada","privacy-updated":"Suas configurações de privacidade foram salvas","litter-toggled":"Valor retirado atualizado","settings":{"subscribed":"Você foi inscrito nas atualizações e boas notícias!","unsubscribed":"Você cancelou a inscrição. Você não receberá mais as boas notícias!","flag-updated":"Sua bandeira foi atualizada"},"something-went-wrong":"Algo deu errado. Por favor, tente novamente ou entre em contato conosco!"}')},"8bp/":function(t,e,n){"use strict";var i={name:"RecentTags",props:["photoId"],computed:{recentTags:function(){return this.$store.state.litter.recentTags},recentCustomTags:function(){return this.$store.state.litter.recentCustomTags}},methods:{getCategoryName:function(t){return this.$i18n.t("litter.categories.".concat(t))},getTagName:function(t,e){return this.$i18n.t("litter.".concat(t,".").concat(e))},addRecentTag:function(t,e){var n=1;this.$store.state.litter.tags.hasOwnProperty(this.photoId)&&this.$store.state.litter.tags[this.photoId].hasOwnProperty(t)&&this.$store.state.litter.tags[this.photoId][t].hasOwnProperty(e)&&(n=parseInt(this.$store.state.litter.tags[this.photoId][t][e])+1),this.$store.commit("changeCategory",t),this.$store.commit("changeTag",e),this.$store.commit("addTag",{photoId:this.photoId,category:t,tag:e,quantity:n})},addRecentCustomTag:function(t){this.$store.commit("addCustomTag",{photoId:this.photoId,customTag:t})},clearRecentTags:function(){this.$store.commit("initRecentTags",{}),this.$store.commit("initRecentCustomTags",[]),this.$localStorage.remove("recentTags"),this.$localStorage.remove("recentCustomTags")},clearRecentTag:function(t,e){this.$store.commit("removeRecentTag",{category:t,tag:e}),this.$localStorage.set("recentTags",JSON.stringify(this.recentTags))},clearRecentCustomTag:function(t){this.$store.commit("removeRecentCustomTag",t),this.$localStorage.set("recentCustomTags",JSON.stringify(this.recentCustomTags))}}},r=(n("SDPu"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return Object.keys(t.recentTags).length>0||t.recentCustomTags.length?n("div",{staticClass:"tags-container"},[n("p",{staticClass:"recent-tags-title mb-5 has-text-weight-bold"},[t._v(t._s(t.$t("tags.recently-tags")))]),t._v(" "),t.recentCustomTags.length?n("div",[n("p",[t._v(t._s(t.$t("tags.custom-tags")))]),t._v(" "),n("transition-group",{staticClass:"recent-tags",attrs:{name:"list",tag:"div"}},t._l(t.recentCustomTags,(function(e){return n("div",{key:e,staticClass:"litter-tag",on:{click:function(n){return t.addRecentCustomTag(e)}}},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.clearRecentCustomTag(e)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v(t._s(e))])])})),0)],1):t._e(),t._v(" "),n("transition-group",{attrs:{name:"categories",tag:"div"}},t._l(Object.keys(t.recentTags),(function(e){return n("div",{key:e},[n("p",[t._v(t._s(t.getCategoryName(e)))]),t._v(" "),n("transition-group",{staticClass:"recent-tags",attrs:{name:"list",tag:"div"}},t._l(Object.keys(t.recentTags[e]),(function(i){return n("div",{key:i,staticClass:"litter-tag",on:{click:function(n){return t.addRecentTag(e,i)}}},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.clearRecentTag(e,i)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v(t._s(t.getTagName(e,i)))])])})),0)],1)})),0),t._v(" "),n("div",{staticClass:"clear-tags-button"},[n("button",{staticClass:"button is-danger is-small tooltip",on:{click:t.clearRecentTags}},[n("span",{staticClass:"tooltip-text"},[t._v(t._s(t.$t("tags.clear-tags-btn")))]),t._v(" "),n("i",{staticClass:"fa fa-trash"})])])],1):t._e()}),[],!1,null,"6465121a",null);e.a=a.exports},"8mV1":function(t,e,n){var i=n("GAn2");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8njk":function(t,e,n){var i=n("KBsX");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8oxB":function(t,e){var n,i,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var l,u=[],c=!1,h=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&p())}function p(){if(!c){var t=s(d);c=!0;for(var e=u.length;e;){for(l=u,u=[];++h1)for(var n=1;n0},subscribed:function(){return this.$store.state.subscriber.just_subscribed}},methods:{clearErrors:function(){this.$store.commit("clearSubscriberErrors")},getError:function(t){return this.errors[t][0]},icon:function(t){return"/assets/icons/"+t},open:function(t){window.open(t,"_blank")},subscribe:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("SUBSCRIBE",e.email);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=(n("PKdz"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"foot"},[n("div",{staticClass:"container"},[n("div",{staticClass:"inner-footer-container has-text-centered"},[n("p",{staticClass:"top-footer-title"},[t._v(t._s(t.$t("home.footer.email-you"))+"?")]),t._v(" "),t.hasErrors?n("div",{staticClass:"notification is-danger mb1em"},t._l(Object.keys(this.errors),(function(e){return n("div",{key:e},[n("p",[t._v(t._s(t.getError(e)))])])})),0):t._e(),t._v(" "),n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.subscribe(e)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input f-input",attrs:{placeholder:t.$t("home.footer.enter-email"),required:"",type:"email"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.clearErrors]}}),t._v(" "),n("br"),t._v(" "),n("button",{staticClass:"button is-medium is-primary hov mb2"},[t._v(t._s(t.$t("home.footer.subscribe")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.subscribed,expression:"subscribed"}],staticClass:"footer-success"},[t._v("\n "+t._s(t.$t("home.footer.subscribed-success-msg"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-half foot-container-left"},[n("p",{staticClass:"olm-title"},[t._v("#OpenLitterMap")]),t._v(" "),n("p",{staticClass:"footer-text mb1"},[t._v(t._s(t.$t("home.footer.need-your-help"))+".")]),t._v(" "),t._l(t.socials,(function(e){return n("img",{staticClass:"footer-icon",attrs:{src:t.icon(e.icon)},on:{click:function(n){return t.open(e.url)}}})})),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"footer-text mt1"},[t._v("\n v2.19.11\n ")])],2),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.read")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://openlittermap.medium.com/")}}},[t._v(t._s(t.$t("home.footer.blog")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://opengeospatialdata.springeropen.com/articles/10.1186/s40965-018-0050-y")}}},[t._v(t._s(t.$t("home.footer.research-paper")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/references"}},[t._v(t._s(t.$t("home.footer.references")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/credits"}},[t._v(t._s(t.$t("home.footer.credits")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/faq"}},[t._v(t._s(t.$t("common.faq")))])],1),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.watch")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=my7Cx-kZhT4")}}},[t._v("TEDx 2017")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=E_qhEhHwUGM")}}},[t._v("State of the Map 2019")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=T8rGf1ScR1I")}}},[t._v("Datapub 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=5HuaQNeHuZ8")}}},[t._v("ESA PhiWeek 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=QhLsA0WIfTA")}}},[t._v("Geneva Form, UN 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=Pe4nHdoAlu4")}}},[t._v("Cardano4Climate Meetup 2021")])]),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.help")))]),t._v(" "),n("router-link",{attrs:{to:"/contact-us"}},[n("p",{staticClass:"footer-link"},[t._v(t._s(t.$t("home.footer.contact-us")))])]),t._v(" "),n("p",{staticClass:"footer-link"},[t._v(t._s(t.$t("home.footer.create-account")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://angel.co/openlittermap/jobs")}}},[t._v(t._s(t.$t("home.footer.join-the-team")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://join.slack.com/t/openlittermap/shared_invite/zt-fdctasud-mu~OBQKReRdC9Ai9KgGROw")}}},[t._v(t._s(t.$t("home.footer.join-slack")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://github.com/openlittermap")}}},[t._v("GitHub")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.facebook.com/pg/openlittermap/groups/")}}},[t._v(t._s(t.$t("home.footer.fb-group")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{to:"/donate"}},[t._v(t._s(t.$t("home.footer.single-donation")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{to:"/signup"}},[t._v(t._s(t.$t("home.footer.crowdfunding")))])],1)])]),t._v(" "),n("div",{staticClass:"footer-bottom"},[n("p",{staticClass:"footer-text"},[t._v(t._s(t.$t("home.footer.olm-is-flagship")))])])])}),[],!1,null,"bc2a3432",null).exports,u={name:"Partners"},c=(n("UE2J"),{name:"Welcome",components:{Partners:Object(s.a)(u,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"partners-list"},[e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://cardano.org/",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/cardano.svg",alt:"Partner"}})])]),this._v(" "),e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://elfc.com/",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/engine-lease-finance-logo.png",alt:"Partner"}})])]),this._v(" "),e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://twitter.com/PlasticRaiders?s=20",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/plastic_raiders.png",alt:"Partner"}})])]),this._v(" "),e("div",{staticClass:"partner has-text-centered"},[e("a",{attrs:{href:"https://www.sfi.ie/",target:"_blank"}},[e("img",{attrs:{loading:"lazy",src:"/assets/partners/science-foundation-ireland.png",alt:"Partner"}})])])])])}],!1,null,"3998ef0d",null).exports,Footer:l},mounted:function(){this.startHeadingsAnimation()},data:function(){return{headings:[{title:this.$t("home.welcome.plastic-pollution-out-of-control"),img:"/assets/plastic_bottles.jpg"},{title:this.$t("home.welcome.fires-out-of-control"),img:"/assets/forest_fire.jpg"},{title:this.$t("home.welcome.glass-hurts-pets"),img:"/assets/dog.jpeg"}],activeHeadingIndex:0}},computed:{activeHeading:function(){return this.headings[this.activeHeadingIndex]},modal:function(){return this.$store.state.modal.show}},methods:{android:function(){window.open("https://play.google.com/store/apps/details?id=com.geotech.openlittermap","_blank")},ios:function(){window.open("https://apps.apple.com/us/app/openlittermap/id1475982147","_blank")},startHeadingsAnimation:function(){var t=this,e=null;function n(){document.hidden?e&&clearInterval(e):e=setInterval((function(){t.activeHeadingIndex=(t.activeHeadingIndex+1)%t.headings.length}),5e3)}n(),document.addEventListener("visibilitychange",n)}}}),h=(n("Hj5F"),Object(s.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"container home-container"},[n("div",{staticClass:"columns c-1"},[n("div",{staticClass:"column is-half"},[n("transition",{attrs:{name:"slide-fade-left",mode:"out-in"}},[n("h1",{key:t.activeHeading.title,staticClass:"main-title variable-height",domProps:{innerHTML:t._s(t.activeHeading.title)}}),t._v(".\n ")]),t._v(" "),n("h2",{staticClass:"subtitle is-3 home-img-padding"},[t._v("\n "+t._s(t.$t("home.welcome.help-us"))+".\n ")]),t._v(" "),n("div",{staticClass:"flex"},[n("img",{staticClass:"app-icon",staticStyle:{"margin-right":"1em"},attrs:{src:"/assets/icons/ios.png"},on:{click:t.ios}}),t._v(" "),n("img",{staticClass:"app-icon",attrs:{src:"/assets/icons/android.png"},on:{click:t.android}})])],1),t._v(" "),n("div",{staticClass:"column is-half"},[n("div",{staticClass:"top-image"},[n("transition",{attrs:{name:"slide-fade-right",mode:"out-in"}},[n("img",{key:t.activeHeading.title,attrs:{src:t.activeHeading.img,alt:t.activeHeading.title}})])],1)])]),t._v(" "),n("div",{staticClass:"why-container"},[n("h1",{staticClass:"main-title"},[t._v("\n "+t._s(t.$t("home.welcome.why-collect-data"))+"?\n ")]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(0),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 1. "+t._s(t.$t("home.welcome.visibility"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.our-maps-reveal-litter-normality"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(1),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 2. "+t._s(t.$t("home.welcome.science"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.our-data-open-source"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(2),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 3. "+t._s(t.$t("home.welcome.community"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle"},[t._v("\n "+t._s(t.$t("home.welcome.must-work-together"))+".\n ")])])])]),t._v(" "),n("div",[n("h1",{staticClass:"main-title"},[t._v("\n "+t._s(t.$t("home.welcome.how-does-it-work"))+"?\n ")]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(3),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 1. "+t._s(t.$t("home.welcome.take-a-photo"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.device-captures-info"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(4),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 2. "+t._s(t.$t("home.welcome.tag-the-litter"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v("\n "+t._s(t.$t("home.welcome.tag-litter-you-see"))+"!\n ")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(5),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("\n 3. "+t._s(t.$t("home.welcome.share-results"))+"\n ")]),t._v(" "),n("h3",{staticClass:"welcome-subtitle"},[t._v("\n "+t._s(t.$t("home.welcome.share"))+"!\n ")])])])]),t._v(" "),n("div",{staticClass:"partners-container container is-max-desktop"},[n("p",{staticClass:"has-text-centered main-title"},[t._v(t._s(t.$t("home.welcome.our-partners")))]),t._v(" "),n("Partners")],1)]),t._v(" "),n("Footer")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/world.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/microscope.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/tree.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/camera.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/phone.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center has-text-centered"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/twitter2.png"}})])}],!1,null,"6d925cec",null));e.default=h.exports},AYZs:function(t){t.exports=JSON.parse('{"card-number":"Numer karty","card-holder":"Imię i nazwisko posiadacza karty","exp":"Termin ważności","cvv":"CVV","placeholders":{"card-number":"Twój 16-cyfrowy numer karty","card-holder":"Imię i nazwisko posiadacza karty","exp-month":"Miesiąc","exp-year":"Rok","cvv":"***"}}')},Aaoo:function(t){t.exports=JSON.parse('{"general":"Kwa ujumla","password":"Neno la siri","details":"Maelezo ya Kibinafsi","social":"Akaunti za jamii","account":"Akaunti yangu","payments":"Malipo yangu","privacy":"Faragha","littercoin":"Littercoin (LTRX)","presence":"Uwepo","emails":"Barua pepe","show-flag":"Onyesha Bendera","teams":"Timu"}')},Ap9Q:function(t){t.exports=JSON.parse('{"cancel":"Megszüntetés","submit":"Beküldés","download":"Letöltés","delete":"Törlés","delete-image":"Törölje a képet","confirm-delete":"Törlés jóváhagyása","loading":"Betöltés...","created_at":"Feltöltve itt","created":"Létrehozva","created-by":"Készítette","datetime":"Felvéve","day-names":["Mo","Tu","We","Th","Fr","Sa","Su"],"month-names":["January","February","March","April","May","June","July","August","September","October","November","December"],"short-month-names":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"next":"Következő","previous":"Előző","next-page":"Következő oldal","add-tags":"Címkék hozzáadása","add-many-tags":"Több címke megadása","select-all":"Minden kiválasztása","de-select-all":"Törölje az összes kijelölését","choose-dates":"Válasszon dátumot","not-verified":"Nem ellenőrzött","verified":"Ellenőrizve","search-by-id":"Keresés azonosító alapján","active":"Aktív","inactive":"Inaktív","inactivate":"Csapat-hozzájárulás letiltása","your-email":"you@email.com","team":"Csapat","actions":"Akciók","anonymous":"Névtelen","photo":"Fénykép","reason":"Reason","faq":"Frequently Asked Questions"}')},AxWf:function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap csapatok","dashboard":"Irányítópult","join-a-team":"Csatlakozz egy csapathoz","create-a-team":"Csapat létrehozása","your-teams":"Csapataid","leaderboard":"Ranglista","settings":"Beállítások","teams-dashboard":"Csapatok irányítópult","photos-uploaded":"Fényképek feltöltve","litter-tagged":"Szemét megjelölve","members-uploaded":"A csapat tagjai feltöltöttek","all-teams":"Minden csapat","times":{"today":"Ma","week":"Ezen a héten","month":"Ebben a hónapban","year":"Idén","all":"Összes","created_at":"Feltöltve","datetime":"Felvéve"}}')},"B/ql":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a);n("5A0h");function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))}}var u={name:"Payments",components:{Loading:o.a},created:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loading=!0,0!==t.$store.state.plans.plans.length){e.next=4;break}return e.next=4,t.$store.dispatch("GET_PLANS");case 4:if(!t.$store.state.user.user.stripe_id){e.next=7;break}return e.next=7,t.$store.dispatch("GET_USERS_SUBSCRIPTIONS");case 7:t.loading=!1;case 8:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0,plan:"Startup"}},computed:{check_for_stripe_id:function(){return this.$store.state.user.user.stripe_id},current_plan:function(){var t=this;return this.plans.find((function(e){return e.name===t.subscription.name}))},plans:function(){return this.$store.state.plans.plans},subscription:function(){return this.$store.state.subscriber.subscription}},methods:{cancel_active_subscription:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("DELETE_ACTIVE_SUBSCRIPTION");case 2:case"end":return e.stop()}}),e)})))()},resubscribe:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("RESUBSCRIBE",t.plan);case 2:case"end":return e.stop()}}),e)})))()},subscribe:function(){}}},c=n("KHd+"),h=Object(c.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.payments.finance")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"column one-third is-offset-1"},[t.check_for_stripe_id?n("div",["active"===t.subscription.stripe_status?n("div",[n("p",[t._v("You are currently subscribed to the "),n("strong",{staticClass:"green"},[t._v(t._s(t.subscription.name))]),t._v(" plan")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Helping us with "),n("strong",{staticClass:"green"},[t._v("€"+t._s(t.current_plan.price/100))]),t._v(" per month")]),t._v(" "),n("p",[t._v("Thank you for helping the development of OpenLitterMap!")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("You can change or cancel your subscription at any time.")]),t._v(" "),n("button",{staticClass:"button is-medium is-danger",on:{click:t.cancel_active_subscription}},[t._v("Cancel Subscription")])]):n("div",[n("p",{staticClass:"mb1"},[t._v("You have unsubscribed from "),n("strong",{staticClass:"green"},[t._v(t._s(t.subscription.name))])]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Thank you for supporting the development of OpenLitterMap")]),t._v(" "),n("p",[t._v("Please contact us if you would like to resubscribe, or else create a new account. Thanks!")])])]):n("div",[n("p",[t._v(t._s(t.$t("settings.payments.help")))]),t._v(" "),n("ul",[n("li",[t._v("- "+t._s(t.$t("settings.payments.support")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-costs")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-hire")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-produce")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-write")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-outreach")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-incentivize")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.more-soon")))])]),t._v(" "),n("button",{staticClass:"button is-medium is-primary",on:{click:t.subscribe}},[t._v(t._s(t.$t("settings.payments.click-to-support")))])])])],1)])}),[],!1,null,null,null);e.default=h.exports},B8Gz:function(t){t.exports=JSON.parse('{"privacy-title":"Control your Privacy","privacy-text":"Control your privacy for every team you have joined.","team-update-title":"Update your teams","team-update-text":"You can only update the teams you are leading.","maps":{"team-map":"Team Map","name-will-appear":"Your name will appear on the maps","username-will-appear":"Your username will appear on the maps","will-not-appear":"Your name and username will not appear on the maps"},"leaderboards":{"team-leaderboard":"Team Leaderboard","name-will-appear":"Your name will appear on the leaderboards","username-will-appear":"Your username will appear on the leaderboards","will-not-appear":"Your name and username will not appear on the leaderboards"},"submit-one-team":"Save for this Team","apply-all-teams":"Apply for all Teams"}')},BDmR:function(t){t.exports=JSON.parse('{"finance":"Finance the development of OpenLitterMap","help":"We need your help.","support":"Support Open Data on Plastic Pollution","help-costs":"Help cover our costs","help-hire":"Hire developers, designers & graduates","help-produce":"Produce videos","help-write":"Write papers","help-outreach":"Conferences & outreach","help-incentivize":"Incentivize data collection with Littercoin","more-soon":"More exciting updates coming soon","click-to-support":"Click here to support"}')},BE1l:function(t){t.exports=JSON.parse('{"toggle-email":"Włącz/wyłącz subskrypcję e-mail","we-send-updates":"Od czasu do czasu wysyłamy e-maile z aktualizacjami i dobrymi wieściami","subscribe":"Tutaj możesz zasubskrybować lub zrezygnować z otrzymywania naszych e-maili","current-status":"Aktualny Status","change-status":"Zmień Status"}')},BGUB:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap is op dit moment volledig afhankelijk van giften.","its-important":"Het is belangrijk"}')},BWkM:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e-1:t.password},on:{input:t.clearErrors,change:function(e){var n=t.password,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.password=n.concat([null])):a>-1&&(t.password=n.slice(0,a).concat(n.slice(a+1)))}else t.password=r}}}):"radio"==(t.isPasswordVisible?"text":"password")?n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",class:t.passwordErrors?"is-danger":"",attrs:{id:"password",name:"password",required:"",placeholder:"********",type:"radio"},domProps:{checked:t._q(t.password,null)},on:{input:t.clearErrors,change:function(e){t.password=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",class:t.passwordErrors?"is-danger":"",attrs:{id:"password",name:"password",required:"",placeholder:"********",type:t.isPasswordVisible?"text":"password"},domProps:{value:t.password},on:{input:[function(e){e.target.composing||(t.password=e.target.value)},t.clearErrors]}}),t._v(" "),t._m(1),t._v(" "),n("span",{staticClass:"icon is-small is-right cursor-pointer",staticStyle:{"pointer-events":"all"},on:{click:function(e){t.isPasswordVisible=!t.isPasswordVisible}}},[n("i",{staticClass:"fa",class:t.isPasswordVisible?"fa-eye":"fa-eye-slash"})]),t._v(" "),t.passwordErrors?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.passwordErrors))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"password_conf"}},[t._v(t._s(t.$t("settings.password.confirm-new-password")))]),t._v(" "),n("div",{staticClass:"control has-icons-left has-icons-right",class:t.processing?"is-loading":""},["checkbox"==(t.isPasswordConfirmationVisible?"text":"password")?n("input",{directives:[{name:"model",rawName:"v-model",value:t.passwordConfirmation,expression:"passwordConfirmation"}],staticClass:"input",class:t.passwordConfirmationErrors?"is-danger":"",attrs:{id:"password_conf",name:"password_conf",required:"",placeholder:"********",type:"checkbox"},domProps:{checked:Array.isArray(t.passwordConfirmation)?t._i(t.passwordConfirmation,null)>-1:t.passwordConfirmation},on:{input:t.clearErrors,change:function(e){var n=t.passwordConfirmation,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.passwordConfirmation=n.concat([null])):a>-1&&(t.passwordConfirmation=n.slice(0,a).concat(n.slice(a+1)))}else t.passwordConfirmation=r}}}):"radio"==(t.isPasswordConfirmationVisible?"text":"password")?n("input",{directives:[{name:"model",rawName:"v-model",value:t.passwordConfirmation,expression:"passwordConfirmation"}],staticClass:"input",class:t.passwordConfirmationErrors?"is-danger":"",attrs:{id:"password_conf",name:"password_conf",required:"",placeholder:"********",type:"radio"},domProps:{checked:t._q(t.passwordConfirmation,null)},on:{input:t.clearErrors,change:function(e){t.passwordConfirmation=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.passwordConfirmation,expression:"passwordConfirmation"}],staticClass:"input",class:t.passwordConfirmationErrors?"is-danger":"",attrs:{id:"password_conf",name:"password_conf",required:"",placeholder:"********",type:t.isPasswordConfirmationVisible?"text":"password"},domProps:{value:t.passwordConfirmation},on:{input:[function(e){e.target.composing||(t.passwordConfirmation=e.target.value)},t.clearErrors]}}),t._v(" "),t._m(2),t._v(" "),n("div",{staticClass:"icon is-small is-right cursor-pointer",staticStyle:{"pointer-events":"all"},on:{click:function(e){t.isPasswordConfirmationVisible=!t.isPasswordConfirmationVisible}}},[n("i",{staticClass:"fa",class:t.isPasswordConfirmationVisible?"fa-eye":"fa-eye-slash"})]),t._v(" "),t.passwordConfirmationErrors?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.passwordConfirmationErrors))]):t._e()])]),t._v(" "),n("div",{staticClass:"field has-text-centered"},[n("div",{staticClass:"control"},[n("button",{staticClass:"button is-primary",class:t.processing?"is-loading":"",attrs:{type:"submit",disabled:t.processing}},[t._v("\n Reset Password\n ")])])])])])]),t._v(" "),n("div",{staticClass:"column"})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-lock"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-lock"})])}],!1,null,"70f687b4",null);e.default=h.exports},Bj9c:function(t){t.exports=JSON.parse('{"de":{"name":"Niemcy","lang":"Niemiecki"},"en":{"name":"Wielka Brytania","lang":"English"},"es":{"name":"Hiszpania","lang":"Español"},"fr":{"name":"Francja","lang":"Francuski"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Irlandia","lang":"Irlandzki"},"it":{"name":"Włochy","lang":"Włoski"},"ms":{"name":"Malezja","lang":"Malay"},"nl":{"name":"Holandia","lang":"Nederlands"},"tk":{"name":"Turcja","lang":"Turecki"},"sw":{"name":"Tanzania","lang":"Swahili"},"uk":{"name":"UK","lang":"English"},"pl":{"name":"Polska","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},BmvU:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Insira um identificador para ingressar em uma equipe.","team-identifier":"Junte-se à equipe por identificador","enter-id-to-join-placeholder":"Digite o ID para ingressar em uma equipe","join-team":"Junte-se à equipe"}')},BpIE:function(t){t.exports=JSON.parse('{"title":"Você está preparado?","subtitle":"Inscreva-se para se tornar um especialista em mapeamento de lixo e nos ajude a combater a poluição do plástico","crowdfunding-message":"Por favor, considere apoiar nosso trabalho por crowdfunding OpenLitterMap com apenas 6 centavos por dia com uma assinatura mensal para ajudar a crescer e desenvolver esta plataforma importante.","form-create-account":"Crie a sua conta","form-field-name":"Nome","form-field-unique-id":"Identificador único","form-field-email":"E-Mail","form-field-password":"Senha. Deve conter letras maiúsculas, minúsculas e um número.","form-field-pass-confirm":"Confirme a senha","form-account-conditions":"Eu li e concordo com o Termos e Condições de Uso e Política de Privacidade","form-btn":"Inscrever-se","create-account-note":"Nota: Se você não receber o e-mail de verificação em sua caixa de entrada, verifique sua pasta de spam."}')},"BqL+":function(t){t.exports=JSON.parse('{"click-to-upload":"Kliknij lub upuść swoje zdjęcia aby przesłać","thank-you":"Dziękuję!","need-tag-litter":"Następnie musisz oznaczyć śmieci","tag-litter":"Oznacz śmieci"}')},"C3+9":function(t,e,n){var i=n("1k10");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},C8vp:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"A műanyagszennyezés ellenőrizhetetlen","fires-out-of-control":"A cigarettacsikkek tüzet okozhatnak","glass-hurts-pets":"A törött üveg bántja a háziállatokat","climate-change-out-of-control":"A műanyag fokozza a klímaváltozást","help-us":"Segítsen nekünk létrehozni a világ legfejlettebb nyílt adatbázisát a szemétről, a márkákról és a műanyagszennyezésről","why-collect-data":"Miért kell adatokat gyűjtenünk","visibility":"Láthatóság","our-maps-reveal-litter-normality":"Sok ember számára a szemét normálissá és láthatatlanná vált. A térképek erősek, mert azt kommunikálják, amit általában nem látunk","science":"Problémamegoldás","our-data-open-source":"Adataink nyíltak és hozzáférhetőek. Mindenkinek egyenlő, nyílt és korlátlan joga van az összes adatunk letöltéséhez és bármilyen célra történő felhasználásához","community":"Közösség","must-work-together":"Szükségünk van az Ön segítségére, hogy paradigmaváltást hozzunk létre a környezetszennyezés megértésében és reagálásában","how-does-it-work":"Hogyan működik","take-a-photo":"Fotózd le","device-captures-info":"Eszköze értékes információkat rögzíthet a helyről, időről, tárgyról, anyagról és márkáról.","tag-the-litter":"Jelölje meg a szemetet","tag-litter-you-see":"Csak jelöld meg a képen látható szemetet. Meg lehet jelölni, hogy a szemetet felvették-e, vagy még mindig ott van. Fényképeit bármikor feltöltheti","share-results":"Ossza meg eredményeit","share":"Ossza meg a térképeket, vagy töltse le adatainkat. Mutassuk meg mindenkinek, hogy valójában mennyire szennyezett a világ","verified":"E-mail címét megerősítettük! Most már bejelentkezhet.","close":"Bezárás","our-partners":"Partnereink","become-a-partner":"Legyél partnerünk"}')},CASQ:function(t,e,n){var i=n("ODgP");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CJub:function(t,e,n){var i=n("CqVK");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CO0D:function(t){t.exports=JSON.parse('{"address":"Dirección","add-tag":"Añadir etiqueta","coordinates":"Coordenadas","device":"Dispositivo","next":"Imagen siguiente","no-tags":"No tienes nada que etiquetar en este momento.","picked-up-title":"¿Basura recogida?","please-upload":"Subir más fotos","previous":"Imagen anterior","removed":"La basura ha sido retirada","still-there":"La basura sigue ahí","taken":"Tomada","to-tag":"Imágenes restantes por etiquetar","total-uploaded":"Total de imágenes subidas","uploaded":"Subida","confirm-delete":"¿Quieres eliminar esta imagen? Esto no se puede deshacer.","recently-tags":"Etiquetas usadas recientemente: ","clear-tags":"¿Borrar etiquetas recientes?","clear-tags-btn":"Borrar etiquetas recientes","search-all-tags":"Presione Ctrl + Espacio para buscar todas las etiquetas","search-custom-tags":"Agrega tus propias etiquetas","custom-tags":"Etiquetas Personalizadas","custom-tags-min":"Debe tener al menos 3 caracteres.","custom-tags-max":"Debe tener como máximo 100 caracteres.","tag-already-added":"Etiqueta ya añadida.","tag-limit-reached":"Puede cargar hasta 3 etiquetas personalizadas."}')},CW5W:function(t){t.exports=JSON.parse('{"welcome":"Bienvenue sur votre nouveau Profil","out-of":"Sur les {total} utilisateurs","rank":"Vous êtes à la {rank} place","have-uploaded":"Vous avez téléchargé","photos":"photos","tags":"tags","all-photos":"toutes les photos","all-tags":"tous les tags","your-level":"Votre niveau","reached-level":"Vous avez atteint le niveau","have-xp":"et vous avez","need-xp":"vous devez","to-reach-level":"pour atteindre le niveau suivant.","total-categories":"Total Catégories","calendar-load-data":"Télécharger des données","download-data":"Télécharger Mes Données","email-send-msg":"Un e-mail vous sera envoyé à l\'adresse que vous utilisez pour vous connecter.","timeseries-verified-photos":"Photos Vérifiées","manage-my-photos":"Regardez vos photos, choisissez-en plusieurs, supprimez les ou ajoutez des tags!","view-my-photos":"Voir mes Photos","my-photos":"Mes Photos","add-tags":"Ajouter des Tags","bulk-tag-dblclick-info":"Double-cliquez pour agrandir les photos!"}')},CacJ:function(t){t.exports=JSON.parse('{"change-password":"Mudar Minha Senha","enter-old-password":"Digite a senha antiga","enter-new-password":"Insira a nova senha","enter-strong-password":"Digite uma senha forte","confirm-new-password":"Confirme sua nova senha","repeat-strong-password":"Repita sua senha forte","update-password":"Atualizar Senha"}')},CdcD:function(t,e,n){var i=n("7U67");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},ChBz:function(t,e,n){var i=n("OI5W");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CqVK:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".footerCon[data-v-f57c853e] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n margin: 0 20px 20px;\n}",""])},CvDn:function(t){t.exports=JSON.parse('{"success":"Fanikiwa","error":"Tatizo!","settings-updated":"Mipangilio imesasishwa kikamilifu!","tags-added":"Mafanikio! Lebo zako zimeongezwa","subscription-cancelled":"Usajili wako umeghairiwa","privacy-updated":"Mipangilio yako ya Faragha imehifadhiwa","litter-toggled":"Idadi zilizookotwa imesasishwa","settings":{"subscribed":"Umejiandikisha kwa sasisho na habari njema!","unsubscribed":"Umejiondoa. Hutapokea tena habari njema!","flag-updated":"Bendera yako imesasishwa"},"something-went-wrong":"Hitilafu fulani imetokea. Tafadhali, jaribu tena au wasiliana nasi!"}')},CxA2:function(t){t.exports=JSON.parse('{"title":"Tusaidie kubadilisha ulimwengu.","subtitle":"Tunakua kila siku","photos-last-30-days":"Picha zilizopakiwa siku 30 zilizopita","users-last-30-days":"Watumiaji wapya siku 30 zilizopita","litter-tags-last-30-days":"Taka zilizo wekewa nembo siku 30 zilizopita","photos-every-month-label":"Picha zinazopakiwa kila mwezi","users-every-month-label":"Watumiaji wapya kila mwezi","zoom-text":"Jiunge nasi kwenye {link}, ambapo tunapata kusikia mawazo na mapendekezo mengi mapya kutoka kwa jumuiya yetu inayokua ya kimataifa. Kila wiki watumiaji wetu hutushirikisha maoni yao ambayo husaidia kufanya programu yetu iwe rahisi na bora zaidi kutumia. Saidia kuunda mwelekeo wa siku zijazo wa ukusanyaji wetu wa taarifa wa chanzo huria na jukwaa la ufuatiliaji wa mazingira. Kikao kinaanza :","zoom-weekly-calls":"vikao vya wiki kupitia zoom 6 p.m. GMT (muda wa Dublin/London/Lisbon) kila Alhamisi","zoom-live":"Mubashara","zoom-days":"siku | siku","zoom-hours":"saa | masaa","zoom-minutes":"dakika | dakika","slack-text":"{slack} ndio njia yetu kuu ya mawasiliano na ushirikiano. Watumiaji wetu wa nguvu, wapya, wasanidi programu, jumuiya ya zaidi ya wanachama 400 - sote tupo. Sema neno na utapata jibu papo hapo, tuko mtandaoni kila wakati.","fundraiser-text":"OpenLitterMap inategemea kwaujumla michango. Tumeanzisha {link} na bado tuko mbali na lengo letu. Michango yote inakaribishwa. {emoji}","fundraiser-link":"GoFundMe Fundraiser"}')},D4Tw:function(t,e,n){var i=n("YThA");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},D9m9:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flex[data-v-7e4fd7ef] {\n display: flex;\n}\n.items-center[data-v-7e4fd7ef] {\n align-items: center;\n}\n.h-full[data-v-7e4fd7ef] {\n height: 100%;\n}\n.-mt-2[data-v-7e4fd7ef] {\n margin-top: -2px;\n}",""])},DACc:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.cleanup-container[data-v-cc82b81c] {\n text-align: left;\n padding: 0 1em;\n}\n.cleanup-buttons[data-v-cc82b81c] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n",""])},DIPp:function(t){t.exports=JSON.parse('{"title":"Ben je er klaar voor?","subtitle":"Meld je nu aan om een afval expert te worden en help ons de plastic vervuiling te bestreiden.","crowdfunding-message":"Overweeg alsjeblieft om ons werk te steunen middels Crowdfunding. Je kunt OpenLitterMap al helpen voor slechts 6 cent per dag met een maandelijkse deelname om te helpen dit belangrijke platform te laten groeien.","form-create-account":"Maak je account","form-field-name":"Naam","form-field-unique-id":"Uniek Kenmerk","form-field-email":"E-Mail Adres","form-field-password":"Wachtwoord. Moet minimaal een hoofdletter, een kleine letter en een getal bevatten.","form-field-pass-confirm":"Bevestig Wachtwoord","form-account-conditions":"Ik heb de Gebruiksvoorwaarden en Privacybeleid gelezen en ben daarmee akkoord","form-btn":"Aanmelden","create-account-note":"Opmerking: Als je geen bevestigingsmail in je in-box krijgt, controleer dan de spam-box."}')},DO4j:function(t){t.exports=JSON.parse('{"finance":"Kufadhili maendeleo ya OpenLitterMap","help":"Tunahitaji msaada wako.","support":"Saidia taarifa za wazi juu ya Uchafuzi wa Plastiki","help-costs":"Tusaidie kulipia gharama zetu","help-hire":"Ajiri watengenezaji, wabunifu na wahitimu","help-produce":"Tengeneza video","help-write":"Andika nyaraka","help-outreach":"Mikutano na mawasiliano","help-incentivize":"Kuhamasisha ukusanyaji wa taarifa na Littercoin","more-soon":"Taarifa za kusisimua zinakuja hivi karibuni","click-to-support":"Bofya hapa kusaidia"}')},"Dcc/":function(t){t.exports=JSON.parse('{"olm-teams":"Timu za OpenLitterMap","dashboard":"Ubao","join-a-team":"Jiunge na timu","create-a-team":"Unada timu","your-teams":"Timu Yako","leaderboard":"Ubao wa kiongozi","settings":"Mipangilio","teams-dashboard":"Ubao wa timu","photos-uploaded":"Picha zilizo pakiwa","litter-tagged":"Taka ziliwekewa lebo","members-uploaded":"wadau wa timu wamepakia","all-teams":"Timu zote","times":{"today":"Leo","week":"Wiki hii","month":"Mwezi huu","year":"Mwakahuu","all":"Wakati wote","created_at":"Imepakiwa","datetime":"Imechuliwa"}}')},DqzX:function(t){t.exports=JSON.parse('{"title":"Êtes-vous prêts?","subtitle":"S\'inscrire pour devenir un spécialiste en géolocalisation des déchets et nous aider à vaincre la pollution plastique.","crowdfunding-message":"Pour nous aider, pensez à soutenir notre travail à travers le financement participatif d\'OpenLitterMap. Avec seulement 6 centimes par jour pour une souscription mensuelle, vous participez à la croissance et au développement de cette importante platforme.","form-create-account":"Créer votre compte","form-field-name":"Nom","form-field-unique-id":"Identifiant Unique","form-field-email":"Adresse E-mail","form-field-password":"Mot de passe. Doit contenir au moins une majuscule, une miniscule et un chiffre.","form-field-pass-confirm":"Confirmer le mot de passe","form-account-conditions":"J\'ai lu et j\'accepte les Termes et Conditions d\'utilisation ainsi que la politique de confidentialité","form-btn":"S\'inscrire","create-account-note":"NB: Si vous ne recevez pas l\'e-mail de vérification dans votre courrier, veuillez vérifier votre dossier spam."}')},Ds3t:function(t,e,n){"use strict";var i=n("cDjH");n.n(i).a},"E+4Y":function(t){t.exports=JSON.parse('{"privacy-title":"Kontroluj swoją prywatność","privacy-text":"Kontroluj swoją prywatność każdej drużyny, do której dołączyłeś.","team-update-title":"Zaktualizuj swoje zespoły","team-update-text":"Możesz aktualizować tylko te drużyny, którymi kierujesz.","maps":{"team-map":"Mapa drużyny","name-will-appear":"Twoje imię pojawi się na mapach","username-will-appear":"Twoja nazwa użytkownika pojawi się na mapach","will-not-appear":"Twoje imię oraz nazwa użytkownika nie pojawią się na mapach"},"leaderboards":{"team-leaderboard":"Ranking drużyny","name-will-appear":"Twoje imię i nazwisko pojawi się w rankingach","username-will-appear":"Twoja nazwa użytkownika pojawi się w rankingach","will-not-appear":"Twoje imię oraz nazwa użytkownika nie pojawią się w rankingach"},"submit-one-team":"Zapisz dla tego zespołu","apply-all-teams":"Zapisz dla wszystkich zespołów"}')},E6oU:function(t){t.exports=JSON.parse('{"title":"¿Estas lista?","subtitle":"Regístrate para convertirte en un \'mapper\' de basura experto y ayúdanos a vencer la contaminación por plásticos.","crowdfunding-message":"Por favor, considera apoyar nuestro trabajo mediante el crowdfunding de OpenLitterMap con tan sólo 6 céntimos al día con una suscripción mensual para ayudar a crecer y desarrollar esta importante plataforma.","form-create-account":"Crea tu cuenta","form-field-name":"Nombre","form-field-unique-id":"Identificador único","form-field-email":"Dirección de correo electrónico","form-field-password":"Contraseña. Debe contener mayúsculas, minúsculas y un número.","form-field-pass-confirm":"Confirmar contraseña","form-account-conditions":"He leído y acepto los Términos y Condiciones de Uso y la Política de privacidad","form-btn":"Registrarme","create-account-note":"Nota: Si no recibes el correo electrónico de verificación en tu bandeja de entrada, comprueba en la carpeta de correo no deseado."}')},EDK3:function(t){t.exports=JSON.parse('{"taken-on":"Imechukuliwa","with-a":"Na","by":"Na","meter-hex-grids":"Mita hex grids","hover-to-count":"Pitisha juu ili kuhesabu","pieces-of-litter":"Vipande vya takataka","hover-polygons-to-count":"Pitisha juu ya poligoni ili kuhesabu"}')},EDOO:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Enter an identifier to join a team.","team-identifier":"Join team by identifier","enter-id-to-join-placeholder":"Enter ID to join a team","join-team":"Join Team"}')},EHpN:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".vfc-day[data-v-03906378] {\n position: relative;\n}\n.vfc-day .times[data-v-03906378] {\n position: absolute;\n top: -5px;\n background-color: red;\n color: white;\n border-radius: 50%;\n width: 15px;\n z-index: 20;\n height: 15px;\n line-height: 15px;\n}\n.vfc-day .times[data-v-03906378]:hover {\n cursor: pointer;\n background-color: #c70000;\n}\n.vfc-day .number[data-v-03906378] {\n position: absolute;\n top: -5px;\n right: calc(50% + 7px);\n background-color: green;\n color: white;\n font-size: 10px;\n border-radius: 50%;\n width: 15px;\n z-index: 30;\n height: 15px;\n line-height: 15px;\n}\n.vfc-day .number[data-v-03906378]:hover {\n background-color: #005e00;\n}\n.vfc-day .toolTip[data-v-03906378] {\n position: absolute;\n top: -20px;\n left: 0;\n padding: 5px;\n max-width: 108px;\n word-wrap: break-word;\n border-radius: 5px;\n z-index: 200;\n background-color: #005e00;\n}",""])},EHzo:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("wd/R"),o=n.n(a),s=n("kGIl"),l=n.n(s),u=(n("5A0h"),n("n2md")),c=n("/yRl"),h=n("vne5"),d=n("Whpc"),p=n("8bp/");function f(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var m={name:"Tag",components:{Loading:l.a,AddTags:u.a,Presence:c.a,Tags:h.a,ProfileDelete:d.a,RecentTags:p.a},mounted:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_CURRENT_USER");case 3:return t.next=5,e.$store.dispatch("GET_PHOTOS_FOR_TAGGING");case 5:e.loading=!1;case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){f(a,i,r,o,s,"next",t)}function s(t){f(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0}},computed:{current_page:function(){return this.$store.state.photos.paginate.current_page},hasRecentTags:function(){return Object.keys(this.$store.state.litter.recentTags).length>0||this.$store.state.litter.recentCustomTags.length>0},photos:function(){var t,e,n;return null===(t=this.$store.state)||void 0===t||null===(e=t.photos)||void 0===e||null===(n=e.paginate)||void 0===n?void 0:n.data},previous_page:function(){var t;return null===(t=this.$store.state.photos.paginate)||void 0===t?void 0:t.prev_page_url},remaining:function(){return this.$store.state.photos.remaining},show_current_page:function(){return this.$store.state.photos.paginate.current_page>1},show_next_page:function(){return this.$store.state.photos.paginate.next_page_url},user:function(){return this.$store.state.user.user}},methods:{getDate:function(t){return o()(t).format("LLL")},goToPage:function(t){this.$store.dispatch("SELECT_IMAGE",t)},nextImage:function(){this.$store.dispatch("NEXT_IMAGE")},previousImage:function(){this.$store.dispatch("PREVIOUS_IMAGE")}}},g=(n("PcAy"),n("KHd+")),v=Object(g.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero fullheight is-primary is-bold tag-container"},[t.loading?n("loading",{attrs:{"is-full-page":!0},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}}):n("div",{staticClass:"pt2"},[0===t.photos.length?n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container has-text-centered"},[n("h3",{staticClass:"subtitle is-1"},[t._v("\n "+t._s(t.$t("tags.no-tags"))+"\n ")]),t._v(" "),n("router-link",{attrs:{to:"/submit"}},[n("h3",{staticClass:"subtitle button is-medium is-info hov"},[t._v("\n "+t._s(t.$t("tags.please-upload"))+"\n ")])])],1)]):n("div",t._l(t.photos,(function(e){return n("div",{key:e.id,staticClass:"mb2"},[n("div",{staticClass:"columns"},[n("div",{staticClass:"column",attrs:{id:"image-metadata"}},[n("div",{staticClass:"box image-metadata-box"},[n("ul",[n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("tags.to-tag"))+": "+t._s(t.remaining)+"\n ")]),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("tags.total-uploaded"))+": "+t._s(t.user.total_images)+"\n ")]),t._v(" "),e.team?n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("common.team"))+": "),n("strong",[t._v(t._s(e.team.name))])]):t._e(),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n Next Littercoin: "+t._s(t.user.littercoin_progress)+"%\n ")]),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n Total Littercoin: "+t._s(t.user.total_littercoin)+"\n ")])]),t._v(" "),n("router-link",{attrs:{to:"/bulk-tag"}},[n("button",{staticClass:"button is-primary bulk-tag-btn"},[t._v("Tag in bulk")])])],1),t._v(" "),t.hasRecentTags?n("div",{staticClass:"box control has-text-centered"},[n("RecentTags",{attrs:{"photo-id":e.id}})],1):t._e()]),t._v(" "),n("div",{staticClass:"column is-6 image-wrapper"},[n("div",{staticClass:"image-content"},[n("img",{directives:[{name:"img",rawName:"v-img",value:{sourceButton:!0},expression:"{ sourceButton: true }"}],staticClass:"img",attrs:{src:e.filename}})]),t._v(" "),n("div",{staticClass:"column is-10 is-offset-1 mt-4"},[n("add-tags",{attrs:{id:e.id}})],1)]),t._v(" "),n("div",{staticClass:"column is-3",attrs:{id:"image-counts"}},[n("div",{staticClass:"box"},[n("p",{staticClass:"list-group-item"},[n("strong",[t._v("\n #"+t._s(e.id)+":\n ")]),t._v("\n\n "+t._s(t.$t("tags.taken"))+" "+t._s(t.getDate(e.datetime))+"\n ")]),t._v(" "),n("p",{staticClass:"list-group-item"},[n("strong",[t._v(t._s(t.$t("tags.coordinates"))+": ")]),t._v("\n\n "+t._s(e.lat)+", "+t._s(e.lon)+"\n ")]),t._v(" "),n("p",{staticClass:"list-group-item"},[n("strong",[t._v(t._s(t.$t("tags.address"))+": ")]),t._v("\n\n "+t._s(e.display_name)+"\n ")]),t._v(" "),n("p",{staticClass:"list-group-item"},[n("strong",[t._v(t._s(t.$t("tags.device"))+": ")]),t._v("\n\n "+t._s(e.model)+"\n ")]),t._v(" "),n("presence",{key:e.id}),t._v(" "),n("profile-delete",{staticClass:"mt-4",attrs:{photoid:e.id}})],1),t._v(" "),n("Tags",{attrs:{"photo-id":e.id}})],1)]),t._v(" "),n("div",{staticClass:"column",staticStyle:{"text-align":"center"}},[n("div",{staticClass:"has-text-centered mt3em"},[n("a",{directives:[{name:"show",rawName:"v-show",value:t.previous_page,expression:"previous_page"}],staticClass:"pagination-previous has-background-link has-text-white",on:{click:t.previousImage}},[t._v(t._s(t.$t("tags.previous")))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.remaining>t.current_page,expression:"remaining > current_page"}],staticClass:"pagination-next has-background-link has-text-white",on:{click:t.nextImage}},[t._v(t._s(t.$t("tags.next")))])])]),t._v(" "),n("div",{staticClass:"column"},[n("nav",{staticClass:"pagination is-centered",attrs:{role:"navigation","aria-label":"pagination"}},[n("ul",{staticClass:"pagination-list"},t._l(t.remaining,(function(e){return n("li",{key:e},[n("a",{class:e===t.current_page?"pagination-link is-current":"pagination-link",attrs:{"aria-label":"page"+t.current_page,"aria-current":t.current_page},on:{click:function(n){return t.goToPage(e)}}},[t._v(t._s(e))])])})),0)])])])})),0)])],1)}),[],!1,null,"c2477210",null);e.default=v.exports},EXqm:function(t){t.exports=JSON.parse('{"toggle-email":"Passer à l\'abonnement par e-mail","we-send-updates":"De temps en temps, nous envoyons des e-mails avec des mises à jour et de bonnes nouvelles.","subscribe":"Vous pouvez vous abonner ou vous désabonner de nos e-mails ici.","current-status":"Statut Actuel","change-status":"Changer de Statut"}')},EaOK:function(t,e,n){var i=n("5bHs");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},EfcM:function(t,e,n){"use strict";var i=n("5bAn");n.n(i).a},Eovg:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.locations-control[data-v-4b8d1e59] {\n text-align: right;\n}\n\n/* Small devices */\n@media screen and (max-width: 768px) {\n.locations-control[data-v-4b8d1e59] {\n text-align: center;\n}\n}\n",""])},EpLa:function(t,e,n){var i=n("pA5b");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},EpeX:function(t){t.exports=JSON.parse('{"general":"Em geral","password":"Senha","details":"Detalhes Pessoais","social":"Contas Sociais","account":"Minha Conta","payments":"Meus Pagamentos","privacy":"Privacidade","littercoin":"Littercoin (LTRX)","presence":"Presença","emails":"Emails","show-flag":"Mostrar Bandeira","teams":"Times"}')},"Ez+z":function(t){t.exports=JSON.parse('{"new-image":"Nieuwe Afbeelding","new-user":"Nieuwe Gebruiker","new-country":"Nieuw Land","new-state":"Nieuwe Staat","new-city":"Nieuwe Stad","user-signed-up":"Een nieuwe gebruiker heeft zich aangemeld!","say-hello-to":"Zeg hallo tegen","littercoin-mined":"Er is een Littercoin gedolven!","littercoin-100-boxes-verified":"100 OpenLitterAI-boxen geverifieerd","littercoin-100-verified":"100 afbeeldingen geverifieerd","team-created":"Er is een nieuw Team gemaakt!","litter-picked-up":"Zwerfvuil Opgepikt","litter-uploaded":"Zwerfvuil Geüpload"}')},EzV4:function(t){t.exports=JSON.parse('{"new-image":"Nueva Imagen","new-user":"Nuevo Usuario","new-country":"Nuevo País","new-state":"Nuevo Estado","new-city":"Ciudad Nueva","user-signed-up":"¡Un nuevo usuario se ha registrado!","say-hello-to":"Di hola a","littercoin-mined":"¡Se ha minado un Littercoin!","littercoin-100-boxes-verified":"100 cajas OpenLitterAI verificadas","littercoin-100-verified":"100 imágenes verificadas","team-created":"¡Se ha creado un nuevo Equipo!","litter-picked-up":"Basura Recogida","litter-uploaded":"Basura Subida"}')},F0ld:function(t,e,n){"use strict";var i=n("W/y5");n.n(i).a},F90D:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder, .swal2-input::-moz-placeholder, .swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder, .swal2-input:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder, .swal2-input::-ms-input-placeholder, .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}',""])},F99G:function(t){t.exports=JSON.parse('{"allowed-to-create":"Unaruhusiwa kuunda timu","what-kind-of-team":"Je, ungependa kuunda Timu ya aina gani?","team-type":"Aina za timu","team-name":"Jina la timu","my-awesome-team-placeholder":"Timu yangu bomba","unique-team-id":"Kitambulisho cha Timu cha Kipekee","id-to-join-team":"Mtu yeyote aliye na kitambulisho hiki ataweza kujiunga na timu yako.","create-team":"Tengeneza timu","update-team":"Sasisha Timu","created":"Hongera! Timu yako mpya imeundwa.","updated":"Timu imesasishwa.","select-team":"Chagua timu","fail":"Kulikuwa na hitilafu kuunda Timu yako","max-created":"Huruhusiwi kuunda timu zozote zaidi."}')},FOF1:function(t,e,n){var i=n("7Ypd");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},FSpa:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".about-icon[data-v-6d925cec] {\n height: 10em;\n text-align: center;\n}\n.c-1[data-v-6d925cec] {\n margin-bottom: 3em;\n}\n.home-container[data-v-6d925cec] {\n padding-top: 5em;\n}\n.home-img-padding[data-v-6d925cec] {\n padding-right: 2em;\n}\n.main-title[data-v-6d925cec] {\n font-size: 4rem;\n font-weight: 800;\n color: #363636;\n line-height: 1.125;\n margin-bottom: 1em;\n}\n.icon-center[data-v-6d925cec] {\n margin: auto;\n}\n.welcome-mb[data-v-6d925cec] {\n margin-bottom: 5em;\n}\n.main-subtitle[data-v-6d925cec] {\n font-size: 2rem;\n color: #4a4a4a;\n font-weight: 700;\n line-height: 1.5;\n margin-bottom: 0.5em;\n}\n.welcome-subtitle[data-v-6d925cec] {\n color: #4a4a4a;\n font-size: 2rem;\n font-weight: 400;\n line-height: 1.5;\n}\n.partners-container[data-v-6d925cec] {\n padding-left: 72px;\n padding-right: 72px;\n margin-bottom: 36px;\n}\n.partners-action[data-v-6d925cec] {\n margin-top: 36px;\n}\n\n/* Smaller screens */\n@media (max-width: 1024px) {\n.home-container[data-v-6d925cec] {\n padding-left: 2em;\n padding-right: 2em;\n}\n}\n/* Mobile view */\n@media (max-width: 768px) {\n.home-container[data-v-6d925cec] {\n padding-top: 3em !important;\n}\n.home-img-padding[data-v-6d925cec] {\n padding: 0;\n}\n.main-title[data-v-6d925cec] {\n font-size: 3rem;\n}\n.icon-center[data-v-6d925cec] {\n text-align: center;\n margin-bottom: 2em;\n}\n.welcome-mb[data-v-6d925cec] {\n margin-bottom: 1em;\n}\n.why-container[data-v-6d925cec] {\n margin-bottom: 5em;\n}\n.top-image[data-v-6d925cec] {\n height: 400px;\n}\n.partners-container[data-v-6d925cec] {\n padding-left: 0;\n padding-right: 0;\n}\n}\n/* Extra small */\n@media (max-width: 576px) {\n.variable-height[data-v-6d925cec] {\n min-height: 100px;\n}\n.top-image[data-v-6d925cec] {\n height: 260px;\n}\n}\n/* Extra extra small */\n@media (max-width: 430px) {\n.variable-height[data-v-6d925cec] {\n min-height: 175px;\n}\n}\n.slide-fade-left-enter-active[data-v-6d925cec] {\n transition: all 0.5s ease;\n}\n.slide-fade-left-leave-active[data-v-6d925cec] {\n transition: all 0.3s ease-out;\n}\n.slide-fade-left-enter[data-v-6d925cec], .slide-fade-left-leave-to[data-v-6d925cec] {\n transform: translateX(-100px);\n opacity: 0;\n}\n.slide-fade-right-enter-active[data-v-6d925cec] {\n transition: all 0.5s ease;\n}\n.slide-fade-right-leave-active[data-v-6d925cec] {\n transition: all 0.3s ease-out;\n}\n.slide-fade-right-enter[data-v-6d925cec], .slide-fade-right-leave-to[data-v-6d925cec] {\n transform: translateX(100px);\n opacity: 0;\n}",""])},FZtc:function(t,e,n){"use strict";var i=n("EaOK");n.n(i).a},Fjwm:function(t,e){t.exports="/images/vendor/leaflet/dist/layers.png?a6137456ed160d7606981aa57c559898"},G3Ch:function(t,e,n){"use strict";var i=n("Z6lK");n.n(i).a},G57Y:function(t,e,n){var i=n("lL9X");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},G6KL:function(t){t.exports=JSON.parse('{"general":"Generalne","password":"Hasło","details":"Dane osobowe","social":"Konta Społeczne","account":"Moje konto","payments":"Moje płatności","privacy":"Prywatności","littercoin":"Littercoin (LTRX)","presence":"Obecność","emails":"E-maile","show-flag":"Pokaż flage","teams":"Drużyny"}')},GAn2:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".community[data-v-480a7831] {\n background: black no-repeat fixed top right;\n background-size: cover;\n position: relative;\n}\n.copyright[data-v-480a7831] {\n position: absolute;\n right: 5px;\n bottom: 5px;\n color: gray;\n font-size: 10px;\n}\n.copyright a[data-v-480a7831], .copyright a[data-v-480a7831]:hover {\n color: gray;\n text-decoration: none;\n}\n@media screen and (min-width: 1280px) {\n.community-hero[data-v-480a7831] {\n padding-left: 0 !important;\n padding-right: 0 !important;\n}\n}",""])},GBDE:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-container {\n min-height: calc(100vh - 82px);\n background-color: #272e4aed;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n grid-template-rows: 0.5fr 1fr 1fr;\n -moz-column-gap: 1em;\n column-gap: 1em;\n row-gap: 1em;\n padding: 3em;\n}\n.profile-card {\n background-color: #292f45;\n border-radius: 6px;\n box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);\n color: #4a4a4a;\n display: block;\n padding: 1.25rem;\n}\n.profile-card p {\n color: white;\n}",""])},GGJd:function(t){t.exports=JSON.parse('{"general":"General","password":"Password","details":"Personal Details","social":"Social Accounts","account":"My Account","payments":"My Payments","privacy":"Privacy","littercoin":"Littercoin (LTRX)","presence":"Presence","emails":"Emails","show-flag":"Show Flag","teams":"Teams"}')},GK9Q:function(t,e,n){"use strict";n.r(e);var i={name:"Terms"},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("h1",[t._v("PLEASE READ CAREFULLY BEFORE USING OPEN LITTER MAP")]),t._v(" "),n("p",[n("i",[t._v("\n Last updated: 17"),n("sup",[t._v("th")]),t._v("\n Feb 2018\n ")])]),t._v(" "),n("br"),t._v('\n\n This END USER LICENCE AGREEMENT (the “EULA” or the "Licence") is a legal agreement between you (the "Licensee" or "you") and Seán Lynch trading as OpenLitterMap.com (“OpenLitterMap”, the “Licensor”, “our” or "we") for your licensed use of and access to www.OpenLitterMap.com (the “Website”), the internet based user interface (the “Web Application”) and the multi-platform smartphone and tablet software application (the “Mobile Application”) which will launch soon (together the Website, the Web Application and the Mobile Application are hereafter described as the “Platform”) and your access to the data-logging process which provides a means for Citzien Scientists (you) to contribute and attribute geotagged images of litter (eg. "cigarette butts", "plastic bottles", etc.) through our content-sharing platform (the "Services") in accordance with the terms of this Agreement.\n '),n("br"),t._v("\n The Terms of Service (hereforth referred to as the “Terms”) govern access and use of the OpenLitterMap website. These Terms are a legal agreement between you and us. By using these Services you are agreeing to these Terms.\n "),n("br"),t._v("\n OpenLitterMap data is "),n("a",{attrs:{href:"https://opendatacommons.org/licenses/odbl/"}},[t._v("Open Data, licensed by the Open Database Licence")]),t._v(" (ODBl - https://opendatacommons.org/licenses/odbl/). Any rights in individual contents of the database are licenced under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/\n "),n("br"),t._v('\n This means that anyone is free to copy, distribute, share and use our data, as long as you credit OpenLitterMap and its contributors with "© OpenLitterMap & Contributors".\n\n '),n("br"),t._v(" "),n("br"),t._v(" "),n("b",[t._v("DISCLAIMER: OpenLitterMap is not intended for use by individuals in an emergency situation nor is it currently being used to notify law enforcement or public bodies of the existence of real time litter issues. It is currently being used for geostatistical and awareness-raising purposes only. If you wish to report a specific issue of concern regarding the collection and removal of litter, please contact your local authority. We are not yet in contact with Local Authorities and we cannot guarantee that our 3rd party communication with them will enable their response to be as effective as contact from a concerned member of the public. However, with your ongoing participation we hope to achieve this to solve problems such as the millions of tonnes of plastic entering the ocean of our only habitable planet.")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",[t._v("PLEASE BE CAREFUL AND REMAIN VIGILANT WHEN DEALING WITH LITTER, PARTICULARLY DRUG-RELATED LITTER (EG. NEEDLES & INJECTING EQUIPMENT), AS IT POSES A SIGNIFICANT THREAT TO YOUR PERSONAL HEALTH AND WELL-BEING. YOU ARE ENTIRELY RESPONISBLE FOR YOURSELF WHEN YOU ARE DEALING WITH LITTER IN ANY WAY INCLUDING LOOKING FOR, PHOTOGRAPHING, COLLECTING DATA ON, REMOVING, ATTEMPTING TO REMOVE AND/OR ANY OTHER MEANS OF COMING INTO CONTACT WITH LITTER AND/OR DRUG-RELATED LITTER. UNDER NO CIRCUMSTANCES CAN WE BE HELD ACCOUNTABLE FOR PERSONAL INJURUES OR ANY OTHER CLAIMS RESULTING FROM ANY CONTENT PUBLISHED TO OR COMING FROM THIS WEBSITE INCLUDING PERSONAL INJURIES FROM NEEDLES, NEEDLE-STICKS OR ANY OTHER FORM OF DRUG PARAPHANALIA OR HARM THAT MAY BE CAUSED FROM ACCIDENTS, DISCOVERY OF, MISHANDLING OF AND THE USE OR IMPROPER USE OF DRUG PARAPHANALIA OR DRUG-RELATED LITTER."),n("b",[t._v(" YOU UNRESERVEDLY AGREE TO REMOVE OUR LIABILITY FROM ANY DAMAGES THAT MAY OCCUR FROM USE OR ACCESS OF THESE SERVICES OR FROM INFORMATION SHARED BY A 3RD PARTY.")])]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("BY REGISTERING FOR, UPLOADING TO AND/OR DOWNLOADING DATA AND INFORMATION FROM THE PLATFORM AND YOUR SUBSEQUENT CONTINUED USE OF THE PLATFORM AND THE SERVICES, YOU CONSENT TO BE BOUND BY THIS LICENCE. BY TICKING THE BOX ON REGISTRATION, AND AT ANY OTHER TIME ON LOGGING IN TO THE PLATFORM AND THROUGH YOUR CONTINUED USE OF THE SERVICES AND THE PLATFORM, YOU AGREE TO BE BOUND TO THE TERMS OF THIS LICENCE. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT REGISTER FOR THE PLATFORM, OR USE ANY OF THE SERVICES. BY TICKING THE BOX YOU CONFIRM THAT YOU HAVE READ, YOU DO ACCEPT AND UNDERSTAND THE TERMS OF THIS LICENCE AGREEMENT; THAT YOU ALSO CONSENT TO USE ELECTRONIC SIGNATURES AND ACKNOWLEDGE YOUR TICKING OF BOX TO BE AN ELECTRONIC SIGNATURE SUFFICIENT TO BIND YOU TO THE TERMS OF THIS LICENCE AGREEMENT.")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 1. GRANT AND SCOPE OF LICENCE")]),t._v(" "),n("div",{staticClass:"container"},[n("p",[t._v("1.1\tGeneral: ")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n OpenLitterMap provides you with access to the services through its platform. All verified litter data (120+ items, lat, lon, timestamp and OpenStreetMap address at each location) is Free and Open to download by Country, State or City and can be used for your own research, educational or commercial purposes, available through the Open Database Licence (ODbl - https://opendatacommons.org/licenses/odbl/). Link "),n("a",{attrs:{href:"https://opendatacommons.org/licenses/odbl/"}},[t._v("here")]),t._v(".\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.2\tDefinitions:")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n 1.2.1\tContent: the Services and the Platform provides information including images, time and location data of litter that is supplied by our community of contributors, which is designed to raise awareness of litter and to provide hyper-geostatistical information to public bodies, various stakeholders and other interested parties to assist and inform the decisions made in relation littering to challenge the destructive plastic pollution paradigm; and\n "),n("br"),t._v(" "),n("br"),t._v("1.2.2\tUser Generated Content: the information, images or content provided by an End User posted to the Platform.\n ")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.3 Licence:")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n OpenLitterMap hereby grants to you a limited, personal or commercial, non- exclusive, non-transferable, temporary, revocable, non-assignable, non-sub-licensable licence and right to access the Platform and the Services though a generally available web browser in consideration of your strict and continued compliance with the following conditions:\n "),n("br"),t._v(" "),n("br"),t._v("1.3.1\tyour agreement, as evidenced by your acceptance of this EULA and your continued use of the Platform and the Services, to abide by the terms of this Licence;\n "),n("br"),t._v(" "),n("br"),t._v("1.3.2\tyour continuing compliance with the terms of this EULA and the Privacy Policy posted on the Website (which is hereby incorporated by this reference); and\n "),n("br"),t._v(" "),n("br"),t._v("1.3.3\tnot to use scraping, spidering, crawling or other technology or software of a malicious nature to access or make available to third parties information or data secured by the Platform, whether such data or information relates to OpenLitterMap , the Platform, the Services or Content without the express written consent of OpenLitterMap.\n ")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.4\tUse: Any use of the Platform, its software and/or Services or any part thereof in a manner contrary to the scope and purpose of this Licence is strictly prohibited and a violation of this Agreement, terminable in accordance with Section 12. OpenLitterMap is not intended for emergency use and users should apply extreme caution to their personal safety when using the Platform and engaging with or photographing litter, particularly needles, needle-sticks, syringes or any other form of drug-related litter. This Platform and the Content should only be used as an educational, statistics gathering tool and for aiding decision support. It is not intended to override or replace the obligation and necessity for reporting of litter to the appropriate authority in the geographical area in which the litter is identified. This Platform and the Content is currently only available directly as a web app from www.OpenLitterMap.com. Sourcing this Platform from another source without the consent of OpenLitterMap is not permitted and a direct breach of the terms of this Agreement.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.5\tIntellectual Property:")]),t._v(" "),n("div",{staticClass:"container"},[n("br"),t._v("1.5.1\t“Intellectual Property Right(s)” includes any patent, trade or other mark, registered design, topography right, copyright, database right or any other right in the nature of any of the foregoing (or application, or right to apply for, any of the foregoing), and trade or business name, invention, discovery, improvement, design, technique, confidential process or information or know how, in each case subsisting anywhere in the world and whether registered, unregistered, or unregisterable, and any licence or right of user of any of the foregoing, and the full right to all legal protection relating to the same;\n "),n("br"),t._v(" "),n("br"),t._v("1.5.2\tSeán Lynch reserves all Intellectual Property Rights in and to the Platform, the Content and the Services and any such Intellectual Property Right shall at all times be and for all purposes remain vested in OpenLitterMap and/or its licensors, including all copies made of the Website and the Web with Section 10.\n ")]),t._v(" "),n("br"),t._v("1.6\tReciprocal Licence: End Users grant to OpenLitterMap and its licensors an irrevocable, royalty free and non-exclusive licence to use, copy, modify, adapt, translate and distribute anonymised or personally or organisationally attributed geostatistical or operational information relating to the uses made of the Application by End Users, or about the Device and related software, hardware and peripherals, information relating to their Device and the Platform and content on the Device (“Metadata”) to provide services and to develop and improve the Platform. Metadata expressly does not include personal data the use, control and processing of which is governed by our Privacy Policy."),n("p")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 2. ACCESS TO THE SERVICES")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("2.1.\tYour Account: OpenLitterMap is offering access to and use of the Platform and the Services solely for use by the person or entity in whose name an account is registered and not for the use or benefit of any third party. OpenLitterMap may change, suspend or discontinue any part of the Platform, the Content and/or the Services at any time, including the availability of any feature, database, or content.\n "),n("br"),t._v(" "),n("br"),t._v("2.2 Account Limitation: The Licensor may also impose limits on certain features of the Platform and the Services or restrict your access to parts or all of the Services without notice or liability. For as long as the Licensor continues to offer the Platform and the Services, we shall provide and seek to update, improve and expand. Therefore, OpenLitterMap reserves the right, at its discretion, to modify this EULA at any time by posting a notice on the Platform, or by sending you a notice via e-mail, and you consent to the receipt of such notice. You shall be responsible for reviewing and becoming familiar with any such modifications. Your use of the Platform and the Services following such notification constitutes your acceptance of the terms and conditions of this EULA as modified. Any new features that materially augment or enhance the Platform and/or the Services currently available, including the release of new tools and resources, shall be subject to this Agreement (as updated). You can review the most current version of the EULA at any time at: www.OpenLitterMap.com/terms.\n "),n("br"),t._v(" "),n("br"),t._v("2.3\tAccount Availability: The Licensor will use reasonable efforts to ensure that the Platform and the Services are available twenty-four hours a day, seven days a week. However, access to the Platform and Services shall be as they may exist and be available on any given day and the Licensor has no other obligation, except as expressly stated in this EULA. There will be occasions when the Platform and the Services will be unavailable or interrupted for maintenance, upgrades and emergency repairs or due to failure of telecommunications links and equipment. Every reasonable step will be taken by OpenLitterMap to minimize such disruption where it is within OpenLitterMap's reasonable control. YOU AGREE THAT OpenLitterMap WILL NOT BE LIABLE IN ANY EVENT TO YOU OR ANY OTHER PARTY FOR ANY SUSPENSION, MODIFICATION, DISCONTINUANCE OR LACK OF AVAILABILITY OF THE PLATFORM, SERVICES OR OTHER CONTENT. The Licensor retains the right to create limits on use and storage with respect to the Platform and the Services determined at its sole discretion at any time with or without notice.\n "),n("br"),t._v(" "),n("br"),t._v("2.4\tEligibility: To be eligible to use the Platform and the Services, you must meet the following criteria and represent and warrant that you:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("2.4.1\tare not currently restricted from use of the Platform and the Services, or not otherwise prohibited from having an account with OpenLitterMap;\n "),n("br"),t._v(" "),n("br"),t._v("2.4.2\twill only maintain one End User Account at any given time (unless explicitly consented to by OpenLitterMap );\n "),n("br"),n("br"),n("br"),t._v("2.4.3\twill not violate any rights of OpenLitterMap, including Intellectual Property Rights such as copyright, patent, design or trademark rights;\n "),n("br"),n("br"),t._v("2.4.4\tagree to provide at your cost all equipment, software, and internet access necessary to use the Platform and the Services;\n "),n("br"),t._v("2.4.5\tunderstand and agree that use of the Platform and the Services may entail the applicability of certain incidental usage charges (“Incidental Charges”) during the installation and use of the Service. These Incidental Charges may, among others, be levied by your mobile network operator or your internet service provider. You are advised to consult your mobile data or internet data plan to identify the Incidental Charges which may be incurred prior to the installation and operation of these Services; and\n "),n("br"),t._v("2.4.6\tyou are responsible for your own personal safety if you come into contact with people engaged in illegal behaviour and you are wholly and completely independently responsible for your own personal belongings. You are responsible for any personal decisions made arising from our services including personal injury or injuries from gathering data on litter paricularly drug-related litter or for visiting areas known to be frequented by people who choose to consume illicit substances or engage in anti-social behaviour particularly in areas where hazardous injecting equipment lays idle and exposed.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("2.5\tSuitability: You certify to OpenLitterMap that you are legally permitted to use the Platform and the Services, and take full responsibility for the selection and use of the Platform and the Services.\n "),n("br"),t._v(" "),n("br"),t._v("2.6\tProhibition by law: This Agreement is void where prohibited by law, and the right to use the Platform and Services are revoked in such jurisdictions. OpenLitterMap makes no claim that the Services may be lawfully used or that User Generated Content may be uploaded or downloaded in any jurisdiction save the jurisdiction specified by this EULA. Access to the Content made available via the Platform may not be legally permitted by certain persons or in certain countries. If you use the Services or the Platform from outside Ireland, you do so at your own risk and you are responsible for compliance with the laws of that jurisdiction. Furthermore, if you believe that you are entitled or obligated to act contrary to this Agreement under any mandatory law, you agree to provide us with a detailed and substantiated explanation of your reasons in writing at least 30 days before you act contrary to this Agreement, to allow us to assess whether we may, at our sole discretion, provide an alternative remedy for the situation, though we are under no obligation to do so.\n "),n("br"),t._v(" "),n("br"),t._v("2.7.\tPrivacy:\t Please note that privacy is very important to us. You should not enter and should also protect sensitive personal information such as your phone number, street address, or other information that is confidential in nature, by avoiding inputting them in fields that would present in a public manner or as identifying information. Please see our Privacy Policy which governs the manner in which your personal information is used and displayed by OpenLitterMap. By using this Platform and availing of the Services, you understand and agree that we are a content-sharing platform providing you with a means to view, locate and upload geo-tagged photos and other materials that are intended to be made public. This means that any geo-tagged photo you share, once properly attributed with the contents exhibited and once passes our verification system, will have a visible spatial (eg. centimeter accurate GPS location) and temporal (eg. a specific point in time to the second, minute, hour, day, month, year) stamp that will identify the contributors location at a specific location in time. You confirm that we may access this location identification mechanism and we may share this with information third parties and users of this Platform. Any registered User may view or potentially re-use your content that you provide to the Service. By default, the images you post will remain anonymous, however if you wish, you have the option to attribute either your full name or the unique username /organisation you are legally entitled to represent on all or none of the images you submit through your account. This can be changed in the settings section at openlittermap.com/settings/privacy.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 3. REGISTRATION")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("3.1\tRegistration Process:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("3.1.1\tInformation: If you choose to create an End-User Account, you agree to provide only accurate and complete registration information and you will keep that information up-to-date if it changes. We will retain this information in accordance with the terms of our Privacy Policy.\n "),n("br"),t._v(" "),n("br"),t._v("3.1.2\tRegistering: When you register, you will be required to generate a unique log-in credential (a password) which relates to your own personal email address. Your password will be subject to certain limitations as regards availability, at the sole discretion of OpenLitterMap and must contain a minimum of 6 characters including one uppercase, one lowercase, one numeric digit and one special character. We reserve the right to the forfeiture of your password at any time. The combination of your email address and password permits us to verify you as the permitted and authorised user of the particular End-User Account, as well as providing access to the secure parts of the Platform and the Services such as uploading, attributing, verifying and downloading data. Access to the secure aspects of the Platform and the Services is not permitted for any other person or entity using your email and password and you are responsible for preventing such unauthorized use. Upon successful completion of the registration process, you will be afforded access to your End-User Account. You will be required to validate your End User Account through a validation process by email which will grant you authorized access to the Service.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("3.2\tAccess Denial: Individuals whose access to the Platform or use of the Services has previously been terminated by OpenLitterMap may not register for another account, nor may you designate another individual to use an account on your behalf. OpenLitterMap expressly reserves the right not to grant access to anyone they may choose, to the Services, the Platform or to create an End-User Account for any reason.\n "),n("br"),t._v(" "),n("br"),t._v("3.3\tAuthentication: The Website and Application rely on email addresses and passwords to know whether the person accessing the Platform and utilising the Services are authorized to do so. If someone accesses the Platform and or the Services using an email address and/or password that you have provided us with, we will rely on that email address and password and will assume that access has been made by you. You are recommended to change your password regularly to prevent unauthorised use. You are solely responsible for any and all access to the Platform, your End-User Account and/or use of the Services by persons using your email address and password. Please notify us immediately if you believe or become aware that your End-User Account is being used without your authorization.\n "),n("br"),t._v(" "),n("br"),t._v("3.4:\tAccess Indemnity: You indemnify us and hold us harmless for all damages and losses related to your failure to comply with the provisions of this Section 3, including, without limitation, your failure to secure your End-User Account from third party access.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 4. AGE AND RESPONSIBILITY")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("4.1\tAge: Any individual making use of the Platform or the Services must be over 18 years of age to register or utilise them.\n "),n("br"),t._v(" "),n("br"),t._v("4.2\tResponsibility:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("4.2.1\tBy using and registering for the Platform and the Services, you understand that you are financially responsible for the applicable costs (if any) of using the services as detailed in this Agreement.\n "),n("br"),t._v(" "),n("br"),t._v("4.2.2\tYou agree to notify us immediately of any unauthorised use of your log-on information or any other breach of security.\n "),n("br"),t._v(" "),n("br"),t._v("4.2.3\tThis Platform shall currently only be used as a tool to raise public awareness and to aid and inform decision making to curb the destructive plastic pollution paradigm. It is not intended to be used in an emergency nor is it intended to override the roles of law enforcement or public administration. It is the obligation of the End User to confirm the information provided by way of the Content through independent sources. This Platform must not be considered complete or comprehensive due to possible errors in the database, limitations on volunteer contributions and the associated Content. Use of the Platform is solely at the End User’s risk.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 5. USER UNDERTAKINGS")]),t._v(" "),n("p",[t._v("5.1\tUndertaking: Except as expressly set out in this Licence or as permitted by any local law, you undertake not to:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("5.1.1.\tuse the Services for any unlawful or illegal purpose;\n "),n("br"),t._v("5.1.2.\tact dishonestly or fraudulently by engaging in objectionable conduct, or by posting inappropriate, inaccurate, or objectionable content to or through the Platform;\n "),n("br"),t._v("5.1.3\tpublish inaccurate information in the designated fields on registration for the service (e.g. do not include a link or an email address in your name field)\n "),n("br"),t._v("5.1.4.\tmake any translation, adaptation, arrangement or any other alteration of the permanent aspects of the Platform or any of the software contained in either or both;\n "),n("br"),t._v("5.1.5.\tmake any form of distribution to the public of the content of the Platform, the software, in whole or in part, or of copies thereof;\n "),n("br"),t._v("5.1.6.\tmake any form of distribution to the public of the Content or any other content on the Platform save as in accordance with the terms of this EULA;\n "),n("br"),t._v("5.1.7.\tremove or alter any copyright, meta-tags or other proprietary notice from the Platform, the Software and/or the Content;\n "),n("br"),t._v("5.1.8\tdisseminate, sell, give away, hire, lease, offer or expose for sale or distribute the content of the Platform, the Content or another associated data, information, product or content wholly or partially derived from any of the foregoing;\n "),n("br"),t._v("5.1.9.\tcreate an End-User Account for anyone other than a natural person;\n "),n("br"),t._v("5.1.10.\tharass, abuse or harm another person, including sending unwelcomed communications to others using the Services;\n "),n("br"),t._v("5.1.11.\tuse or attempt to use another End Users account without authorization from OpenLitterMap or that End User or create a false identity on the Website and/or the Application;\n "),n("br"),t._v("5.1.12.\tUpload, post, email, transmit or otherwise make available or initiate any content that:\n a)\tfalsely states, impersonates or otherwise misrepresents your identity to OpenLitterMap , including but not limited to the use of a pseudonym;\n b)\tis unlawful, libellous, abusive, obscene, discriminatory or otherwise objectionable;\n c)\tadds to a content field such content that is not intended for such field (i.e. submitting a telephone number in the “Name” or any other field, or including telephone numbers, email addresses, street addresses or any personally identifiable information for which there is not a field provided by OpenLitterMap );\n d)\tincludes information that you do not have the right to disclose or make available under any law or under contractual or fiduciary relationships.\n e)\tinfringes upon patents, trademarks, trade secrets, copyrights or other proprietary rights; and/or\n f)\tincludes any unsolicited or unauthorised communication, advertising, promotional materials, “junk mail,” “spam,” “chain letters,” “pyramid schemes,” or any other form of solicitation. This prohibition includes but is not limited to (i) using OpenLitterMap to send messages to people who have not expressly consented to the receipt of such contact through the privacy controls on the system; (ii) sending messages to distribution lists, newsgroup aliases, or group aliases.\n "),n("br"),t._v("5.1.13.\timply or state, directly or indirectly, that you are affiliated with or endorsed by OpenLitterMap unless you have entered into a written agreement with OpenLitterMap;\n "),n("br"),t._v("5.1.14.\treverse engineer, decompile, disassemble, decipher or otherwise attempt to derive the source code for any underlying intellectual property used in the Platform or to provide the Services, or any part thereof;\n "),n("br"),t._v("5.1.15.\tuse manual or automated software, devices, scripts robots, other means or processes to access, “scrape,” “crawl” or “spider” any web pages or other services contained in the Platform;\n "),n("br"),t._v("5.1.16.\tinfringe or use the OpenLitterMap brand, logos and/or trademarks, including, without limitation, using the word “OpenLitterMap” in any business name, email, or URL or including OpenLitterMap’s trademarks and logos except as expressly permitted by Seán Lynch post April 2017;\n "),n("br"),t._v("5.1.17\tuse bots or other automated methods to access the Platform, add or download contacts, send or redirect messages, or perform other activities through the Platform, unless explicitly permitted by OpenLitterMap ;\n "),n("br"),t._v("5.1.18.\tEngage in “framing,” “mirroring,” or otherwise simulating the appearance or function of the Platform;\n "),n("br"),t._v("5.1.19.\tAttempt to or actually access the Platform by any means other than through the interfaces provided by OpenLitterMap. This prohibition includes accessing or attempting to access OpenLitterMap using any third-party service, including software-as-a-service platforms that aggregate access to multiple services, including OpenLitterMap and proxy services;\n "),n("br"),t._v("5.1.20.\tDeep-link to the Platform for any purpose, (i.e. including a link to OpenLitterMap other than the home page) unless expressly authorized in writing by OpenLitterMap or for the purpose of authorised promotion;\n "),n("br"),t._v("5.1.21. Engage in any action that directly or indirectly interferes with the proper working of or places an unreasonable load on OpenLitterMap infrastructure, including, but not limited to, sending unsolicited communications to other Users or OpenLitterMap personnel, attempting to gain unauthorised access to OpenLitterMap , or transmitting or activating computer viruses through or on the Platform.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("5.2.\tCompliance Indemnity: You hereby agree to indemnify and hold OpenLitterMap and its licensors harmless from and against any liabilities, damages, judgments, costs and expenses (including reasonable legal fees and indirect and consequential loss) (“Losses”) arising out of your registration for or use of the Website, any downloading, installation and use of the Application software, or use of the Services in a manner inconsistent with this EULA.\n "),n("br"),t._v(" "),n("br"),t._v("5.3\tWarranty: You represent and warrant that you have the legal right and capacity to enter into this EULA in your jurisdiction.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 6. OpenLitterMap 'UNDERTAKINGS'")]),t._v(" "),n("p",[t._v("6.1\tOpenLitterMap Indemnity: We shall indemnify you against any claim that your use of or access to the Platform or Services infringes the copyright of any third party provided:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("6.1.1\tsuch claim relates to the technology and software underlying the Platform and or the Services;\n "),n("br"),t._v("6.1.2\twe are immediately notified of any such claim;\n "),n("br"),t._v("6.1.3\tyou do not make any admission of liability;\n "),n("br"),t._v("6.1.4\twe are given immediate and complete control of such claim, including the right to conduct the defence of any claim and to make any settlements as appropriate; and\n "),n("br"),t._v("6.1.5\tthe claim does not arise on foot of any of the circumstances set out in Section 5 above.\n ")]),t._v(" "),n("br"),t._v("6.2\tRemedies: We shall have the right at our discretion, to replace, modify or change the software incorporated in the Services to make any such software non-infringing. The maximum aggregate liability of OpenLitterMap shall be equal to that which is set out in section 9 of this Agreement. This states the entire liability of OpenLitterMap to you in respect of the infringement of the Intellectual Property Rights of any third parties.\n "),n("br"),t._v(" "),n("br"),t._v("6.3.\tDisclosure of End User Information:\n "),n("div",{staticClass:"container"},[n("br"),t._v("6.3.1.\tYou acknowledge, consent and agree that we may access, preserve, and disclose your registration and any other information you provide to us, if required to do so by law or we, in good faith believe that such access, preservation or disclosure is reasonably necessary in our opinion to:\n (a)\tcomply with legal process, including, but not limited to, civil and criminal subpoenas, court orders or other compulsory disclosures;\n (b)\tenforce this Agreement;\n (c)\trespond to claims of a violation of the rights of third parties, whether or not the third party is a User, individual, or government agency;\n (d)\trespond to customer service inquiries; or\n (e)\tprotect the rights, property, or personal safety of OpenLitterMap developers/employees, our users or the public.\n "),n("br"),t._v("6.3.2.\tDisclosures of user information to third parties other than those required to provide customer support, to administer this EULA, or to comply with legal requirements are addressed in the Privacy Policy.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 7. THIRD PARTY SITES")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("7.1\tLinks: OpenLitterMap if it includes links to third party web sites in its Content (“Third Party Site(s)”) is not responsible for and does not endorse any features, content, advertising, products or other materials on or available from Third Party Sites or applications. If you decide to access Third Party Sites, you do so at your own risk and agree that your use of any Third Party Sites is on an “as-is” basis without any warranty, and your use of any Third Party Site is subject to the terms and conditions contained therein.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 8. WARRANTY & DISCLAIMER ")]),t._v(" "),n("br"),n("p",[t._v("8.1\tANY INFORMATION OR CONTENT CONTAINED IN THE PLATFORM OR PROVIDED VIA THE SERVICES IS PROVIDED “AS IS” OR “AS AVAILABLE”. WHILE OpenLitterMap STRIVES TO PROVIDE YOU WITH USEFUL AND ACCURATE EVIDENCE BASED INFORMATION, OpenLitterMap DOES NOT WARRANT, AND EXPRESSLY DISCLAIMS, THAT THE INFORMATION CONTAINED IN CONTENT PROVIDED BY THIS PLATFORM IS UP-TO- DATE AND COMPLETE.\n "),n("br"),t._v(" "),n("br"),t._v("8.2\tAN END USER OF THE PLATFORM IS RESPONSIBLE FOR ANY AND ALL DAMAGES ARISING FROM PERSONAL CONTACT WITH LITTER INCLUDING NEEDLES, NEEDLE-STICKS OR ANY FORM OF DRUG-RELATED LITTER THAT MAY ARISE AS A CONSEQUENCE OF THEIR SEARCH FOR OR COLLECTION OF LITTER INCLUDING HANDLING OR MISHANDLING LITTER THAT MAY CAUSE HARM TO THE END USER’S PERSONAL HEALTH AND WELL-BEING. THE END USER HEREBY FULLY ACKNOWLEDGES THAT THEY ARE RESPONSIBLE FOR THEIR OWN ACTIONS AND THAT UNDER NO CIRCUMSTANCES CAN THE LICENSOR BE HELD RESPONSIBLE FOR SUCH ACTIONS. BY VOLUNTEERING TO SUBMIT AND CATEGORIZE GEOTAGGED PHOTOS OF LITTER WE STRIVE TO REDUCE THE HARMS CAUSED BY LITTER TO SOCIETY.\n "),n("br"),t._v(" "),n("br"),t._v("8.3\tTO THE FULLEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW, WE DISCLAIM ANY AND ALL IMPLIED WARRANTIES AND REPRESENTATIONS, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, ACCURACY OF DATA, AND NONINFRINGEMENT. IF YOU ARE DISSATISFIED WITH THE PLATFORM, THE SERVICES, OR DO NOT AGREE WITH THE TERMS OF THIS EULA, YOU MAY CLOSE YOUR OpenLitterMap ACCOUNT AND TERMINATE THIS EULA IN ACCORDANCE WITH SECTION 12 (“TERMINATION”) AND SUCH TERMINATION SHALL BE YOUR SOLE AND EXCLUSIVE REMEDY. THIS PLATFORM AND THE CONTENT PROVIDED BY IT, MUST NOT BE CONSIDERED COMPLETE OR COMPREHENSIVE DUE TO POSSIBLE ERRORS IN THE DATABASE AND OUR INTERNAL TECHNICAL METHODS.\n "),n("br"),t._v(" "),n("br"),t._v("8.4\tOpenLitterMap IS NOT RESPONSIBLE AND MAKES NO REPRESENTATIONS OR WARRANTIES FOR THE DELIVERY OF ANY MESSAGES OR COMMUNICATION (SUCH AS EMAILS, FORUM POSTINGS OR TRANSMISSION OF ANY OTHER USER GENERATED CONTENT) UPLOADED TO THE PLATFORM. THE TRANSMISSION OF ANY SUCH MESSAGES, IMAGES OR COMMUNICATION SHALL BE ENTIRELY THE RESPONSIBILITY OF THE MOBILE NETWORK OPERATOR OR BROADBAND INTERNET PROVIDER. IN ADDITION, WE NEITHER WARRANT NOR REPRESENT THAT YOUR PERSONAL USE OF THE SERVICE WILL NOT INFRINGE THE RIGHTS OF THIRD PARTIES. ANY MATERIAL, SERVICE, OR TECHNOLOGY DESCRIBED OR USED ON THE PLATFORM MAY BE SUBJECT TO INTELLECTUAL PROPERTY RIGHTS OWNED BY THIRD PARTIES WHO HAVE LICENSED SUCH MATERIAL, SERVICE, OR TECHNOLOGY TO US.\n "),n("br"),t._v(" "),n("br"),t._v("8.5\tOpenLitterMap DOES NOT HAVE ANY OBLIGATION TO VERIFY THE IDENTITY OF THE PERSONS SUBSCRIBING FOR ITS SERVICES, NOR DOES IT HAVE ANY OBLIGATION TO MONITOR THE USE OF ITS SERVICES BY OTHER USERS; THEREFORE, OpenLitterMap DISCLAIMS ALL LIABILITY FOR IDENTITY THEFT OR ANY OTHER MISUSE OF YOUR IDENTITY OR INFORMATION.\n "),n("br"),t._v(" "),n("br"),t._v("8.6\tOpenLitterMap DOES NOT GUARANTEE THAT THE SERVICES IT PROVIDES WILL FUNCTION WITHOUT INTERRUPTION OR ERRORS IN OPERATION. IN PARTICULAR, THE OPERATION OF THE SERVICES MAY BE INTERRUPTED DUE TO MAINTENANCE, UPDATES, OR SYSTEM OR NETWORK FAILURES. OpenLitterMap DISCLAIMS ALL LIABILITY FOR DAMAGES CAUSED BY ANY SUCH INTERRUPTION OR ERRORS IN FUNCTIONALITY. FURTHERMORE, OpenLitterMap DISCLAIMS ALL LIABILITY FOR ANY MALFUNCTIONING, IMPOSSIBILITY OF ACCESS, OR POOR USE CONDITIONS OF THE PLATFORM DUE TO INAPPROPRIATE EQUIPMENT, DISTURBANCES RELATED TO INTERNET SERVICE PROVIDERS, TO THE SATURATION OF THE INTERNET NETWORK, AND FOR ANY OTHER REASON.\n")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 9: LIMITATION OF LIABILITY.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("9.1\tPrecedence: This Section prevails over all other provisions of this EULA and sets out the entire liability of OpenLitterMap in respect of:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("9.1.1\tthe performance, non-performance, purported performance or delay in performance by OpenLitterMap of its obligations under this EULA; and\n "),n("br"),t._v("9.1.2\totherwise in relation to this Agreement or the entering into or performance of this EULA.\n ")]),t._v(" "),n("br"),t._v("9.2\tLosses not excluded: Nothing in this EULA shall exclude or limit OpenLitterMap liability specifically;\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.2.1\tunder the tort of deceit;\n "),n("br"),t._v("9.2.2\tfor death or personal injury caused by any breach of duty;\n "),n("br"),t._v("9.2.3\tany breach of an obligation implied by the Sale of Goods Act 1893 and/or the Sale of Goods, Supply of Services Act 1980 (if any); or\n "),n("br"),t._v("9.2.4\tany other liability to the extent that under applicable law it cannot be excluded or limited.\n ")]),t._v(" "),n("br"),t._v("9.3\tLosses specifically excluded: OpenLitterMap disclaims all responsibility in respect of and for the personal safety of volunteers collecting and collating Content for upload on the Platform. End Users hereby hold the Licensor harmless from any damages, liabilities, Losses or any claims resulting from personal contact with litter such as needles, needle-sticks or any form of litter that may occur as a result of an End User’s search for or collection of litter including handling or mishandling or litter that may result in causing harm to the personal health and well-being of the End User or any other third party. Please be careful.\n "),n("br"),t._v(" "),n("br"),t._v("9.4\tNo Implied Terms: The terms of this EULA are in lieu of all other conditions, warranties and other terms concerning the supply or purported supply of, or failure to supply or delay in supplying, any services (except for those arising under the Sale of Goods Act 1893 and/or the Sale of Goods, Supply of Services Act 1980 (if any) which might but for this Clause have effect between OpenLitterMap and you or would otherwise be implied or incorporated into this EULA or any collateral contract, whether by statue, common law, or otherwise (including the implied conditions, warranties or other terms as to satisfactory quality, fitness for purpose or as to the use of reasonable skill and care), all of which are hereby excluded.\n "),n("br"),t._v(" "),n("br"),t._v("9.5\tNon-Contractual Liability: Subject to 9.2 and 9.3, OpenLitterMap does not accept, and excludes all liability for breach of any obligation or duty to take reasonable care or exercise reasonable skill other than any such obligation or duty arising under this EULA.\n "),n("br"),t._v(" "),n("br"),t._v("9.6\tIndirect Loss: Subject to 9.2, OpenLitterMap shall not be liable in contract, tort or otherwise howsoever for any of the following losses or damage, (whether or not such damage was foreseen, foreseeable, known or otherwise):\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.6.1\trevenue, actual or anticipated profits, contracts, use of money, anticipated savings, business, opportunity, goodwill, reputation, changes in the value of assets, damage or corruption of data ; or\n "),n("br"),t._v("9.6.2\tany indirect or consequential loss howsoever caused (including, for the avoidance of doubt, whether such loss or damage is of a type specified in 9.6.1).\n "),n("br"),t._v("9.6.3 any other entities that claim a right to the same name.\n ")]),t._v(" "),n("br"),t._v("9.7\tBreach of Warranty: For the avoidance of doubt, OpenLitterMap shall have no liability to remedy a breach of warranty where such breach arises as a result of any of the following circumstances:\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.7.1.\tany use of the Services by you other than in accordance with the terms of this Agreement or use of the Services for a purpose for which they were not designed;\n "),n("br"),t._v("9.7.2.\tany temporary or permanent reproduction by any means and in any form, in whole or in part, of the Platform;\n "),n("br"),t._v("9.7.3.\tany reverse assembly, reverse compilation, reverse engineering or adaptation of the whole or part of the Platform;\n "),n("br"),t._v("9.7.4.\tany alteration, modification, adjustment, translation, adaptation or enhancement made by you to the Website or the Application or any combination, connection, operation or use of the Platform with any other equipment, software or documentation;\n "),n("br"),t._v("9.7.5\tany dissemination, sale, hire, lease offer or exposure for sale or distribution of the Platform;\n "),n("br"),t._v("9.7.6\tany item of third party hardware or software, even if forming part of the software or if the Licensor has recommended such third party hardware or software;\n "),n("br"),t._v("9.7.7\tany breach by you of your obligations under this Agreement or of the Licensor’s Intellectual Property Rights; or\n "),n("br"),t._v("9.7.8\tany act, omission, negligence, fraud or default of or by you.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 10. INTELLECTUAL PROPERTY RIGHTS ")]),t._v(" "),n("p",[t._v("10.1\tVesting: You acknowledge that all Intellectual Property Rights, title and interest in the Platform and the Services contained therein, throughout the world belong to Seán Lynch, that rights in the these are licensed (not sold) to you, and that you have no rights in, or to, the Platform and the Services other than the right to use them in accordance with the terms of this EULA.\n "),n("br"),t._v("10.2\tContributions: Currently OpenLitterMap only accepts feedback to seanlynch@umail.ucc.ie. Please note that as OpenLitterMap develops we welcome your information, ideas, suggestions or other materials which you may supply. Any ideas, suggestions, documents, improvements, comments, proposals or feedback in relation to the operation of the Platform and or the Services (“Feedback”) in whatever manner or form facilitated by the Platform; any such communication with OpenLitterMap whether verbally, via postings on blogs, forums, questionnaires, email and the like (“Communication”), you acknowledge and agree that such Feedback and or Communication (together “Contributions”):\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("10.2.1.\tdo not contain confidential or proprietary information;\n "),n("br"),t._v("10.2.2.\tdo not create any express or implied obligation of confidentiality in respect of OpenLitterMap;\n "),n("br"),t._v("10.2.3.\tOpenLitterMap is free to use or disclose (or choose not to use or disclose) such Contributions for any purpose, in any way, in any media worldwide;\n "),n("br"),t._v("10.2.4.\tdoes not preclude OpenLitterMap from having something similar to the Contributions already under consideration or in development;\n "),n("br"),t._v("10.2.5.\tthat you irrevocably waive and assign all right, title and interest in and to the Contributions to OpenLitterMap;\n "),n("br"),t._v("10.2.6.\tdoes not entitle you to any compensation, royalty or reimbursement of any kind from OpenLitterMap under any circumstances; and\n "),n("br"),t._v("10.2.7\tyou further agree to provide OpenLitterMap with such assistance as may be required in documenting, perfecting and maintaining OpenLitterMap’s rights in and to any such Contributions.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 11. INTEGRITY OF DATA")]),t._v(" "),n("p",[t._v("11.1\tNot Bespoke: You acknowledge that the Platform, the Services and the software have not been developed to meet your individual requirements and that it is therefore your responsibility to ensure that the facilities and functions of the Platform and the Services as described on the Website, meet your requirements.\n "),n("br"),t._v("11.2\tMinor Errors: You acknowledge that the Platform and the Services may not be free of bugs or errors and you agree that the existence of any errors shall not constitute a breach of this Licence.\n "),n("br"),t._v("11.3\tInsurance: You agree that you are the best judge of the value and importance of the data held on your End-User Account and that you will be solely responsible for taking out any insurance policy or other financial cover for loss or damage which may arise from loss of data for any reason.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 12. TERMINATION")]),t._v(" "),n("p",[t._v("12.1\tDuration: This Licence is effective either until deactivated by you by emailing us at seanlynch@umail.ucc.ie\n "),n("br"),t._v("12.2\tImmediate Termination: OpenLitterMap may terminate this Licence immediately if:\n "),n("br"),t._v("12.2.1\tyou commit a material or persistent breach of this Licence which you fail to remedy (if remediable) within 14 days after the service on you of notice requiring you to do so;\n "),n("br"),t._v("12.2.2\ta petition for a bankruptcy order to be made against you has been presented to the court;\n "),n("br"),t._v("12.2.3.\tif OpenLitterMap believes, at its sole discretion, that you are not adhering to the terms and conditions of this EULA or the Privacy Policy; or\n "),n("br"),t._v("12.2.4\tfor just cause at the sole discretion of OpenLitterMap to include, but not limited to the abuse of any fair usage policy or for the breach of any matter outlined under Section 5.1 above.\n "),n("br"),t._v("12.4\tUpon termination for any reason:\n "),n("br"),t._v("12.4.1\tall rights granted to you under this Licence shall cease;\n "),n("br"),t._v("12.4.2\tyou must cease all activities authorised by this Licence;\n "),n("br"),t._v("12.4.3\tyou must immediately pay to the Licensor any sums due to the Licensor under this Licence if applicable; and\n "),n("br"),t._v("12.4.4\tAll data stored and retained in the System will be deleted within a reasonable period.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 13. DATA PROTECTION")]),t._v(" "),n("p",[t._v("OpenLitterMap shall comply with the Data Protection requirements set out in our Privacy Policy.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 14. NOTICES")]),t._v(" "),n("p",[t._v("14.1\tService messages: For the purposes of service messages and notices about the Services to you, OpenLitterMap may place a banner notice across the Platform to alert you to certain changes such as modifications to this EULA. Alternatively, notice may consist of an email from OpenLitterMap to an email address associated with your account or via a digital distribution platform for mobile applications, applicable to your particular device should we choose to facilitate this in the future.\n "),n("br"),t._v("14.2:\tGeneral Communication: You also agree that OpenLitterMap may communicate with you through your account or through other means including email about your account or services associated with OpenLitterMap. To unsubscribe from any communication we circulate to you, please click on the unsubscribe mechanism at the bottom of the communication. You acknowledge and agree that we shall have no liability associated with or arising from your failure to do so, to maintain accurate contact or other information, including, but not limited to, your failure to receive critical information about the Platform and Services.\n "),n("br"),t._v("14.3\tContacting OpenLitterMap : You may contact OpenLitterMap directly by email at seanlynch@umail.ucc.ie\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 15. AMENDMENTS TO THE LICENCE")]),t._v(" "),n("p",[t._v("15.1\tAmendments: OpenLitterMap reserves the right, at our sole discretion, to amend, add or delete any of the terms and conditions of this Licence. OpenLitterMap will post notifications of any such changes to this Licence on the Website or in the Application, will provide a link to the revised version of this Licence, and may provide such other notice as the Licensor may elect in its sole discretion. If any future changes to this Licence are unacceptable to you or cause you to no longer be in compliance with this Licence, you may terminate this Licence in accordance with the terms herein.\n "),n("br"),t._v("15.2\tEvidence of Acceptance: Your installation, download and/or use of any updated or modified Software (if any) and/or your continued use of the Website, the Application or the Services following notice of changes to this Licence as described above means you accept any and all such changes. OpenLitterMap may change, modify, suspend, or discontinue any aspect of the Website, the Application and/or the Services at any time.\n "),n("br"),t._v("15.3\tLimits: OpenLitterMap may also impose limits on certain features without notice or liability. You disclaim any right, title or interest, monetary or otherwise, in any feature or content contained in the Platform and/or the Services.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 16. WAIVER")]),t._v(" "),n("p",[t._v("16.1\tStrict Performance: If OpenLitterMap fails, at any time during the term of this Licence, to insist on strict performance of any of your obligations under this Licence, or if OpenLitterMap fails to exercise any of the rights or remedies to which it is entitled under this Licence, this shall not constitute a waiver of such rights or remedies and shall not relieve you from compliance with such obligations.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 17. CONFIDENTIAL INFORMATION")]),t._v(" "),n("p",[t._v("17.1\tNon-Confidential Relationship: You acknowledge and agree that your relationship with OpenLitterMap is not a confidential, fiduciary, or other type of special relationship, and that your decision to submit any User Generated Content does not place OpenLitterMap in a position that is any different from the position held by members of the general public, including with regard to your User Generated Content. None of your User Generated Content will be subject to any obligation of confidence on the part of OpenLitterMap, and OpenLitterMap will not be liable for any use or disclosure of any Content you provide, subject at all times to the terms of the Privacy Policy.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 18. SEVERABILITY")]),t._v(" "),n("p",[t._v("If any of the terms of this Licence are determined by any competent authority to be invalid, unlawful or unenforceable to any extent, such term, condition or provision will to that extent be severed from the remaining terms, conditions and provisions which will continue to be valid to the fullest extent permitted by law.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 19. ENTIRE AGREEMENT")]),t._v(" "),n("p",[t._v("This EULA and any document expressly referred to in it represents the entire agreement between you and Seán Lynch trading as OpenLitterMap, in relation to the license hereunder and supersedes any prior agreement, representation, understanding or arrangement between us, whether oral or in writing. Both Parties hereunder acknowledge that, in entering into this EULA, neither Party has relied on any representation, undertaking or promise given by the other or implied from anything said or written in negotiations between us before entering into this Licence except as expressly stated in this Licence. ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 20. LAW AND JURISDICTION")]),t._v(" "),n("p",[t._v("20.1\tJurisdiction: This EULA is governed by Irish law. Any dispute arising from, or related to, any term of this EULA shall be subject to the exclusive jurisdiction of the Irish courts.\n "),n("br"),t._v("20.2\tLanguage: Any dispute arising from, or related to, any term of this EULA arising between the Parties, shall be resolved or determined based on the English language version alone. These terms were originally written in English. In the event that these terms are translated into any other language, the translation shall be for review purposes only and have no legal effect.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 21. Relationship")]),t._v(" "),n("p",[t._v("Nothing in this Agreement shall create, evidence or imply any agency, partnership or joint venture between you and OpenLitterMap. Neither you nor OpenLitterMap shall act or describe itself as the agent of the other; nor shall either party represent that it has any authority to make commitments on behalf of the other.")])])}],!1,null,"2eec2650",null);e.default=a.exports},GKyZ:function(t){t.exports=JSON.parse('{"general":"Algemeen","password":"Wachtwoord","details":"Persoonlijke Details","social":"Sociale Accounts","account":"Mijn Account","payments":"Mijn Betalingen","privacy":"Privacy","littercoin":"Littercoin (LTRX)","presence":"Aanwezigheid","emails":"Emails","show-flag":"Toon vlag","teams":"Teams"}')},GQYL:function(t,e,n){"use strict";var i=n("M5CN");n.n(i).a},GRKx:function(t,e,n){"use strict";var i=n("qAbK");n.n(i).a},Gebw:function(t,e,n){"use strict";var i=n("sFYy");n.n(i).a},GoYr:function(t){t.exports=JSON.parse('{"de":{"name":"Allemagne","lang":"Allemand"},"en":{"name":"Angleterre","lang":"Anglais"},"es":{"name":"Espagne","lang":"Espagnol"},"fr":{"name":"France","lang":"Français"},"hu":{"name":"Hongrie","lang":"Hongrois"},"ie":{"name":"Irlande","lang":"Irlandais"},"it":{"name":"Italie","lang":"Italien"},"ms":{"name":"Malaisie","lang":"Malais"},"nl":{"name":"Pays-Bas","lang":"Néerlandais"},"pl":{"name":"Pologne","lang":"Polonais"},"pt":{"name":"Brésil","lang":"Portugais brésilien"},"sw":{"name":"Tanzanie","lang":"Swahili"},"tk":{"name":"Turkie","lang":"Turc"},"uk":{"name":"Royaume-Uni","lang":"Anglais"}}')},GsvD:function(t,e,n){"use strict";var i=n("cwH4");n.n(i).a},GvbF:function(t){t.exports=JSON.parse('{"card-number":"Kaart nummer","card-holder":"Naam van kaart eigenaar","exp":"Verval datum","cvv":"CVV","placeholders":{"card-number":"Je 16 cijferig kaart nummer","card-holder":"Naam van de kaart eigenaar","exp-month":"Maand","exp-year":"Jaar","cvv":"***"}}')},H8ri:function(t,e,n){"use strict";function i(t,e){if(e){var n=this.$data._chart,i=t.datasets.map((function(t){return t.label})),r=e.datasets.map((function(t){return t.label})),a=JSON.stringify(r);JSON.stringify(i)===a&&e.datasets.length===t.datasets.length?(t.datasets.forEach((function(t,i){var r=Object.keys(e.datasets[i]),a=Object.keys(t),o=r.filter((function(t){return"_meta"!==t&&-1===a.indexOf(t)}));for(var s in o.forEach((function(t){delete n.data.datasets[i][t]})),t)t.hasOwnProperty(s)&&(n.data.datasets[i][s]=t[s])})),t.hasOwnProperty("labels")&&(n.data.labels=t.labels,this.$emit("labels:update")),t.hasOwnProperty("xLabels")&&(n.data.xLabels=t.xLabels,this.$emit("xlabels:update")),t.hasOwnProperty("yLabels")&&(n.data.yLabels=t.yLabels,this.$emit("ylabels:update")),n.update(),this.$emit("chart:update")):(n&&(n.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render"))}else this.$data._chart&&(this.$data._chart.destroy(),this.$emit("chart:destroy")),this.renderChart(this.chartData,this.options),this.$emit("chart:render")}n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return r}));var r={reactiveData:{data:function(){return{chartData:null}},watch:{chartData:i}},reactiveProp:{props:{chartData:{type:Object,required:!0,default:function(){}}},watch:{chartData:i}}},a=n("MO+k"),o=n.n(a);function s(t,e){return{render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(t){this.$data._plugins.push(t)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(t,n){this.$data._chart&&this.$data._chart.destroy(),this.$data._chart=new o.a(this.$refs.canvas.getContext("2d"),{type:e,data:t,options:n,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var l=s("bar-chart","bar"),u=(s("horizontalbar-chart","horizontalBar"),s("doughnut-chart","doughnut")),c=s("line-chart","line"),h=(s("pie-chart","pie"),s("polar-chart","polarArea"),s("radar-chart","radar"));s("bubble-chart","bubble"),s("scatter-chart","scatter")},H9zO:function(t){t.exports=JSON.parse('{"general":"Général","password":"Mot de passe","details":"Données Personnelles","social":"Comptes de Réseaux Sociaux","account":"Mon Compte","payments":"Mon Paiement","privacy":"Confidentialité","littercoin":"Littercoin (LTRX)","presence":"Participation","emails":"E-mails","show-flag":"Afficher Drapeau","teams":"Équipes"}')},HBdk:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.map-container[data-v-b62b8330] {\n height: calc(100% - 72px);\n margin: 0;\n position: relative;\n z-index: 1;\n}\n#map[data-v-b62b8330] {\n height: 100%;\n margin: 0;\n position: relative;\n}\n",""])},HJjb:function(t,e,n){var i=n("VEov");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},HMOf:function(t){t.exports=JSON.parse('{"new-image":"Nouvelle Image","new-user":"Nouvel Utilisateur","new-country":"Nouveau Pays","new-state":"Nouvel État","new-city":"Nouvel Ville","user-signed-up":"Un nouvel utilisateur s\'est enregistré!","say-hello-to":"Dites bonjour à","littercoin-mined":"Un Littercoin a été récolté!","littercoin-100-boxes-verified":"100 boîtes OpenLitterAI vérifiées","littercoin-100-verified":"100 images vérifiées","team-created":"Une nouvelle équipe a été créée!","litter-picked-up":"Déchet Ramassé","litter-uploaded":"Déchet Cartographié"}')},HMki:function(t){t.exports=JSON.parse('{"description":"Viungo hivi vitaonekana katika kila picha uliyopakia, kwenye Ramani ya Dunia. Tafadhali weka URL kamili.","personal-website":"Tovuti Binafsi","personal-website-url":"URL ya Tovuti Binafsi"}')},HOht:function(t){t.exports=JSON.parse('{"cancel":"Cancel","submit":"Submit","download":"Download","delete":"Delete","delete-image":"Delete the image","confirm-delete":"Confirm Delete","loading":"Loading...","created_at":"Uploaded at","created":"Created","created-by":"Created by","datetime":"Taken at","day-names":["Mo","Tu","We","Th","Fr","Sa","Su"],"month-names":["January","February","March","April","May","June","July","August","September","October","November","December"],"short-month-names":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"next":"Next","previous":"Previous","next-page":"Next page","add-tags":"Add Tags","add-many-tags":"Add Many Tags","select-all":"Select all","de-select-all":"De-select all","choose-dates":"Choose Dates","not-verified":"Not Verified","verified":"Verified","search-by-id":"Search by ID","active":"Active","inactive":"Inactive","inactivate":"Disable Team Contributions","your-email":"you@email.com","team":"Team","actions":"Actions","anonymous":"Anonymous","photo":"Photo","reason":"Reason","faq":"Frequently Asked Questions"}')},HP61:function(t){t.exports=JSON.parse('{"welcome":"Bem-vindo ao seu novo Perfil","out-of":"De {total} usuários","rank":"Você está {rank} place","have-uploaded":"Você carregou","photos":"fotos","tags":"tags","all-photos":"todas as fotos","all-tags":"todas as tags","your-level":"Seu Level","reached-level":"Você alcançou o nível","have-xp":"e você tem","need-xp":"Você precisa","to-reach-level":"para alcançar o próximo level.","total-categories":"Todas as categorias","calendar-load-data":"Carregar dados","download-data":"Baixar meus dados","email-send-msg":"Um e-mail será enviado para o endereço que você usa para fazer o login.","timeseries-verified-photos":"Fotos Verificadas","manage-my-photos":"Visualize suas fotos, selecione várias, exclua-as ou adicione tags!","view-my-photos":"Ver minhas fotos","my-photos":"Minhas fotos","add-tags":"Adicionar Tags","bulk-tag-dblclick-info":"Clique duas vezes para ampliar as fotos!"}')},HQdr:function(t){t.exports=JSON.parse('{"login-btn":"Connexion","signup-text":"S\'inscrire","forgot-password":"Mot de passe oublié?"}')},Hc5j:function(t){t.exports=JSON.parse('{"what-about-litter":"What about litter?","about2":"Right now, trillions of plastic-tipped cigarette butts are leeching toxic chemicals and microplastics into the environment.","about3":"The result?","about4":"Massive amounts of nicotine and other toxic chemicals get released.","about5":"These toxic chemicals bio-accumulate in various plants and animals. Some of which we eat.","about6":"An environmental emergency is at our fingertips.","about7":"You can help us fix this by contributing to OpenLitterMap.","about8":"Just take a photo, tag it, and upload it.","about9":"I want to help!","about9a":"Just take a photo","about9b":"Tag the litter","about9c":"Upload it","about10":"Every year, millions of tonnes of plastic makes its way from land to sea.","about11":"Where it becomes significantly more damaging, more difficult, & more expensive to remove.","about12":"The illusion of \\"urban cleaning\\"","about13":"is facilitated by infrastructural design.","about14":"OpenLitterMap data is","about14a":"Open Data","about14b":"This means anyone can download the data for free, and use it for any purpose, without permission.","about15":"Open data is essential to bring transparency, democracy and accountability to science on pollution. Otherwise, who will be allowed to use the data?","about16":"OpenLitterMap empowers you with the tools to become a citizen scientist.","about17":"You are now empowered to contribute to the production of geospatial knowledge about our world. This has the potential to transform public and institutional behavior.","about17a":"Our data is mapped by Space, Time, Location, and Behaviour.","about17b":"Check out this incredible stretch of Free and Open Data on the pollution being caused by the products of a handful of global corporations","about17c":"Want to download the data?","about18":"The production of geospatial knowledge was once held exclusively by major institutions and people of power.","about19":"As a Citizen Scientist, ","about20":"you can create knowledge. ","about21":"This is a paradigm shift in how known geographic information is created about our world.","about22":"How to help:","about23":"Join today!","about24":"Enable geotagging on your device. Instructions about how to do this are sent out in a welcome email when you sign up.","about25":"You can map anything from as little as a single cigarette butt to the contents of an entire beach or street clean in 1 photo.","about26":"If there is too much litter and it is incalculable, simply use the Dumping category and rate the area from 1-100 or choose \\"Random Litter\\" in the \\"Other\\" category","about27":"If you want to create really powerful maps, take as many photos as you can. Or if you don\'t have the time, you can log any number of items in a single photo.","about28":"Verified images and content will automatically be added to the database, quantitatively & geospatially analyzed and available to view publicly for the world to see!","about29":"Help us communicate the problems, and solutions- to stop plastic reaching the ocean.","about29a":"If you like our work and would like to support, please join the crowdfunding","about30":"Join Open Litter Map to create a world with less of","about301":"this","about302":"and this...","about31":"In 2010 alone, it is estimated that at least 8 million tonnes of plastic went into the ocean. That\'s an average of 916 tonnes an hour.","about32":"A sample of what\'s floating around in the oceans","about33":"Plastic pollution is currently responsible for the annual deaths of about 1-million birds and 100,000 marine mammals annually.","about34":"By 2025, the amount of plastic entering the ocean is expected to increase to 70 million tonnes assuming current trends continue.","about35":"I want to help!"}')},Hj5F:function(t,e,n){"use strict";var i=n("SdIz");n.n(i).a},Hoj9:function(t,e,n){var i=n("jtbz");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"HpQ/":function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alkohol","art":"Sztuka","brands":"Marki","coastal":"Przybrzeżny","coffee":"Kawa","dumping":"Zaśmiecanie","food":"Jedzenie","industrial":"Przemysłowy","sanitary":"Sanitarny","softdrinks":"Palenie","smoking":"Palenie","other":"Inne","dogshit":"Psia kupa","material":"Material"},"smoking":{"butts":"Filtr po papierosie","lighters":"Zapalniczka","cigaretteBox":"Paczka po papierosach","tobaccoPouch":"Paczka tytoniu","skins":"papier do skręcania","smoking_plastic":"Plastikowe opakowanie","filters":"Filtry","filterbox":"pudełko po filtrach","vape_pen":"e-papieros","vape_oil":"Olejek e-papierosowy","smokingOther":"Palenie (Inne)"},"alcohol":{"beerBottle":"Butelka po piwie","spiritBottle":"Butelka po mocniejszym alkoholu","wineBottle":"Butelka po winie","beerCan":"Puszka po piwie","brokenGlass":"Zbite szkło","bottleTops":"Kapsle","paperCardAlcoholPackaging":"Papierowe opakowanie po alkoholu","plasticAlcoholPackaging":"Plastikowe opakowanie po alkoholu","pint":"Szklany kufel","six_pack_rings":"plastikowe kółka po szescio-paku","alcohol_plastic_cups":"Plastikowy kubeczek","alcoholOther":"Akohol (inne)"},"art":{"item":"Sztuka Miotu"},"coffee":{"coffeeCups":"Kubeczek po kawie","coffeeLids":"Wieczko po kawie","coffeeOther":"Kawa (inne)"},"food":{"sweetWrappers":"Papierek po słodyczach","paperFoodPackaging":"Papierowe opakowanie po jedzeniu","plasticFoodPackaging":"Plastikowe opakowanie po jedzeniu","plasticCutlery":"Plastikowe sztućce","crisp_small":"Paczka po czipsach (mała)","crisp_large":"Paczka po czipsach (duża)","styrofoam_plate":"Styropianowy talerz","napkins":"Chusteczka","sauce_packet":"Paczka po sosie","glass_jar":"Słoik","glass_jar_lid":"Zakrętka po słoiku","aluminium_foil":"Folia aluminiowa","pizza_box":"Pudełko po pizzy","foodOther":"Jedzenie (Inne)","chewing_gum":"Guma do żucia"},"softdrinks":{"waterBottle":"Plastikowa butelka po wodzie","fizzyDrinkBottle":"Plastikowa butelka po napoju","tinCan":"Puszka napoju","bottleLid":"Zakrętka od butelki","bottleLabel":"Etykieta butelki","sportsDrink":"Izotoniku (Plastikowa butelka)","straws":"Słomka","plastic_cups":"Plastikowy kubeczek","plastic_cup_tops":"Wieczko po plastikowym kubeczku","milk_bottle":"Butelka po mleku","milk_carton":"Karton po mleku","paper_cups":"Papierowe kubeczki","juice_cartons":"Karton po soku","juice_bottles":"Butelka po soku","juice_packet":"Paczka po soku","ice_tea_bottles":"Butelka po Ice Tea","ice_tea_can":"puszka Ice Tea","energy_can":"Puszka po energetyku","pullring":"zawleczka od puszki","strawpacket":"opakowanie po słomkach","styro_cup":"Styropianowy kubeczek","broken_glass":"Zbite szkło","softDrinkOther":"Napoje (inne)"},"sanitary":{"gloves":"Rękawiczki","facemask":"Maseczki","condoms":"Prezerwatywy","nappies":"Pieluchy","menstral":"Podpaski","deodorant":"Dezodorant","ear_swabs":"Patyczki do uszu","tooth_pick":"Patyczki do zębów","tooth_brush":"Szczoteczka do zębów","wetwipes":"Mokre chusteczki","hand_sanitiser":"Środek do dezynfekcji rąk","sanitaryOther":"Sanitarny (inne)"},"dumping":{"small":"Małe","medium":"Średnie","large":"Duże"},"industrial":{"oil":"Olej","industrial_plastic":"Plastik","chemical":"Chemicalia","bricks":"Cegły","tape":"Taśma","industrial_other":"Przemysłowy (inne)"},"coastal":{"microplastics":"Microplastiki","mediumplastics":"Średnie tworzywa sztuczne","macroplastics":"makroplastiki","rope_small":"Lina (krótka)","rope_medium":"Lina (Średnia)","rope_large":"Lina (Duża)","fishing_gear_nets":"Siatka/sprzęt rybacki","ghost_nets":"Sieci widma","buoys":"Boja","degraded_plasticbottle":"zdegradowana plastikowa butelka","degraded_plasticbag":"zdegradowana plastikowa siatka","degraded_straws":"zdegradowana plastikowa słomka","degraded_lighters":"zdegradowana plastikowa zapalniczka","balloons":"Balony","lego":"Lego","shotgun_cartridges":"Kartridż do broni","styro_small":"Styropian (Mały)","styro_medium":"Styropian (Średni)","styro_large":"Styropian (Duży)","coastal_other":"przybrzeżny (inne)"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"TrashDog","littercat":"LitterCat","duck":"LitterDuck"},"other":{"dogshit":"Psia kupa","pooinbag":"Psia kupa w workeczku","automobile":"Auto","clothing":"ubrania","traffic_cone":"Pachołek drogowy","life_buoy":"Koło ratunkowe","plastic":"Niezidentyfikowany plastik","dump":"Nielegalny dumping","metal":"Metalowy przedmiot","plastic_bags":"Plastikowa siatka","election_posters":"Postery wyborcze","forsale_posters":"Postery na sprzedaż","books":"książki","magazine":"Magazyn (Gazeta)","paper":"Papier","stationary":"Papiery biurowe","washing_up":"Detergenty do mycia","hair_tie":"Gumka do włosów","ear_plugs":"Zatyczki do uszu","batteries":"Baterie","elec_small":"Elektronika (małe)","elec_large":"Elektronika (duże)","random_litter":"Losowe śmieci","balloons":"Balony","bags_litter":"Worki ze śmieciami","overflowing_bins":"Przepełnione śmietniki","tyre":"Opona","cable_tie":"Opaska kablowa (Trytytka)","other":"Inne (inne)"},"presence":{"picked-up":"Zebrałem!","still-there":"Nie został odebrany!","picked-up-text":"It\'s gone.","still-there-text":"The litter is still there!"},"no-tags":"Bez tagów","not-verified":"Oczekiwanie na weryfikację","not-tagged-yet":"Jeszcze nieotagowany!","dogshit":{"poo":"niespodzianka!","poo_in_bag":"niespodzianka w woreczku!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},Hv2k:function(t){t.exports=JSON.parse('{"login-btn":"Bejelentkezés","signup-text":"Új fiók létrehozása","forgot-password":"Elfelejtetted a jelszavadat?"}')},Hw7p:function(t){t.exports=JSON.parse('{"title":"Tabla de clasificación de equipos","position-header":"Posición","name-header":"Nombre","photos-header":"Total de fotos","litter-header":"Total de basura","created-at-header":"Creado el"}')},Hz4E:function(t){t.exports=JSON.parse('{"new-image":"Nova Imagem","new-user":"Novo Usuário","new-country":"Novo País","new-state":"Novo Estado","new-city":"Nova Cidade","user-signed-up":"Um novo usuário se inscreveu!","say-hello-to":"Diga olá para","littercoin-mined":"Uma Littercoin foi extraída!","littercoin-100-boxes-verified":"100 caixas OpenLitterAI verificadas","littercoin-100-verified":"100 imagens verificadas","team-created":"Uma nova Equipe foi criada!","litter-picked-up":"Lixo Recolhido","litter-uploaded":"Lixo Enviado"}')},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),a=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(a).concat([r]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;rOpenStreetMap & Contributors',maxZoom:20,minZoom:1}).addTo(e.map),e.map.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+i),a=new b.a.TimeDimension({}),e.map.timeDimension=a,e.player=new b.a.TimeDimension.Player({transitionTime:1e3,loop:!0},a),e.player.on("play",(function(){var t;(null===(t=e.map)||void 0===t?void 0:t.hasLayer(e.pointsLayer))&&e.map.removeLayer(e.pointsLayer)})),e.map.addControl(new b.a.Control.TimeDimension({player:e.player,timeDimension:a,timeSliderDragUpdate:!0,loopButton:!0,autoPlay:!1,minSpeed:5}));case 11:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){x(a,i,r,o,s,"next",t)}function s(t){x(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{map:null,loading:!0,fullscreen:!1,pointsLayer:null,timeLayer:null,player:null}},computed:{geojson:function(){return this.$store.state.user.geojson.features}},watch:{geojson:function(t){var e=this;this.pointsLayer&&this.pointsLayer.remove(),this.timeLayer&&this.timeLayer.remove(),this.player&&this.player.stop(),this.pointsLayer=b.a.geoJSON(t,{pointToLayer:function(t,e){return b.a.marker([e.lng,e.lat])},onEachFeature:function(t,n){n.on("click",(function(n){b.a.popup(w.a.popupOptions).setLatLng(t.geometry.coordinates).setContent(w.a.getMapImagePopupContent(t.properties)).openOn(e.map)}))}}),this.timeLayer=b.a.timeDimension.layer.geoJson(this.pointsLayer,{updateTimeDimension:!0,updateTimeDimensionMode:"replace"}),this.pointsLayer.addTo(this.map),this.timeLayer.addTo(this.map)}},methods:{fullscreenChange:function(t){this.fullscreen=t},toggle:function(){this.$refs.fullscreen.toggle()}}},C=(n("GRKx"),Object(l.a)(k,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card",staticStyle:{padding:"0 !important"}},[e("fullscreen",{ref:"fullscreen",staticClass:"profile-map-container",on:{change:this.fullscreenChange}},[e("button",{staticClass:"btn-map-fullscreen",on:{click:this.toggle}},[e("i",{staticClass:"fa fa-expand"})]),this._v(" "),e("div",{ref:"hexmap",attrs:{id:"hexmap"}})])],1)}),[],!1,null,"41819959",null).exports),T=n("R5vI");function E(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var S={name:"ProfileCalendar",components:{FunctionalCalendar:T.a},data:function(){return{btn:"button is-primary is-fullwidth",calendarData:{},period:"created_at",periods:["created_at","datetime"]}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},disabled:function(){return!!this.processing||(!this.calendarData.hasOwnProperty("dateRange")||!this.calendarData.dateRange.hasOwnProperty("start")&&!this.calendarData.dateRange.hasOwnProperty("end"))}},methods:{changePeriod:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.disabled){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.$store.dispatch("GET_USERS_PROFILE_MAP_DATA",{period:e.period,start:e.calendarData.dateRange.start,end:e.calendarData.dateRange.end});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){E(a,i,r,o,s,"next",t)}function s(t){E(a,i,r,o,s,"throw",t)}o(void 0)}))})()},getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)}}},P=Object(l.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("FunctionalCalendar",{attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),sundayStart:!1,"date-format":"yyyy-mm-dd","is-date-range":!0,"is-date-picker":!1,"change-month-function":!0,"change-year-function":!0},model:{value:t.calendarData,callback:function(e){t.calendarData=e},expression:"calendarData"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input mt1 mb1",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]}}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.disabled},on:{click:t.changePeriod}},[t._v(t._s(t.$t("profile.dashboard.calendar-load-data")))])],1)}),[],!1,null,"68fa9332",null).exports;function L(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var I={name:"ProfileDownload",components:{FunctionalCalendar:T.a},data:function(){return{btn:"button tooltip is-primary",processing:!1,calendarData:{},period:"created_at",periods:["created_at","datetime"]}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn}},methods:{download:function(){var t,e=this;return(t=r.a.mark((function t(){var n,i,a,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("DOWNLOAD_MY_DATA",{dateField:e.period,fromDate:null===(n=e.calendarData)||void 0===n||null===(i=n.dateRange)||void 0===i?void 0:i.start,toDate:null===(a=e.calendarData)||void 0===a||null===(o=a.dateRange)||void 0===o?void 0:o.end});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){L(a,i,r,o,s,"next",t)}function s(t){L(a,i,r,o,s,"throw",t)}o(void 0)}))})()}}},O=(n("8/Lw"),Object(l.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"profile-dl-title"},[t._v(t._s(t.$t("profile.dashboard.download-data")))]),t._v(" "),n("FunctionalCalendar",{attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),sundayStart:!1,"date-format":"yyyy-mm-dd","is-date-range":!0,"is-date-picker":!1,"change-month-function":!0,"change-year-function":!0},model:{value:t.calendarData,callback:function(e){t.calendarData=e},expression:"calendarData"}}),t._v(" "),n("div",{staticClass:"inputs-wrapper"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input mt1 mb1",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]}}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.$t("teams.dashboard.times."+e)))])})),0),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing},on:{click:t.download}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v(t._s(t.$t("profile.dashboard.email-send-msg")))]),t._v("\n "+t._s(t.$t("common.download"))+"\n ")])])],1)}),[],!1,null,"32848a05",null).exports),A={extends:f.c,name:"TimeSeriesLine",props:["ppm"],data:function(){return{months:this.$t("common.short-month-names")}},mounted:function(){var t=JSON.parse(this.ppm),e=[],n=[];for(var i in t)e.push(this.months[parseInt(i.substring(0,2))-1]+i.substring(2,5)),n.push(t[i]);this.renderChart({labels:e,datasets:[{label:this.$t("profile.dashboard.timeseries-verified-photos"),backgroundColor:"#1DD3B0",data:n,fill:!1,borderColor:"#1DD3B0",maxBarThickness:"50"}]},{responsive:!0,maintainAspectRatio:!1,legend:{labels:{fontColor:"#1DD3B0"}},scales:{xAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#1DD3B0"}}],yAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#1DD3B0"}}]}})}},M={name:"ProfileTimeSeries",components:{TimeSeriesLine:Object(l.a)(A,void 0,void 0,!1,null,null,null).exports},computed:{ppm:function(){return this.$store.state.user.user.photos_per_month}}},z={name:"ProfilePhotos"};function N(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var D={name:"Profile",components:{ProfileWelcome:u,ProfileTimeSeries:Object(l.a)(M,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card"},[e("TimeSeriesLine",{attrs:{ppm:this.ppm}})],1)}),[],!1,null,"f09fa5e0",null).exports,ProfileStats:h,ProfileNextTarget:p,ProfileCategories:y,ProfileMap:C,ProfileCalendar:P,ProfileDownload:O,ProfilePhotos:Object(l.a)(z,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card"},[e("p",{staticClass:"mb1"},[this._v(this._s(this.$t("profile.dashboard.manage-my-photos")))]),this._v(" "),e("router-link",{attrs:{to:"/bulk-tag"}},[e("button",{staticClass:"button is-medium is-primary"},[this._v(this._s(this.$t("profile.dashboard.view-my-photos")))])])],1)}),[],!1,null,"217787fc",null).exports},mounted:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_CURRENT_USER");case 2:return t.next=4,e.$store.dispatch("GET_USERS_PROFILE_DATA");case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){N(a,i,r,o,s,"next",t)}function s(t){N(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},R=(n("ilIf"),Object(l.a)(D,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"profile-container"},[n("ProfileWelcome"),t._v(" "),n("ProfileStats"),t._v(" "),n("ProfileNextTarget"),t._v(" "),n("ProfileCategories"),t._v(" "),n("ProfileMap"),t._v(" "),n("ProfileCalendar"),t._v(" "),n("ProfileDownload"),t._v(" "),n("ProfileTimeSeries"),t._v(" "),n("ProfilePhotos")],1)}),[],!1,null,null,null));e.default=R.exports},KBsX:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.progress-bar[data-v-0c6af5d8] {\n max-width: 600px;\n}\n.stats[data-v-0c6af5d8] {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.stat[data-v-0c6af5d8] {\n padding: 12px;\n flex: 1;\n}\n@media screen and (min-width: 768px) {\n.stats[data-v-0c6af5d8] {\n flex-direction: row;\n}\n}\n",""])},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,r,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},KNCH:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Plastic vervuiling is op hol geslagen","fires-out-of-control":"Sigarettenpeuken kunnen brand veroorzaken","glass-hurts-pets":"Dieren raken gewond door gebroken glas","climate-change-out-of-control":"Plastic zorgt voor toenemende klimaatverandering","help-us":"Help ons om de meest geavanceerde database te maken met data over afval, merken en plastic vervuiling","why-collect-data":"Waarom zouden we data moeten verzamelen","visibility":"Zichtbaarheid","our-maps-reveal-litter-normality":"Onze plattegronden laten zien wat inmiddels normaal en onzichtbaar is geworden. Dit is van belang om het afval weer letterlijk op de kaart te zetten","science":"Onderzoek","our-data-open-source":"Onze data is open en toegankelijk. Iedereen kan deze data downloaden en gebruiken, ongeacht het doel","community":"Gemeenschap","must-work-together":"Alleen door samen te werken kunnen we een enorme verschuiving maken in de manier waarop we naar vervuiling kijken en hoe we erop moeten reageren","how-does-it-work":"Hoe gaat dat in z\'n werk","take-a-photo":"Neem een foto","device-captures-info":"Jouw toestel is in staat om veel waardevolle data vast te leggen, zoals de locatie, de datum en tijd, het object, het materiaal en het merk.","tag-the-litter":"Geef het afval een label","tag-litter-you-see":"Geef aan wat voor afval je op de foto ziet. Je kan aangeven of het afval daadwerkelijk is opgeruimd, of dat het er nog ligt","share-results":"Deel je resultaten","share":"Deel de plattegronden en download onze data. Laat iedereen zien hoe het gesteld is met de vervuiling op de wereld","verified":"Jouw email is bevestigd! Je kunt nu inloggen.","close":"Sluiten","our-partners":"Onze Partners","become-a-partner":"Een partner worden"}')},KSRL:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".vfc-time-picker-container[data-v-56eeb0da] {\n min-width: 250px;\n}\n.vfc-time-picker-container .vfc-modal-time-line > span > span[data-v-56eeb0da]:not(:nth-child(2)):not(.vfc-active):hover {\n cursor: pointer;\n}\n.vfc-time-picker-container .titles[data-v-56eeb0da] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 10px 0;\n}\n.vfc-time-picker-container .titles > div[data-v-56eeb0da] {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: center;\n color: #66b3cc;\n word-break: break-all;\n font-size: 25px;\n}\n.vfc-time-picker-container .vfc-time-picker[data-v-56eeb0da] {\n padding-bottom: 20px;\n}",""])},Kb5C:function(t){t.exports=JSON.parse('{"click-to-upload":"Klik om te uploaden of drop hier je foto\'s","thank-you":"Dank je!","need-tag-litter":"Volgende stap: het afval identificeren/taggen","tag-litter":"Tag het afval"}')},"Kuz/":function(t,e,n){(function(n){var r,a,o,s;function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(){return function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){var n=e[o][1][t];return r(n||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=!1,o=0;o=l&&u===s.length-1);u++){if(l>=e){var c=e-l;if(c){var h=a(s[u],s[u-1])-180;return o(s[u],c,h,n)}return r(s[u])}l+=i(s[u],s[u+1],n)}return r(s[s.length-1])}},{"@turf/bearing":3,"@turf/destination":5,"@turf/distance":8,"@turf/helpers":11}],3:[function(t,e,n){var i=t("@turf/invariant").getCoord;function r(t,e,n){if(!0===n)return function(t,e){var n=r(e,t);return n=(n+180)%360}(t,e);var a=Math.PI/180,o=180/Math.PI,s=i(t),l=i(e),u=a*s[0],c=a*l[0],h=a*s[1],d=a*l[1],p=Math.sin(c-u)*Math.cos(d),f=Math.cos(h)*Math.sin(d)-Math.sin(h)*Math.cos(d)*Math.cos(c-u);return o*Math.atan2(p,f)}e.exports=r},{"@turf/invariant":4}],4:[function(t,e,n){function i(t){if(!t)throw new Error("No obj passed");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return function t(e){if(e.length>1&&"number"==typeof e[0]&&"number"==typeof e[1])return!0;if(e[0].length)return t(e[0]);throw new Error("coordinates must only contain numbers")}(e),e;throw new Error("No valid coordinates")}e.exports.geojsonType=function(t,e,n){if(!e||!n)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.type)},e.exports.collectionOf=function(t,e,n){if(!t)throw new Error("No featureCollection passed");if(!n)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+n+", FeatureCollection required");for(var i=0;i1&&"number"==typeof e[0]&&"number"==typeof e[1])return e;throw new Error("Coordinate is not a valid Point")},e.exports.getCoords=i},{}],5:[function(t,e,n){var i=t("@turf/invariant").getCoord,r=t("@turf/helpers"),a=r.point,o=r.distanceToRadians;e.exports=function(t,e,n,r){var s=Math.PI/180,l=180/Math.PI,u=i(t),c=s*u[0],h=s*u[1],d=s*n,p=o(e,r),f=Math.asin(Math.sin(h)*Math.cos(p)+Math.cos(h)*Math.sin(p)*Math.cos(d)),m=c+Math.atan2(Math.sin(d)*Math.sin(p)*Math.cos(h),Math.cos(p)-Math.sin(h)*Math.sin(f));return a([l*m,l*f])}},{"@turf/helpers":6,"@turf/invariant":7}],6:[function(t,e,n){function i(t,e){if(!t)throw new Error("No geometry passed");return{type:"Feature",properties:e||{},geometry:t}}e.exports.feature=i,e.exports.point=function(t,e){if(!t)throw new Error("No coordinates passed");if(void 0===t.length)throw new Error("Coordinates must be an array");if(t.length<2)throw new Error("Coordinates must be at least 2 numbers long");if("number"!=typeof t[0]||"number"!=typeof t[1])throw new Error("Coordinates must numbers");return i({type:"Point",coordinates:t},e)},e.exports.polygon=function(t,e){if(!t)throw new Error("No coordinates passed");for(var n=0;n0){e+=Math.abs(a(t[0]));for(var n=1;n2){for(l=0;lt[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]t&&(e.push(i),n=r)}return e},i.prototype.vector=function(t){var e=this.pos(t+10),n=this.pos(t-10);return{angle:180*Math.atan2(e.y-n.y,e.x-n.x)/3.14,speed:Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)+(n.z-e.z)*(n.z-e.z))}},i.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var n=e/this.duration;if(n>=1)return this.points[this.length-1];var i=Math.floor((this.points.length-1)*n);return function(t,e,n,i,r){var a=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:r.x*a[0]+i.x*a[1]+n.x*a[2]+e.x*a[3],y:r.y*a[0]+i.y*a[1]+n.y*a[2]+e.y*a[3],z:r.z*a[0]+i.z*a[1]+n.z*a[2]+e.z*a[3]}}((this.length-1)*n-i,this.points[i],this.controls[i][1],this.controls[i+1][0],this.points[i+1])},e.exports=i},{}],25:[function(t,e,n){var i=t("@turf/helpers"),r=i.featureCollection,a=t("jsts"),o=t("@mapbox/geojson-normalize");e.exports=function(t,e,n){var s=i.distanceToDegrees(e,n),l=o(t),u=o(r(l.features.map((function(t){return function(t,e){var n=(new a.io.GeoJSONReader).read(t.geometry).buffer(e),i=new a.io.GeoJSONWriter;return{type:"Feature",geometry:n=i.write(n),properties:{}}}(t,s)}))));return u.features.length>1?u:1===u.features.length?u.features[0]:void 0}},{"@mapbox/geojson-normalize":26,"@turf/helpers":27,jsts:28}],26:[function(t,e,n){e.exports=function(t){if(!t||!t.type)return null;var e=i[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featurecollection"===e?t:void 0:null};var i={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featurecollection"}},{}],27:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],28:[function(t,e,n){!function(t,i){"object"==l(n)&&void 0!==e?i(n):i(t.jsts=t.jsts||{})}(this,(function(t){"use strict";function e(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}function n(){}function i(){}function r(){}function a(){}function o(){}function s(){}function l(){}function u(t){this.name="RuntimeException",this.message=t,this.stack=(new Error).stack,Error.call(this,t)}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function h(){if(0===arguments.length)u.call(this);else if(1===arguments.length){var t=arguments[0];u.call(this,t)}}function d(){}function p(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)p.call(this,0,0);else if(1===arguments.length){var t=arguments[0];p.call(this,t.x,t.y,t.z)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];p.call(this,e,n,p.NULL_ORDINATE)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2];this.x=i,this.y=r,this.z=a}}function f(){if(this.dimensionsToTest=2,0===arguments.length)f.call(this,2);else if(1===arguments.length){var t=arguments[0];if(2!==t&&3!==t)throw new i("only 2 or 3 dimensions may be specified");this.dimensionsToTest=t}}function m(){}function g(){}function v(t){this.message=t||""}function y(){}function _(t){this.message=t||""}function b(t){this.message=t||""}function w(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function x(){if(w.apply(this),0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.ensureCapacity(t.length),this.add(t,!0)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.ensureCapacity(e.length),this.add(e,n)}}function k(){if(this.minx=null,this.maxx=null,this.miny=null,this.maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof p){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof k){var e=arguments[0];this.init(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var r=arguments[0],a=arguments[1],o=arguments[2],s=arguments[3];this.init(r,a,o,s)}}function C(){}function T(){C.call(this,"Projective point not representable on the Cartesian plane.")}function E(){}function S(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1}function P(){}function L(t){this.str=t}function I(t){this.value=t}function O(){}function A(){if(this.hi=0,this.lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this.init(t)}else if(arguments[0]instanceof A){var e=arguments[0];this.init(e)}else if("string"==typeof arguments[0]){var n=arguments[0];A.call(this,A.parse(n))}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.init(i,r)}}function M(){}function z(){}function N(){}function D(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var t=arguments[0];this.x=t.x,this.y=t.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var e=arguments[0],n=arguments[1];this.x=e,this.y=n,this.w=1}else if(arguments[0]instanceof D&&arguments[1]instanceof D){var i=arguments[0],r=arguments[1];this.x=i.y*r.w-r.y*i.w,this.y=r.x*i.w-i.x*r.w,this.w=i.x*r.y-r.x*i.y}else if(arguments[0]instanceof p&&arguments[1]instanceof p){var a=arguments[0],o=arguments[1];this.x=a.y-o.y,this.y=o.x-a.x,this.w=a.x*o.y-o.x*a.y}}else if(3===arguments.length){var s=arguments[0],l=arguments[1],u=arguments[2];this.x=s,this.y=l,this.w=u}else if(4===arguments.length){var c=arguments[0],h=arguments[1],d=arguments[2],f=arguments[3],m=c.y-h.y,g=h.x-c.x,v=c.x*h.y-h.x*c.y,y=d.y-f.y,_=f.x-d.x,b=d.x*f.y-f.x*d.y;this.x=g*b-_*v,this.y=y*v-m*b,this.w=m*_-y*g}}function R(){}function j(){}function F(){this.envelope=null,this.factory=null,this.SRID=null,this.userData=null;var t=arguments[0];this.factory=t,this.SRID=t.getSRID()}function B(){}function U(){}function q(){}function $(){}function G(){}function V(){}function H(){}function W(){}function Y(){}function Z(){}function X(){}function J(){}function K(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function Q(t){return null==t?Ba:t.color}function tt(t){return null==t?null:t.parent}function et(t,e){null!==t&&(t.color=e)}function nt(t){return null==t?null:t.left}function it(t){return null==t?null:t.right}function rt(){this.root_=null,this.size_=0}function at(){}function ot(){}function st(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function lt(){}function ut(){}function ct(){}function ht(){}function dt(){this.geometries=null;var t=arguments[0],e=arguments[1];if(F.call(this,e),null===t&&(t=[]),F.hasNullElements(t))throw new i("geometries must not contain null elements");this.geometries=t}function pt(){var t=arguments[0],e=arguments[1];dt.call(this,t,e)}function ft(){if(this.geom=null,this.geomFact=null,this.bnRule=null,this.endpointMap=null,1===arguments.length){var t=arguments[0];ft.call(this,t,U.MOD2_BOUNDARY_RULE)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.geom=e,this.geomFact=e.getFactory(),this.bnRule=n}}function mt(){this.count=null}function gt(){}function vt(){}function yt(){}function _t(){}function bt(){}function wt(){}function xt(){}function kt(){this.points=null;var t=arguments[0],e=arguments[1];F.call(this,e),this.init(t)}function Ct(){}function Tt(){this.coordinates=null;var t=arguments[0],e=arguments[1];F.call(this,e),this.init(t)}function Et(){}function St(){this.shell=null,this.holes=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(F.call(this,n),null===t&&(t=this.getFactory().createLinearRing()),null===e&&(e=[]),F.hasNullElements(e))throw new i("holes must not contain null elements");if(t.isEmpty()&&F.hasNonEmptyElements(e))throw new i("shell is empty but holes are not");this.shell=t,this.holes=e}function Pt(){var t=arguments[0],e=arguments[1];dt.call(this,t,e)}function Lt(){if(arguments[0]instanceof p&&arguments[1]instanceof Ht){var t=arguments[0],e=arguments[1];Lt.call(this,e.getCoordinateSequenceFactory().create(t),e)}else if(S(arguments[0],z)&&arguments[1]instanceof Ht){var n=arguments[0],i=arguments[1];kt.call(this,n,i),this.validateConstruction()}}function It(){var t=arguments[0],e=arguments[1];dt.call(this,t,e)}function Ot(){if(this.factory=null,this.isUserDataCopied=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.factory=t}}function At(){}function Mt(){}function zt(){}function Nt(){}function Dt(){if(this.dimension=3,this.coordinates=null,1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];Dt.call(this,t,3)}else if(Number.isInteger(arguments[0])){var e=arguments[0];this.coordinates=new Array(e).fill(null);for(var n=0;n-1}function Ut(t,e,n){var i=[0],r=!1;return t.push(i),{next:function(){var a,o=i[0];return!r&&o1,"Node capacity must be greater than 1"),this.nodeCapacity=t}}function Le(){}function Ie(){if(0===arguments.length)Ie.call(this,Ie.DEFAULT_NODE_CAPACITY);else if(1===arguments.length){var t=arguments[0];Pe.call(this,t)}}function Oe(){var t=arguments[0];Ee.call(this,t)}function Ae(){}function Me(){this.segString=null,this.coord=null,this.segmentIndex=null,this.segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.segString=t,this.coord=new p(e),this.segmentIndex=n,this.segmentOctant=i,this._isInterior=!e.equals2D(t.getCoordinate(n))}function ze(){this.nodeMap=new rt,this.edge=null;var t=arguments[0];this.edge=t}function Ne(){this.nodeList=null,this.edge=null,this.nodeIt=null,this.currNode=null,this.nextNode=null,this.currSegIndex=0;var t=arguments[0];this.nodeList=t,this.edge=t.getEdge(),this.nodeIt=t.iterator(),this.readNextNode()}function De(){}function Re(){this.nodeList=new ze(this),this.pts=null,this.data=null;var t=arguments[0],e=arguments[1];this.pts=t,this.data=e}function je(){this.tempEnv1=new k,this.tempEnv2=new k,this.overlapSeg1=new te,this.overlapSeg2=new te}function Fe(){this.pts=null,this.start=null,this.end=null,this.env=null,this.context=null,this.id=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.pts=t,this.start=e,this.end=n,this.context=i}function Be(){}function Ue(){}function qe(){}function $e(){if(this.segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}}function Ge(){if(this.monoChains=new w,this.index=new Ie,this.idCounter=0,this.nodedSegStrings=null,this.nOverlaps=0,0===arguments.length);else if(1===arguments.length){var t=arguments[0];$e.call(this,t)}}function Ve(){je.apply(this),this.si=null;var t=arguments[0];this.si=t}function He(){if(this.pt=null,1===arguments.length){var t=arguments[0];u.call(this,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];u.call(this,He.msgWithCoord(e,n)),this.name="TopologyException",this.pt=new p(n)}}function We(){}function Ye(){this.findAllIntersections=!1,this.isCheckEndSegmentsOnly=!1,this.li=null,this.interiorIntersection=null,this.intSegments=null,this.intersections=new w,this.intersectionCount=0,this.keepIntersections=!0;var t=arguments[0];this.li=t,this.interiorIntersection=null}function Ze(){this.li=new Xt,this.segStrings=null,this.findAllIntersections=!1,this.segInt=null,this._isValid=!0;var t=arguments[0];this.segStrings=t}function Xe(){this.nv=null;var t=arguments[0];this.nv=new Ze(Xe.toSegmentStrings(t))}function Je(){this.mapOp=null;var t=arguments[0];this.mapOp=t}function Ke(){}function Qe(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];this.init(t.length)}else if(Number.isInteger(arguments[0])){var e=arguments[0];this.init(1),this.location[Ke.ON]=e}else if(arguments[0]instanceof Qe){var n=arguments[0];if(this.init(n.location.length),null!==n)for(var i=0;i=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this.arg=new Array(2).fill(null),this.arg[0]=new Un(0,i,a),this.arg[1]=new Un(1,r,a)}}function $n(){this.pts=null,this._orientation=null;var t=arguments[0];this.pts=t,this._orientation=$n.orientation(t)}function Gn(){this.edges=new w,this.ocaMap=new rt}function Vn(){this.ptLocator=new ve,this.geomFact=null,this.resultGeom=null,this.graph=null,this.edgeList=new Gn,this.resultPolyList=new w,this.resultLineList=new w,this.resultPointList=new w;var t=arguments[0],e=arguments[1];qn.call(this,t,e),this.graph=new hn(new _n),this.geomFact=t.getFactory()}function Hn(){this.geom=new Array(2).fill(null),this.snapTolerance=null,this.cbr=null;var t=arguments[0],e=arguments[1];this.geom[0]=t,this.geom[1]=e,this.computeSnapTolerance()}function Wn(){this.geom=new Array(2).fill(null);var t=arguments[0],e=arguments[1];this.geom[0]=t,this.geom[1]=e}function Yn(){this.factory=null,this.interiorPoint=null,this.maxWidth=0;var t=arguments[0];this.factory=t.getFactory(),this.add(t)}function Zn(){this.poly=null,this.centreY=null,this.hiY=r.MAX_VALUE,this.loY=-r.MAX_VALUE;var t=arguments[0];this.poly=t,this.hiY=t.getEnvelopeInternal().getMaxY(),this.loY=t.getEnvelopeInternal().getMinY(),this.centreY=Yn.avg(this.loY,this.hiY)}function Xn(){this.centroid=null,this.minDistance=r.MAX_VALUE,this.interiorPoint=null;var t=arguments[0];this.centroid=t.getCentroid().getCoordinate(),this.addInterior(t),null===this.interiorPoint&&this.addEndpoints(t)}function Jn(){this.centroid=null,this.minDistance=r.MAX_VALUE,this.interiorPoint=null;var t=arguments[0];this.centroid=t.getCentroid().getCoordinate(),this.add(t)}function Kn(){this.tempEnv1=new k,this.selectedSegment=new te}function Qn(){this.items=new w,this.subnode=[null,null]}function ti(){if(this.min=null,this.max=null,0===arguments.length)this.min=0,this.max=0;else if(1===arguments.length){var t=arguments[0];this.init(t.min,t.max)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.init(e,n)}}function ei(){}function ni(){this.pt=0,this.level=0,this.interval=null;var t=arguments[0];this.computeKey(t)}function ii(){Qn.apply(this),this.interval=null,this.centre=null,this.level=null;var t=arguments[0],e=arguments[1];this.interval=t,this.level=e,this.centre=(t.getMin()+t.getMax())/2}function ri(){}function ai(){Qn.apply(this)}function oi(){this.root=null,this.minExtent=1,this.root=new ai}function si(){}function li(){this.ring=null,this.tree=null,this.crossings=0,this.interval=new ti;var t=arguments[0];this.ring=t,this.buildIndex()}function ui(){Kn.apply(this),this.mcp=null,this.p=null;var t=arguments[0],e=arguments[1];this.mcp=t,this.p=e}function ci(){}function hi(){this.p0=null,this.p1=null,this.p2=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.p0=t,this.p1=e,this.p2=n}function di(){this.input=null,this.extremalPts=null,this.centre=null,this.radius=0;var t=arguments[0];this.input=t}function pi(){if(this.inputGeom=null,this.isConvex=null,this.convexHullPts=null,this.minBaseSeg=new te,this.minWidthPt=null,this.minPtIndex=null,this.minWidth=0,1===arguments.length){var t=arguments[0];pi.call(this,t,!1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.inputGeom=e,this.isConvex=n}}function fi(){this.inputGeom=null,this.distanceTolerance=null;var t=arguments[0];this.inputGeom=t}function mi(){le.apply(this),this.distanceTolerance=null;var t=arguments[0];this.distanceTolerance=t}function gi(){this._orig=null,this._sym=null,this._next=null;var t=arguments[0];this._orig=t}function vi(){this._isMarked=!1;var t=arguments[0];gi.call(this,t)}function yi(){this.vertexMap=new $t}function _i(){this._isStart=!1;var t=arguments[0];vi.call(this,t)}function bi(){yi.apply(this)}function wi(){this.result=null,this.factory=null,this.graph=null,this.lines=new w,this.nodeEdgeStack=new re,this.ringStartEdge=null,this.graph=new bi}function xi(){this.items=new w,this.subnode=new Array(4).fill(null)}function ki(){this.pt=new p,this.level=0,this.env=null;var t=arguments[0];this.computeKey(t)}function Ci(){xi.apply(this),this.env=null,this.centrex=null,this.centrey=null,this.level=null;var t=arguments[0],e=arguments[1];this.env=t,this.level=e,this.centrex=(t.getMinX()+t.getMaxX())/2,this.centrey=(t.getMinY()+t.getMaxY())/2}function Ti(){xi.apply(this)}function Ei(){this.root=null,this.minExtent=1,this.root=new Ti}function Si(t){this.geometryFactory=t||new Ht}function Pi(t){this.geometryFactory=t||new Ht,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new Si(this.geometryFactory)}function Li(){this.parser=new Si(this.geometryFactory)}function Ii(t){this.geometryFactory=t||new Ht,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new Wt(this.geometryFactory)}function Oi(t){return[t.x,t.y]}function Ai(t,e){this.geometryFactory=t||new Ht,this.ol=e||"undefined"!=typeof ol&&ol}function Mi(){if(this.noder=null,this.scaleFactor=null,this.offsetX=null,this.offsetY=null,this.isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];Mi.call(this,t,e,0,0)}else if(4===arguments.length){var n=arguments[0],i=arguments[1];this.noder=n,this.scaleFactor=i,this.isScaled=!this.isIntegerPrecision()}}function zi(){if(this.inputGeom=null,this.isClosedEndpointsInInterior=!0,this.nonSimpleLocation=null,1===arguments.length){var t=arguments[0];this.inputGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.inputGeom=e,this.isClosedEndpointsInInterior=!n.isInBoundary(2)}}function Ni(){this.pt=null,this.isClosed=null,this.degree=null;var t=arguments[0];this.pt=t,this.isClosed=!1,this.degree=0}function Di(){if(this.quadrantSegments=Di.DEFAULT_QUADRANT_SEGMENTS,this.endCapStyle=Di.CAP_ROUND,this.joinStyle=Di.JOIN_ROUND,this.mitreLimit=Di.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this.simplifyFactor=Di.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setQuadrantSegments(t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.setQuadrantSegments(e),this.setEndCapStyle(n)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2],o=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(r),this.setJoinStyle(a),this.setMitreLimit(o)}}function Ri(){this.minIndex=-1,this.minCoord=null,this.minDe=null,this.orientedDe=null}function ji(){this.array_=[]}function Fi(){this.finder=null,this.dirEdgeList=new w,this.nodes=new w,this.rightMostCoord=null,this.env=null,this.finder=new Ri}function Bi(){this.inputLine=null,this.distanceTol=null,this.isDeleted=null,this.angleOrientation=Qt.COUNTERCLOCKWISE;var t=arguments[0];this.inputLine=t}function Ui(){this.ptList=null,this.precisionModel=null,this.minimimVertexDistance=0,this.ptList=new w}function qi(){this.maxCurveSegmentError=0,this.filletAngleQuantum=null,this.closingSegLengthFactor=1,this.segList=null,this.distance=0,this.precisionModel=null,this.bufParams=null,this.li=null,this.s0=null,this.s1=null,this.s2=null,this.seg0=new te,this.seg1=new te,this.offset0=new te,this.offset1=new te,this.side=0,this._hasNarrowConcaveAngle=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this.precisionModel=t,this.bufParams=e,this.li=new Xt,this.filletAngleQuantum=Math.PI/2/e.getQuadrantSegments(),e.getQuadrantSegments()>=8&&e.getJoinStyle()===Di.JOIN_ROUND&&(this.closingSegLengthFactor=qi.MAX_CLOSING_SEG_LEN_FACTOR),this.init(n)}function $i(){this.distance=0,this.precisionModel=null,this.bufParams=null;var t=arguments[0],e=arguments[1];this.precisionModel=t,this.bufParams=e}function Gi(){this.subgraphs=null,this.seg=new te,this.cga=new Qt;var t=arguments[0];this.subgraphs=t}function Vi(){this.upwardSeg=null,this.leftDepth=null;var t=arguments[0],e=arguments[1];this.upwardSeg=new te(t),this.leftDepth=e}function Hi(){this.inputGeom=null,this.distance=null,this.curveBuilder=null,this.curveList=new w;var t=arguments[0],e=arguments[1],n=arguments[2];this.inputGeom=t,this.distance=e,this.curveBuilder=n}function Wi(){this._hasIntersection=!1,this.hasProper=!1,this.hasProperInterior=!1,this.hasInterior=!1,this.properIntersectionPoint=null,this.li=null,this.isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this.li=t}function Yi(){this.bufParams=null,this.workingPrecisionModel=null,this.workingNoder=null,this.geomFact=null,this.graph=null,this.edgeList=new Gn;var t=arguments[0];this.bufParams=t}function Zi(){this.li=new Xt,this.segStrings=null;var t=arguments[0];this.segStrings=t}function Xi(){this.li=null,this.pt=null,this.originalPt=null,this.ptScaled=null,this.p0Scaled=null,this.p1Scaled=null,this.scaleFactor=null,this.minx=null,this.maxx=null,this.miny=null,this.maxy=null,this.corner=new Array(4).fill(null),this.safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this.originalPt=t,this.pt=t,this.scaleFactor=e,this.li=n,e<=0)throw new i("Scale factor must be non-zero");1!==e&&(this.pt=new p(this.scale(t.x),this.scale(t.y)),this.p0Scaled=new p,this.p1Scaled=new p),this.initCorners(this.pt)}function Ji(){this.index=null;var t=arguments[0];this.index=t}function Ki(){Kn.apply(this),this.hotPixel=null,this.parentEdge=null,this.hotPixelVertexIndex=null,this._isNodeAdded=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this.hotPixel=t,this.parentEdge=e,this.hotPixelVertexIndex=n}function Qi(){this.li=null,this.interiorIntersections=null;var t=arguments[0];this.li=t,this.interiorIntersections=new w}function tr(){this.pm=null,this.li=null,this.scaleFactor=null,this.noder=null,this.pointSnapper=null,this.nodedSegStrings=null;var t=arguments[0];this.pm=t,this.li=new Xt,this.li.setPrecisionModel(t),this.scaleFactor=t.getScale()}function er(){if(this.argGeom=null,this.distance=null,this.bufParams=new Di,this.resultGeometry=null,this.saveException=null,1===arguments.length){var t=arguments[0];this.argGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.argGeom=e,this.bufParams=n}}function nr(){this.comps=null;var t=arguments[0];this.comps=t}function ir(){if(this.component=null,this.segIndex=null,this.pt=null,2===arguments.length){var t=arguments[0],e=arguments[1];ir.call(this,t,ir.INSIDE_AREA,e)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.component=n,this.segIndex=i,this.pt=r}}function rr(){this.pts=null;var t=arguments[0];this.pts=t}function ar(){this.locations=null;var t=arguments[0];this.locations=t}function or(){if(this.geom=null,this.terminateDistance=0,this.ptLocator=new ve,this.minDistanceLocation=null,this.minDistance=r.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];or.call(this,t,e,0)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],a=arguments[2];this.geom=new Array(2).fill(null),this.geom[0]=n,this.geom[1]=i,this.terminateDistance=a}}function sr(){this.factory=null,this.directedEdges=new w,this.coordinates=null;var t=arguments[0];this.factory=t}function lr(){this._isMarked=!1,this._isVisited=!1,this.data=null}function ur(){lr.apply(this),this.parentEdge=null,this.from=null,this.to=null,this.p0=null,this.p1=null,this.sym=null,this.edgeDirection=null,this.quadrant=null,this.angle=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.from=t,this.to=e,this.edgeDirection=i,this.p0=t.getCoordinate(),this.p1=n;var r=this.p1.x-this.p0.x,a=this.p1.y-this.p0.y;this.quadrant=Be.quadrant(r,a),this.angle=Math.atan2(a,r)}function cr(){var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];ur.call(this,t,e,n,i)}function hr(){if(lr.apply(this),this.dirEdge=null,0===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];this.setDirectedEdges(t,e)}}function dr(){this.outEdges=new w,this.sorted=!1}function pr(){if(lr.apply(this),this.pt=null,this.deStar=null,1===arguments.length){var t=arguments[0];pr.call(this,t,new dr)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.pt=e,this.deStar=n}}function fr(){hr.apply(this),this.line=null;var t=arguments[0];this.line=t}function mr(){this.nodeMap=new rt}function gr(){this.edges=new K,this.dirEdges=new K,this.nodeMap=new mr}function vr(){gr.apply(this)}function yr(){this.graph=new vr,this.mergedLineStrings=null,this.factory=null,this.edgeStrings=null}function _r(){this.edgeRing=null,this.next=null,this.label=-1;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];ur.call(this,t,e,n,i)}function br(){hr.apply(this),this.line=null;var t=arguments[0];this.line=t}function wr(){this.geometryFactory=new Ht,this.geomGraph=null,this.disconnectedRingcoord=null;var t=arguments[0];this.geomGraph=t}function xr(){}function kr(){if(this.edgeEnds=new w,1===arguments.length){var t=arguments[0];kr.call(this,null,t)}else if(2===arguments.length){var e=arguments[1];ln.call(this,e.getEdge(),e.getCoordinate(),e.getDirectedCoordinate(),new tn(e.getLabel())),this.insert(e)}}function Cr(){vn.apply(this)}function Tr(){var t=arguments[0],e=arguments[1];on.call(this,t,e)}function Er(){cn.apply(this)}function Sr(){this.nodes=new sn(new Er)}function Pr(){this.li=new Xt,this.geomGraph=null,this.nodeGraph=new Sr,this.invalidPoint=null;var t=arguments[0];this.geomGraph=t}function Lr(){this.graph=null,this.rings=new w,this.totalEnv=new k,this.index=null,this.nestedPt=null;var t=arguments[0];this.graph=t}function Ir(){if(this.errorType=null,this.pt=null,1===arguments.length){var t=arguments[0];Ir.call(this,t,null)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.errorType=e,null!==n&&(this.pt=n.copy())}}function Or(){this.parentGeometry=null,this.isSelfTouchingRingFormingHoleValid=!1,this.validErr=null;var t=arguments[0];this.parentGeometry=t}function Ar(){this.factory=null,this.deList=new w,this.lowestEdge=null,this.ring=null,this.ringPts=null,this.holes=null,this.shell=null,this._isHole=null,this._isProcessed=!1,this._isIncludedSet=!1,this._isIncluded=!1;var t=arguments[0];this.factory=t}function Mr(){}function zr(){gr.apply(this),this.factory=null;var t=arguments[0];this.factory=t}function Nr(){if(this.lineStringAdder=new Dr(this),this.graph=null,this.dangles=new w,this.cutEdges=new w,this.invalidRingLines=new w,this.holeList=null,this.shellList=null,this.polyList=null,this.isCheckingRingsValid=!0,this.extractOnlyPolygonal=null,this.geomFactory=null,0===arguments.length)Nr.call(this,!1);else if(1===arguments.length){var t=arguments[0];this.extractOnlyPolygonal=t}}function Dr(){this.p=null;var t=arguments[0];this.p=t}function Rr(){this.li=new Xt,this.ptLocator=new ve,this.arg=null,this.nodes=new sn(new Er),this.im=null,this.isolatedEdges=new w,this.invalidPoint=null;var t=arguments[0];this.arg=t}function jr(){this.rectEnv=null;var t=arguments[0];this.rectEnv=t.getEnvelopeInternal()}function Fr(){this.li=new Xt,this.rectEnv=null,this.diagUp0=null,this.diagUp1=null,this.diagDown0=null,this.diagDown1=null;var t=arguments[0];this.rectEnv=t,this.diagUp0=new p(t.getMinX(),t.getMinY()),this.diagUp1=new p(t.getMaxX(),t.getMaxY()),this.diagDown0=new p(t.getMinX(),t.getMaxY()),this.diagDown1=new p(t.getMaxX(),t.getMinY())}function Br(){this._isDone=!1}function Ur(){this.rectangle=null,this.rectEnv=null;var t=arguments[0];this.rectangle=t,this.rectEnv=t.getEnvelopeInternal()}function qr(){Br.apply(this),this.rectEnv=null,this._intersects=!1;var t=arguments[0];this.rectEnv=t}function $r(){Br.apply(this),this.rectSeq=null,this.rectEnv=null,this._containsPoint=!1;var t=arguments[0];this.rectSeq=t.getExteriorRing().getCoordinateSequence(),this.rectEnv=t.getEnvelopeInternal()}function Gr(){Br.apply(this),this.rectEnv=null,this.rectIntersector=null,this.hasIntersection=!1,this.p0=new p,this.p1=new p;var t=arguments[0];this.rectEnv=t.getEnvelopeInternal(),this.rectIntersector=new Fr(this.rectEnv)}function Vr(){if(this._relate=null,2===arguments.length){var t=arguments[0],e=arguments[1];qn.call(this,t,e),this._relate=new Rr(this.arg)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];qn.call(this,n,i,r),this._relate=new Rr(this.arg)}}function Hr(){this.geomFactory=null,this.skipEmpty=!1,this.inputGeoms=null;var t=arguments[0];this.geomFactory=Hr.extractFactory(t),this.inputGeoms=t}function Wr(){this.pointGeom=null,this.otherGeom=null,this.geomFact=null;var t=arguments[0],e=arguments[1];this.pointGeom=t,this.otherGeom=e,this.geomFact=e.getFactory()}function Yr(){this.sortIndex=-1,this.comps=null;var t=arguments[0],e=arguments[1];this.sortIndex=t,this.comps=e}function Zr(){this.inputPolys=null,this.geomFactory=null;var t=arguments[0];this.inputPolys=t,null===this.inputPolys&&(this.inputPolys=new w)}function Xr(){if(this.polygons=new w,this.lines=new w,this.points=new w,this.geomFact=null,1===arguments.length){if(S(arguments[0],g)){var t=arguments[0];this.extract(t)}else if(arguments[0]instanceof F){var e=arguments[0];this.extract(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.geomFact=i,this.extract(n)}}function Jr(){Ot.CoordinateOperation.apply(this),this.targetPM=null,this.removeCollapsed=!0;var t=arguments[0],e=arguments[1];this.targetPM=t,this.removeCollapsed=e}function Kr(){this.targetPM=null,this.removeCollapsed=!0,this.changePrecisionModel=!1,this.isPointwise=!1;var t=arguments[0];this.targetPM=t}function Qr(){this.pts=null,this.usePt=null,this.distanceTolerance=null,this.seg=new te;var t=arguments[0];this.pts=t}function ta(){this.inputGeom=null,this.distanceTolerance=null,this.isEnsureValidTopology=!0;var t=arguments[0];this.inputGeom=t}function ea(){le.apply(this),this.isEnsureValidTopology=!0,this.distanceTolerance=null;var t=arguments[0],e=arguments[1];this.isEnsureValidTopology=t,this.distanceTolerance=e}function na(){if(this.parent=null,this.index=null,2===arguments.length){var t=arguments[0],e=arguments[1];na.call(this,t,e,null,-1)}else if(4===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2],a=arguments[3];te.call(this,n,i),this.parent=r,this.index=a}}function ia(){if(this.parentLine=null,this.segs=null,this.resultSegs=new w,this.minimumSize=null,1===arguments.length){var t=arguments[0];ia.call(this,t,2)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.parentLine=e,this.minimumSize=n,this.init()}}function ra(){this.index=new Ei}function aa(){this.querySeg=null,this.items=new w;var t=arguments[0];this.querySeg=t}function oa(){this.li=new Xt,this.inputIndex=new ra,this.outputIndex=new ra,this.line=null,this.linePts=null,this.distanceTolerance=0;var t=arguments[0],e=arguments[1];this.inputIndex=t,this.outputIndex=e}function sa(){this.inputIndex=new ra,this.outputIndex=new ra,this.distanceTolerance=0}function la(){this.inputGeom=null,this.lineSimplifier=new sa,this.linestringMap=null;var t=arguments[0];this.inputGeom=t}function ua(){le.apply(this),this.linestringMap=null;var t=arguments[0];this.linestringMap=t}function ca(){this.tps=null;var t=arguments[0];this.tps=t}function ha(){this.seg=null,this.segLen=null,this.splitPt=null,this.minimumLen=0;var t=arguments[0];this.seg=t,this.segLen=t.getLength()}function da(){}function pa(){}function fa(){}function ma(){if(this.p=null,1===arguments.length){var t=arguments[0];this.p=new p(t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.p=new p(e,n)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2];this.p=new p(i,r,a)}}function ga(){this._isOnConstraint=null,this.constraint=null;var t=arguments[0];ma.call(this,t)}function va(){this._rot=null,this.vertex=null,this.next=null,this.data=null}function ya(){this.subdiv=null,this.isUsingTolerance=!1;var t=arguments[0];this.subdiv=t,this.isUsingTolerance=t.getTolerance()>0}function _a(){}function ba(){this.subdiv=null,this.lastEdge=null;var t=arguments[0];this.subdiv=t,this.init()}function wa(){if(this.seg=null,1===arguments.length){if("string"==typeof arguments[0]){var t=arguments[0];u.call(this,t)}else if(arguments[0]instanceof te){var e=arguments[0];u.call(this,"Locate failed to converge (at edge: "+e+"). Possible causes include invalid Subdivision topology or very close sites"),this.seg=new te(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];u.call(this,wa.msgWithSpatial(n,i)),this.seg=new te(i)}}function xa(){}function ka(){this.visitedKey=0,this.quadEdges=new w,this.startingEdge=null,this.tolerance=null,this.edgeCoincidenceTolerance=null,this.frameVertex=new Array(3).fill(null),this.frameEnv=null,this.locator=null,this.seg=new te,this.triEdges=new Array(3).fill(null);var t=arguments[0],e=arguments[1];this.tolerance=e,this.edgeCoincidenceTolerance=e/ka.EDGE_COINCIDENCE_TOL_FACTOR,this.createFrame(t),this.startingEdge=this.initSubdiv(),this.locator=new ba(this)}function Ca(){}function Ta(){this.triList=new w}function Ea(){this.triList=new w}function Sa(){this.coordList=new x,this.triCoords=new w}function Pa(){if(this.ls=null,this.data=null,2===arguments.length){var t=arguments[0],e=arguments[1];this.ls=new te(t,e)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.ls=new te(n,i),this.data=r}else if(6===arguments.length){var a=arguments[0],o=arguments[1],s=arguments[2],l=arguments[3],u=arguments[4],c=arguments[5];Pa.call(this,new p(a,o,s),new p(l,u,c))}else if(7===arguments.length){var h=arguments[0],d=arguments[1],f=arguments[2],m=arguments[3],g=arguments[4],v=arguments[5],y=arguments[6];Pa.call(this,new p(h,d,f),new p(m,g,v),y)}}function La(){}function Ia(){if(this.p=null,this.data=null,this.left=null,this.right=null,this.count=null,2===arguments.length){var t=arguments[0],e=arguments[1];this.p=new p(t),this.left=null,this.right=null,this.count=1,this.data=e}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.p=new p(n,i),this.left=null,this.right=null,this.count=1,this.data=r}}function Oa(){if(this.root=null,this.numberOfNodes=null,this.tolerance=null,0===arguments.length)Oa.call(this,0);else if(1===arguments.length){var t=arguments[0];this.tolerance=t}}function Aa(){this.tolerance=null,this.matchNode=null,this.matchDist=0,this.p=null;var t=arguments[0],e=arguments[1];this.p=t,this.tolerance=e}function Ma(){this.initialVertices=null,this.segVertices=null,this.segments=new w,this.subdiv=null,this.incDel=null,this.convexHull=null,this.splitFinder=new pa,this.kdt=null,this.vertexFactory=null,this.computeAreaEnv=null,this.splitPt=null,this.tolerance=null;var t=arguments[0],e=arguments[1];this.initialVertices=new w(t),this.tolerance=e,this.kdt=new Oa(e)}function za(){this.siteCoords=null,this.tolerance=0,this.subdiv=null}function Na(){this.siteCoords=null,this.constraintLines=null,this.tolerance=0,this.subdiv=null,this.constraintVertexMap=new rt}function Da(){this.siteCoords=null,this.tolerance=0,this.subdiv=null,this.clipEnv=null,this.diagramEnv=null}function Ra(){}"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(null==this)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,i=1 in arguments&&parseInt(Number(arguments[1]),10)||0;i=i<0?Math.max(n+i,0):Math.min(i,n);var r=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:n;for(r=r<0?Math.max(n+arguments[2],0):Math.min(r,n);ie.x?1:this.ye.y?1:0},clone:function(){try{var t=null;return null}catch(t){if(t instanceof CloneNotSupportedException)return d.shouldNeverReachHere("this shouldn't happen because this class is Cloneable"),null;throw t}},copy:function(){return new p(this)},toString:function(){return"("+this.x+", "+this.y+", "+this.z+")"},distance3D:function(t){var e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return Math.sqrt(e*e+n*n+i*i)},distance:function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},hashCode:function(){var t=17;return 37*(t=37*t+p.hashCode(this.x))+p.hashCode(this.y)},setCoordinate:function(t){this.x=t.x,this.y=t.y,this.z=t.z},interfaces_:function(){return[a,o,l]},getClass:function(){return p}}),p.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=r.doubleToLongBits(t);return Math.trunc(e^e>>>32)}},e(f.prototype,{compare:function(t,e){var n=t,i=e,r=f.compare(n.x,i.x);if(0!==r)return r;var a=f.compare(n.y,i.y);return 0!==a?a:this.dimensionsToTest<=2?0:f.compare(n.z,i.z)},interfaces_:function(){return[s]},getClass:function(){return f}}),f.compare=function(t,e){return te?1:r.isNaN(t)?r.isNaN(e)?0:-1:r.isNaN(e)?1:0},p.DimensionalComparator=f,p.serialVersionUID=0x5cbf2c235c7e5800,p.NULL_ORDINATE=r.NaN,p.X=0,p.Y=1,p.Z=2,m.prototype.hasNext=function(){},m.prototype.next=function(){},m.prototype.remove=function(){},g.prototype.add=function(){},g.prototype.addAll=function(){},g.prototype.isEmpty=function(){},g.prototype.iterator=function(){},g.prototype.size=function(){},g.prototype.toArray=function(){},g.prototype.remove=function(){},v.prototype=new Error,v.prototype.name="IndexOutOfBoundsException",y.prototype=Object.create(g.prototype),y.prototype.constructor=y,y.prototype.get=function(){},y.prototype.set=function(){},y.prototype.isEmpty=function(){},_.prototype=new Error,_.prototype.name="NoSuchElementException",b.prototype=new Error,b.prototype.name="OperationNotSupported",w.prototype=Object.create(y.prototype),w.prototype.constructor=w,w.prototype.ensureCapacity=function(){},w.prototype.interfaces_=function(){return[y,g]},w.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},w.prototype.clear=function(){this.array_=[]},w.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},w.prototype.set=function(t,e){var n=this.array_[t];return this.array_[t]=e,n},w.prototype.iterator=function(){return new ja(this)},w.prototype.get=function(t){if(t<0||t>=this.size())throw new v;return this.array_[t]},w.prototype.isEmpty=function(){return 0===this.array_.length},w.prototype.size=function(){return this.array_.length},w.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e=1){var a=this.get(this.size()-1);if(a.equals2D(i))return null}w.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var o=arguments[0],s=arguments[1];return this.add(o,s),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var l=arguments[0],u=arguments[1],c=arguments[2];if(c)for(var h=0;h=0;h--)this.add(l[h],u);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof p){var d=arguments[0],f=arguments[1],m=arguments[2];if(!m){var g=this.size();if(g>0){if(d>0){var v=this.get(d-1);if(v.equals2D(f))return null}if(dk&&(C=-1),h=x;h!==k;h+=C)this.add(_[h],b);return!0}},closeRing:function(){this.size()>0&&this.add(new p(this.get(0)),!1)},interfaces_:function(){return[]},getClass:function(){return x}}),x.coordArrayType=new Array(0).fill(null),e(k.prototype,{getArea:function(){return this.getWidth()*this.getHeight()},equals:function(t){if(!(t instanceof k))return!1;var e=t;return this.isNull()?e.isNull():this.maxx===e.getMaxX()&&this.maxy===e.getMaxY()&&this.minx===e.getMinX()&&this.miny===e.getMinY()},intersection:function(t){if(this.isNull()||t.isNull()||!this.intersects(t))return new k;var e=this.minx>t.minx?this.minx:t.minx,n=this.miny>t.miny?this.miny:t.miny;return new k(e,this.maxx=this.minx&&e.getMaxX()<=this.maxx&&e.getMinY()>=this.miny&&e.getMaxY()<=this.maxy}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return!this.isNull()&&n>=this.minx&&n<=this.maxx&&i>=this.miny&&i<=this.maxy}},intersects:function(){if(1===arguments.length){if(arguments[0]instanceof k){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t.minx>this.maxx||t.maxxthis.maxy||t.maxythis.maxx||nthis.maxy||ithis.maxx&&(this.maxx=e.maxx),e.minythis.maxy&&(this.maxy=e.maxy))}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.isNull()?(this.minx=n,this.maxx=n,this.miny=i,this.maxy=i):(nthis.maxx&&(this.maxx=n),ithis.maxy&&(this.maxy=i))}},minExtent:function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return te.minx?1:this.minye.miny?1:this.maxxe.maxx?1:this.maxye.maxy?1:0},translate:function(t,e){return this.isNull()?null:void this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},toString:function(){return"Env["+this.minx+" : "+this.maxx+", "+this.miny+" : "+this.maxy+"]"},setToNull:function(){this.minx=0,this.maxx=-1,this.miny=0,this.maxy=-1},getHeight:function(){return this.isNull()?0:this.maxy-this.miny},maxExtent:function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},expandBy:function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this.minx-=e,this.maxx+=e,this.miny-=n,this.maxy+=n,(this.minx>this.maxx||this.miny>this.maxy)&&this.setToNull()}},contains:function(){if(1===arguments.length){if(arguments[0]instanceof k){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof p){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return this.covers(n,i)}},centre:function(){return this.isNull()?null:new p((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},init:function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof p){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof k){var e=arguments[0];this.minx=e.minx,this.maxx=e.maxx,this.miny=e.miny,this.maxy=e.maxy}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var r=arguments[0],a=arguments[1],o=arguments[2],s=arguments[3];rt.maxx&&(e=this.minx-t.maxx);var n=0;return this.maxyt.maxy&&(n=this.miny-t.maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)},hashCode:function(){var t=17;return 37*(t=37*(t=37*(t=37*t+p.hashCode(this.minx))+p.hashCode(this.maxx))+p.hashCode(this.miny))+p.hashCode(this.maxy)},interfaces_:function(){return[a,l]},getClass:function(){return k}}),k.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.xe.x?t.x:e.x)&&n.y>=(t.ye.y?t.y:e.y)}if(4===arguments.length){var i=arguments[0],r=arguments[1],a=arguments[2],o=arguments[3],s=Math.min(a.x,o.x),l=Math.max(a.x,o.x),u=Math.min(i.x,r.x),c=Math.max(i.x,r.x);return!(u>l||cl||cn?n:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var i=arguments[0],r=arguments[1],a=arguments[2];return ia?a:i}},P.wrap=function(t,e){return t<0?e- -t%e:t%e},P.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return e>(i=t)&&(i=e),n>i&&(i=n),i}if(4===arguments.length){var i,r=arguments[0],a=arguments[1],o=arguments[2],s=arguments[3];return a>(i=r)&&(i=a),o>i&&(i=o),s>i&&(i=s),i}},P.average=function(t,e){return(t+e)/2},P.LOG_10=Math.log(10),L.prototype.append=function(t){this.str+=t},L.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},L.prototype.toString=function(t){return this.str},I.prototype.intValue=function(){return this.value},I.prototype.compareTo=function(t){return this.valuet?1:0},I.isNaN=function(t){return Number.isNaN(t)},O.isWhitespace=function(t){return t<=32&&t>=0||127==t},O.toUpperCase=function(t){return t.toUpperCase()},e(A.prototype,{le:function(t){return this.hi9?(c=!0,h="9"):h="0"+u,o.append(h),n=n.subtract(A.valueOf(u)).multiply(A.TEN),c&&n.selfAdd(A.TEN);var d=!0,p=A.magnitude(n.hi);if(p<0&&Math.abs(p)>=s-l&&(d=!1),!d)break}return e[0]=i,o.toString()},sqr:function(){return this.multiply(this)},doubleValue:function(){return this.hi+this.lo},subtract:function(){if(arguments[0]instanceof A){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},equals:function(){if(1===arguments.length){var t=arguments[0];return this.hi===t.hi&&this.lo===t.lo}},isZero:function(){return 0===this.hi&&0===this.lo},selfSubtract:function(){if(arguments[0]instanceof A){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t.hi,-t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},getSpecialNumberString:function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},min:function(t){return this.le(t)?this:t},selfDivide:function(){if(1===arguments.length){if(arguments[0]instanceof A){var t=arguments[0];return this.selfDivide(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=null,a=null,o=null,s=null,l=null,u=null,c=null,h=null;return l=this.hi/n,h=(r=(u=A.SPLIT*l)-(r=u-l))*(o=(h=A.SPLIT*n)-(o=h-n))-(c=l*n)+r*(s=n-o)+(a=l-r)*o+a*s,h=l+(u=(this.hi-c-h+this.lo-l*i)/n),this.hi=h,this.lo=l-h+u,this}},dump:function(){return"DD<"+this.hi+", "+this.lo+">"},divide:function(){if(arguments[0]instanceof A){var t=arguments[0],e=null,n=null,i=null,a=null,o=null,s=null,l=null,u=null;n=(o=this.hi/t.hi)-(e=(s=A.SPLIT*o)-(e=s-o)),u=e*(i=(u=A.SPLIT*t.hi)-(i=u-t.hi))-(l=o*t.hi)+e*(a=t.hi-i)+n*i+n*a;var c=u=o+(s=(this.hi-l-u+this.lo-o*t.lo)/t.hi),h=o-u+s;return new A(c,h)}if("number"==typeof arguments[0]){var d=arguments[0];return r.isNaN(d)?A.createNaN():A.copy(this).selfDivide(d,0)}},ge:function(t){return this.hi>t.hi||this.hi===t.hi&&this.lo>=t.lo},pow:function(t){if(0===t)return A.valueOf(1);var e=new A(this),n=A.valueOf(1),i=Math.abs(t);if(i>1)for(;i>0;)i%2==1&&n.selfMultiply(e),(i/=2)>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n},ceil:function(){if(this.isNaN())return A.NaN;var t=Math.ceil(this.hi),e=0;return t===this.hi&&(e=Math.ceil(this.lo)),new A(t,e)},compareTo:function(t){var e=t;return this.hie.hi?1:this.loe.lo?1:0},rint:function(){return this.isNaN()?this:this.add(.5).floor()},setValue:function(){if(arguments[0]instanceof A){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},max:function(t){return this.ge(t)?this:t},sqrt:function(){if(this.isZero())return A.valueOf(0);if(this.isNegative())return A.NaN;var t=1/Math.sqrt(this.hi),e=this.hi*t,n=A.valueOf(e),i=this.subtract(n.sqr()).hi*(.5*t);return n.add(i)},selfAdd:function(){if(1===arguments.length){if(arguments[0]instanceof A){var t=arguments[0];return this.selfAdd(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0],n=null,i=null,r=null,a=null,o=null,s=null;return a=(r=this.hi+e)-(o=r-this.hi),i=(s=(a=e-o+(this.hi-a))+this.lo)+(r-(n=r+s)),this.hi=n+i,this.lo=i+(n-this.hi),this}}else if(2===arguments.length){var l=arguments[0],u=arguments[1],c=(n=null,i=null,null),h=null;r=null,a=null,o=null,s=null,r=this.hi+l,c=this.lo+u,a=r-(o=r-this.hi),h=c-(s=c-this.lo);var d=(n=r+(o=(a=l-o+(this.hi-a))+c))+(o=(h=u-s+(this.lo-h))+(i=o+(r-n))),p=o+(n-d);return this.hi=d,this.lo=p,this}},selfMultiply:function(){if(1===arguments.length){if(arguments[0]instanceof A){var t=arguments[0];return this.selfMultiply(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=null,a=null,o=null,s=null,l=null,u=null;r=(l=A.SPLIT*this.hi)-this.hi,u=A.SPLIT*n,r=l-r,a=this.hi-r,o=u-n;var c=(l=this.hi*n)+(u=r*(o=u-o)-l+r*(s=n-o)+a*o+a*s+(this.hi*i+this.lo*n)),h=u+(r=l-c);return this.hi=c,this.lo=h,this}},selfSqr:function(){return this.selfMultiply(this)},floor:function(){if(this.isNaN())return A.NaN;var t=Math.floor(this.hi),e=0;return t===this.hi&&(e=Math.floor(this.lo)),new A(t,e)},negate:function(){return this.isNaN()?this:new A(-this.hi,-this.lo)},clone:function(){try{return null}catch(t){if(t instanceof CloneNotSupportedException)return null;throw t}},multiply:function(){if(arguments[0]instanceof A){var t=arguments[0];return t.isNaN()?A.createNaN():A.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return r.isNaN(e)?A.createNaN():A.copy(this).selfMultiply(e,0)}},isNaN:function(){return r.isNaN(this.hi)},intValue:function(){return Math.trunc(this.hi)},toString:function(){var t=A.magnitude(this.hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},toStandardNotation:function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),i=e[0]+1,r=n;if("."===n.charAt(0))r="0"+n;else if(i<0)r="0."+A.stringOfChar("0",-i)+n;else if(-1===n.indexOf(".")){var a=i-n.length;r=n+A.stringOfChar("0",a)+".0"}return this.isNegative()?"-"+r:r},reciprocal:function(){var t,e,n,i,r=null,a=null,o=null,s=null;t=(n=1/this.hi)-(r=(o=A.SPLIT*n)-(r=o-n)),a=(s=A.SPLIT*this.hi)-this.hi;var l=n+(o=(1-(i=n*this.hi)-(s=r*(a=s-a)-i+r*(e=this.hi-a)+t*a+t*e)-n*this.lo)/this.hi);return new A(l,n-l+o)},toSciNotation:function(){if(this.isZero())return A.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),i=A.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new IllegalStateException("Found leading zero: "+n);var r="";n.length>1&&(r=n.substring(1));var a=n.charAt(0)+"."+r;return this.isNegative()?"-"+a+i:a+i},abs:function(){return this.isNaN()?A.NaN:this.isNegative()?this.negate():new A(this)},isPositive:function(){return this.hi>0||0===this.hi&&this.lo>0},lt:function(t){return this.hit.hi||this.hi===t.hi&&this.lo>t.lo},isNegative:function(){return this.hi<0||0===this.hi&&this.lo<0},trunc:function(){return this.isNaN()?A.NaN:this.isPositive()?this.floor():this.ceil()},signum:function(){return this.hi>0?1:this.hi<0?-1:this.lo>0?1:this.lo<0?-1:0},interfaces_:function(){return[l,a,o]},getClass:function(){return A}}),A.sqr=function(t){return A.valueOf(t).selfMultiply(t)},A.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return A.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new A(e)}},A.sqrt=function(t){return A.valueOf(t).sqrt()},A.parse=function(t){for(var e=0,n=t.length;O.isWhitespace(t.charAt(e));)e++;var i=!1;if(e=n);){var u=t.charAt(e);if(e++,O.isDigit(u)){var c=u-"0";a.selfMultiply(A.TEN),a.selfAdd(c),o++}else{if("."!==u){if("e"===u||"E"===u){var h=t.substring(e);try{l=I.parseInt(h)}catch(e){throw e instanceof NumberFormatException?new NumberFormatException("Invalid exponent "+h+" in string "+t):e}break}throw new NumberFormatException("Unexpected character '"+u+"' at position "+e+" in string "+t)}s=o}}var d=a,p=o-s-l;if(0===p)d=a;else if(p>0){var f=A.TEN.pow(p);d=a.divide(f)}else p<0&&(f=A.TEN.pow(-p),d=a.multiply(f));return i?d.negate():d},A.createNaN=function(){return new A(r.NaN,r.NaN)},A.copy=function(t){return new A(t)},A.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),i=Math.trunc(Math.floor(n));return 10*Math.pow(10,i)<=e&&(i+=1),i},A.stringOfChar=function(t,e){for(var n=new L,i=0;i0){if(a<=0)return M.signum(o);i=r+a}else{if(!(r<0))return M.signum(o);if(a>=0)return M.signum(o);i=-r-a}var s=M.DP_SAFE_EPSILON*i;return o>=s||-o>=s?M.signum(o):2},M.signum=function(t){return t>0?1:t<0?-1:0},M.DP_SAFE_EPSILON=1e-15,e(z.prototype,{setOrdinate:function(t,e,n){},size:function(){},getOrdinate:function(t,e){},getCoordinate:function(){},getCoordinateCopy:function(t){},getDimension:function(){},getX:function(t){},clone:function(){},expandEnvelope:function(t){},copy:function(){},getY:function(t){},toCoordinateArray:function(){},interfaces_:function(){return[o]},getClass:function(){return z}}),z.X=0,z.Y=1,z.Z=2,z.M=3,N.arraycopy=function(t,e,n,i,r){for(var a=0,o=e;o0},interfaces_:function(){return[U]},getClass:function(){return $}}),e(G.prototype,{isInBoundary:function(t){return t>1},interfaces_:function(){return[U]},getClass:function(){return G}}),e(V.prototype,{isInBoundary:function(t){return 1===t},interfaces_:function(){return[U]},getClass:function(){return V}}),U.Mod2BoundaryNodeRule=q,U.EndPointBoundaryNodeRule=$,U.MultiValentEndPointBoundaryNodeRule=G,U.MonoValentEndPointBoundaryNodeRule=V,U.MOD2_BOUNDARY_RULE=new q,U.ENDPOINT_BOUNDARY_RULE=new $,U.MULTIVALENT_ENDPOINT_BOUNDARY_RULE=new G,U.MONOVALENT_ENDPOINT_BOUNDARY_RULE=new V,U.OGC_SFS_BOUNDARY_RULE=U.MOD2_BOUNDARY_RULE,e(H.prototype,{interfaces_:function(){return[]},getClass:function(){return H}}),H.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))},H.ptNotInList=function(t,e){for(var n=0;n=t?e:[]},H.indexOf=function(t,e){for(var n=0;n0)&&(e=t[n]);return e},H.extract=function(t,e,n){e=P.clamp(e,0,t.length);var i=(n=P.clamp(n,-1,t.length))-e+1;n<0&&(i=0),e>=t.length&&(i=0),ni.length)return 1;if(0===n.length)return 0;var r=H.compare(n,i);return H.isEqualReversed(n,i)?0:r},OLDcompare:function(t,e){var n=t,i=e;if(n.lengthi.length)return 1;if(0===n.length)return 0;for(var r=H.increasingDirection(n),a=H.increasingDirection(i),o=r>0?0:n.length-1,s=a>0?0:n.length-1,l=0;l0))return e.value;e=e.right}}return null},rt.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:Ba,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n,i,r=this.root_;do{if(n=r,(i=t.compareTo(r.key))<0)r=r.left;else{if(!(i>0)){var a=r.value;return r.value=e,a}r=r.right}}while(null!==r);var o={key:t,left:null,right:null,value:e,parent:n,color:Ba,getValue:function(){return this.value},getKey:function(){return this.key}};return i<0?n.left=o:n.right=o,this.fixAfterInsertion(o),this.size_++,null},rt.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!=this.root_&&1==t.parent.color;){var e;tt(t)==nt(tt(tt(t)))?1==Q(e=it(tt(tt(t))))?(et(tt(t),Ba),et(e,Ba),et(tt(tt(t)),1),t=tt(tt(t))):(t==it(tt(t))&&(t=tt(t),this.rotateLeft(t)),et(tt(t),Ba),et(tt(tt(t)),1),this.rotateRight(tt(tt(t)))):1==Q(e=nt(tt(tt(t))))?(et(tt(t),Ba),et(e,Ba),et(tt(tt(t)),1),t=tt(tt(t))):(t==nt(tt(t))&&(t=tt(t),this.rotateRight(t)),et(tt(t),Ba),et(tt(tt(t)),1),this.rotateLeft(tt(tt(t))))}this.root_.color=Ba},rt.prototype.values=function(){var t=new w,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=rt.successor(e));)t.add(e.value);return t},rt.prototype.entrySet=function(){var t=new K,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=rt.successor(e));)t.add(e);return t},rt.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null==t.parent?this.root_=e:t.parent.left==t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},rt.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null==t.parent?this.root_=e:t.parent.right==t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},rt.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},rt.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}e=t.parent;for(var n=t;null!==e&&n===e.right;)n=e,e=e.parent;return e},rt.prototype.size=function(){return this.size_},e(at.prototype,{interfaces_:function(){return[]},getClass:function(){return at}}),ot.prototype=new J,st.prototype=new ot,st.prototype.contains=function(t){for(var e=0,n=this.array_.length;e=0;){var o=r.substring(0,a);i.add(o),a=(r=r.substring(a+n)).indexOf(e)}r.length>0&&i.add(r);for(var s=new Array(i.size()).fill(null),l=0;l0)for(var a=r;a0&&i.append(" ");for(var a=0;a0&&i.append(","),i.append(wt.toString(t.getOrdinate(r,a)))}return i.append(")"),i.toString()}},xt.ensureValidRing=function(t,e){var n=e.size();return 0===n?e:n<=3?xt.createClosedRing(t,e,4):e.getOrdinate(0,z.X)===e.getOrdinate(n-1,z.X)&&e.getOrdinate(0,z.Y)===e.getOrdinate(n-1,z.Y)?e:xt.createClosedRing(t,e,n+1)},xt.createClosedRing=function(t,e,n){var i=t.create(n,e.getDimension()),r=e.size();xt.copy(e,0,i,0,r);for(var a=r;a0&&xt.reverse(this.points),null}},getCoordinate:function(){return this.isEmpty()?null:this.points.getCoordinate(0)},getBoundaryDimension:function(){return this.isClosed()?ut.FALSE:0},isClosed:function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},getEndPoint:function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},getDimension:function(){return 1},getLength:function(){return Qt.computeLength(this.points)},getNumPoints:function(){return this.points.size()},reverse:function(){var t=this.points.copy();return xt.reverse(t),this.getFactory().createLineString(t)},compareToSameClass:function(){if(1===arguments.length){for(var t=arguments[0],e=t,n=0,i=0;n= 2)");this.points=t},isCoordinate:function(t){for(var e=0;e=1&&this.getCoordinateSequence().size()= 4)")},getGeometryType:function(){return"LinearRing"},copy:function(){return new Lt(this.points.copy(),this.factory)},interfaces_:function(){return[]},getClass:function(){return Lt}}),Lt.MINIMUM_VALID_SIZE=4,Lt.serialVersionUID=-0x3b229e262367a600,c(It,dt),e(It.prototype,{getSortIndex:function(){return F.SORTINDEX_MULTIPOLYGON},equalsExact:function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return!!this.isEquivalentClass(t)&&dt.prototype.equalsExact.call(this,t,e)}return dt.prototype.equalsExact.apply(this,arguments)},getBoundaryDimension:function(){return 1},getDimension:function(){return 2},reverse:function(){for(var t=this.geometries.length,e=new Array(t).fill(null),n=0;n0?e.createPoint(n[0]):e.createPoint():t},interfaces_:function(){return[At]},getClass:function(){return zt}}),e(Nt.prototype,{edit:function(t,e){return t instanceof Lt?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof kt?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof Tt?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},interfaces_:function(){return[At]},getClass:function(){return Nt}}),Ot.NoOpGeometryOperation=Mt,Ot.CoordinateOperation=zt,Ot.CoordinateSequenceOperation=Nt,e(Dt.prototype,{setOrdinate:function(t,e,n){switch(e){case z.X:this.coordinates[t].x=n;break;case z.Y:this.coordinates[t].y=n;break;case z.Z:this.coordinates[t].z=n;break;default:throw new i("invalid ordinateIndex")}},size:function(){return this.coordinates.length},getOrdinate:function(t,e){switch(e){case z.X:return this.coordinates[t].x;case z.Y:return this.coordinates[t].y;case z.Z:return this.coordinates[t].z}return r.NaN},getCoordinate:function(){if(1===arguments.length){var t=arguments[0];return this.coordinates[t]}if(2===arguments.length){var e=arguments[0],n=arguments[1];n.x=this.coordinates[e].x,n.y=this.coordinates[e].y,n.z=this.coordinates[e].z}},getCoordinateCopy:function(t){return new p(this.coordinates[t])},getDimension:function(){return this.dimension},getX:function(t){return this.coordinates[t].x},clone:function(){for(var t=new Array(this.size()).fill(null),e=0;e0){var t=new L(17*this.coordinates.length);t.append("("),t.append(this.coordinates[0]);for(var e=1;e3&&(i=3),i<2?new Dt(n):new Dt(n,i)}},interfaces_:function(){return[R,l]},getClass:function(){return Rt}}),Rt.instance=function(){return Rt.instanceObject},Rt.serialVersionUID=-0x38e49fa6cf6f2e00,Rt.instanceObject=new Rt;var qa,$a=Object.defineProperty,Ga=function(t,e){function n(t){return this&&this.constructor===n?(this._keys=[],this._values=[],this._itp=[],this.objectOnly=e,void(t&&Ft.call(this,t))):new n(t)}return e||$a(t,"size",{get:qt}),t.constructor=n,n.prototype=t,n}({delete:function(t){return this.has(t)&&(this._keys.splice(qa,1),this._values.splice(qa,1),this._itp.forEach((function(t){qa-1},has:function(t){return Bt.call(this,this._keys,t)},get:function(t){return this.has(t)?this._values[qa]:void 0},set:function(t,e){return this.has(t)?this._values[qa]=e:this._values[this._keys.push(t)-1]=e,this},keys:function(){return Ut(this._itp,this._keys)},values:function(){return Ut(this._itp,this._values)},entries:function(){return Ut(this._itp,this._keys,this._values)},forEach:function(t,e){for(var n=this.entries();;){var i=n.next();if(i.done)break;t.call(e,i.value[1],i.value[0],this)}},clear:function(){(this._keys||0).length=this._values.length=0}}),Va="undefined"!=typeof Map&&Map.prototype.values?Map:Ga;$t.prototype=new Z,$t.prototype.get=function(t){return this.map_.get(t)||null},$t.prototype.put=function(t,e){return this.map_.set(t,e),e},$t.prototype.values=function(){for(var t=new w,e=this.map_.values(),n=e.next();!n.done;)t.add(n.value),n=e.next();return t},$t.prototype.entrySet=function(){var t=new K;return this.map_.entries().forEach((function(e){return t.add(e)})),t},$t.prototype.size=function(){return this.map_.size()},e(Gt.prototype,{equals:function(t){if(!(t instanceof Gt))return!1;var e=t;return this.modelType===e.modelType&&this.scale===e.scale},compareTo:function(t){var e=t,n=this.getMaximumSignificantDigits(),i=e.getMaximumSignificantDigits();return new I(n).compareTo(new I(i))},getScale:function(){return this.scale},isFloating:function(){return this.modelType===Gt.FLOATING||this.modelType===Gt.FLOATING_SINGLE},getType:function(){return this.modelType},toString:function(){var t="UNKNOWN";return this.modelType===Gt.FLOATING?t="Floating":this.modelType===Gt.FLOATING_SINGLE?t="Floating-Single":this.modelType===Gt.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},makePrecise:function(){if("number"==typeof arguments[0]){var t=arguments[0];return r.isNaN(t)||this.modelType===Gt.FLOATING_SINGLE?t:this.modelType===Gt.FIXED?Math.round(t*this.scale)/this.scale:t}if(arguments[0]instanceof p){var e=arguments[0];if(this.modelType===Gt.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},getMaximumSignificantDigits:function(){var t=16;return this.modelType===Gt.FLOATING?t=16:this.modelType===Gt.FLOATING_SINGLE?t=6:this.modelType===Gt.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},setScale:function(t){this.scale=Math.abs(t)},interfaces_:function(){return[l,a]},getClass:function(){return Gt}}),Gt.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},e(Vt.prototype,{readResolve:function(){return Vt.nameToTypeMap.get(this.name)},toString:function(){return this.name},interfaces_:function(){return[l]},getClass:function(){return Vt}}),Vt.serialVersionUID=-552860263173159e4,Vt.nameToTypeMap=new $t,Gt.Type=Vt,Gt.serialVersionUID=0x6bee6404e9a25c00,Gt.FIXED=new Vt("FIXED"),Gt.FLOATING=new Vt("FLOATING"),Gt.FLOATING_SINGLE=new Vt("FLOATING SINGLE"),Gt.maximumPreciseValue=9007199254740992,e(Ht.prototype,{toGeometry:function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new p(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new p(t.getMinX(),t.getMinY()),new p(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new p(t.getMinX(),t.getMinY()),new p(t.getMinX(),t.getMaxY()),new p(t.getMaxX(),t.getMaxY()),new p(t.getMaxX(),t.getMinY()),new p(t.getMinX(),t.getMinY())]),null)},createLineString:function(){if(0===arguments.length)return this.createLineString(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLineString(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(S(arguments[0],z)){var e=arguments[0];return new kt(e,this)}}},createMultiLineString:function(){if(0===arguments.length)return new pt(null,this);if(1===arguments.length){var t=arguments[0];return new pt(t,this)}},buildGeometry:function(t){for(var e=null,n=!1,i=!1,r=t.iterator();r.hasNext();){var a=r.next(),o=a.getClass();null===e&&(e=o),o!==e&&(n=!0),a.isGeometryCollectionOrDerived()&&(i=!0)}if(null===e)return this.createGeometryCollection();if(n||i)return this.createGeometryCollection(Ht.toGeometryArray(t));var s=t.iterator().next();if(t.size()>1){if(s instanceof St)return this.createMultiPolygon(Ht.toPolygonArray(t));if(s instanceof kt)return this.createMultiLineString(Ht.toLineStringArray(t));if(s instanceof Tt)return this.createMultiPoint(Ht.toPointArray(t));d.shouldNeverReachHere("Unhandled class: "+s.getClass().getName())}return s},createMultiPointFromCoords:function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},createPoint:function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof p){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(S(arguments[0],z)){var e=arguments[0];return new Tt(e,this)}}},getCoordinateSequenceFactory:function(){return this.coordinateSequenceFactory},createPolygon:function(){if(0===arguments.length)return new St(null,null,this);if(1===arguments.length){if(S(arguments[0],z)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof Lt){var n=arguments[0];return this.createPolygon(n,null)}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];return new St(i,r,this)}},getSRID:function(){return this.SRID},createGeometryCollection:function(){if(0===arguments.length)return new dt(null,this);if(1===arguments.length){var t=arguments[0];return new dt(t,this)}},createGeometry:function(t){return new Ot(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this.coordinateSequenceFactory.create(t)}}})},getPrecisionModel:function(){return this.precisionModel},createLinearRing:function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(S(arguments[0],z)){var e=arguments[0];return new Lt(e,this)}}},createMultiPolygon:function(){if(0===arguments.length)return new It(null,this);if(1===arguments.length){var t=arguments[0];return new It(t,this)}},createMultiPoint:function(){if(0===arguments.length)return new Pt(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Pt(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(S(arguments[0],z)){var n=arguments[0];if(null===n)return this.createMultiPoint(new Array(0).fill(null));for(var i=new Array(n.size()).fill(null),r=0;rn?(this.intLineIndex[t][0]=0,this.intLineIndex[t][1]=1):(this.intLineIndex[t][0]=1,this.intLineIndex[t][1]=0)}},isProper:function(){return this.hasIntersection()&&this._isProper},setPrecisionModel:function(t){this.precisionModel=t},isInteriorIntersection:function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;er?i:r;else{var o=Math.abs(t.x-e.x),s=Math.abs(t.y-e.y);0!==(a=i>r?o:s)||t.equals(e)||(a=Math.max(o,s))}return d.isTrue(!(0===a&&!t.equals(e)),"Bad distance calculation"),a},Zt.nonRobustComputeEdgeDistance=function(t,e,n){var i=t.x-e.x,r=t.y-e.y,a=Math.sqrt(i*i+r*r);return d.isTrue(!(0===a&&!t.equals(e)),"Invalid distance calculation"),a},Zt.DONT_INTERSECT=0,Zt.DO_INTERSECT=1,Zt.COLLINEAR=2,Zt.NO_INTERSECTION=0,Zt.POINT_INTERSECTION=1,Zt.COLLINEAR_INTERSECTION=2,c(Xt,Zt),e(Xt.prototype,{isInSegmentEnvelopes:function(t){var e=new k(this.inputLines[0][0],this.inputLines[0][1]),n=new k(this.inputLines[1][0],this.inputLines[1][1]);return e.contains(t)&&n.contains(t)},computeIntersection:function(){if(3!==arguments.length)return Zt.prototype.computeIntersection.apply(this,arguments);var t=arguments[0],e=arguments[1],n=arguments[2];return this._isProper=!1,k.intersects(e,n,t)&&0===Qt.orientationIndex(e,n,t)&&0===Qt.orientationIndex(n,e,t)?(this._isProper=!0,(t.equals(e)||t.equals(n))&&(this._isProper=!1),this.result=Zt.POINT_INTERSECTION,null):void(this.result=Zt.NO_INTERSECTION)},normalizeToMinimum:function(t,e,n,i,r){r.x=this.smallestInAbsValue(t.x,e.x,n.x,i.x),r.y=this.smallestInAbsValue(t.y,e.y,n.y,i.y),t.x-=r.x,t.y-=r.y,e.x-=r.x,e.y-=r.y,n.x-=r.x,n.y-=r.y,i.x-=r.x,i.y-=r.y},safeHCoordinateIntersection:function(t,e,n,i){var r=null;try{r=D.intersection(t,e,n,i)}catch(a){if(!(a instanceof T))throw a;r=Xt.nearestEndpoint(t,e,n,i)}return r},intersection:function(t,e,n,i){var r=this.intersectionWithNormalization(t,e,n,i);return this.isInSegmentEnvelopes(r)||(r=new p(Xt.nearestEndpoint(t,e,n,i))),null!==this.precisionModel&&this.precisionModel.makePrecise(r),r},smallestInAbsValue:function(t,e,n,i){var r=t,a=Math.abs(r);return Math.abs(e)1e-4&&N.out.println("Distance = "+r.distance(a))},intersectionWithNormalization:function(t,e,n,i){var r=new p(t),a=new p(e),o=new p(n),s=new p(i),l=new p;this.normalizeToEnvCentre(r,a,o,s,l);var u=this.safeHCoordinateIntersection(r,a,o,s);return u.x+=l.x,u.y+=l.y,u},computeCollinearIntersection:function(t,e,n,i){var r=k.intersects(t,e,n),a=k.intersects(t,e,i),o=k.intersects(n,i,t),s=k.intersects(n,i,e);return r&&a?(this.intPt[0]=n,this.intPt[1]=i,Zt.COLLINEAR_INTERSECTION):o&&s?(this.intPt[0]=t,this.intPt[1]=e,Zt.COLLINEAR_INTERSECTION):r&&o?(this.intPt[0]=n,this.intPt[1]=t,!n.equals(t)||a||s?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):r&&s?(this.intPt[0]=n,this.intPt[1]=e,!n.equals(e)||a||o?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):a&&o?(this.intPt[0]=i,this.intPt[1]=t,!i.equals(t)||r||s?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):a&&s?(this.intPt[0]=i,this.intPt[1]=e,!i.equals(e)||r||o?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):Zt.NO_INTERSECTION},normalizeToEnvCentre:function(t,e,n,i,r){var a=t.xe.x?t.x:e.x,l=t.y>e.y?t.y:e.y,u=n.xi.x?n.x:i.x,d=n.y>i.y?n.y:i.y,p=((a>u?a:u)+(sc?o:c)+(l0&&a>0||r<0&&a<0)return Zt.NO_INTERSECTION;var o=Qt.orientationIndex(n,i,t),s=Qt.orientationIndex(n,i,e);return o>0&&s>0||o<0&&s<0?Zt.NO_INTERSECTION:0===r&&0===a&&0===o&&0===s?this.computeCollinearIntersection(t,e,n,i):(0===r||0===a||0===o||0===s?(this._isProper=!1,t.equals2D(n)||t.equals2D(i)?this.intPt[0]=t:e.equals2D(n)||e.equals2D(i)?this.intPt[0]=e:0===r?this.intPt[0]=new p(n):0===a?this.intPt[0]=new p(i):0===o?this.intPt[0]=new p(t):0===s&&(this.intPt[0]=new p(e))):(this._isProper=!0,this.intPt[0]=this.intersection(t,e,n,i)),Zt.POINT_INTERSECTION)},interfaces_:function(){return[]},getClass:function(){return Xt}}),Xt.nearestEndpoint=function(t,e,n,i){var r=t,a=Qt.distancePointLine(t,n,i),o=Qt.distancePointLine(e,n,i);return o0?n>0?-r:r:n>0?r:-r;if(0===e||0===n)return i>0?t>0?r:-r:t>0?-r:r;if(0=i?(t=-t,e=-e,n=-n,i=-i):(r=-r,a=-t,t=-n,n=a,a=-e,e=-i,i=a),0=n))return-r;r=-r,t=-t,n=-n}for(;;){if((i-=(o=Math.floor(n/t))*e)<0)return-r;if(i>e)return r;if(t>(n-=o*t)+n){if(ei+i)return-r;n=t-n,i=e-i,r=-r}if(0===i)return 0===n?0:-r;if(0===n)return r;if((e-=(o=Math.floor(t/n))*i)<0)return r;if(e>i)return-r;if(n>(t-=o*n)+t){if(ie+e)return r;t=n-t,e=i-e,r=-r}if(0===e)return 0===t?0:r;if(0===t)return-r}},e(Kt.prototype,{countSegment:function(t,e){if(t.xi&&(n=e.x,i=t.x),this.p.x>=n&&this.p.x<=i&&(this.isPointOnSegment=!0),null}if(t.y>this.p.y&&e.y<=this.p.y||e.y>this.p.y&&t.y<=this.p.y){var r=t.x-this.p.x,a=t.y-this.p.y,o=e.x-this.p.x,s=e.y-this.p.y,l=Jt.signOfDet2x2(r,a,o,s);if(0===l)return this.isPointOnSegment=!0,null;s0&&this.crossingCount++}},isPointInPolygon:function(){return this.getLocation()!==E.EXTERIOR},getLocation:function(){return this.isPointOnSegment?E.BOUNDARY:this.crossingCount%2==1?E.INTERIOR:E.EXTERIOR},isOnSegment:function(){return this.isPointOnSegment},interfaces_:function(){return[]},getClass:function(){return Kt}}),Kt.locatePointInRing=function(){if(arguments[0]instanceof p&&S(arguments[1],z)){for(var t=arguments[0],e=arguments[1],n=new Kt(t),i=new p,r=new p,a=1;a1||s<0||s>1)&&(r=!0)}}else r=!0;return r?P.min(Qt.distancePointLine(t,n,i),Qt.distancePointLine(e,n,i),Qt.distancePointLine(n,t,e),Qt.distancePointLine(i,t,e)):0},Qt.isPointInRing=function(t,e){return Qt.locatePointInRing(t,e)!==E.EXTERIOR},Qt.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,i=new p;t.getCoordinate(0,i);for(var r=i.x,a=i.y,o=1;on.y&&(n=o,r=a)}var s=r;do{(s-=1)<0&&(s=e)}while(t[s].equals2D(n)&&s!==r);var l=r;do{l=(l+1)%e}while(t[l].equals2D(n)&&l!==r);var u=t[s],c=t[l];if(u.equals2D(n)||c.equals2D(n)||u.equals2D(c))return!1;var h=Qt.computeOrientation(u,n,c);return 0===h?u.x>c.x:h>0},Qt.locatePointInRing=function(t,e){return Kt.locatePointInRing(t,e)},Qt.distancePointLinePerpendicular=function(t,e,n){var i=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y),r=((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/i;return Math.abs(r)*Math.sqrt(i)},Qt.computeOrientation=function(t,e,n){return Qt.orientationIndex(t,e,n)},Qt.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new i("Line array must contain at least one vertex");for(var n=t.distance(e[0]),r=0;r=1)return o.distance(l);var h=((s.y-o.y)*(l.x-s.x)-(s.x-o.x)*(l.y-s.y))/u;return Math.abs(h)*Math.sqrt(u)}},Qt.isOnLine=function(t,e){for(var n=new Xt,i=1;i=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}if(arguments[0]instanceof p){var i=arguments[0];return Qt.orientationIndex(this.p0,this.p1,i)}},toGeometry:function(t){return t.createLineString([this.p0,this.p1])},isVertical:function(){return this.p0.x===this.p1.x},equals:function(t){if(!(t instanceof te))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},intersection:function(t){var e=new Xt;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},project:function(){if(arguments[0]instanceof p){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new p(t);var e=this.projectionFactor(t),n=new p;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}if(arguments[0]instanceof te){var i=arguments[0],r=this.projectionFactor(i.p0),a=this.projectionFactor(i.p1);if(r>=1&&a>=1)return null;if(r<=0&&a<=0)return null;var o=this.project(i.p0);r<0&&(o=this.p0),r>1&&(o=this.p1);var s=this.project(i.p1);return a<0&&(s=this.p0),a>1&&(s=this.p1),new te(o,s)}},normalize:function(){this.p1.compareTo(this.p0)<0&&this.reverse()},angle:function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},getCoordinate:function(t){return 0===t?this.p0:this.p1},distancePerpendicular:function(t){return Qt.distancePointLinePerpendicular(t,this.p0,this.p1)},minY:function(){return Math.min(this.p0.y,this.p1.y)},midPoint:function(){return te.midPoint(this.p0,this.p1)},projectionFactor:function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,i=e*e+n*n;return i<=0?r.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/i},closestPoints:function(t){var e=this.intersection(t);if(null!==e)return[e,e];var n=new Array(2).fill(null),i=r.MAX_VALUE,a=null,o=this.closestPoint(t.p0);i=o.distance(t.p0),n[0]=o,n[1]=t.p0;var s=this.closestPoint(t.p1);(a=s.distance(t.p1))0&&e<1?this.project(t):this.p0.distance(t)1||r.isNaN(e))&&(e=1),e},toString:function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},isHorizontal:function(){return this.p0.y===this.p1.y},distance:function(){if(arguments[0]instanceof te){var t=arguments[0];return Qt.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof p){var e=arguments[0];return Qt.distancePointLine(e,this.p0,this.p1)}},pointAlong:function(t){var e=new p;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},hashCode:function(){var t=java.lang.Double.doubleToLongBits(this.p0.x);t^=31*java.lang.Double.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),n=java.lang.Double.doubleToLongBits(this.p1.x);return n^=31*java.lang.Double.doubleToLongBits(this.p1.y),e^Math.trunc(n)^Math.trunc(n>>32)},interfaces_:function(){return[a,l]},getClass:function(){return te}}),te.midPoint=function(t,e){return new p((t.x+e.x)/2,(t.y+e.y)/2)},te.serialVersionUID=0x2d2172135f411c00,e(ee.prototype,{isIntersects:function(){return!this.isDisjoint()},isCovers:function(){return(ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])||ee.isTrue(this.matrix[E.INTERIOR][E.BOUNDARY])||ee.isTrue(this.matrix[E.BOUNDARY][E.INTERIOR])||ee.isTrue(this.matrix[E.BOUNDARY][E.BOUNDARY]))&&this.matrix[E.EXTERIOR][E.INTERIOR]===ut.FALSE&&this.matrix[E.EXTERIOR][E.BOUNDARY]===ut.FALSE},isCoveredBy:function(){return(ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])||ee.isTrue(this.matrix[E.INTERIOR][E.BOUNDARY])||ee.isTrue(this.matrix[E.BOUNDARY][E.INTERIOR])||ee.isTrue(this.matrix[E.BOUNDARY][E.BOUNDARY]))&&this.matrix[E.INTERIOR][E.EXTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.EXTERIOR]===ut.FALSE},set:function(){if(1===arguments.length)for(var t=arguments[0],e=0;e=0&&e>=0&&this.setAtLeast(t,e,n)},isWithin:function(){return ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&this.matrix[E.INTERIOR][E.EXTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.EXTERIOR]===ut.FALSE},isTouches:function(t,e){return t>e?this.isTouches(e,t):(t===ut.A&&e===ut.A||t===ut.L&&e===ut.L||t===ut.L&&e===ut.A||t===ut.P&&e===ut.A||t===ut.P&&e===ut.L)&&this.matrix[E.INTERIOR][E.INTERIOR]===ut.FALSE&&(ee.isTrue(this.matrix[E.INTERIOR][E.BOUNDARY])||ee.isTrue(this.matrix[E.BOUNDARY][E.INTERIOR])||ee.isTrue(this.matrix[E.BOUNDARY][E.BOUNDARY]))},isOverlaps:function(t,e){return t===ut.P&&e===ut.P||t===ut.A&&e===ut.A?ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&ee.isTrue(this.matrix[E.INTERIOR][E.EXTERIOR])&&ee.isTrue(this.matrix[E.EXTERIOR][E.INTERIOR]):t===ut.L&&e===ut.L&&1===this.matrix[E.INTERIOR][E.INTERIOR]&&ee.isTrue(this.matrix[E.INTERIOR][E.EXTERIOR])&&ee.isTrue(this.matrix[E.EXTERIOR][E.INTERIOR])},isEquals:function(t,e){return t===e&&ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&this.matrix[E.INTERIOR][E.EXTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.EXTERIOR]===ut.FALSE&&this.matrix[E.EXTERIOR][E.INTERIOR]===ut.FALSE&&this.matrix[E.EXTERIOR][E.BOUNDARY]===ut.FALSE},toString:function(){for(var t=new L("123456789"),e=0;e<3;e++)for(var n=0;n<3;n++)t.setCharAt(3*e+n,ut.toDimensionSymbol(this.matrix[e][n]));return t.toString()},setAll:function(t){for(var e=0;e<3;e++)for(var n=0;n<3;n++)this.matrix[e][n]=t},get:function(t,e){return this.matrix[t][e]},transpose:function(){var t=this.matrix[1][0];return this.matrix[1][0]=this.matrix[0][1],this.matrix[0][1]=t,t=this.matrix[2][0],this.matrix[2][0]=this.matrix[0][2],this.matrix[0][2]=t,t=this.matrix[2][1],this.matrix[2][1]=this.matrix[1][2],this.matrix[1][2]=t,this},matches:function(t){if(9!==t.length)throw new i("Should be length 9: "+t);for(var e=0;e<3;e++)for(var n=0;n<3;n++)if(!ee.matches(this.matrix[e][n],t.charAt(3*e+n)))return!1;return!0},add:function(t){for(var e=0;e<3;e++)for(var n=0;n<3;n++)this.setAtLeast(e,n,t.get(e,n))},isDisjoint:function(){return this.matrix[E.INTERIOR][E.INTERIOR]===ut.FALSE&&this.matrix[E.INTERIOR][E.BOUNDARY]===ut.FALSE&&this.matrix[E.BOUNDARY][E.INTERIOR]===ut.FALSE&&this.matrix[E.BOUNDARY][E.BOUNDARY]===ut.FALSE},isCrosses:function(t,e){return t===ut.P&&e===ut.L||t===ut.P&&e===ut.A||t===ut.L&&e===ut.A?ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&ee.isTrue(this.matrix[E.INTERIOR][E.EXTERIOR]):t===ut.L&&e===ut.P||t===ut.A&&e===ut.P||t===ut.A&&e===ut.L?ee.isTrue(this.matrix[E.INTERIOR][E.INTERIOR])&&ee.isTrue(this.matrix[E.EXTERIOR][E.INTERIOR]):t===ut.L&&e===ut.L&&0===this.matrix[E.INTERIOR][E.INTERIOR]},interfaces_:function(){return[o]},getClass:function(){return ee}}),ee.matches=function(){if(Number.isInteger(arguments[0])&&"string"==typeof arguments[1]){var t=arguments[0],e=arguments[1];return e===ut.SYM_DONTCARE||e===ut.SYM_TRUE&&(t>=0||t===ut.TRUE)||e===ut.SYM_FALSE&&t===ut.FALSE||e===ut.SYM_P&&t===ut.P||e===ut.SYM_L&&t===ut.L||e===ut.SYM_A&&t===ut.A}if("string"==typeof arguments[0]&&"string"==typeof arguments[1]){var n=arguments[0],i=arguments[1],r=new ee(n);return r.matches(i)}},ee.isTrue=function(t){return t>=0||t===ut.TRUE};var Za=Object.freeze({Coordinate:p,CoordinateList:x,Envelope:k,LineSegment:te,GeometryFactory:Ht,Geometry:F,Point:Tt,LineString:kt,LinearRing:Lt,Polygon:St,GeometryCollection:dt,MultiPoint:Pt,MultiLineString:pt,MultiPolygon:It,Dimension:ut,IntersectionMatrix:ee,PrecisionModel:Gt});e(ne.prototype,{addPoint:function(t){this.ptCount+=1,this.ptCentSum.x+=t.x,this.ptCentSum.y+=t.y},setBasePoint:function(t){null===this.areaBasePt&&(this.areaBasePt=t)},addLineSegments:function(t){for(var e=0,n=0;n0&&this.addPoint(t[0])},addHole:function(t){for(var e=Qt.isCCW(t),n=0;n0)t.x=this.cg3.x/3/this.areasum2,t.y=this.cg3.y/3/this.areasum2;else if(this.totalLength>0)t.x=this.lineCentSum.x/this.totalLength,t.y=this.lineCentSum.y/this.totalLength;else{if(!(this.ptCount>0))return null;t.x=this.ptCentSum.x/this.ptCount,t.y=this.ptCentSum.y/this.ptCount}return t},addShell:function(t){t.length>0&&this.setBasePoint(t[0]);for(var e=!Qt.isCCW(t),n=0;n=this.size())throw new IndexOutOfBoundsException;return this.array_[t]},re.prototype.push=function(t){return this.array_.push(t),t},re.prototype.pop=function(t){if(0===this.array_.length)throw new ie;return this.array_.pop()},re.prototype.peek=function(){if(0===this.array_.length)throw new ie;return this.array_[this.array_.length-1]},re.prototype.empty=function(){return 0===this.array_.length},re.prototype.isEmpty=function(){return this.empty()},re.prototype.search=function(t){return this.array_.indexOf(t)},re.prototype.size=function(){return this.array_.length},re.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e50&&(t=this.reduce(this.inputPts));var e=this.preSort(t),n=this.grahamScan(e),i=this.toCoordinateArray(n);return this.lineOrPolygon(i)},padArray3:function(t){for(var e=new Array(3).fill(null),n=0;ne[2].y&&(e[2]=t[i]),t[i].x+t[i].y>e[3].x+e[3].y&&(e[3]=t[i]),t[i].x>e[4].x&&(e[4]=t[i]),t[i].x-t[i].y>e[5].x-e[5].y&&(e[5]=t[i]),t[i].y0;)e=n.pop();e=n.push(e),e=n.push(t[i])}return e=n.push(t[0]),n},interfaces_:function(){return[]},getClass:function(){return oe}}),oe.extractCoordinates=function(t){var e=new ae;return t.apply(e),e.getCoordinates()},e(se.prototype,{compare:function(t,e){var n=t,i=e;return se.polarCompare(this.origin,n,i)},interfaces_:function(){return[s]},getClass:function(){return se}}),se.polarCompare=function(t,e,n){var i=e.x-t.x,r=e.y-t.y,a=n.x-t.x,o=n.y-t.y,s=Qt.computeOrientation(t,e,n);if(s===Qt.COUNTERCLOCKWISE)return 1;if(s===Qt.CLOCKWISE)return-1;var l=i*i+r*r,u=a*a+o*o;return lu?1:0},oe.RadialComparator=se,e(le.prototype,{transformPoint:function(t,e){return this.factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},transformPolygon:function(t,e){var n=!0,i=this.transformLinearRing(t.getExteriorRing(),t);null!==i&&i instanceof Lt&&!i.isEmpty()||(n=!1);for(var r=new w,a=0;a0&&i<4&&!this.preserveType?this.factory.createLineString(n):this.factory.createLinearRing(n)},interfaces_:function(){return[]},getClass:function(){return le}}),e(ue.prototype,{snapVertices:function(t,e){for(var n=this._isClosed?t.size()-1:t.size(),i=0;i=0&&t.add(a+1,new p(r),!1)}},findSegmentIndexToSnap:function(t,e){for(var n=r.MAX_VALUE,i=-1,a=0;ae&&(e=i)}return e}if(2===arguments.length){var r=arguments[0],a=arguments[1];return Math.min(ce.computeOverlaySnapTolerance(r),ce.computeOverlaySnapTolerance(a))}},ce.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*ce.SNAP_PRECISION_FACTOR},ce.snapToSelf=function(t,e,n){return new ce(t).snapToSelf(e,n)},ce.SNAP_PRECISION_FACTOR=1e-9,c(he,le),e(he.prototype,{snapLine:function(t,e){var n=new ue(t,this.snapTolerance);return n.setAllowSnappingToSourceVertices(this.isSelfSnap),n.snapTo(e)},transformCoordinates:function(t,e){var n=t.toCoordinateArray(),i=this.snapLine(n,this.snapPts);return this.factory.getCoordinateSequenceFactory().create(i)},interfaces_:function(){return[]},getClass:function(){return he}}),e(de.prototype,{getCommon:function(){return r.longBitsToDouble(this.commonBits)},add:function(t){var e=r.doubleToLongBits(t);return this.isFirst?(this.commonBits=e,this.commonSignExp=de.signExpBits(this.commonBits),this.isFirst=!1,null):de.signExpBits(e)!==this.commonSignExp?(this.commonBits=0,null):(this.commonMantissaBitsCount=de.numCommonMostSigMantissaBits(this.commonBits,e),void(this.commonBits=de.zeroLowerBits(this.commonBits,64-(12+this.commonMantissaBitsCount))))},toString:function(){if(1===arguments.length){var t=arguments[0],e=r.longBitsToDouble(t),n=Long.toBinaryString(t),i="0000000000000000000000000000000000000000000000000000000000000000"+n,a=i.substring(i.length-64),o=a.substring(0,1)+" "+a.substring(1,12)+"(exp) "+a.substring(12)+" [ "+e+" ]";return o}},interfaces_:function(){return[]},getClass:function(){return de}}),de.getBit=function(t,e){return 0!=(t&1<>52},de.zeroLowerBits=function(t,e){return t&~((1<=0;i--){if(de.getBit(t,i)!==de.getBit(e,i))return n;n++}return 52},e(pe.prototype,{addCommonBits:function(t){var e=new me(this.commonCoord);t.apply(e),t.geometryChanged()},removeCommonBits:function(t){if(0===this.commonCoord.x&&0===this.commonCoord.y)return t;var e=new p(this.commonCoord);e.x=-e.x,e.y=-e.y;var n=new me(e);return t.apply(n),t.geometryChanged(),t},getCommonCoordinate:function(){return this.commonCoord},add:function(t){t.apply(this.ccFilter),this.commonCoord=this.ccFilter.getCommonCoordinate()},interfaces_:function(){return[]},getClass:function(){return pe}}),e(fe.prototype,{filter:function(t){this.commonBitsX.add(t.x),this.commonBitsY.add(t.y)},getCommonCoordinate:function(){return new p(this.commonBitsX.getCommon(),this.commonBitsY.getCommon())},interfaces_:function(){return[B]},getClass:function(){return fe}}),e(me.prototype,{filter:function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,i=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,i)},isDone:function(){return!1},isGeometryChanged:function(){return!0},interfaces_:function(){return[ht]},getClass:function(){return me}}),pe.CommonCoordinateFilter=fe,pe.Translater=me,e(ge.prototype,{next:function(){if(this.atStart)return this.atStart=!1,ge.isAtomic(this.parent)&&this.index++,this.parent;if(null!==this.subcollectionIterator){if(this.subcollectionIterator.hasNext())return this.subcollectionIterator.next();this.subcollectionIterator=null}if(this.index>=this.max)throw new _;var t=this.parent.getGeometryN(this.index++);return t instanceof dt?(this.subcollectionIterator=new ge(t),this.subcollectionIterator.next()):t},remove:function(){throw new UnsupportedOperationException(this.getClass().getName())},hasNext:function(){if(this.atStart)return!0;if(null!==this.subcollectionIterator){if(this.subcollectionIterator.hasNext())return!0;this.subcollectionIterator=null}return!(this.index>=this.max)},interfaces_:function(){return[m]},getClass:function(){return ge}}),ge.isAtomic=function(t){return!(t instanceof dt)},e(ve.prototype,{locateInternal:function(){if(arguments[0]instanceof p&&arguments[1]instanceof St){var t=arguments[0],e=arguments[1];if(e.isEmpty())return E.EXTERIOR;var n=e.getExteriorRing(),i=this.locateInPolygonRing(t,n);if(i===E.EXTERIOR)return E.EXTERIOR;if(i===E.BOUNDARY)return E.BOUNDARY;for(var r=0;r0||this.isIn?E.INTERIOR:E.EXTERIOR)},interfaces_:function(){return[]},getClass:function(){return ve}}),e(ye.prototype,{interfaces_:function(){return[]},getClass:function(){return ye}}),ye.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new i("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),r=Math.abs(e);return t>=0?e>=0?n>=r?0:1:n>=r?7:6:e>=0?n>=r?3:2:n>=r?4:5}if(arguments[0]instanceof p&&arguments[1]instanceof p){var a=arguments[0],o=arguments[1],s=o.x-a.x,l=o.y-a.y;if(0===s&&0===l)throw new i("Cannot compute the octant for two identical points "+a);return ye.octant(s,l)}},e(_e.prototype,{getCoordinates:function(){},size:function(){},getCoordinate:function(t){},isClosed:function(){},setData:function(t){},getData:function(){},interfaces_:function(){return[]},getClass:function(){return _e}}),e(be.prototype,{getCoordinates:function(){return this.pts},size:function(){return this.pts.length},getCoordinate:function(t){return this.pts[t]},isClosed:function(){return this.pts[0].equals(this.pts[this.pts.length-1])},getSegmentOctant:function(t){return t===this.pts.length-1?-1:ye.octant(this.getCoordinate(t),this.getCoordinate(t+1))},setData:function(t){this.data=t},getData:function(){return this.data},toString:function(){return Yt.toLineString(new Dt(this.pts))},interfaces_:function(){return[_e]},getClass:function(){return be}}),e(we.prototype,{getBounds:function(){},interfaces_:function(){return[]},getClass:function(){return we}}),e(xe.prototype,{getItem:function(){return this.item},getBounds:function(){return this.bounds},interfaces_:function(){return[we,l]},getClass:function(){return xe}}),e(ke.prototype,{poll:function(){if(this.isEmpty())return null;var t=this.items.get(1);return this.items.set(1,this.items.get(this._size)),this._size-=1,this.reorder(1),t},size:function(){return this._size},reorder:function(t){for(var e=null,n=this.items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this.items.get(e+1).compareTo(this.items.get(e))<0&&e++,this.items.get(e).compareTo(n)<0);t=e)this.items.set(t,this.items.get(e));this.items.set(t,n)},clear:function(){this._size=0,this.items.clear()},isEmpty:function(){return 0===this._size},add:function(t){this.items.add(null),this._size+=1;var e=this._size;for(this.items.set(0,t);t.compareTo(this.items.get(Math.trunc(e/2)))<0;e/=2)this.items.set(e,this.items.get(Math.trunc(e/2)));this.items.set(e,t)},interfaces_:function(){return[]},getClass:function(){return ke}}),e(Ce.prototype,{visitItem:function(t){},interfaces_:function(){return[]},getClass:function(){return Ce}}),e(Te.prototype,{insert:function(t,e){},remove:function(t,e){},query:function(){},interfaces_:function(){return[]},getClass:function(){return Te}}),e(Ee.prototype,{getLevel:function(){return this.level},size:function(){return this.childBoundables.size()},getChildBoundables:function(){return this.childBoundables},addChildBoundable:function(t){d.isTrue(null===this.bounds),this.childBoundables.add(t)},isEmpty:function(){return this.childBoundables.isEmpty()},getBounds:function(){return null===this.bounds&&(this.bounds=this.computeBounds()),this.bounds},interfaces_:function(){return[we,l]},getClass:function(){return Ee}}),Ee.serialVersionUID=0x5a1e55ec41369800;var Xa={reverseOrder:function(){return{compare:function(t,e){return e.compareTo(t)}}},min:function(t){return Xa.sort(t),t.get(0)},sort:function(t,e){var n=t.toArray();e?lt.sort(n,e):lt.sort(n);for(var i=t.iterator(),r=0,a=n.length;rSe.area(this.boundable2)?(this.expand(this.boundable1,this.boundable2,t,e),null):(this.expand(this.boundable2,this.boundable1,t,e),null);if(n)return this.expand(this.boundable1,this.boundable2,t,e),null;if(r)return this.expand(this.boundable2,this.boundable1,t,e),null;throw new i("neither boundable is composite")},isLeaves:function(){return!(Se.isComposite(this.boundable1)||Se.isComposite(this.boundable2))},compareTo:function(t){var e=t;return this._distancee._distance?1:0},expand:function(t,e,n,i){for(var r=t.getChildBoundables().iterator();r.hasNext();){var a=new Se(r.next(),e,this.itemDistance);a.getDistance()-2),i.getLevel()===n)return r.add(i),null;for(var a=i.getChildBoundables().iterator();a.hasNext();){var o=a.next();o instanceof Ee?this.boundablesAtLevel(n,o,r):(d.isTrue(o instanceof xe),-1===n&&r.add(o))}return null}},query:function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new w;return this.isEmpty()||this.getIntersectsOp().intersects(this.root.getBounds(),t)&&this.query(t,this.root,e),e}if(2===arguments.length){var n=arguments[0],i=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this.root.getBounds(),n)&&this.query(n,this.root,i)}else if(3===arguments.length)if(S(arguments[2],Ce)&&arguments[0]instanceof Object&&arguments[1]instanceof Ee)for(var r=arguments[0],a=arguments[1],o=arguments[2],s=a.getChildBoundables(),l=0;le&&(e=r)}}return e+1}},createParentBoundables:function(t,e){d.isTrue(!t.isEmpty());var n=new w;n.add(this.createNode(e));var i=new w(t);Xa.sort(i,this.getComparator());for(var r=i.iterator();r.hasNext();){var a=r.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(a)}return n},isEmpty:function(){return this.built?this.root.isEmpty():this.itemBoundables.isEmpty()},interfaces_:function(){return[l]},getClass:function(){return Pe}}),Pe.compareDoubles=function(t,e){return t>e?1:t0);for(var n=new w,i=0;i0;){var h=c.poll(),d=h.getDistance();if(d>=l)break;h.isLeaves()?(l=d,u=h):h.expandToQueue(c,l)}return[u.getBoundable(0).getItem(),u.getBoundable(1).getItem()]}}else if(3===arguments.length){var p=arguments[0],f=arguments[1],m=arguments[2],g=new xe(p,f);return e=new Se(this.getRoot(),g,m),this.nearestNeighbour(e)[0]}},interfaces_:function(){return[Te,l]},getClass:function(){return Ie}}),Ie.centreX=function(t){return Ie.avg(t.getMinX(),t.getMaxX())},Ie.avg=function(t,e){return(t+e)/2},Ie.centreY=function(t){return Ie.avg(t.getMinY(),t.getMaxY())},c(Oe,Ee),e(Oe.prototype,{computeBounds:function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var n=e.next();null===t?t=new k(n.getBounds()):t.expandToInclude(n.getBounds())}return t},interfaces_:function(){return[]},getClass:function(){return Oe}}),Ie.STRtreeNode=Oe,Ie.serialVersionUID=0x39920f7d5f261e0,Ie.xComparator={interfaces_:function(){return[s]},compare:function(t,e){return Pe.compareDoubles(Ie.centreX(t.getBounds()),Ie.centreX(e.getBounds()))}},Ie.yComparator={interfaces_:function(){return[s]},compare:function(t,e){return Pe.compareDoubles(Ie.centreY(t.getBounds()),Ie.centreY(e.getBounds()))}},Ie.intersectsOp={interfaces_:function(){return[IntersectsOp]},intersects:function(t,e){return t.intersects(e)}},Ie.DEFAULT_NODE_CAPACITY=10,e(Ae.prototype,{interfaces_:function(){return[]},getClass:function(){return Ae}}),Ae.relativeSign=function(t,e){return te?1:0},Ae.compare=function(t,e,n){if(e.equals2D(n))return 0;var i=Ae.relativeSign(e.x,n.x),r=Ae.relativeSign(e.y,n.y);switch(t){case 0:return Ae.compareValue(i,r);case 1:return Ae.compareValue(r,i);case 2:return Ae.compareValue(r,-i);case 3:return Ae.compareValue(-i,r);case 4:return Ae.compareValue(-i,-r);case 5:return Ae.compareValue(-r,-i);case 6:return Ae.compareValue(-r,i);case 7:return Ae.compareValue(i,-r)}return d.shouldNeverReachHere("invalid octant value"),0},Ae.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0},e(Me.prototype,{getCoordinate:function(){return this.coord},print:function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},compareTo:function(t){var e=t;return this.segmentIndexe.segmentIndex?1:this.coord.equals2D(e.coord)?0:Ae.compare(this.segmentOctant,this.coord,e.coord)},isEndPoint:function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},isInterior:function(){return this._isInterior},interfaces_:function(){return[a]},getClass:function(){return Me}}),e(ze.prototype,{getSplitCoordinates:function(){var t=new x;this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var i=e.next();this.addEdgeCoordinates(n,i,t),n=i}return t.toCoordinateArray()},addCollapsedNodes:function(){var t=new w;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var n=e.next().intValue();this.add(this.edge.getCoordinate(n),n)}},print:function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},findCollapsesFromExistingVertices:function(t){for(var e=0;ee?t:e)?3:n},Be.isInHalfPlane=function(t,e){return e===Be.SE?t===Be.SE||t===Be.SW:t===e||t===e+1},Be.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new i("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?Be.NE:Be.SE:e>=0?Be.NW:Be.SW}if(arguments[0]instanceof p&&arguments[1]instanceof p){var n=arguments[0],r=arguments[1];if(r.x===n.x&&r.y===n.y)throw new i("Cannot compute the quadrant for two identical points "+n);return r.x>=n.x?r.y>=n.y?Be.NE:Be.SE:r.y>=n.y?Be.NW:Be.SW}},Be.NE=0,Be.NW=1,Be.SW=2,Be.SE=3,e(Ue.prototype,{interfaces_:function(){return[]},getClass:function(){return Ue}}),Ue.getChainStartIndices=function(t){var e=0,n=new w;n.add(new I(e));do{var i=Ue.findChainEnd(t,e);n.add(new I(i)),e=i}while(e=t.length-1)return t.length-1;for(var i=Be.quadrant(t[n],t[n+1]),r=e+1;rn.getId()&&(n.computeOverlaps(r,t),this.nOverlaps++),this.segInt.isDone())return null}},interfaces_:function(){return[]},getClass:function(){return Ge}}),c(Ve,je),e(Ve.prototype,{overlap:function(){if(4!==arguments.length)return je.prototype.overlap.apply(this,arguments);var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=t.getContext(),a=n.getContext();this.si.processIntersections(r,e,a,i)},interfaces_:function(){return[]},getClass:function(){return Ve}}),Ge.SegmentOverlapAction=Ve,c(He,u),e(He.prototype,{getCoordinate:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return He}}),He.msgWithCoord=function(t,e){return null!==e?t+" [ "+e+" ]":t},e(We.prototype,{processIntersections:function(t,e,n,i){},isDone:function(){},interfaces_:function(){return[]},getClass:function(){return We}}),e(Ye.prototype,{getInteriorIntersection:function(){return this.interiorIntersection},setCheckEndSegmentsOnly:function(t){this.isCheckEndSegmentsOnly=t},getIntersectionSegments:function(){return this.intSegments},count:function(){return this.intersectionCount},getIntersections:function(){return this.intersections},setFindAllIntersections:function(t){this.findAllIntersections=t},setKeepIntersections:function(t){this.keepIntersections=t},processIntersections:function(t,e,n,i){if(!this.findAllIntersections&&this.hasIntersection())return null;if(t===n&&e===i)return null;if(this.isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(n,i))return null;var r=t.getCoordinates()[e],a=t.getCoordinates()[e+1],o=n.getCoordinates()[i],s=n.getCoordinates()[i+1];this.li.computeIntersection(r,a,o,s),this.li.hasIntersection()&&this.li.isInteriorIntersection()&&(this.intSegments=new Array(4).fill(null),this.intSegments[0]=r,this.intSegments[1]=a,this.intSegments[2]=o,this.intSegments[3]=s,this.interiorIntersection=this.li.getIntersection(0),this.keepIntersections&&this.intersections.add(this.interiorIntersection),this.intersectionCount++)},isEndSegment:function(t,e){return 0===e||e>=t.size()-2},hasIntersection:function(){return null!==this.interiorIntersection},isDone:function(){return!this.findAllIntersections&&null!==this.interiorIntersection},interfaces_:function(){return[We]},getClass:function(){return Ye}}),Ye.createAllIntersectionsFinder=function(t){var e=new Ye(t);return e.setFindAllIntersections(!0),e},Ye.createAnyIntersectionFinder=function(t){return new Ye(t)},Ye.createIntersectionCounter=function(t){var e=new Ye(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e},e(Ze.prototype,{execute:function(){return null!==this.segInt?null:void this.checkInteriorIntersections()},getIntersections:function(){return this.segInt.getIntersections()},isValid:function(){return this.execute(),this._isValid},setFindAllIntersections:function(t){this.findAllIntersections=t},checkInteriorIntersections:function(){this._isValid=!0,this.segInt=new Ye(this.li),this.segInt.setFindAllIntersections(this.findAllIntersections);var t=new Ge;if(t.setSegmentIntersector(this.segInt),t.computeNodes(this.segStrings),this.segInt.hasIntersection())return this._isValid=!1,null},checkValid:function(){if(this.execute(),!this._isValid)throw new He(this.getErrorMessage(),this.segInt.getInteriorIntersection())},getErrorMessage:function(){if(this._isValid)return"no intersections found";var t=this.segInt.getIntersectionSegments();return"found non-noded intersection between "+Yt.toLineString(t[0],t[1])+" and "+Yt.toLineString(t[2],t[3])},interfaces_:function(){return[]},getClass:function(){return Ze}}),Ze.computeIntersections=function(t){var e=new Ze(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()},e(Xe.prototype,{checkValid:function(){this.nv.checkValid()},interfaces_:function(){return[]},getClass:function(){return Xe}}),Xe.toSegmentStrings=function(t){for(var e=new w,n=t.iterator();n.hasNext();){var i=n.next();e.add(new be(i.getCoordinates(),i))}return e},Xe.checkValid=function(t){new Xe(t).checkValid()},e(Je.prototype,{map:function(t){for(var e=new w,n=0;nthis.location.length){var e=new Array(3).fill(null);e[Ke.ON]=this.location[Ke.ON],e[Ke.LEFT]=E.NONE,e[Ke.RIGHT]=E.NONE,this.location=e}for(var n=0;n1&&t.append(E.toLocationSymbol(this.location[Ke.LEFT])),t.append(E.toLocationSymbol(this.location[Ke.ON])),this.location.length>1&&t.append(E.toLocationSymbol(this.location[Ke.RIGHT])),t.toString()},setLocations:function(t,e,n){this.location[Ke.ON]=t,this.location[Ke.LEFT]=e,this.location[Ke.RIGHT]=n},get:function(t){return t1},isAnyNull:function(){for(var t=0;tthis.maxNodeDegree&&(this.maxNodeDegree=e),t=this.getNext(t)}while(t!==this.startDe);this.maxNodeDegree*=2},addPoints:function(t,e,n){var i=t.getCoordinates();if(e){var r=1;n&&(r=0);for(var a=r;a=0;a--)this.pts.add(i[a])},isHole:function(){return this._isHole},setInResult:function(){var t=this.startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this.startDe)},containsPoint:function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!Qt.isPointInRing(t,e.getCoordinates()))return!1;for(var n=this.holes.iterator();n.hasNext();)if(n.next().containsPoint(t))return!1;return!0},addHole:function(t){this.holes.add(t)},isShell:function(){return null===this.shell},getLabel:function(){return this.label},getEdges:function(){return this.edges},getMaxNodeDegree:function(){return this.maxNodeDegree<0&&this.computeMaxNodeDegree(),this.maxNodeDegree},getShell:function(){return this.shell},mergeLabel:function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=e.getLocation(n,Ke.RIGHT);if(i===E.NONE)return null;if(this.label.getLocation(n)===E.NONE)return this.label.setLocation(n,i),null}},setShell:function(t){this.shell=t,null!==t&&t.addHole(this)},toPolygon:function(t){for(var e=new Array(this.holes.size()).fill(null),n=0;n=2,"found partial label"),this.computeIM(t)},isInResult:function(){return this._isInResult},isVisited:function(){return this._isVisited},interfaces_:function(){return[]},getClass:function(){return an}}),c(on,an),e(on.prototype,{isIncidentEdgeInResult:function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},isIsolated:function(){return 1===this.label.getGeometryCount()},getCoordinate:function(){return this.coord},print:function(t){t.println("node "+this.coord+" lbl: "+this.label)},computeIM:function(t){},computeMergedLocation:function(t,e){var n=E.NONE;if(n=this.label.getLocation(e),!t.isNull(e)){var i=t.getLocation(e);n!==E.BOUNDARY&&(n=i)}return n},setLabel:function(){if(2!==arguments.length)return an.prototype.setLabel.apply(this,arguments);var t=arguments[0],e=arguments[1];null===this.label?this.label=new tn(t,e):this.label.setLocation(t,e)},getEdges:function(){return this.edges},mergeLabel:function(){if(arguments[0]instanceof on){var t=arguments[0];this.mergeLabel(t.label)}else if(arguments[0]instanceof tn)for(var e=arguments[0],n=0;n<2;n++){var i=this.computeMergedLocation(e,n),r=this.label.getLocation(n);r===E.NONE&&this.label.setLocation(n,i)}},add:function(t){this.edges.insert(t),t.setNode(this)},setLabelBoundary:function(t){if(null===this.label)return null;var e=E.NONE;null!==this.label&&(e=this.label.getLocation(t));var n=null;switch(e){case E.BOUNDARY:n=E.INTERIOR;break;case E.INTERIOR:n=E.BOUNDARY;break;default:n=E.BOUNDARY}this.label.setLocation(t,n)},interfaces_:function(){return[]},getClass:function(){return on}}),e(sn.prototype,{find:function(t){return this.nodeMap.get(t)},addNode:function(){if(arguments[0]instanceof p){var t=arguments[0];return null===(e=this.nodeMap.get(t))&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof on){var e,n=arguments[0];return null===(e=this.nodeMap.get(n.getCoordinate()))?(this.nodeMap.put(n.getCoordinate(),n),n):(e.mergeLabel(n),e)}},print:function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},iterator:function(){return this.nodeMap.values().iterator()},values:function(){return this.nodeMap.values()},getBoundaryNodes:function(t){for(var e=new w,n=this.iterator();n.hasNext();){var i=n.next();i.getLabel().getLocation(t)===E.BOUNDARY&&e.add(i)}return e},add:function(t){var e=t.getCoordinate();this.addNode(e).add(t)},interfaces_:function(){return[]},getClass:function(){return sn}}),e(ln.prototype,{compareDirection:function(t){return this.dx===t.dx&&this.dy===t.dy?0:this.quadrant>t.quadrant?1:this.quadrant2){a.linkDirectedEdgesForMinimalEdgeRings();var o=a.buildMinimalRings(),s=this.findShell(o);null!==s?(this.placePolygonHoles(s,o),e.add(s)):n.addAll(o)}else i.add(a)}return i},containsPoint:function(t){for(var e=this.shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},buildMaximalEdgeRings:function(t){for(var e=new w,n=t.iterator();n.hasNext();){var i=n.next();if(i.isInResult()&&i.getLabel().isArea()&&null===i.getEdgeRing()){var r=new rn(i,this.geometryFactory);e.add(r),r.setInResult()}}return e},placePolygonHoles:function(t,e){for(var n=e.iterator();n.hasNext();){var i=n.next();i.isHole()&&i.setShell(t)}},getPolygons:function(){return this.computePolygons(this.shellList)},findEdgeRingContaining:function(t,e){for(var n=t.getLinearRing(),i=n.getEnvelopeInternal(),r=n.getCoordinateN(0),a=null,o=null,s=e.iterator();s.hasNext();){var l=s.next(),u=l.getLinearRing(),c=u.getEnvelopeInternal();null!==a&&(o=a.getLinearRing().getEnvelopeInternal());var h=!1;c.contains(i)&&Qt.isPointInRing(r,u.getCoordinates())&&(h=!0),h&&(null===a||o.contains(c))&&(a=l)}return a},findShell:function(t){for(var e=0,n=null,i=t.iterator();i.hasNext();){var r=i.next();r.isHole()||(n=r,e++)}return d.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n},add:function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],n=arguments[1];hn.linkResultDirectedEdges(n);var i=this.buildMaximalEdgeRings(e),r=new w,a=this.buildMinimalEdgeRings(i,this.shellList,r);this.sortShellsAndHoles(a,this.shellList,r),this.placeFreeHoles(this.shellList,r)}},interfaces_:function(){return[]},getClass:function(){return dn}}),e(pn.prototype,{collectLines:function(t){for(var e=this.op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next();this.collectLineEdge(n,t,this.lineEdgesList),this.collectBoundaryTouchEdge(n,t,this.lineEdgesList)}},labelIsolatedLine:function(t,e){var n=this.ptLocator.locate(t.getCoordinate(),this.op.getArgGeometry(e));t.getLabel().setLocation(e,n)},build:function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this.resultLineList},collectLineEdge:function(t,e,n){var i=t.getLabel(),r=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Vn.isResultOfOp(i,e)||r.isCovered()||(n.add(r),t.setVisitedEdge(!0)))},findCoveredLineEdges:function(){for(var t=this.op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this.op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next(),i=n.getEdge();if(n.isLineEdge()&&!i.isCoveredSet()){var r=this.op.isCoveredByA(n.getCoordinate());i.setCovered(r)}}},labelIsolatedLines:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getLabel();n.isIsolated()&&(i.isNull(0)?this.labelIsolatedLine(n,0):this.labelIsolatedLine(n,1))}},buildLines:function(t){for(var e=this.lineEdgesList.iterator();e.hasNext();){var n=e.next(),i=(n.getLabel(),this.geometryFactory.createLineString(n.getCoordinates()));this.resultLineList.add(i),n.setInResult(!0)}},collectBoundaryTouchEdge:function(t,e,n){var i=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(d.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Vn.isResultOfOp(i,e)&&e===Vn.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))},interfaces_:function(){return[]},getClass:function(){return pn}}),e(fn.prototype,{filterCoveredNodeToPoint:function(t){var e=t.getCoordinate();if(!this.op.isCoveredByLA(e)){var n=this.geometryFactory.createPoint(e);this.resultPointList.add(n)}},extractNonCoveredResultNodes:function(t){for(var e=this.op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();if(!(n.isInResult()||n.isIncidentEdgeInResult()||0!==n.getEdges().getDegree()&&t!==Vn.INTERSECTION)){var i=n.getLabel();Vn.isResultOfOp(i,t)&&this.filterCoveredNodeToPoint(n)}}},build:function(t){return this.extractNonCoveredResultNodes(t),this.resultPointList},interfaces_:function(){return[]},getClass:function(){return fn}}),e(mn.prototype,{locate:function(t){},interfaces_:function(){return[]},getClass:function(){return mn}}),e(gn.prototype,{locate:function(t){return gn.locate(t,this.geom)},interfaces_:function(){return[mn]},getClass:function(){return gn}}),gn.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&Qt.isPointInRing(t,e.getCoordinates())},gn.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!gn.isPointInRing(t,n))return!1;for(var i=0;i=0;n--){var i=this.edgeList.get(n),r=i.getSym();null===e&&(e=r),null!==t&&r.setNext(t),t=i}e.setNext(t)},computeDepths:function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),n=(t.getLabel(),t.getDepth(Ke.LEFT)),i=t.getDepth(Ke.RIGHT),r=this.computeDepths(e+1,this.edgeList.size(),n),a=this.computeDepths(0,e,r);if(a!==i)throw new He("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var o=arguments[0],s=arguments[1],l=arguments[2],u=l,c=o;c=0;r--){var a=this.resultAreaEdgeList.get(r),o=a.getSym();switch(null===e&&a.getEdgeRing()===t&&(e=a),i){case this.SCANNING_FOR_INCOMING:if(o.getEdgeRing()!==t)continue;n=o,i=this.LINKING_TO_OUTGOING;break;case this.LINKING_TO_OUTGOING:if(a.getEdgeRing()!==t)continue;n.setNextMin(a),i=this.SCANNING_FOR_INCOMING}}i===this.LINKING_TO_OUTGOING&&(d.isTrue(null!==e,"found null for first outgoing dirEdge"),d.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),n.setNextMin(e))},getOutgoingDegree:function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){var n=arguments[0];for(t=0,e=this.iterator();e.hasNext();)e.next().getEdgeRing()===n&&t++;return t}},getLabel:function(){return this.label},findCoveredLineEdges:function(){for(var t=E.NONE,e=this.iterator();e.hasNext();){var n=(r=e.next()).getSym();if(!r.isLineEdge()){if(r.isInResult()){t=E.INTERIOR;break}if(n.isInResult()){t=E.EXTERIOR;break}}}if(t===E.NONE)return null;var i=t;for(e=this.iterator();e.hasNext();){var r;n=(r=e.next()).getSym(),r.isLineEdge()?r.getEdge().setCovered(i===E.INTERIOR):(r.isInResult()&&(i=E.EXTERIOR),n.isInResult()&&(i=E.INTERIOR))}},computeLabelling:function(t){vn.prototype.computeLabelling.call(this,t),this.label=new tn(E.NONE);for(var e=this.iterator();e.hasNext();)for(var n=e.next().getEdge().getLabel(),i=0;i<2;i++){var r=n.getLocation(i);r!==E.INTERIOR&&r!==E.BOUNDARY||this.label.setLocation(i,E.INTERIOR)}},interfaces_:function(){return[]},getClass:function(){return yn}}),c(_n,cn),e(_n.prototype,{createNode:function(t){return new on(t,new yn)},interfaces_:function(){return[]},getClass:function(){return _n}}),e(bn.prototype,{computeIntersections:function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},interfaces_:function(){return[]},getClass:function(){return bn}}),e(wn.prototype,{isDelete:function(){return this.eventType===wn.DELETE},setDeleteEventIndex:function(t){this.deleteEventIndex=t},getObject:function(){return this.obj},compareTo:function(t){var e=t;return this.xValuee.xValue?1:this.eventTypee.eventType?1:0},getInsertEvent:function(){return this.insertEvent},isInsert:function(){return this.eventType===wn.INSERT},isSameLabel:function(t){return null!==this.label&&this.label===t.label},getDeleteEventIndex:function(){return this.deleteEventIndex},interfaces_:function(){return[a]},getClass:function(){return wn}}),wn.INSERT=1,wn.DELETE=2,e(xn.prototype,{interfaces_:function(){return[]},getClass:function(){return xn}}),e(kn.prototype,{isTrivialIntersection:function(t,e,n,i){if(t===n&&1===this.li.getIntersectionNum()){if(kn.isAdjacentSegments(e,i))return!0;if(t.isClosed()){var r=t.getNumPoints()-1;if(0===e&&i===r||0===i&&e===r)return!0}}return!1},getProperIntersectionPoint:function(){return this.properIntersectionPoint},setIsDoneIfProperInt:function(t){this.isDoneWhenProperInt=t},hasProperInteriorIntersection:function(){return this.hasProperInterior},isBoundaryPointInternal:function(t,e){for(var n=e.iterator();n.hasNext();){var i=n.next().getCoordinate();if(t.isIntersection(i))return!0}return!1},hasProperIntersection:function(){return this.hasProper},hasIntersection:function(){return this._hasIntersection},isDone:function(){return this._isDone},isBoundaryPoint:function(t,e){return!(null===e||!this.isBoundaryPointInternal(t,e[0])&&!this.isBoundaryPointInternal(t,e[1]))},setBoundaryNodes:function(t,e){this.bdyNodes=new Array(2).fill(null),this.bdyNodes[0]=t,this.bdyNodes[1]=e},addIntersections:function(t,e,n,i){if(t===n&&e===i)return null;this.numTests++;var r=t.getCoordinates()[e],a=t.getCoordinates()[e+1],o=n.getCoordinates()[i],s=n.getCoordinates()[i+1];this.li.computeIntersection(r,a,o,s),this.li.hasIntersection()&&(this.recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this.numIntersections++,this.isTrivialIntersection(t,e,n,i)||(this._hasIntersection=!0,!this.includeProper&&this.li.isProper()||(t.addIntersections(this.li,e,0),n.addIntersections(this.li,i,1)),this.li.isProper()&&(this.properIntersectionPoint=this.li.getIntersection(0).copy(),this.hasProper=!0,this.isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this.li,this.bdyNodes)||(this.hasProperInterior=!0))))},interfaces_:function(){return[]},getClass:function(){return kn}}),kn.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)},c(Cn,xn),e(Cn.prototype,{prepareEvents:function(){Xa.sort(this.events);for(var t=0;te||this.maxa?1:0},interfaces_:function(){return[s]},getClass:function(){return En}}),Tn.NodeComparator=En,c(Sn,Tn),e(Sn.prototype,{query:function(t,e,n){return this.intersects(t,e)?void n.visitItem(this.item):null},interfaces_:function(){return[]},getClass:function(){return Sn}}),c(Pn,Tn),e(Pn.prototype,{buildExtent:function(t,e){this.min=Math.min(t.min,e.min),this.max=Math.max(t.max,e.max)},query:function(t,e,n){return this.intersects(t,e)?(null!==this.node1&&this.node1.query(t,e,n),void(null!==this.node2&&this.node2.query(t,e,n))):null},interfaces_:function(){return[]},getClass:function(){return Pn}}),e(Ln.prototype,{buildTree:function(){Xa.sort(this.leaves,new IntervalRTreeNode.NodeComparator);for(var t=this.leaves,e=null,n=new w;;){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}},insert:function(t,e,n){if(null!==this.root)throw new IllegalStateException("Index cannot be added to once it has been queried");this.leaves.add(new Sn(t,e,n))},query:function(t,e,n){this.init(),this.root.query(t,e,n)},buildRoot:function(){return null!==this.root?null:void(this.root=this.buildTree())},printNode:function(t){N.out.println(Yt.toLineString(new p(t.min,this.level),new p(t.max,this.level)))},init:function(){return null!==this.root?null:void this.buildRoot()},buildLevel:function(t,e){this.level++,e.clear();for(var n=0;n0||!e.coord.equals2D(i);r||n--;var a=new Array(n).fill(null),o=0;a[o++]=new p(t.coord);for(var s=t.segmentIndex+1;s<=e.segmentIndex;s++)a[o++]=this.edge.pts[s];return r&&(a[o]=e.coord),new Bn(a,new tn(this.edge.label))},add:function(t,e,n){var i=new Nn(t,e,n),r=this.nodeMap.get(i);return null!==r?r:(this.nodeMap.put(i,i),i)},isIntersection:function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},interfaces_:function(){return[]},getClass:function(){return Dn}}),e(Rn.prototype,{getChainStartIndices:function(t){var e=0,n=new w;n.add(new I(e));do{var i=this.findChainEnd(t,e);n.add(new I(i)),e=i}while(en?e:n},getMinX:function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return ee&&(i=1),this.depth[t][n]=i}}},getDelta:function(t){return this.depth[t][Ke.RIGHT]-this.depth[t][Ke.LEFT]},getLocation:function(t,e){return this.depth[t][e]<=0?E.EXTERIOR:E.INTERIOR},toString:function(){return"A: "+this.depth[0][1]+","+this.depth[0][2]+" B: "+this.depth[1][1]+","+this.depth[1][2]},add:function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var n=1;n<3;n++){var i=t.getLocation(e,n);i!==E.EXTERIOR&&i!==E.INTERIOR||(this.isNull(e,n)?this.depth[e][n]=Fn.depthAtLocation(i):this.depth[e][n]+=Fn.depthAtLocation(i))}else if(3===arguments.length){var r=arguments[0],a=arguments[1],o=arguments[2];o===E.INTERIOR&&this.depth[r][a]++}},interfaces_:function(){return[]},getClass:function(){return Fn}}),Fn.depthAtLocation=function(t){return t===E.EXTERIOR?0:t===E.INTERIOR?1:Fn.NULL_VALUE},Fn.NULL_VALUE=-1,c(Bn,an),e(Bn.prototype,{getDepth:function(){return this.depth},getCollapsedEdge:function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new Bn(t,tn.toLineLabel(this.label))},isIsolated:function(){return this._isIsolated},getCoordinates:function(){return this.pts},setIsolated:function(t){this._isIsolated=t},setName:function(t){this.name=t},equals:function(t){if(!(t instanceof Bn))return!1;var e=t;if(this.pts.length!==e.pts.length)return!1;for(var n=!0,i=!0,r=this.pts.length,a=0;a0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},print:function(t){t.print("edge "+this.name+": "),t.print("LINESTRING (");for(var e=0;e0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(") "+this.label+" "+this.depthDelta)},computeIM:function(t){Bn.updateIM(this.label,t)},isCollapsed:function(){return!!this.label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},isClosed:function(){return this.pts[0].equals(this.pts[this.pts.length-1])},getMaximumSegmentIndex:function(){return this.pts.length-1},getDepthDelta:function(){return this.depthDelta},getNumPoints:function(){return this.pts.length},printReverse:function(t){t.print("edge "+this.name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},getMonotoneChainEdge:function(){return null===this.mce&&(this.mce=new jn(this)),this.mce},getEnvelope:function(){if(null===this.env){this.env=new k;for(var t=0;t0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(") "+this.label+" "+this.depthDelta),t.toString()},isPointwiseEqual:function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e=2,"found LineString with single point"),this.insertBoundaryPoint(this.argIndex,e[0]),this.insertBoundaryPoint(this.argIndex,e[e.length-1])},getInvalidPoint:function(){return this.invalidPoint},getBoundaryPoints:function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),n=0,i=t.iterator();i.hasNext();){var r=i.next();e[n++]=r.getCoordinate().copy()}return e},getBoundaryNodes:function(){return null===this.boundaryNodes&&(this.boundaryNodes=this.nodes.getBoundaryNodes(this.argIndex)),this.boundaryNodes},addSelfIntersectionNode:function(t,e,n){return this.isBoundaryNode(t,e)?null:void(n===E.BOUNDARY&&this.useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n))},addPolygonRing:function(t,e,n){if(t.isEmpty())return null;var i=H.removeRepeatedPoints(t.getCoordinates());if(i.length<4)return this._hasTooFewPoints=!0,this.invalidPoint=i[0],null;var r=e,a=n;Qt.isCCW(i)&&(r=n,a=e);var o=new Bn(i,new tn(this.argIndex,E.BOUNDARY,r,a));this.lineEdgeMap.put(t,o),this.insertEdge(o),this.insertPoint(this.argIndex,i[0],E.BOUNDARY)},insertPoint:function(t,e,n){var i=this.nodes.addNode(e),r=i.getLabel();null===r?i.label=new tn(t,n):r.setLocation(t,n)},createEdgeSetIntersector:function(){return new Cn},addSelfIntersectionNodes:function(t){for(var e=this.edges.iterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.eiList.iterator();r.hasNext();){var a=r.next();this.addSelfIntersectionNode(t,a.coord,i)}},add:function(){if(1!==arguments.length)return hn.prototype.add.apply(this,arguments);var t=arguments[0];if(t.isEmpty())return null;if(t instanceof It&&(this.useBoundaryDeterminationRule=!1),t instanceof St)this.addPolygon(t);else if(t instanceof kt)this.addLineString(t);else if(t instanceof Tt)this.addPoint(t);else if(t instanceof Pt)this.addCollection(t);else if(t instanceof pt)this.addCollection(t);else if(t instanceof It)this.addCollection(t);else{if(!(t instanceof dt))throw new UnsupportedOperationException(t.getClass().getName());this.addCollection(t)}},addCollection:function(t){for(var e=0;e50?(null===this.areaPtLocator&&(this.areaPtLocator=new An(this.parentGeom)),this.areaPtLocator.locate(t)):this.ptLocator.locate(t,this.parentGeom)},findEdge:function(){if(1===arguments.length){var t=arguments[0];return this.lineEdgeMap.get(t)}return hn.prototype.findEdge.apply(this,arguments)},interfaces_:function(){return[]},getClass:function(){return Un}}),Un.determineBoundary=function(t,e){return t.isInBoundary(e)?E.BOUNDARY:E.INTERIOR},e(qn.prototype,{getArgGeometry:function(t){return this.arg[t].getGeometry()},setComputationPrecision:function(t){this.resultPrecisionModel=t,this.li.setPrecisionModel(this.resultPrecisionModel)},interfaces_:function(){return[]},getClass:function(){return qn}}),e($n.prototype,{compareTo:function(t){var e=t;return $n.compareOriented(this.pts,this._orientation,e.pts,e._orientation)},interfaces_:function(){return[a]},getClass:function(){return $n}}),$n.orientation=function(t){return 1===H.increasingDirection(t)},$n.compareOriented=function(t,e,n,i){for(var r=e?1:-1,a=i?1:-1,o=e?t.length:-1,s=i?n.length:-1,l=e?0:t.length-1,u=i?0:n.length-1;;){var c=t[l].compareTo(n[u]);if(0!==c)return c;var h=(l+=r)===o,d=(u+=a)===s;if(h&&!d)return-1;if(!h&&d)return 1;if(h&&d)return 0}},e(Gn.prototype,{print:function(t){t.print("MULTILINESTRING ( ");for(var e=0;e0&&t.print(","),t.print("(");for(var i=n.getCoordinates(),r=0;r0&&t.print(","),t.print(i[r].x+" "+i[r].y);t.println(")")}t.print(") ")},addAll:function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},findEdgeIndex:function(t){for(var e=0;ethis.maxWidth)&&(this.interiorPoint=e,this.maxWidth=n)},getInteriorPoint:function(){return this.interiorPoint},widestGeometry:function(){if(arguments[0]instanceof dt){var t=arguments[0];if(t.isEmpty())return t;for(var e=t.getGeometryN(0),n=1;ne.getEnvelopeInternal().getWidth()&&(e=t.getGeometryN(n));return e}if(arguments[0]instanceof F){var i=arguments[0];return i instanceof dt?this.widestGeometry(i):i}},horizontalBisector:function(t){var e=t.getEnvelopeInternal(),n=Zn.getBisectorY(t);return this.factory.createLineString([new p(e.getMinX(),n),new p(e.getMaxX(),n)])},add:function(t){if(t instanceof St)this.addPolygon(t);else if(t instanceof dt)for(var e=t,n=0;nthis.loY&&(this.loY=t):t>this.centreY&&tt&&(t=n)}return t+1},nodeSize:function(){for(var t=0,e=0;e<2;e++)null!==this.subnode[e]&&(t+=this.subnode[e].nodeSize());return t+1},add:function(t){this.items.add(t)},interfaces_:function(){return[]},getClass:function(){return Qn}}),Qn.getSubnodeIndex=function(t,e){var n=-1;return t.min>=e&&(n=1),t.max<=e&&(n=0),n},e(ti.prototype,{expandToInclude:function(t){t.max>this.max&&(this.max=t.max),t.minn||this.max=this.min&&e<=this.max}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return n>=this.min&&i<=this.max}},init:function(t,e){this.min=t,this.max=e,t>e&&(this.min=e,this.max=t)},getMax:function(){return this.max},interfaces_:function(){return[]},getClass:function(){return ti}}),ei.exponent=function(t){return function(t,e){var n,i,r,a,o={32:8,64:11}[t];if(a||(n=e<0||1/e<0,isFinite(e)||(a={32:{d:127,c:128,b:0,a:0},64:{d:32752,c:0,b:0,a:0}}[t],n&&(a.d+=1<=2;)i++,r/=2;for(;r<1&&i>0;)i--,r*=2;i<=0&&(r/=2),32===t&&i>254&&(a={d:n?255:127,c:128,b:0,a:0},i=Math.pow(2,o)-1,r=0)}return i}(64,t)-1023},ei.powerOf2=function(t){return Math.pow(2,t)},e(ni.prototype,{getInterval:function(){return this.interval},getLevel:function(){return this.level},computeKey:function(t){for(this.level=ni.computeLevel(t),this.interval=new ti,this.computeInterval(this.level,t);!this.interval.contains(t);)this.level+=1,this.computeInterval(this.level,t)},computeInterval:function(t,e){var n=ei.powerOf2(t);this.pt=Math.floor(e.getMin()/n)*n,this.interval.init(this.pt,this.pt+n)},getPoint:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return ni}}),ni.computeLevel=function(t){var e=t.getWidth();return ei.exponent(e)+1},c(ii,Qn),e(ii.prototype,{getInterval:function(){return this.interval},find:function(t){var e=Qn.getSubnodeIndex(t,this.centre);return-1===e?this:null!==this.subnode[e]?this.subnode[e].find(t):this},insert:function(t){d.isTrue(null===this.interval||this.interval.contains(t.interval));var e=Qn.getSubnodeIndex(t.interval,this.centre);if(t.level===this.level-1)this.subnode[e]=t;else{var n=this.createSubnode(e);n.insert(t),this.subnode[e]=n}},isSearchMatch:function(t){return t.overlaps(this.interval)},getSubnode:function(t){return null===this.subnode[t]&&(this.subnode[t]=this.createSubnode(t)),this.subnode[t]},getNode:function(t){var e=Qn.getSubnodeIndex(t,this.centre);return-1!==e?this.getSubnode(e).getNode(t):this},createSubnode:function(t){var e=0,n=0;switch(t){case 0:e=this.interval.getMin(),n=this.centre;break;case 1:e=this.centre,n=this.interval.getMax()}return new ii(new ti(e,n),this.level-1)},interfaces_:function(){return[]},getClass:function(){return ii}}),ii.createNode=function(t){var e=new ni(t);return new ii(e.getInterval(),e.getLevel())},ii.createExpanded=function(t,e){var n=new ti(e);null!==t&&n.expandToInclude(t.interval);var i=ii.createNode(n);return null!==t&&i.insert(t),i},e(ri.prototype,{interfaces_:function(){return[]},getClass:function(){return ri}}),ri.isZeroWidth=function(t,e){var n=e-t;if(0===n)return!0;var i=n/Math.max(Math.abs(t),Math.abs(e));return ei.exponent(i)<=ri.MIN_BINARY_EXPONENT},ri.MIN_BINARY_EXPONENT=-50,c(ai,Qn),e(ai.prototype,{insert:function(t,e){var n=Qn.getSubnodeIndex(t,ai.origin);if(-1===n)return this.add(e),null;var i=this.subnode[n];if(null===i||!i.getInterval().contains(t)){var r=ii.createExpanded(i,t);this.subnode[n]=r}this.insertContained(this.subnode[n],t,e)},isSearchMatch:function(t){return!0},insertContained:function(t,e,n){d.isTrue(t.getInterval().contains(e)),(ri.isZeroWidth(e.getMin(),e.getMax())?t.find(e):t.getNode(e)).add(n)},interfaces_:function(){return[]},getClass:function(){return ai}}),ai.origin=0,e(oi.prototype,{size:function(){return null!==this.root?this.root.size():0},insert:function(t,e){this.collectStats(t);var n=oi.ensureExtent(t,this.minExtent);this.root.insert(n,e)},query:function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];return this.query(new ti(t,t))}if(arguments[0]instanceof ti){var e=arguments[0],n=new w;return this.query(e,n),n}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.root.addAllItemsFromOverlapping(i,r)}},iterator:function(){var t=new w;return this.root.addAllItems(t),t.iterator()},remove:function(t,e){var n=oi.ensureExtent(t,this.minExtent);return this.root.remove(n,e)},collectStats:function(t){var e=t.getWidth();e0&&(this.minExtent=e)},depth:function(){return null!==this.root?this.root.depth():0},nodeSize:function(){return null!==this.root?this.root.nodeSize():0},interfaces_:function(){return[]},getClass:function(){return oi}}),oi.ensureExtent=function(t,e){var n=t.getMin(),i=t.getMax();return n!==i?t:(n===i&&(i=(n-=e/2)+e/2),new ti(n,i))},e(si.prototype,{isInside:function(t){},interfaces_:function(){return[]},getClass:function(){return si}}),e(li.prototype,{testLineSegment:function(t,e){var n,i,r,a,o=e.p0,s=e.p1;n=o.x-t.x,i=o.y-t.y,r=s.x-t.x,a=s.y-t.y,(i>0&&a<=0||a>0&&i<=0)&&0Math.PI;)t-=ci.PI_TIMES_2;for(;t<=-Math.PI;)t+=ci.PI_TIMES_2;return t},ci.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],n=arguments[1],i=n.x-e.x,r=n.y-e.y;return Math.atan2(r,i)}},ci.isAcute=function(t,e,n){var i=t.x-e.x,r=t.y-e.y;return i*(n.x-e.x)+r*(n.y-e.y)>0},ci.isObtuse=function(t,e,n){var i=t.x-e.x,r=t.y-e.y;return i*(n.x-e.x)+r*(n.y-e.y)<0},ci.interiorAngle=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n);return Math.abs(r-i)},ci.normalizePositive=function(t){if(t<0){for(;t<0;)t+=ci.PI_TIMES_2;t>=ci.PI_TIMES_2&&(t=0)}else{for(;t>=ci.PI_TIMES_2;)t-=ci.PI_TIMES_2;t<0&&(t=0)}return t},ci.angleBetween=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n);return ci.diff(i,r)},ci.diff=function(t,e){var n=null;return(n=tMath.PI&&(n=2*Math.PI-n),n},ci.toRadians=function(t){return t*Math.PI/180},ci.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?ci.COUNTERCLOCKWISE:n<0?ci.CLOCKWISE:ci.NONE},ci.angleBetweenOriented=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n)-i;return r<=-Math.PI?r+ci.PI_TIMES_2:r>Math.PI?r-ci.PI_TIMES_2:r},ci.PI_TIMES_2=2*Math.PI,ci.PI_OVER_2=Math.PI/2,ci.PI_OVER_4=Math.PI/4,ci.COUNTERCLOCKWISE=Qt.COUNTERCLOCKWISE,ci.CLOCKWISE=Qt.CLOCKWISE,ci.NONE=Qt.COLLINEAR,e(hi.prototype,{area:function(){return hi.area(this.p0,this.p1,this.p2)},signedArea:function(){return hi.signedArea(this.p0,this.p1,this.p2)},interpolateZ:function(t){if(null===t)throw new i("Supplied point is null.");return hi.interpolateZ(t,this.p0,this.p1,this.p2)},longestSideLength:function(){return hi.longestSideLength(this.p0,this.p1,this.p2)},isAcute:function(){return hi.isAcute(this.p0,this.p1,this.p2)},circumcentre:function(){return hi.circumcentre(this.p0,this.p1,this.p2)},area3D:function(){return hi.area3D(this.p0,this.p1,this.p2)},centroid:function(){return hi.centroid(this.p0,this.p1,this.p2)},inCentre:function(){return hi.inCentre(this.p0,this.p1,this.p2)},interfaces_:function(){return[]},getClass:function(){return hi}}),hi.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)},hi.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2},hi.det=function(t,e,n,i){return t*i-e*n},hi.interpolateZ=function(t,e,n,i){var r=e.x,a=e.y,o=n.x-r,s=i.x-r,l=n.y-a,u=i.y-a,c=o*u-s*l,h=t.x-r,d=t.y-a,p=(u*h-s*d)/c,f=(-l*h+o*d)/c;return e.z+p*(n.z-e.z)+f*(i.z-e.z)},hi.longestSideLength=function(t,e,n){var i=t.distance(e),r=e.distance(n),a=n.distance(t),o=i;return r>o&&(o=r),a>o&&(o=a),o},hi.isAcute=function(t,e,n){return!!ci.isAcute(t,e,n)&&!!ci.isAcute(e,n,t)&&!!ci.isAcute(n,t,e)},hi.circumcentre=function(t,e,n){var i=n.x,r=n.y,a=t.x-i,o=t.y-r,s=e.x-i,l=e.y-r,u=2*hi.det(a,o,s,l);return new p(i-hi.det(o,a*a+o*o,l,s*s+l*l)/u,r+hi.det(a,a*a+o*o,s,s*s+l*l)/u)},hi.perpendicularBisector=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=new D(t.x+n/2,t.y+i/2,1),a=new D(t.x-i+n/2,t.y+n+i/2,1);return new D(r,a)},hi.angleBisector=function(t,e,n){var i=e.distance(t),r=i/(i+e.distance(n)),a=n.x-t.x,o=n.y-t.y;return new p(t.x+r*a,t.y+r*o)},hi.area3D=function(t,e,n){var i=e.x-t.x,r=e.y-t.y,a=e.z-t.z,o=n.x-t.x,s=n.y-t.y,l=n.z-t.z,u=r*l-a*s,c=a*o-i*l,h=i*s-r*o,d=u*u+c*c+h*h;return Math.sqrt(d)/2},hi.centroid=function(t,e,n){return new p((t.x+e.x+n.x)/3,(t.y+e.y+n.y)/3)},hi.inCentre=function(t,e,n){var i=e.distance(n),r=t.distance(n),a=t.distance(e),o=i+r+a;return new p((i*t.x+r*e.x+a*n.x)/o,(i*t.y+r*e.y+a*n.y)/o)},e(di.prototype,{getRadius:function(){return this.compute(),this.radius},getDiameter:function(){switch(this.compute(),this.extremalPts.length){case 0:return this.input.getFactory().createLineString();case 1:return this.input.getFactory().createPoint(this.centre)}var t=this.extremalPts[0],e=this.extremalPts[1];return this.input.getFactory().createLineString([t,e])},getExtremalPoints:function(){return this.compute(),this.extremalPts},computeCirclePoints:function(){if(this.input.isEmpty())return this.extremalPts=new Array(0).fill(null),null;if(1===this.input.getNumPoints()){var t=this.input.getCoordinates();return this.extremalPts=[new p(t[0])],null}var e=this.input.convexHull().getCoordinates();if(t=e,e[0].equals2D(e[e.length-1])&&(t=new Array(e.length-1).fill(null),H.copyDeep(e,0,t,0,e.length-1)),t.length<=2)return this.extremalPts=H.copyDeep(t),null;for(var n=di.lowestPoint(t),i=di.pointWitMinAngleWithX(t,n),r=0;r=i;)i=r,a=o,o=pi.nextIndex(t,a),r=e.distancePerpendicular(t[o]);return ii&&(i=l),lo&&(o=u),u=t.length&&(e=0),e},pi.computeC=function(t,e,n){return t*n.y-e*n.x},pi.getMinimumDiameter=function(t){return new pi(t).getDiameter()},pi.getMinimumRectangle=function(t){return new pi(t).getMinimumRectangle()},pi.computeSegmentForLine=function(t,e,n){var i=null,r=null;return Math.abs(e)>Math.abs(t)?(i=new p(0,n/e),r=new p(1,n/e-t/e)):(i=new p(n/t,0),r=new p(n/t-e/t,1)),new te(i,r)};var Ja=Object.freeze({Centroid:ne,CGAlgorithms:Qt,ConvexHull:oe,InteriorPointArea:Yn,InteriorPointLine:Xn,InteriorPointPoint:Jn,RobustLineIntersector:Xt,MCPointInRing:li,MinimumBoundingCircle:di,MinimumDiameter:pi});e(fi.prototype,{getResultGeometry:function(){return new mi(this.distanceTolerance).transform(this.inputGeom)},setDistanceTolerance:function(t){if(t<=0)throw new i("Tolerance must be positive");this.distanceTolerance=t},interfaces_:function(){return[]},getClass:function(){return fi}}),fi.densifyPoints=function(t,e,n){for(var i=new te,r=new x,a=0;a1)for(var l=o/s,u=1;uo?1:at&&(t=n)}return t+1},isEmpty:function(){var t=!0;this.items.isEmpty()||(t=!1);for(var e=0;e<4;e++)null!==this.subnode[e]&&(this.subnode[e].isEmpty()||(t=!1));return t},add:function(t){this.items.add(t)},interfaces_:function(){return[l]},getClass:function(){return xi}}),xi.getSubnodeIndex=function(t,e,n){var i=-1;return t.getMinX()>=e&&(t.getMinY()>=n&&(i=3),t.getMaxY()<=n&&(i=1)),t.getMaxX()<=e&&(t.getMinY()>=n&&(i=2),t.getMaxY()<=n&&(i=0)),i},e(ki.prototype,{getLevel:function(){return this.level},computeKey:function(){if(1===arguments.length){var t=arguments[0];for(this.level=ki.computeQuadLevel(t),this.env=new k,this.computeKey(this.level,t);!this.env.contains(t);)this.level+=1,this.computeKey(this.level,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=ei.powerOf2(e);this.pt.x=Math.floor(n.getMinX()/i)*i,this.pt.y=Math.floor(n.getMinY()/i)*i,this.env.init(this.pt.x,this.pt.x+i,this.pt.y,this.pt.y+i)}},getEnvelope:function(){return this.env},getCentre:function(){return new p((this.env.getMinX()+this.env.getMaxX())/2,(this.env.getMinY()+this.env.getMaxY())/2)},getPoint:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return ki}}),ki.computeQuadLevel=function(t){var e=t.getWidth(),n=t.getHeight(),i=e>n?e:n;return ei.exponent(i)+1},c(Ci,xi),e(Ci.prototype,{find:function(t){var e=xi.getSubnodeIndex(t,this.centrex,this.centrey);return-1===e?this:null!==this.subnode[e]?this.subnode[e].find(t):this},isSearchMatch:function(t){return this.env.intersects(t)},getSubnode:function(t){return null===this.subnode[t]&&(this.subnode[t]=this.createSubnode(t)),this.subnode[t]},getEnvelope:function(){return this.env},getNode:function(t){var e=xi.getSubnodeIndex(t,this.centrex,this.centrey);return-1!==e?this.getSubnode(e).getNode(t):this},createSubnode:function(t){var e=0,n=0,i=0,r=0;switch(t){case 0:e=this.env.getMinX(),n=this.centrex,i=this.env.getMinY(),r=this.centrey;break;case 1:e=this.centrex,n=this.env.getMaxX(),i=this.env.getMinY(),r=this.centrey;break;case 2:e=this.env.getMinX(),n=this.centrex,i=this.centrey,r=this.env.getMaxY();break;case 3:e=this.centrex,n=this.env.getMaxX(),i=this.centrey,r=this.env.getMaxY()}return new Ci(new k(e,n,i,r),this.level-1)},insertNode:function(t){d.isTrue(null===this.env||this.env.contains(t.env));var e=xi.getSubnodeIndex(t.env,this.centrex,this.centrey);if(t.level===this.level-1)this.subnode[e]=t;else{var n=this.createSubnode(e);n.insertNode(t),this.subnode[e]=n}},interfaces_:function(){return[]},getClass:function(){return Ci}}),Ci.createNode=function(t){var e=new ki(t);return new Ci(e.getEnvelope(),e.getLevel())},Ci.createExpanded=function(t,e){var n=new k(e);null!==t&&n.expandToInclude(t.env);var i=Ci.createNode(n);return null!==t&&i.insertNode(t),i},c(Ti,xi),e(Ti.prototype,{insert:function(t,e){var n=xi.getSubnodeIndex(t,Ti.origin.x,Ti.origin.y);if(-1===n)return this.add(e),null;var i=this.subnode[n];if(null===i||!i.getEnvelope().contains(t)){var r=Ci.createExpanded(i,t);this.subnode[n]=r}this.insertContained(this.subnode[n],t,e)},isSearchMatch:function(t){return!0},insertContained:function(t,e,n){d.isTrue(t.getEnvelope().contains(e));var i=ri.isZeroWidth(e.getMinX(),e.getMaxX()),r=ri.isZeroWidth(e.getMinY(),e.getMaxY());(i||r?t.find(e):t.getNode(e)).add(n)},interfaces_:function(){return[]},getClass:function(){return Ti}}),Ti.origin=new p(0,0),e(Ei.prototype,{size:function(){return null!==this.root?this.root.size():0},insert:function(t,e){this.collectStats(t);var n=Ei.ensureExtent(t,this.minExtent);this.root.insert(n,e)},query:function(){if(1===arguments.length){var t=arguments[0],e=new On;return this.query(t,e),e.getItems()}if(2===arguments.length){var n=arguments[0],i=arguments[1];this.root.visit(n,i)}},queryAll:function(){var t=new w;return this.root.addAllItems(t),t},remove:function(t,e){var n=Ei.ensureExtent(t,this.minExtent);return this.root.remove(n,e)},collectStats:function(t){var e=t.getWidth();e0&&(this.minExtent=e);var n=t.getHeight();n0&&(this.minExtent=n)},depth:function(){return null!==this.root?this.root.depth():0},isEmpty:function(){return null===this.root},interfaces_:function(){return[Te,l]},getClass:function(){return Ei}}),Ei.ensureExtent=function(t,e){var n=t.getMinX(),i=t.getMaxX(),r=t.getMinY(),a=t.getMaxY();return n!==i&&r!==a?t:(n===i&&(i=(n-=e/2)+e/2),r===a&&(a=(r-=e/2)+e/2),new k(n,i,r,a))},Ei.serialVersionUID=-0x678b60c967a25400;var eo=Object.freeze({Quadtree:Ei}),no=Object.freeze({STRtree:Ie}),io=Object.freeze({quadtree:eo,strtree:no}),ro=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"];e(Si.prototype,{read:function(t){var e,n=(e="string"==typeof t?JSON.parse(t):t).type;if(!ao[n])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==ro.indexOf(n)?ao[n].apply(this,[e.coordinates]):"GeometryCollection"===n?ao[n].apply(this,[e.geometries]):ao[n].apply(this,[e])},write:function(t){var e=t.getGeometryType();if(!oo[e])throw new Error("Geometry is not supported");return oo[e].apply(this,[t])}});var ao={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){var i=t.geometry.type;if(!ao[i])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=ao.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var n=0;n0&&this.minIndexthis.minCoord.y&&n.y>this.minCoord.y&&i===Qt.CLOCKWISE)&&(r=!0),r&&(this.minIndex=this.minIndex-1)},getRightmostSideOfSegment:function(t,e){var n=t.getEdge().getCoordinates();if(e<0||e+1>=n.length)return-1;if(n[e].y===n[e+1].y)return-1;var i=Ke.LEFT;return n[e].ythis.minCoord.x)&&(this.minDe=t,this.minIndex=n,this.minCoord=e[n])},findRightmostEdgeAtNode:function(){var t=this.minDe.getNode().getEdges();this.minDe=t.getRightmostEdge(),this.minDe.isForward()||(this.minDe=this.minDe.getSym(),this.minIndex=this.minDe.getEdge().getCoordinates().length-1)},findEdge:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.isForward()&&this.checkForRightmostCoordinate(n)}d.isTrue(0!==this.minIndex||this.minCoord.equals(this.minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this.minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this.orientedDe=this.minDe,this.getRightmostSide(this.minDe,this.minIndex)===Ke.LEFT&&(this.orientedDe=this.minDe.getSym())},interfaces_:function(){return[]},getClass:function(){return Ri}}),ji.prototype.addLast=function(t){this.array_.push(t)},ji.prototype.removeFirst=function(){return this.array_.shift()},ji.prototype.isEmpty=function(){return 0===this.array_.length},e(Fi.prototype,{clearVisitedEdges:function(){for(var t=this.dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},getRightmostCoordinate:function(){return this.rightMostCoord},computeNodeDepth:function(t){for(var e=null,n=t.getEdges().iterator();n.hasNext();)if((i=n.next()).isVisited()||i.getSym().isVisited()){e=i;break}if(null===e)throw new He("unable to find edge to compute depths at "+t.getCoordinate());for(t.getEdges().computeDepths(e),n=t.getEdges().iterator();n.hasNext();){var i;(i=n.next()).setVisited(!0),this.copySymDepths(i)}},computeDepth:function(t){this.clearVisitedEdges();var e=this.finder.getEdge();e.getNode(),e.getLabel(),e.setEdgeDepths(Ke.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},create:function(t){this.addReachable(t),this.finder.findEdge(this.dirEdgeList),this.rightMostCoord=this.finder.getCoordinate()},findResultEdges:function(){for(var t=this.dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(Ke.RIGHT)>=1&&e.getDepth(Ke.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},computeDepths:function(t){var e=new K,n=new ji,i=t.getNode();for(n.addLast(i),e.add(i),t.setVisited(!0);!n.isEmpty();){var r=n.removeFirst();e.add(r),this.computeNodeDepth(r);for(var a=r.getEdges().iterator();a.hasNext();){var o=a.next().getSym();if(!o.isVisited()){var s=o.getNode();e.contains(s)||(n.addLast(s),e.add(s))}}}},compareTo:function(t){var e=t;return this.rightMostCoord.xe.rightMostCoord.x?1:0},getEnvelope:function(){if(null===this.env){for(var t=new k,e=this.dirEdgeList.iterator();e.hasNext();)for(var n=e.next().getEdge().getCoordinates(),i=0;i=0;n--)this.addPt(t[n])},isRedundant:function(t){if(this.ptList.size()<1)return!1;var e=this.ptList.get(this.ptList.size()-1);return t.distance(e)=2&&this.ptList.get(this.ptList.size()-2),t.equals(e)?null:void this.ptList.add(t)},setMinimumVertexDistance:function(t){this.minimimVertexDistance=t},interfaces_:function(){return[]},getClass:function(){return Ui}}),Ui.COORDINATE_ARRAY_TYPE=new Array(0).fill(null),e(qi.prototype,{addNextSegment:function(t,e){if(this.s0=this.s1,this.s1=this.s2,this.s2=t,this.seg0.setCoordinates(this.s0,this.s1),this.computeOffsetSegment(this.seg0,this.side,this.distance,this.offset0),this.seg1.setCoordinates(this.s1,this.s2),this.computeOffsetSegment(this.seg1,this.side,this.distance,this.offset1),this.s1.equals(this.s2))return null;var n=Qt.computeOrientation(this.s0,this.s1,this.s2),i=n===Qt.CLOCKWISE&&this.side===Ke.LEFT||n===Qt.COUNTERCLOCKWISE&&this.side===Ke.RIGHT;0===n?this.addCollinear(e):i?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)},addLineEndCap:function(t,e){var n=new te(t,e),i=new te;this.computeOffsetSegment(n,Ke.LEFT,this.distance,i);var r=new te;this.computeOffsetSegment(n,Ke.RIGHT,this.distance,r);var a=e.x-t.x,o=e.y-t.y,s=Math.atan2(o,a);switch(this.bufParams.getEndCapStyle()){case Di.CAP_ROUND:this.segList.addPt(i.p1),this.addFilletArc(e,s+Math.PI/2,s-Math.PI/2,Qt.CLOCKWISE,this.distance),this.segList.addPt(r.p1);break;case Di.CAP_FLAT:this.segList.addPt(i.p1),this.segList.addPt(r.p1);break;case Di.CAP_SQUARE:var l=new p;l.x=Math.abs(this.distance)*Math.cos(s),l.y=Math.abs(this.distance)*Math.sin(s);var u=new p(i.p1.x+l.x,i.p1.y+l.y),c=new p(r.p1.x+l.x,r.p1.y+l.y);this.segList.addPt(u),this.segList.addPt(c)}},getCoordinates:function(){return this.segList.getCoordinates()},addMitreJoin:function(t,e,n,i){var r=!0,a=null;try{a=D.intersection(e.p0,e.p1,n.p0,n.p1),(i<=0?1:a.distance(t)/Math.abs(i))>this.bufParams.getMitreLimit()&&(r=!1)}catch(t){if(!(t instanceof T))throw t;a=new p(0,0),r=!1}r?this.segList.addPt(a):this.addLimitedMitreJoin(e,n,i,this.bufParams.getMitreLimit())},addFilletCorner:function(t,e,n,i,r){var a=e.x-t.x,o=e.y-t.y,s=Math.atan2(o,a),l=n.x-t.x,u=n.y-t.y,c=Math.atan2(u,l);i===Qt.CLOCKWISE?s<=c&&(s+=2*Math.PI):s>=c&&(s-=2*Math.PI),this.segList.addPt(e),this.addFilletArc(t,s,c,i,r),this.segList.addPt(n)},addOutsideTurn:function(t,e){return this.offset0.p1.distance(this.offset1.p0)0){var n=new p((this.closingSegLengthFactor*this.offset0.p1.x+this.s1.x)/(this.closingSegLengthFactor+1),(this.closingSegLengthFactor*this.offset0.p1.y+this.s1.y)/(this.closingSegLengthFactor+1));this.segList.addPt(n);var i=new p((this.closingSegLengthFactor*this.offset1.p0.x+this.s1.x)/(this.closingSegLengthFactor+1),(this.closingSegLengthFactor*this.offset1.p0.y+this.s1.y)/(this.closingSegLengthFactor+1));this.segList.addPt(i)}else this.segList.addPt(this.s1);this.segList.addPt(this.offset1.p0)}},createCircle:function(t){var e=new p(t.x+this.distance,t.y);this.segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this.distance),this.segList.closeRing()},addBevelJoin:function(t,e){this.segList.addPt(t.p1),this.segList.addPt(e.p0)},init:function(t){this.distance=t,this.maxCurveSegmentError=t*(1-Math.cos(this.filletAngleQuantum/2)),this.segList=new Ui,this.segList.setPrecisionModel(this.precisionModel),this.segList.setMinimumVertexDistance(t*qi.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},addCollinear:function(t){this.li.computeIntersection(this.s0,this.s1,this.s1,this.s2),this.li.getIntersectionNum()>=2&&(this.bufParams.getJoinStyle()===Di.JOIN_BEVEL||this.bufParams.getJoinStyle()===Di.JOIN_MITRE?(t&&this.segList.addPt(this.offset0.p1),this.segList.addPt(this.offset1.p0)):this.addFilletCorner(this.s1,this.offset0.p1,this.offset1.p0,Qt.CLOCKWISE,this.distance))},closeRing:function(){this.segList.closeRing()},hasNarrowConcaveAngle:function(){return this._hasNarrowConcaveAngle},interfaces_:function(){return[]},getClass:function(){return qi}}),qi.OFFSET_SEGMENT_SEPARATION_FACTOR=.001,qi.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR=.001,qi.CURVE_VERTEX_SNAP_DISTANCE_FACTOR=1e-6,qi.MAX_CLOSING_SEG_LEN_FACTOR=80,e($i.prototype,{getOffsetCurve:function(t,e){if(this.distance=e,0===e)return null;var n=e<0,i=Math.abs(e),r=this.getSegGen(i);t.length<=1?this.computePointCurve(t[0],r):this.computeOffsetCurve(t,n,r);var a=r.getCoordinates();return n&&H.reverse(a),a},computeSingleSidedBufferCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);if(e){n.addSegments(t,!0);var r=Bi.simplify(t,-i),a=r.length-1;n.initSideSegments(r[a],r[a-1],Ke.LEFT),n.addFirstSegment();for(var o=a-2;o>=0;o--)n.addNextSegment(r[o],!0)}else{n.addSegments(t,!1);var s=Bi.simplify(t,i),l=s.length-1;for(n.initSideSegments(s[0],s[1],Ke.LEFT),n.addFirstSegment(),o=2;o<=l;o++)n.addNextSegment(s[o],!0)}n.addLastSegment(),n.closeRing()},computeRingBufferCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);e===Ke.RIGHT&&(i=-i);var r=Bi.simplify(t,i),a=r.length-1;n.initSideSegments(r[a-1],r[0],e);for(var o=1;o<=a;o++){var s=1!==o;n.addNextSegment(r[o],s)}n.closeRing()},computeLineBufferCurve:function(t,e){var n=this.simplifyTolerance(this.distance),i=Bi.simplify(t,n),r=i.length-1;e.initSideSegments(i[0],i[1],Ke.LEFT);for(var a=2;a<=r;a++)e.addNextSegment(i[a],!0);e.addLastSegment(),e.addLineEndCap(i[r-1],i[r]);var o=Bi.simplify(t,-n),s=o.length-1;for(e.initSideSegments(o[s],o[s-1],Ke.LEFT),a=s-2;a>=0;a--)e.addNextSegment(o[a],!0);e.addLastSegment(),e.addLineEndCap(o[1],o[0]),e.closeRing()},computePointCurve:function(t,e){switch(this.bufParams.getEndCapStyle()){case Di.CAP_ROUND:e.createCircle(t);break;case Di.CAP_SQUARE:e.createSquare(t)}},getLineCurve:function(t,e){if(this.distance=e,e<0&&!this.bufParams.isSingleSided())return null;if(0===e)return null;var n=Math.abs(e),i=this.getSegGen(n);if(t.length<=1)this.computePointCurve(t[0],i);else if(this.bufParams.isSingleSided()){var r=e<0;this.computeSingleSidedBufferCurve(t,r,i)}else this.computeLineBufferCurve(t,i);return i.getCoordinates()},getBufferParameters:function(){return this.bufParams},simplifyTolerance:function(t){return t*this.bufParams.getSimplifyFactor()},getRingCurve:function(t,e,n){if(this.distance=n,t.length<=2)return this.getLineCurve(t,n);if(0===n)return $i.copyCoordinates(t);var i=this.getSegGen(n);return this.computeRingBufferCurve(t,e,i),i.getCoordinates()},computeOffsetCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);if(e){var r=Bi.simplify(t,-i),a=r.length-1;n.initSideSegments(r[a],r[a-1],Ke.LEFT),n.addFirstSegment();for(var o=a-2;o>=0;o--)n.addNextSegment(r[o],!0)}else{var s=Bi.simplify(t,i),l=s.length-1;for(n.initSideSegments(s[0],s[1],Ke.LEFT),n.addFirstSegment(),o=2;o<=l;o++)n.addNextSegment(s[o],!0)}n.addLastSegment()},getSegGen:function(t){return new qi(this.precisionModel,this.bufParams,t)},interfaces_:function(){return[]},getClass:function(){return $i}}),$i.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;nr.getMaxY()||this.findStabbedSegments(t,i.getDirectedEdges(),e)}return e}if(3===arguments.length)if(S(arguments[2],y)&&arguments[0]instanceof p&&arguments[1]instanceof un){var a=arguments[0],o=arguments[1],s=arguments[2],l=o.getEdge().getCoordinates();for(n=0;nthis.seg.p1.y&&this.seg.reverse();var u=Math.max(this.seg.p0.x,this.seg.p1.x);if(!(uthis.seg.p1.y||Qt.computeOrientation(this.seg.p0,this.seg.p1,a)===Qt.RIGHT)){var c=o.getDepth(Ke.LEFT);this.seg.p0.equals(l[n])||(c=o.getDepth(Ke.RIGHT));var h=new Vi(this.seg,c);s.add(h)}}}else if(S(arguments[2],y)&&arguments[0]instanceof p&&S(arguments[1],y)){var d=arguments[0],f=arguments[1],m=arguments[2];for(n=f.iterator();n.hasNext();){var g=n.next();g.isForward()&&this.findStabbedSegments(d,g,m)}}},getDepth:function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:Xa.min(e).leftDepth},interfaces_:function(){return[]},getClass:function(){return Gi}}),e(Vi.prototype,{compareTo:function(t){var e=t;if(this.upwardSeg.minX()>=e.upwardSeg.maxX())return 1;if(this.upwardSeg.maxX()<=e.upwardSeg.minX())return-1;var n=this.upwardSeg.orientationIndex(e.upwardSeg);return 0!==n||0!=(n=-1*e.upwardSeg.orientationIndex(this.upwardSeg))?n:this.upwardSeg.compareTo(e.upwardSeg)},compareX:function(t,e){var n=t.p0.compareTo(e.p0);return 0!==n?n:t.p1.compareTo(e.p1)},toString:function(){return this.upwardSeg.toString()},interfaces_:function(){return[a]},getClass:function(){return Vi}}),Gi.DepthSegment=Vi,e(Hi.prototype,{addPoint:function(t){if(this.distance<=0)return null;var e=t.getCoordinates(),n=this.curveBuilder.getLineCurve(e,this.distance);this.addCurve(n,E.EXTERIOR,E.INTERIOR)},addPolygon:function(t){var e=this.distance,n=Ke.LEFT;this.distance<0&&(e=-this.distance,n=Ke.RIGHT);var i=t.getExteriorRing(),r=H.removeRepeatedPoints(i.getCoordinates());if(this.distance<0&&this.isErodedCompletely(i,this.distance))return null;if(this.distance<=0&&r.length<3)return null;this.addPolygonRing(r,e,n,E.EXTERIOR,E.INTERIOR);for(var a=0;a0&&this.isErodedCompletely(o,-this.distance)||this.addPolygonRing(s,e,Ke.opposite(n),E.INTERIOR,E.EXTERIOR)}},isTriangleErodedCompletely:function(t,e){var n=new hi(t[0],t[1],t[2]),i=n.inCentre();return Qt.distancePointLine(i,n.p0,n.p1)=Lt.MINIMUM_VALID_SIZE&&Qt.isCCW(t)&&(a=r,o=i,n=Ke.opposite(n));var s=this.curveBuilder.getRingCurve(t,n,e);this.addCurve(s,a,o)},add:function(t){if(t.isEmpty())return null;if(t instanceof St)this.addPolygon(t);else if(t instanceof kt)this.addLineString(t);else if(t instanceof Tt)this.addPoint(t);else if(t instanceof Pt)this.addCollection(t);else if(t instanceof pt)this.addCollection(t);else if(t instanceof It)this.addCollection(t);else{if(!(t instanceof dt))throw new UnsupportedOperationException(t.getClass().getName());this.addCollection(t)}},isErodedCompletely:function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(4===n.length)return this.isTriangleErodedCompletely(n,e);var i=t.getEnvelopeInternal(),r=Math.min(i.getHeight(),i.getWidth());return e<0&&2*Math.abs(e)>r},addCollection:function(t){for(var e=0;ei||this.maxya;if(o)return!1;var s=this.intersectsToleranceSquare(t,e);return d.isTrue(!(o&&s),"Found bad envelope test"),s},initCorners:function(t){var e=.5;this.minx=t.x-e,this.maxx=t.x+e,this.miny=t.y-e,this.maxy=t.y+e,this.corner[0]=new p(this.maxx,this.maxy),this.corner[1]=new p(this.minx,this.maxy),this.corner[2]=new p(this.minx,this.miny),this.corner[3]=new p(this.maxx,this.miny)},intersects:function(t,e){return 1===this.scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this.p0Scaled),this.copyScaled(e,this.p1Scaled),this.intersectsScaled(this.p0Scaled,this.p1Scaled))},scale:function(t){return Math.round(t*this.scaleFactor)},getCoordinate:function(){return this.originalPt},copyScaled:function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},getSafeEnvelope:function(){if(null===this.safeEnv){var t=Xi.SAFE_ENV_EXPANSION_FACTOR/this.scaleFactor;this.safeEnv=new k(this.originalPt.x-t,this.originalPt.x+t,this.originalPt.y-t,this.originalPt.y+t)}return this.safeEnv},intersectsPixelClosure:function(t,e){return this.li.computeIntersection(t,e,this.corner[0],this.corner[1]),!!(this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[1],this.corner[2]),this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[2],this.corner[3]),this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[3],this.corner[0]),this.li.hasIntersection()))))},intersectsToleranceSquare:function(t,e){var n=!1,i=!1;return this.li.computeIntersection(t,e,this.corner[0],this.corner[1]),!!(this.li.isProper()||(this.li.computeIntersection(t,e,this.corner[1],this.corner[2]),this.li.isProper()||(this.li.hasIntersection()&&(n=!0),this.li.computeIntersection(t,e,this.corner[2],this.corner[3]),this.li.isProper()||(this.li.hasIntersection()&&(i=!0),this.li.computeIntersection(t,e,this.corner[3],this.corner[0]),this.li.isProper()||n&&i||t.equals(this.pt)||e.equals(this.pt)))))},addSnappedNode:function(t,e){var n=t.getCoordinate(e),i=t.getCoordinate(e+1);return!!this.intersects(n,i)&&(t.addIntersection(this.getCoordinate(),e),!0)},interfaces_:function(){return[]},getClass:function(){return Xi}}),Xi.SAFE_ENV_EXPANSION_FACTOR=.75,e(Ji.prototype,{snap:function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],n=arguments[1],i=arguments[2],r=e.getSafeEnvelope(),a=new Ki(e,n,i);return this.index.query(r,{interfaces_:function(){return[Ce]},visitItem:function(t){t.select(r,a)}}),a.isNodeAdded()}},interfaces_:function(){return[]},getClass:function(){return Ji}}),c(Ki,Kn),e(Ki.prototype,{isNodeAdded:function(){return this._isNodeAdded},select:function(){if(2!==arguments.length)return Kn.prototype.select.apply(this,arguments);var t=arguments[0],e=arguments[1],n=t.getContext();return null!==this.parentEdge&&n===this.parentEdge&&e===this.hotPixelVertexIndex?null:void(this._isNodeAdded=this.hotPixel.addSnappedNode(n,e))},interfaces_:function(){return[]},getClass:function(){return Ki}}),Ji.HotPixelSnapAction=Ki,e(Qi.prototype,{processIntersections:function(t,e,n,i){if(t===n&&e===i)return null;var r=t.getCoordinates()[e],a=t.getCoordinates()[e+1],o=n.getCoordinates()[i],s=n.getCoordinates()[i+1];if(this.li.computeIntersection(r,a,o,s),this.li.hasIntersection()&&this.li.isInteriorIntersection()){for(var l=0;l=0;t--){try{this.bufferReducedPrecision(t)}catch(t){if(!(t instanceof He))throw t;this.saveException=t}if(null!==this.resultGeometry)return null}throw this.saveException}if(1===arguments.length){var e=arguments[0],n=er.precisionScaleFactor(this.argGeom,this.distance,e),i=new Gt(n);this.bufferFixedPrecision(i)}},computeGeometry:function(){if(this.bufferOriginalPrecision(),null!==this.resultGeometry)return null;var t=this.argGeom.getFactory().getPrecisionModel();t.getType()===Gt.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},setQuadrantSegments:function(t){this.bufParams.setQuadrantSegments(t)},bufferOriginalPrecision:function(){try{var t=new Yi(this.bufParams);this.resultGeometry=t.buffer(this.argGeom,this.distance)}catch(t){if(!(t instanceof u))throw t;this.saveException=t}},getResultGeometry:function(t){return this.distance=t,this.computeGeometry(),this.resultGeometry},setEndCapStyle:function(t){this.bufParams.setEndCapStyle(t)},interfaces_:function(){return[]},getClass:function(){return er}}),er.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new er(t);return n.getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof F&&"number"==typeof arguments[1]){var i=arguments[0],r=arguments[1],a=arguments[2];return(u=new er(i)).setQuadrantSegments(a),u.getResultGeometry(r)}if(arguments[2]instanceof Di&&arguments[0]instanceof F&&"number"==typeof arguments[1]){var o=arguments[0],s=arguments[1],l=arguments[2];return(u=new er(o,l)).getResultGeometry(s)}}else if(4===arguments.length){var u,c=arguments[0],h=arguments[1],d=arguments[2],p=arguments[3];return(u=new er(c)).setQuadrantSegments(d),u.setEndCapStyle(p),u.getResultGeometry(h)}},er.precisionScaleFactor=function(t,e,n){var i=t.getEnvelopeInternal(),r=P.max(Math.abs(i.getMaxX()),Math.abs(i.getMaxY()),Math.abs(i.getMinX()),Math.abs(i.getMinY()))+2*(e>0?e:0),a=n-Math.trunc(Math.log(r)/Math.log(10)+1);return Math.pow(10,a)},er.CAP_ROUND=Di.CAP_ROUND,er.CAP_BUTT=Di.CAP_FLAT,er.CAP_FLAT=Di.CAP_FLAT,er.CAP_SQUARE=Di.CAP_SQUARE,er.MAX_PRECISION_DIGITS=12;var uo=Object.freeze({BufferOp:er,BufferParameters:Di});e(nr.prototype,{filter:function(t){t instanceof St&&this.comps.add(t)},interfaces_:function(){return[ct]},getClass:function(){return nr}}),nr.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return nr.getPolygons(t,new w)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof St?n.add(e):e instanceof dt&&e.apply(new nr(n)),n}},e(ir.prototype,{isInsideArea:function(){return this.segIndex===ir.INSIDE_AREA},getCoordinate:function(){return this.pt},getGeometryComponent:function(){return this.component},getSegmentIndex:function(){return this.segIndex},interfaces_:function(){return[]},getClass:function(){return ir}}),ir.INSIDE_AREA=-1,e(rr.prototype,{filter:function(t){t instanceof Tt&&this.pts.add(t)},interfaces_:function(){return[ct]},getClass:function(){return rr}}),rr.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof Tt?Xa.singletonList(t):rr.getPoints(t,new w)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof Tt?n.add(e):e instanceof dt&&e.apply(new rr(n)),n}},e(ar.prototype,{filter:function(t){(t instanceof Tt||t instanceof kt||t instanceof St)&&this.locations.add(new ir(t,0,t.getCoordinate()))},interfaces_:function(){return[ct]},getClass:function(){return ar}}),ar.getLocations=function(t){var e=new w;return t.apply(new ar(e)),e},e(or.prototype,{computeContainmentDistance:function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this.minDistance<=this.terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=1-e,r=nr.getPolygons(this.geom[e]);if(r.size()>0){var a=ar.getLocations(this.geom[i]);if(this.computeContainmentDistance(a,r,n),this.minDistance<=this.terminateDistance)return this.minDistanceLocation[i]=n[0],this.minDistanceLocation[e]=n[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&S(arguments[0],y)&&S(arguments[1],y)){for(var o=arguments[0],s=arguments[1],l=arguments[2],u=0;uthis.minDistance)return null;for(var i=t.getCoordinates(),r=e.getCoordinate(),a=0;athis.minDistance)return null;i=l.getCoordinates();var h=u.getCoordinates();for(a=0;at&&H.reverse(this.coordinates)}return this.coordinates},toLineString:function(){return this.factory.createLineString(this.getCoordinates())},add:function(t){this.directedEdges.add(t)},interfaces_:function(){return[]},getClass:function(){return sr}}),e(lr.prototype,{setVisited:function(t){this._isVisited=t},isMarked:function(){return this._isMarked},setData:function(t){this.data=t},getData:function(){return this.data},setMarked:function(t){this._isMarked=t},getContext:function(){return this.data},isVisited:function(){return this._isVisited},setContext:function(t){this.data=t},interfaces_:function(){return[]},getClass:function(){return lr}}),lr.getComponentWithVisitedState=function(t,e){for(;t.hasNext();){var n=t.next();if(n.isVisited()===e)return n}return null},lr.setVisited=function(t,e){for(;t.hasNext();)t.next().setVisited(e)},lr.setMarked=function(t,e){for(;t.hasNext();)t.next().setMarked(e)},c(ur,lr),e(ur.prototype,{isRemoved:function(){return null===this.parentEdge},compareDirection:function(t){return this.quadrant>t.quadrant?1:this.quadrant=t.getNumPoints()&&null===i)return null;var a=t.getCoordinate(r);null!==i&&i.segmentIndex===n.segmentIndex&&(a=i.coord);var o=new ln(t,n.coord,a,new tn(t.getLabel()));e.add(o)},createEdgeEndForPrev:function(t,e,n,i){var r=n.segmentIndex;if(0===n.dist){if(0===r)return null;r--}var a=t.getCoordinate(r);null!==i&&i.segmentIndex>=r&&(a=i.coord);var o=new tn(t.getLabel());o.flip();var s=new ln(t,n.coord,a,o);e.add(s)},computeEdgeEnds:function(){if(1===arguments.length){for(var t=arguments[0],e=new w,n=t;n.hasNext();){var i=n.next();this.computeEdgeEnds(i,e)}return e}if(2===arguments.length){var r=arguments[0],a=arguments[1],o=r.getEdgeIntersectionList();o.addEndpoints();var s=o.iterator(),l=null,u=null;if(!s.hasNext())return null;var c=s.next();do{l=u,u=c,c=null,s.hasNext()&&(c=s.next()),null!==u&&(this.createEdgeEndForPrev(r,a,u,l),this.createEdgeEndForNext(r,a,u,c))}while(null!==u)}},interfaces_:function(){return[]},getClass:function(){return xr}}),c(kr,ln),e(kr.prototype,{insert:function(t){this.edgeEnds.add(t)},print:function(t){t.println("EdgeEndBundle--\x3e Label: "+this.label);for(var e=this.iterator();e.hasNext();)e.next().print(t),t.println()},iterator:function(){return this.edgeEnds.iterator()},getEdgeEnds:function(){return this.edgeEnds},computeLabelOn:function(t,e){for(var n=0,i=!1,r=this.iterator();r.hasNext();)(a=r.next().getLabel().getLocation(t))===E.BOUNDARY&&n++,a===E.INTERIOR&&(i=!0);var a=E.NONE;i&&(a=E.INTERIOR),n>0&&(a=Un.determineBoundary(e,n)),this.label.setLocation(t,a)},computeLabelSide:function(t,e){for(var n=this.iterator();n.hasNext();){var i=n.next();if(i.getLabel().isArea()){var r=i.getLabel().getLocation(t,e);if(r===E.INTERIOR)return this.label.setLocation(t,e,E.INTERIOR),null;r===E.EXTERIOR&&this.label.setLocation(t,e,E.EXTERIOR)}}},getLabel:function(){return this.label},computeLabelSides:function(t){this.computeLabelSide(t,Ke.LEFT),this.computeLabelSide(t,Ke.RIGHT)},updateIM:function(t){Bn.updateIM(this.label,t)},computeLabel:function(t){for(var e=!1,n=this.iterator();n.hasNext();)n.next().getLabel().isArea()&&(e=!0);this.label=e?new tn(E.NONE,E.NONE,E.NONE):new tn(E.NONE);for(var i=0;i<2;i++)this.computeLabelOn(i,t),e&&this.computeLabelSides(i)},interfaces_:function(){return[]},getClass:function(){return kr}}),c(Cr,vn),e(Cr.prototype,{updateIM:function(t){for(var e=this.iterator();e.hasNext();)e.next().updateIM(t)},insert:function(t){var e=this.edgeMap.get(t);null===e?(e=new kr(t),this.insertEdgeEnd(t,e)):e.insert(t)},interfaces_:function(){return[]},getClass:function(){return Cr}}),c(Tr,on),e(Tr.prototype,{updateIMFromEdges:function(t){this.edges.updateIM(t)},computeIM:function(t){t.setAtLeastIfValid(this.label.getLocation(0),this.label.getLocation(1),0)},interfaces_:function(){return[]},getClass:function(){return Tr}}),c(Er,cn),e(Er.prototype,{createNode:function(t){return new Tr(t,new Cr)},interfaces_:function(){return[]},getClass:function(){return Er}}),e(Sr.prototype,{insertEdgeEnds:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.nodes.add(n)}},getNodeIterator:function(){return this.nodes.iterator()},copyNodesAndLabels:function(t,e){for(var n=t.getNodeIterator();n.hasNext();){var i=n.next();this.nodes.addNode(i.getCoordinate()).setLabel(e,i.getLabel().getLocation(e))}},build:function(t){this.computeIntersectionNodes(t,0),this.copyNodesAndLabels(t,0);var e=(new xr).computeEdgeEnds(t.getEdgeIterator());this.insertEdgeEnds(e)},computeIntersectionNodes:function(t,e){for(var n=t.getEdgeIterator();n.hasNext();)for(var i=n.next(),r=i.getLabel().getLocation(e),a=i.getEdgeIntersectionList().iterator();a.hasNext();){var o=a.next(),s=this.nodes.addNode(o.coord);r===E.BOUNDARY?s.setLabelBoundary(e):s.getLabel().isNull(e)&&s.setLabel(e,E.INTERIOR)}},interfaces_:function(){return[]},getClass:function(){return Sr}}),e(Pr.prototype,{isNodeEdgeAreaLabelsConsistent:function(){for(var t=this.nodeGraph.getNodeIterator();t.hasNext();){var e=t.next();if(!e.getEdges().isAreaLabelsConsistent(this.geomGraph))return this.invalidPoint=e.getCoordinate().copy(),!1}return!0},getInvalidPoint:function(){return this.invalidPoint},hasDuplicateRings:function(){for(var t=this.nodeGraph.getNodeIterator();t.hasNext();)for(var e=t.next().getEdges().iterator();e.hasNext();){var n=e.next();if(n.getEdgeEnds().size()>1)return this.invalidPoint=n.getEdge().getCoordinate(0),!0}return!1},isNodeConsistentArea:function(){var t=this.geomGraph.computeSelfNodes(this.li,!0,!0);return t.hasProperIntersection()?(this.invalidPoint=t.getProperIntersectionPoint(),!1):(this.nodeGraph.build(this.geomGraph),this.isNodeEdgeAreaLabelsConsistent())},interfaces_:function(){return[]},getClass:function(){return Pr}}),e(Lr.prototype,{buildIndex:function(){this.index=new Ie;for(var t=0;t=1&&(e=t.getCoordinateN(0)),this.validErr=new Ir(Ir.RING_NOT_CLOSED,e)}},checkShellsNotNested:function(t,e){for(var n=0;n=0;i--)n.add(t[i],!1)},Ar.findEdgeRingContaining=function(t,e){for(var n=t.getRing(),i=n.getEnvelopeInternal(),r=n.getCoordinateN(0),a=null,o=null,s=e.iterator();s.hasNext();){var l=s.next(),u=l.getRing(),c=u.getEnvelopeInternal();if(!c.equals(i)&&c.contains(i)){r=H.ptNotInList(n.getCoordinates(),u.getCoordinates());var h=!1;Qt.isPointInRing(r,u.getCoordinates())&&(h=!0),h&&(null===a||o.contains(c))&&(o=(a=l).getRing().getEnvelopeInternal())}}return a},e(Mr.prototype,{compare:function(t,e){var n=e;return t.getRing().getEnvelope().compareTo(n.getRing().getEnvelope())},interfaces_:function(){return[s]},getClass:function(){return Mr}}),Ar.EnvelopeComparator=Mr,c(zr,gr),e(zr.prototype,{findEdgeRing:function(t){var e=new Ar(this.factory);return e.build(t),e},computeDepthParity:function(){if(0===arguments.length)for(;;){var t=null;if(null===t)return null;this.computeDepthParity(t)}},computeNextCWEdges:function(){for(var t=this.nodeIterator();t.hasNext();){var e=t.next();zr.computeNextCWEdges(e)}},addEdge:function(t){if(t.isEmpty())return null;var e=H.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return null;var n=e[0],i=e[e.length-1],r=this.getNode(n),a=this.getNode(i),o=new _r(r,a,e[1],!0),s=new _r(a,r,e[e.length-2],!1),l=new br(t);l.setDirectedEdges(o,s),this.add(l)},deleteCutEdges:function(){this.computeNextCWEdges(),zr.findLabeledEdgeRings(this.dirEdges);for(var t=new w,e=this.dirEdges.iterator();e.hasNext();){var n=e.next();if(!n.isMarked()){var i=n.getSym();if(n.getLabel()===i.getLabel()){n.setMarked(!0),i.setMarked(!0);var r=n.getEdge();t.add(r.getLine())}}}return t},getEdgeRings:function(){this.computeNextCWEdges(),zr.label(this.dirEdges,-1);var t=zr.findLabeledEdgeRings(this.dirEdges);this.convertMaximalToMinimalEdgeRings(t);for(var e=new w,n=this.dirEdges.iterator();n.hasNext();){var i=n.next();if(!i.isMarked()&&!i.isInRing()){var r=this.findEdgeRing(i);e.add(r)}}return e},getNode:function(t){var e=this.findNode(t);return null===e&&(e=new pr(t),this.add(e)),e},convertMaximalToMinimalEdgeRings:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getLabel(),r=zr.findIntersectionNodes(n,i);if(null!==r)for(var a=r.iterator();a.hasNext();){var o=a.next();zr.computeNextCCWEdges(o,i)}}},deleteDangles:function(){for(var t=this.findNodesOfDegree(1),e=new K,n=new re,i=t.iterator();i.hasNext();)n.push(i.next());for(;!n.isEmpty();){var r=n.pop();for(zr.deleteAllEdges(r),i=r.getOutEdges().getEdges().iterator();i.hasNext();){var a=i.next();a.setMarked(!0);var o=a.getSym();null!==o&&o.setMarked(!0);var s=a.getEdge();e.add(s.getLine());var l=a.getToNode();1===zr.getDegreeNonDeleted(l)&&n.push(l)}}return e},interfaces_:function(){return[]},getClass:function(){return zr}}),zr.findLabeledEdgeRings=function(t){for(var e=new w,n=1,i=t.iterator();i.hasNext();){var r=i.next();if(!(r.isMarked()||r.getLabel()>=0)){e.add(r);var a=Ar.findDirEdgesInRing(r);zr.label(a,n),n++}}return e},zr.getDegreeNonDeleted=function(t){for(var e=0,n=t.getOutEdges().getEdges().iterator();n.hasNext();)n.next().isMarked()||e++;return e},zr.deleteAllEdges=function(t){for(var e=t.getOutEdges().getEdges().iterator();e.hasNext();){var n=e.next();n.setMarked(!0);var i=n.getSym();null!==i&&i.setMarked(!0)}},zr.label=function(t,e){for(var n=t.iterator();n.hasNext();)n.next().setLabel(e)},zr.computeNextCWEdges=function(t){for(var e=null,n=null,i=t.getOutEdges().getEdges().iterator();i.hasNext();){var r=i.next();r.isMarked()||(null===e&&(e=r),null!==n&&n.getSym().setNext(r),n=r)}null!==n&&n.getSym().setNext(e)},zr.computeNextCCWEdges=function(t,e){for(var n=null,i=null,r=t.getOutEdges().getEdges(),a=r.size()-1;a>=0;a--){var o=r.get(a),s=o.getSym(),l=null;o.getLabel()===e&&(l=o);var u=null;s.getLabel()===e&&(u=s),null===l&&null===u||(null!==u&&(i=u),null!==l&&(null!==i&&(i.setNext(l),i=null),null===n&&(n=l)))}null!==i&&(d.isTrue(null!==n),i.setNext(n))},zr.getDegree=function(t,e){for(var n=0,i=t.getOutEdges().getEdges().iterator();i.hasNext();)i.next().getLabel()===e&&n++;return n},zr.findIntersectionNodes=function(t,e){var n=t,i=null;do{var r=n.getFromNode();zr.getDegree(r,e)>1&&(null===i&&(i=new w),i.add(r)),n=n.getNext(),d.isTrue(null!==n,"found null DE in ring"),d.isTrue(n===t||!n.isInRing(),"found DE already in ring")}while(n!==t);return i},e(Nr.prototype,{getGeometry:function(){return null===this.geomFactory&&(this.geomFactory=new Ht),this.polygonize(),this.extractOnlyPolygonal?this.geomFactory.buildGeometry(this.polyList):this.geomFactory.createGeometryCollection(Ht.toGeometryArray(this.polyList))},getInvalidRingLines:function(){return this.polygonize(),this.invalidRingLines},findValidRings:function(t,e,n){for(var i=t.iterator();i.hasNext();){var r=i.next();r.isValid()?e.add(r):n.add(r.getLineString())}},polygonize:function(){if(null!==this.polyList)return null;if(this.polyList=new w,null===this.graph)return null;this.dangles=this.graph.deleteDangles(),this.cutEdges=this.graph.deleteCutEdges();var t=this.graph.getEdgeRings(),e=new w;this.invalidRingLines=new w,this.isCheckingRingsValid?this.findValidRings(t,e,this.invalidRingLines):e=t,this.findShellsAndHoles(e),Nr.assignHolesToShells(this.holeList,this.shellList),Xa.sort(this.shellList,new Ar.EnvelopeComparator);var n=!0;this.extractOnlyPolygonal&&(Nr.findDisjointShells(this.shellList),n=!1),this.polyList=Nr.extractPolygons(this.shellList,n)},getDangles:function(){return this.polygonize(),this.dangles},getCutEdges:function(){return this.polygonize(),this.cutEdges},getPolygons:function(){return this.polygonize(),this.polyList},add:function(){if(S(arguments[0],g))for(var t=arguments[0],e=t.iterator();e.hasNext();){var n=e.next();this.add(n)}else if(arguments[0]instanceof kt){var i=arguments[0];this.geomFactory=i.getFactory(),null===this.graph&&(this.graph=new zr(this.geomFactory)),this.graph.addEdge(i)}else if(arguments[0]instanceof F){var r=arguments[0];r.apply(this.lineStringAdder)}},setCheckRingsValid:function(t){this.isCheckingRingsValid=t},findShellsAndHoles:function(t){this.holeList=new w,this.shellList=new w;for(var e=t.iterator();e.hasNext();){var n=e.next();n.computeHole(),n.isHole()?this.holeList.add(n):this.shellList.add(n)}},interfaces_:function(){return[]},getClass:function(){return Nr}}),Nr.findOuterShells=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getOuterHole();null===i||i.isProcessed()||(n.setIncluded(!0),i.setProcessed(!0))}},Nr.extractPolygons=function(t,e){for(var n=new w,i=t.iterator();i.hasNext();){var r=i.next();(e||r.isIncluded())&&n.add(r.getPolygon())}return n},Nr.assignHolesToShells=function(t,e){for(var n=t.iterator();n.hasNext();){var i=n.next();Nr.assignHoleToShell(i,e)}},Nr.assignHoleToShell=function(t,e){var n=Ar.findEdgeRingContaining(t,e);null!==n&&n.addHole(t)},Nr.findDisjointShells=function(t){Nr.findOuterShells(t);var e=null;do{e=!1;for(var n=t.iterator();n.hasNext();){var i=n.next();i.isIncludedSet()||(i.updateIncluded(),i.isIncludedSet()||(e=!0))}}while(e)},e(Dr.prototype,{filter:function(t){t instanceof kt&&this.p.add(t)},interfaces_:function(){return[j]},getClass:function(){return Dr}}),Nr.LineStringAdder=Dr;var fo=Object.freeze({Polygonizer:Nr});e(Rr.prototype,{insertEdgeEnds:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.nodes.add(n)}},computeProperIntersectionIM:function(t,e){var n=this.arg[0].getGeometry().getDimension(),i=this.arg[1].getGeometry().getDimension(),r=t.hasProperIntersection(),a=t.hasProperInteriorIntersection();2===n&&2===i?r&&e.setAtLeast("212101212"):2===n&&1===i?(r&&e.setAtLeast("FFF0FFFF2"),a&&e.setAtLeast("1FFFFF1FF")):1===n&&2===i?(r&&e.setAtLeast("F0FFFFFF2"),a&&e.setAtLeast("1F1FFFFFF")):1===n&&1===i&&a&&e.setAtLeast("0FFFFFFFF")},labelIsolatedEdges:function(t,e){for(var n=this.arg[t].getEdgeIterator();n.hasNext();){var i=n.next();i.isIsolated()&&(this.labelIsolatedEdge(i,e,this.arg[e].getGeometry()),this.isolatedEdges.add(i))}},labelIsolatedEdge:function(t,e,n){if(n.getDimension()>0){var i=this.ptLocator.locate(t.getCoordinate(),n);t.getLabel().setAllLocations(e,i)}else t.getLabel().setAllLocations(e,E.EXTERIOR)},computeIM:function(){var t=new ee;if(t.set(E.EXTERIOR,E.EXTERIOR,2),!this.arg[0].getGeometry().getEnvelopeInternal().intersects(this.arg[1].getGeometry().getEnvelopeInternal()))return this.computeDisjointIM(t),t;this.arg[0].computeSelfNodes(this.li,!1),this.arg[1].computeSelfNodes(this.li,!1);var e=this.arg[0].computeEdgeIntersections(this.arg[1],this.li,!1);this.computeIntersectionNodes(0),this.computeIntersectionNodes(1),this.copyNodesAndLabels(0),this.copyNodesAndLabels(1),this.labelIsolatedNodes(),this.computeProperIntersectionIM(e,t);var n=new xr,i=n.computeEdgeEnds(this.arg[0].getEdgeIterator());this.insertEdgeEnds(i);var r=n.computeEdgeEnds(this.arg[1].getEdgeIterator());return this.insertEdgeEnds(r),this.labelNodeEdges(),this.labelIsolatedEdges(0,1),this.labelIsolatedEdges(1,0),this.updateIM(t),t},labelNodeEdges:function(){for(var t=this.nodes.iterator();t.hasNext();)t.next().getEdges().computeLabelling(this.arg)},copyNodesAndLabels:function(t){for(var e=this.arg[t].getNodeIterator();e.hasNext();){var n=e.next();this.nodes.addNode(n.getCoordinate()).setLabel(t,n.getLabel().getLocation(t))}},labelIntersectionNodes:function(t){for(var e=this.arg[t].getEdgeIterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.getEdgeIntersectionList().iterator();r.hasNext();){var a=r.next(),o=this.nodes.find(a.coord);o.getLabel().isNull(t)&&(i===E.BOUNDARY?o.setLabelBoundary(t):o.setLabel(t,E.INTERIOR))}},labelIsolatedNode:function(t,e){var n=this.ptLocator.locate(t.getCoordinate(),this.arg[e].getGeometry());t.getLabel().setAllLocations(e,n)},computeIntersectionNodes:function(t){for(var e=this.arg[t].getEdgeIterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.getEdgeIntersectionList().iterator();r.hasNext();){var a=r.next(),o=this.nodes.addNode(a.coord);i===E.BOUNDARY?o.setLabelBoundary(t):o.getLabel().isNull(t)&&o.setLabel(t,E.INTERIOR)}},labelIsolatedNodes:function(){for(var t=this.nodes.iterator();t.hasNext();){var e=t.next(),n=e.getLabel();d.isTrue(n.getGeometryCount()>0,"node with empty label found"),e.isIsolated()&&(n.isNull(0)?this.labelIsolatedNode(e,0):this.labelIsolatedNode(e,1))}},updateIM:function(t){for(var e=this.isolatedEdges.iterator();e.hasNext();)e.next().updateIM(t);for(var n=this.nodes.iterator();n.hasNext();){var i=n.next();i.updateIM(t),i.updateIMFromEdges(t)}},computeDisjointIM:function(t){var e=this.arg[0].getGeometry();e.isEmpty()||(t.set(E.INTERIOR,E.EXTERIOR,e.getDimension()),t.set(E.BOUNDARY,E.EXTERIOR,e.getBoundaryDimension()));var n=this.arg[1].getGeometry();n.isEmpty()||(t.set(E.EXTERIOR,E.INTERIOR,n.getDimension()),t.set(E.EXTERIOR,E.BOUNDARY,n.getBoundaryDimension()))},interfaces_:function(){return[]},getClass:function(){return Rr}}),e(jr.prototype,{isContainedInBoundary:function(t){if(t instanceof St)return!1;if(t instanceof Tt)return this.isPointContainedInBoundary(t);if(t instanceof kt)return this.isLineStringContainedInBoundary(t);for(var e=0;e0){var i=t;t=e,e=i}var r=!1;return e.y>t.y&&(r=!0),r?this.li.computeIntersection(t,e,this.diagDown0,this.diagDown1):this.li.computeIntersection(t,e,this.diagUp0,this.diagUp1),!!this.li.hasIntersection()},interfaces_:function(){return[]},getClass:function(){return Fr}}),e(Br.prototype,{applyTo:function(t){for(var e=0;e=this.rectEnv.getMinX()&&e.getMaxX()<=this.rectEnv.getMaxX()||e.getMinY()>=this.rectEnv.getMinY()&&e.getMaxY()<=this.rectEnv.getMaxY()?(this._intersects=!0,null):void 0:null},intersects:function(){return this._intersects},interfaces_:function(){return[]},getClass:function(){return qr}}),c($r,Br),e($r.prototype,{isDone:function(){return!0===this._containsPoint},visit:function(t){if(!(t instanceof St))return null;var e=t.getEnvelopeInternal();if(!this.rectEnv.intersects(e))return null;for(var n=new p,i=0;i<4;i++)if(this.rectSeq.getCoordinate(i,n),e.contains(n)&&gn.containsPointInPolygon(n,t))return this._containsPoint=!0,null},containsPoint:function(){return this._containsPoint},interfaces_:function(){return[]},getClass:function(){return $r}}),c(Gr,Br),e(Gr.prototype,{intersects:function(){return this.hasIntersection},isDone:function(){return!0===this.hasIntersection},visit:function(t){var e=t.getEnvelopeInternal();if(!this.rectEnv.intersects(e))return null;var n=In.getLines(t);this.checkIntersectionWithLineStrings(n)},checkIntersectionWithLineStrings:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();if(this.checkIntersectionWithSegments(n),this.hasIntersection)return null}},checkIntersectionWithSegments:function(t){for(var e=t.getCoordinateSequence(),n=1;n=t.size()?null:t.get(e)},Zr.union=function(t){return new Zr(t).union()},Zr.STRTREE_NODE_CAPACITY=4,e(Xr.prototype,{unionNoOpt:function(t){var e=this.geomFact.createPoint();return Wn.overlayOp(t,e,Vn.UNION)},unionWithNull:function(t,e){return null===t&&null===e?null:null===e?t:null===t?e:t.union(e)},extract:function(){if(S(arguments[0],g))for(var t=arguments[0],e=t.iterator();e.hasNext();){var n=e.next();this.extract(n)}else if(arguments[0]instanceof F){var i=arguments[0];null===this.geomFact&&(this.geomFact=i.getFactory()),Yr.extract(i,F.SORTINDEX_POLYGON,this.polygons),Yr.extract(i,F.SORTINDEX_LINESTRING,this.lines),Yr.extract(i,F.SORTINDEX_POINT,this.points)}},union:function(){if(null===this.geomFact)return null;var t=null;if(this.points.size()>0){var e=this.geomFact.buildGeometry(this.points);t=this.unionNoOpt(e)}var n=null;if(this.lines.size()>0){var i=this.geomFact.buildGeometry(this.lines);n=this.unionNoOpt(i)}var r=null;this.polygons.size()>0&&(r=Zr.union(this.polygons));var a=this.unionWithNull(n,r),o=null;return o=null===t?a:null===a?t:Wr.union(t,a),null===o?this.geomFact.createGeometryCollection():o},interfaces_:function(){return[]},getClass:function(){return Xr}}),Xr.union=function(){if(1===arguments.length){if(S(arguments[0],g)){var t=arguments[0];return new Xr(t).union()}if(arguments[0]instanceof F){var e=arguments[0];return new Xr(e).union()}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return new Xr(n,i).union()}};var go=Object.freeze({UnaryUnionOp:Xr}),vo=Object.freeze({IsValidOp:Or,ConsistentAreaTester:Pr}),yo=Object.freeze({BoundaryOp:ft,IsSimpleOp:zi,buffer:uo,distance:co,linemerge:ho,overlay:po,polygonize:fo,relate:mo,union:go,valid:vo});c(Jr,Ot.CoordinateOperation),e(Jr.prototype,{editCoordinates:function(t,e){if(0===t.length)return null;for(var n=new Array(t.length).fill(null),i=0;i=2&&(n=!0),e.edit(t,new Jr(this.targetPM,n))},changePM:function(t,e){return this.createEditor(t.getFactory(),e).edit(t,new Ot.NoOpGeometryOperation)},setRemoveCollapsedComponents:function(t){this.removeCollapsed=t},createFactory:function(t,e){return new Ht(e,t.getSRID(),t.getCoordinateSequenceFactory())},setChangePrecisionModel:function(t){this.changePrecisionModel=t},reduce:function(t){var e=this.reducePointwise(t);return this.isPointwise?e:S(e,Et)?e.isValid()?e:this.fixPolygonalTopology(e):e},setPointwise:function(t){this.isPointwise=t},createEditor:function(t,e){return t.getPrecisionModel()===e?new Ot:new Ot(this.createFactory(t,e))},interfaces_:function(){return[]},getClass:function(){return Kr}}),Kr.reduce=function(t,e){return new Kr(e).reduce(t)},Kr.reducePointwise=function(t,e){var n=new Kr(e);return n.setPointwise(!0),n.reduce(t)};var _o=Object.freeze({GeometryPrecisionReducer:Kr});e(Qr.prototype,{simplifySection:function(t,e){if(t+1===e)return null;this.seg.p0=this.pts[t],this.seg.p1=this.pts[e];for(var n=-1,i=t,r=t+1;rn&&(n=a,i=r)}if(n<=this.distanceTolerance)for(r=t+1;rthis.distanceTolerance&&(a=!1);var l=new te;if(l.p0=this.linePts[t],l.p1=this.linePts[e],i[0]=t,i[1]=e,this.hasBadIntersection(this.line,i,l)&&(a=!1),a)return r=this.flatten(t,e),this.line.addToResult(r),null;this.simplifySection(t,s,n),this.simplifySection(s,e,n)},hasBadOutputIntersection:function(t){for(var e=this.outputIndex.query(t).iterator();e.hasNext();){var n=e.next();if(this.hasInteriorIntersection(n,t))return!0}return!1},findFurthestPoint:function(t,e,n,i){var r=new te;r.p0=t[e],r.p1=t[n];for(var a=-1,o=e,s=e+1;sa&&(a=u,o=s)}return i[0]=a,o},simplify:function(t){this.line=t,this.linePts=t.getParentCoordinates(),this.simplifySection(0,this.linePts.length-1,0)},remove:function(t,e,n){for(var i=e;i=e[0]&&ii&&(o=i),r.setMinimumLength(o),r.splitAt(a),r.getSplitPoint()},interfaces_:function(){return[da]},getClass:function(){return pa}}),pa.projectedSplitPoint=function(t,e){return t.getLineSegment().project(e)},e(fa.prototype,{interfaces_:function(){return[]},getClass:function(){return fa}}),fa.triArea=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)},fa.isInCircleDDNormalized=function(t,e,n,i){var r=A.valueOf(t.x).selfSubtract(i.x),a=A.valueOf(t.y).selfSubtract(i.y),o=A.valueOf(e.x).selfSubtract(i.x),s=A.valueOf(e.y).selfSubtract(i.y),l=A.valueOf(n.x).selfSubtract(i.x),u=A.valueOf(n.y).selfSubtract(i.y),c=r.multiply(s).selfSubtract(o.multiply(a)),h=o.multiply(u).selfSubtract(l.multiply(s)),d=l.multiply(a).selfSubtract(r.multiply(u)),p=r.multiply(r).selfAdd(a.multiply(a)),f=o.multiply(o).selfAdd(s.multiply(s)),m=l.multiply(l).selfAdd(u.multiply(u));return p.selfMultiply(h).selfAdd(f.selfMultiply(d)).selfAdd(m.selfMultiply(c)).doubleValue()>0},fa.checkRobustInCircle=function(t,e,n,i){var r=fa.isInCircleNonRobust(t,e,n,i),a=fa.isInCircleDDSlow(t,e,n,i),o=fa.isInCircleCC(t,e,n,i),s=hi.circumcentre(t,e,n);N.out.println("p radius diff a = "+Math.abs(i.distance(s)-t.distance(s))/t.distance(s)),r===a&&r===o||(N.out.println("inCircle robustness failure (double result = "+r+", DD result = "+a+", CC result = "+o+")"),N.out.println(Yt.toLineString(new Dt([t,e,n,i]))),N.out.println("Circumcentre = "+Yt.toPoint(s)+" radius = "+t.distance(s)),N.out.println("p radius diff a = "+Math.abs(i.distance(s)/t.distance(s)-1)),N.out.println("p radius diff b = "+Math.abs(i.distance(s)/e.distance(s)-1)),N.out.println("p radius diff c = "+Math.abs(i.distance(s)/n.distance(s)-1)),N.out.println())},fa.isInCircleDDFast=function(t,e,n,i){var r=A.sqr(t.x).selfAdd(A.sqr(t.y)).selfMultiply(fa.triAreaDDFast(e,n,i)),a=A.sqr(e.x).selfAdd(A.sqr(e.y)).selfMultiply(fa.triAreaDDFast(t,n,i)),o=A.sqr(n.x).selfAdd(A.sqr(n.y)).selfMultiply(fa.triAreaDDFast(t,e,i)),s=A.sqr(i.x).selfAdd(A.sqr(i.y)).selfMultiply(fa.triAreaDDFast(t,e,n));return r.selfSubtract(a).selfAdd(o).selfSubtract(s).doubleValue()>0},fa.isInCircleCC=function(t,e,n,i){var r=hi.circumcentre(t,e,n),a=t.distance(r);return i.distance(r)-a<=0},fa.isInCircleNormalized=function(t,e,n,i){var r=t.x-i.x,a=t.y-i.y,o=e.x-i.x,s=e.y-i.y,l=n.x-i.x,u=n.y-i.y;return(r*r+a*a)*(o*u-l*s)+(o*o+s*s)*(l*a-r*u)+(l*l+u*u)*(r*s-o*a)>0},fa.isInCircleDDSlow=function(t,e,n,i){var r=A.valueOf(i.x),a=A.valueOf(i.y),o=A.valueOf(t.x),s=A.valueOf(t.y),l=A.valueOf(e.x),u=A.valueOf(e.y),c=A.valueOf(n.x),h=A.valueOf(n.y),d=o.multiply(o).add(s.multiply(s)).multiply(fa.triAreaDDSlow(l,u,c,h,r,a)),p=l.multiply(l).add(u.multiply(u)).multiply(fa.triAreaDDSlow(o,s,c,h,r,a)),f=c.multiply(c).add(h.multiply(h)).multiply(fa.triAreaDDSlow(o,s,l,u,r,a)),m=r.multiply(r).add(a.multiply(a)).multiply(fa.triAreaDDSlow(o,s,l,u,c,h));return d.subtract(p).add(f).subtract(m).doubleValue()>0},fa.isInCircleNonRobust=function(t,e,n,i){return(t.x*t.x+t.y*t.y)*fa.triArea(e,n,i)-(e.x*e.x+e.y*e.y)*fa.triArea(t,n,i)+(n.x*n.x+n.y*n.y)*fa.triArea(t,e,i)-(i.x*i.x+i.y*i.y)*fa.triArea(t,e,n)>0},fa.isInCircleRobust=function(t,e,n,i){return fa.isInCircleNormalized(t,e,n,i)},fa.triAreaDDSlow=function(t,e,n,i,r,a){return n.subtract(t).multiply(a.subtract(e)).subtract(i.subtract(e).multiply(r.subtract(t)))},fa.triAreaDDFast=function(t,e,n){var i=A.valueOf(e.x).selfSubtract(t.x).selfMultiply(A.valueOf(n.y).selfSubtract(t.y)),r=A.valueOf(e.y).selfSubtract(t.y).selfMultiply(A.valueOf(n.x).selfSubtract(t.x));return i.selfSubtract(r)},e(ma.prototype,{circleCenter:function(t,e){var n,i=new ma(this.getX(),this.getY()),r=new D(this.bisector(i,t),this.bisector(t,e)),a=null;try{a=new ma(r.getX(),r.getY())}catch(n){if(!(n instanceof T))throw n;N.err.println("a: "+i+" b: "+t+" c: "+e),N.err.println(n)}return a},dot:function(t){return this.p.x*t.getX()+this.p.y*t.getY()},magn:function(){return Math.sqrt(this.p.x*this.p.x+this.p.y*this.p.y)},getZ:function(){return this.p.z},bisector:function(t,e){var n=e.getX()-t.getX(),i=e.getY()-t.getY(),r=new D(t.getX()+n/2,t.getY()+i/2,1),a=new D(t.getX()-i+n/2,t.getY()+n+i/2,1);return new D(r,a)},equals:function(){if(1===arguments.length){var t=arguments[0];return this.p.x===t.getX()&&this.p.y===t.getY()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return this.p.distance(e.getCoordinate())0},getX:function(){return this.p.x},crossProduct:function(t){return this.p.x*t.getY()-this.p.y*t.getX()},setZ:function(t){this.p.z=t},times:function(t){return new ma(t*this.p.x,t*this.p.y)},cross:function(){return new ma(this.p.y,-this.p.x)},leftOf:function(t){return this.isCCW(t.orig(),t.dest())},toString:function(){return"POINT ("+this.p.x+" "+this.p.y+")"},sub:function(t){return new ma(this.p.x-t.getX(),this.p.y-t.getY())},getY:function(){return this.p.y},classify:function(t,e){var n=this,i=e.sub(t),r=n.sub(t),a=i.crossProduct(r);return a>0?ma.LEFT:a<0?ma.RIGHT:i.getX()*r.getX()<0||i.getY()*r.getY()<0?ma.BEHIND:i.magn()i?10*n:10*i,this.frameVertex[0]=new ma((t.getMaxX()+t.getMinX())/2,t.getMaxY()+e),this.frameVertex[1]=new ma(t.getMinX()-e,t.getMinY()-e),this.frameVertex[2]=new ma(t.getMaxX()+e,t.getMinY()-e),this.frameEnv=new k(this.frameVertex[0].getCoordinate(),this.frameVertex[1].getCoordinate()),this.frameEnv.expandToInclude(this.frameVertex[2].getCoordinate())},getTriangleCoordinates:function(t){var e=new Sa;return this.visitTriangles(e,t),e.getTriangles()},getVertices:function(t){for(var e=new K,n=this.quadEdges.iterator();n.hasNext();){var i=n.next(),r=i.orig();!t&&this.isFrameVertex(r)||e.add(r);var a=i.dest();!t&&this.isFrameVertex(a)||e.add(a)}return e},fetchTriangleToVisit:function(t,e,n,i){var r=t,a=0,o=!1;do{this.triEdges[a]=r,this.isFrameEdge(r)&&(o=!0);var s=r.sym();i.contains(s)||e.push(s),i.add(r),a++,r=r.lNext()}while(r!==t);return o&&!n?null:this.triEdges},getEdges:function(){if(0===arguments.length)return this.quadEdges;if(1===arguments.length){for(var t=arguments[0],e=this.getPrimaryEdges(!1),n=new Array(e.size()).fill(null),i=0,r=e.iterator();r.hasNext();){var a=r.next();n[i++]=t.createLineString([a.orig().getCoordinate(),a.dest().getCoordinate()])}return t.createMultiLineString(n)}},getVertexUniqueEdges:function(t){for(var e=new w,n=new K,i=this.quadEdges.iterator();i.hasNext();){var r=i.next(),a=r.orig();n.contains(a)||(n.add(a),!t&&this.isFrameVertex(a)||e.add(r));var o=r.sym(),s=o.orig();n.contains(s)||(n.add(s),!t&&this.isFrameVertex(s)||e.add(o))}return e},getTriangleEdges:function(t){var e=new Ta;return this.visitTriangles(e,t),e.getTriangleEdges()},getPrimaryEdges:function(t){this.visitedKey++;var e=new w,n=new re;n.push(this.startingEdge);for(var i=new K;!n.empty();){var r=n.pop();if(!i.contains(r)){var a=r.getPrimary();!t&&this.isFrameEdge(a)||e.add(a),n.push(r.oNext()),n.push(r.sym().oNext()),i.add(r),i.add(r.sym())}}return e},delete:function(t){va.splice(t,t.oPrev()),va.splice(t.sym(),t.sym().oPrev());var e=t.sym(),n=t.rot(),i=t.rot().sym();this.quadEdges.remove(t),this.quadEdges.remove(e),this.quadEdges.remove(n),this.quadEdges.remove(i),t.delete(),e.delete(),n.delete(),i.delete()},locateFromEdge:function(t,e){for(var n=0,i=this.quadEdges.size(),r=e;;){if(++n>i)throw new wa(r.toLineSegment());if(t.equals(r.orig())||t.equals(r.dest()))break;if(t.rightOf(r))r=r.sym();else if(t.rightOf(r.oNext())){if(t.rightOf(r.dPrev()))break;r=r.dPrev()}else r=r.oNext()}return r},getTolerance:function(){return this.tolerance},getVoronoiCellPolygons:function(t){this.visitTriangles(new Ca,!0);for(var e=new w,n=this.getVertexUniqueEdges(!1).iterator();n.hasNext();){var i=n.next();e.add(this.getVoronoiCellPolygon(i,t))}return e},getVoronoiDiagram:function(t){var e=this.getVoronoiCellPolygons(t);return t.createGeometryCollection(Ht.toGeometryArray(e))},getTriangles:function(t){for(var e=this.getTriangleCoordinates(!1),n=new Array(e.size()).fill(null),i=0,r=e.iterator();r.hasNext();){var a=r.next();n[i++]=t.createPolygon(t.createLinearRing(a),null)}return t.createGeometryCollection(n)},insertSite:function(t){var e=this.locate(t);if(t.equals(e.orig(),this.tolerance)||t.equals(e.dest(),this.tolerance))return e;var n=this.makeEdge(e.orig(),t);va.splice(n,e);var i=n;do{e=(n=this.connect(e,n.sym())).oPrev()}while(e.lNext()!==i);return i},locate:function(){if(1===arguments.length){if(arguments[0]instanceof ma){var t=arguments[0];return this.locator.locate(t)}if(arguments[0]instanceof p){var e=arguments[0];return this.locator.locate(new ma(e))}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=this.locator.locate(new ma(n));if(null===r)return null;var a=r;r.dest().getCoordinate().equals2D(n)&&(a=r.sym());var o=a;do{if(o.dest().getCoordinate().equals2D(i))return o;o=o.oNext()}while(o!==a);return null}},interfaces_:function(){return[]},getClass:function(){return ka}}),ka.getTriangleEdges=function(t,e){if(e[0]=t,e[1]=e[0].lNext(),e[2]=e[1].lNext(),e[2].lNext()!==e[0])throw new i("Edges do not form a triangle")},e(Ca.prototype,{visit:function(t){for(var e=t[0].orig().getCoordinate(),n=t[1].orig().getCoordinate(),i=t[2].orig().getCoordinate(),r=new ma(hi.circumcentre(e,n,i)),a=0;a<3;a++)t[a].rot().setOrig(r)},interfaces_:function(){return[xa]},getClass:function(){return Ca}}),e(Ta.prototype,{getTriangleEdges:function(){return this.triList},visit:function(t){this.triList.add(t.clone())},interfaces_:function(){return[xa]},getClass:function(){return Ta}}),e(Ea.prototype,{visit:function(t){this.triList.add([t[0].orig(),t[1].orig(),t[2].orig()])},getTriangleVertices:function(){return this.triList},interfaces_:function(){return[xa]},getClass:function(){return Ea}}),e(Sa.prototype,{checkTriangleSize:function(t){t.length>=2?Yt.toLineString(t[0],t[1]):t.length>=1&&Yt.toPoint(t[0])},visit:function(t){this.coordList.clear();for(var e=0;e<3;e++){var n=t[e].orig();this.coordList.add(n.getCoordinate())}if(this.coordList.size()>0){this.coordList.closeRing();var i=this.coordList.toCoordinateArray();if(4!==i.length)return null;this.triCoords.add(i)}},getTriangles:function(){return this.triCoords},interfaces_:function(){return[xa]},getClass:function(){return Sa}}),ka.TriangleCircumcentreVisitor=Ca,ka.TriangleEdgesListVisitor=Ta,ka.TriangleVertexListVisitor=Ea,ka.TriangleCoordinatesVisitor=Sa,ka.EDGE_COINCIDENCE_TOL_FACTOR=1e3,e(Pa.prototype,{getLineSegment:function(){return this.ls},getEndZ:function(){return this.ls.getCoordinate(1).z},getStartZ:function(){return this.ls.getCoordinate(0).z},intersection:function(t){return this.ls.intersection(t.getLineSegment())},getStart:function(){return this.ls.getCoordinate(0)},getEnd:function(){return this.ls.getCoordinate(1)},getEndY:function(){return this.ls.getCoordinate(1).y},getStartX:function(){return this.ls.getCoordinate(0).x},equalsTopo:function(t){return this.ls.equalsTopo(t.getLineSegment())},getStartY:function(){return this.ls.getCoordinate(0).y},setData:function(t){this.data=t},getData:function(){return this.data},getEndX:function(){return this.ls.getCoordinate(1).x},toString:function(){return this.ls.toString()},interfaces_:function(){return[]},getClass:function(){return Pa}}),e(La.prototype,{visit:function(t){},interfaces_:function(){return[]},getClass:function(){return La}}),e(Ia.prototype,{isRepeated:function(){return this.count>1},getRight:function(){return this.right},getCoordinate:function(){return this.p},setLeft:function(t){this.left=t},getX:function(){return this.p.x},getData:function(){return this.data},getCount:function(){return this.count},getLeft:function(){return this.left},getY:function(){return this.p.y},increment:function(){this.count=this.count+1},setRight:function(t){this.right=t},interfaces_:function(){return[]},getClass:function(){return Ia}}),e(Oa.prototype,{insert:function(){if(1===arguments.length){var t=arguments[0];return this.insert(t,null)}if(2===arguments.length){var e=arguments[0],n=arguments[1];if(null===this.root)return this.root=new Ia(e,n),this.root;if(this.tolerance>0){var i=this.findBestMatchNode(e);if(null!==i)return i.increment(),i}return this.insertExact(e,n)}},query:function(){var t=arguments,e=this;if(1===arguments.length){var n=arguments[0],i=new w;return this.query(n,i),i}if(2===arguments.length)if(arguments[0]instanceof k&&S(arguments[1],y))!function(){var n=t[0],i=t[1];e.queryNode(e.root,n,!0,{interfaces_:function(){return[La]},visit:function(t){i.add(t)}})}();else if(arguments[0]instanceof k&&S(arguments[1],La)){var r=arguments[0],a=arguments[1];this.queryNode(this.root,r,!0,a)}},queryNode:function(t,e,n,i){if(null===t)return null;var r=null,a=null,o=null;n?(r=e.getMinX(),a=e.getMaxX(),o=t.getX()):(r=e.getMinY(),a=e.getMaxY(),o=t.getY());var s=o<=a;r0&&te)&&or.isWithinDistance(this,t,e)},distance:function(t){return or.distance(this,t)},isEquivalentClass:function(t){return this.getClass()===t.getClass()}}),t.version="1.3.0 (6e65adb)",t.algorithm=Ja,t.densify=Ka,t.dissolve=Qa,t.geom=Za,t.geomgraph=to,t.index=io,t.io=so,t.noding=lo,t.operation=yo,t.precision=_o,t.simplify=bo,t.triangulate=xo,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],29:[function(t,e,n){var i=t("@turf/meta").coordEach,r=t("@turf/centroid"),a=t("@turf/convex"),o=t("@turf/explode"),s=t("@turf/helpers").point;e.exports=function(t){if("Feature"===t.type&&"Polygon"===t.geometry.type){var n=[];i(t,(function(t){n.push(t)}));var l,u,c,h,d,p,f,m,g=r(t),v=g.geometry.coordinates,y=0,_=0,b=0,w=n.map((function(t){return[t[0]-v[0],t[1]-v[1]]}));for(l=0;l=3){for(var o=[],s=0;s0)-(t<0)},n.abs=function(t){var e=t>>31;return(t^e)-e},n.min=function(t,e){return e^(t^e)&-(t65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},n.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},n.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},n.countTrailingZeros=i,n.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,1+(t|=t>>>16)},n.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},n.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var r=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,i=e,r=7;for(n>>>=1;n;n>>>=1)i<<=1,i|=1&n,--r;t[e]=i<>>8&255]<<16|r[t>>>16&255]<<8|r[t>>>24&255]},n.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},n.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},n.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},n.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},n.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>i(t)+1}},{}],38:[function(t,e,n){"use strict";var i=t("./lib/ch1d"),r=t("./lib/ch2d"),a=t("./lib/chnd");e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[[0]];var n=t[0].length;return 0===n?[]:1===n?i(t):2===n?r(t):a(t,n)}},{"./lib/ch1d":39,"./lib/ch2d":40,"./lib/chnd":41}],39:[function(t,e,n){"use strict";e.exports=function(t){for(var e=0,n=0,i=1;it[n][0]&&(n=i);return en?[[n],[e]]:[[e]]}},{}],40:[function(t,e,n){"use strict";e.exports=function(t){var e=i(t),n=e.length;if(n<=2)return[];for(var r=new Array(n),a=e[n-1],o=0;o=e[l]&&(s+=1);a[o]=s}}return t}(i(a,!0),n)}};var i=t("incremental-convex-hull"),r=t("affine-hull")},{"affine-hull":36,"incremental-convex-hull":42}],42:[function(t,e,n){"use strict";e.exports=function(t,e){var n=t.length;if(0===n)throw new Error("Must have at least d+1 points");var r=t[0].length;if(n<=r)throw new Error("Must input at least d+1 points");var o=t.slice(0,r+1),s=i.apply(void 0,o);if(0===s)throw new Error("Input not in general position");for(var l=new Array(r+1),c=0;c<=r;++c)l[c]=c;s<0&&(l[0]=1,l[1]=0);var h=new a(l,new Array(r+1),!1),d=h.adjacent,p=new Array(r+2);for(c=0;c<=r;++c){for(var f=l.slice(),m=0;m<=r;++m)m===c&&(f[m]=-1);var g=f[0];f[0]=f[1],f[1]=g;var v=new a(f,new Array(r+1),!0);d[c]=v,p[c]=v}for(p[r+1]=h,c=0;c<=r;++c){f=d[c].vertices;var y=d[c].adjacent;for(m=0;m<=r;++m){var _=f[m];if(_<0)y[m]=h;else for(var b=0;b<=r;++b)d[b].vertices.indexOf(_)<0&&(y[m]=d[b])}}var w=new u(r,o,p),x=!!e;for(c=r+1;c0&&e.push(","),e.push("tuple[",n,"]");e.push(")}return orient");var r=new Function("test",e.join("")),a=i[t+1];return a||(a=i),r(a)}(t)),this.orient=a}var c=u.prototype;c.handleBoundaryDegeneracy=function(t,e){var n=this.dimension,i=this.vertices.length-1,r=this.tuple,a=this.vertices,o=[t];for(t.lastVisited=-i;o.length>0;){(t=o.pop()).vertices;for(var s=t.adjacent,l=0;l<=n;++l){var u=s[l];if(u.boundary&&!(u.lastVisited<=-i)){for(var c=u.vertices,h=0;h<=n;++h){var d=c[h];r[h]=d<0?e:a[d]}var p=this.orient();if(p>0)return u;u.lastVisited=-i,0===p&&o.push(u)}}}return null},c.walk=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,a=this.tuple,o=e?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[o];t:for(;!s.boundary;){for(var l=s.vertices,u=s.adjacent,c=0;c<=i;++c)a[c]=r[l[c]];for(s.lastVisited=n,c=0;c<=i;++c){var h=u[c];if(!(h.lastVisited>=n)){var d=a[c];a[c]=t;var p=this.orient();if(a[c]=d,p<0){s=h;continue t}h.boundary?h.lastVisited=-n:h.lastVisited=n}}return}return s},c.addPeaks=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,l=this.tuple,u=this.interior,c=this.simplices,h=[e];e.lastVisited=n,e.vertices[e.vertices.indexOf(-1)]=n,e.boundary=!1,u.push(e);for(var d=[];h.length>0;){var p=(e=h.pop()).vertices,f=e.adjacent,m=p.indexOf(n);if(!(m<0))for(var g=0;g<=i;++g)if(g!==m){var v=f[g];if(v.boundary&&!(v.lastVisited>=n)){var y=v.vertices;if(v.lastVisited!==-n){for(var _=0,b=0;b<=i;++b)y[b]<0?(_=b,l[b]=t):l[b]=r[y[b]];if(this.orient()>0){y[_]=n,v.boundary=!1,u.push(v),h.push(v),v.lastVisited=n;continue}v.lastVisited=-n}var w=v.adjacent,x=p.slice(),k=f.slice(),C=new a(x,k,!0);c.push(C);var T=w.indexOf(e);if(!(T<0))for(w[T]=C,k[m]=v,x[g]=-1,k[g]=e,f[g]=C,C.flip(),b=0;b<=i;++b){var E=x[b];if(!(E<0||E===n)){for(var S=new Array(i-1),P=0,L=0;L<=i;++L){var I=x[L];I<0||L===b||(S[P++]=I)}d.push(new o(S,C,b))}}}}}for(d.sort(s),g=0;g+1=0?o[l++]=s[c]:u=1&c;if(u===(1&t)){var h=o[0];o[0]=o[1],o[1]=h}e.push(o)}}return e}},{"robust-orientation":44,"simplicial-complex":48}],43:[function(t,e,n){"use strict";e.exports=function(t){var e=t.length;if(e<3){for(var n=new Array(e),r=0;r1&&i(t[o[c-2]],t[o[c-1]],u)<=0;)c-=1,o.pop();for(o.push(l),c=s.length;c>1&&i(t[s[c-2]],t[s[c-1]],u)>=0;)c-=1,s.pop();s.push(l)}n=new Array(s.length+o.length-2);for(var h=0,d=(r=0,o.length);r0;--p)n[h++]=s[p];return n};var i=t("robust-orientation")[3]},{"robust-orientation":44}],44:[function(t,e,n){"use strict";var i=t("two-product"),r=t("robust-sum"),a=t("robust-scale"),o=t("robust-subtract");function s(t,e){for(var n=new Array(t.length-1),i=1;i>1;return["sum(",l(t.slice(0,e)),",",l(t.slice(e)),")"].join("")}function u(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var e=[],n=0;n0){if(a<=0)return o;i=r+a}else{if(!(r<0))return o;if(a>=0)return o;i=-(r+a)}var s=33306690738754716e-32*i;return o>=s||o<=-s?o:h(t,e,n)},function(t,e,n,i){var r=t[0]-i[0],a=e[0]-i[0],o=n[0]-i[0],s=t[1]-i[1],l=e[1]-i[1],u=n[1]-i[1],c=t[2]-i[2],h=e[2]-i[2],p=n[2]-i[2],f=a*u,m=o*l,g=o*s,v=r*u,y=r*l,_=a*s,b=c*(f-m)+h*(g-v)+p*(y-_),w=7771561172376103e-31*((Math.abs(f)+Math.abs(m))*Math.abs(c)+(Math.abs(g)+Math.abs(v))*Math.abs(h)+(Math.abs(y)+Math.abs(_))*Math.abs(p));return b>w||-b>w?b:d(t,e,n,i)}];function f(t){var e=p[t.length];return e||(e=p[t.length]=c(t.length)),e.apply(void 0,t)}!function(){for(;p.length<=5;)p.push(c(p.length));for(var t=[],n=["slow"],i=0;i<=5;++i)t.push("a"+i),n.push("o"+i);var r=["function getOrientation(",t.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(i=2;i<=5;++i)r.push("case ",i,":return o",i,"(",t.slice(0,i).join(),");");r.push("}var s=new Array(arguments.length);for(var i=0;i=i?(r=h,(l+=1)=i?(r=h,(l+=1)>1,s=a(t[o],e);s<=0?(0===s&&(r=o),n=o+1):s>0&&(i=o-1)}return r}function c(t,e){for(var n=new Array(t.length),r=0,o=n.length;r=t.length||0!==a(t[g],s)););}return n}function h(t,e){if(e<0)return[];for(var n=[],r=(1<>>c&1&&u.push(r[c]);e.push(u)}return s(e)},n.skeleton=h,n.boundary=function(t){for(var e=[],n=0,i=t.length;nt[1]!=u>t[1]&&t[0]<(l-o)*(t[1]-s)/(u-s)+o&&(i=!i)}return i}e.exports=function(t,e){var n=i.getCoord(t),a=e.geometry.coordinates;"Polygon"===e.geometry.type&&(a=[a]);for(var o=0,s=!1;oe?1:0}e.exports=function t(e,n,a,o,s){for(a=a||0,o=o||e.length-1,s=s||r;o>a;){if(o-a>600){var l=o-a+1,u=n-a+1,c=Math.log(l),h=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*h*(l-h)/l)*(u-l/2<0?-1:1),p=Math.max(a,Math.floor(n-u*h/l+d)),f=Math.min(o,Math.floor(n+(l-u)*h/l+d));t(e,n,p,f,s)}var m=e[n],g=a,v=o;for(i(e,a,n),s(e[o],m)>0&&i(e,a,o);g0;)v--}0===s(e[a],m)?i(e,a,v):(v++,i(e,v,o)),v<=n&&(a=v+1),n<=v&&(o=v-1)}}},{}],75:[function(t,e,n){"use strict";e.exports=r;var i=t("quickselect");function r(t,e){if(!(this instanceof r))return new r(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function a(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function m(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(t,e,n,r,a){for(var o,s=[e,n];s.length;)(n=s.pop())-(e=s.pop())<=r||(o=e+Math.ceil((n-e)/r/2)*r,i(t,o,e,n,a),s.push(e,o,o,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],i=this.toBBox;if(!f(t,e))return n;for(var r,a,o,s,l=[];e;){for(r=0,a=e.children.length;r=0&&a[e].children.length>this._maxEntries;)this._split(a,e),e--;this._adjustParentBBoxes(r,a,e)},_split:function(t,e){var n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var a=this._chooseSplitIndex(n,r,i),s=m(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,o(n,this.toBBox),o(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},_splitRoot:function(t,e){this.data=m([t,e]),this.data.height=t.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var i,r,a,o,l,u,c,d,p,f,m,g,v,y;for(u=c=1/0,i=e;i<=n-e;i++)r=s(t,0,i,this.toBBox),a=s(t,i,n,this.toBBox),p=r,f=a,m=void 0,g=void 0,v=void 0,y=void 0,m=Math.max(p.minX,f.minX),g=Math.max(p.minY,f.minY),v=Math.min(p.maxX,f.maxX),y=Math.min(p.maxY,f.maxY),o=Math.max(0,v-m)*Math.max(0,y-g),l=h(r)+h(a),o=e;r--)a=t.children[r],l(c,t.leaf?o(a):a),h+=d(c);return h},_adjustParentBBoxes:function(t,e,n){for(var i=n;i>=0;i--)l(e[i],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():o(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},{quickselect:74}],76:[function(t,e,n){var i=t("@turf/meta");e.exports=function(t){var e={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},n=Object.keys(e).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});function r(t,n,i){i?e[n].coordinates=e[n].coordinates.concat(t.geometry.coordinates):e[n].coordinates.push(t.geometry.coordinates),e[n].properties.push(t.properties)}return i.featureEach(t,(function(t){t.geometry&&(e[t.geometry.type]?r(t,t.geometry.type,!0):n[t.geometry.type]&&r(t,n[t.geometry.type],!1))})),{type:"FeatureCollection",features:Object.keys(e).filter((function(t){return e[t].coordinates.length})).sort().map((function(t){return{type:"Feature",properties:{collectedProperties:e[t].properties},geometry:{type:t,coordinates:e[t].coordinates}}}))}}},{"@turf/meta":77}],77:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],78:[function(t,e,n){var i=t("@turf/tin"),r=t("@turf/union"),a=t("@turf/distance");e.exports=function(t,e,n){if("number"!=typeof e)throw new Error("maxEdge parameter is required");var o=i(t),s=o.features.filter((function(t){var i=t.geometry.coordinates[0][0],r=t.geometry.coordinates[0][1],o=t.geometry.coordinates[0][2],s=a(i,r,n),l=a(r,o,n),u=a(i,o,n);return s<=e&&l<=e&&u<=e}));if(o.features=s,o.features.length<1)throw new Error("too few polygons found to compute concave hull");return function(t){for(var e=JSON.parse(JSON.stringify(t.features[0])),n=t.features,i=0,a=n.length;if&&(f=t[c].y);var m,g=d-h,v=f-p,y=g>v?g:v,_=.5*(d+h),b=.5*(f+p),w=[new a({x:_-20*y,y:b-y,__sentinel:!0},{x:_,y:b+20*y,__sentinel:!0},{x:_+20*y,y:b-y,__sentinel:!0})],x=[],k=[];for(c=t.length;c--;){for(k.length=0,m=w.length;m--;)(g=t[c].x-w[m].x)>0&&g*g>w[m].r?(x.push(w[m]),w.splice(m,1)):(v=t[c].y-w[m].y,g*g+v*v>w[m].r||(k.push(w[m].a,w[m].b,w[m].b,w[m].c,w[m].c,w[m].a),w.splice(m,1)));for(s(k),m=k.length;m;)n=k[--m],e=k[--m],i=t[c],r=n.x-e.x,l=n.y-e.y,u=2*(r*(i.y-n.y)-l*(i.x-n.x)),Math.abs(u)>1e-12&&w.push(new a(e,n,i))}for(Array.prototype.push.apply(x,w),c=x.length;c--;)(x[c].a.__sentinel||x[c].b.__sentinel||x[c].c.__sentinel)&&x.splice(c,1);return x}(t.features.map((function(t){var n={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e&&(n.z=t.properties[e]),n}))).map((function(t){return i([[[t.a.x,t.a.y],[t.b.x,t.b.y],[t.c.x,t.c.y],[t.a.x,t.a.y]]],{a:t.a.z,b:t.b.z,c:t.c.z})})))}},{"@turf/helpers":83}],83:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],84:[function(t,e,n){var i=t("jsts");e.exports=function(){for(var t=new i.io.GeoJSONReader,e=t.read(JSON.stringify(arguments[0].geometry)),n=1;n0&&0!==k)if(k>n[n.length-1])k-=n.length;else{var C=u.greaterNumber(k,n);0!==C&&(k-=C)}if(k!==g){var T=t.features[k];if(void 0===l(e)||T.properties[e]===v.properties[e]){var E=r(v,T);if(!E){var S=JSON.stringify(v),P=JSON.stringify(T),L=c(JSON.parse(S)),I=c(JSON.parse(P));E=s.lineStringsIntersect(L.geometry,I.geometry)}E&&(t.features[g]=i(v,T),n.push(b[x].origIndexPosition),n.sort((function(t,e){return t-e})),d.remove(b[x]),t.features.splice(k,1),_.origIndexPosition=g,d.remove(_,(function(t,e){return t.origIndexPosition===e.origIndexPosition})),w=!0)}}}if(w){var O=a(v);d.insert({minX:O[0],minY:O[1],maxX:O[2],maxY:O[3],origIndexPosition:g}),g--}}return t}},{"@turf/bbox":111,"@turf/union":113,"geojson-utils":115,"get-closest":116,rbush:118,"turf-overlaps":120}],111:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":112,dup:18}],112:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],113:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:114}],114:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],115:[function(t,e,n){!function(){var t=this.gju={};function n(t){for(var e=[],n=[],i=0;ie!=i[a][0]>e&&t<(i[a][1]-i[r][1])*(e-i[r][0])/(i[a][0]-i[r][0])+i[r][1]&&(o=!o);return o}void 0!==e&&e.exports&&(e.exports=t),t.lineStringsIntersect=function(t,e){for(var n=[],i=0;i<=t.coordinates.length-2;++i)for(var r=0;r<=e.coordinates.length-2;++r){var a={x:t.coordinates[i][1],y:t.coordinates[i][0]},o={x:t.coordinates[i+1][1],y:t.coordinates[i+1][0]},s={x:e.coordinates[r][1],y:e.coordinates[r][0]},l={x:e.coordinates[r+1][1],y:e.coordinates[r+1][0]},u=(l.y-s.y)*(o.x-a.x)-(l.x-s.x)*(o.y-a.y);if(0!=u){var c=((l.x-s.x)*(a.y-s.y)-(l.y-s.y)*(a.x-s.x))/u,h=((o.x-a.x)*(a.y-s.y)-(o.y-a.y)*(a.x-s.x))/u;0<=c&&c<=1&&0<=h&&h<=1&&n.push({type:"Point",coordinates:[a.x+c*(o.x-a.x),a.y+c*(o.y-a.y)]})}}return 0==n.length&&(n=!1),n},t.pointInBoundingBox=function(t,e){return!(t.coordinates[1]e[1][0]||t.coordinates[0]e[1][1])},t.pointInPolygon=function(e,r){for(var a="Polygon"==r.type?[r.coordinates]:r.coordinates,o=!1,s=0;si)return!1}return!0},t.area=function(t){for(var e=0,n=t.coordinates[0],i=n.length-1,r=0;r0;)if(a=x[i-1],o=k[i-1],i--,o-a>1){for(h=t[o].lng()-t[a].lng(),d=t[o].lat()-t[a].lat(),Math.abs(h)>180&&(h=360-Math.abs(h)),p=(h*=Math.cos(b*(t[o].lat()+t[a].lat())))*h+d*d,T=a+1,s=a,u=-1;T180&&(f=360-Math.abs(f)),g=(f*=Math.cos(b*(t[T].lat()+t[a].lat())))*f+m*m,v=t[T].lng()-t[o].lng(),y=t[T].lat()-t[o].lat(),Math.abs(v)>180&&(v=360-Math.abs(v)),(l=g>=p+(_=(v*=Math.cos(b*(t[T].lat()+t[o].lat())))*v+y*y)?_:_>=p+g?g:(f*d-m*h)*(f*d-m*h)/p)>u&&(s=T,u=l);u=0&&(void 0===a||o0}},{}],120:[function(t,e,n){var i=t("turf-is-clockwise");function r(t){var e=[[[]]];switch(t.geometry.type){case"LineString":e=[[t.geometry.coordinates]];break;case"Polygon":e=[t.geometry.coordinates];break;case"MultiPolygon":e=t.geometry.coordinates}return e}e.exports=function(t,e){var n=r(t),a=r(e);return n.some((function(t){return a.some((function(e){return t.some((function(t){return e.some((function(e){return function(t,e){for(var n=0;nf&&(v>d&&gd&&vc&&(c=y)}var _=[];if(u&&c0&&Math.abs(x-n[w-1][0])>f){var k=parseFloat(n[w-1][0]),C=parseFloat(n[w-1][1]),T=parseFloat(n[w][0]),E=parseFloat(n[w][1]);if(k>-180&&k-180&&n[w-1][0]d&&k<180&&-180===T&&w+1d&&n[w-1][0]<180){b.push([180,n[w][1]]),w++,b.push([n[w][0],n[w][1]]);continue}if(kd){var S=k;k=T,T=S;var P=C;C=E,E=P}if(k>d&&T=180&&kd?180:-180,I]),(b=[]).push([n[w-1][0]>d?-180:180,I]),_.push(b)}else b=[],_.push(b);b.push([x,n[w][1]])}else b.push([n[w][0],n[w][1]])}}else{var O=[];_.push(O);for(var A=0;Ap/2;k&&(x-=p/4);for(var C=o([]),T=0;T<_;T++)for(var E=0;E<=w;E++){var S=T%2==1;if(!(0===E&&S||0===E&&k)){var P=T*g+t[0]-b,L=E*v+t[1]+x;S&&(L-=p/2),r?C.features.push.apply(C.features,d([P,L],s/2,l/2)):C.features.push(h([P,L],s/2,l/2))}}return C}},{"@turf/distance":143,"@turf/helpers":146}],143:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":144,"@turf/invariant":145,dup:8}],144:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],145:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],146:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],147:[function(t,e,n){var i=t("@turf/distance"),r=t("@turf/square-grid"),a=t("@turf/centroid"),o=t("@turf/bbox");e.exports=function(t,e,n,s,l){if(0!==t.features.filter((function(t){return t.properties&&t.properties.hasOwnProperty(e)})).length){for(var u=r(o(t),s,l),c=u.features.length,h=0;h=i;P--)for(var L=e;L<=n-1;L++){var I,O;if(I=Math.min(t[L][P],t[L][P+1]),O=Math.min(t[L+1][P],t[L+1][P+1]),v=Math.min(I,O),I=Math.max(t[L][P],t[L][P+1]),O=Math.max(t[L+1][P],t[L+1][P+1]),(y=Math.max(I,O))>=l[0]&&v<=l[s-1])for(var A=0;A=v&&l[A]<=y){for(var M=4;M>=0;M--)M>0?(u[M]=t[L+T[M-1]][P+E[M-1]]-l[A],h[M]=a[L+T[M-1]],d[M]=o[P+E[M-1]]):(u[0]=.25*(u[1]+u[2]+u[3]+u[4]),h[0]=.5*(a[L]+a[L+1]),d[0]=.5*(o[P]+o[P+1])),u[M]>1e-10?c[M]=1:u[M]<-1e-10?c[M]=-1:c[M]=0;for(M=1;M<=4;M++)if(m=4!=M?M+1:1,0!=(g=S[c[f=M]+1][c[0]+1][c[m]+1])){switch(g){case 1:w=h[f],k=d[f],x=h[0],C=d[0];break;case 2:w=h[0],k=d[0],x=h[m],C=d[m];break;case 3:w=h[m],k=d[m],x=h[f],C=d[f];break;case 4:w=h[f],k=d[f],x=_(0,m),C=b(0,m);break;case 5:w=h[0],k=d[0],x=_(m,f),C=b(m,f);break;case 6:w=h[m],k=d[m],x=_(f,0),C=b(f,0);break;case 7:w=_(f,0),k=b(f,0),x=_(0,m),C=b(0,m);break;case 8:w=_(0,m),k=b(0,m),x=_(m,f),C=b(m,f);break;case 9:w=_(m,f),k=b(m,f),x=_(f,0),C=b(f,0)}p(w,k,x,C,l[A],A)}}}}},{}],169:[function(t,e,n){var i=t("@turf/tin"),r=t("@turf/inside"),a=t("@turf/point-grid"),o=t("@turf/distance"),s=t("@turf/bbox"),l=t("@turf/planepoint"),u=t("@turf/helpers").featureCollection,c=t("@turf/helpers").lineString,h=t("@turf/helpers").point,d=t("@turf/square"),p=t("./conrec");e.exports=function(t,e,n,f){for(var m=i(t,e),g=s(t),v=d(g),y=o(h([v[0],v[1]]),h([v[2],v[1]]),"kilometers")/n,_=a(v,y,"kilometers"),b=[],w=0;w<_.features.length;w++)for(var x=_.features[w],k=0;k2){var n=[];t.forEach((function(t){n.push([t.x,t.y])}));var i=c(n);i.properties={},i.properties[e]=t.level,D.features.push(i)}})),D}},{"./conrec":168,"@turf/bbox":170,"@turf/distance":172,"@turf/helpers":175,"@turf/inside":176,"@turf/planepoint":178,"@turf/point-grid":179,"@turf/square":186,"@turf/tin":190}],170:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":171,dup:18}],171:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],172:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":173,"@turf/invariant":174,dup:8}],173:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],174:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],175:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],176:[function(t,e,n){arguments[4][72][0].apply(n,arguments)},{"@turf/invariant":177,dup:72}],177:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],178:[function(t,e,n){e.exports=function(t,e){var n=t.geometry.coordinates[0],i=t.geometry.coordinates[1],r=e.geometry.coordinates[0][0][0],a=e.geometry.coordinates[0][0][1],o=e.properties.a,s=e.geometry.coordinates[0][1][0],l=e.geometry.coordinates[0][1][1],u=e.properties.b,c=e.geometry.coordinates[0][2][0],h=e.geometry.coordinates[0][2][1],d=e.properties.c;return(d*(n-r)*(i-l)+o*(n-s)*(i-h)+u*(n-c)*(i-a)-u*(n-r)*(i-h)-d*(n-s)*(i-a)-o*(n-c)*(i-l))/((n-r)*(i-l)+(n-s)*(i-h)+(n-c)*(i-a)-(n-r)*(i-h)-(n-s)*(i-a)-(n-c)*(i-l))}},{}],179:[function(t,e,n){var i=t("@turf/helpers").point,r=t("@turf/helpers").featureCollection,a=t("@turf/distance"),o=t("@turf/bbox");e.exports=function(t,e,n){var s=[];if(!t)throw new Error("bbox is required");if(Array.isArray(t)||(t=o(t)),4!==t.length)throw new Error("bbox must contain 4 numbers");for(var l=t[0],u=t[1],c=t[2],h=t[3],d=e/a(i([l,u]),i([c,u]),n)*(c-l),p=e/a(i([l,u]),i([l,h]),n)*(h-u),f=l;f<=c;){for(var m=u;m<=h;)s.push(i([f,m])),m+=p;f+=d}return r(s)}},{"@turf/bbox":180,"@turf/distance":182,"@turf/helpers":185}],180:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":181,dup:18}],181:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],182:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":183,"@turf/invariant":184,dup:8}],183:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],184:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],185:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],186:[function(t,e,n){var i=t("@turf/distance");e.exports=function(t){var e=t[0],n=t[1],r=t[2],a=t[3];if(i(t.slice(0,2),[r,n])>=i(t.slice(0,2),[e,a])){var o=(n+a)/2;return[e,o-(r-e)/2,r,o+(r-e)/2]}var s=(e+r)/2;return[s-(a-n)/2,n,s+(a-n)/2,a]}},{"@turf/distance":187}],187:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":188,"@turf/invariant":189,dup:8}],188:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],189:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],190:[function(t,e,n){arguments[4][82][0].apply(n,arguments)},{"@turf/helpers":191,dup:82}],191:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],192:[function(t,e,n){var i=t("@turf/helpers").point;e.exports=function(t){var e,n,r={type:"FeatureCollection",features:[]};if("LineString"===(n="Feature"===t.type?t.geometry:t).type)e=[n.coordinates];else if("MultiLineString"===n.type)e=n.coordinates;else if("MultiPolygon"===n.type)e=[].concat.apply([],n.coordinates);else{if("Polygon"!==n.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");e=n.coordinates}return e.forEach((function(t){e.forEach((function(e){for(var n=0;n=0&&g<=1&&(_.onLine1=!0),v>=0&&v<=1&&(_.onLine2=!0),!(!_.onLine1||!_.onLine2)&&[_.x,_.y]));o&&r.features.push(i([o[0],o[1]]))}var s,l,u,c,h,d,p,f,m,g,v,y,_}))})),r}},{"@turf/helpers":193}],193:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],194:[function(t,e,n){var i=t("@turf/line-slice-along"),r=t("@turf/line-distance"),a=t("@turf/helpers").featureCollection,o=t("@turf/meta").featureEach,s=t("@turf/flatten");function l(t,e,n){var a=[],o=r(t,n);if(o<=e)return[t];for(var s=Math.floor(o/e)+1,l=0;l=p&&f===l.length-1);f++){if(p>e&&0===u.length){if(!(c=e-p))return u.push(l[f]),o(u);h=i(l[f],l[f-1])-180,d=a(l[f],c,h,s),u.push(d.geometry.coordinates)}if(p>=n)return(c=n-p)?(h=i(l[f],l[f-1])-180,d=a(l[f],c,h,s),u.push(d.geometry.coordinates),o(u)):(u.push(l[f]),o(u));if(p>=e&&u.push(l[f]),f===l.length-1)return o(u);p+=r(l[f],l[f+1],s)}return o(l[l.length-1])}},{"@turf/bearing":211,"@turf/destination":213,"@turf/distance":216,"@turf/helpers":219}],211:[function(t,e,n){arguments[4][3][0].apply(n,arguments)},{"@turf/invariant":212,dup:3}],212:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],213:[function(t,e,n){arguments[4][5][0].apply(n,arguments)},{"@turf/helpers":214,"@turf/invariant":215,dup:5}],214:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],215:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],216:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":217,"@turf/invariant":218,dup:8}],217:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],218:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],219:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],220:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],221:[function(t,e,n){arguments[4][200][0].apply(n,arguments)},{"@turf/distance":222,"@turf/flatten":225,"@turf/helpers":229,"@turf/meta":230,dup:200}],222:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":223,"@turf/invariant":224,dup:8}],223:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],224:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],225:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":226,"@turf/invariant":227,"@turf/meta":228,dup:132}],226:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],227:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],228:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],229:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],230:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],231:[function(t,e,n){var i=t("@turf/helpers"),r=t("@turf/meta"),a=t("@turf/line-segment"),o=t("@turf/invariant").getCoords,s=t("geojson-rbush"),l=i.point,u=i.featureCollection,c=r.featureEach;function h(t,e){var n=o(t),i=o(e);if(2!==n.length)throw new Error(" line1 must only contain 2 coordinates");if(2!==i.length)throw new Error(" line2 must only contain 2 coordinates");var r=n[0][0],a=n[0][1],s=n[1][0],u=n[1][1],c=i[0][0],h=i[0][1],d=i[1][0],p=i[1][1],f=(p-h)*(s-r)-(d-c)*(u-a),m=(d-c)*(a-h)-(p-h)*(r-c),g=(s-r)*(a-h)-(u-a)*(r-c);if(0===f)return null;var v=m/f,y=g/f;return v>=0&&v<=1&&y>=0&&y<=1?l([r+v*(s-r),a+v*(u-a)]):null}e.exports=function(t,e){var n=[];if("LineString"===t.geometry.type&&"LineString"===e.geometry.type&&2===t.geometry.coordinates.length&&2===e.geometry.coordinates.length){var i=h(t,e);return i&&n.push(i),u(n)}var r=s();return r.load(a(e)),c(a(t),(function(t){c(r.search(t),(function(e){var i=h(t,e);i&&n.push(i)}))})),u(n)}},{"@turf/helpers":233,"@turf/invariant":234,"@turf/line-segment":235,"@turf/meta":243,"geojson-rbush":244}],232:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":243,dup:18}],233:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],234:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],235:[function(t,e,n){var i=t("@turf/flatten"),r=t("@turf/meta").featureEach,a=t("@turf/helpers").lineString,o=t("@turf/helpers").featureCollection,s=t("@turf/invariant").getCoords;e.exports=function(t){var e=[],n=0;return r(t,(function(t){r(i(t),(function(t){var i=[];switch(t.geometry?t.geometry.type:t.type){case"Polygon":i=s(t);break;case"LineString":i=[s(t)]}i.forEach((function(i){(function(t,e){var n=[];return t.reduce((function(t,i){var r,o,s,l,u,c,h=a([t,i],e);return h.bbox=(o=i,s=(r=t)[0],l=r[1],u=o[0],c=o[1],[su?s:u,l>c?l:c]),n.push(h),i})),n})(i,t.properties).forEach((function(t){t.id=n,e.push(t),n++}))}))}))})),o(e)}},{"@turf/flatten":236,"@turf/helpers":240,"@turf/invariant":241,"@turf/meta":242}],236:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":237,"@turf/invariant":238,"@turf/meta":239,dup:132}],237:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],238:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],239:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],240:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],241:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],242:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],243:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],244:[function(t,e,n){var i=t("@turf/bbox"),r=t("@turf/helpers").featureCollection,a=t("@turf/meta").featureEach,o=t("rbush");e.exports=function(t){var e=o(t);return e.insert=function(t){return t.bbox=t.bbox?t.bbox:i(t),o.prototype.insert.call(this,t)},e.load=function(t){var e=[];return a(t,(function(t){t.bbox=t.bbox?t.bbox:i(t),e.push(t)})),o.prototype.load.call(this,e)},e.remove=function(t){return o.prototype.remove.call(this,t)},e.clear=function(){return o.prototype.clear.call(this)},e.search=function(t){var e=o.prototype.search.call(this,this.toBBox(t));return r(e)},e.collides=function(t){return o.prototype.collides.call(this,this.toBBox(t))},e.all=function(){var t=o.prototype.all.call(this);return r(t)},e.toJSON=function(){return o.prototype.toJSON.call(this)},e.fromJSON=function(t){return o.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e=t.bbox?t.bbox:i(t);return{minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}},{"@turf/bbox":232,"@turf/helpers":233,"@turf/meta":243,rbush:246}],245:[function(t,e,n){arguments[4][74][0].apply(n,arguments)},{dup:74}],246:[function(t,e,n){arguments[4][75][0].apply(n,arguments)},{dup:75,quickselect:245}],247:[function(t,e,n){arguments[4][235][0].apply(n,arguments)},{"@turf/flatten":248,"@turf/helpers":252,"@turf/invariant":253,"@turf/meta":254,dup:235}],248:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":249,"@turf/invariant":250,"@turf/meta":251,dup:132}],249:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],250:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],251:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],252:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],253:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],254:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],255:[function(t,e,n){arguments[4][210][0].apply(n,arguments)},{"@turf/bearing":256,"@turf/destination":258,"@turf/distance":261,"@turf/helpers":264,dup:210}],256:[function(t,e,n){arguments[4][3][0].apply(n,arguments)},{"@turf/invariant":257,dup:3}],257:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],258:[function(t,e,n){arguments[4][5][0].apply(n,arguments)},{"@turf/helpers":259,"@turf/invariant":260,dup:5}],259:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],260:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],261:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":262,"@turf/invariant":263,dup:8}],262:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],263:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],264:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],265:[function(t,e,n){var i=t("@turf/helpers").lineString,r=t("@turf/point-on-line");e.exports=function(t,e,n){var a;if("Feature"===n.type)a=n.geometry.coordinates;else{if("LineString"!==n.type)throw new Error("input must be a LineString Feature or Geometry");a=n.coordinates}var o,s=r(n,t),l=r(n,e);o=s.properties.index<=l.properties.index?[s,l]:[l,s];for(var u=i([o[0].geometry.coordinates],{}),c=o[0].properties.index+1;c0&&v<1&&(b.onLine1=!0),y>0&&y<1&&(b.onLine2=!0),!(!b.onLine1||!b.onLine2)&&[b.x,b.y]));A&&((E=r(A)).properties.dist=i(e,E,n),E.properties.location=x+i(C,w,n)),C.properties.dist0){var c=o.map((function(t){return l[t.index]=!0,e.remove({index:t.index},u),t.geojson}));c.push(t),t=s.apply(this,c)}if(0===o.length)break}n.push(t)})),o.featureCollection(n)}function u(t,e){return t.index===e.index}e.exports=function(t,e){var n=function(t){var e=t&&t.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]];return o.polygon(e)}(e),r=function(t){var e=[],n=[];return i(t,(function(t){var r;"MultiPolygon"===t.geometry.type&&(r=[],t.geometry.coordinates.forEach((function(t){r.push(o.polygon(t))})),t=o.featureCollection(r)),i(t,(function(t){var i=t.geometry.coordinates,r=i[0],a=i.slice(1);e.push(o.polygon([r])),a.forEach((function(t){n.push(o.polygon([t]))}))}))})),[o.featureCollection(e),o.featureCollection(n)]}(t),a=r[0],s=r[1];return function(t,e,n){var r=[];return r.push(t.geometry.coordinates[0]),i(e,(function(t){r.push(t.geometry.coordinates[0])})),i(n,(function(t){r.push(t.geometry.coordinates[0])})),o.polygon(r)}(n,a=l(a),s=l(s))}},{"@turf/bbox":278,"@turf/helpers":280,"@turf/meta":281,"@turf/union":282,rbush:285}],278:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":279,dup:18}],279:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],280:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],281:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],282:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:283}],283:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],284:[function(t,e,n){arguments[4][74][0].apply(n,arguments)},{dup:74}],285:[function(t,e,n){arguments[4][75][0].apply(n,arguments)},{dup:75,quickselect:284}],286:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],287:[function(t,e,n){var i=t("@turf/bearing"),r=t("@turf/destination"),a=t("@turf/distance");e.exports=function(t,e){var n=a(t,e,"miles"),o=i(t,e);return r(t,n/2,o,"miles")}},{"@turf/bearing":288,"@turf/destination":290,"@turf/distance":293}],288:[function(t,e,n){arguments[4][3][0].apply(n,arguments)},{"@turf/invariant":289,dup:3}],289:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],290:[function(t,e,n){arguments[4][5][0].apply(n,arguments)},{"@turf/helpers":291,"@turf/invariant":292,dup:5}],291:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],292:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],293:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":294,"@turf/invariant":295,dup:8}],294:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],295:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],296:[function(t,e,n){var i=t("@turf/distance");e.exports=function(t,e){for(var n,r=1/0,a=0;a0?t+n[e-1]:t}function p(t,e){t=2*t*Math.PI/u[u.length-1];var i=Math.random();l.push([i*n*Math.sin(t),i*n*Math.cos(t)])}return h(s)}},{}],334:[function(t,e,n){var i=t("@turf/helpers").featureCollection;e.exports=function(t,e){return i(function(t,e){for(var n,i,r=t.slice(0),a=t.length,o=a-e;a-- >o;)i=Math.floor((a+1)*Math.random()),n=r[i],r[i]=r[a],r[a]=n;return r.slice(o)}(t.features,e))}},{"@turf/helpers":335}],335:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],336:[function(t,e,n){var i=t("simplify-js"),r=["LineString","MultiLineString","Polygon","MultiPolygon"];function a(t,e,n){return"LineString"===t.geometry.type?{type:"LineString",coordinates:l(t.geometry.coordinates,e,n)}:"MultiLineString"===t.geometry.type?{type:"MultiLineString",coordinates:t.geometry.coordinates.map((function(t){return l(t,e,n)}))}:"Polygon"===t.geometry.type?{type:"Polygon",coordinates:u(t.geometry.coordinates,e,n)}:"MultiPolygon"===t.geometry.type?{type:"MultiPolygon",coordinates:t.geometry.coordinates.map((function(t){return u(t,e,n)}))}:t}function o(t){return!(t.length<3||3===t.length&&t[2][0]===t[0][0]&&t[2][1]===t[0][1])}function s(t,e){return{type:"Feature",geometry:t,properties:e}}function l(t,e,n){return i(t.map((function(t){return{x:t[0],y:t[1],z:t[2]}})),e,n).map((function(t){return t.z?[t.x,t.y,t.z]:[t.x,t.y]}))}function u(t,e,n){return t.map((function(t){var r=t.map((function(t){return{x:t[0],y:t[1]}}));if(r.length<4)throw new Error("Invalid polygon");for(var a=i(r,e,n).map((function(t){return[t.x,t.y]}));!o(a);)a=i(r,e-=.01*e,n).map((function(t){return[t.x,t.y]}));return a[a.length-1][0]===a[0][0]&&a[a.length-1][1]===a[0][1]||a.push(a[0]),a}))}e.exports=function(t,e,n){return"Feature"===t.type?s(a(t,e,n),t.properties):"FeatureCollection"===t.type?{type:"FeatureCollection",features:t.features.map((function(t){var i=a(t,e,n);return r.indexOf(i.type)>-1?s(i,t.properties):i}))}:"GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map((function(t){return r.indexOf(t.type)>-1?a({type:"Feature",geometry:t},e,n):t}))}:t}},{"simplify-js":337}],337:[function(t,e,n){!function(){"use strict";function t(t,e,n){var i=e.x,r=e.y,a=n.x-i,o=n.y-r;if(0!==a||0!==o){var s=((t.x-i)*a+(t.y-r)*o)/(a*a+o*o);s>1?(i=n.x,r=n.y):s>0&&(i+=a*s,r+=o*s)}return(a=t.x-i)*a+(o=t.y-r)*o}function n(e,n,i){var r=void 0!==n?n*n:1;return e=function(e,n){var i,r,a,o,s=e.length,l=new("undefined"!=typeof Uint8Array?Uint8Array:Array)(s),u=0,c=s-1,h=[],d=[];for(l[u]=l[c]=1;c;){for(r=0,i=u+1;ir&&(o=i,r=a);r>n&&(l[o]=1,h.push(u,o,o,c)),c=h.pop(),u=h.pop()}for(i=0;ie&&(l.push(n),s=n);return s!==n&&l.push(n),l}(e,r),r)}void 0!==e?e.exports=n:"undefined"!=typeof self?self.simplify=n:window.simplify=n}()},{}],338:[function(t,e,n){arguments[4][156][0].apply(n,arguments)},{"@turf/bbox":339,"@turf/distance":341,"@turf/helpers":344,dup:156}],339:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":340,dup:18}],340:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],341:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":342,"@turf/invariant":343,dup:8}],342:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],343:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],344:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],345:[function(t,e,n){arguments[4][186][0].apply(n,arguments)},{"@turf/distance":346,dup:186}],346:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":347,"@turf/invariant":348,dup:8}],347:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],348:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],349:[function(t,e,n){var i=t("@turf/inside");e.exports=function(t,e,n,r){return t=JSON.parse(JSON.stringify(t)),e=JSON.parse(JSON.stringify(e)),t.features.forEach((function(t){t.properties||(t.properties={}),e.features.forEach((function(e){void 0===t.properties[r]&&i(t,e)&&(t.properties[r]=e.properties[n])}))})),t}},{"@turf/inside":350}],350:[function(t,e,n){arguments[4][72][0].apply(n,arguments)},{"@turf/invariant":351,dup:72}],351:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],352:[function(t,e,n){var i=t("@turf/helpers").polygon,r=t("earcut");function a(t){var e=function(t){for(var e=t[0][0].length,n={vertices:[],holes:[],dimensions:e},i=0,r=0;r0&&(i+=t[r-1].length,n.holes.push(i))}return n}(t),n=r(e.vertices,e.holes,2),a=[],o=[];n.forEach((function(t,i){var r=n[i];o.push([e.vertices[2*r],e.vertices[2*r+1]])}));for(var s=0;s80*n){i=l=t[0],s=u=t[1];for(var b=n;bl&&(l=c),p>u&&(u=p);m=Math.max(l-i,u-s)}return o(y,_,n,i,s,m),_}function r(t,e,n,i,r){var a,o;if(r===T(t,e,n,i)>0)for(a=e;a=e;a-=i)o=x(a,t[a],t[a+1],o);return o&&y(o,o.next)&&(k(o),o=o.next),o}function a(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!y(i,i.next)&&0!==v(i.prev,i,i.next))i=i.next;else{if(k(i),(i=e=i.prev)===i.next)return null;n=!0}}while(n||i!==e);return e}function o(t,e,n,i,r,h,d){if(t){!d&&h&&function(t,e,n,i){var r=t;do{null===r.z&&(r.z=p(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,a,o,s,l,u=1;do{for(n=t,t=null,a=null,o=0;n;){for(o++,i=n,s=0,e=0;e0||l>0&&i;)0===s?(r=i,i=i.nextZ,l--):0!==l&&i?n.z<=i.z?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--):(r=n,n=n.nextZ,s--),a?a.nextZ=r:t=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(o>1)}(r)}(t,i,r,h);for(var f,m,g=t;t.prev!==t.next;)if(f=t.prev,m=t.next,h?l(t,i,r,h):s(t))e.push(f.i/n),e.push(t.i/n),e.push(m.i/n),k(t),t=m.next,g=m.next;else if((t=m)===g){d?1===d?o(t=u(t,e,n),e,n,i,r,h,2):2===d&&c(t,e,n,i,r,h):o(a(t),e,n,i,r,h,1);break}}}function s(t){var e=t.prev,n=t,i=t.next;if(v(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(m(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&v(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function l(t,e,n,i){var r=t.prev,a=t,o=t.next;if(v(r,a,o)>=0)return!1;for(var s=r.xa.x?r.x>o.x?r.x:o.x:a.x>o.x?a.x:o.x,c=r.y>a.y?r.y>o.y?r.y:o.y:a.y>o.y?a.y:o.y,h=p(s,l,e,n,i),d=p(u,c,e,n,i),f=t.nextZ;f&&f.z<=d;){if(f!==t.prev&&f!==t.next&&m(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;f=f.nextZ}for(f=t.prevZ;f&&f.z>=h;){if(f!==t.prev&&f!==t.next&&m(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&v(f.prev,f,f.next)>=0)return!1;f=f.prevZ}return!0}function u(t,e,n){var i=t;do{var r=i.prev,a=i.next.next;!y(r,a)&&_(r,i,i.next,a)&&b(r,a)&&b(a,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(a.i/n),k(i),k(i.next),i=t=a),i=i.next}while(i!==t);return i}function c(t,e,n,i,r,s){var l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&g(l,u)){var c=w(l,u);return l=a(l,l.next),c=a(c,c.next),o(l,e,n,i,r,s),void o(c,e,n,i,r,s)}u=u.next}l=l.next}while(l!==t)}function h(t,e){return t.x-e.x}function d(t,e){if(e=function(t,e){var n,i=e,r=t.x,a=t.y,o=-1/0;do{if(a<=i.y&&a>=i.next.y){var s=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>o){if(o=s,s===r){if(a===i.y)return i;if(a===i.next.y)return i.next}n=i.x=i.x&&i.x>=c&&m(an.x)&&b(i,t)&&(n=i,d=l),i=i.next;return n}(t,e)){var n=w(e,t);a(n,n.next)}}function p(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)/r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)/r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function f(t){var e=t,n=t;do{e.x=0&&(t-o)*(i-s)-(n-o)*(e-s)>=0&&(n-o)*(a-s)-(r-o)*(i-s)>=0}function g(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&_(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&b(t,e)&&b(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,a=(t.y+e.y)/2;do{n.y>a!=n.next.y>a&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)}function v(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function y(t,e){return t.x===e.x&&t.y===e.y}function _(t,e,n,i){return!!(y(t,e)&&y(n,i)||y(t,i)&&y(n,e))||v(t,e,n)>0!=v(t,e,i)>0&&v(n,i,t)>0!=v(n,i,e)>0}function b(t,e){return v(t.prev,t,t.next)<0?v(t,e,t.next)>=0&&v(t,t.prev,e)>=0:v(t,e,t.prev)<0||v(t,t.next,e)<0}function w(t,e){var n=new C(t.i,t.x,t.y),i=new C(e.i,e.x,e.y),r=t.next,a=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function x(t,e,n,i){var r=new C(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function k(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function C(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function T(t,e,n,i){for(var r=0,a=e,o=n-i;a0&&(i+=t[r-1].length,n.holes.push(i))}return n}},{}],355:[function(t,e,n){arguments[4][82][0].apply(n,arguments)},{"@turf/helpers":356,dup:82}],356:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],357:[function(t,e,n){var i=t("@turf/helpers").featureCollection,r=t("@turf/helpers").polygon,a=t("@turf/distance");e.exports=function(t,e,n){for(var o=i([]),s=e/a([t[0],t[1]],[t[2],t[1]],n)*(t[2]-t[0]),l=e/a([t[0],t[1]],[t[0],t[3]],n)*(t[3]-t[1]),u=0,c=t[0];c<=t[2];){for(var h=0,d=t[1];d<=t[3];)u%2==0&&h%2==0?o.features.push(r([[[c,d],[c,d+l],[c+s,d],[c,d]]]),r([[[c,d+l],[c+s,d+l],[c+s,d],[c,d+l]]])):u%2==0&&h%2==1?o.features.push(r([[[c,d],[c+s,d+l],[c+s,d],[c,d]]]),r([[[c,d],[c,d+l],[c+s,d+l],[c,d]]])):h%2==0&&u%2==1?o.features.push(r([[[c,d],[c,d+l],[c+s,d+l],[c,d]]]),r([[[c,d],[c+s,d+l],[c+s,d],[c,d]]])):h%2==1&&u%2==1&&o.features.push(r([[[c,d],[c,d+l],[c+s,d],[c,d]]]),r([[[c,d+l],[c+s,d+l],[c+s,d],[c,d+l]]])),d+=l,h++;u++,c+=s}return o}},{"@turf/distance":358,"@turf/helpers":361}],358:[function(t,e,n){arguments[4][8][0].apply(n,arguments)},{"@turf/helpers":359,"@turf/invariant":360,dup:8}],359:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],360:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],361:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],362:[function(t,e,n){function i(t,e,n){return void 0!==n&&(t.geometry.coordinates=function t(e,n,i){return"object"!==l(e[0])?e.slice(n,i):e.map((function(e){return t(e,n,i)}))}(t.geometry.coordinates,0,n)),t.geometry.coordinates=function t(e,n){return e.map((function(e){return"object"===l(e)?t(e,n):Number(e.toFixed(n))}))}(t.geometry.coordinates,e),t}e.exports=function(t,e,n){if(e=e||6,n=n||2,void 0===t)throw new Error("layer is required");switch(t.type){case"FeatureCollection":return t.features=t.features.map((function(t){return i(t,e,n)})),t;case"Feature":return i(t,e,n);default:throw new Error("invalid type")}}},{}],363:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:364}],364:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],365:[function(t,e,n){var i=t("simplepolygon"),r=t("@turf/flatten"),a=t("@turf/meta").featureEach,o=t("@turf/helpers").featureCollection;e.exports=function(t){var e=o([]);return a(t,(function(t){"MultiPolygon"===t.geometry.type&&(t=r(t)),a(t,(function(t){var n=i(t);a(n,(function(n){n.properties=t.properties?t.properties:{},e.features.push(n)}))}))})),e}},{"@turf/flatten":370,"@turf/helpers":374,"@turf/meta":375,simplepolygon:383}],366:[function(t,e,n){arguments[4][12][0].apply(n,arguments)},{"@mapbox/geojson-area":367,"@turf/meta":368,dup:12}],367:[function(t,e,n){arguments[4][13][0].apply(n,arguments)},{dup:13,wgs84:369}],368:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],369:[function(t,e,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],370:[function(t,e,n){arguments[4][132][0].apply(n,arguments)},{"@turf/helpers":371,"@turf/invariant":372,"@turf/meta":373,dup:132}],371:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],372:[function(t,e,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],373:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],374:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],375:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],376:[function(t,e,n){var i=t("@turf/inside"),r=t("@turf/helpers").featureCollection;e.exports=function(t,e){for(var n=r([]),a=0;a=1||f<=0||m>=1||m<=0)){var g=p,v=!s[g];v&&(s[g]=!0),e?o.push(e(p,t,n,u,c,f,i,l,h,d,m,v)):o.push(p)}}}function m(t,e){var n=a[t][e],i=a[t][e+1];if(n[0]x[e.isect].coord?-1:1})),Z(),_=[];I.length>0;){var N=I.pop(),D=N.isect,R=N.parent,j=N.winding,F=_.length,B=[x[D].coord],U=D;if(x[D].ringAndEdge1Walkable)var q=x[D].ringAndEdge1,$=x[D].nxtIsectAlongRingAndEdge1;else q=x[D].ringAndEdge2,$=x[D].nxtIsectAlongRingAndEdge2;for(;!d(x[D].coord,x[$].coord);){B.push(x[$].coord);var G=void 0;for(f=0;f1)for(e=0;e=0==e}function h(t){for(var e=0,n=0;n=0;s--)if(l[s]!=u[s])return!1;for(s=l.length-1;s>=0;s--)if(o=l[s],!h(t[o],e[o]))return!1;return!0}(t,e):t==e}function d(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function p(t,e){return!(!t||!e)&&("[object RegExp]"==Object.prototype.toString.call(e)?e.test(t):t instanceof e||!0===e.call({},t))}function f(t,e,n,r){var a;i.isString(n)&&(r=n,n=null);try{e()}catch(t){a=t}if(r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!a&&u(a,n,"Missing expected exception"+r),!t&&p(a,n)&&u(a,n,"Got unwanted exception"+r),t&&a&&n&&!p(a,n)||!t&&a)throw a}o.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return l(JSON.stringify(t.actual,s),128)+" "+t.operator+" "+l(JSON.stringify(t.expected,s),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||u;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var i=n.stack,r=e.name,a=i.indexOf("\n"+r);if(a>=0){var o=i.indexOf("\n",a+1);i=i.substring(o+1)}this.stack=i}}},i.inherits(o.AssertionError,Error),o.fail=u,o.ok=c,o.equal=function(t,e,n){t!=e&&u(t,e,n,"==",o.equal)},o.notEqual=function(t,e,n){t==e&&u(t,e,n,"!=",o.notEqual)},o.deepEqual=function(t,e,n){h(t,e)||u(t,e,n,"deepEqual",o.deepEqual)},o.notDeepEqual=function(t,e,n){h(t,e)&&u(t,e,n,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(t,e,n){t!==e&&u(t,e,n,"===",o.strictEqual)},o.notStrictEqual=function(t,e,n){t===e&&u(t,e,n,"!==",o.notStrictEqual)},o.throws=function(t,e,n){f.apply(this,[!0].concat(r.call(arguments)))},o.doesNotThrow=function(t,e){f.apply(this,[!1].concat(r.call(arguments)))},o.ifError=function(t){if(t)throw t};var m=Object.keys||function(t){var e=[];for(var n in t)a.call(t,n)&&e.push(n);return e}},{"util/":392}],389:[function(t,e,n){var i=e.exports={},r=[],a=!1;function o(){if(!a){var t;a=!0;for(var e=r.length;e;){t=r,r=[];for(var n=-1;++n=a)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}})),l=i[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(e)?n.showHidden=e:e&&i._extend(n,e),_(n.showHidden)&&(n.showHidden=!1),_(n.depth)&&(n.depth=2),_(n.colors)&&(n.colors=!1),_(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),h(n,t,n.depth)}function u(t,e){var n=s.styles[e];return n?"["+s.colors[n][0]+"m"+t+"["+s.colors[n][1]+"m":t}function c(t,e){return t}function h(t,e,n){if(t.customInspect&&e&&C(e.inspect)&&e.inspect!==i.inspect&&(!e.constructor||e.constructor.prototype!==e)){var r=e.inspect(n,t);return y(r)||(r=h(t,r,n)),r}var a=function(t,e){if(_(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}(t,e);if(a)return a;var o=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),k(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(e);if(0===o.length){if(C(e)){var l=e.name?": "+e.name:"";return t.stylize("[Function"+l+"]","special")}if(b(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(x(e))return t.stylize(Date.prototype.toString.call(e),"date");if(k(e))return d(e)}var u,c="",w=!1,T=["{","}"];return f(e)&&(w=!0,T=["[","]"]),C(e)&&(c=" [Function"+(e.name?": "+e.name:"")+"]"),b(e)&&(c=" "+RegExp.prototype.toString.call(e)),x(e)&&(c=" "+Date.prototype.toUTCString.call(e)),k(e)&&(c=" "+d(e)),0!==o.length||w&&0!=e.length?n<0?b(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=w?function(t,e,n,i,r){for(var a=[],o=0,s=e.length;o60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(u,c,T)):T[0]+c+T[1]}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,i,r,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),E(i,r)||(o="["+r+"]"),s||(t.seen.indexOf(l.value)<0?(s=g(n)?h(t,l.value,null):h(t,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),_(o)){if(a&&r.match(/^\d+$/))return s;(o=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function f(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function g(t){return null===t}function v(t){return"number"==typeof t}function y(t){return"string"==typeof t}function _(t){return void 0===t}function b(t){return w(t)&&"[object RegExp]"===T(t)}function w(t){return"object"===l(t)&&null!==t}function x(t){return w(t)&&"[object Date]"===T(t)}function k(t){return w(t)&&("[object Error]"===T(t)||t instanceof Error)}function C(t){return"function"==typeof t}function T(t){return Object.prototype.toString.call(t)}function E(t,e){return Object.prototype.hasOwnProperty.call(t,e)}i.debuglog=function(t){return _(a)&&(a=e.env.NODE_DEBUG||""),t=t.toUpperCase(),o[t]||(new RegExp("\\b"+t+"\\b","i").test(a)?(e.pid,o[t]=function(){i.format.apply(i,arguments)}):o[t]=function(){}),o[t]},i.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},i.isArray=f,i.isBoolean=m,i.isNull=g,i.isNullOrUndefined=function(t){return null==t},i.isNumber=v,i.isString=y,i.isSymbol=function(t){return"symbol"===l(t)},i.isUndefined=_,i.isRegExp=b,i.isObject=w,i.isDate=x,i.isError=k,i.isFunction=C,i.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===l(t)||void 0===t},i.isBuffer=t("./support/isBuffer"),i.log=function(){},i.inherits=t("inherits"),i._extend=function(t,e){if(!e||!w(e))return t;for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t}}).call(this,t("_process"),void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":391,_process:389,inherits:390}]},{},[1])(1)},"object"===l(e)&&void 0!==t?t.exports=s():(a=[],void 0===(o="function"==typeof(r=s)?r.apply(e,a):r)||(t.exports=o))}).call(this,n("yLpj"))},L2JU:function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach((function(n){a[n]=i(t[n],e)})),a}function r(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var o=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(t,e){this._children[t]=e},o.prototype.removeChild=function(t){delete this._children[t]},o.prototype.getChild=function(t){return this._children[t]},o.prototype.hasChild=function(t){return t in this._children},o.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},o.prototype.forEachChild=function(t){r(this._children,t)},o.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},o.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},o.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(o.prototype,s);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},l.prototype.update=function(t){!function t(e,n,i){0;if(n.update(i),i.modules)for(var r in i.modules){if(!n.getChild(r))return void 0;t(e.concat(r),n.getChild(r),i.modules[r])}}([],this.root,t)},l.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var a=new o(e,n);0===t.length?this.root=a:this.get(t.slice(0,-1)).addChild(t[t.length-1],a);e.modules&&r(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return e.hasChild(n)};var u;var c=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,s=this.commit;this.dispatch=function(t,e){return o.call(a,t,e)},this.commit=function(t,e,n){return s.call(a,t,e,n)},this.strict=r;var c=this._modules.root.state;m(this,c,[],this._modules.root),f(this,c),i.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},h={state:{configurable:!0}};function d(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;m(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,o={};r(a,(function(e,n){o[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:o}),u.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function m(t,e,n,i,r){var a=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=i),!a&&!r){var s=g(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){u.set(s,l,i.state)}))}var c=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var a=v(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=e+l),t.dispatch(l,o)},commit:i?t.commit:function(n,i,r){var a=v(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=e+l),t.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return g(t.state,n)}}}),r}(t,o,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,o+n,e,c)})),i.forEachAction((function(e,n){var i=e.root?n:o+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=a)&&"function"==typeof r.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,r,c)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,o+n,e,c)})),i.forEachChild((function(i,a){m(t,e,n.concat(a),i,r)}))}function g(t,e){return e.reduce((function(t,e){return t[e]}),t)}function v(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function y(t){u&&t===u||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(u=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},c.prototype.commit=function(t,e,n){var i=this,r=v(t,e,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},c.prototype.dispatch=function(t,e){var n=this,i=v(t,e),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,n.state)}))}catch(t){0}var l=s.length>1?Promise.all(s.map((function(t){return t(a)}))):s[0](a);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,n.state,t)}))}catch(t){0}e(t)}))}))}},c.prototype.subscribe=function(t,e){return d(t,this._subscribers,e)},c.prototype.subscribeAction=function(t,e){return d("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},c.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},c.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},c.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},c.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=g(e.state,t.slice(0,-1));u.delete(n,t[t.length-1])})),p(this)},c.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},c.prototype.hotUpdate=function(t){this._modules.update(t),p(this,!0)},c.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(c.prototype,h);var _=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=T(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),b=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var a=T(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),w=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||T(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),x=C((function(t,e){var n={};return k(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var a=T(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));function k(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function C(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function T(t,e,n){return t._modulesNamespaceMap[n]}function E(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function S(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function P(){var t=new Date;return" @ "+L(t.getHours(),2)+":"+L(t.getMinutes(),2)+":"+L(t.getSeconds(),2)+"."+L(t.getMilliseconds(),3)}function L(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var I={Store:c,install:y,version:"3.5.1",mapState:_,mapMutations:b,mapGetters:w,mapActions:x,createNamespacedHelpers:function(t){return{mapState:_.bind(null,t),mapGetters:w.bind(null,t),mapMutations:b.bind(null,t),mapActions:x.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var a=t.mutationTransformer;void 0===a&&(a=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var h=i(t.state);void 0!==c&&(l&&t.subscribe((function(t,o){var s=i(o);if(n(t,h,s)){var l=P(),u=a(t),d="mutation "+t.type+l;E(c,d,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),S(c)}h=s})),u&&t.subscribeAction((function(t,n){if(o(t,n)){var i=P(),r=s(t),a="action "+t.type+i;E(c,a,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),S(c)}})))}}};e.a=I}).call(this,n("yLpj"))},LB33:function(t,e,n){"use strict";var i=n("55Cu");n.n(i).a},LYk4:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flex {\n display: flex;\n}\n.hoverable {\n cursor: pointer;\n}\n.hoverable:hover {\n background-color: whitesmoke;\n}\n.p1em {\n padding: 1em;\n}\n.lang-flag {\n max-height: 1.25em !important;\n margin-right: 1em;\n}\n.lang-flag-small {\n max-height: 1em !important;\n margin-right: 0.5em;\n}",""])},Lb50:function(t){t.exports=JSON.parse('{"maps1":"Tunaunda Taarifa Huria juu ya Uchafuzi wa Plastiki","maps2":"Mtu yeyote anaweza kupakua taarifa na kuitumia.","maps3":"Tazama Ramani ya Ulimwengu","global-leaderboard":"Ubao wa Wanaoongoza Ulimwenguni","position":"Nafasi","name":"Jina","xp":"XP","social":"Jamii","previous-target":"Lengo la awali","next-target":"Lengo lifutalo","litter":"Taka","total-verified-litter":"Jumla ya taka","total-verified-photos":"Jumla ya picha","total-littercoin-issued":"Jumla ya Littercoin","number-of-contributors":"Idadi ya wachangiaji","avg-img-per-person":"Wastani wa Picha kwa Kila Mtu","avg-litter-per-person":"Wastani wa Takataka kwa kila Mtu","leaderboard":"Ubao wa wanaoongoza","time-series":"Mfululizo wa wakati","options":"Chaguo","most-data":"Lebo nyingi za Takataka","most-data-person":"Lebo vingi za Takataka kwa mtu mmoja","download-open-verified-data":"Taarifa za Sayansi ya Mwananchi zilizoidhinishwa Huru na Huria kuhusu Uchafuzi wa Plastiki.","stop-plastic-ocean":"Tutokomeze plastiki kuingia baharini.","enter-email-sent-data":"Tafadhali weka barua pepe ambayo taarifa zitatumwa:"}')},LcUr:function(t){t.exports=JSON.parse('{"description":"Ezek a linkek minden feltöltött fotón megjelennek a Globális térképen. Kérjük, adjon meg teljes URL-eket.","personal-website":"Személyes Weboldal","personal-website-url":"Személyes webhely URL-je"}')},LhuG:function(t){t.exports=JSON.parse('{"change-details":"Alterar Dados Pessoais","your-name":"Seu nome","unique-id":"Identificador único","email":"Email","update-details":"Detalhes de atualização"}')},LiCP:function(t,e,n){"use strict";(function(t,i){n.d(e,"e",(function(){return r})),n.d(e,"g",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return h}));var r="undefined"!=typeof window?window:t.exports&&void 0!==i?i:{},a=function(t){var e={},n=t.document,i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(i.TweenLite)return i.TweenLite;var r,a,o,s,l,u,c,h=function(t){var e,n=t.split("."),r=i;for(e=0;e-1;)(l=g[n[p]]||new v(n[p],[])).gsClass?(o[p]=l.gsClass,f--):s&&l.sc.push(this);if(0===f&&r)for(c=(u=("com.greensock."+t).split(".")).pop(),d=h(u.join("."))[c]=this.gsClass=r.apply(r,o),a&&(i[c]=e[c]=d),p=0;p-1;)for(a=l[u],r=i?_("easing."+a,null,!0):d.easing[a]||{},o=c.length;--o>-1;)s=c[o],x[a+"."+s]=x[s+a]=r[s]=t.getRatio?t:t[s]||new t};for((o=w.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},a=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)o=r[a]+",Power"+a,k(new w(null,null,1,a),o,"easeOut",!0),k(new w(null,null,2,a),o,"easeIn"+(0===a?",easeNone":"")),k(new w(null,null,3,a),o,"easeInOut");x.linear=d.easing.Linear.easeIn,x.swing=d.easing.Quad.easeInOut;var C=_("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(o=C.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var a,o,u=this._listeners[t],c=0;for(this!==s||l||s.wake(),null==u&&(this._listeners[t]=u=[]),o=u.length;--o>-1;)(a=u[o]).c===e&&a.s===n?u.splice(o,1):0===c&&a.pr-1;)if(i[n].c===e)return void i.splice(n,1)},o.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var T=t.requestAnimationFrame,E=t.cancelAnimationFrame,S=Date.now||function(){return(new Date).getTime()},P=S();for(a=(r=["ms","moz","webkit","o"]).length;--a>-1&&!T;)T=t[r[a]+"RequestAnimationFrame"],E=t[r[a]+"CancelAnimationFrame"]||t[r[a]+"CancelRequestAnimationFrame"];_("Ticker",(function(t,e){var i,r,a,o,u,c=this,h=S(),d=!(!1===e||!T)&&"auto",p=500,m=33,g=function(t){var e,n,s=S()-P;s>p&&(h+=s-m),P+=s,c.time=(P-h)/1e3,e=c.time-u,(!i||e>0||!0===t)&&(c.frame++,u+=e+(e>=o?.004:o-e),n=!0),!0!==t&&(a=r(g)),n&&c.dispatchEvent("tick")};C.call(c),c.time=c.frame=0,c.tick=function(){g(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return p<1/1e-8;p=t||1/1e-8,m=Math.min(e,p,0)},c.sleep=function(){null!=a&&(d&&E?E(a):clearTimeout(a),r=f,a=null,c===s&&(l=!1))},c.wake=function(t){null!==a?c.sleep():t?h+=-P+(P=S()):c.frame>10&&(P=S()-p+5),r=0===i?f:d&&T?T:function(t){return setTimeout(t,1e3*(u-c.time)+1|0)},c===s&&(l=!0),g(2)},c.fps=function(t){if(!arguments.length)return i;o=1/((i=t)||60),u=this.time+o,c.wake()},c.useRAF=function(t){if(!arguments.length)return d;c.sleep(),d=t,c.fps(i)},c.fps(t),setTimeout((function(){"auto"===d&&c.frame<5&&"hidden"!==(n||{}).visibilityState&&c.useRAF(!1)}),1500)})),(o=d.Ticker.prototype=new d.events.EventDispatcher).constructor=d.Ticker;var L=_("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){l||s.wake();var n=this.vars.useFrames?Y:Z;n.add(this,n._time),this.vars.paused&&this.paused(!0)}}));s=L.ticker=new d.Ticker,(o=L.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;var I=function(){l&&S()-P>2e3&&("hidden"!==(n||{}).visibilityState||!s.lagSmoothing())&&s.wake();var t=setTimeout(I,2e3);t.unref&&t.unref()};I(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,n){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t-1;)"{self}"===t[e]&&(n[e]=this);return n},o._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},o.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,n){if(l||s.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(z.length&&J(),this.render(t,e,!1),z.length&&J())}return this},o.progress=o.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(l||t||s.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var O=_("core.SimpleTimeline",(function(t){L.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(o=O.prototype=new L).constructor=O,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,n,i){var r,a;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(a=t._startTime;r&&r._startTime>a;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},o.rawTime=function(){return l||s.wake(),this._totalTime};var A=_("TweenLite",(function(e,n,i){if(L.call(this,n,i),this.render=A.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:A.selector(e)||e;var r,a,o,s=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?W[A.defaultOverwrite]:"number"==typeof l?l>>0:W[l],(s||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=o=p(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(a,this,null,1,this._siblings[r])):"string"==typeof(a=o[r--]=A.selector(a))&&o.splice(r+1,1):o.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(o=A.prototype=new L).constructor=A,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,A.version="2.1.3",A.defaultEase=o._ease=new w(null,null,1,1),A.defaultOverwrite="auto",A.ticker=s,A.autoSleep=120,A.lagSmoothing=function(t,e){s.lagSmoothing(t,e)},A.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(A.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],N={},D=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,R=/[\+-]=-?[\.\d]/,j=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<1e-6&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},F=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,n,i){var r,a,o,s,l,u,c,h=[],d=0,p="",f=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(D)||[],a=e.match(D)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=a.length,s=0;s=X){for(n in X=s.frame+(parseInt(A.autoSleep,10)||120),G){for(t=(e=G[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete G[n]}if((!(n=Z._first)||n._paused)&&A.autoSleep&&!Y._first&&1===s._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||s.sleep()}}},s.addEventListener("tick",L._updateRoot);var K=function(t,e,n){var i,r,a=t._gsTweenID;if(G[a||(t._gsTweenID=a="t"+V++)]||(G[a]={target:t,tweens:[]}),e&&((i=G[a].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return G[a].tweens},Q=function(t,e,n,i){var r,a,o=t.vars.onOverwrite;return o&&(r=o(t,e,n,i)),(o=A.onOverwrite)&&(a=o(t,e,n,i)),!1!==r&&!1!==a},tt=function(t,e,n,i,r){var a,o,s,l;if(1===i||i>=4){for(l=r.length,a=0;a-1;)(s=r[a])===e||s._gc||s._paused||(s._timeline!==e._timeline?(u=u||et(e,0,p),0===et(s,u,p)&&(h[d++]=s)):s._startTime<=c&&s._startTime+s.totalDuration()/s._timeScale>c&&((p||!s._initted)&&c-s._startTime<=2e-8||(h[d++]=s)));for(a=d;--a>-1;)if(l=(s=h[a])._firstPT,2===i&&s._kill(n,t,e)&&(o=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!Q(s,e))continue;s._enabled(!1,!1)&&(o=!0)}return o},et=function(t,e,n){for(var i=t._timeline,r=i._timeScale,a=t._startTime;i._timeline;){if(a+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(a/=r)>e?a-e:n&&a===e||!t._initted&&a-e<2e-8?1e-8:(a+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:a-e-1e-8};o._init=function(){var t,e,n,i,r,a,o=this.vars,s=this._overwrittenProps,l=this._duration,u=!!o.immediateRender,c=o.ease,h=this._startAt;if(o.startAt){for(i in h&&(h.render(-1,!0),h.kill()),r={},o.startAt)r[i]=o.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==o.lazy,r.startAt=r.delay=null,r.onUpdate=o.onUpdate,r.onUpdateParams=o.onUpdateParams,r.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=A.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},o)H[i]&&"autoCSS"!==i||(n[i]=o[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==o.lazy,n.immediateRender=u,this._startAt=A.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof w?c:"function"==typeof c?new w(c,o.easeParams):x[c]||A.defaultEase:A.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length,t=0;t-1;)n[u._overwriteProps[s]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[o]=U.call(this,e,o,"get",h,o,0,null,this.vars.stringFilter,a);return r&&this._kill(r,e)?this._initProps(e,n,i,r,a):this._overwrite>1&&this._firstPT&&i.length>1&&tt(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,a)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(N[e._gsTweenID]=!0),l)},o.render=function(t,e,n){var i,r,a,o,s=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-8||1e-8===u&&"isPause"!==this.data)&&u!==t&&(n=!0,u>1e-8&&(r="onReverseComplete")),this._rawPrevTime=o=!e||t||u===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(1e-8!==u||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=o=!e||t||u===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,d=this._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===d?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==s||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=s,this._rawPrevTime=u,z.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==s&&t>=0&&(this._active=!0),0===s&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==s||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-8===this._rawPrevTime&&1e-8!==o&&(this._rawPrevTime=0)))}},o._kill=function(t,e,n){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:A.selector(e)||e;var i,r,a,o,s,l,u,c,h,d=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,p=this._firstPT;if((m(e)||M(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(u=t||s,c=t!==r&&"all"!==r&&t!==s&&("object"!=typeof t||!t._tempKill),n&&(A.onOverwrite||this.vars.onOverwrite)){for(a in u)s[a]&&(h||(h=[]),h.push(a));if((h||!t)&&!Q(this,n,e,h))return!1}for(a in u)(o=s[a])&&(d&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete s[a]),c&&(r[a]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},o.invalidate=function(){this._notifyPluginsOfEnabled&&A._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},o._enabled=function(t,e){if(l||s.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return L.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&A._onPluginEvent(t?"_onEnable":"_onDisable",this)},A.to=function(t,e,n){return new A(t,e,n)},A.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new A(t,e,n)},A.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new A(t,e,i)},A.delayedCall=function(t,e,n,i,r){return new A(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},A.set=function(t,e){return new A(t,0,e)},A.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,a;if(t="string"!=typeof t?t:A.selector(t)||t,(m(t)||M(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(A.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(a=i[n],r=n;--r>-1;)a===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=K(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},A.killTweensOf=A.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=A.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var nt=_("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype}),!0);if(o=nt.prototype,nt.version="1.19.0",nt.API=2,o._firstPT=null,o._addTween=U,o.setRatio=j,o._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},o._mod=o._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},A._onPluginEvent=function(t,e){var n,i,r,a,o,s=e._firstPT;if("_onInitAllProps"===t){for(;s;){for(o=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:a)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:a=s,s=o}s=e._firstPT=r}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&($[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,a={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=_("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",(function(){nt.call(this,n,i),this._overwriteProps=r||[]}),!0===t.global),s=o.prototype=new nt(n);for(e in s.constructor=o,o.API=t.API,a)"function"==typeof t[e]&&(s[a[e]]=t[e]);return o.version=t.version,nt.activate([o]),o},r=t._gsQueue){for(a=0;a"']/g,j=RegExp(D.source),F=RegExp(R.source),B=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H=/[\\^$.*+?()[\]{}|]/g,W=RegExp(H.source),Y=/^\s+/,Z=/\s/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,K=/,? & /,Q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,at=/^0b[01]+$/i,ot=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,lt=/^(?:0|[1-9]\d*)$/,ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ht=/['\n\r\u2028\u2029\\]/g,dt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="[\\ud800-\\udfff]",mt="["+pt+"]",gt="["+dt+"]",vt="\\d+",yt="[\\u2700-\\u27bf]",_t="[a-z\\xdf-\\xf6\\xf8-\\xff]",bt="[^\\ud800-\\udfff"+pt+vt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wt="\\ud83c[\\udffb-\\udfff]",xt="[^\\ud800-\\udfff]",kt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ct="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+_t+"|"+bt+")",St="(?:"+Tt+"|"+bt+")",Pt="(?:"+gt+"|"+wt+")"+"?",Lt="[\\ufe0e\\ufe0f]?"+Pt+("(?:\\u200d(?:"+[xt,kt,Ct].join("|")+")[\\ufe0e\\ufe0f]?"+Pt+")*"),It="(?:"+[yt,kt,Ct].join("|")+")"+Lt,Ot="(?:"+[xt+gt+"?",gt,kt,Ct,ft].join("|")+")",At=RegExp("['’]","g"),Mt=RegExp(gt,"g"),zt=RegExp(wt+"(?="+wt+")|"+Ot+Lt,"g"),Nt=RegExp([Tt+"?"+_t+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,Tt,"$"].join("|")+")",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,Tt+Et,"$"].join("|")+")",Tt+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Tt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vt,It].join("|"),"g"),Dt=RegExp("[\\u200d\\ud800-\\udfff"+dt+"\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ft=-1,Bt={};Bt[T]=Bt[E]=Bt[S]=Bt[P]=Bt[L]=Bt[I]=Bt["[object Uint8ClampedArray]"]=Bt[O]=Bt[A]=!0,Bt[l]=Bt[u]=Bt[k]=Bt[c]=Bt[C]=Bt[h]=Bt[d]=Bt[p]=Bt[m]=Bt[g]=Bt[v]=Bt[y]=Bt[_]=Bt[b]=Bt[x]=!1;var Ut={};Ut[l]=Ut[u]=Ut[k]=Ut[C]=Ut[c]=Ut[h]=Ut[T]=Ut[E]=Ut[S]=Ut[P]=Ut[L]=Ut[m]=Ut[g]=Ut[v]=Ut[y]=Ut[_]=Ut[b]=Ut[w]=Ut[I]=Ut["[object Uint8ClampedArray]"]=Ut[O]=Ut[A]=!0,Ut[d]=Ut[p]=Ut[x]=!1;var qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$t=parseFloat,Gt=parseInt,Vt="object"==typeof t&&t&&t.Object===Object&&t,Ht="object"==typeof self&&self&&self.Object===Object&&self,Wt=Vt||Ht||Function("return this")(),Yt=e&&!e.nodeType&&e,Zt=Yt&&"object"==typeof i&&i&&!i.nodeType&&i,Xt=Zt&&Zt.exports===Yt,Jt=Xt&&Vt.process,Kt=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Jt&&Jt.binding&&Jt.binding("util")}catch(t){}}(),Qt=Kt&&Kt.isArrayBuffer,te=Kt&&Kt.isDate,ee=Kt&&Kt.isMap,ne=Kt&&Kt.isRegExp,ie=Kt&&Kt.isSet,re=Kt&&Kt.isTypedArray;function ae(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function oe(t,e,n,i){for(var r=-1,a=null==t?0:t.length;++r-1}function de(t,e,n){for(var i=-1,r=null==t?0:t.length;++i-1;);return n}function Ne(t,e){for(var n=t.length;n--&&we(e,t[n],0)>-1;);return n}function De(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}var Re=Ee({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),je=Ee({"&":"&","<":"<",">":">",'"':""","'":"'"});function Fe(t){return"\\"+qt[t]}function Be(t){return Dt.test(t)}function Ue(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function qe(t,e){return function(n){return t(e(n))}}function $e(t,e){for(var n=-1,i=t.length,r=0,a=[];++n",""":'"',"'":"'"});var Xe=function t(e){var n,i=(e=null==e?Wt:Xe.defaults(Wt.Object(),e,Xe.pick(Wt,jt))).Array,r=e.Date,Z=e.Error,dt=e.Function,pt=e.Math,ft=e.Object,mt=e.RegExp,gt=e.String,vt=e.TypeError,yt=i.prototype,_t=dt.prototype,bt=ft.prototype,wt=e["__core-js_shared__"],xt=_t.toString,kt=bt.hasOwnProperty,Ct=0,Tt=(n=/[^.]+$/.exec(wt&&wt.keys&&wt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Et=bt.toString,St=xt.call(ft),Pt=Wt._,Lt=mt("^"+xt.call(kt).replace(H,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),It=Xt?e.Buffer:void 0,Ot=e.Symbol,zt=e.Uint8Array,Dt=It?It.allocUnsafe:void 0,qt=qe(ft.getPrototypeOf,ft),Vt=ft.create,Ht=bt.propertyIsEnumerable,Yt=yt.splice,Zt=Ot?Ot.isConcatSpreadable:void 0,Jt=Ot?Ot.iterator:void 0,Kt=Ot?Ot.toStringTag:void 0,ye=function(){try{var t=ta(ft,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ee=e.clearTimeout!==Wt.clearTimeout&&e.clearTimeout,Je=r&&r.now!==Wt.Date.now&&r.now,Ke=e.setTimeout!==Wt.setTimeout&&e.setTimeout,Qe=pt.ceil,tn=pt.floor,en=ft.getOwnPropertySymbols,nn=It?It.isBuffer:void 0,rn=e.isFinite,an=yt.join,on=qe(ft.keys,ft),sn=pt.max,ln=pt.min,un=r.now,cn=e.parseInt,hn=pt.random,dn=yt.reverse,pn=ta(e,"DataView"),fn=ta(e,"Map"),mn=ta(e,"Promise"),gn=ta(e,"Set"),vn=ta(e,"WeakMap"),yn=ta(ft,"create"),_n=vn&&new vn,bn={},wn=Sa(pn),xn=Sa(fn),kn=Sa(mn),Cn=Sa(gn),Tn=Sa(vn),En=Ot?Ot.prototype:void 0,Sn=En?En.valueOf:void 0,Pn=En?En.toString:void 0;function Ln(t){if(Vo(t)&&!zo(t)&&!(t instanceof Mn)){if(t instanceof An)return t;if(kt.call(t,"__wrapped__"))return Pa(t)}return new An(t)}var In=function(){function t(){}return function(e){if(!Go(e))return{};if(Vt)return Vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function On(){}function An(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Mn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function zn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Jn(t,e,n,i,r,a){var o,s=1&e,u=2&e,d=4&e;if(n&&(o=r?n(t,i,r,a):n(t)),void 0!==o)return o;if(!Go(t))return t;var x=zo(t);if(x){if(o=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&kt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return yr(t,o)}else{var M=ia(t),z=M==p||M==f;if(jo(t))return dr(t,s);if(M==v||M==l||z&&!r){if(o=u||z?{}:aa(t),!s)return u?function(t,e){return _r(t,na(t),e)}(t,function(t,e){return t&&_r(e,xs(e),t)}(o,t)):function(t,e){return _r(t,ea(t),e)}(t,Wn(o,t))}else{if(!Ut[M])return r?t:{};o=function(t,e,n){var i=t.constructor;switch(e){case k:return pr(t);case c:case h:return new i(+t);case C:return function(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case T:case E:case S:case P:case L:case I:case"[object Uint8ClampedArray]":case O:case A:return fr(t,n);case m:return new i;case g:case b:return new i(t);case y:return function(t){var e=new t.constructor(t.source,it.exec(t));return e.lastIndex=t.lastIndex,e}(t);case _:return new i;case w:return r=t,Sn?ft(Sn.call(r)):{}}var r}(t,M,s)}}a||(a=new jn);var N=a.get(t);if(N)return N;a.set(t,o),Xo(t)?t.forEach((function(i){o.add(Jn(i,e,n,i,t,a))})):Ho(t)&&t.forEach((function(i,r){o.set(r,Jn(i,e,n,r,t,a))}));var D=x?void 0:(d?u?Wr:Hr:u?xs:ws)(t);return se(D||t,(function(i,r){D&&(i=t[r=i]),Gn(o,r,Jn(i,e,n,r,t,a))})),o}function Kn(t,e,n){var i=n.length;if(null==t)return!i;for(t=ft(t);i--;){var r=n[i],a=e[r],o=t[r];if(void 0===o&&!(r in t)||!a(o))return!1}return!0}function Qn(t,e,n){if("function"!=typeof t)throw new vt(a);return ba((function(){t.apply(void 0,n)}),e)}function ti(t,e,n,i){var r=-1,a=he,o=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=pe(e,Oe(n))),i?(a=de,o=!1):e.length>=200&&(a=Me,o=!1,e=new Rn(e));t:for(;++r-1},Nn.prototype.set=function(t,e){var n=this.__data__,i=Vn(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Dn.prototype.clear=function(){this.size=0,this.__data__={hash:new zn,map:new(fn||Nn),string:new zn}},Dn.prototype.delete=function(t){var e=Kr(this,t).delete(t);return this.size-=e?1:0,e},Dn.prototype.get=function(t){return Kr(this,t).get(t)},Dn.prototype.has=function(t){return Kr(this,t).has(t)},Dn.prototype.set=function(t,e){var n=Kr(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},jn.prototype.clear=function(){this.__data__=new Nn,this.size=0},jn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},jn.prototype.get=function(t){return this.__data__.get(t)},jn.prototype.has=function(t){return this.__data__.has(t)},jn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Nn){var i=n.__data__;if(!fn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Dn(i)}return n.set(t,e),this.size=n.size,this};var ei=xr(ui),ni=xr(ci,!0);function ii(t,e){var n=!0;return ei(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function ri(t,e,n){for(var i=-1,r=t.length;++i0&&n(s)?e>1?oi(s,e-1,n,i,r):fe(r,s):i||(r[r.length]=s)}return r}var si=kr(),li=kr(!0);function ui(t,e){return t&&si(t,e,ws)}function ci(t,e){return t&&li(t,e,ws)}function hi(t,e){return ce(e,(function(e){return Uo(t[e])}))}function di(t,e){for(var n=0,i=(e=lr(e,t)).length;null!=t&&ne}function gi(t,e){return null!=t&&kt.call(t,e)}function vi(t,e){return null!=t&&e in ft(t)}function yi(t,e,n){for(var r=n?de:he,a=t[0].length,o=t.length,s=o,l=i(o),u=1/0,c=[];s--;){var h=t[s];s&&e&&(h=pe(h,Oe(e))),u=ln(h.length,u),l[s]=!n&&(e||a>=120&&h.length>=120)?new Rn(s&&h):void 0}h=t[0];var d=-1,p=l[0];t:for(;++d=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function zi(t,e,n){for(var i=-1,r=e.length,a={};++i-1;)s!==t&&Yt.call(s,l,1),Yt.call(t,l,1);return t}function Di(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==a){var a=r;sa(r)?Yt.call(t,r,1):tr(t,r)}}return t}function Ri(t,e){return t+tn(hn()*(e-t+1))}function ji(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=tn(e/2))&&(t+=t)}while(e);return n}function Fi(t,e){return wa(ma(t,e,Ws),t+"")}function Bi(t){return Bn(Is(t))}function Ui(t,e){var n=Is(t);return Ca(n,Xn(e,0,n.length))}function qi(t,e,n,i){if(!Go(t))return t;for(var r=-1,a=(e=lr(e,t)).length,o=a-1,s=t;null!=s&&++ra?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=i(a);++r>>1,o=t[a];null!==o&&!Ko(o)&&(n?o<=e:o=200){var u=e?null:jr(t);if(u)return Ge(u);o=!1,r=Me,l=new Rn}else l=e?[]:s;t:for(;++i=i?t:Hi(t,e,n)}var hr=Ee||function(t){return Wt.clearTimeout(t)};function dr(t,e){if(e)return t.slice();var n=t.length,i=Dt?Dt(n):new t.constructor(n);return t.copy(i),i}function pr(t){var e=new t.constructor(t.byteLength);return new zt(e).set(new zt(t)),e}function fr(t,e){var n=e?pr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function mr(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=Ko(t),o=void 0!==e,s=null===e,l=e==e,u=Ko(e);if(!s&&!u&&!a&&t>e||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&t1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,o&&la(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),e=ft(e);++i-1?r[a?e[o]:o]:void 0}}function Pr(t){return Vr((function(e){var n=e.length,i=n,r=An.prototype.thru;for(t&&e.reverse();i--;){var o=e[i];if("function"!=typeof o)throw new vt(a);if(r&&!s&&"wrapper"==Zr(o))var s=new An([],!0)}for(i=s?i:n;++i1&&_.reverse(),h&&us))return!1;var u=a.get(t),c=a.get(e);if(u&&c)return u==e&&c==t;var h=-1,d=!0,p=2&n?new Rn:void 0;for(a.set(t,e),a.set(e,t);++h-1&&t%1==0&&t1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return se(s,(function(n){var i="_."+n[0];e&n[1]&&!he(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(J);return e?e[1].split(K):[]}(i),n)))}function ka(t){var e=0,n=0;return function(){var i=un(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Ca(t,e){var n=-1,i=t.length,r=i-1;for(e=void 0===e?i:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Ya(t,n)}));function eo(t){var e=Ln(t);return e.__chain__=!0,e}function no(t,e){return e(t)}var io=Vr((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return Zn(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Mn&&sa(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:no,args:[r],thisArg:void 0}),new An(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(r)}));var ro=br((function(t,e,n){kt.call(t,n)?++t[n]:Yn(t,n,1)}));var ao=Sr(Aa),oo=Sr(Ma);function so(t,e){return(zo(t)?se:ei)(t,Jr(e,3))}function lo(t,e){return(zo(t)?le:ni)(t,Jr(e,3))}var uo=br((function(t,e,n){kt.call(t,n)?t[n].push(e):Yn(t,n,[e])}));var co=Fi((function(t,e,n){var r=-1,a="function"==typeof e,o=Do(t)?i(t.length):[];return ei(t,(function(t){o[++r]=a?ae(e,t,n):_i(t,e,n)})),o})),ho=br((function(t,e,n){Yn(t,n,e)}));function po(t,e){return(zo(t)?pe:Pi)(t,Jr(e,3))}var fo=br((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var mo=Fi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&la(t,e[0],e[1])?e=[]:n>2&&la(e[0],e[1],e[2])&&(e=[e[0]]),Mi(t,oi(e,1),[])})),go=Je||function(){return Wt.Date.now()};function vo(t,e,n){return e=n?void 0:e,Br(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function yo(t,e){var n;if("function"!=typeof e)throw new vt(a);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var _o=Fi((function(t,e,n){var i=1;if(n.length){var r=$e(n,Xr(_o));i|=32}return Br(t,i,e,n,r)})),bo=Fi((function(t,e,n){var i=3;if(n.length){var r=$e(n,Xr(bo));i|=32}return Br(e,i,t,n,r)}));function wo(t,e,n){var i,r,o,s,l,u,c=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new vt(a);function f(e){var n=i,a=r;return i=r=void 0,c=e,s=t.apply(a,n)}function m(t){return c=t,l=ba(v,e),h?f(t):s}function g(t){var n=t-u;return void 0===u||n>=e||n<0||d&&t-c>=o}function v(){var t=go();if(g(t))return y(t);l=ba(v,function(t){var n=e-(t-u);return d?ln(n,o-(t-c)):n}(t))}function y(t){return l=void 0,p&&i?f(t):(i=r=void 0,s)}function _(){var t=go(),n=g(t);if(i=arguments,r=this,u=t,n){if(void 0===l)return m(u);if(d)return hr(l),l=ba(v,e),f(u)}return void 0===l&&(l=ba(v,e)),s}return e=os(e)||0,Go(n)&&(h=!!n.leading,o=(d="maxWait"in n)?sn(os(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p),_.cancel=function(){void 0!==l&&hr(l),c=0,i=u=r=l=void 0},_.flush=function(){return void 0===l?s:y(go())},_}var xo=Fi((function(t,e){return Qn(t,1,e)})),ko=Fi((function(t,e,n){return Qn(t,os(e)||0,n)}));function Co(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new vt(a);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(Co.Cache||Dn),n}function To(t){if("function"!=typeof t)throw new vt(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Co.Cache=Dn;var Eo=ur((function(t,e){var n=(e=1==e.length&&zo(e[0])?pe(e[0],Oe(Jr())):pe(oi(e,1),Oe(Jr()))).length;return Fi((function(i){for(var r=-1,a=ln(i.length,n);++r=e})),Mo=bi(function(){return arguments}())?bi:function(t){return Vo(t)&&kt.call(t,"callee")&&!Ht.call(t,"callee")},zo=i.isArray,No=Qt?Oe(Qt):function(t){return Vo(t)&&fi(t)==k};function Do(t){return null!=t&&$o(t.length)&&!Uo(t)}function Ro(t){return Vo(t)&&Do(t)}var jo=nn||ol,Fo=te?Oe(te):function(t){return Vo(t)&&fi(t)==h};function Bo(t){if(!Vo(t))return!1;var e=fi(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Yo(t)}function Uo(t){if(!Go(t))return!1;var e=fi(t);return e==p||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function qo(t){return"number"==typeof t&&t==rs(t)}function $o(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Go(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vo(t){return null!=t&&"object"==typeof t}var Ho=ee?Oe(ee):function(t){return Vo(t)&&ia(t)==m};function Wo(t){return"number"==typeof t||Vo(t)&&fi(t)==g}function Yo(t){if(!Vo(t)||fi(t)!=v)return!1;var e=qt(t);if(null===e)return!0;var n=kt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&xt.call(n)==St}var Zo=ne?Oe(ne):function(t){return Vo(t)&&fi(t)==y};var Xo=ie?Oe(ie):function(t){return Vo(t)&&ia(t)==_};function Jo(t){return"string"==typeof t||!zo(t)&&Vo(t)&&fi(t)==b}function Ko(t){return"symbol"==typeof t||Vo(t)&&fi(t)==w}var Qo=re?Oe(re):function(t){return Vo(t)&&$o(t.length)&&!!Bt[fi(t)]};var ts=Nr(Si),es=Nr((function(t,e){return t<=e}));function ns(t){if(!t)return[];if(Do(t))return Jo(t)?We(t):yr(t);if(Jt&&t[Jt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Jt]());var e=ia(t);return(e==m?Ue:e==_?Ge:Is)(t)}function is(t){return t?(t=os(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=is(t),n=e%1;return e==e?n?e-n:e:0}function as(t){return t?Xn(rs(t),0,4294967295):0}function os(t){if("number"==typeof t)return t;if(Ko(t))return NaN;if(Go(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Go(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ie(t);var n=at.test(t);return n||st.test(t)?Gt(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function ss(t){return _r(t,xs(t))}function ls(t){return null==t?"":Ki(t)}var us=wr((function(t,e){if(da(e)||Do(e))_r(e,ws(e),t);else for(var n in e)kt.call(e,n)&&Gn(t,n,e[n])})),cs=wr((function(t,e){_r(e,xs(e),t)})),hs=wr((function(t,e,n,i){_r(e,xs(e),t,i)})),ds=wr((function(t,e,n,i){_r(e,ws(e),t,i)})),ps=Vr(Zn);var fs=Fi((function(t,e){t=ft(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&la(e[0],e[1],r)&&(i=1);++n1),e})),_r(t,Wr(t),n),i&&(n=Jn(n,7,$r));for(var r=e.length;r--;)tr(n,e[r]);return n}));var Es=Vr((function(t,e){return null==t?{}:function(t,e){return zi(t,e,(function(e,n){return vs(t,n)}))}(t,e)}));function Ss(t,e){if(null==t)return{};var n=pe(Wr(t),(function(t){return[t]}));return e=Jr(e),zi(t,n,(function(t,n){return e(t,n[0])}))}var Ps=Fr(ws),Ls=Fr(xs);function Is(t){return null==t?[]:Ae(t,ws(t))}var Os=Tr((function(t,e,n){return e=e.toLowerCase(),t+(n?As(e):e)}));function As(t){return Bs(ls(t).toLowerCase())}function Ms(t){return(t=ls(t))&&t.replace(ut,Re).replace(Mt,"")}var zs=Tr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ns=Tr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ds=Cr("toLowerCase");var Rs=Tr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var js=Tr((function(t,e,n){return t+(n?" ":"")+Bs(e)}));var Fs=Tr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Bs=Cr("toUpperCase");function Us(t,e,n){return t=ls(t),void 0===(e=n?void 0:e)?function(t){return Rt.test(t)}(t)?function(t){return t.match(Nt)||[]}(t):function(t){return t.match(Q)||[]}(t):t.match(e)||[]}var qs=Fi((function(t,e){try{return ae(t,void 0,e)}catch(t){return Bo(t)?t:new Z(t)}})),$s=Vr((function(t,e){return se(e,(function(e){e=Ea(e),Yn(t,e,_o(t[e],t))})),t}));function Gs(t){return function(){return t}}var Vs=Pr(),Hs=Pr(!0);function Ws(t){return t}function Ys(t){return Ci("function"==typeof t?t:Jn(t,1))}var Zs=Fi((function(t,e){return function(n){return _i(n,t,e)}})),Xs=Fi((function(t,e){return function(n){return _i(t,n,e)}}));function Js(t,e,n){var i=ws(e),r=hi(e,i);null!=n||Go(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=hi(e,ws(e)));var a=!(Go(n)&&"chain"in n&&!n.chain),o=Uo(t);return se(r,(function(n){var i=e[n];t[n]=i,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__),r=n.__actions__=yr(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,fe([this.value()],arguments))})})),t}function Ks(){}var Qs=Ar(pe),tl=Ar(ue),el=Ar(ve);function nl(t){return ua(t)?Te(Ea(t)):function(t){return function(e){return di(e,t)}}(t)}var il=zr(),rl=zr(!0);function al(){return[]}function ol(){return!1}var sl=Or((function(t,e){return t+e}),0),ll=Rr("ceil"),ul=Or((function(t,e){return t/e}),1),cl=Rr("floor");var hl,dl=Or((function(t,e){return t*e}),1),pl=Rr("round"),fl=Or((function(t,e){return t-e}),0);return Ln.after=function(t,e){if("function"!=typeof e)throw new vt(a);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},Ln.ary=vo,Ln.assign=us,Ln.assignIn=cs,Ln.assignInWith=hs,Ln.assignWith=ds,Ln.at=ps,Ln.before=yo,Ln.bind=_o,Ln.bindAll=$s,Ln.bindKey=bo,Ln.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return zo(t)?t:[t]},Ln.chain=eo,Ln.chunk=function(t,e,n){e=(n?la(t,e,n):void 0===e)?1:sn(rs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var a=0,o=0,s=i(Qe(r/e));ar?0:r+n),(i=void 0===i||i>r?r:rs(i))<0&&(i+=r),i=n>i?0:as(i);n>>0)?(t=ls(t))&&("string"==typeof e||null!=e&&!Zo(e))&&!(e=Ki(e))&&Be(t)?cr(We(t),0,n):t.split(e,n):[]},Ln.spread=function(t,e){if("function"!=typeof t)throw new vt(a);return e=null==e?0:sn(rs(e),0),Fi((function(n){var i=n[e],r=cr(n,0,e);return i&&fe(r,i),ae(t,this,r)}))},Ln.tail=function(t){var e=null==t?0:t.length;return e?Hi(t,1,e):[]},Ln.take=function(t,e,n){return t&&t.length?Hi(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},Ln.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Hi(t,(e=i-(e=n||void 0===e?1:rs(e)))<0?0:e,i):[]},Ln.takeRightWhile=function(t,e){return t&&t.length?nr(t,Jr(e,3),!1,!0):[]},Ln.takeWhile=function(t,e){return t&&t.length?nr(t,Jr(e,3)):[]},Ln.tap=function(t,e){return e(t),t},Ln.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new vt(a);return Go(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),wo(t,e,{leading:i,maxWait:e,trailing:r})},Ln.thru=no,Ln.toArray=ns,Ln.toPairs=Ps,Ln.toPairsIn=Ls,Ln.toPath=function(t){return zo(t)?pe(t,Ea):Ko(t)?[t]:yr(Ta(ls(t)))},Ln.toPlainObject=ss,Ln.transform=function(t,e,n){var i=zo(t),r=i||jo(t)||Qo(t);if(e=Jr(e,4),null==n){var a=t&&t.constructor;n=r?i?new a:[]:Go(t)&&Uo(a)?In(qt(t)):{}}return(r?se:ui)(t,(function(t,i,r){return e(n,t,i,r)})),n},Ln.unary=function(t){return vo(t,1)},Ln.union=Ga,Ln.unionBy=Va,Ln.unionWith=Ha,Ln.uniq=function(t){return t&&t.length?Qi(t):[]},Ln.uniqBy=function(t,e){return t&&t.length?Qi(t,Jr(e,2)):[]},Ln.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Qi(t,void 0,e):[]},Ln.unset=function(t,e){return null==t||tr(t,e)},Ln.unzip=Wa,Ln.unzipWith=Ya,Ln.update=function(t,e,n){return null==t?t:er(t,e,sr(n))},Ln.updateWith=function(t,e,n,i){return i="function"==typeof i?i:void 0,null==t?t:er(t,e,sr(n),i)},Ln.values=Is,Ln.valuesIn=function(t){return null==t?[]:Ae(t,xs(t))},Ln.without=Za,Ln.words=Us,Ln.wrap=function(t,e){return So(sr(e),t)},Ln.xor=Xa,Ln.xorBy=Ja,Ln.xorWith=Ka,Ln.zip=Qa,Ln.zipObject=function(t,e){return ar(t||[],e||[],Gn)},Ln.zipObjectDeep=function(t,e){return ar(t||[],e||[],qi)},Ln.zipWith=to,Ln.entries=Ps,Ln.entriesIn=Ls,Ln.extend=cs,Ln.extendWith=hs,Js(Ln,Ln),Ln.add=sl,Ln.attempt=qs,Ln.camelCase=Os,Ln.capitalize=As,Ln.ceil=ll,Ln.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==e&&(e=(e=os(e))==e?e:0),Xn(os(t),e,n)},Ln.clone=function(t){return Jn(t,4)},Ln.cloneDeep=function(t){return Jn(t,5)},Ln.cloneDeepWith=function(t,e){return Jn(t,5,e="function"==typeof e?e:void 0)},Ln.cloneWith=function(t,e){return Jn(t,4,e="function"==typeof e?e:void 0)},Ln.conformsTo=function(t,e){return null==e||Kn(t,e,ws(e))},Ln.deburr=Ms,Ln.defaultTo=function(t,e){return null==t||t!=t?e:t},Ln.divide=ul,Ln.endsWith=function(t,e,n){t=ls(t),e=Ki(e);var i=t.length,r=n=void 0===n?i:Xn(rs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},Ln.eq=Io,Ln.escape=function(t){return(t=ls(t))&&F.test(t)?t.replace(R,je):t},Ln.escapeRegExp=function(t){return(t=ls(t))&&W.test(t)?t.replace(H,"\\$&"):t},Ln.every=function(t,e,n){var i=zo(t)?ue:ii;return n&&la(t,e,n)&&(e=void 0),i(t,Jr(e,3))},Ln.find=ao,Ln.findIndex=Aa,Ln.findKey=function(t,e){return _e(t,Jr(e,3),ui)},Ln.findLast=oo,Ln.findLastIndex=Ma,Ln.findLastKey=function(t,e){return _e(t,Jr(e,3),ci)},Ln.floor=cl,Ln.forEach=so,Ln.forEachRight=lo,Ln.forIn=function(t,e){return null==t?t:si(t,Jr(e,3),xs)},Ln.forInRight=function(t,e){return null==t?t:li(t,Jr(e,3),xs)},Ln.forOwn=function(t,e){return t&&ui(t,Jr(e,3))},Ln.forOwnRight=function(t,e){return t&&ci(t,Jr(e,3))},Ln.get=gs,Ln.gt=Oo,Ln.gte=Ao,Ln.has=function(t,e){return null!=t&&ra(t,e,gi)},Ln.hasIn=vs,Ln.head=Na,Ln.identity=Ws,Ln.includes=function(t,e,n,i){t=Do(t)?t:Is(t),n=n&&!i?rs(n):0;var r=t.length;return n<0&&(n=sn(r+n,0)),Jo(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&we(t,e,n)>-1},Ln.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:rs(n);return r<0&&(r=sn(i+r,0)),we(t,e,r)},Ln.inRange=function(t,e,n){return e=is(e),void 0===n?(n=e,e=0):n=is(n),function(t,e,n){return t>=ln(e,n)&&t=-9007199254740991&&t<=9007199254740991},Ln.isSet=Xo,Ln.isString=Jo,Ln.isSymbol=Ko,Ln.isTypedArray=Qo,Ln.isUndefined=function(t){return void 0===t},Ln.isWeakMap=function(t){return Vo(t)&&ia(t)==x},Ln.isWeakSet=function(t){return Vo(t)&&"[object WeakSet]"==fi(t)},Ln.join=function(t,e){return null==t?"":an.call(t,e)},Ln.kebabCase=zs,Ln.last=Fa,Ln.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return void 0!==n&&(r=(r=rs(n))<0?sn(i+r,0):ln(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):be(t,ke,r,!0)},Ln.lowerCase=Ns,Ln.lowerFirst=Ds,Ln.lt=ts,Ln.lte=es,Ln.max=function(t){return t&&t.length?ri(t,Ws,mi):void 0},Ln.maxBy=function(t,e){return t&&t.length?ri(t,Jr(e,2),mi):void 0},Ln.mean=function(t){return Ce(t,Ws)},Ln.meanBy=function(t,e){return Ce(t,Jr(e,2))},Ln.min=function(t){return t&&t.length?ri(t,Ws,Si):void 0},Ln.minBy=function(t,e){return t&&t.length?ri(t,Jr(e,2),Si):void 0},Ln.stubArray=al,Ln.stubFalse=ol,Ln.stubObject=function(){return{}},Ln.stubString=function(){return""},Ln.stubTrue=function(){return!0},Ln.multiply=dl,Ln.nth=function(t,e){return t&&t.length?Ai(t,rs(e)):void 0},Ln.noConflict=function(){return Wt._===this&&(Wt._=Pt),this},Ln.noop=Ks,Ln.now=go,Ln.pad=function(t,e,n){t=ls(t);var i=(e=rs(e))?He(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Mr(tn(r),n)+t+Mr(Qe(r),n)},Ln.padEnd=function(t,e,n){t=ls(t);var i=(e=rs(e))?He(t):0;return e&&ie){var i=t;t=e,e=i}if(n||t%1||e%1){var r=hn();return ln(t+r*(e-t+$t("1e-"+((r+"").length-1))),e)}return Ri(t,e)},Ln.reduce=function(t,e,n){var i=zo(t)?me:Se,r=arguments.length<3;return i(t,Jr(e,4),n,r,ei)},Ln.reduceRight=function(t,e,n){var i=zo(t)?ge:Se,r=arguments.length<3;return i(t,Jr(e,4),n,r,ni)},Ln.repeat=function(t,e,n){return e=(n?la(t,e,n):void 0===e)?1:rs(e),ji(ls(t),e)},Ln.replace=function(){var t=arguments,e=ls(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Ln.result=function(t,e,n){var i=-1,r=(e=lr(e,t)).length;for(r||(r=1,t=void 0);++i9007199254740991)return[];var n=4294967295,i=ln(t,4294967295);t-=4294967295;for(var r=Le(i,e=Jr(e));++n=a)return t;var s=n-He(i);if(s<1)return i;var l=o?cr(o,0,s).join(""):t.slice(0,s);if(void 0===r)return l+i;if(o&&(s+=l.length-s),Zo(r)){if(t.slice(s).search(r)){var u,c=l;for(r.global||(r=mt(r.source,ls(it.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var h=u.index;l=l.slice(0,void 0===h?s:h)}}else if(t.indexOf(Ki(r),s)!=s){var d=l.lastIndexOf(r);d>-1&&(l=l.slice(0,d))}return l+i},Ln.unescape=function(t){return(t=ls(t))&&j.test(t)?t.replace(D,Ze):t},Ln.uniqueId=function(t){var e=++Ct;return ls(t)+e},Ln.upperCase=Fs,Ln.upperFirst=Bs,Ln.each=so,Ln.eachRight=lo,Ln.first=Na,Js(Ln,(hl={},ui(Ln,(function(t,e){kt.call(Ln.prototype,e)||(hl[e]=t)})),hl),{chain:!1}),Ln.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Ln[t].placeholder=Ln})),se(["drop","take"],(function(t,e){Mn.prototype[t]=function(n){n=void 0===n?1:sn(rs(n),0);var i=this.__filtered__&&!e?new Mn(this):this.clone();return i.__filtered__?i.__takeCount__=ln(n,i.__takeCount__):i.__views__.push({size:ln(n,4294967295),type:t+(i.__dir__<0?"Right":"")}),i},Mn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;Mn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Jr(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Mn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Mn.prototype[t]=function(){return this.__filtered__?new Mn(this):this[n](1)}})),Mn.prototype.compact=function(){return this.filter(Ws)},Mn.prototype.find=function(t){return this.filter(t).head()},Mn.prototype.findLast=function(t){return this.reverse().find(t)},Mn.prototype.invokeMap=Fi((function(t,e){return"function"==typeof t?new Mn(this):this.map((function(n){return _i(n,t,e)}))})),Mn.prototype.reject=function(t){return this.filter(To(Jr(t)))},Mn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Mn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Mn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Mn.prototype.toArray=function(){return this.take(4294967295)},ui(Mn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=Ln[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(Ln.prototype[e]=function(){var e=this.__wrapped__,o=i?[1]:arguments,s=e instanceof Mn,l=o[0],u=s||zo(e),c=function(t){var e=r.apply(Ln,fe([t],o));return i&&h?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,f=s&&!d;if(!a&&u){e=f?e:new Mn(this);var m=t.apply(e,o);return m.__actions__.push({func:no,args:[c],thisArg:void 0}),new An(m,h)}return p&&f?t.apply(this,o):(m=this.thru(c),p?i?m.value()[0]:m.value():m)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=yt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Ln.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(zo(r)?r:[],t)}return this[n]((function(n){return e.apply(zo(n)?n:[],t)}))}})),ui(Mn.prototype,(function(t,e){var n=Ln[e];if(n){var i=n.name+"";kt.call(bn,i)||(bn[i]=[]),bn[i].push({name:e,func:n})}})),bn[Lr(void 0,2).name]=[{name:"wrapper",func:void 0}],Mn.prototype.clone=function(){var t=new Mn(this.__wrapped__);return t.__actions__=yr(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=yr(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=yr(this.__views__),t},Mn.prototype.reverse=function(){if(this.__filtered__){var t=new Mn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Mn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=zo(t),i=e<0,r=n?t.length:0,a=function(t,e,n){var i=-1,r=n.length;for(;++i=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Ln.prototype.plant=function(t){for(var e,n=this;n instanceof On;){var i=Pa(n);i.__index__=0,i.__values__=void 0,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},Ln.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Mn){var e=t;return this.__actions__.length&&(e=new Mn(this)),(e=e.reverse()).__actions__.push({func:no,args:[$a],thisArg:void 0}),new An(e,this.__chain__)}return this.thru($a)},Ln.prototype.toJSON=Ln.prototype.valueOf=Ln.prototype.value=function(){return ir(this.__wrapped__,this.__actions__)},Ln.prototype.first=Ln.prototype.head,Jt&&(Ln.prototype[Jt]=function(){return this}),Ln}();Wt._=Xe,void 0===(r=function(){return Xe}.call(e,n,e,i))||(i.exports=r)}).call(this)}).call(this,n("yLpj"),n("YuTi")(t))},LxGr:function(t){t.exports=JSON.parse('{"privacy-title":"Controle sua Privacidade","privacy-text":"Controle sua privacidade para cada equipe que você se juntou.","team-update-title":"Atualize suas equipes","team-update-text":"Você só pode atualizar as equipes que lidera.","maps":{"team-map":"Mapa da equipe","name-will-appear":"Seu nome aparecerá nos mapas","username-will-appear":"Seu nome de usuário aparecerá nos mapas","will-not-appear":"Seu nome e nome de usuário não aparecerão nos mapas"},"leaderboards":{"team-leaderboard":"Tabela de classificação da equipe","name-will-appear":"Seu nome aparecerá nas tabelas de classificação","username-will-appear":"Seu nome de usuário aparecerá nas tabelas de classificação","will-not-appear":"Seu nome e nome de usuário não aparecerão nas tabelas de classificação"},"submit-one-team":"Salvar para esta equipe","apply-all-teams":"Candidate-se a todas as equipes"}')},M3TT:function(t){t.exports=JSON.parse('{"taken-on":"Felvette","with-a":"Ezzel","by":"Által","meter-hex-grids":"méteres hatszögletű rácsok","hover-to-count":"Számláláshoz vigye az egérmutatót fölé","pieces-of-litter":"Szemétdarabok","hover-polygons-to-count":"Számláláshoz vigye az egérmutatót a sokszögek fölé"}')},M5CN:function(t,e,n){var i=n("UWWF");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},MLZk:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Email",data:function(){return{email:"",processing:!1}},computed:{validationErrors:function(){var t=this.$store.state.user.errors;return t&&t.email?t.email[0]:null}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SEND_PASSWORD_RESET_LINK",e.email);case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()},clearErrors:function(){this.$store.commit("errors",[])}}},s=(n("gZjL"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero is-info is-fullheight"},[n("div",{staticClass:"columns centered"},[n("div",{staticClass:"column"}),t._v(" "),n("div",{staticClass:"column is-half-tablet is-one-third-desktop is-one-quarter-fullhd"},[n("p",{staticClass:"title is-1 has-text-centered"},[t._v("Reset Password")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"email"}},[t._v("E-Mail Address")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",class:t.validationErrors?"is-danger":"",attrs:{id:"email",type:"email",name:"email",required:"",autofocus:"",placeholder:"you@email.com"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.clearErrors]}}),t._v(" "),t._m(0),t._v(" "),t.validationErrors?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.validationErrors))]):t._e()])]),t._v(" "),n("div",{staticClass:"field has-text-centered"},[n("div",{staticClass:"control"},[n("button",{staticClass:"button is-primary",class:t.processing?"is-loading":"",attrs:{type:"submit",disabled:t.processing}},[t._v("\n Send Password Reset Link\n ")])])])])])]),t._v(" "),n("div",{staticClass:"column"})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])}],!1,null,"3bb5fc0c",null);e.default=l.exports},"MO+k":function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=r[a].channels,s=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:o}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s===o?e=0:i===s?e=(r-a)/l:r===s?e=2+(a-i)/l:a===s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},r.rgb.hsv=function(t){var e,n,i,r,a,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),c=u-Math.min(o,s,l),h=function(t){return(u-t)/6/c+.5};return 0===c?r=a=0:(a=c/u,e=h(o),n=h(s),i=h(l),o===u?r=i-n:s===u?r=1/3+e-i:l===u&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*a,100*u]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[r.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,i))*100,100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},r.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,a,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],c=(a=t,o=u,Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));c.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e=r.rgb.xyz(t),n=e[0],i=e[1],a=e[2];return i/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(t){var e,n,i,r,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[a=255*l,a,a];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,a=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,r[u]=255*a;return r},r.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[e,100*(0===i?2*r/(a+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,a=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],a=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(e=(2-a)*s)<=1?e:2-e)||0),100*(i/=2)]},r.hwb.rgb=function(t){var e,n,i,r,a,o,s,l=t[0]/360,u=t[1]/100,c=t[2]/100,h=u+c;switch(h>1&&(u/=h,c/=h),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),r=u+i*((n=1-c)-u),e){default:case 6:case 0:a=n,o=r,s=u;break;case 1:a=r,o=n,s=u;break;case 2:a=u,o=n,s=r;break;case 3:a=u,o=r,s=n;break;case 4:a=r,o=u,s=n;break;case 5:a=n,o=u,s=r}return[255*a,255*o,255*s]},r.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,e=(e=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(t){var e,n,i,r=t[0];e=t[1]/500+(n=(r+16)/116),i=n-t[2]/200;var a=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(i,3);return n=a>.008856?a:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},r.lab.lch=function(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]},r.lch.lab=function(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],a=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===a&&(o+=60),o},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return e=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},r.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,r=0;return(i=n<.5?2*e*n:2*e*(1-n))<1&&(r=(n-.5*i)/(1-i)),[t[0],100*i,100*r]},r.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var r,a=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return r=(1-n)*i,[255*(n*a[0]+r),255*(n*a[1]+r),255*(n*a[2]+r)]},r.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},r.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,i=n-e,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,r=0;r1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:h,getRgb:function(t){var e=c(t);return e&&e.slice(0,3)},getHsl:function(t){var e=h(t);return e&&e.slice(0,3)},getHwb:d,getAlpha:function(t){var e=c(t);return e||(e=h(t))||(e=d(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?p(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:p,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:f,hslString:function(t,e){return e<1||t[3]&&t[3]<1?m(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:m,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return y[t.slice(0,3)]}};function c(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var a=0;an?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new b,i=this.values,r=n.values;for(var a in i)i.hasOwnProperty(a)&&(t=i[a],"[object Array]"===(e={}.toString.call(t))?r[a]=t.slice(0):"[object Number]"===e&&(r[a]=t));return n}},b.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},b.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},b.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i=0;r--)e.call(n,t[r],r);else for(r=0;r=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-T.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*T.easeInBounce(2*t):.5*T.easeOutBounce(2*t-1)+.5}},E={effects:T};C.easingEffects=T;var S=Math.PI,P=S/180,L=2*S,I=S/2,O=S/4,A=2*S/3,M={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,a){if(a){var o=Math.min(a,r/2,i/2),s=e+o,l=n+o,u=e+i-o,c=n+r-o;t.moveTo(e,l),se.left-1e-6&&t.xe.top-1e-6&&t.y0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,a=0;a=n?(U.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(a,1)):++a}},K=U.options.resolve,Q=["push","pop","shift","splice","unshift"];function tt(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(Q.forEach((function(e){delete t[e]})),delete t._chartjs)}}var et=function(t,e){this.initialize(t,e)};U.extend(et.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),r=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||r.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&tt(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;tn&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;nr?(a=r/e.innerRadius,t.arc(o,s,e.innerRadius-r,i+a,n-a,!0)):t.arc(o,s,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function at(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var r,a=n.endAngle;for(i&&(n.endAngle=n.startAngle+it,rt(t,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=it,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+it,n.startAngle,!0),r=0;rs;)r-=it;for(;r=o&&r<=s,u=a>=n.innerRadius&&a<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/it)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+it,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;tt.x&&(e=vt(e,"left","right")):t.basen?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||a<0?0:a>n?n:a,l:l.left||o<0?0:o>e?e:o}}function _t(t,e,n){var i=null===e,r=null===n,a=!(!t||i&&r)&>(t);return a&&(i||e>=a.left&&e<=a.right)&&(r||n>=a.top&&n<=a.bottom)}D._set("global",{elements:{rectangle:{backgroundColor:ft,borderColor:ft,borderSkipped:"bottom",borderWidth:0}}});var bt=Y.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=gt(t),n=e.right-e.left,i=e.bottom-e.top,r=yt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return _t(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return mt(n)?_t(n,t,null):_t(n,null,e)},inXRange:function(t){return _t(this._view,t,null)},inYRange:function(t){return _t(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return mt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return mt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),wt={},xt=ot,kt=ut,Ct=pt,Tt=bt;wt.Arc=xt,wt.Line=kt,wt.Point=Ct,wt.Rectangle=Tt;var Et=U._deprecated,St=U.valueOrDefault;function Pt(t,e,n){var i,r,a=n.barThickness,o=e.stackCount,s=e.pixels[t],l=U.isNullOrUndef(a)?function(t,e){var n,i,r,a,o=t._length;for(r=1,a=e.length;r0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(e.scale,e.pixels):-1;return U.isNullOrUndef(a)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=a*o,r=1),{chunk:i/o,ratio:r,start:s-i/2}}D._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),D._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Lt=nt.extend({dataElementType:wt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;nt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,Et("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Et("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Et("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Et("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Et("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e=0&&m.min>=0?m.min:m.max,b=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=f.length;if(v||void 0===v&&void 0!==y)for(i=0;i=0&&u.max>=0?u.max:u.min,(m.min<0&&a<0||m.max>=0&&a>0)&&(_+=a));return o=h.getPixelForValue(_),l=(s=h.getPixelForValue(_+b))-o,void 0!==g&&Math.abs(l)=0&&!d||b<0&&d?o-g:o+g),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r="flex"===i.barThickness?function(t,e,n){var i,r=e.pixels,a=r[t],o=t>0?r[t-1]:null,s=t=zt?-Nt:y<-zt?Nt:0)+g,b=Math.cos(y),w=Math.sin(y),x=Math.cos(_),k=Math.sin(_),C=y<=0&&_>=0||_>=Nt,T=y<=Dt&&_>=Dt||_>=Nt+Dt,E=y<=-Dt&&_>=-Dt||_>=zt+Dt,S=y===-zt||_>=zt?-1:Math.min(b,b*m,x,x*m),P=E?-1:Math.min(w,w*m,k,k*m),L=C?1:Math.max(b,b*m,x,x*m),I=T?1:Math.max(w,w*m,k,k*m);u=(L-S)/2,c=(I-P)/2,h=-(L+S)/2,d=-(I+P)/2}for(i=0,r=f.length;i0&&!isNaN(t)?Nt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,a,o,s,l,u=0,c=this.chart;if(!t)for(e=0,n=c.data.datasets.length;e(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=U.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Mt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Mt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Mt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n0&&Ut(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t0&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,e){return ie(t,e,{intersect:!1})},point:function(t,e){return te(t,Kt(e,t))},nearest:function(t,e,n){var i=Kt(e,t);n.axis=n.axis||"xy";var r=ne(n.axis);return ee(t,i,n.intersect,r)},x:function(t,e,n){var i=Kt(e,t),r=[],a=!1;return Qt(t,(function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r},y:function(t,e,n){var i=Kt(e,t),r=[],a=!1;return Qt(t,(function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(a=!0)})),n.intersect&&!a&&(r=[]),r}}},ae=U.extend;function oe(t,e){return U.where(t,(function(t){return t.pos===e}))}function se(t,e){return t.sort((function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function le(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function ue(t,e,n){var i,r,a=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,t[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=e.outerWidth-le(o,t,"left","right"),r=e.outerHeight-le(o,t,"top","bottom"),i!==t.w||r!==t.h)return t.w=i,t.h=r,n.horizontal?i!==t.w:r!==t.h}function ce(t,e){var n=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function he(t,e,n){var i,r,a,o,s,l,u=[];for(i=0,r=t.length;i div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&pe.default||pe,ge=["animationstart","webkitAnimationStart"],ve={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ye(t,e){var n=U.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var _e=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function be(t,e,n){t.addEventListener(e,n,_e)}function we(t,e,n){t.removeEventListener(e,n,_e)}function xe(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function ke(t){var e=document.createElement("div");return e.className=t||"",e}function Ce(t,e,n){var i,r,a,o,s=t.$chartjs||(t.$chartjs={}),l=s.resizer=function(t){var e=ke("chartjs-size-monitor"),n=ke("chartjs-size-monitor-expand"),i=ke("chartjs-size-monitor-shrink");n.appendChild(ke()),i.appendChild(ke()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){e._reset(),t()};return be(n,"scroll",r.bind(n,"expand")),be(i,"scroll",r.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,r=i?i.clientWidth:0;e(xe("resize",n)),i&&i.clientWidth0){var a=t[0];a.label?n=a.label:a.xLabel?n=a.xLabel:r>0&&a.index-1?t.split("\n"):t}function De(t){var e=D.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Oe(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Oe(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Oe(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Oe(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Oe(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Oe(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Oe(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Oe(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Oe(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Re(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function je(t){return ze([],Ne(t))}var Fe=Y.extend({initialize:function(){this._model=De(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),r=n.title.apply(t,arguments),a=n.afterTitle.apply(t,arguments),o=[];return o=ze(o,Ne(i)),o=ze(o,Ne(r)),o=ze(o,Ne(a))},getBeforeBody:function(){return je(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return U.each(t,(function(t){var a={before:[],lines:[],after:[]};ze(a.before,Ne(i.beforeLabel.call(n,t,e))),ze(a.lines,i.label.call(n,t,e)),ze(a.after,Ne(i.afterLabel.call(n,t,e))),r.push(a)})),r},getAfterBody:function(){return je(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),a=[];return a=ze(a,Ne(n)),a=ze(a,Ne(i)),a=ze(a,Ne(r))},update:function(t){var e,n,i,r,a,o,s,l,u,c,h=this,d=h._options,p=h._model,f=h._model=De(d),m=h._active,g=h._data,v={xAlign:p.xAlign,yAlign:p.yAlign},y={x:p.x,y:p.y},_={width:p.width,height:p.height},b={x:p.caretX,y:p.caretY};if(m.length){f.opacity=1;var w=[],x=[];b=Me[d.position].call(h,m,h._eventPosition);var k=[];for(e=0,n=m.length;ei.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===c?a+=h:a-="bottom"===c?e.height+h:e.height/2,"center"===c?"left"===u?r+=h:"right"===u&&(r-=h):"left"===u?r-=d:"right"===u&&(r+=d),{x:r,y:a}}(f,_,v=function(t,e){var n,i,r,a,o,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",h="center";s.yl.height-e.height&&(h="bottom");var d=(u.left+u.right)/2,p=(u.top+u.bottom)/2;"center"===h?(n=function(t){return t<=d},i=function(t){return t>d}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},a=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",h=o(s.y))):i(s.x)&&(c="right",a(s.x)&&(c="center",h=o(s.y)));var f=t._options;return{xAlign:f.xAlign?f.xAlign:c,yAlign:f.yAlign?f.yAlign:h}}(this,_),h._chart)}else f.opacity=0;return f.xAlign=v.xAlign,f.yAlign=v.yAlign,f.x=y.x,f.y=y.y,f.width=_.width,f.height=_.height,f.caretX=b.x,f.caretY=b.y,h._model=f,t&&d.custom&&d.custom.call(h,f),h},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(t,e,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,n){var i,r,a,o,s,l,u=n.caretSize,c=n.cornerRadius,h=n.xAlign,d=n.yAlign,p=t.x,f=t.y,m=e.width,g=e.height;if("center"===d)s=f+g/2,"left"===h?(r=(i=p)-u,a=i,o=s+u,l=s-u):(r=(i=p+m)+u,a=i,o=s-u,l=s+u);else if("left"===h?(i=(r=p+c+u)-u,a=r+u):"right"===h?(i=(r=p+m-c-u)-u,a=r+u):(i=(r=n.caretX)-u,a=r+u),"top"===d)s=(o=f)-u,l=o;else{s=(o=f+g)+u,l=o;var v=a;a=i,i=v}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,r,a,o=e.title,s=o.length;if(s){var l=Ae(e.rtl,e.x,e.width);for(t.x=Re(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=U.fontString(i,e._titleFontStyle,e._titleFontFamily),a=0;a0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,a=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,U.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),U.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!U.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),Be=Me,Ue=Fe;Ue.positioners=Be;var qe=U.valueOrDefault;function $e(){return U.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,a,o,s=n[t].length;for(e[t]||(e[t]=[]),r=0;r=e[t].length&&e[t].push({}),!e[t][r].type||o.type&&o.type!==e[t][r].type?U.merge(e[t][r],[Ie.getScaleDefaults(a),o]):U.merge(e[t][r],o)}else U._merger(t,e,n,i)}})}function Ge(){return U.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||{},a=n[t];"scales"===t?e[t]=$e(r,a):"scale"===t?e[t]=U.merge(r,[Ie.getScaleDefaults(a.type),a]):U._merger(t,e,n,i)}})}function Ve(t){var e=t.options;U.each(t.scales,(function(e){fe.removeBox(t,e)})),e=Ge(D.global,D[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function He(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(U.findIndex(t,r)>=0);return i}function We(t){return"top"===t||"bottom"===t}function Ye(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}D._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ze=function(t,e){return this.construct(t,e),this};U.extend(Ze.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ge(D.global,D[t.type],t.options||{}),t}(e);var i=Pe.acquireContext(t,e),r=i&&i.canvas,a=r&&r.height,o=r&&r.width;n.id=U.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Ze.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&r&&(n.initialize(),n.update())},initialize:function(){var t=this;return Le.notify(t,"beforeInit"),U.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,"afterInit"),t},clear:function(){return U.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(U.getMaximumWidth(i))),o=Math.max(0,Math.floor(r?a/r:U.getMaximumHeight(i)));if((e.width!==a||e.height!==o)&&(i.width=e.width=a,i.height=e.height=o,i.style.width=a+"px",i.style.height=o+"px",U.retinaScale(e,n.devicePixelRatio),!t)){var s={width:a,height:o};Le.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;U.each(e.xAxes,(function(t,n){t.id||(t.id=He(e.xAxes,"x-axis-",n))})),U.each(e.yAxes,(function(t,n){t.id||(t.id=He(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),U.each(i,(function(e){var i=e.options,a=i.id,o=qe(i.type,e.dtype);We(i.position)!==We(e.dposition)&&(i.position=e.dposition),r[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Ie.getScaleConstructor(o);if(!l)return;s=new l({id:a,type:o,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),U.each(r,(function(t,e){t||delete n[e]})),t.scales=n,Ie.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t=0;--n)this.drawDataset(e[n],t);Le.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Le.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Le.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Le.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Le.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return re.modes.single(this,t)},getElementsAtEvent:function(t){return re.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return re.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=re.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return re.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=U.log10(Math.abs(i)),a="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=U.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(r);s=Math.max(Math.min(s,20),0),a=t.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),a=t.toFixed(l)}else a="0";return a},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(U.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},en=U.isArray,nn=U.isNullOrUndef,rn=U.valueOrDefault,an=U.valueAtIndexOrDefault;function on(t,e,n){var i,r=t.getTicks().length,a=Math.min(e,r-1),o=t.getPixelForTick(a),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===r?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(a-1))/2,(o+=al+1e-6)))return o}function sn(t,e,n,i){var r,a,o,s,l,u,c,h,d,p,f,m,g,v=n.length,y=[],_=[],b=[];for(r=0;re){for(n=0;n=d||c<=1||!s.isHorizontal()?s.labelRotation=h:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(r=l.offset?s.maxWidth/c:i/(c-1))&&(r=i/(c-(l.offset?.5:1)),a=s.maxHeight-ln(l.gridLines)-u.padding-un(l.scaleLabel),o=Math.sqrt(e*e+n*n),p=U.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),p=Math.max(h,Math.min(d,p))),s.labelRotation=p)},afterCalculateTickRotation:function(){U.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){U.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,a=i.scaleLabel,o=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=ln(o)+un(a)),u?s&&(e.height=ln(o)+un(a)):e.height=t.maxHeight,r.display&&s){var c=hn(r),h=t._getLabelSizes(),d=h.first,p=h.last,f=h.widest,m=h.highest,g=.4*c.minor.lineHeight,v=r.padding;if(u){var y=0!==t.labelRotation,_=U.toRadians(t.labelRotation),b=Math.cos(_),w=Math.sin(_),x=w*f.width+b*(m.height-(y?m.offset:0))+(y?0:g);e.height=Math.min(t.maxHeight,e.height+x+v);var k,C,T=t.getPixelForTick(0)-t.left,E=t.right-t.getPixelForTick(t.getTicks().length-1);y?(k=l?b*d.width+w*d.offset:w*(d.height-d.offset),C=l?w*(p.height-p.offset):b*p.width+w*p.offset):(k=d.width/2,C=p.width/2),t.paddingLeft=Math.max((k-T)*t.width/(t.width-T),0)+3,t.paddingRight=Math.max((C-E)*t.width/(t.width-E),0)+3}else{var S=r.mirror?0:f.width+v+g;e.width=Math.min(t.maxWidth,e.width+S),t.paddingTop=d.height/2,t.paddingBottom=p.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){U.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(nn(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map((function(t){return t.value})),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;nn-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,l=a.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;es)return function(t,e,n){var i,r,a=0,o=e[0];for(n=Math.ceil(n),i=0;iu)return a;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,n=u-1;e1?(h-c)/(u-1):null,pn(t,i,U.isNullOrUndef(r)?0:c-r,c),pn(t,i,h,U.isNullOrUndef(r)?t.length:h+r),dn(t)}return pn(t,i),dn(t)},_tickSize:function(){var t=this.options.ticks,e=U.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),r=this._getLabelSizes(),a=t.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i=0&&(o=t),void 0!==a&&(t=n.indexOf(a))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;mn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,a,o=this;return gn(e)||gn(n)||(t=o.chart.data.datasets[n].data[e]),gn(t)||(i=o.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=o._getLabels(),t=U.valueOrDefault(i,t),e=-1!==(a=r.indexOf(t))?a:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),yn={position:"bottom"};vn._defaults=yn;var _n=U.noop,bn=U.isNullOrUndef,wn=mn.extend({getRightValue:function(t){return"string"==typeof t?+t:mn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=U.sign(t.min),i=U.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==a&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:_n,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:U.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var n,i,r,a,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,c=t.min,h=t.max,d=t.precision,p=e.min,f=e.max,m=U.niceNum((f-p)/u/l)*l;if(m<1e-14&&bn(c)&&bn(h))return[p,f];(a=Math.ceil(f/m)-Math.floor(p/m))>u&&(m=U.niceNum(a*m/u/l)*l),s||bn(d)?n=Math.pow(10,U._decimalPlaces(m)):(n=Math.pow(10,d),m=Math.ceil(m*n)/n),i=Math.floor(p/m)*m,r=Math.ceil(f/m)*m,s&&(!bn(c)&&U.almostWhole(c/m,m/1e3)&&(i=c),!bn(h)&&U.almostWhole(h/m,m/1e3)&&(r=h)),a=(r-i)/m,a=U.almostEquals(a,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),i=Math.round(i*n)/n,r=Math.round(r*n)/n,o.push(bn(c)?i:c);for(var g=1;ge.length-1?null:this.getPixelForValue(e[t])}}),En=xn;Tn._defaults=En;var Sn=U.valueOrDefault,Pn=U.math.log10,Ln={position:"left",ticks:{callback:tn.formatters.logarithmic}};function In(t,e){return U.isFinite(t)&&t>=0?t:e}var On=mn.extend({determineDataLimits:function(){var t,e,n,i,r,a,o=this,s=o.options,l=o.chart,u=l.data.datasets,c=o.isHorizontal();function h(t){return c?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var d=s.stacked;if(void 0===d)for(t=0;t0){var e=U.min(t),n=U.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(Pn(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:In(e.min),max:In(e.max)},r=t.ticks=function(t,e){var n,i,r=[],a=Sn(t.min,Math.pow(10,Math.floor(Pn(e.min)))),o=Math.floor(Pn(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===a?(n=Math.floor(Pn(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(Pn(a)),i=Math.floor(a/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(a),10==++i&&(i=1,l=++n>=0?1:l),a=Math.round(i*Math.pow(10,n)*l)/l}while(ne.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Pn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;mn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Sn(t.options.ticks.fontSize,D.global.defaultFontSize)/t._length),t._startValue=Pn(e),t._valueOffset=n,t._valueRange=(Pn(t.max)-Pn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(Pn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),An=Ln;On._defaults=An;var Mn=U.valueOrDefault,zn=U.valueAtIndexOrDefault,Nn=U.options.resolve,Dn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:tn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Rn(t){var e=t.ticks;return e.display&&t.display?Mn(e.fontSize,D.global.defaultFontSize)+2*e.backdropPaddingY:0}function jn(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:tr?{start:e-n,end:e}:{start:e,end:e+n}}function Fn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Bn(t,e,n,i){var r,a,o=n.y+i/2;if(U.isArray(e))for(r=0,a=e.length;r270||t<90)&&(n.y-=e.h)}function qn(t){return U.isNumber(t)?t:0}var $n=wn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Rn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;U.each(e.data.datasets,(function(r,a){if(e.isDatasetVisible(a)){var o=e.getDatasetMeta(a);U.each(r.data,(function(e,r){var a=+t.getRightValue(e);isNaN(a)||o.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Rn(this.options))},convertTicksToLabels:function(){var t=this;wn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=U.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,r=U.options._parseFont(t.options.pointLabels),a={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=r.string,t._pointLabelSizes=[];var s,l,u,c=t.chart.data.labels.length;for(e=0;ea.r&&(a.r=p.end,o.r=h),f.starta.b&&(a.b=f.end,o.b=h)}t.setReductions(t.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),a=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=qn(r),a=qn(a),o=qn(o),s=qn(s),i.drawingArea=Math.min(Math.floor(t-(r+a)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(r,a,o,s)},setCenterPoint:function(t,e,n,i){var r=this,a=r.width-e-r.drawingArea,o=t+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((o+a)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(U.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,a=i.options,o=a.gridLines,s=a.angleLines,l=Mn(s.lineWidth,o.lineWidth),u=Mn(s.color,o.color);if(a.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=Rn(n),a=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=U.options._parseFont(i);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=t.getPointPosition(s,a+l+5),c=zn(i.fontColor,s,D.global.defaultFontColor);e.fillStyle=c;var h=t.getIndexAngle(s),d=U.toDegrees(h);e.textAlign=Fn(d),Un(d,t._pointLabelSizes[s],u),Bn(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(i),o.display&&U.each(i.ticks,(function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var r,a=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=zn(e.color,i-1),u=zn(e.lineWidth,i-1);if((o||s)&&l&&u){if(a.save(),a.strokeStyle=l,a.lineWidth=u,a.setLineDash&&(a.setLineDash(e.borderDash||[]),a.lineDashOffset=e.borderDashOffset||0),a.beginPath(),o)a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),a.moveTo(r.x,r.y);for(var c=1;c=0;t--)e=i.getDistanceFromCenterForValue(a.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,r,a=t.getIndexAngle(0),o=U.options._parseFont(n),s=Mn(n.fontColor,D.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",U.each(t.ticks,(function(a,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=e.measureText(a).width,e.fillStyle=n.backdropColor,e.fillRect(-r/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(a,0,-i))})),e.restore()}},_drawTitle:U.noop}),Gn=Dn;$n._defaults=Gn;var Vn=U._deprecated,Hn=U.options.resolve,Wn=U.valueOrDefault,Yn=Number.MIN_SAFE_INTEGER||-9007199254740991,Zn=Number.MAX_SAFE_INTEGER||9007199254740991,Xn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Jn=Object.keys(Xn);function Kn(t,e){return t-e}function Qn(t){return U.valueOrDefault(t.time.min,t.ticks.min)}function ti(t){return U.valueOrDefault(t.time.max,t.ticks.max)}function ei(t,e,n,i){var r=function(t,e,n){for(var i,r,a,o=0,s=t.length-1;o>=0&&o<=s;){if(r=t[(i=o+s>>1)-1]||null,a=t[i],!r)return{lo:null,hi:a};if(a[e]n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(t,e,n),a=r.lo?r.hi?r.lo:t[t.length-2]:t[0],o=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=o[e]-a[e],l=s?(n-a[e])/s:0,u=(o[i]-a[i])*l;return a[i]+u}function ni(t,e){var n=t._adapter,i=t.options.time,r=i.parser,a=r||i.format,o=e;return"function"==typeof r&&(o=r(o)),U.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(e),U.isFinite(o)||(o=n.parse(o))),o)}function ii(t,e){if(U.isNullOrUndef(e))return null;var n=t.options.time,i=ni(t,t.getRightValue(e));return null===i||n.round&&(i=+t._adapter.startOf(i,n.round)),i}function ri(t,e,n,i){var r,a,o,s=Jn.length;for(r=Jn.indexOf(t);r=0&&(e[a].major=!0);return e}(t,a,o,n):a}var oi=mn.extend({initialize:function(){this.mergeTicksOptions(),mn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new Qe._date(e.adapters.date);return Vn("time scale",n.format,"time.format","time.parser"),Vn("time scale",n.min,"time.min","ticks.min"),Vn("time scale",n.max,"time.max","ticks.max"),U.mergeIf(n.displayFormats,i.formats()),mn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),mn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,a,o,s=this,l=s.chart,u=s._adapter,c=s.options,h=c.time.unit||"day",d=Zn,p=Yn,f=[],m=[],g=[],v=s._getLabels();for(t=0,n=v.length;t1?function(t){var e,n,i,r={},a=[];for(e=0,n=t.length;e1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=h;r=r&&n<=a&&c.push(n);return i.min=r,i.max=a,i._unit=l.unit||(s.autoSkip?ri(l.minUnit,i.min,i.max,h):function(t,e,n,i,r){var a,o;for(a=Jn.length-1;a>=Jn.indexOf(n);a--)if(o=Jn[a],Xn[o].common&&t._adapter.diff(r,i,o)>=e-1)return o;return Jn[n?Jn.indexOf(n):0]}(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=Jn.indexOf(t)+1,n=Jn.length;ee&&s=0&&t0?s:1}}),si={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};oi._defaults=si;var li={category:vn,linear:Tn,logarithmic:On,radialLinear:$n,time:oi},ui={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Qe._date.override("function"==typeof t?{_id:"moment",formats:function(){return ui},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),D._set("global",{plugins:{filler:{propagate:!0}}});var ci={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],a=r.length||0;return a?function(t,e){return e=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function di(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,r,a,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,e),r=0;r0;--a)U.canvas.lineTo(t,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=r-1;a>0;--a)t.arc(o,s,l,n[a].angle,n[a-1].angle,!0)}}function vi(t,e,n,i,r,a){var o,s,l,u,c,h,d,p,f=e.length,m=i.spanGaps,g=[],v=[],y=0,_=0;for(t.beginPath(),o=0,s=f;o=0;--n)(e=l[n].$filler)&&e.visible&&(r=(i=e.el)._view,a=i._children||[],o=e.mapper,s=r.backgroundColor||D.global.defaultColor,o&&s&&a.length&&(U.canvas.clipArea(u,t.chartArea),vi(u,a,o,r,s,i._loop),U.canvas.unclipArea(u)))}},_i=U.rtl.getRtlAdapter,bi=U.noop,wi=U.valueOrDefault;function xi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}D._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),a=t.data.datasets;for(r.setAttribute("class",t.id+"-legend"),e=0,n=a.length;el.width)&&(h+=o+n.padding,c[c.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:o},c[c.length-1]+=i+n.padding})),l.height+=h}else{var d=n.padding,p=t.columnWidths=[],f=t.columnHeights=[],m=n.padding,g=0,v=0;U.each(t.legendItems,(function(t,e){var i=xi(n,o)+o/2+r.measureText(t.text).width;e>0&&v+o+2*d>l.height&&(m+=g+n.padding,p.push(g),f.push(v),g=0,v=0),g=Math.max(g,i),v+=o+d,s[e]={left:0,top:0,width:i,height:o}})),m+=g,p.push(g),f.push(v),l.width+=m}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:bi,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=D.global,r=i.defaultColor,a=i.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var c,h=_i(e.rtl,t.left,t.minSize.width),d=t.ctx,p=wi(n.fontColor,i.defaultFontColor),f=U.options._parseFont(n),m=f.size;d.textAlign=h.textAlign("left"),d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=f.string;var g=xi(n,m),v=t.legendHitBoxes,y=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},_=t.isHorizontal();c=_?{x:t.left+y(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+y(o,s[0]),line:0},U.rtl.overrideTextDirection(t.ctx,e.textDirection);var b=m+n.padding;U.each(t.legendItems,(function(e,i){var p=d.measureText(e.text).width,f=g+m/2+p,w=c.x,x=c.y;h.setWidth(t.minSize.width),_?i>0&&w+f+n.padding>t.left+t.minSize.width&&(x=c.y+=b,c.line++,w=c.x=t.left+y(l,u[c.line])):i>0&&x+b>t.top+t.minSize.height&&(w=c.x=w+t.columnWidths[c.line]+n.padding,c.line++,x=c.y=t.top+y(o,s[c.line]));var k=h.x(w);!function(t,e,i){if(!(isNaN(g)||g<=0)){d.save();var o=wi(i.lineWidth,a.borderWidth);if(d.fillStyle=wi(i.fillStyle,r),d.lineCap=wi(i.lineCap,a.borderCapStyle),d.lineDashOffset=wi(i.lineDashOffset,a.borderDashOffset),d.lineJoin=wi(i.lineJoin,a.borderJoinStyle),d.lineWidth=o,d.strokeStyle=wi(i.strokeStyle,r),d.setLineDash&&d.setLineDash(wi(i.lineDash,a.borderDash)),n&&n.usePointStyle){var s=g*Math.SQRT2/2,l=h.xPlus(t,g/2),u=e+m/2;U.canvas.drawPoint(d,i.pointStyle,s,l,u,i.rotation)}else d.fillRect(h.leftForLtr(t,g),e,g,m),0!==o&&d.strokeRect(h.leftForLtr(t,g),e,g,m);d.restore()}}(k,x,e),v[i].left=h.leftForLtr(k,v[i].width),v[i].top=x,function(t,e,n,i){var r=m/2,a=h.xPlus(t,g+r),o=e+r;d.fillText(n.text,a,o),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(a,o),d.lineTo(h.xPlus(a,i),o),d.stroke())}(k,x,e,p),_?c.x+=f+n.padding:c.y+=b})),U.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,a=this;if(t>=a.left&&t<=a.right&&e>=a.top&&e<=a.bottom)for(r=a.legendHitBoxes,n=0;n=(i=r[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return a.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Ci(t,e){var n=new ki({ctx:t.ctx,options:e,chart:t});fe.configure(t,n,e),fe.addBox(t,n),t.legend=n}var Ti={id:"legend",_element:ki,beforeInit:function(t){var e=t.options.legend;e&&Ci(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(U.mergeIf(e,D.global.legend),n?(fe.configure(t,n,e),n.options=e):Ci(t,e)):n&&(fe.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ei=U.noop;D._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Si=Y.extend({initialize:function(t){U.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:Ei,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ei,beforeSetDimensions:Ei,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ei,beforeBuildLabels:Ei,buildLabels:Ei,afterBuildLabels:Ei,beforeFit:Ei,fit:function(){var t,e=this,n=e.options,i=e.minSize={},r=e.isHorizontal();n.display?(t=(U.isArray(n.text)?n.text.length:1)*U.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=r?e.maxWidth:t,e.height=i.height=r?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:Ei,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,a,o=U.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,c=t.top,h=t.left,d=t.bottom,p=t.right;e.fillStyle=U.valueOrDefault(n.fontColor,D.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(r=h+(p-h)/2,a=c+l,i=p-h):(r="left"===n.position?h+l:p-l,a=c+(d-c)/2,i=d-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,a),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var f=n.text;if(U.isArray(f))for(var m=0,g=0;g=0;i--){var r=t[i];if(e(r))return r}},U.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},U.almostEquals=function(t,e,n){return Math.abs(t-e)=t},U.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},U.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},U.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},U.toRadians=function(t){return t*(Math.PI/180)},U.toDegrees=function(t){return t*(180/Math.PI)},U._decimalPlaces=function(t){if(U.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},U.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},U.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},U.aliasPixel=function(t){return t%2==0?0:.5},U._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},U.splineCurve=function(t,e,n,i){var r=t.skip?e:t,a=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),c=l/(s+l),h=i*(u=isNaN(u)?0:u),d=i*(c=isNaN(c)?0:c);return{previous:{x:a.x-h*(o.x-r.x),y:a.y-h*(o.y-r.y)},next:{x:a.x+d*(o.x-r.x),y:a.y+d*(o.y-r.y)}}},U.EPSILON=Number.EPSILON||1e-14,U.splineCurveMonotone=function(t){var e,n,i,r,a,o,s,l,u,c=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=c.length;for(e=0;e0?c[e-1]:null,(r=e0?c[e-1]:null,r=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},U.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},U.niceNum=function(t,e){var n=Math.floor(U.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},U.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},U.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,a=t.target||t.srcElement,o=a.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(U.getStyle(a,"padding-left")),u=parseFloat(U.getStyle(a,"padding-top")),c=parseFloat(U.getStyle(a,"padding-right")),h=parseFloat(U.getStyle(a,"padding-bottom")),d=o.right-o.left-l-c,p=o.bottom-o.top-u-h;return{x:n=Math.round((n-o.left-l)/d*a.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/p*a.height/e.currentDevicePixelRatio)}},U.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},U.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},U._calculatePadding=function(t,e,n){return(e=U.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},U._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},U.getMaximumWidth=function(t){var e=U._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-U._calculatePadding(e,"padding-left",n)-U._calculatePadding(e,"padding-right",n),r=U.getConstraintWidth(t);return isNaN(r)?i:Math.min(i,r)},U.getMaximumHeight=function(t){var e=U._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-U._calculatePadding(e,"padding-top",n)-U._calculatePadding(e,"padding-bottom",n),r=U.getConstraintHeight(t);return isNaN(r)?i:Math.min(i,r)},U.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},U.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,a=t.width;i.height=r*n,i.width=a*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},U.fontString=function(t,e,n){return e+" "+t+"px "+n},U.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},a=i.garbageCollect=[],i.font=e),t.font=e;var o,s,l,u,c,h=0,d=n.length;for(o=0;on.length){for(o=0;oi&&(i=a),i},U.numberOfLabelLines=function(t){var e=1;return U.each(t,(function(t){U.isArray(t)&&t.length>e&&(e=t.length)})),e},U.color=x?function(t){return t instanceof CanvasGradient&&(t=D.global.defaultColor),x(t)}:function(t){return t},U.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:U.color(t).saturate(.5).darken(.1).rgbString()}}(),Xe._adapters=Qe,Xe.Animation=X,Xe.animationService=J,Xe.controllers=Jt,Xe.DatasetController=nt,Xe.defaults=D,Xe.Element=Y,Xe.elements=wt,Xe.Interaction=re,Xe.layouts=fe,Xe.platform=Pe,Xe.plugins=Le,Xe.Scale=mn,Xe.scaleService=Ie,Xe.Ticks=tn,Xe.Tooltip=Ue,Xe.helpers.each(li,(function(t,e){Xe.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Mi)&&Xe.plugins.register(Li[Mi]);Xe.platform.initialize();var zi=Xe;return"undefined"!=typeof window&&(window.Chart=Xe),Xe.Chart=Xe,Xe.Legend=Li.legend._element,Xe.Title=Li.title._element,Xe.pluginService=Xe.plugins,Xe.PluginBase=Xe.Element.extend({}),Xe.canvasHelpers=Xe.helpers.canvas,Xe.layoutService=Xe.layouts,Xe.LinearScaleBase=wn,Xe.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){Xe[t]=function(e,n){return new Xe(e,Xe.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),zi}(function(){try{return n("wd/R")}catch(t){}}())},MlY7:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("PEkK"),o=n("7Zut"),s=n("5QBx");function l(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var u={name:"Password",data:function(){return{processing:!1,oldpassword:"",password:"",password_confirmation:"",btn:"button is-medium is-info"}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("CHANGE_PASSWORD",{oldpassword:e.oldpassword,password:e.password,password_confirmation:e.password_confirmation});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){l(a,i,r,o,s,"next",t)}function s(t){l(a,i,r,o,s,"throw",t)}o(void 0)}))})()},translate:function(t){return this.$t("settings."+t)}}},c=n("KHd+"),h=Object(c.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(" "+t._s(t.$t("settings.password.change-password")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("form",{attrs:{method:"POST"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"oldpassword"}},[t._v(" "+t._s(t.$t("settings.password.enter-old-password")))]),t._v(" "),t.errorExists("oldpassword")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("oldpassword"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.oldpassword,expression:"oldpassword"}],staticClass:"input",attrs:{type:"password",name:"oldpassword",placeholder:"*********",required:""},domProps:{value:t.oldpassword},on:{input:function(e){e.target.composing||(t.oldpassword=e.target.value)}}}),t._v(" "),t._m(0)])]),t._v(" "),n("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("settings.password.enter-new-password")))]),t._v(" "),t.errorExists("password")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",attrs:{id:"password",type:"password",name:"password",placeholder:t.translate("password.enter-strong-password"),required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),t._m(1)])]),t._v(" "),n("label",{attrs:{for:"password_confirmation"}},[t._v(t._s(t.$t("settings.password.confirm-new-password")))]),t._v(" "),t.errorExists("password_confirmation")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("password_confirmation"))}}):t._e(),t._v(" "),n("div",{staticClass:"field mb2"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password_confirmation,expression:"password_confirmation"}],staticClass:"input",attrs:{type:"password",name:"password_confirmation",placeholder:t.translate("password.repeat-strong-password"),required:""},domProps:{value:t.password_confirmation},on:{input:function(e){e.target.composing||(t.password_confirmation=e.target.value)}}}),t._v(" "),t._m(2)])]),t._v(" "),n("div",{staticClass:"col-md-12",staticStyle:{"text-align":"center"}},[n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("settings.password.update-password")))])])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])}],!1,null,null,null).exports,d=n("B/ql"),p=n("+LEQ"),f=n("X+Nf"),m=n("u5mE"),g=n("PBxq"),v=n("YFX/");function y(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var _={name:"Settings",components:{Details:a.default,Social:o.default,Account:s.default,Password:h,Payments:d.default,Privacy:p.default,Littercoin:f.default,Presence:m.default,Emails:g.default,GlobalFlag:v.default},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:window.location.href.split("/")[4]&&(e.link=window.location.href.split("/")[4]);case 1:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){y(a,i,r,o,s,"next",t)}function s(t){y(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{links:["details","social","account","password","payments","privacy","littercoin","presence","emails","show-flag"],link:"password",types:{details:"Details",social:"Social",account:"Account",password:"Password",payments:"Payments",privacy:"Privacy",littercoin:"Littercoin",presence:"Presence",emails:"Emails","show-flag":"GlobalFlag"}}},methods:{change:function(t){this.link=t},translate:function(t){return this.$t("settings.common."+t)}}},b=Object(c.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container mt5"},[n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-2"},[n("aside",{staticClass:"menu",attrs:{id:"panel"}},[n("p",{staticClass:"menu-label"},[t._v("\n\t\t\t\t "+t._s(t.$t("settings.common.general"))+"\n\t\t\t\t ")]),t._v(" "),n("ul",{staticClass:"menu-list"},t._l(t.links,(function(e){return n("li",[n("router-link",{attrs:{to:"/settings/"+e},nativeOn:{click:function(n){return t.change(e)}}},[t._v("\n "+t._s(t.translate(e))+"\n\t\t\t\t \t ")])],1)})),0)])]),t._v(" "),n("div",{staticClass:"column is-three-quarters is-offset-1"},[n(this.types[this.link],{tag:"component"})],1)])])}),[],!1,null,null,null);e.default=b.exports},"N+wP":function(t){t.exports=JSON.parse('{"email-you":"¿Quieres que te enviemos algunas buenas noticias","subscribe":"Subscríbete","subscribed-success-msg":"¡Te has suscrito a las buenas noticias! Puedes darte de baja en cualquier momento","need-your-help":"Necesitamos tu ayuda para crear la base de datos sobre contaminación más avanzada y accesible del mundo","read":"LEER","blog":"Blog","research-paper":"Artículo de investigación","watch":"VER","help":"AYUDA","join-the-team":"Únete al equipo","join-slack":"Únete a Slack","create-account":"Crear una cuenta","fb-group":"Grupo de Facebook","single-donation":"Donación única","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap es un producto insignia de GeoTech Innovations Ltd., una startup en Irlanda pionera en servicios esenciales de ciencia ciudadana #650323","enter-email":"Ingresa tu dirección de correo electrónico","references":"Referencias","credits":"Créditos","contact-us":"Contact Us"}')},N31T:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Hide the map on mobile */\n@media screen and (max-width: 768px) {\n.cleanup-map[data-v-4ac26321] {\n flex: 0 !important;\n}\n.cleanup-sidebar[data-v-4ac26321] {\n flex: 1 !important;\n}\n}\n.cleanups-container[data-v-4ac26321] {\n height: calc(100% - 72px);\n display: flex;\n}\n.cleanup-map[data-v-4ac26321] {\n flex: 0.7;\n z-index: 1;\n}\n\n/*.find-location {*/\n/* // cursor: url('https://65.media.tumblr.com/avatar_91989eab746d_96.png'), auto !important;*/\n/*}*/\n.cleanup-sidebar[data-v-4ac26321] {\n background-color: white;\n height: 100%;\n flex: 0.3;\n text-align: center;\n padding-left: 1em;\n padding-right: 1em;\n}\n\n",""])},NDTK:function(t){t.exports=JSON.parse('{"description":"Estos enlaces aparecerán en cada foto que hayas subido, en el Mapa Global. Proporcione las URL completas.","personal-website":"Sitio Web Personal","personal-website-url":"URL del Sitio Web Personal"}')},NEmZ:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap é atualmente totalmente dependente de doações.","its-important":"É importante"}')},NEqZ:function(t){t.exports=JSON.parse('{"address":"Locatie","add-tag":"Label toevoegen","coordinates":"Coördinaten","device":"Toestel","next":"Volgende foto","no-tags":"Je hebt op dit moment geen foto\'s om te labelen.","picked-up-title":"Opgeruimd?","please-upload":"Meer foto\'s uploaden","previous":"Vorige foto","removed":"Het item is opgeruimd","still-there":"Het item ligt er nog","taken":"Genomen op","to-tag":"Aantal foto\'s om nog te labelen","total-uploaded":"Totaal aantal foto\'s geupload","uploaded":"Geupload","confirm-delete":"Wil je deze afbeelding verwijderen? Dit kan niet ongedaan gemaakt worden.","recently-tags":"Recent gebruikte kenmerken","clear-tags":"Verwijder recent gebruikte kenmerken?","clear-tags-btn":"Verwijder recent gebruikte kenmerken","search-all-tags":"Druk op Ctrl + Spatiebalk om in alle tags te zoeken","search-custom-tags":"Voeg uw eigen tags toe","custom-tags":"Aangepaste Tags","custom-tags-min":"Het moet minimaal 3 tekens lang zijn.","custom-tags-max":"Het mag maximaal 100 tekens lang zijn.","tag-already-added":"Tag al toegevoegd.","tag-limit-reached":"U kunt maximaal 3 aangepaste tags uploaden."}')},NN1S:function(t,e,n){"use strict";var i=n("RL2N");n.n(i).a},NPqV:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".-mt-2[data-v-7a7fd8e6] {\n margin-top: -2px;\n}",""])},NcSw:function(t){t.exports=JSON.parse('{"title":"Minhas equipes","currently-joined-team":"Sua equipe ativa é","currently-not-joined-team":"Você não faz parte de uma equipe no momento","no-joined-team":"Você ainda não se juntou a uma equipe","leader-of-team":"Você é o líder desta equipe","enabled-contributions":"Todas as suas contribuições contarão apenas para esta equipe.","disabled-contributions":"Você ainda não selecionou uma equipe ativa.
    Isso significa que você não está contribuindo para nenhuma equipe no momento.
    Você pode selecionar sua equipe ativa clicando nos ícones de estrela na lista inferior.","disable-contributions-tooltip":"Isso desativa as contribuições da sua equipe a partir de agora. Você ainda será um membro de suas equipes e poderá ativar contribuições a qualquer momento.","team-details":"Detalhes da Equipe","all-my-teams":"Todas as minhas Equipes","this-is-active-team":"Esta é sua equipe ativa","set-as-active-team":"Definir como sua equipe ativa","team-identifier":"Identificador de equipe","join-team":"Por favor, junte-se a uma equipe","leave-team":"Sair da equipe","just-left-team":"Você acabou de sair do time","cant-leave-team":"Você não pode sair desta equipe porque você é o único membro","change-active-team":"Junte-se à equipe","download-team-data":"Baixar dados da equipe","hide-from-leaderboards":"Ocultar dos placares","show-on-leaderboards":"Mostrar nos placares","position-header":"Posição","name-header":"Nome","username-header":"Nome do usuário","status-header":"Status","photos-header":"Fotos","litter-header":"Lixo","identifier-header":"Identificador","members-header":"Membros","last-activity-header":"Última atividade","confirm-leave-team":"Você tem certeza?\\nVocê pode sempre voltar e suas contribuiçoes serão salvas."}')},O1jo:function(t,e,n){window,t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=44)}({0:function(t,e,n){var i=n(16);"string"==typeof i&&(i=[[t.i,i,""]]);var r={transform:void 0};n(5)(i,r),i.locals&&(t.exports=i.locals)},1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={t:"top",m:"marginTop",b:"bottom"},r={l:"left",m:"marginLeft",r:"right"};e.default={name:"vue-drag-resize",props:{stickSize:{type:Number,default:8},parentScaleX:{type:Number,default:1},parentScaleY:{type:Number,default:1},isActive:{type:Boolean,default:!1},preventActiveBehavior:{type:Boolean,default:!1},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},aspectRatio:{type:Boolean,default:!1},parentLimitation:{type:Boolean,default:!1},snapToGrid:{type:Boolean,default:!1},gridX:{type:Number,default:50,validator:function(t){return t>0}},gridY:{type:Number,default:50,validator:function(t){return t>0}},parentW:{type:Number,default:0,validator:function(t){return t>=0}},parentH:{type:Number,default:0,validator:function(t){return t>=0}},w:{type:Number,default:100,validator:function(t){return t>0}},h:{type:Number,default:100,validator:function(t){return t>0}},minw:{type:Number,default:50,validator:function(t){return t>0}},minh:{type:Number,default:50,validator:function(t){return t>0}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},sticks:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]}},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both","none"].indexOf(t)}},contentClass:{type:String,required:!1,default:""}},data:function(){return{active:this.isActive,rawWidth:this.w,rawHeight:this.h,rawLeft:this.x,rawTop:this.y,rawRight:null,rawBottom:null,zIndex:this.z,aspectFactor:this.w/this.h,parentWidth:null,parentHeight:null,left:this.x,top:this.y,right:null,bottom:null,minWidth:this.minw,minHeight:this.minh}},created:function(){this.stickDrag=!1,this.bodyDrag=!1,this.stickAxis=null,this.stickStartPos={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0},this.limits={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null},this.currentStick=[]},mounted:function(){if(this.parentElement=this.$el.parentNode,this.parentWidth=this.parentW?this.parentW:this.parentElement.clientWidth,this.parentHeight=this.parentH?this.parentH:this.parentElement.clientHeight,this.rawRight=this.parentWidth-this.rawWidth-this.rawLeft,this.rawBottom=this.parentHeight-this.rawHeight-this.rawTop,document.documentElement.addEventListener("mousemove",this.move),document.documentElement.addEventListener("mouseup",this.up),document.documentElement.addEventListener("mouseleave",this.up),document.documentElement.addEventListener("mousedown",this.deselect),document.documentElement.addEventListener("touchmove",this.move,!0),document.documentElement.addEventListener("touchend",this.up,!0),document.documentElement.addEventListener("touchcancel",this.up,!0),document.documentElement.addEventListener("touchstart",this.up,!0),this.dragHandle){var t=Array.prototype.slice.call(this.$el.querySelectorAll(this.dragHandle));for(var e in t)t[e].setAttribute("data-drag-handle",this._uid)}if(this.dragCancel){var n=Array.prototype.slice.call(this.$el.querySelectorAll(this.dragCancel));for(var i in n)n[i].setAttribute("data-drag-cancel",this._uid)}},beforeDestroy:function(){document.documentElement.removeEventListener("mousemove",this.move),document.documentElement.removeEventListener("mouseup",this.up),document.documentElement.removeEventListener("mouseleave",this.up),document.documentElement.removeEventListener("mousedown",this.deselect),document.documentElement.removeEventListener("touchmove",this.move,!0),document.documentElement.removeEventListener("touchend",this.up,!0),document.documentElement.removeEventListener("touchcancel",this.up,!0),document.documentElement.removeEventListener("touchstart",this.up,!0)},methods:{deselect:function(){this.preventActiveBehavior||(this.active=!1)},move:function(t){(this.stickDrag||this.bodyDrag)&&(t.stopPropagation(),this.stickDrag&&this.stickMove(t),this.bodyDrag&&this.bodyMove(t))},up:function(t){this.stickDrag&&this.stickUp(t),this.bodyDrag&&this.bodyUp(t)},bodyDown:function(t){var e=t.target||t.srcElement;this.preventActiveBehavior||(this.active=!0),t.button&&0!==t.button||(this.$emit("clicked",t),this.active&&(this.dragHandle&&e.getAttribute("data-drag-handle")!==this._uid.toString()||this.dragCancel&&e.getAttribute("data-drag-cancel")===this._uid.toString()||(t.stopPropagation(),t.preventDefault(),this.isDraggable&&(this.bodyDrag=!0),this.stickStartPos.mouseX=void 0!==t.pageX?t.pageX:t.touches[0].pageX,this.stickStartPos.mouseY=void 0!==t.pageY?t.pageY:t.touches[0].pageY,this.stickStartPos.left=this.left,this.stickStartPos.right=this.right,this.stickStartPos.top=this.top,this.stickStartPos.bottom=this.bottom,this.parentLimitation&&(this.limits=this.calcDragLimitation()))))},calcDragLimitation:function(){var t=this.parentWidth,e=this.parentHeight;return{minLeft:0,maxLeft:t-this.width,minRight:0,maxRight:t-this.width,minTop:0,maxTop:e-this.height,minBottom:0,maxBottom:e-this.height}},bodyMove:function(t){var e=this.stickStartPos,n=this.parentWidth,i=this.parentHeight,r=this.gridX,a=this.gridY,o=this.width,s=this.height,l=void 0!==t.pageX?t.pageX:t.touches[0].pageX,u=void 0!==t.pageY?t.pageY:t.touches[0].pageY,c=("y"!==this.axis&&"none"!==this.axis?e.mouseX-l:0)/this.parentScaleX,h=("x"!==this.axis&&"none"!==this.axis?e.mouseY-u:0)/this.parentScaleY,d=e.top-h,p=e.bottom+h,f=e.left-c,m=e.right+c;if(this.snapToGrid){var g=!0,v=!0,y=d-Math.floor(d/a)*a,_=i-p-Math.floor((i-p)/a)*a,b=f-Math.floor(f/r)*r,w=n-m-Math.floor((n-m)/r)*r;y>a/2&&(y-=a),_>a/2&&(_-=a),b>r/2&&(b-=r),w>r/2&&(w-=r),Math.abs(_)n?e=t/n:t=n*e);var h={minLeft:c,maxLeft:s+(i-t),minRight:c,maxRight:l+(i-t),minTop:c,maxTop:o+(r-e),minBottom:c,maxBottom:a+(r-e)};if(this.aspectRatio){var d={minLeft:s-Math.min(o,a)*n*2,maxLeft:s+(r-e)/2*n*2,minRight:l-Math.min(o,a)*n*2,maxRight:l+(r-e)/2*n*2,minTop:o-Math.min(s,l)/n*2,maxTop:o+(i-t)/2/n*2,minBottom:a-Math.min(s,l)/n*2,maxBottom:a+(i-t)/2/n*2};"x"===u?h={minLeft:Math.max(h.minLeft,d.minLeft),maxLeft:Math.min(h.maxLeft,d.maxLeft),minRight:Math.max(h.minRight,d.minRight),maxRight:Math.min(h.maxRight,d.maxRight)}:"y"===u&&(h={minTop:Math.max(h.minTop,d.minTop),maxTop:Math.min(h.maxTop,d.maxTop),minBottom:Math.max(h.minBottom,d.minBottom),maxBottom:Math.min(h.maxBottom,d.maxBottom)})}return h},stickMove:function(t){var e=this.stickStartPos,n=void 0!==t.pageX?t.pageX:t.touches[0].pageX,i=void 0!==t.pageY?t.pageY:t.touches[0].pageY,r=(e.mouseX-n)/this.parentScaleX,a=(e.mouseY-i)/this.parentScaleY,o=e.top-a,s=e.bottom+a,l=e.left-r,u=e.right+r;switch(this.currentStick[0]){case"b":this.snapToGrid&&(s=this.parentHeight-Math.round((this.parentHeight-s)/this.gridY)*this.gridY),this.rawBottom=s;break;case"t":this.snapToGrid&&(o=Math.round(o/this.gridY)*this.gridY),this.rawTop=o}switch(this.currentStick[1]){case"r":this.snapToGrid&&(u=this.parentWidth-Math.round((this.parentWidth-u)/this.gridX)*this.gridX),this.rawRight=u;break;case"l":this.snapToGrid&&(l=Math.round(l/this.gridX)*this.gridX),this.rawLeft=l}this.$emit("resizing",this.rect)},stickUp:function(){this.stickDrag=!1,this.stickStartPos={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0},this.limits={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null},this.rawTop=this.top,this.rawBottom=this.bottom,this.rawLeft=this.left,this.rawRight=this.right,this.stickAxis=null,this.$emit("resizing",this.rect),this.$emit("resizestop",this.rect)},aspectRatioCorrection:function(){if(this.aspectRatio){var t=this.bottom,e=this.top,n=this.left,i=this.right,r=this.width,a=this.height,o=this.aspectFactor,s=this.currentStick;if(r/a>o){var l=o*a;"l"===s[1]?this.left=n+r-l:this.right=i+r-l}else{var u=r/o;"t"===s[0]?this.top=e+a-u:this.bottom=t+a-u}}}},computed:{style:function(){return{top:this.top+"px",left:this.left+"px",width:this.width+"px",height:this.height+"px",zIndex:this.zIndex}},vdrStick:function(){var t=this;return function(e){var n={width:t.stickSize/t.parentScaleX+"px",height:t.stickSize/t.parentScaleY+"px"};return n[i[e[0]]]=t.stickSize/t.parentScaleX/-2+"px",n[r[e[1]]]=t.stickSize/t.parentScaleX/-2+"px",n}},width:function(){return this.parentWidth-this.left-this.right},height:function(){return this.parentHeight-this.top-this.bottom},rect:function(){return{left:Math.round(this.left),top:Math.round(this.top),width:Math.round(this.width),height:Math.round(this.height)}}},watch:{rawLeft:function(t){var e=this.limits,n=this.stickAxis,i=this.aspectFactor,r=this.aspectRatio,a=this.left,o=this.bottom,s=this.top;if(null!==e.minLeft&&t=0||"auto"===t)&&(this.zIndex=t)},aspectRatio:function(t){t&&(this.aspectFactor=this.width/this.height)},minw:function(t){t>0&&t<=this.width&&(this.minWidth=t)},minh:function(t){t>0&&t<=this.height&&(this.minHeight=t)},x:function(){if(!this.stickDrag&&!this.bodyDrag){this.parentLimitation&&(this.limits=this.calcDragLimitation());var t=this.x-this.left;this.rawLeft=this.x,this.rawRight=this.right-t}},y:function(){if(!this.stickDrag&&!this.bodyDrag){this.parentLimitation&&(this.limits=this.calcDragLimitation());var t=this.y-this.top;this.rawTop=this.y,this.rawBottom=this.bottom-t}},w:function(){if(!this.stickDrag&&!this.bodyDrag){this.currentStick=["m","r"],this.stickAxis="x",this.parentLimitation&&(this.limits=this.calcResizeLimitation());var t=this.width-this.w;this.rawRight=this.right+t}},h:function(){if(!this.stickDrag&&!this.bodyDrag){this.currentStick=["b","m"],this.stickAxis="y",this.parentLimitation&&(this.limits=this.calcResizeLimitation());var t=this.height-this.h;this.rawBottom=this.bottom+t}},parentW:function(t){this.right=t-this.width-this.left,this.parentWidth=t},parentH:function(t){this.bottom=t-this.height-this.top,this.parentHeight=t}}}},15:function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,a=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(a)?t:(r=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:i+a.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},16:function(t,e,n){(t.exports=n(6)(!1)).push([t.i,'\n.vdr,.vdr.active:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box\n}\n.vdr.active:before{content:"";width:100%;height:100%;top:0;left:0;outline:1px dashed #d6d6d6\n}\n.vdr-stick{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;font-size:1px;background:#fff;border:1px solid #6c6c6c;-webkit-box-shadow:0 0 2px #bbb;box-shadow:0 0 2px #bbb\n}\n.inactive .vdr-stick{display:none\n}\n.vdr-stick-br,.vdr-stick-tl{cursor:nwse-resize\n}\n.vdr-stick-bm,.vdr-stick-tm{left:50%;cursor:ns-resize\n}\n.vdr-stick-bl,.vdr-stick-tr{cursor:nesw-resize\n}\n.vdr-stick-ml,.vdr-stick-mr{top:50%;cursor:ew-resize\n}\n.vdr-stick.not-resizable{display:none\n}',""])},17:function(t,e,n){"use strict";var i=n(0);n.n(i).a},18:function(t,e,n){"use strict";n.r(e);var i=n(4),r=n(2);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);var o=(n(17),n(3)),s=Object(o.a)(r.default,i.a,i.b,!1,null,null,null);s.options.__file="src/components/vue-drag-resize.vue",e.default=s.exports},2:function(t,e,n){"use strict";n.r(e);var i=n(1),r=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e.default=r.a},3:function(t,e,n){"use strict";function i(t,e,n,i,r,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},4:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vdr",class:(t.active||t.isActive?"active":"inactive")+" "+(t.contentClass?t.contentClass:""),style:t.style,on:{mousedown:function(e){t.bodyDown(e)},touchstart:function(e){t.bodyDown(e)},touchend:function(e){t.up(e)}}},[t._t("default"),t._v(" "),t._l(t.sticks,(function(e){return n("div",{staticClass:"vdr-stick",class:["vdr-stick-"+e,t.isResizable?"":"not-resizable"],style:t.vdrStick(e),on:{mousedown:function(n){n.stopPropagation(),n.preventDefault(),t.stickDown(e,n)},touchstart:function(n){n.stopPropagation(),n.preventDefault(),t.stickDown(e,n)}}})}))],2)},r=[];i._withStripped=!0,n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}))},44:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(18);Object.defineProperty(e,"default",{enumerable:!0,get:function(){return function(t){return t&&t.__esModule?t:{default:t}}(i).default}})},5:function(t,e,n){function i(t,e){for(var n=0;n=0&&_.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),a(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),a(t,e),e}function u(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function c(t,e){var n,i,r,a;if(e.transform&&t.css){if(!(a=e.transform(t.css)))return function(){};t.css=a}if(e.singleton){var u=y++;n=v||(v=s(e)),i=h.bind(null,n,u,!1),r=h.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=p.bind(null,n,e),r=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=d.bind(null,n),r=function(){o(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function h(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function d(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function p(t,e,n){var i=n.css,r=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||a)&&(i=b(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(o),s&&URL.revokeObjectURL(s)}var f={},m=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),g=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}((function(t){return document.querySelector(t)})),v=null,y=0,_=[],b=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=m()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var a=[],o=0;o Warunki korzystania z usługi i Politykę prywatności ","form-btn":"Załóż konto","create-account-note":"Uwaga: jeśli nie otrzymasz e-maila weryfikacyjnego w swojej skrzynce odbiorczej, sprawdź folder ze spamem"}')},PEkK:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Details",data:function(){return{btn:"button is-medium is-info",processing:!1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},email:{get:function(){return this.user.email},set:function(t){this.$store.commit("changeUserEmail",t)}},errors:function(){return this.$store.state.user.errors},name:{get:function(){return this.user.name},set:function(t){this.$store.commit("changeUserName",t)}},user:function(){return this.$store.state.user.user},username:{get:function(){return this.user.username},set:function(t){this.$store.commit("changeUserUsername",t)}}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("UPDATE_DETAILS");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=n("KHd+"),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.details.change-details")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("settings.details.your-name")))]),t._v(" "),t.errorExists("name")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",attrs:{type:"text",name:"name",id:"name",placeholder:t.name,required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t._m(0)])]),t._v(" "),n("label",{attrs:{for:"username"}},[t._v(t._s(t.$t("settings.details.unique-id")))]),t._v(" "),t.errorExists("username")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("username"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],staticClass:"input",attrs:{type:"text",name:"username",id:"username",placeholder:t.username,required:""},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),n("span",{staticClass:"icon is-small is-left"},[t._v("\n @\n ")])])]),t._v(" "),n("label",{attrs:{for:"email"}},[t._v(t._s(t.$t("settings.details.email")))]),t._v(" "),t.errorExists("email")?n("span",{staticClass:"error",domProps:{textContent:t._s(t.getFirstError("email"))}}):t._e(),t._v(" "),n("div",{staticClass:"field mb2"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",attrs:{type:"email",name:"email",id:"email",placeholder:t.email,required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),t._m(1)])]),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("settings.details.update-details")))])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-user"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])}],!1,null,null,null);e.default=l.exports},PEqn:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Uchafuzi wa plastiki umefikia nje ya udhibiti","fires-out-of-control":"Vichuni vya sigara vinaweza kuwasha moto","glass-hurts-pets":"Kioo kilichovunjika huumiza kipenzi","climate-change-out-of-control":"Plastiki inaongeza mabadiliko ya hali ya hewa","help-us":"Tusaidie kuunda hifadhidata ya juu zaidi duniani iliyo wazi kuhusu takataka, chapa na uchafuzi wa plastiki","why-collect-data":"Kwa nini tukusanye taarifa","visibility":"Kuonekana","our-maps-reveal-litter-normality":"Kwa watu wengi, takataka imekuwa ya kawaida na isiyoonekana. Ramani zina nguvu kwa sababu zinawasilisha kile ambacho kwa kawaida hatuwezi kuona","science":"Tatua tatizo","our-data-open-source":"Taarifa zetu ziko wazi na zinapatikana. Kila mtu ana haki sawa, wazi na zisizo na kikomo za kupakua taarifa zetu zote na kuitumia kwa madhumuni yoyote","community":"Jamii","must-work-together":"Tunahitaji usaidizi wako ili kuunda mabadiliko ya mtazamo wa jinsi tunavyoelewa na kukabiliana na uchafuzi wa mazingira","how-does-it-work":"Inafanyaje kazi","take-a-photo":"Piga picha","device-captures-info":"Kifaa chako kinaweza kunasa taarifa muhimu kuhusu eneo, saa, kitu, nyenzo na chapa.","tag-the-litter":"Wekea taka nembo","tag-litter-you-see":"Weka tu alama ya takataka unayoona kwenye picha. Unaweza kuweka lebo ikiwa takataka imechukuliwa au ikiwa bado iko. Unaweza kupakia picha zako wakati wowote","share-results":"Shirikisha matokeo yako","share":"Shirikisha ramani au pakua taarifa zetu. Hebu tuonyeshe kila mtu jinsi ulimwengu ulivyochafuliwa sana","verified":"Barua pepe yako imethibitishwa! Sasa unaweza kuingia.","close":"Funga","our-partners":"Washirika wetu","become-a-partner":"Kuwa mshirika"}')},PFQ8:function(t,e,n){var i=n("zBhI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},PKdz:function(t,e,n){"use strict";var i=n("1PMt");n.n(i).a},PKhi:function(t,e,n){var i=n("fnz1");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},PLR4:function(t,e,n){"use strict";var i=n("9b0M");n.n(i).a},PSD3:function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n(e=parseInt(e.getAttribute("tabindex")))?1:t1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.opacity="",t.style.display=e},at=function(t){t.style.opacity="",t.style.display="none"},ot=function(t,e,n){e?rt(t,n):at(t)},st=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},lt=function(t){return!!(t.scrollHeight>t.clientHeight)},ut=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),i=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||i>0},ct=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=B();st(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"}),10))},ht=function(){return"undefined"==typeof window||"undefined"==typeof document},dt='\n
    \n
    \n
      \n
      \n
      \n
      \n
      \n
      \n \n

      \n \n
      \n
      \n
      \n \n \n
      \n \n \n
      \n \n
      \n \n \n
      \n
      \n
      \n \n \n
      \n
      \n
      \n
      \n
      \n
      \n').replace(/(^|\n)\s*/g,""),pt=function(t){sn.isVisible()&&J!==t.target.value&&sn.resetValidationMessage(),J=t.target.value},ft=function(t){var e,n=!!(e=C())&&(e.parentNode.removeChild(e),et([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]]),!0);if(!ht()){var i=document.createElement("div");i.className=x.container,n&&tt(i,x["no-transition"]),W(i,dt);var r,a,o,s,l,u,c,h,d,p="string"==typeof(r=t.target)?document.querySelector(r):r;p.appendChild(i),function(t){var e=S();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")}(t),function(t){"rtl"===window.getComputedStyle(t).direction&&tt(C(),x.rtl)}(p),a=O(),o=nt(a,x.input),s=nt(a,x.file),l=a.querySelector(".".concat(x.range," input")),u=a.querySelector(".".concat(x.range," output")),c=nt(a,x.select),h=a.querySelector(".".concat(x.checkbox," input")),d=nt(a,x.textarea),o.oninput=pt,s.onchange=pt,c.onchange=pt,h.onchange=pt,d.oninput=pt,l.oninput=function(t){pt(t),u.value=l.value},l.onchange=function(t){pt(t),l.nextSibling.value=l.value}}},mt=function(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?gt(e,n):e&&W(n,e)},gt=function(t,e){t.jquery?vt(e,t):W(e,t.toString())},vt=function(t,e){if(t.textContent="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},yt=function(){if(ht())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}(),_t=function(t,e){var n=R(),i=N(),r=D();e.showConfirmButton||e.showCancelButton||at(n),Z(n,e,"actions"),bt(i,"confirm",e),bt(r,"cancel",e),e.buttonsStyling?function(t,e,n){if(tt([t,e],x.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor),!V()){var i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=i,t.style.borderRightColor=i}}(i,r,e):(et([i,r],x.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),e.reverseButtons&&i.parentNode.insertBefore(r,i)};function bt(t,e,n){var i;ot(t,n["show".concat((i=e,i.charAt(0).toUpperCase()+i.slice(1)),"Button")],"inline-block"),W(t,n["".concat(e,"ButtonText")]),t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=x[e],Z(t,n,"".concat(e,"Button")),tt(t,n["".concat(e,"ButtonClass")])}var wt=function(t,e){var n=C();if(n){!function(t,e){"string"==typeof e?t.style.background=e:e||tt([document.documentElement,document.body],x["no-backdrop"])}(n,e.backdrop),!e.backdrop&&e.allowOutsideClick,function(t,e){tt(t,e in x?x[e]:x.center)}(n,e.position),function(t,e){if(e&&"string"==typeof e){var n="grow-".concat(e);n in x&&tt(t,x[n])}}(n,e.grow),Z(n,e,"container");var i=document.body.getAttribute("data-swal2-queue-step");i&&(n.setAttribute("data-queue-step",i),document.body.removeAttribute("data-swal2-queue-step"))}},xt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},kt=["input","file","range","select","radio","checkbox","textarea"],Ct=function(t){if(Lt[t.input]){var e=Pt(t.input),n=Lt[t.input](e,t);rt(n),setTimeout((function(){K(n)}))}else'Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"')},Tt=function(t,e){var n=X(O(),t);if(n)for(var i in function(t){for(var e=0;en?"".concat(e,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}return t};var It=function(t,e){var n=O().querySelector("#".concat(x.content));e.html?(mt(e.html,n),rt(n,"block")):e.text?(n.textContent=e.text,rt(n,"block")):at(n),function(t,e){var n=O(),i=xt.innerParams.get(t),r=!i||e.input!==i.input;kt.forEach((function(t){var i=x[t],a=nt(n,i);Tt(t,e.inputAttributes),a.className=i,r&&at(a)})),e.input&&(r&&Ct(e),Et(e))}(t,e),Z(O(),e,"content")},Ot=function(){for(var t=P(),e=0;e\n \n
      \n
      \n '):"error"===e.icon?W(t,'\n \n \n \n \n '):W(t,zt({question:"?",warning:"!",info:"i"}[e.icon]))},zt=function(t){return'
      ').concat(t,"
      ")},Nt=[],Dt=function(){return C()&&C().getAttribute("data-queue-step")},Rt=function(t,e){var n=M();if(!e.progressSteps||0===e.progressSteps.length)return at(n);rt(n),n.textContent="";var i=parseInt(void 0===e.currentProgressStep?Dt():e.currentProgressStep);e.progressSteps.length,e.progressSteps.forEach((function(t,r){var a=function(t){var e=document.createElement("li");return tt(e,x["progress-step"]),W(e,t),e}(t);if(n.appendChild(a),r===i&&tt(a,x["active-progress-step"]),r!==e.progressSteps.length-1){var o=function(t){var e=document.createElement("li");return tt(e,x["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e}(e);n.appendChild(o)}}))},jt=function(t,e){var n=j();Z(n,e,"header"),Rt(0,e),function(t,e){var n=xt.innerParams.get(t);if(n&&e.icon===n.icon&&L())Z(L(),e,"icon");else if(Ot(),e.icon)if(-1!==Object.keys(k).indexOf(e.icon)){var i=T(".".concat(x.icon,".").concat(k[e.icon]));rt(i),Mt(i,e),At(),Z(i,e,"icon"),tt(i,e.showClass.icon)}else'Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"')}(t,e),function(t,e){var n=A();if(!e.imageUrl)return at(n);rt(n,""),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),it(n,"width",e.imageWidth),it(n,"height",e.imageHeight),n.className=x.image,Z(n,e,"image")}(0,e),function(t,e){var n=I();ot(n,e.title||e.titleText),e.title&&mt(e.title,n),e.titleText&&(n.innerText=e.titleText),Z(n,e,"title")}(0,e),function(t,e){var n=U();W(n,e.closeButtonHtml),Z(n,e,"closeButton"),ot(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)}(0,e)},Ft=function(t,e){t.className="".concat(x.popup," ").concat(st(t)?e.showClass.popup:""),e.toast?(tt([document.documentElement,document.body],x["toast-shown"]),tt(t,x.toast)):tt(t,x.modal),Z(t,e,"popup"),"string"==typeof e.customClass&&tt(t,e.customClass),e.icon&&tt(t,x["icon-".concat(e.icon)])},Bt=function(t,e){!function(t,e){var n=S();it(n,"width",e.width),it(n,"padding",e.padding),e.background&&(n.style.background=e.background),Ft(n,e)}(0,e),wt(0,e),jt(t,e),It(t,e),_t(0,e),function(t,e){var n=F();ot(n,e.footer),e.footer&&mt(e.footer,n),Z(n,e,"footer")}(0,e),"function"==typeof e.onRender&&e.onRender(S())},Ut=function(){return N()&&N().click()},qt=function(){var t=S();t||sn.fire(),t=S();var e=R(),n=N();rt(e),rt(n,"inline-block"),tt([t,e],x.loading),n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},$t={},Gt=function(){return new Promise((function(t){var e=window.scrollX,n=window.scrollY;$t.restoreFocusTimeout=setTimeout((function(){$t.previousActiveElement&&$t.previousActiveElement.focus?($t.previousActiveElement.focus(),$t.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}))},Vt=function(){if($t.timeout)return function(){var t=B(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var n=parseInt(window.getComputedStyle(t).width),i=parseInt(e/n*100);t.style.removeProperty("transition"),t.style.width="".concat(i,"%")}(),$t.timeout.stop()},Ht=function(){if($t.timeout){var t=$t.timeout.start();return ct(t),t}},Wt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},Yt=["title","titleText","text","html","footer","icon","hideClass","customClass","allowOutsideClick","allowEscapeKey","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","buttonsStyling","reverseButtons","showCloseButton","closeButtonHtml","closeButtonAriaLabel","imageUrl","imageWidth","imageHeight","imageAlt","progressSteps","currentProgressStep","onClose","onAfterClose","onDestroy"],Zt={animation:'showClass" and "hideClass'},Xt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Jt=function(t){return Object.prototype.hasOwnProperty.call(Wt,t)},Kt=function(t){return Zt[t]},Qt=function(t){Jt(t)||'Unknown parameter "'.concat(t,'"')},te=function(t){-1!==Xt.indexOf(t)&&'The parameter "'.concat(t,'" is incompatible with toasts')},ee=function(t){Kt(t)&&f(t,Kt(t))},ne=Object.freeze({isValidParameter:Jt,isUpdatableParameter:function(t){return-1!==Yt.indexOf(t)},isDeprecatedParameter:Kt,argsToParams:function(e){var n={};return"object"!==t(e[0])||b(e[0])?["title","html","icon"].forEach((function(i,r){var a=e[r];"string"==typeof a||b(a)?n[i]=a:void 0!==a&&"Unexpected type of ".concat(i,'! Expected "string" or "Element", got ').concat(t(a))})):r(n,e[0]),n},isVisible:function(){return st(S())},clickConfirm:Ut,clickCancel:function(){return D()&&D().click()},getContainer:C,getPopup:S,getTitle:I,getContent:O,getHtmlContainer:function(){return E(x["html-container"])},getImage:A,getIcon:L,getIcons:P,getCloseButton:U,getActions:R,getConfirmButton:N,getCancelButton:D,getHeader:j,getFooter:F,getTimerProgressBar:B,getFocusableElements:q,getValidationMessage:z,isLoading:V,fire:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;iwindow.innerHeight&&(H.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(H.previousBodyPadding+function(){var t=document.createElement("div");t.className=x["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}(),"px"))},ae=function(){navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||S().scrollHeight>window.innerHeight-44&&(C().style.paddingBottom="".concat(44,"px"))},oe=function(){var t,e=C();e.ontouchstart=function(e){t=se(e.target)},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},se=function(t){var e=C();return t===e||!(lt(e)||"INPUT"===t.tagName||lt(O())&&O().contains(t))},le=function(){return!!window.MSInputMethodContext&&!!document.documentMode},ue=function(){var t=C(),e=S();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},ce={swalPromiseResolve:new WeakMap};function he(t,e,n,i){n?me(t,i):(Gt().then((function(){return me(t,i)})),$t.keydownTarget.removeEventListener("keydown",$t.keydownHandler,{capture:$t.keydownListenerCapture}),$t.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),$()&&(null!==H.previousBodyPadding&&(document.body.style.paddingRight="".concat(H.previousBodyPadding,"px"),H.previousBodyPadding=null),function(){if(Y(document.body,x.iosfix)){var t=parseInt(document.body.style.top,10);et(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&le()&&window.removeEventListener("resize",ue),d(document.body.children).forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))),et([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"],x["toast-column"]])}function de(t){var e=S();if(e){var n=xt.innerParams.get(this);if(n&&!Y(e,n.hideClass.popup)){var i=ce.swalPromiseResolve.get(this);et(e,n.showClass.popup),tt(e,n.hideClass.popup);var r=C();et(r,n.showClass.backdrop),tt(r,n.hideClass.backdrop),pe(this,e,n),void 0!==t?(t.isDismissed=void 0!==t.dismiss,t.isConfirmed=void 0===t.dismiss):t={isDismissed:!0,isConfirmed:!1},i(t||{})}}}var pe=function(t,e,n){var i=C(),r=yt&&ut(e),a=n.onClose,o=n.onAfterClose;null!==a&&"function"==typeof a&&a(e),r?fe(t,e,i,o):he(t,i,G(),o)},fe=function(t,e,n,i){$t.swalCloseEventFinishedCallback=he.bind(null,t,n,G(),i),e.addEventListener(yt,(function(t){t.target===e&&($t.swalCloseEventFinishedCallback(),delete $t.swalCloseEventFinishedCallback)}))},me=function(t,e){setTimeout((function(){"function"==typeof e&&e(),t._destroy()}))};function ge(t,e,n){var i=xt.domCache.get(t);e.forEach((function(t){i[t].disabled=n}))}function ve(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),i=0;i")),ft(t)}var we=function(t){var e=C(),n=S();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n);var i=window.getComputedStyle(document.body).overflowY;Ee(e,n,t),Ce(e,n),$()&&(Te(e,t.scrollbarPadding,i),d(document.body.children).forEach((function(t){t===C()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,C())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}))),G()||$t.previousActiveElement||($t.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout((function(){return t.onOpen(n)})),et(e,x["no-transition"])};function xe(t){var e=S();if(t.target===e){var n=C();e.removeEventListener(yt,xe),n.style.overflowY="auto"}}var ke,Ce=function(t,e){yt&&ut(e)?(t.style.overflowY="hidden",e.addEventListener(yt,xe)):t.style.overflowY="auto"},Te=function(t,e,n){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Y(document.body,x.iosfix)){var t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),tt(document.body,x.iosfix),oe(),ae()}}(),"undefined"!=typeof window&&le()&&(ue(),window.addEventListener("resize",ue)),e&&"hidden"!==n&&re(),setTimeout((function(){t.scrollTop=0}))},Ee=function(t,e,n){tt(t,n.showClass.backdrop),rt(e),tt(e,n.showClass.popup),tt([document.documentElement,document.body],x.shown),n.heightAuto&&n.backdrop&&!n.toast&&tt([document.documentElement,document.body],x["height-auto"])},Se=function(t){return t.checked?1:0},Pe=function(t){return t.checked?t.value:null},Le=function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null},Ie=function(e,n){var i=O(),r=function(t){return Ae[n.input](i,Me(t),n)};g(n.inputOptions)||y(n.inputOptions)?(qt(),v(n.inputOptions).then((function(t){e.hideLoading(),r(t)}))):"object"===t(n.inputOptions)?r(n.inputOptions):"Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions))},Oe=function(t,e){var n=t.getInput();at(n),v(e.inputValue).then((function(i){n.value="number"===e.input?parseFloat(i)||0:"".concat(i),rt(n),n.focus(),t.hideLoading()})).catch((function(e){"Error in inputValue promise: ".concat(e),n.value="",rt(n),n.focus(),t.hideLoading()}))},Ae={select:function(t,e,n){var i=nt(t,x.select),r=function(t,e,i){var r=document.createElement("option");r.value=i,W(r,e),n.inputValue.toString()===i.toString()&&(r.selected=!0),t.appendChild(r)};e.forEach((function(t){var e=t[0],n=t[1];if(Array.isArray(n)){var a=document.createElement("optgroup");a.label=e,a.disabled=!1,i.appendChild(a),n.forEach((function(t){return r(a,t[1],t[0])}))}else r(i,n,e)})),i.focus()},radio:function(t,e,n){var i=nt(t,x.radio);e.forEach((function(t){var e=t[0],r=t[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=x.radio,a.value=e,n.inputValue.toString()===e.toString()&&(a.checked=!0);var s=document.createElement("span");W(s,r),s.className=x.label,o.appendChild(a),o.appendChild(s),i.appendChild(o)}));var r=i.querySelectorAll("input");r.length&&r[0].focus()}},Me=function e(n){var i=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach((function(n,r){var a=n;"object"===t(a)&&(a=e(a)),i.push([r,a])})):Object.keys(n).forEach((function(r){var a=n[r];"object"===t(a)&&(a=e(a)),i.push([r,a])})),i},ze=function(t,e){var n=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return Se(n);case"radio":return Pe(n);case"file":return Le(n);default:return e.inputAutoTrim?n.value.trim():n.value}}(t,e);e.inputValidator?(t.disableInput(),Promise.resolve().then((function(){return v(e.inputValidator(n,e.validationMessage))})).then((function(i){t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):De(t,e,n)}))):t.getInput().checkValidity()?De(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},Ne=function(t,e){t.closePopup({value:e})},De=function(t,e,n){e.showLoaderOnConfirm&&qt(),e.preConfirm?(t.resetValidationMessage(),Promise.resolve().then((function(){return v(e.preConfirm(n,e.validationMessage))})).then((function(e){st(z())||!1===e?t.hideLoading():Ne(t,void 0===e?n:e)}))):Ne(t,n)},Re=function(t,e,n){for(var i=q(),r=0;r:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}')},PT26:function(t){t.exports=JSON.parse('{"title":"My Teams","currently-joined-team":"Your active team is","currently-not-joined-team":"You are not currently part of a team","no-joined-team":"You have not yet joined a team","leader-of-team":"You are the leader of this team","enabled-contributions":"All of your contributions will count toward this team only.","disabled-contributions":"You have not selected an active team yet.
      That means you are not contributing to any team at the moment.
      You can select your active team by clicking the star icons on the bottom list.","disable-contributions-tooltip":"This disables your team contributions from now on. You will still be a member of your teams and can enable contributions anytime.","team-details":"Team Details","all-my-teams":"All My Teams","this-is-active-team":"This is your active team","set-as-active-team":"Set as your active team","team-identifier":"Team Identifier","join-team":"Please join a team","leave-team":"Leave team","just-left-team":"You just left team","cant-leave-team":"You can\'t leave this team since you\'re the only member","change-active-team":"Join Team","download-team-data":"Download Team Data","hide-from-leaderboards":"Hide from Leaderboards","show-on-leaderboards":"Show on Leaderboards","position-header":"Position","name-header":"Name","username-header":"Username","status-header":"Status","photos-header":"Photos","litter-header":"Litter","identifier-header":"Identifier","members-header":"Members","last-activity-header":"Last Activity","confirm-leave-team":"Are you sure?\\nYou can always rejoin and your contributions will be saved."}')},Pb1J:function(t){t.exports=JSON.parse('{"allowed-to-create":"{teams} csapatot hozhat létre","what-kind-of-team":"Milyen csapatot szeretnél létrehozni?","team-type":"Csapat típusa","team-name":"Csapat neve","my-awesome-team-placeholder":"Az Én Csodálatos Csapatom","unique-team-id":"Egyedi Csapatazonosító","id-to-join-team":"Bárki, aki rendelkezik ezzel az azonosítóval, csatlakozhat a csapatához.","create-team":"Csapat létrehozása","update-team":"Frissítse a csapatot","created":"Gratulálunk! Új csapata létrejött.","updated":"A csapat frissítve.","select-team":"Válasszon ki egy csapatot","fail":"Hiba történt a csapat létrehozása során","max-created":"Nem hozhat létre több csapatot."}')},PcAy:function(t,e,n){"use strict";var i=n("YJ1M");n.n(i).a},PeV8:function(t){t.exports=JSON.parse('{"privacy-title":"Controleer je Privacy","privacy-text":"Controleer je privacy voor elk team waar je je bij aangesloten hebt.","team-update-title":"Update je teams","team-update-text":"U kunt alleen de teams bijwerken die u leidt.","maps":{"team-map":"Team Plattegrond","name-will-appear":"Jouw naam zal verschijnen op de plattegrond","username-will-appear":"Jouw gebruikersnaam zal verschijnen op de plattegrond","will-not-appear":"Jouw naam en gebruikersnaam zullen niet op de plattegrond verschijnen"},"leaderboards":{"team-leaderboard":"Team Leiderbord","name-will-appear":"Jouw naam zal verschijnen op het leiderbord","username-will-appear":"Jouw gebruikersnaam zal verschijnen op het leiderbord","will-not-appear":"Jouw naam en gebruikersnaam zullen niet op het leiderbord verschijnen"},"submit-one-team":"Opslaan voor dit Team","apply-all-teams":"Toepassen voor alle Teams"}')},"Q+hE":function(t,e,n){var i=n("1C7U");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"Q32/":function(t){t.exports=JSON.parse('{"title":"Aidez-nous à changer le monde.","subtitle":"Nous nous développons chaque jour un peu plus","photos-last-30-days":"Photos téléchargées ces 30 derniers jours","users-last-30-days":"Nouveaux utilisateurs ces 30 derniers jours","litter-tags-last-30-days":"Déchet tagué ces 30 derniers jours","photos-every-month-label":"Photos téléchargées chaque mois","users-every-month-label":"De nouveaux utilisatuers tous les mois","zoom-text":"Rejoignez-nous sur le {link}, où nous pouvons écouter toutes les nouvelles idées et suggestions de notre communauté grandissante. Chaque semaine nos utilisateurs partagent leurs commentaires qui permettent toujours d\'éaméliorer notre application et de la rendre plus facile à utiliser. Participez à la mise en forme de la direction que prendra notre plateforme open source de monitoring et de collecte de données environnementales. La visioconférence commence dans:","zoom-weekly-calls":"Appel hebdomadaire sur Zoom à 18h GMT (Dublin/Londres/Lisbonne) tous les jeudis","zoom-live":"Le live","zoom-days":"jour | jours","zoom-hours":"heure | heures","zoom-minutes":"minute | minutes","slack-text":"{slack} est notre principal moyen de communication et collaboration. Les utilisateurs avancés, les nouveaux-venus, les développeurs, une communauté de plus de 400 membres; nous sommes tous là. Écrivez-nous quelque chose et vous aurez une réponse instantanée, nous sommes constamment en ligne.","fundraiser-text":"OpenLitterMap dépend entièrement des dons. On a mis en place un {link} et nous sommes toujours très loin de notre objectif. Toutes les contributions sont les bienvenues. {emoji}","fundraiser-link":"Campagne de financement GoFundMe"}')},Q8B6:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Isso vai voltar mais tarde","claim-tokens":"Se você quiser apenas reivindicar seus tokens e acessar sua carteira de outro lugar, insira seu ID de carteira e você receberá seus ganhos."}')},QDRv:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".flex[data-v-4d6e48de] {\n display: flex;\n}\n.items-center[data-v-4d6e48de] {\n align-items: center;\n}\n.h-full[data-v-4d6e48de] {\n height: 100%;\n}\n.ltr-icon[data-v-4d6e48de] {\n max-width: 32px;\n}\n.ltr-strong[data-v-4d6e48de] {\n font-weight: 600;\n}",""])},QLhK:function(t){t.exports=JSON.parse('{"cancel":"Annuleren","submit":"Indienen","download":"Download","delete":"Verwijderen","delete-image":"De afbeelding verwijderen","confirm-delete":"Bevestig de verwijdering","loading":"Laden...","created_at":"Ge-Upload op","created":"Aangemaakt","created-by":"Gemaakt door","datetime":"Genomen op","day-names":["Ma","Di","Wo","Do","Vr","Za","Zo"],"month-names":["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],"short-month-names":["Jan","Feb","Maa","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],"next":"Volgende","previous":"Vorige","next-page":"Volgende pagina","add-tags":"Kenmerken Toevoegen","add-many-tags":"Veel Kenmerken Toevoegen","select-all":"Selecteer alles","de-select-all":"De-selecteer alles","choose-dates":"Kies datums","not-verified":"Niet gecontroleerd","verified":"Gecontroleerd","search-by-id":"Zoek op ID","active":"Actief","inactive":"Inactief","inactivate":"Teambijdragen uitschakelen","your-email":"you@email.com","team":"Team","actions":"Actie","photo":"Foto","reason":"Reden","anonymous":"Anoniem","faq":"Veel Gestelde Vragen"}')},QbqM:function(t,e,n){var i=n("m7SO");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},QhcE:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.centered[data-v-3bb5fc0c] {\n width: 100%;\n margin: 12rem auto;\n}\n.with-x-spacing[data-v-3bb5fc0c] {\n padding-right: 24px;\n padding-left: 24px;\n}\n",""])},Qi36:function(t,e,n){"use strict";var i=n("W697");n.n(i).a},Qj2a:function(t,e,n){"use strict";var i=n("fYS8");n.n(i).a},"QoU/":function(t){t.exports=JSON.parse('{"change-password":"Cambiar mi contraseña","enter-old-password":"Introduce la contraseña anterior","enter-new-password":"Introduce una nueva contraseña","enter-strong-password":"Introduce una contraseña segura","confirm-new-password":"Confirma tu nueva contraseña","repeat-strong-password":"Repite tu contraseña segura","update-password":"Actualizar contraseña"}')},"R/GM":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Equipes","dashboard":"Painel","join-a-team":"Junte-se a uma equipe","create-a-team":"Crie uma equipe","your-teams":"Suas equipes","leaderboard":"Os melhores","settings":"Configurações","teams-dashboard":"Painel de equipes","photos-uploaded":"Fotos enviadas","litter-tagged":"Lixo marcado","members-uploaded":"Membros da equipe enviados","all-teams":"Todas as equipes","times":{"today":"Hoje","week":"Essa semana","month":"Esse mês","year":"Esse ano","all":"Tempo todo","created_at":"Carregado em","datetime":"Tirada em"}}')},R5vI:function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));Date.prototype.getWeekNumber=function(t){if(!t){let t=(this.getDay()+6)%7;this.setDate(this.getDate()-t+3)}let e=new Date(this.getFullYear(),0,4);return Math.ceil(((this-e)/864e5+e.getDay()+1)/7)};class i{constructor(t,e,n,i){this.sundayStart=t,this.leftAndRightDays=e,this.dateFormat=n,this.dayNames=i}formatDate(t){let e=t.getDate(),n=t.getMonth()+1,i=t.getFullYear(),r=this.dateFormat.replace("dd",e.toString());return r=r.replace("mm",n.toString()),r=r.replace("yyyy",i.toString()),r.split(" ")[0]}getDateFromFormat(t){let e=this.dateFormat.split(" ")[0];if(t=t.split(" ")[0],-1!==e.indexOf("/"))e=e.split("/"),t=t.split("/");else if(-1!==e.indexOf("-"))e=e.split("-"),t=t.split("-");else{if(-1===e.indexOf("."))throw new Error("Your date format not valid. Please read documentation.!");e=e.split("."),t=t.split(".")}let n=e.indexOf("yyyy"),i=e.indexOf("mm"),r=e.indexOf("dd");return new Date(t[n],t[i]-1,t[r])}checkValidDate(t){return"Invalid Date"!=(t=this.getDateFromFormat(t))}getWeeksInMonth(t,e){let n=[],i=new Date(e,t,1),r=new Date(e,t+1,0),a=r.getDate(),o=1,s=this.sundayStart?7-i.getDay():0===i.getDay()?1:7-i.getDay()+1;for(;o<=a;)n.push({year:e,start:o,end:s,number:new Date(e,t,o).getWeekNumber(this.sundayStart),days:[]}),o=s+1,s+=7,s>a&&(s=a);return{weeks:n,month:r.getMonth(),year:r.getFullYear()}}getLeftMonthDays(t,e){let n=this.getWeeksInMonth(t,e).weeks[0],i=[],r=0,a=0;if(7!==n.end-n.start+1){let n=this.getWeeksInMonth(t-1,e),o=n.weeks[n.weeks.length-1];for(let t=o.start;t<=o.end;t++)i.push(t);a=n.month,r=n.year}return{days:i.reverse(),month:a,year:r}}getRightMonthDays(t,e){let n=this.getWeeksInMonth(t,e),i=n.weeks[n.weeks.length-1],r=[],a=0,o=0;if(7!==i.end-i.start+1){let n=this.getWeeksInMonth(t+1,e),i=n.weeks[0];for(let t=i.start;t<=i.end;t++)r.push(t);o=n.month,a=n.year}return{days:r,month:o,year:a}}getFinalizedWeeks(t,e){let n=this.getWeeksInMonth(t,e),i=this.getLeftMonthDays(t,e),r=this.getRightMonthDays(t,e);return n.weeks.forEach(t=>{for(let e=t.start;e<=t.end;e++)t.days.push({day:e,month:n.month,year:n.year,hide:!1,hideLeftAndRightDays:!1})}),i.days.length&&i.days.forEach(t=>{let e=!1;this.leftAndRightDays||(t="",e=!0),n.weeks[0].days.unshift({day:t,month:i.month,year:i.year,hide:!0,hideLeftAndRightDays:e})}),r.days.length&&r.days.forEach(t=>{let e=!1;this.leftAndRightDays||(t="",e=!0),n.weeks[n.weeks.length-1].days.push({day:t,month:r.month,year:r.year,hide:!0,hideLeftAndRightDays:e})}),n.weeks.forEach(t=>{delete t.year}),n.weeks}mask(t){let e="00";1===this.getDateFromFormat(t).getDate().toString().length&&(e="0");let n="00";this.getDateFromFormat(t).getMonth()+1<=9&&(n="0");let i=this.dateFormat.replace("dd",e).replace("mm",n).replace("yyyy","0000"),r=/[0\*]/,a=/[0-9]/,o="";for(let e=0,n=0;n=t.length)&&("0"!==i[n]||null!=t[e].match(a));){for(;null==i[n].match(r)&&t[e]!==i[n];)o+=i[n++];o+=t[e++],n++}return o}}const r=()=>{},a={props:{borderColor:{type:String,default:""},displayTimeInput:{type:Boolean,default:!1},configs:{type:Object,default:()=>{}},sundayStart:{type:Boolean,default:r},placeholder:{type:[String,Boolean],default:r},dateFormat:{type:String,validator(t){let e=t.split(" ")[1];if(!e)return!0;return!!~["HH:MM","HH:mm","hh:MM","hh:mm"].indexOf(e)}},canClearRange:{type:Boolean,default:!1},isMultiple:{type:Boolean,default:r},isSeparately:{type:Boolean,default:r},isDatePicker:{type:Boolean,default:r},isMultipleDatePicker:{type:Boolean,default:r},isMultipleDateRange:{type:Boolean,default:r},isDateRange:{type:Boolean,default:r},withTimePicker:{type:Boolean,default:r},calendarsCount:{type:Number},isModal:{type:Boolean,default:r},isTypeable:{type:Boolean,default:r},changeMonthFunction:{type:Boolean,default:r},changeYearFunction:{type:Boolean,default:r},changeYearStep:{type:Number,default:()=>3},newCurrentDate:{type:Date},markedDates:{type:Array,default:()=>[]},markedDateRange:{type:[Object,Array]},disabledDayNames:{type:Array},disabledDates:{type:Array},enabledDates:{type:Array},limits:{type:[Object,Boolean],default:r},minSelDays:{type:[Number,Boolean],default:r},maxSelDays:{type:[Number,Boolean],default:r},dayNames:{type:Array},monthNames:{type:Array},shortMonthNames:{type:Array},showWeekNumbers:{type:Boolean,default:r},value:{type:Object},transition:{type:Boolean,default:r},hiddenElements:{type:Array},isAutoCloseable:{type:Boolean,default:void 0},isDark:{type:Boolean,default:void 0},isLayoutExpandable:{type:Boolean,default:void 0},titlePosition:{type:String,default:"center"},arrowsPosition:{type:String,default:"space-between"}},data:()=>({popoverElement:"",defaultDateFormat:{date:!1,dateTime:!1,hour:"00",minute:"00"},hoveredObject:null,calendar:{currentDate:new Date,selectedDate:!1,selectedDateTime:!1,selectedHour:"00",selectedMinute:"00",selectedDatesItem:"",selectedDates:[],dateRange:{start:"",end:""},multipleDateRange:[]},transitionPrefix:"left",showCalendar:!0,showMonthPicker:!1,showYearPicker:!1,showTimePicker:!1,allowPreDate:!0,allowNextDate:!0,listCalendars:[],fConfigs:{sundayStart:!1,placeholder:!1,dateFormat:"dd/mm/yyyy hh:MM",isMultipleDateRange:!1,isDatePicker:!1,isMultipleDatePicker:!1,isDateRange:!1,withTimePicker:!1,isMultiple:!1,calendarsCount:1,isSeparately:!1,isModal:!1,isTypeable:!1,changeMonthFunction:!1,changeYearFunction:!1,changeYearStep:3,markedDates:[],markedDateRange:{start:!1,end:!1},limits:!1,minSelDays:!1,maxSelDays:!1,disabledDates:[],enabledDates:[],disabledDayNames:[],dayNames:["Mo","Tu","We","Th","Fr","Sa","Su"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],showWeekNumbers:!1,transition:!0,hiddenElements:[],isAutoCloseable:!1,isDark:!1,isLayoutExpandable:!1,titlePosition:"center",arrowsPosition:"space-between"}})};var o={name:"TimePicker",data:()=>({startDateActive:!0,currentSelectedDate:""}),props:{height:{type:Number,required:!0}},watch:{startDateActive:function(){this.setScrollPosition()}},computed:{getCurrentDate(){return this.currentSelectedDate.date},getCurrentDateTime(){return this.currentSelectedDate.dateTime}},created(){let t=this.$parent.calendar.selectedDates;this.currentSelectedDate=t[t.length-1]},mounted(){let t=this.$parent.calendar.dateRange.start.split(" ")[0],e=this.$parent.calendar.dateRange.end.split(" ")[0];t&&this.$parent.helpCalendar.getDateFromFormat(t)t<=10?"0"+(t-1):t-1,close(){this.$parent.showTimePicker=!1},addMinuteHour(t,e,n){let i="";return i+=e.split(" ")[0],"hour"==t?(i+=" "+n+":",i+=e.split(" ")[1].split(":")[1]):(i+=" "+e.split(" ")[1].split(":")[0]+":",i+=n),i},changeHour(t){if(this.$parent.fConfigs.isDateRange)this.checkStartDate()?this.$parent.calendar.dateRange.start=this.addMinuteHour("hour",this.$parent.calendar.dateRange.start,t):this.$parent.calendar.dateRange.end=this.addMinuteHour("hour",this.$parent.calendar.dateRange.end,t);else if(this.$parent.fConfigs.isMultipleDatePicker){this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).hour=t}else this.$parent.calendar.selectedHour=t;this.setSelectedDateTime(),this.setScrollPosition()},changeMinute(t){if(this.$parent.fConfigs.isDateRange)this.checkStartDate()?this.$parent.calendar.dateRange.start=this.addMinuteHour("minute",this.$parent.calendar.dateRange.start,t):this.$parent.calendar.dateRange.end=this.addMinuteHour("minute",this.$parent.calendar.dateRange.end,t);else if(this.$parent.fConfigs.isMultipleDatePicker){this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).minute=t}else this.$parent.calendar.selectedMinute=t;this.setSelectedDateTime(),this.setScrollPosition()},setSelectedDateTime(){if(this.$parent.fConfigs.isDatePicker)this.$parent.calendar.selectedDateTime=this.$parent.calendar.selectedDate+" "+this.$parent.calendar.selectedHour+":"+this.$parent.calendar.selectedMinute;else if(this.$parent.fConfigs.isMultipleDatePicker){let t=this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate);t.dateTime=t.date+" "+t.hour+":"+t.minute}},checkStartDate(){return this.startDateActive},checkHourActiveClass(t){let e;return e=this.$parent.fConfigs.isDateRange?this.checkStartDate()?this.$parent.calendar.dateRange.start.split(" ")[1].split(":")[0]:this.$parent.calendar.dateRange.end.split(" ")[1].split(":")[0]:this.$parent.fConfigs.isMultipleDatePicker?this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).hour:this.$parent.calendar.selectedHour,e==this.formatTime(t)},checkMinuteActiveClass(t){let e;return e=this.$parent.fConfigs.isDateRange?this.checkStartDate()?this.$parent.calendar.dateRange.start.split(":")[1]:this.$parent.calendar.dateRange.end.split(":")[1]:this.$parent.fConfigs.isMultipleDatePicker?this.$parent.calendar.selectedDates.find(t=>t.date===this.getCurrentDate).minute:this.$parent.calendar.selectedMinute,e==this.formatTime(t)},setStyles(){this.setScrollPosition();let t=+this.height-35-85;document.getElementsByClassName("vfc-time-picker__list")[0].style.height=t+"px",document.getElementsByClassName("vfc-time-picker__list")[1].style.height=t+"px"},setScrollPosition(){let t=this.$parent.$refs.mainContainer;this.$nextTick((function(){const e=this.$refs.hourList.querySelector(".vfc-time-picker__item--selected"),n=this.$refs.minuteList.querySelector(".vfc-time-picker__item--selected");this.$refs.hourList.scrollTop=e?e.offsetTop-t.clientHeight/2:0,this.$refs.minuteList.scrollTop=n?n.offsetTop-t.clientHeight/2:0}))}}},s=(n("bZU1"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vfc-time-picker-container"},[n("div",{staticClass:"vfc-close",on:{click:function(e){return t.close()}}}),t._v(" "),n("div",{staticClass:"vfc-modal-time-mechanic"},[n("div",{staticClass:"vfc-modal-time-line",attrs:{id:"time-line"}},[n("span",[t.$parent.fConfigs.isDateRange?[n("span",{class:{"vfc-active":t.startDateActive},on:{click:function(e){t.startDateActive=!0}}},[t._v(t._s(t.$parent.calendar.dateRange.start))]),t._v(" "),t.$parent.calendar.dateRange.end?[n("span",[t._v("-")]),t._v(" "),n("span",{class:{"vfc-active":!t.startDateActive},on:{click:function(e){t.startDateActive=!1}}},[t._v(t._s(t.$parent.calendar.dateRange.end))])]:t._e()]:t.$parent.fConfigs.isMultipleDatePicker?[t._v(t._s(t.getCurrentDateTime))]:[t._v(t._s(t.$parent.calendar.selectedDateTime))]],2)]),t._v(" "),t._m(0),t._v(" "),n("div",{staticClass:"vfc-time-picker"},[n("div",{ref:"hourList",staticClass:"vfc-time-picker__list vfc-time-picker__list--hours"},t._l(24,(function(e){return n("div",{key:e,staticClass:"vfc-time-picker__item",class:{"vfc-time-picker__item--selected":t.checkHourActiveClass(e)},on:{click:function(n){t.changeHour(t.formatTime(e))}}},[t._v("\n "+t._s(t.formatTime(e))+"\n ")])})),0),t._v(" "),n("div",{ref:"minuteList",staticClass:"vfc-time-picker__list vfc-time-picker__list--minutes"},t._l(60,(function(e){return n("div",{key:e,staticClass:"vfc-time-picker__item",class:{"vfc-time-picker__item--selected":t.checkMinuteActiveClass(e)},on:{click:function(n){t.changeMinute(t.formatTime(e))}}},[t._v("\n "+t._s(t.formatTime(e))+"\n ")])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"titles"},[e("div",[this._v("Hour")]),this._v(" "),e("div",[this._v("Minute")])])}],!1,null,"56eeb0da",null).exports,u={name:"Arrows",props:{fConfigs:{type:Object,required:!0},allowPreDate:{type:Boolean,required:!0},allowNextDate:{type:Boolean,required:!0},calendarKey:{type:Number,default:0},isMultiple:{type:Boolean,required:!0}},computed:{oneArrows(){return!this.fConfigs.isSeparately&&!this.isMultiple},manyArrows(){return this.fConfigs.isSeparately&&this.isMultiple}}},c=Object(s.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.oneArrows||t.manyArrows?n("div",{staticClass:"vfc-separately-navigation-buttons",class:"vfc-"+t.fConfigs.arrowsPosition},[n("div",{class:{"vfc-cursor-pointer":t.allowPreDate},on:{click:function(e){return t.$parent.PreMonth(t.oneArrows?0:t.calendarKey)}}},[t._t("navigationArrowLeft",[n("div",{staticClass:"vfc-arrow-left",class:{"vfc-disabled":!t.allowPreDate}})])],2),t._v(" "),n("div",{class:{"vfc-cursor-pointer":t.allowNextDate},on:{click:function(e){return t.$parent.NextMonth(t.oneArrows?0:t.calendarKey)}}},[t._t("navigationArrowRight",[n("div",{staticClass:"vfc-arrow-right",class:{"vfc-disabled":!t.allowNextDate}})])],2)]):t._e()])}),[],!1,null,null,null).exports,h={name:"WeekNumbers",props:{number:{tyoe:Number,required:!0},borderColor:{type:String,default:""}}},d=Object(s.a)(h,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vfc-day vfc-week-number",style:{borderRightColor:this.borderColor}},[e("span",{staticClass:"vfc-span-day"},[this._v(this._s(this.number))])])}),[],!1,null,"ef78b1e2",null).exports,p={name:"Day",props:{day_key:{type:Number,required:!0},week:{type:Object,required:!0},day:{type:Object,required:!0},helpCalendar:{type:Object,required:!0},fConfigs:{type:Object,required:!0},calendar:{type:Object,required:!0}},data:()=>({toolTip:!1,onNumber:!1}),computed:{startActive(){if(!this.fConfigs.isMultipleDateRange)return(this.day.isDateRangeStart||this.day.isMouseToLeft)&&!this.day.hideLeftAndRightDays;"".inRange||this.inRangeInit();const t=this.day.date.inRange(this.calendar.multipleDateRange),e=this.calendar.multipleDateRange[this.calendar.multipleDateRange.length-1];if(!e)return t;const n=~this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date),i=~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date);return n===i&&i?t:n&&~n>-1&&this.calendar.multipleDateRange[~n].end?n||t:e.start||e.end?(this.day.isDateRangeStart||this.day.isMouseToLeft)&&!this.day.hideLeftAndRightDays||t:n||t},endActive(){if(!this.fConfigs.isMultipleDateRange)return(this.day.isDateRangeEnd||this.day.isMouseToRight)&&!this.day.hideLeftAndRightDays;"".inRange||this.inRangeInit();const t=this.day.date.inRange(this.calendar.multipleDateRange),e=this.calendar.multipleDateRange[this.calendar.multipleDateRange.length-1];if(!e)return t;const n=~this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date),i=~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date);return n===i&&i?t:!!i||(e.start||e.end?(this.day.isDateRangeEnd||this.day.isMouseToRight)&&!this.day.hideLeftAndRightDays||t:e.start!==e.end&&i)},numberShow(){if(!this.fConfigs.isMultipleDateRange)return!1;return!(!~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date)&&!~this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date))},timesShow(){let t=this.calendar.multipleDateRange?~this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date):-1;return this.fConfigs.isMultipleDateRange&&t},getDaysNumber(){const t=this.calendar.multipleDateRange.map(t=>t.end).indexOf(this.day.date),e=this.calendar.multipleDateRange.map(t=>t.start).indexOf(this.day.date),n=this.calendar.multipleDateRange.map(t=>t.end).lastIndexOf(this.day.date),i=this.calendar.multipleDateRange.map(t=>t.start).lastIndexOf(this.day.date);return this.toolTip=t!==n||e!==i||t>-1&&e>-1||e>-1&&t>-1,this.toolTip?"·":(t>-1?Number(t):0)||e}},methods:{toolTipTxt(){const t=[],e=this.calendar.multipleDateRange.map(t=>t.end),n=this.calendar.multipleDateRange.map(t=>t.start);let i=0,r=0,a=e.indexOf(this.day.date,i);for(;~e.indexOf(this.day.date,i);)a=e.indexOf(this.day.date,i),t.push(a),i=a+1;for(a=n.indexOf(this.day.date,r);~n.indexOf(this.day.date,r);)a=n.indexOf(this.day.date,r),t.push(a),r=a+1;return t.sort((t,e)=>t-e)},inRangeInit(){const t=this.helpCalendar;String.prototype.inRange=function(e){let n=!1;return e.forEach(e=>{const i=+t.getDateFromFormat(e.start.split(" ")[0]),r=+t.getDateFromFormat(e.end.split(" ")[0]),a=+t.getDateFromFormat(this.split(" ")[0]);i!==r&&i&&r&&(n=n||it.end===this.day.date);this.calendar.multipleDateRange.splice(t,1)},dayMouseOver(){this.$emit("dayMouseOver",this.day.date)},hasSlot(t="default"){return!!this.$parent.$parent.$slots[t]||!!this.$parent.$parent.$scopedSlots[t]},isDisabledDate(t){const e=this.fConfigs.disabledDates;return!this.isEnabledDate(t)||this.isDateIncludedInDatesCollection(t,e)},isEnabledDate(t){const e=this.fConfigs.enabledDates;return 0===e.length||this.isDateIncludedInDatesCollection(t,e)},isDateIncludedInDatesCollection(t,e){let n=new Date;n.setHours(0,0,0,0);let i=this.helpCalendar.getDateFromFormat(t);return e.includes(t)||e.includes("beforeToday")&&i.getTime()n.getTime()},getClassNames(t){let e=[];this.hasSlot("default")||e.push("vfc-span-day");let n=this.helpCalendar.getDateFromFormat(t.date).getDay()-1;-1===n&&(n=6);let i=this.fConfigs.dayNames[n];this.fConfigs.disabledDayNames.includes(i)&&(t.hide=!0,e.push("vfc-cursor-not-allowed"));let r=this.helpCalendar.getDateFromFormat(t.date);if((new Date).setHours(0,0,0,0),this.isDisabledDate(t.date)&&(e.push("vfc-disabled"),e.push("vfc-cursor-not-allowed")),this.fConfigs.limits){let t=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.min).getTime(),n=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.max).getTime();(r.getTime()n)&&(e.push("vfc-disabled"),e.push("vfc-cursor-not-allowed"))}if(t.hide&&e.push("vfc-hide"),t.isToday&&e.push("vfc-today"),t.hideLeftAndRightDays||this.fConfigs.disabledDayNames.includes(i)||(t.isMarked?e.push("vfc-marked"):t.isHovered&&e.push("vfc-hovered"),this.fConfigs.markedDates.includes(t.date)&&e.push("vfc-borderd"),Array.isArray(this.fConfigs.markedDateRange)?this.fConfigs.markedDateRange.forEach(n=>{this.helpCalendar.getDateFromFormat(n.start)<=this.helpCalendar.getDateFromFormat(t.date)&&this.helpCalendar.getDateFromFormat(n.end)>=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked"),t.date===n.start?e.push("vfc-start-marked"):t.date===n.end&&e.push("vfc-end-marked")}):this.fConfigs.markedDateRange.start&&this.fConfigs.markedDateRange.end?(this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.start)<=this.helpCalendar.getDateFromFormat(t.date)&&this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.end)>=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked"),t.date===this.fConfigs.markedDateRange.start?e.push("vfc-start-marked"):t.date===this.fConfigs.markedDateRange.end&&e.push("vfc-end-marked")):(this.fConfigs.markedDateRange.start&&this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.start)<=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked"),this.fConfigs.markedDateRange.end&&this.helpCalendar.getDateFromFormat(this.fConfigs.markedDateRange.end)>=this.helpCalendar.getDateFromFormat(t.date)&&e.push("vfc-marked")),e.push("vfc-hover")),this.fConfigs.isMultipleDateRange&&("".inRange||this.inRangeInit(),(t.isMarked||~this.calendar.multipleDateRange.map(t=>t.start.split(" ")[0]).indexOf(t.date)||~this.calendar.multipleDateRange.map(t=>t.end.split(" ")[0]).indexOf(t.date)||t.date.inRange(this.calendar.multipleDateRange))&&e.push("vfc-marked"),this.fConfigs.markedDates.includes(t.date)&&e.push("vfc-borderd"),~this.calendar.multipleDateRange.map(t=>t.start.split(" ")[0]).indexOf(t.date)&&e.push("vfc-start-marked"),~this.calendar.multipleDateRange.map(t=>t.end.split(" ")[0]).indexOf(t.date)&&e.push("vfc-end-marked")),"object"==typeof this.fConfigs.markedDates){let n=this.fConfigs.markedDates.find(e=>e.date===t.date);void 0!==n&&e.push(n.class)}return t.date===this.calendar.dateRange.start.split(" ")[0]&&e.push("vfc-start-marked"),t.date===this.calendar.dateRange.end.split(" ")[0]&&e.push("vfc-end-marked"),(t.date===this.calendar.selectedDate||this.calendar.hasOwnProperty("selectedDates")&&this.calendar.selectedDates.find(e=>e.date===t.date))&&e.push("vfc-borderd"),e}}},f=(n("zH9V"),Object(s.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vfc-day"},[t.startActive?n("div",{staticClass:"vfc-base-start"}):t._e(),t._v(" "),t.endActive?n("div",{staticClass:"vfc-base-end"}):t._e(),t._v(" "),t.day.hideLeftAndRightDays?t._e():n("span",{class:t.getClassNames(t.day),on:{click:function(e){return e.target!==e.currentTarget?null:t.$parent.$parent.clickDay(t.day,t.isDisabledDate)},mouseover:t.dayMouseOver}},[t._t("default",[t._v(t._s(t.day.day))],{week:t.week,day:t.day}),t._v(" "),t.timesShow?n("span",{staticClass:"times",on:{click:t.clearRange}},[t._v("×")]):t._e(),t._v(" "),t.numberShow?n("span",{staticClass:"number",on:{mouseover:function(e){t.toolTip&&(t.onNumber=!0)},mouseleave:function(e){t.onNumber=!1}}},[t._v(t._s(t.getDaysNumber)+"\n "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.toolTip&&t.onNumber,expression:"toolTip && onNumber"}],staticClass:"toolTip"},[t._v("\n "+t._s(t.toolTipTxt().join(" "))+"\n ")])]):t._e()],2)])}),[],!1,null,"03906378",null).exports),m={name:"MonthYearPicker",props:{calendarKey:{type:Number,default:0},changeYearStep:{type:Number,default:3}},data:()=>({delta:0}),watch:{delta(t){t<-(new Date).getFullYear()&&(this.delta=0)}},methods:{changePicker(t){this.$parent.showMonthPicker?"right"===t?this.$parent.NextYear(this.calendarKey):this.$parent.PreYear(this.calendarKey):"right"===t?this.delta+=this.changeYearStep:this.delta-=this.changeYearStep}}},g=Object(s.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vfc-months-container"},[n("div",{staticClass:"vfc-content vfc-content-MY-picker"},[n("div",{staticClass:"vfc-navigation-buttons"},[n("div",{on:{click:function(e){return t.changePicker("left")}}},[n("div",{staticClass:"vfc-arrow-left"})]),t._v(" "),n("h2",{class:["vfc-top-date",0!==t.delta&&"vfc-top-date-has-delta"],on:{click:function(e){t.delta=0}}},[n("span",{staticClass:"vfc-popover-caret"}),t._v("\n "+t._s(t.$parent.listCalendars[t.calendarKey].date.getFullYear())+"\n ")]),t._v(" "),n("div",{on:{click:function(e){return t.changePicker("right")}}},[n("div",{staticClass:"vfc-arrow-right"})])]),t._v(" "),n("div",{staticClass:"vfc-months"},[t.$parent.showMonthPicker?t._l(t.$parent.fConfigs.shortMonthNames,(function(e,i){return n("div",{key:i,staticClass:"vfc-item",class:{"vfc-selected":t.$parent.listCalendars[t.calendarKey].date.getMonth()===i},on:{click:function(e){return t.$parent.pickMonth(i,t.calendarKey)}}},[t._v("\n "+t._s(e)+"\n ")])})):t.$parent.showYearPicker?t._l(t.$parent.getYearList(t.$parent.listCalendars[t.calendarKey].date,t.delta),(function(e,i){return n("div",{key:i,staticClass:"vfc-item",class:{"vfc-selected":t.$parent.listCalendars[t.calendarKey].date.getFullYear()===e.year},on:{click:function(n){return t.$parent.pickYear(e.year,t.calendarKey)}}},[t._v("\n "+t._s(e.year)+"\n ")])})):t._e()],2)])])}),[],!1,null,"a6938d62",null).exports,v={name:"PickerInputs",props:{fConfigs:{type:Object,required:!0},singleSelectedDate:{type:String,required:!0},calendar:{type:Object,required:!0}},computed:{dateRangeSelectedStartDate:{get(){return this.calendar.dateRange.start?this.calendar.dateRange.start:""},set(t){t=this.helpCalendar.mask(t),this.helpCalendar.getDateFromFormat(t).getMonth()&&(this.calendar.dateRange.start=t)}},dateRangeSelectedEndDate:{get(){return this.calendar.dateRange.end?this.calendar.dateRange.end:""},set(t){t=this.helpCalendar.mask(t),this.helpCalendar.getDateFromFormat(t).getMonth()&&(this.calendar.dateRange.end=t)}}}},y=Object(s.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.fConfigs.isModal&&t.fConfigs.isDateRange?n("div",{staticClass:"vfc-multiple-input",class:{"vfc-dark":t.fConfigs.isDark}},[t._t("dateRangeInputs",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.dateRangeSelectedStartDate,expression:"dateRangeSelectedStartDate"}],attrs:{type:"text",title:"Start Date",placeholder:t.fConfigs.placeholder.split(" ")[0],readonly:!t.fConfigs.isTypeable,maxlength:t.fConfigs.dateFormat.length},domProps:{value:t.dateRangeSelectedStartDate},on:{input:function(e){e.target.composing||(t.dateRangeSelectedStartDate=e.target.value)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.dateRangeSelectedEndDate,expression:"dateRangeSelectedEndDate"}],attrs:{type:"text",title:"End Date",placeholder:t.fConfigs.placeholder.split(" ")[0],readonly:!t.fConfigs.isTypeable,maxlength:t.fConfigs.dateFormat.length},domProps:{value:t.dateRangeSelectedEndDate},on:{input:function(e){e.target.composing||(t.dateRangeSelectedEndDate=e.target.value)}}})],{startDate:t.dateRangeSelectedStartDate,endDate:t.dateRangeSelectedEndDate,isTypeable:t.fConfigs.isTypeable})],2):t.fConfigs.isModal&&t.fConfigs.isDatePicker?n("div",{class:{"vfc-dark":t.fConfigs.isDark}},[t._t("datePickerInput",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.singleSelectedDate,expression:"singleSelectedDate"}],staticClass:"vfc-single-input",attrs:{type:"text",title:"Date",placeholder:t.fConfigs.placeholder,readonly:!t.fConfigs.isTypeable,maxlength:t.fConfigs.dateFormat.length},domProps:{value:t.singleSelectedDate},on:{input:function(e){e.target.composing||(t.singleSelectedDate=e.target.value)}}})],{selectedDate:t.singleSelectedDate,isTypeable:t.fConfigs.isTypeable})],2):t.fConfigs.isModal&&t.fConfigs.isMultipleDatePicker?n("div",{staticClass:"vfc-tags-input-root",class:{"vfc-dark":t.fConfigs.isDark}},[n("div",{staticClass:"vfc-tags-input-wrapper-default vfc-tags-input"},[t._l(t.calendar.selectedDates,(function(e,i){return n("span",{key:i,staticClass:"vfc-tags-input-badge vfc-tags-input-badge-pill vfc-tags-input-badge-selected-default"},[n("span",{domProps:{innerHTML:t._s(e.date)}}),t._v(" "),n("a",{staticClass:"vfc-tags-input-remove",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeFromSelectedDates(i)}}})])})),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.calendar.selectedDatesItem,expression:"calendar.selectedDatesItem"}],attrs:{type:"text",placeholder:"Add a date"},domProps:{value:t.calendar.selectedDatesItem},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.$parent.addToSelectedDates(e))},input:function(e){e.target.composing||t.$set(t.calendar,"selectedDatesItem",e.target.value)}}})],2)]):t._e()])}),[],!1,null,"539d1725",null).exports,_={name:"Footer"},b=(n("cVq0"),Object(s.a)(_,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"footerCon"},[this._t("cleaner"),this._v(" "),this._t("footer")],2)}),[],!1,null,"f57c853e",null).exports);const w=()=>(new Date).getUTCMilliseconds();var x={name:"FunctionalCalendar",components:{MonthYearPicker:g,TimePicker:l,PickerInputs:y,Arrows:c,Footer:b,Day:f,WeekNumbers:d},mixins:[a],computed:{startDMY(){return this.calendar.dateRange.start?this.calendar.dateRange.start.split(" ")[0]:""},endDMY(){return this.calendar.dateRange.end?this.calendar.dateRange.end.split(" ")[0]:""},rangeIsSelected(){return this.isMultipleDateRange?this.calendar.multipleDateRange.length>0:!(!this.calendar.dateRange.end||!this.calendar.dateRange.start)},helpCalendar(){return new i(this.fConfigs.sundayStart,this.checkHiddenElement("leftAndRightDays"),this.fConfigs.dateFormat,this.fConfigs.dayNames)},singleSelectedDate:{get(){let t="";if(this.displayTimeInput){const e=["HH:MM","HH:mm","hh:MM","hh:mm","MM:HH","mm:HH","MM:hh","mm:hh"];let n=this.fConfigs.dateFormat;this.dateFormat&&(n=this.dateFormat),e.indexOf(n.split(" ")[1])>3?t+=" "+[this.calendar.selectedHour,this.calendar.selectedMinute].reverse().join(":"):t+=" "+[this.calendar.selectedHour,this.calendar.selectedMinute].join(":")}return this.calendar.selectedDate?this.calendar.selectedDate+t:""},set(t){t=this.helpCalendar.mask(t),this.helpCalendar.getDateFromFormat(t).getMonth()&&(this.calendar.selectedDate=t)}}},created(){this.setConfigs(),this.initCalendar()},mounted(){if(this.displayTimeInput){this.fConfigs.placeholder.split(" ")[1]||(this.fConfigs.placeholder+=" hh:mm")}this.popoverElement=this.$refs.popoverElement,this.popoverElement.addEventListener("focusin",this.onFocusIn),this.popoverElement.addEventListener("focusout",this.onFocusOut),window.addEventListener("click",this.hideMonthYearPicker,{capture:!0}),this.$watch("value",(function(t){if("object"==typeof t&&(t.hasOwnProperty("dateRange")||t.hasOwnProperty("selectedDate")))this.calendar=t;else if("object"==typeof t&&t.hasOwnProperty("multipleDateRange")){this.calendar.multipleDateRange=t.multipleDateRange;const e=this.calendar.multipleDateRange[Math.max(0,this.calendar.multipleDateRange.length-1)];if(e&&(e.start&&!e.end||!e.start&&e.end))throw new Error("Invalid Data Range")}}),{immediate:!0,deep:!0}),this.$watch("showCalendar",(function(t){t?this.$emit("opened"):this.$emit("closed")}),{immediate:!0,deep:!0})},beforeDestroy:function(){window.removeEventListener("focusin",this.onFocusIn),window.removeEventListener("focusout",this.onFocusOut),window.removeEventListener("click",this.hideMonthYearPicker)},watch:{enabledDates:{handler(){this.fConfigs.enabledDates=this.enabledDates},deep:!0},"configs.enabledDates":{handler(){this.fConfigs.enabledDates=this.configs.enabledDates},deep:!0},fConfigs:{handler(){this.markChooseDays()},deep:!0,immediate:!0},calendar:{handler(){this.markChooseDays()},deep:!0,immediate:!0},"calendar.currentDate":{handler(t){this.$emit("input",this.calendar),this.checkLimits(t)}}},methods:{initCalendar(){this.setCalendarData(),this.listRendering(),this.markChooseDays(),this.checkLimits(this.calendar.currentDate)},updateCalendar(){this.setExistingCalendarData(),this.listRendering(),this.markChooseDays()},isNotSeparatelyAndFirst(t){return this.isSeparately||0==t},setCalendarData(){let t=this.calendar.currentDate;t=new Date(t.getFullYear(),t.getMonth()-1),this.listCalendars=[];for(let e=0;e{void 0!==this.fConfigs[e]&&this.$set(this.fConfigs,e,t[e])})),void 0!==this.configs?Object.keys(this.fConfigs).forEach(t=>{void 0!==this.configs[t]&&this.$set(this.fConfigs,t,this.configs[t])}):Object.keys(this.$props).forEach(t=>{void 0!==this.fConfigs[t]&&void 0!==this.$props[t]&&this.$set(this.fConfigs,t,this.$props[t])}),this.fConfigs.isModal&&(this.showCalendar=!1),this.fConfigs.placeholder||(this.fConfigs.placeholder=this.fConfigs.dateFormat),void 0!==this.newCurrentDate&&(this.calendar.currentDate=this.newCurrentDate),this.fConfigs.sundayStart){let t=[...this.fConfigs.dayNames],e=t[t.length-1];t.splice(t.length-1,1),t.unshift(e),this.fConfigs.dayNames=t}},listRendering(){this.listCalendars.forEach(t=>{t.weeks.forEach(t=>{let e=[];t.days.forEach(t=>{let n,i=new Date(t.year,t.month,t.day),r=new Date,a=!1;i.setHours(0,0,0,0),r.setHours(0,0,0,0),i.getTime()===r.getTime()&&(a=!0),n="object"==typeof this.fConfigs.markedDates[0]?this.fConfigs.markedDates.find(t=>t.date===this.helpCalendar.formatDate(i)):this.fConfigs.markedDates.find(t=>t===this.helpCalendar.formatDate(i)),this.startDMY===this.helpCalendar.formatDate(i)&&(n=!0);let o=!1;void 0!==n&&(o=!0),e.push({day:t.day,date:this.helpCalendar.formatDate(i),hide:t.hide,isMouseToLeft:!1,isMouseToRight:!1,isHovered:!1,isDateRangeStart:this.checkDateRangeStart(this.helpCalendar.formatDate(i)),isDateRangeEnd:this.checkDateRangeEnd(this.helpCalendar.formatDate(i)),hideLeftAndRightDays:t.hideLeftAndRightDays,isToday:a,isMarked:o})}),t.days=e})})},clickDay(t,e){if(this.fConfigs.withTimePicker&&this.fConfigs.isDateRange&&(t.date=t.date+" 00:00"),this.$emit("dayClicked",t),!this.fConfigs.isDateRange&&!this.fConfigs.isDatePicker&&!this.fConfigs.isMultipleDatePicker)return!1;let n=this.helpCalendar.getDateFromFormat(t.date).getDay()-1;-1===n&&(n=6);let i=this.fConfigs.dayNames[n];if(this.fConfigs.disabledDayNames.includes(i)||e(t.date))return!1;if(this.fConfigs.limits){let e=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.min).getTime(),n=this.helpCalendar.getDateFromFormat(this.fConfigs.limits.max).getTime(),i=this.helpCalendar.getDateFromFormat(t.date).getTime();if(in)return!1}if(this.fConfigs.isMultipleDateRange){let e=this.helpCalendar.getDateFromFormat(t.date.split(" ")[0]).getTime(),n=this.calendar.multipleDateRange.length,i=this.calendar.multipleDateRange[n-1],r="";if(i||(this.calendar.multipleDateRange.push({end:"",start:""}),n=this.calendar.multipleDateRange.length,i=this.calendar.multipleDateRange[n-1]),i.start&&(r=this.helpCalendar.getDateFromFormat(i.start)),""!==i.start&&""!==i.end?this.calendar.multipleDateRange.push({end:"",start:t.date}):""===i.start&&""===i.end?i.start=t.date:""===i.end&&e>r.getTime()?i.end=t.date:""!==i.start&&e<=r.getTime()&&(this.$nextTick(()=>{this.calendar.withTimePicker&&(this.$refs.timePicker.startDateActive=!0)}),i.end=i.start,i.start=t.date),""!==i.start&&""!==i.end){let e=864e5,n=this.helpCalendar.getDateFromFormat(i.start),a=this.helpCalendar.getDateFromFormat(i.end),o=Math.round(Math.abs((n.getTime()-a.getTime())/e)),s=this.helpCalendar.getDateFromFormat(t.date).getTime();this.$emit("selectedDaysCount",o),this.fConfigs.isModal&&this.fConfigs.isAutoCloseable&&(this.showCalendar=!1);let l=this.fConfigs.minSelDays;l&&s>=r.getTime()&&o=r.getTime()&&o>=u&&(r.setDate(r.getDate()+(u-1)),i.end=this.helpCalendar.formatDate(r)),u&&s=u&&(r.setDate(r.getDate()-(u-1)),i.start=this.helpCalendar.formatDate(r))}this.$emit("input",this.calendar)}else if(this.fConfigs.isDateRange){let e=this.helpCalendar.getDateFromFormat(t.date.split(" ")[0]).getTime(),n="";if(this.calendar.dateRange.start&&(n=this.helpCalendar.getDateFromFormat(this.calendar.dateRange.start)),""!==this.calendar.dateRange.start&&""!==this.calendar.dateRange.end?(this.calendar.dateRange.start=t.date,this.calendar.dateRange.end=""):""===this.calendar.dateRange.start&&""===this.calendar.dateRange.end?this.calendar.dateRange.start=t.date:""===this.calendar.dateRange.end&&e>n.getTime()?this.calendar.dateRange.end=t.date:""!==this.calendar.dateRange.start&&e<=n.getTime()&&(this.$nextTick(()=>{this.calendar.dateRange&&this.calendar.withTimePicker&&(this.$refs.timePicker.startDateActive=!0)}),this.calendar.dateRange.end=this.calendar.dateRange.start,this.calendar.dateRange.start=t.date),""!==this.calendar.dateRange.start&&""!==this.calendar.dateRange.end){let e=864e5,i=this.helpCalendar.getDateFromFormat(this.calendar.dateRange.start),r=this.helpCalendar.getDateFromFormat(this.calendar.dateRange.end),a=Math.round(Math.abs((i.getTime()-r.getTime())/e)),o=this.helpCalendar.getDateFromFormat(t.date).getTime();this.$emit("selectedDaysCount",a),this.fConfigs.isModal&&this.fConfigs.isAutoCloseable&&(this.showCalendar=!1);let s=this.fConfigs.minSelDays;s&&o>=n.getTime()&&a=n.getTime()&&a>=l&&(n.setDate(n.getDate()+(l-1)),this.calendar.dateRange.end=this.helpCalendar.formatDate(n)),l&&o=l&&(n.setDate(n.getDate()-(l-1)),this.calendar.dateRange.start=this.helpCalendar.formatDate(n))}this.$emit("input",this.calendar)}else if(this.fConfigs.isDatePicker)this.calendar.selectedDate=t.date,this.$emit("input",this.calendar),this.fConfigs.isModal&&this.fConfigs.isAutoCloseable&&(this.showCalendar=!1);else if(this.fConfigs.isMultipleDatePicker){if(this.calendar.hasOwnProperty("selectedDates")&&this.calendar.selectedDates.find(e=>e.date===t.date)){let e=this.calendar.selectedDates.findIndex(e=>e.date===t.date);this.calendar.selectedDates.splice(e,1)}else{let e=Object.assign({},this.defaultDateFormat);e.date=t.date,this.calendar.hasOwnProperty("selectedDates")||(this.calendar.selectedDates=[]),this.calendar.selectedDates.push(e)}this.$emit("input",this.calendar)}this.markChooseDays(),this.fConfigs.withTimePicker&&((this.fConfigs.isDateRange||this.fConfigs.isDatePicker)&&this.openTimePicker(),this.calendar.selectedDates.find(e=>e.date===t.date)&&this.fConfigs.isMultipleDatePicker&&this.openTimePicker()),this.$emit("choseDay",t)},markChooseDays(){let t=this.startDMY,e=this.endDMY;this.listCalendars.forEach(n=>{n.weeks.forEach(n=>{n.days.forEach(n=>{n.isMarked=!1,n.date=n.date.split(" ")[0],this.fConfigs.isDatePicker?this.calendar.selectedDate===n.date&&(n.isMarked=!0):this.fConfigs.isMultipleDatePicker?this.calendar.hasOwnProperty("selectedDates")&&this.calendar.selectedDates.find(t=>t.date===n.date)&&(n.isMarked=!0):(n.isMouseToLeft=!1,n.isMouseToRight=!1,t===n.date&&(n.isMouseToLeft=!!e,n.isMarked=!0),e===n.date&&(n.isMouseToRight=!!e,n.isMarked=!0),this.calendar.multipleDateRange&&(~this.calendar.multipleDateRange.map(t=>t.start.split(" ")[0]).indexOf(n.date)&&(n.isMouseToLeft=!!e,n.isMarked=!0),~this.calendar.multipleDateRange.map(t=>t.end.split(" ")[0]).indexOf(n.date)&&(n.isMouseToRight=!!e,n.isMarked=!0),this.calendar.multipleDateRange.forEach(t=>{t.start&&t.start===t.end&&(n.isMouseToLeft=!1,n.isMouseToRight=!1),t.start&&t.end&&this.helpCalendar.getDateFromFormat(n.date).getTime()>this.helpCalendar.getDateFromFormat(t.start)&&this.helpCalendar.getDateFromFormat(n.date)this.helpCalendar.getDateFromFormat(t)&&this.helpCalendar.getDateFromFormat(n.date)n)return!1}if(!(""!==this.calendar.dateRange.start&&""!==this.calendar.dateRange.end||""===this.calendar.dateRange.start&&""===this.calendar.dateRange.end))for(let e=0;es.getTime()||r===o&&os.getTime();let l=this.helpCalendar.getDateFromFormat(a.date).getDay()-1;-1===l&&(l=6);let u=this.fConfigs.dayNames[l];if(!this.fConfigs.disabledDayNames.includes(u)&&(r>s.getTime()&&ro)&&(this.listCalendars[e].weeks[i].days[n].isMarked=!0),this.calendar.dateRange.end||r!==o||(this.listCalendars[e].weeks[i].days[n].isHovered=!1),this.checkSelDates("min",this.calendar.dateRange.start,a.date,t)){let t,r;this.listCalendars[e].weeks[i].days[n].isMarked=!0,r=new Date(s.getTime()),t=new Date(s.getTime()),r.setDate(r.getDate()-this.fConfigs.minSelDays+1),t.setDate(t.getDate()+this.fConfigs.minSelDays-1),o>=r.getTime()&&this.helpCalendar.formatDate(r)===a.date?(this.listCalendars[e].weeks[i].days[n].isMarked=!1,this.listCalendars[e].weeks[i].days[n].isMouseToLeft=!0,this.listCalendars[e].weeks[i].days[n].isHovered=!0):o<=t.getTime()&&this.helpCalendar.formatDate(t)===a.date&&(this.listCalendars[e].weeks[i].days[n].isMarked=!1,this.listCalendars[e].weeks[i].days[n].isMouseToRight=!0,this.listCalendars[e].weeks[i].days[n].isHovered=!0)}if(this.checkSelDates("max",this.calendar.dateRange.start,a.date,t)){let t,r;this.listCalendars[e].weeks[i].days[n].isMarked=!1,this.listCalendars[e].weeks[i].days[n].isHovered=!1,this.listCalendars[e].weeks[i].days[n].isMouseToLeft=!1,this.listCalendars[e].weeks[i].days[n].isMouseToRight=!1,t=new Date(s.getTime()),r=new Date(s.getTime()),t.setDate(t.getDate()-this.fConfigs.maxSelDays+1),r.setDate(r.getDate()+this.fConfigs.maxSelDays-1),o<=t.getTime()&&this.helpCalendar.formatDate(t)===a.date&&(this.listCalendars[e].weeks[i].days[n].isHovered=!0,this.listCalendars[e].weeks[i].days[n].isMouseToLeft=!0),o>=r.getTime()&&this.helpCalendar.formatDate(r)===a.date&&(this.listCalendars[e].weeks[i].days[n].isHovered=!0,this.listCalendars[e].weeks[i].days[n].isMouseToRight=!0)}}}}}if(this.calendar.multipleDateRange){let e=this.calendar.multipleDateRange[this.calendar.multipleDateRange.length-1];if(!e)return;if(!(""!==e.start&&""!==e.end||""===e.start&&""===e.end))for(let n=0;nl.getTime()||a===s&&sl.getTime();let u=this.helpCalendar.getDateFromFormat(o.date).getDay()-1;-1===u&&(u=6);let c=this.fConfigs.dayNames[u];if(!this.fConfigs.disabledDayNames.includes(c)&&(a>l.getTime()&&as)&&(this.listCalendars[n].weeks[r].days[i].isMarked=!0),e.end||a!==s||(this.listCalendars[n].weeks[r].days[i].isHovered=!1),this.checkSelDates("min",e.start,o.date,t)){let t,e;this.listCalendars[n].weeks[r].days[i].isMarked=!0,e=new Date(l.getTime()),t=new Date(l.getTime()),e.setDate(e.getDate()-this.fConfigs.minSelDays+1),t.setDate(t.getDate()+this.fConfigs.minSelDays-1),s>=e.getTime()&&this.helpCalendar.formatDate(e)===o.date?(this.listCalendars[n].weeks[r].days[i].isMarked=!1,this.listCalendars[n].weeks[r].days[i].isMouseToLeft=!0,this.listCalendars[n].weeks[r].days[i].isHovered=!0):s<=t.getTime()&&this.helpCalendar.formatDate(t)===o.date&&(this.listCalendars[n].weeks[r].days[i].isMarked=!1,this.listCalendars[n].weeks[r].days[i].isMouseToRight=!0,this.listCalendars[n].weeks[r].days[i].isHovered=!0)}if(this.checkSelDates("max",e.start,o.date,t)){let t,e;this.listCalendars[n].weeks[r].days[i].isMarked=!1,this.listCalendars[n].weeks[r].days[i].isHovered=!1,this.listCalendars[n].weeks[r].days[i].isMouseToLeft=!1,this.listCalendars[n].weeks[r].days[i].isMouseToRight=!1,t=new Date(l.getTime()),e=new Date(l.getTime()),t.setDate(t.getDate()-this.fConfigs.maxSelDays+1),e.setDate(e.getDate()+this.fConfigs.maxSelDays-1),s<=t.getTime()&&this.helpCalendar.formatDate(t)===o.date&&(this.listCalendars[n].weeks[r].days[i].isHovered=!0,this.listCalendars[n].weeks[r].days[i].isMouseToLeft=!0),s>=e.getTime()&&this.helpCalendar.formatDate(e)===o.date&&(this.listCalendars[n].weeks[r].days[i].isHovered=!0,this.listCalendars[n].weeks[r].days[i].isMouseToRight=!0)}}}}}}},PreMonth(t=null){if(!this.allowPreDate)return!1;this.transitionPrefix="right",t=null!==t?t:0;let e=this.listCalendars[t];e.date=new Date(e.date.getFullYear(),e.date.getMonth()-1),e.key-=w(),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=e.date,this.initCalendar()),this.$emit("changedMonth",e.date)},NextMonth(t=null){if(!this.allowNextDate)return!1;this.transitionPrefix="left",t=null!==t?t:0;let e=this.listCalendars[t];e.date=new Date(e.date.getFullYear(),e.date.getMonth()+1),e.key+=w(),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=e.date,this.initCalendar()),this.$emit("changedMonth",e.date)},PreYear(t=null){if(!this.allowPreDate)return!1;let e=this.showYearPicker?this.fConfigs.changeYearStep:1;t=null!==t?t:0;let n=this.listCalendars[t];n.date=new Date(n.date.getFullYear()-e,n.date.getMonth()),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=n.date,this.initCalendar()),this.$emit("changedYear",n.date)},NextYear(t=null){if(!this.allowNextDate)return!1;let e=this.showYearPicker?this.fConfigs.changeYearStep:1;t=null!==t?t:0;let n=this.listCalendars[t];n.date=new Date(n.date.getFullYear()+e,n.date.getMonth()),this.updateCalendar(),this.fConfigs.isSeparately||(this.calendar.currentDate=n.date,this.initCalendar()),this.$emit("changedYear",n.date)},ChooseDate(t){let e=this.helpCalendar.getDateFromFormat(t);"today"===t&&(e=new Date),this.listCalendars[0].date=this.calendar.currentDate=e,this.updateCalendar(),this.initCalendar()},openMonthPicker(t){this.fConfigs.changeMonthFunction&&(this.showMonthPicker=t!==this.showMonthPicker&&t,this.showYearPicker=!1)},openYearPicker(t){this.fConfigs.changeYearFunction&&(this.showYearPicker=t!==this.showYearPicker&&t,this.showMonthPicker=!1)},openTimePicker(){this.showTimePicker=!0},pickMonth(t,e){if(this.showMonthPicker=!1,this.isSeparately){let n=this.listCalendars[e],i=n.date;n.date=new Date(i.getFullYear(),t+1,0),n.key+=w()}else this.listCalendars.forEach((e,n)=>{let i=e.date;e.date=new Date(i.getFullYear(),t+1+n,0),e.key+=w()});let n=this.listCalendars[e];this.$emit("changedMonth",n.date),this.updateCalendar()},pickYear(t,e){if(this.showYearPicker=!1,this.isSeparately){let n=this.listCalendars[e],i=n.date;n.date=new Date(t,i.getMonth()+1,0),n.key+=w()}else this.listCalendars.forEach(e=>{let n=e.date;e.date=new Date(t,n.getMonth()+1,0),e.key+=w()});this.updateCalendar()},getYearList(t,e){let n=[],i=t.getFullYear()-4+e;for(let t=0;t<12;t++){let e=i+t;n.push({year:e})}return n},addToSelectedDates(){if(this.helpCalendar.checkValidDate(this.calendar.selectedDatesItem)){let t=Object.assign({},this.defaultDateFormat);t.date=this.calendar.selectedDatesItem,this.calendar.selectedDates.push(t),this.calendar.selectedDatesItem="",this.markChooseDays()}},removeFromSelectedDates(t){this.calendar.selectedDates.splice(t,1),this.markChooseDays()},checkDateRangeEnd(t){return Array.isArray(this.fConfigs.markedDateRange)?-1!==this.fConfigs.markedDateRange.findIndex(e=>e.end===t):t===this.fConfigs.markedDateRange.end},checkSelDates(t,e,n,i){let r,a=this.helpCalendar.getDateFromFormat(e).getTime(),o=this.helpCalendar.getDateFromFormat(n).getTime(),s=this.helpCalendar.getDateFromFormat(i).getTime(),l=1e3*("min"===t?this.fConfigs.minSelDays:this.fConfigs.maxSelDays-2)*60*60*24,u=a+l,c=a-l;return s>a?r="min"===t?oa&&this.fConfigs.minSelDays:o>u&&o>a&&this.fConfigs.maxSelDays:sc&&o=n&&(this.allowNextDate=!1)}},getTransition_(){if(!this.fConfigs.transition)return"";let t="";return"left"===this.transitionPrefix?t="vfc-calendar-slide-left":"right"===this.transitionPrefix&&(t="vfc-calendar-slide-right"),t},checkHiddenElement(t){return!this.fConfigs.hiddenElements.includes(t)},onFocusIn(){this.fConfigs.isModal&&(this.showCalendar=!0)},onFocusOut(t){if(this.fConfigs.isModal&&(e=this.popoverElement,n=t.relatedTarget,!e||!n||e!==n&&!e.contains(n)))return this.showCalendar=this.showMonthPicker=this.showYearPicker=!1;var e,n},hideMonthYearPicker(t){this.$nextTick(()=>{if(this.showMonthPicker||this.showYearPicker){let e=this.showMonthPicker?this.showMonthPicker-1:this.showYearPicker-1;if(this.$refs.calendars.querySelectorAll(".vfc-content-MY-picker")[e].contains(t.target))return;return this.showMonthPicker=this.showYearPicker=!1}})},checkDateRangeStart(t){return Array.isArray(this.fConfigs.markedDateRange)?-1!==this.fConfigs.markedDateRange.findIndex(e=>e.start===t):t===this.fConfigs.markedDateRange.start},cleanRange(){if(!this.isMultipleDateRange)return this.calendar.dateRange.end="",void(this.calendar.dateRange.start="");this.calendar.multipleDateRange=[]}}},k=(n("d+iy"),Object(s.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"popoverElement",staticClass:"vfc-popover-container",attrs:{tabindex:"0"}},[n("PickerInputs",{attrs:{fConfigs:t.fConfigs,singleSelectedDate:t.singleSelectedDate,calendar:t.calendar},scopedSlots:t._u([{key:"dateRangeInputs",fn:function(e){return[t._t("dateRangeInputs",null,{startDate:e.startDate,endDate:e.endDate,isTypeable:t.fConfigs.isTypeable})]}},{key:"datePickerInput",fn:function(e){return[t._t("datePickerInput",null,{selectedDate:e.selectedDate,isTypeable:t.fConfigs.isTypeable})]}}],null,!0)}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showCalendar,expression:"showCalendar"}],ref:"mainContainer",staticClass:"vfc-main-container",class:{"vfc-modal":t.fConfigs.isModal&&(t.fConfigs.isDatePicker||t.fConfigs.isDateRange||t.fConfigs.isMultipleDatePicker),"vfc-dark":t.fConfigs.isDark}},[t.showTimePicker?n("time-picker",{ref:"timePicker",attrs:{height:t.$refs.popoverElement.clientHeight}}):[n("div",{staticClass:"vfc-calendars-container"},[n("Arrows",{attrs:{isMultiple:!1,fConfigs:t.fConfigs,allowPreDate:t.allowPreDate,allowNextDate:t.allowNextDate},scopedSlots:t._u([{key:"navigationArrowLeft",fn:function(){return[t._t("navigationArrowLeft")]},proxy:!0},{key:"navigationArrowRight",fn:function(){return[t._t("navigationArrowRight")]},proxy:!0}],null,!0)}),t._v(" "),n("div",{ref:"calendars",staticClass:"vfc-calendars"},t._l(t.listCalendars,(function(e,i){return n("div",{key:e.key,staticClass:"vfc-calendar"},[n("month-year-picker",{directives:[{name:"show",rawName:"v-show",value:t.showMonthPicker===i+1||t.showYearPicker===i+1,expression:"\n showMonthPicker === key + 1 || showYearPicker === key + 1\n "}],ref:"monthContainer",refInFor:!0,class:"vfc-"+t.fConfigs.titlePosition,attrs:{changeYearStep:t.changeYearStep,"calendar-key":i}}),t._v(" "),n("div",{staticClass:"vfc-content"},[n("Arrows",{attrs:{isMultiple:!0,fConfigs:t.fConfigs,allowPreDate:t.allowPreDate,allowNextDate:t.allowNextDate,"calendar-key":i},scopedSlots:t._u([{key:"navigationArrowLeft",fn:function(){return[t._t("navigationArrowLeft")]},proxy:!0},{key:"navigationArrowRight",fn:function(){return[t._t("navigationArrowRight")]},proxy:!0}],null,!0)}),t._v(" "),n("transition",{attrs:{tag:"div",name:t.getTransition_(),appear:""}},[t.checkHiddenElement("month")?n("div",{staticClass:"vfc-top-date",class:"vfc-"+t.fConfigs.titlePosition},[n("span",{class:{"vfc-cursor-pointer vfc-underline":t.fConfigs.changeMonthFunction&&t.isNotSeparatelyAndFirst(i),"vfc-underline-active":t.showMonthPicker===i+1},on:{click:function(e){e.preventDefault(),t.isNotSeparatelyAndFirst(i)&&t.openMonthPicker(i+1)}}},[t._v("\n "+t._s(e.month))]),t._v(" "),n("span",{class:{"vfc-cursor-pointer vfc-underline":t.fConfigs.changeYearFunction&&t.isNotSeparatelyAndFirst(i),"vfc-underline-active":t.showYearPicker===i+1},on:{click:function(e){e.preventDefault(),t.isNotSeparatelyAndFirst(i)&&t.openYearPicker(i+1)}}},[t._v("\n "+t._s(e.year)+"\n ")])]):t._e()]),t._v(" "),n("transition",{attrs:{tag:"div",name:t.getTransition_(),appear:""}},[n("div",{staticClass:"vfc-dayNames"},[t.fConfigs.showWeekNumbers?n("span"):t._e(),t._v(" "),t._l(t.fConfigs.dayNames,(function(e,r){return n("span",{key:i+r+1,staticClass:"vfc-day"},[t.checkHiddenElement("dayNames")?[t._v("\n "+t._s(e)+"\n ")]:t._e()],2)}))],2)]),t._v(" "),n("transition-group",{attrs:{tag:"div",name:t.getTransition_(),appear:""}},[t._l(e.weeks,(function(e,r){return n("div",{key:i+r+1,staticClass:"vfc-week"},[t.showWeekNumbers?n("WeekNumbers",{attrs:{number:e.number,borderColor:t.borderColor}}):t._e(),t._v(" "),t._l(e.days,(function(a,o){return n("Day",{key:i+r+o+1,ref:"day",refInFor:!0,attrs:{isMultipleDateRange:t.isMultipleDateRange,day:a,fConfigs:t.fConfigs,calendar:t.calendar,helpCalendar:t.helpCalendar,week:e,day_key:o},on:{dayMouseOver:t.dayMouseOver},scopedSlots:t._u([{key:"default",fn:function(e){return[t._t("default",null,{week:e.week,day:e.day})]}}],null,!0)})}))],2)})),t._v(" "),e.weeks.length<6&&!t.fConfigs.isLayoutExpandable?t._l(6-e.weeks.length,(function(e){return n("div",{key:i+e+"moreWeek",staticStyle:{height:"32.6px"}},[t._v("\n  \n ")])})):t._e()],2)],1)],1)})),0),t._v(" "),t.canClearRange||t.$slots.footer?n("Footer",{scopedSlots:t._u([{key:"footer",fn:function(){return[n("div",{on:{click:t.cleanRange}},[t._t("cleaner",[t.canClearRange&&t.fConfigs.isDateRange?n("div",{staticClass:"rangeCleaner"},[n("span",{class:[t.rangeIsSelected?"active":"disabled"],on:{click:t.cleanRange}},[t._v("Clear Range"+t._s(t.isMultipleDateRange&&"s"))])]):t._e()])],2),t._v(" "),t._t("footer")]},proxy:!0}],null,!0)}):t._e()],1)]],2)],1)}),[],!1,null,null,null).exports)},R7ON:function(t){t.exports=JSON.parse('{"allowed-to-create":"Możesz stworzyć {teams} drużyne","what-kind-of-team":"Jaką drużyne chciałbyś stworzyć?","team-type":"Typ drużyny","team-name":"Nazwa drużyny","my-awesome-team-placeholder":"Moja Super drużyna","unique-team-id":"Unikalny identyfikator drużyny","id-to-join-team":"Każdy, kto ma ten identyfikator, będzie mógł dołączyć do Twojego drużyny.","create-team":"Stwórz drużyne","update-team":"Zaktualizuj zespół","created":"Gratulacje! Twoja drużyna została utworzona.","updated":"Zaktualizowano drużynę.","select-team":"Wybierz drużynę","fail":"Wystąpił błąd podczas tworzenia Twojego drużyny","max-created":"Nie możesz tworzyć więcej drużyn"}')},RBMv:function(t,e,n){var i=n("F90D");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},RL2N:function(t,e,n){var i=n("oDVm");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},RQXY:function(t,e,n){"use strict";var i=n("wd/R"),r=n.n(i),a={name:"GlobalLeaders",props:["leaders"],methods:{getCountryFlag:function(t){return t?"/assets/icons/flags/"+(t=t.toLowerCase())+".png":""},getPosition:function(t){return r.a.localeData().ordinal(t)}}},o=(n("3Fuk"),n("KHd+")),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"global-leaders"},t._l(t.leaders,(function(e,i){return n("div",{staticClass:"leader wow slideInLeft"},[e.rank?n("div",{staticClass:"medal"},[1===e.rank?n("img",{attrs:{src:"/assets/icons/gold-medal-2.png",alt:"Gold spot"}}):t._e(),t._v(" "),2===e.rank?n("img",{attrs:{src:"/assets/icons/silver-medal-2.png",alt:"Silver spot"}}):t._e(),t._v(" "),3===e.rank?n("img",{attrs:{src:"/assets/icons/bronze-medal-2.png",alt:"Bronze spot"}}):t._e()]):n("div",{staticClass:"medal"},[0===i?n("img",{attrs:{src:"/assets/icons/gold-medal-2.png",alt:"Gold spot"}}):t._e(),t._v(" "),1===i?n("img",{attrs:{src:"/assets/icons/silver-medal-2.png",alt:"Silver spot"}}):t._e(),t._v(" "),2===i?n("img",{attrs:{src:"/assets/icons/bronze-medal-2.png",alt:"Bronze spot"}}):t._e()]),t._v(" "),n("div",{staticClass:"rank"},[e.rank?n("span",[t._v(t._s(t.getPosition(e.rank)))]):n("span",[t._v(t._s(t.getPosition(i+1)))]),t._v(" "),n("div",{staticClass:"flag"},[n("img",{directives:[{name:"show",rawName:"v-show",value:e.global_flag,expression:"leader.global_flag"}],attrs:{src:t.getCountryFlag(e.global_flag),alt:e.global_flag}})])]),t._v(" "),n("div",{staticClass:"details"},[n("div",{staticClass:"name"},[e.name||e.username?n("span",[t._v(t._s(e.name)+" "+t._s(e.username))]):n("span",[t._v(t._s(t.$t("common.anonymous")))])]),t._v(" "),e.team?n("div",{staticClass:"team"},[t._v("\n "+t._s(t.$t("common.team"))+" "+t._s(e.team)+"\n ")]):t._e(),t._v(" "),e.social?n("div",{staticClass:"social-container"},t._l(e.social,(function(t,e){return n("a",{attrs:{target:"_blank",href:t}},[n("i",{staticClass:"fa",class:"personal"===e?"fa-link":"fa-"+e})])})),0):t._e()]),t._v(" "),e.social?n("div",{staticClass:"social-container"},t._l(e.social,(function(t,e){return n("a",{attrs:{target:"_blank",href:t}},[n("i",{staticClass:"fa",class:"personal"===e?"fa-link":"fa-"+e})])})),0):t._e(),t._v(" "),n("div",{staticClass:"xp"},[n("div",{staticClass:"value"},[t._v(t._s(e.xp))]),t._v(" "),n("div",{staticClass:"text"},[t._v("XP")])])])})),0)}),[],!1,null,"84a58308",null);e.a=s.exports},RRYh:function(t){t.exports=JSON.parse('{"success-title":"Thanks for helping!","success-subtitle":"Remember to verify your email to enable login.","error-title":"There was a problem.","error-subtitle":"Your card was not charged, but you can still verify your email and login."}')},RScH:function(t,e,n){"use strict";var i=n("8mV1");n.n(i).a},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="RnhZ"},RqL8:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap kwa sasa inategemea michango tu.","its-important":"Ni muhimu"}')},S11f:function(t,e,n){"use strict";var i=n("yPIN");n.n(i).a},SDPu:function(t,e,n){"use strict";var i=n("FOF1");n.n(i).a},SFi8:function(t){t.exports=JSON.parse('{"click-to-upload":"Click to upload or drop your photos","thank-you":"Thank you!","need-tag-litter":"Next, you need to tag the litter","tag-litter":"Tag Litter"}')},STDh:function(t,e,n){"use strict";var i=n("JWC4");n.n(i).a},SXG0:function(t,e,n){var i;"undefined"!=typeof self&&self,t.exports=(i=n("XuX8"),function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"091b":function(t,e,n){(e=n("24fb")(!1)).push([t.i,".vue-slider-dot{position:absolute;-webkit-transition:all 0s;transition:all 0s;z-index:5}.vue-slider-dot:focus{outline:none}.vue-slider-dot-tooltip{position:absolute;visibility:hidden}.vue-slider-dot-hover:hover .vue-slider-dot-tooltip,.vue-slider-dot-tooltip-show{visibility:visible}.vue-slider-dot-tooltip-top{top:-10px;left:50%;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.vue-slider-dot-tooltip-bottom{bottom:-10px;left:50%;-webkit-transform:translate(-50%,100%);transform:translate(-50%,100%)}.vue-slider-dot-tooltip-left{left:-10px;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.vue-slider-dot-tooltip-right{right:-10px;top:50%;-webkit-transform:translate(100%,-50%);transform:translate(100%,-50%)}",""]),t.exports=e},"24fb":function(t,e,n){"use strict";function i(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}(i),a=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(a).concat([r]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var a=0;an.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"==typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return(e={})[t]=i.value,e}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var i=new e;e.prototype._init=n;var r={};return Object.keys(i).forEach((function(t){void 0!==i[t]&&(r[t]=i[t])})),r}(this,t)}});var o=t.__decorators__;o&&(o.forEach((function(t){return t(e)})),delete t.__decorators__);var s=Object.getPrototypeOf(t.prototype),u=s instanceof i?s.constructor:i,h=u.extend(e);return c(h,t,u),r&&a(h,t),h}function c(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if("prototype"!==i){var r=Object.getOwnPropertyDescriptor(t,i);if(!r||r.configurable){var a=Object.getOwnPropertyDescriptor(e,i);if(!s){if("cid"===i)return;var o=Object.getOwnPropertyDescriptor(n,i);if(!function(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}(a.value)&&o&&o.value===a.value)return}Object.defineProperty(t,i,a)}}}))}function h(t){return"function"==typeof t?u(t):function(e){return u(e,t)}}h.registerHooks=function(t){l.push.apply(l,t)},e.default=h,e.createDecorator=function(t){return function(e,n,i){var r="function"==typeof e?e:e.constructor;r.__decorators__||(r.__decorators__=[]),"number"!=typeof i&&(i=void 0),r.__decorators__.push((function(e){return t(e,n,i)}))}},e.mixins=function(){for(var t=[],e=0;e([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var c=0;c=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}var u=n("8bbf"),c=n.n(u),h=n("65d9"),d=n.n(h);function p(t,e){return void 0===e&&(e={}),Object(h.createDecorator)((function(n,i){(n.props||(n.props={}))[i]=e,n.model={prop:i,event:t||i}}))}function f(t){return void 0===t&&(t={}),Object(h.createDecorator)((function(e,n){(e.props||(e.props={}))[n]=t}))}function m(t,e){void 0===e&&(e={});var n=e.deep,i=void 0!==n&&n,r=e.immediate,a=void 0!==r&&r;return Object(h.createDecorator)((function(e,n){"object"!=typeof e.watch&&(e.watch=Object.create(null));var r=e.watch;"object"!=typeof r[t]||Array.isArray(r[t])?void 0===r[t]&&(r[t]=[]):r[t]=[r[t]],r[t].push({handler:n,deep:i,immediate:a})}))}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n-1},required:!0})],t.prototype,"tooltipPlacement",void 0),l([f({type:[String,Function]})],t.prototype,"tooltipFormatter",void 0),l([f({type:Boolean,default:!1})],t.prototype,"focus",void 0),l([f({default:!1})],t.prototype,"disabled",void 0),t=l([d.a],t)}();function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);nthis.total&&(t=this.total),this.data?this.data[t]:new j(t).multiply(this.interval).plus(this.min).toNumber()}},{key:"setDotPos",value:function(t,e){var n=(t=this.getValidPos(t,e).pos)-this.dotsPos[e];if(n){var i=new Array(this.dotsPos.length);this.fixed?i=this.getFixedChangePosArr(n,e):this.minRange||this.maxRange?i=this.getLimitRangeChangePosArr(t,n,e):i[e]=n,this.setDotsPos(this.dotsPos.map((function(t,e){return t+(i[e]||0)})))}}},{key:"getFixedChangePosArr",value:function(t,e){var n=this;return this.dotsPos.forEach((function(i,r){if(r!==e){var a=n.getValidPos(i+t,r),o=a.pos;a.inRange||(t=Math.min(Math.abs(o-i),Math.abs(t))*(t<0?-1:1))}})),this.dotsPos.map((function(e){return t}))}},{key:"getLimitRangeChangePosArr",value:function(t,e,n){var i=this,r=[{index:n,changePos:e}],a=e;return[this.minRange,this.maxRange].forEach((function(o,s){if(!o)return!1;for(var l,u=0===s,c=e>0,h=function(t,e){var n=Math.abs(t-e);return u?ni.maxRangeDir},d=n+(l=u?c?1:-1:c?-1:1),p=i.dotsPos[d],f=t;i.isPos(p)&&h(p,f);){var m=i.getValidPos(p+a,d).pos;r.push({index:d,changePos:m-p}),d+=l,f=m,p=i.dotsPos[d]}})),this.dotsPos.map((function(t,e){var n=r.filter((function(t){return t.index===e}));return n.length?n[0].changePos:0}))}},{key:"isPos",value:function(t){return"number"==typeof t}},{key:"getValidPos",value:function(t,e){var n=this.valuePosRange[e],i=!0;return tn[1]&&(t=n[1],i=!1),{pos:t,inRange:i}}},{key:"parseValue",value:function(t){if(this.data)t=this.data.indexOf(t);else if("number"==typeof t||"string"==typeof t){if((t=+t)this.max)return this.emitError(R.MAX),0;if("number"!=typeof t||t!=t)return this.emitError(R.VALUE),0;t=new j(t).minus(this.min).divide(this.interval).toNumber()}var e=new j(t).multiply(this.gap).toNumber();return e<0?0:e>100?100:e}},{key:"parsePos",value:function(t){var e=Math.round(t/this.gap);return this.getValueByIndex(e)}},{key:"isActiveByPos",value:function(t){return this.processArray.some((function(e){var n=B(e,2),i=n[0],r=n[1];return t>=i&&t<=r}))}},{key:"getValues",value:function(){if(this.data)return this.data;for(var t=[],e=0;e<=this.total;e++)t.push(new j(e).multiply(this.interval).plus(this.min).toNumber());return t}},{key:"getRangeDir",value:function(t){return t?new j(t).divide(new j(this.data?this.data.length-1:this.max).minus(this.data?0:this.min).toNumber()).multiply(100).toNumber():100}},{key:"emitError",value:function(t){this.onError&&this.onError(t,H[t])}},{key:"getDotRange",value:function(t,e,n){if(!this.dotOptions)return n;var i=Array.isArray(this.dotOptions)?this.dotOptions[t]:this.dotOptions;return i&&void 0!==i[e]?this.parseValue(i[e]):n}},{key:"markList",get:function(){var t=this;if(!this.marks)return[];var e=function(e,n){var i=t.parseValue(e);return function(t){for(var e=1;e1)return[[Math.min.apply(Math,U(this.dotsPos)),Math.max.apply(Math,U(this.dotsPos))]]}return[]}},{key:"total",get:function(){var t;return(t=this.data?this.data.length-1:new j(this.max).minus(this.min).divide(this.interval).toNumber())-Math.floor(t)!=0?(this.emitError(R.INTERVAL),0):t}},{key:"gap",get:function(){return 100/this.total}},{key:"minRangeDir",get:function(){return this.cacheRangeDir[this.minRange]?this.cacheRangeDir[this.minRange]:this.cacheRangeDir[this.minRange]=this.getRangeDir(this.minRange)}},{key:"maxRangeDir",get:function(){return this.cacheRangeDir[this.maxRange]?this.cacheRangeDir[this.maxRange]:this.cacheRangeDir[this.maxRange]=this.getRangeDir(this.maxRange)}},{key:"valuePosRange",get:function(){var t=this,e=this.dotsPos,n=[];return e.forEach((function(i,r){n.push([Math.max(t.minRange?t.minRangeDir*r:0,t.enableCross?0:e[r-1]||0,t.getDotRange(r,"min",0)),Math.min(t.minRange?100-t.minRangeDir*(e.length-1-r):100,t.enableCross?100:e[r+1]||100,t.getDotRange(r,"max",100))])})),n}},{key:"dotsIndex",get:function(){var t=this;return this.dotsValue.map((function(e){return t.getIndexByValue(e)}))}}]),t}();function Y(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&"object"===it(t[0])}},{key:"onValueChanged",value:function(){this.control&&!this.states.has(ct.Drag)&&this.isNotSync&&this.control.setValue(this.value)}},{key:"created",value:function(){this.initControl()}},{key:"mounted",value:function(){this.bindEvent()}},{key:"beforeDestroy",value:function(){this.unbindEvent()}},{key:"bindEvent",value:function(){document.addEventListener("touchmove",this.dragMove,{passive:!1}),document.addEventListener("touchend",this.dragEnd,{passive:!1}),document.addEventListener("mousedown",this.blurHandle),document.addEventListener("mousemove",this.dragMove),document.addEventListener("mouseup",this.dragEnd),document.addEventListener("mouseleave",this.dragEnd),document.addEventListener("keydown",this.keydownHandle)}},{key:"unbindEvent",value:function(){document.removeEventListener("touchmove",this.dragMove),document.removeEventListener("touchend",this.dragEnd),document.removeEventListener("mousedown",this.blurHandle),document.removeEventListener("mousemove",this.dragMove),document.removeEventListener("mouseup",this.dragEnd),document.removeEventListener("mouseleave",this.dragEnd),document.removeEventListener("keydown",this.keydownHandle)}},{key:"setScale",value:function(){this.scale=new j(Math.floor(this.isHorizontal?this.$el.offsetWidth:this.$el.offsetHeight)).divide(100).toNumber()}},{key:"initControl",value:function(){var t=this;this.control=new W({value:this.value,data:this.sliderData,enableCross:this.enableCross,fixed:this.fixed,max:this.max,min:this.min,interval:this.interval,minRange:this.minRange,maxRange:this.maxRange,order:this.order,marks:this.sliderMarks,included:this.included,process:this.process,adsorb:this.adsorb,dotOptions:this.dotOptions,onError:this.emitError}),["data","enableCross","fixed","max","min","interval","minRange","maxRange","order","marks","process","adsorb","included","dotOptions"].forEach((function(e){t.$watch(e,(function(n){if("data"===e&&Array.isArray(t.control.data)&&Array.isArray(n)&&t.control.data.length===n.length&&n.every((function(e,n){return e===t.control.data[n]})))return!1;switch(e){case"data":case"dataLabel":case"dataValue":t.control.data=t.sliderData;break;case"mark":t.control.marks=t.sliderMarks;break;default:t.control[e]=n}["data","max","min","interval"].indexOf(e)>-1&&t.control.syncDotsPos()}))}))}},{key:"syncValueByPos",value:function(){var t=this.control.dotsValue;this.isDiff(t,Array.isArray(this.value)?this.value:[this.value])&&this.$emit("change",1===t.length?t[0]:tt(t),this.focusDotIndex)}},{key:"isDiff",value:function(t,e){return t.length!==e.length||t.some((function(t,n){return t!==e[n]}))}},{key:"emitError",value:function(t,e){this.silent,this.$emit("error",t,e)}},{key:"dragStartOnProcess",value:function(t){if(this.dragOnClick){this.setScale();var e=this.getPosByEvent(t),n=this.control.getRecentDot(e);if(this.dots[n].disabled)return;this.dragStart(n),this.control.setDotPos(e,this.focusDotIndex),this.lazy||this.syncValueByPos()}}},{key:"dragStart",value:function(t){this.focusDotIndex=t,this.setScale(),this.states.add(ct.Drag),this.states.add(ct.Focus),this.$emit("drag-start",this.focusDotIndex)}},{key:"dragMove",value:function(t){if(!this.states.has(ct.Drag))return!1;t.preventDefault();var e=this.getPosByEvent(t);this.isCrossDot(e),this.control.setDotPos(e,this.focusDotIndex),this.lazy||this.syncValueByPos();var n=this.control.dotsValue;this.$emit("dragging",1===n.length?n[0]:tt(n),this.focusDotIndex)}},{key:"isCrossDot",value:function(t){if(this.canSort){var e=this.focusDotIndex,n=t;if(n>this.dragRange[1]?(n=this.dragRange[1],this.focusDotIndex++):n1&&void 0!==arguments[1]?arguments[1]:0;t.disabled||(this.states.add(ct.Focus),this.focusDotIndex=e)}},{key:"blur",value:function(){this.states.delete(ct.Focus)}},{key:"getValue",value:function(){var t=this.control.dotsValue;return 1===t.length?t[0]:t}},{key:"getIndex",value:function(){var t=this.control.dotsIndex;return 1===t.length?t[0]:t}},{key:"setValue",value:function(t){this.control.setValue(Array.isArray(t)?tt(t):[t]),this.syncValueByPos()}},{key:"setIndex",value:function(t){var e=this,n=Array.isArray(t)?t.map((function(t){return e.control.getValueByIndex(t)})):this.control.getValueByIndex(t);this.setValue(n)}},{key:"setValueByPos",value:function(t){var e=this,n=this.control.getRecentDot(t);if(this.disabled||this.dots[n].disabled)return!1;this.focusDotIndex=n,this.control.setDotPos(t,n),this.syncValueByPos(),this.useKeyboard&&this.states.add(ct.Focus),setTimeout((function(){e.included&&e.isNotSync?e.control.setValue(e.value):e.control.syncDotsPos()}))}},{key:"keydownHandle",value:function(t){var e=this;if(!this.useKeyboard||!this.states.has(ct.Focus))return!1;var n=this.included&&this.marks,i=function(t,e){if(e.hook){var n=e.hook(t);if("function"==typeof n)return n;if(!n)return null}switch(t.keyCode){case O.UP:return function(t){return"ttb"===e.direction?t-1:t+1};case O.RIGHT:return function(t){return"rtl"===e.direction?t-1:t+1};case O.DOWN:return function(t){return"ttb"===e.direction?t+1:t-1};case O.LEFT:return function(t){return"rtl"===e.direction?t+1:t-1};case O.END:return function(){return e.max};case O.HOME:return function(){return e.min};case O.PAGE_UP:return function(t){return t+10};case O.PAGE_DOWN:return function(t){return t-10};default:return null}}(t,{direction:this.direction,max:n?this.control.markList.length-1:this.control.total,min:0,hook:this.keydownHook});if(i){t.preventDefault();var r=-1,a=0;n?(this.control.markList.some((function(t,n){return t.value===e.control.dotsValue[e.focusDotIndex]&&(r=i(n),!0)})),r<0?r=0:r>this.control.markList.length-1&&(r=this.control.markList.length-1),a=this.control.markList[r].pos):(r=i(this.control.getIndexByValue(this.control.dotsValue[this.focusDotIndex])),a=this.control.parseValue(this.control.getValueByIndex(r))),this.isCrossDot(a),this.control.setDotPos(a,this.focusDotIndex),this.syncValueByPos()}}},{key:"getPosByEvent",value:function(t){return z(t,this.$el,this.isReverse)[this.isHorizontal?"x":"y"]/this.scale}},{key:"renderSlot",value:function(t,e,n,i){var r=this.$createElement,a=this.$scopedSlots[t];return a?i?a(e):r("template",{slot:t},[a(e)]):n}},{key:"render",value:function(){var t=this,e=arguments[0];return e("div",s()([{ref:"container",class:this.containerClasses,style:this.containerStyles,on:{click:this.clickHandle,touchstart:this.dragStartOnProcess,mousedown:this.dragStartOnProcess}},this.$attrs]),[e("div",{class:"vue-slider-rail",style:this.railStyle},[this.processArray.map((function(n,i){return t.renderSlot("process",n,e("div",{class:"vue-slider-process",key:"process-".concat(i),style:n.style}),!0)})),this.sliderMarks?e("div",{class:"vue-slider-marks"},[this.control.markList.map((function(n,i){var r;return t.renderSlot("mark",n,e("vue-slider-mark",{key:"mark-".concat(i),attrs:{mark:n,hideLabel:t.hideLabel,stepStyle:t.stepStyle,stepActiveStyle:t.stepActiveStyle,labelStyle:t.labelStyle,labelActiveStyle:t.labelActiveStyle},style:(r={},Q(r,t.isHorizontal?"height":"width","100%"),Q(r,t.isHorizontal?"width":"height",t.tailSize),Q(r,t.mainDirection,"".concat(n.pos,"%")),r),on:{pressLabel:function(e){return t.clickable&&t.setValueByPos(e)}}},[t.renderSlot("step",n,null),t.renderSlot("label",n,null)]),!0)}))]):null,this.dots.map((function(n,i){var r;return e("vue-slider-dot",{ref:"dot-".concat(i),key:"dot-".concat(i),attrs:K({value:n.value,disabled:n.disabled,focus:n.focus,"dot-style":[n.style,n.disabled?n.disabledStyle:null,n.focus?n.focusStyle:null],tooltip:n.tooltip||t.tooltip,"tooltip-style":[t.tooltipStyle,n.tooltipStyle,n.disabled?n.tooltipDisabledStyle:null,n.focus?n.tooltipFocusStyle:null],"tooltip-formatter":Array.isArray(t.sliderTooltipFormatter)?t.sliderTooltipFormatter[i]:t.sliderTooltipFormatter,"tooltip-placement":t.tooltipDirections[i],role:"slider","aria-valuenow":n.value,"aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":t.isHorizontal?"horizontal":"vertical",tabindex:"0"},t.dotAttrs),style:[t.dotBaseStyle,(r={},Q(r,t.mainDirection,"".concat(n.pos,"%")),Q(r,"transition","".concat(t.mainDirection," ").concat(t.animateTime,"s")),r)],on:{"drag-start":function(){return t.dragStart(i)}},nativeOn:{focus:function(){return t.focus(n,i)},blur:function(){return t.blur()}}},[t.renderSlot("dot",n,null),t.renderSlot("tooltip",n,null)])})),this.renderSlot("default",{value:this.getValue()},null,!0)])])}},{key:"tailSize",get:function(){return M((this.isHorizontal?this.height:this.width)||4)}},{key:"containerClasses",get:function(){return["vue-slider",["vue-slider-".concat(this.direction)],{"vue-slider-disabled":this.disabled}]}},{key:"containerStyles",get:function(){var t=X(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),e=t[0],n=t[1],i=this.width?M(this.width):this.isHorizontal?"auto":M(4),r=this.height?M(this.height):this.isHorizontal?M(4):"auto";return{padding:this.contained?"".concat(n/2,"px ").concat(e/2,"px"):this.isHorizontal?"".concat(n/2,"px 0"):"0 ".concat(e/2,"px"),width:i,height:r}}},{key:"processArray",get:function(){var t=this;return this.control.processArray.map((function(e,n){var i,r=X(e,3),a=r[0],o=r[1],s=r[2];if(a>o){var l=[o,a];a=l[0],o=l[1]}var u=t.isHorizontal?"width":"height";return{start:a,end:o,index:n,style:K(K((i={},Q(i,t.isHorizontal?"height":"width","100%"),Q(i,t.isHorizontal?"top":"left",0),Q(i,t.mainDirection,"".concat(a,"%")),Q(i,u,"".concat(o-a,"%")),Q(i,"transitionProperty","".concat(u,",").concat(t.mainDirection)),Q(i,"transitionDuration","".concat(t.animateTime,"s")),i),t.processStyle),s)}}))}},{key:"dotBaseStyle",get:function(){var t,e=X(Array.isArray(this.dotSize)?this.dotSize:[this.dotSize,this.dotSize],2),n=e[0],i=e[1];return t=this.isHorizontal?Q({transform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),WebkitTransform:"translate(".concat(this.isReverse?"50%":"-50%",", -50%)"),top:"50%"},"ltr"===this.direction?"left":"right","0"):Q({transform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),WebkitTransform:"translate(-50%, ".concat(this.isReverse?"50%":"-50%",")"),left:"50%"},"btt"===this.direction?"bottom":"top","0"),K({width:"".concat(n,"px"),height:"".concat(i,"px")},t)}},{key:"mainDirection",get:function(){switch(this.direction){case"ltr":return"left";case"rtl":return"right";case"btt":return"bottom";case"ttb":return"top"}}},{key:"isHorizontal",get:function(){return"ltr"===this.direction||"rtl"===this.direction}},{key:"isReverse",get:function(){return"rtl"===this.direction||"btt"===this.direction}},{key:"tooltipDirections",get:function(){var t=this.tooltipPlacement||(this.isHorizontal?"top":"left");return Array.isArray(t)?t:this.dots.map((function(){return t}))}},{key:"dots",get:function(){var t=this;return this.control.dotsPos.map((function(e,n){return K({pos:e,index:n,value:t.control.dotsValue[n],focus:t.states.has(ct.Focus)&&t.focusDotIndex===n,disabled:t.disabled,style:t.dotStyle},(Array.isArray(t.dotOptions)?t.dotOptions[n]:t.dotOptions)||{})}))}},{key:"animateTime",get:function(){return this.states.has(ct.Drag)?0:this.duration}},{key:"canSort",get:function(){return this.order&&!this.minRange&&!this.maxRange&&!this.fixed&&this.enableCross}},{key:"sliderData",get:function(){var t=this;return this.isObjectArrayData(this.data)?this.data.map((function(e){return e[t.dataValue]})):this.isObjectData(this.data)?Object.keys(this.data):this.data}},{key:"sliderMarks",get:function(){var t=this;return this.marks?this.marks:this.isObjectArrayData(this.data)?function(e){var n={label:e};return t.data.some((function(i){return i[t.dataValue]===e&&(n.label=i[t.dataLabel],!0)})),n}:this.isObjectData(this.data)?this.data:void 0}},{key:"sliderTooltipFormatter",get:function(){var t=this;if(this.tooltipFormatter)return this.tooltipFormatter;if(this.isObjectArrayData(this.data))return function(e){var n=""+e;return t.data.some((function(i){return i[t.dataValue]===e&&(n=i[t.dataLabel],!0)})),n};if(this.isObjectData(this.data)){var e=this.data;return function(t){return e[t]}}}},{key:"isNotSync",get:function(){var t=this.control.dotsValue;return Array.isArray(this.value)?this.value.length!==t.length||this.value.some((function(e,n){return e!==t[n]})):this.value!==t[0]}},{key:"dragRange",get:function(){var t=this.dots[this.focusDotIndex-1],e=this.dots[this.focusDotIndex+1];return[t?t.pos:-1/0,e?e.pos:1/0]}}]),n}(c.a);return l([p("change",{default:0})],t.prototype,"value",void 0),l([f({type:Boolean,default:!1})],t.prototype,"silent",void 0),l([f({default:"ltr",validator:function(t){return["ltr","rtl","ttb","btt"].indexOf(t)>-1}})],t.prototype,"direction",void 0),l([f({type:[Number,String]})],t.prototype,"width",void 0),l([f({type:[Number,String]})],t.prototype,"height",void 0),l([f({default:14})],t.prototype,"dotSize",void 0),l([f({default:!1})],t.prototype,"contained",void 0),l([f({type:Number,default:0})],t.prototype,"min",void 0),l([f({type:Number,default:100})],t.prototype,"max",void 0),l([f({type:Number,default:1})],t.prototype,"interval",void 0),l([f({type:Boolean,default:!1})],t.prototype,"disabled",void 0),l([f({type:Boolean,default:!0})],t.prototype,"clickable",void 0),l([f({type:Boolean,default:!1})],t.prototype,"dragOnClick",void 0),l([f({type:Number,default:.5})],t.prototype,"duration",void 0),l([f({type:[Object,Array]})],t.prototype,"data",void 0),l([f({type:String,default:"value"})],t.prototype,"dataValue",void 0),l([f({type:String,default:"label"})],t.prototype,"dataLabel",void 0),l([f({type:Boolean,default:!1})],t.prototype,"lazy",void 0),l([f({type:String,validator:function(t){return["none","always","focus","hover","active"].indexOf(t)>-1},default:"active"})],t.prototype,"tooltip",void 0),l([f({type:[String,Array],validator:function(t){return(Array.isArray(t)?t:[t]).every((function(t){return["top","right","bottom","left"].indexOf(t)>-1}))}})],t.prototype,"tooltipPlacement",void 0),l([f({type:[String,Array,Function]})],t.prototype,"tooltipFormatter",void 0),l([f({type:Boolean,default:!0})],t.prototype,"useKeyboard",void 0),l([f(Function)],t.prototype,"keydownHook",void 0),l([f({type:Boolean,default:!0})],t.prototype,"enableCross",void 0),l([f({type:Boolean,default:!1})],t.prototype,"fixed",void 0),l([f({type:Boolean,default:!0})],t.prototype,"order",void 0),l([f(Number)],t.prototype,"minRange",void 0),l([f(Number)],t.prototype,"maxRange",void 0),l([f({type:[Boolean,Object,Array,Function],default:!1})],t.prototype,"marks",void 0),l([f({type:[Boolean,Function],default:!0})],t.prototype,"process",void 0),l([f(Boolean)],t.prototype,"included",void 0),l([f(Boolean)],t.prototype,"adsorb",void 0),l([f(Boolean)],t.prototype,"hideLabel",void 0),l([f()],t.prototype,"dotOptions",void 0),l([f()],t.prototype,"dotAttrs",void 0),l([f()],t.prototype,"railStyle",void 0),l([f()],t.prototype,"processStyle",void 0),l([f()],t.prototype,"dotStyle",void 0),l([f()],t.prototype,"tooltipStyle",void 0),l([f()],t.prototype,"stepStyle",void 0),l([f()],t.prototype,"stepActiveStyle",void 0),l([f()],t.prototype,"labelStyle",void 0),l([f()],t.prototype,"labelActiveStyle",void 0),l([m("value")],t.prototype,"onValueChanged",null),t=l([d()({data:function(){return{control:null}},components:{VueSliderDot:k,VueSliderMark:A}})],t)}();ht.VueSliderMark=A,ht.VueSliderDot=k;var dt=ht;e.default=dt}}).default)},"Sbn/":function(t){t.exports=JSON.parse('{"change-privacy":"Adatvédelmi Beállítások Módosítása","maps":"Térképek","credit-name":"Nevem megjelenítése","credit-username":"Felhasználónevem megjelenítése","name-imgs-yes":"Az Ön neve megjelenik a térképekre feltöltött összes képen.","username-imgs-yes":"Felhasználóneve minden egyes térképre feltöltött képen megjelenik.","name-username-map-no":"Az Ön neve és felhasználóneve nem jelenik meg a térképeken.","leaderboards":"Ranglisták","credit-my-name":"Nevem megjelenítése","credit-my-username":"Felhasználónevem megjelenítése","name-leaderboards-yes":"A neved minden olyan ranglistán megjelenik, amelyre jogosult vagy.","username-leaderboards-yes":"Felhasználóneve minden olyan ranglistán megjelenik, amelyre jogosult.","name-username-leaderboards-no":"Az Ön neve és felhasználóneve nem jelenik meg a ranglistákon.","created-by":"Készítette","name-locations-yes":"Az Ön neve megjelenik az Ön által létrehozott helyek szekcióiban.","username-locations-yes":"Felhasználóneve megjelenik az Ön által létrehozott helyek szekcióiban.","name-username-locations-yes":"Az Ön neve és felhasználóneve nem jelenik meg az adatbázishoz hozzáadott helyek szekció részében.","update":"Frissítés"}')},SdIz:function(t,e,n){var i=n("FSpa");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"Sl6+":function(t){t.exports=JSON.parse('{"cancel":"Anuluj","submit":"Zatwierdź","download":"Pobierz","delete":"Delete","delete-image":"Usuń zdjęcie","confirm-delete":"Potwierdz usunięcie","loading":"Ładowanie...","created_at":"Przesłane","created":"Stworzone","created-by":"Stworzone przez","datetime":"Zrobione","day-names":["Pon","Wt","Śr","Czw","Pt","Sob","Niedz"],"month-names":["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Pażdziernik","Listopad","Grudzień"],"short-month-names":["Sty","Lut","Mar","Kwi","Maj","Cze","Lip","Sie","Wrze","Paż","Lis","Gru"],"next":"Następne","previous":"Poprzednie","next-page":"Następna strona","add-tags":"Dodaj tagi","add-many-tags":"dodaj wiele tagów","select-all":"Zaznacz wszystkie","de-select-all":"Odznacz wszystkie","choose-dates":"Wybierz daty","not-verified":"Niezweryfikowane","verified":"Zweryfikowane","search-by-id":"Szukaj według ID","active":"Aktywne","inactive":"Nieaktywne","inactivate":"Wyłącz składki drużyny","your-email":"you@email.com","team":"Drużyny","actions":"Działania","photo":"Zdjęcie","reason":"Powód","anonymous":"Anonimowy","faq":"Często Zadawane Pytania"}')},"Sn/w":function(t){t.exports=JSON.parse('{"show-flag":"Toon Landsvlag","top-10":"Top 10 Wereldkaart OpenLitterMap Leiders!","top-10-challenge":"Als jij de top 10 kan halen, dan kan je je land vertegenwoordigen!","action-select":"Tik of scroll of van de lijst te selecteren","select-country":"Selecteer je land","save-flag":"Sla de vlag op"}')},SrbP:function(t){t.exports=JSON.parse('{"description":"Te linki pojawią się na każdym przesłanym zdjęciu na mapie globalnej. Podaj pełne adresy URL.","personal-website":"Osobista Strona Internetowa","personal-website-url":"Osobisty Adres URL Strony Internetowej"}')},T7To:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Verify Photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Verify Boxes","about":"About","global-map":"Global Map","world-cup":"World Cup","community":"Community","upload":"Upload","more":"More","tag-litter":"Tag Litter","profile":"Profile","settings":"Settings","bounding-boxes":"Bounding Boxes","logout":"Logout","login":"Login","signup":"Signup","teams":"Teams"}')},TFCV:function(t){t.exports=JSON.parse('{"title":"Mis equipos","currently-joined-team":"Actualmente estás en el equipo","currently-not-joined-team":"Actualmente no estás en ningún equipo","no-joined-team":"Aún no te has unido a un equipo","leader-of-team":"Tu lideras este equipo","enabled-contributions":"Todas sus contribuciones contarán para este equipo únicamente.","disabled-contributions":"Aún no ha seleccionado un equipo activo.
      Eso significa que no estás contribuyendo a ningún equipo en este momento.
      Puede seleccionar su equipo activo haciendo clic en los íconos de estrellas en la lista inferior.","disable-contributions-tooltip":"Esto deshabilita las contribuciones de su equipo a partir de ahora. Seguirás siendo miembro de tus equipos y podrás habilitar las contribuciones en cualquier momento.","team-details":"Detalles del equipo","all-my-teams":"Todos mis equipos","this-is-active-team":"Este es tu equipo activo","set-as-active-team":"Establecer como su equipo activo","team-identifier":"Identificador de Equipo","join-team":"Por favor únete a un equipo","leave-team":"Dejar equipo","just-left-team":"Acabas de dejar el equipo","cant-leave-team":"No puedes dejar este equipo porque eres el único miembro","change-active-team":"Cambiar equipo activo","download-team-data":"Descargar datos del equipo","hide-from-leaderboards":"Ocultarme de la clasificación","show-on-leaderboards":"Mostrarme en la clasificación","position-header":"Posición","name-header":"Nombre","username-header":"Nombre de usuario","status-header":"Estado","photos-header":"Fotos","litter-header":"Basura","identifier-header":"Identificador","members-header":"Miembros","last-activity-header":"Última actividad","confirm-leave-team":"¿Está seguro?\\nSiempre puedes volver a unirte y tus contribuciones se guardarán."}')},"TGU/":function(t){t.exports=JSON.parse('{"success-title":"Dzięki za pomoc!","success-subtitle":"Pamiętaj, aby zweryfikować swój adres e-mail, aby umożliwić logowanie.","error-title":"Nastąpił problem","error-subtitle":"Twoja karta nie została obciążona, ale nadal możesz zweryfikować swój adres e-mail i login."}')},TH7d:function(t){t.exports=JSON.parse('{"login-btn":"Login","signup-text":"Sign up","forgot-password":"Forgot Password?"}')},TTnB:function(t){t.exports=JSON.parse('{"cancel":"Ghairi","submit":"Wasilisha","download":"Pakua","delete":"Futa","delete-image":"Futa picha","confirm-delete":"Hakiki kufuta","loading":"Inashughulikiwa...","created_at":"Imepakiwa","created":"Imetengenezwa","created-by":"Imetengenezwa na","datetime":"Imechukuliwa","day-names":["J3","J4","J5","Al","Ij","J1","J2"],"month-names":["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"],"short-month-names":["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Des"],"next":"Inayofata","previous":"Uliopita","next-page":"Ukurasa unaofata","add-tags":"Ongeza Nembo","add-many-tags":"Ongeza Nembo Nyingi","select-all":"Chagua Zote","de-select-all":"Usichague zote","choose-dates":"Chagua Tarehe","not-verified":"Haija Hakikiwa","verified":"Ime Hakikiwa","search-by-id":"Tafuta kwa Kitambulisho","active":"Hai","inactive":"Sio hai","inactivate":"Funga mchango wa timu","your-email":"Anuani yako ya barua pepe","team":"Timu","actions":"Vitendo","anonymous":"Asiyejulikana","photo":"Picha","reason":"Sababu","faq":"Maswali ya mara kwa mara"}')},TW6y:function(t){t.exports=JSON.parse('{"ready-to-join":"Klaar om mee te doen aan een geospatiale revolutie?","join-subtitle":"Als je ons werk leuk vindt, dan zou OpenLitterMap je hulp goed kunnen gebruiken.","free-plan":"GRATIS","free-plan-feature1":"Upload 1000 foto\'s per dag.","free-plan-feature2":"Speel Badges + Beloning vrij.","free-plan-feature3":"Verdien Littercoin.","free-plan-feature4":"Ga de strijd aan in verschillende scoreborden..","free-plan-join":"Ik doe mee","startup-plan":"OPSTART","startup-plan-donation":"€5 per maand","startup-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","startup-plan-feature2":"Help ons de kosten te dekken.","startup-plan-feature3":"Ga lekker zitten en geniet van de updates.","startup-plan-join":"Ik steun!","basic-plan":"BASIS","basic-plan-donation":"€9.99 per maand","basic-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","basic-plan-feature2":"Help ons de kosten te dekken.","basic-plan-feature3":"Ga lekker zitten en geniet van de updates.","basic-plan-join":"Ik steun!","advanced-plan":"GEVORDERD","advanced-plan-donation":"€20 per maand","advanced-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","advanced-plan-feature2":"Help ons de kosten te dekken.","advanced-plan-feature3":"Ga lekker zitten en geniet van de updates.","advanced-plan-join":"Ik steun!","pro-plan":"PRO","pro-plan-donation":"€30 per maand","pro-plan-feature1":"Steun de ontwikkeling van OpenLitterMap.","pro-plan-feature2":"Help ons de kosten te dekken.","pro-plan-feature3":"Ga lekker zitten en geniet van de updates.","pro-plan-join":"Ik meen het serieus!"}')},Td1u:function(t){t.exports=JSON.parse('{"title":"Mijn Teams","currently-joined-team":"Je bent momenteel aangesloten bij team","currently-not-joined-team":"Je bent momenteel niet aangesloten bij een team","no-joined-team":"Je hebt je nog niet aangemeld bij een team","leader-of-team":"Jij bent de leider van dit team","enabled-contributions":"Al uw bijdragen tellen alleen mee voor dit team.","disabled-contributions":"U heeft nog geen actief team geselecteerd.
      Dat betekent dat je op dit moment aan geen enkel team bijdraagt.
      U kunt uw actieve team selecteren door op de sterpictogrammen in de onderste lijst te klikken.","disable-contributions-tooltip":"Hiermee worden uw teambijdragen vanaf nu uitgeschakeld. U blijft nog steeds lid van uw teams en kunt op elk moment bijdragen inschakelen.","team-details":"Teamdetails","all-my-teams":"Al mijn teams","this-is-active-team":"Dit is je actieve team","set-as-active-team":"Instellen als uw actieve team","team-identifier":"Team-ID","join-team":"Sluit je svp aan bij een team","leave-team":"Team verlaten","just-left-team":"Je hebt net team verlaten","cant-leave-team":"Je kunt dit team niet verlaten omdat je het enige lid bent","change-active-team":"Maak een ander team het actieve team","download-team-data":"Download Team Data","hide-from-leaderboards":"Niet tonen op de scoreborden","show-on-leaderboards":"Wel tonen op de scoreborden","position-header":"Positie","name-header":"Naam","username-header":"Gebruikersnaam","status-header":"Status","photos-header":"Foto\'s","litter-header":"Afval","identifier-header":"ID","members-header":"Leden","last-activity-header":"Laatste Activiteit","confirm-leave-team":"Weet je zeker dat?\\nJe kunt altijd weer meedoen en je bijdragen worden bewaard."}')},"Tk/m":function(t,e,n){"use strict";var i=n("+BMQ");n.n(i).a},Tsbz:function(t){t.exports=JSON.parse('{"do-you-pickup":"Heb je het afval opgeruimd of ligt het er nog?","save-def-settings":"Je kan hier je standaard instelling opslaan.","change-value-of-litter":"Je kan ook het aantal van het zwerfafval wijzigen als je ze aan het labelen bent.","status":"Huidige Status","toggle-presence":"Wijzig Aanwezigheid","pickup?":"Opgeruimd?"}')},Tz4O:function(t){t.exports=JSON.parse('{"do-you-pickup":"Unaokota takataka au unaiacha hapo?","save-def-settings":"Unaweza kuhifadhi mpangilio wako chaguomsingi hapa.","change-value-of-litter":"Unaweza pia kubadilisha idadi ya kila kipengele cha takataka unapoziwekea lebo.","status":"Hali ya sasa","toggle-presence":"Geuza Uwepo","pickup?":"Umeokta?"}')},UBjI:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.profile-dl-title[data-v-32848a05] {\n color: #1DD3B0;\n margin-bottom: 1em;\n font-weight: 600;\n}\n.profile-dl-subtitle[data-v-32848a05] {\n color: #1DD3B0;\n margin-bottom: 1em;\n}\n.inputs-wrapper[data-v-32848a05] {\n display: flex;\n gap: 1rem;\n align-items: center;\n}\n",""])},UE2J:function(t,e,n){"use strict";var i=n("CdcD");n.n(i).a},URHZ:function(t,e,n){"use strict";(function(t){const n={selectionUp:[38],selectionDown:[40],select:[13],hideList:[27],showList:[40],autocomplete:[32,13]},i={input:String,select:Object};function r(t,e){return a(t,e.keyCode)}function a(t,e){if(t.length<=0)return!1;const n=t=>t.some(t=>t===e);return Array.isArray(t[0])?t.some(t=>n(t)):n(t)}function o(){}function s(t,e){var n=t();return n&&n.then?n.then(e):e(n)}function l(t){return function(){for(var e=[],n=0;n({})},controls:{type:Object,default:()=>n},minLength:{type:Number,default:1},maxSuggestions:{type:Number,default:10},displayAttribute:{type:String,default:"title"},valueAttribute:{type:String,default:"id"},list:{type:[Function,Array],default:()=>[]},removeList:{type:Boolean,default:!1},destyled:{type:Boolean,default:!1},filterByQuery:{type:Boolean,default:!1},filter:{type:Function,default(t,e){return!e||~this.displayProperty(t).toLowerCase().indexOf(e.toLowerCase())}},debounce:{type:Number,default:0},nullableSelect:{type:Boolean,default:!1},value:{},mode:{type:String,default:"input",validator:t=>!!~Object.keys(i).indexOf(t.toLowerCase())}},watch:{mode:{handler(t,e){this.constructor.options.model.event=t,this.$parent&&this.$parent.$forceUpdate(),this.$nextTick(()=>{"input"===t?this.$emit("input",this.text):this.$emit("select",this.selected)})},immediate:!0},value:{handler(t){"string"!=typeof t&&(t=this.displayProperty(t)),this.updateTextOutside(t)},immediate:!0}},data(){return{selected:null,hovered:null,suggestions:[],listShown:!1,inputElement:null,canSend:!0,timeoutInstance:null,text:this.value,isPlainSuggestion:!1,isClicking:!1,isInFocus:!1,isFalseFocus:!1,isTabbed:!1,controlScheme:{},listId:this._uid+"-suggestions"}},computed:{listIsRequest(){return"function"==typeof this.list},inputIsComponent(){return this.$slots.default&&this.$slots.default.length>0&&!!this.$slots.default[0].componentInstance},input(){return this.inputIsComponent?this.$slots.default[0].componentInstance:this.inputElement},on(){return this.inputIsComponent?"$on":"addEventListener"},off(){return this.inputIsComponent?"$off":"removeEventListener"},hoveredIndex(){for(let t=0;tthis.$scopedSlots[t]);if(t.every(t=>!!t))return t.every(this.isScopedSlotEmpty.bind(this));const e=t.find(t=>!!t);return this.isScopedSlotEmpty.call(this,e)},getPropertyByAttribute(t,e){return this.isPlainSuggestion?t:void 0!==typeof t?function(t,e){return e.split(".").reduce((t,e)=>t===Object(t)?t[e]:t,t)}(t,e):t},displayProperty(e){if(this.isPlainSuggestion)return e;let n=this.getPropertyByAttribute(e,this.displayAttribute);return void 0===n&&(n=JSON.stringify(e),t&&"production".indexOf("dev")),String(n||"")},valueProperty(t){if(this.isPlainSuggestion)return t;const e=this.getPropertyByAttribute(t,this.valueAttribute);return e},autocompleteText(t){this.setText(this.displayProperty(t))},setText(t){this.$nextTick(()=>{this.inputElement.value=t,this.text=t,this.$emit("input",t)})},select(t){(this.selected!==t||this.nullableSelect&&!t)&&(this.selected=t,this.$emit("select",t),t&&this.autocompleteText(t)),this.hover(null)},hover(t,e){const n=t?this.getId(t,this.hoveredIndex):"";this.inputElement.setAttribute("aria-activedescendant",n),t&&t!==this.hovered&&this.$emit("hover",t,e),this.hovered=t},hideList(){this.listShown&&(this.listShown=!1,this.hover(null),this.$emit("hide-list"))},showList(){this.listShown||this.textLength>=this.minLength&&(this.suggestions.length>0||!this.miscSlotsAreEmpty())&&(this.listShown=!0,this.$emit("show-list"))},showSuggestions:l((function(){const t=this;return s((function(){if(0===t.suggestions.length&&t.minLength<=t.textLength)return t.showList(),function(t,e){if(!e)return t&&t.then?t.then(o):Promise.resolve()}(t.research())}),(function(){t.showList()}))})),onShowList(t){r(this.controlScheme.showList,t)&&this.showSuggestions()},moveSelection(t){if(this.listShown&&this.suggestions.length&&r([this.controlScheme.selectionUp,this.controlScheme.selectionDown],t)){t.preventDefault();const e=r(this.controlScheme.selectionDown,t),n=2*e-1,i=e?0:this.suggestions.length-1,a=e?this.hoveredIndex0;let o=null;o=this.hovered?a?this.suggestions[this.hoveredIndex+n]:this.suggestions[i]:this.selected||this.suggestions[i],this.hover(o)}},onKeyDown(t){const e=this.controlScheme.select,n=this.controlScheme.hideList;"Enter"===t.key&&this.listShown&&a([e,n],13)&&t.preventDefault(),"Tab"===t.key&&this.hovered&&this.select(this.hovered),this.onShowList(t),this.moveSelection(t),this.onAutocomplete(t)},onListKeyUp(t){const e=this.controlScheme.select,n=this.controlScheme.hideList;this.listShown&&r([e,n],t)&&(t.preventDefault(),r(e,t)&&this.select(this.hovered),this.hideList())},onAutocomplete(t){r(this.controlScheme.autocomplete,t)&&(t.ctrlKey||t.shiftKey)&&this.suggestions.length>0&&this.suggestions[0]&&this.listShown&&(t.preventDefault(),this.hover(this.suggestions[0]),this.autocompleteText(this.suggestions[0]))},suggestionClick(t,e){this.$emit("suggestion-click",t,e),this.select(t),this.hideList(),this.isClicking=!1},onBlur(t){this.isInFocus?(this.isClicking=this.hovered&&!this.isTabbed,this.isClicking?t&&t.isTrusted&&!this.isTabbed&&(this.isFalseFocus=!0,setTimeout(()=>{this.inputElement.focus()},0)):(this.isInFocus=!1,this.hideList(),this.$emit("blur",t))):this.inputElement.blur(),this.isTabbed=!1},onFocus(t){this.isInFocus=!0,t&&!this.isFalseFocus&&this.$emit("focus",t),this.isClicking||this.isFalseFocus||this.showSuggestions(),this.isFalseFocus=!1},onInput(t){const e=t.target?t.target.value:t;this.updateTextOutside(e),this.$emit("input",e)},updateTextOutside(t){this.text!==t&&(this.text=t,this.hovered&&this.hover(null),this.text.lengthe.filter(n,t))),e.listIsRequest&&e.$emit("request-done",n)}))}),(function(t){if(!e.listIsRequest)throw t;e.$emit("request-failed",t)}))}),(function(){return e.maxSuggestions&&n.splice(e.maxSuggestions),n}))})),clearSuggestions(){this.suggestions.splice(0)},getId(t,e){return`${this.listId}-suggestion-${this.isPlainSuggestion?e:this.valueProperty(t)||e}`}}};e.a=d}).call(this,n("8oxB"))},URgk:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new a(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new a(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},UWLc:function(t,e,n){"use strict";var i=n("kcmK");n.n(i).a},UWWF:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n@media only screen and (max-width: 900px) {\n.container[data-v-cd11bd74] {\n display: flex;\n overflow-x: auto;\n}\n.admin-item[data-v-cd11bd74] {\n padding: 10px;\n}\n}\n.category[data-v-cd11bd74] {\n font-size: 1.25em;\n display: flex;\n justify-content: center;\n margin-bottom: 0.5em;\n}\n.litter-tag[data-v-cd11bd74] {\n cursor: pointer;\n margin-bottom: 10px;\n width: 100%;\n}\n.categories-enter-active[data-v-cd11bd74], .categories-leave-active[data-v-cd11bd74] {\n transition: all 0.5s;\n}\n.categories-enter[data-v-cd11bd74], .categories-leave-to[data-v-cd11bd74] {\n opacity: 0;\n transform: translateY(50px);\n}\n.categories-move[data-v-cd11bd74] {\n transition: transform 0.5s;\n}\n\n",""])},UZfx:function(t,e,n){parcelRequire=function(e,i,r,a){var o,s="function"==typeof parcelRequire&&parcelRequire;function l(t,r){if(!i[t]){if(!e[t]){var a="function"==typeof parcelRequire&&parcelRequire;if(!r&&a)return a(t,!0);if(s)return s(t,!0);if("string"==typeof t)return n("ZLfz")(t);var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}c.resolve=function(n){return e[t][1][n]||n},c.cache={};var u=i[t]=new l.Module(t);e[t][0].call(u.exports,c,u,u.exports,this)}return i[t].exports;function c(t){return l(c.resolve(t))}}l.isParcelRequire=!0,l.Module=function(t){this.id=t,this.bundle=l,this.exports={}},l.modules=e,l.cache=i,l.parent=s,l.register=function(t,n){e[t]=[function(t,e){e.exports=n},{}]};for(var u=0;u0?Math.floor(t):Math.ceil(t)};function M(t,e,n){return t instanceof O?t:g(t)?new O(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new O(t.x,t.y):new O(t,e,n)}function z(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>=e.x&&i.x<=n.x,o=r.y>=e.y&&i.y<=n.y;return a&&o},overlaps:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>=e.lat&&i.lat<=n.lat,o=r.lng>=e.lng&&i.lng<=n.lng;return a&&o},overlaps:function(t){t=R(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>e.lat&&i.late.lng&&i.lng1,Tt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),Et=!!document.createElement("canvas").getContext,St=!(!document.createElementNS||!Y("svg").createSVGRect),Pt=!St&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Lt(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var It={ie:J,ielt9:K,edge:Q,webkit:tt,android:et,android23:nt,androidStock:rt,opera:at,chrome:ot,gecko:st,safari:lt,phantom:ut,opera12:ct,win:ht,ie3d:dt,webkit3d:pt,gecko3d:ft,any3d:mt,mobile:gt,mobileWebkit:vt,mobileWebkit3d:yt,msPointer:_t,pointer:bt,touch:wt,mobileOpera:xt,mobileGecko:kt,retina:Ct,passiveEvents:Tt,canvas:Et,svg:St,vml:Pt},Ot=_t?"MSPointerDown":"pointerdown",At=_t?"MSPointerMove":"pointermove",Mt=_t?"MSPointerUp":"pointerup",zt=_t?"MSPointerCancel":"pointercancel",Nt={},Dt=!1;function Rt(t,e,n,r){return"touchstart"===e?function(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&ze(t),Ut(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Ot,r,!1),Dt||(document.addEventListener(Ot,jt,!0),document.addEventListener(At,Ft,!0),document.addEventListener(Mt,Bt,!0),document.addEventListener(zt,Bt,!0),Dt=!0)}(t,n,r):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Ut(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(At,i,!1)}(t,n,r):"touchend"===e&&function(t,e,n){var i=function(t){Ut(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(Mt,i,!1),t.addEventListener(zt,i,!1)}(t,n,r),this}function jt(t){Nt[t.pointerId]=t}function Ft(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Bt(t){delete Nt[t.pointerId]}function Ut(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var qt,$t,Gt,Vt,Ht,Wt=_t?"MSPointerDown":bt?"pointerdown":"touchstart",Yt=_t?"MSPointerUp":bt?"pointerup":"touchend",Zt="_leaflet_",Xt=de(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Jt=de(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Jt||"OTransition"===Jt?Jt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function re(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ae(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function oe(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ce(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=h(e),i=0,r=n.length;i1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,a=n>0&&n<=250,i=e}function s(t){if(a&&!r.cancelBubble){if(bt){if("mouse"===t.pointerType)return;var n,o,s={};for(o in r)n=r[o],s[o]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}t[Zt+Wt+n]=o,t[Zt+Yt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Wt,o,!!Tt&&{passive:!1}),t.addEventListener(Yt,s,!!Tt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,o,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Pe[e]||e,o,!!Tt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(o=function(e){e=e||window.event,qe(t,e)&&s(e)},t.addEventListener(Pe[e],o,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,o),t[Te]=t[Te]||{},t[Te][r]=o}function Ie(t,e,n,i){var r=e+a(n)+(i?"_"+a(i):""),o=t[Te]&&t[Te][r];if(!o)return this;bt&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Ot,i,!1):"touchmove"===e?t.removeEventListener(At,i,!1):"touchend"===e&&(t.removeEventListener(Mt,i,!1),t.removeEventListener(zt,i,!1))}(t,e,r):wt&&"dblclick"===e&&!Se()?function(t,e){var n=t[Zt+Wt+e],i=t[Zt+Yt+e],r=t[Zt+"dblclick"+e];t.removeEventListener(Wt,n,!!Tt&&{passive:!1}),t.removeEventListener(Yt,i,!!Tt&&{passive:!1}),t.removeEventListener("dblclick",r,!1)}(t,r):"removeEventListener"in t?t.removeEventListener(Pe[e]||e,o,!1):"detachEvent"in t&&t.detachEvent("on"+e,o),t[Te][r]=null}function Oe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Ue(t),this}function Ae(t){return Le(t,"wheel",Oe),this}function Me(t){return Ce(t,"mousedown touchstart dblclick",Oe),Le(t,"click",Be),this}function ze(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return ze(t),Oe(t),this}function De(t,e){if(!e)return new O(t.clientX,t.clientY);var n=xe(e),i=n.boundingClientRect;return new O((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var Re=ht&&ot?2*window.devicePixelRatio:st?window.devicePixelRatio:1;function je(t){return Q?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/Re:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Fe={};function Be(t){Fe[t.type]=!0}function Ue(t){var e=Fe[t.type];return Fe[t.type]=!1,e}function qe(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var $e={on:Ce,off:Ee,stopPropagation:Oe,disableScrollPropagation:Ae,disableClickPropagation:Me,preventDefault:ze,stop:Ne,getMousePosition:De,getWheelDelta:je,fakeStop:Be,skipped:Ue,isExternalTarget:qe,addListener:Ce,removeListener:Ee},Ge=I.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,R(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=M((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=M(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),a=this.project(r),o=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),u=N([s.min.add(n),s.max.subtract(i)]);if(!u.contains(o)){this._enforcingBounds=!0;var c=a.subtract(o),h=M(o.x+c.x,o.y+c.y);(o.xu.max.x)&&(h.x=a.x-c.x,c.x>0?h.x+=l.x-n.x:h.x-=l.x-i.x),(o.yu.max.y)&&(h.y=a.y-c.y,c.y>0?h.y+=l.y-n.y:h.y-=l.y-i.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),a=n.divideBy(2).round(),o=r.divideBy(2).round(),s=a.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,t):navigator.geolocation.getCurrentPosition(n,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new j(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(r,i.maxZoom):r)}var a={latlng:e,bounds:n,timestamp:t.timestamp};for(var o in t.coords)"number"==typeof t.coords[o]&&(a[o]=t.coords[o]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(T(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new D(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=R(t),n=M(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),a=this.getMaxZoom(),o=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),u=N(this.project(s,i),this.project(o,i)).getSize(),c=mt?this.options.zoomSnap:1,h=l.x/u.x,d=l.y/u.y,p=e?Math.max(h,d):Math.min(h,d);return i=this.getScaleZoom(p,i),c&&(i=Math.round(i/(c/100))*(c/100),i=e?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(r,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new O(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new z(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(F(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(M(t),e)},layerPointToLatLng:function(t){var e=M(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(F(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(F(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(R(t))},distance:function(t,e){return this.options.crs.distance(F(t),F(e))},containerPointToLayerPoint:function(t){return M(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return M(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(M(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(F(t)))},mouseEventToContainerPoint:function(t){return De(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ce(e,"scroll",this._onScroll,this),this._containerId=a(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&mt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ct?" leaflet-retina":"")+(K?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),fe(this._mapPane,new O(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){fe(this._mapPane,new O(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return T(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){fe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[a(this._container)]=this;var e=t?Ee:Ce;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),mt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){T(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],r="mouseout"===e||"mouseover"===e,o=t.target||t.srcElement,s=!1;o;){if((n=this._targets[a(o)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!qe(o,t))break;if(i.push(n),r)break}if(o===this._container)break;o=o.parentNode}return i.length||s||r||!qe(o,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Ue(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||_e(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var r=e({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var a=i[0];"contextmenu"===n&&a.listens(n,!0)&&ze(t);var o={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);o.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),o.layerPoint=this.containerPointToLayerPoint(o.containerPoint),o.latlng=s?a.getLatLng():this.layerPointToLatLng(o.layerPoint)}for(var l=0;l0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=mt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Xt,n=this._proxy.style[e];pe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();pe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(C((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C((function(){this._moveEnd(!0)}),this))}}),He=S.extend({options:{position:"topright"},initialize:function(t){d(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),We=function(t){return new He(t)};Ve.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,r){var a=e+i+" "+e+r;t[i+r]=ee("div",a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ye=He.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(a(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+a(this),i),this._layerControlInputs.push(e),e.layerId=a(t.layer),Ce(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var o=document.createElement("div");return n.appendChild(o),o.appendChild(e),o.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var a=n.length-1;a>=0;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(a=0;a=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=He.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var a=ee("a",n,i);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Me(a),Ce(a,"click",Ne),Ce(a,"click",r,this),Ce(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ve.mergeOptions({zoomControl:!0}),Ve.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))}));var Xe=He.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Je=He.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){d(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Me(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ve.mergeOptions({attributionControl:!0}),Ve.addInitHook((function(){this.options.attributionControl&&(new Je).addTo(this)})),He.Layers=Ye,He.Zoom=Ze,He.Scale=Xe,He.Attribution=Je,We.layers=function(t,e,n){return new Ye(t,e,n)},We.zoom=function(t){return new Ze(t)},We.scale=function(t){return new Xe(t)},We.attribution=function(t){return new Je(t)};var Ke=S.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:P},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},rn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},an=I.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){d(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ce(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(an._dragging===this&&this.finishDrag(),Ee(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!oe(this._element,"leaflet-zoom-anim")&&!(an._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(an._dragging=this,this._preventOutline&&_e(this._element),ve(),qt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=we(this._element);this._startPoint=new O(e.clientX,e.clientY),this._parentScale=xe(n),Ce(document,rn[t.type],this._onMove,this),Ce(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new O(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(o=s,u=l);u>i&&(n[o]=1,t(e,n,i,r,o),t(e,n,i,o,a))}(t,i,e,0,n-1);var r,a=[];for(r=0;re&&(n.push(t[i]),r=i);var o,s,l,u;return re.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function hn(t,e,n,i){var r,a=e.x,o=e.y,s=n.x-a,l=n.y-o,u=s*s+l*l;return u>0&&((r=((t.x-a)*s+(t.y-o)*l)/u)>1?(a=n.x,o=n.y):r>0&&(a+=s*r,o+=l*r)),s=t.x-a,l=t.y-o,i?s*s+l*l:new O(a,o)}function dn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function pn(t){return dn(t)}var fn={simplify:on,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return hn(t,e,n)},clipSegment:ln,_getEdgeIntersection:un,_getBitCode:cn,_sqClosestPointOnSegment:hn,isFlat:dn,_flat:pn};function mn(t,e,n){var i,r,a,o,s,l,u,c,h,d=[1,4,2,8];for(r=0,u=t.length;r1e-7;l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=u=Math.PI/2-2*Math.atan(o*e)-s;return new j(s*n,t.x*n/i)}},_n={LonLat:vn,Mercator:yn,SphericalMercator:$},bn=e({},q,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return V(t,.5,-t,.5)}()}),wn=e({},q,{code:"EPSG:4326",projection:vn,transformation:V(1/180,1,-1/180,.5)}),xn=e({},U,{projection:vn,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});U.Earth=q,U.EPSG3395=bn,U.EPSG3857=H,U.EPSG900913=W,U.EPSG4326=wn,U.Simple=xn;var kn=I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[a(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[a(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ve.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=a(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=a(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&a(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return o=(i-e)/n,this._map.layerPointToLatLng([a.x-o*(a.x-r.x),a.y-o*(a.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=F(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new D,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return dn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=dn(t),i=0,r=t.length;i=2&&e[0]instanceof j&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){Mn.prototype._setLatLngs.call(this,t),dn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return dn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new O(e,e);if(t=new z(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,a=this._rings.length;rt.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||Mn.prototype._containsPoint.call(this,t,!0)}}),Nn=Tn.extend({initialize:function(t,e){d(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=g(t)?t:t.features;if(r){for(e=0,n=r.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var o=0;or?(e.height=r+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();fe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new O(this._containerLeft,-n-this._containerBottom);r._add(me(this._container));var a=t.layerPointToContainerPoint(r),o=M(this.options.autoPanPadding),s=M(this.options.autoPanPaddingTopLeft||o),l=M(this.options.autoPanPaddingBottomRight||o),u=t.getSize(),c=0,h=0;a.x+i+l.x>u.x&&(c=a.x+i-u.x+l.x),a.x-c-s.x<0&&(c=a.x-s.x),a.y+n+l.y>u.y&&(h=a.y+n-u.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return M(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ve.mergeOptions({closePopupOnClick:!0}),Ve.include({openPopup:function(t,e,n){return t instanceof Jn||(t=new Jn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),kn.include({bindPopup:function(t,e){return t instanceof Jn?(d(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Jn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof In?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Kn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,a=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(t),s=this.options.direction,l=r.offsetWidth,u=r.offsetHeight,c=M(this.options.offset),h=this._getAnchor();"top"===s?(e=l/2,n=u):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=u/2):"right"===s?(e=0,n=u/2):"left"===s?(e=l,n=u/2):o.xthis.options.maxZoom||ni&&this._retainParent(r,a,o,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var a=2*e;a<2*e+2;a++){var o=new O(r,a);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)this._setView(t,n);else{for(var h=r.min.y;h<=r.max.y;h++)for(var d=r.min.x;d<=r.max.x;d++){var p=new O(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var f=this._tiles[this._tileCoordsToKey(p)];f?f.current=!0:o.push(p)}}if(o.sort((function(t,e){return t.distanceTo(a)-e.distanceTo(a)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(d=0;dn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return R(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n);return[e.unproject(i,t.z),e.unproject(r,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new D(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new O(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,K&&this.options.opacity<1&&he(t,this.options.opacity),et&&!nt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&C(i(this._tileReady,this,t,null,a)),fe(a,n),this._tiles[r]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(he(n.el,0),T(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),K||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new O(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new z(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ei=ti.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=d(this,e)).detectRetina&&Ct&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),et||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ce(n,"load",i(this._tileOnLoad,this,e,n)),Ce(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ct?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return m(this._url,e(n,this.options))},_tileOnLoad:function(t,e){K?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=y,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",y),ti.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return ti.prototype._tileReady.call(this,t,e,n)}});function ni(t,e){return new ei(t,e)}var ii=ei.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var a=(n=d(this,n)).detectRetina&&Ct?2:1,o=this.getTileSize();i.width=o.x*a,i.height=o.y*a,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=N(n.project(e[0]),n.project(e[1])),r=i.min,a=i.max,o=(this._wmsVersion>=1.3&&this._crs===wn?[r.y,r.x,a.y,a.x]:[r.x,r.y,a.x,a.y]).join(","),s=ei.prototype.getTileUrl.call(this,t);return s+p(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ei.WMS=ii,ni.wms=function(t,e){return new ii(t,e)};var ri=kn.extend({options:{padding:.1,tolerance:0},initialize:function(t){d(this,t),a(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=me(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),o=this._map.project(t,e).subtract(a),s=r.multiplyBy(-n).add(i).add(r).subtract(o);mt?pe(this._container,s,n):fe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new z(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ai=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ce(t,"mousemove",this._onMouseMove,this),Ce(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){T(this._redrawRequest),delete this._ctx,ne(this._container),Ee(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ct?2:1;fe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ct&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[a(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[a(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),li={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=si("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=si("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[a(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=si("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=si("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){re(t._container)},_bringToBack:function(t){ae(t._container)}},ui=Pt?si:Y,ci=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),Ee(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),fe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=ui("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[a(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[a(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Z(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){re(t._path)},_bringToBack:function(t){ae(t._path)}});function hi(t){return St||Pt?new ci(t):null}Pt&&ci.include(li),Ve.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&oi(t)||hi(t)}});var di=zn.extend({initialize:function(t,e){zn.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=R(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ci.create=ui,ci.pointsToPath=Z,Nn.geometryToLayer=Dn,Nn.coordsToLatLng=jn,Nn.coordsToLatLngs=Fn,Nn.latLngToCoords=Bn,Nn.latLngsToCoords=Un,Nn.getFeature=qn,Nn.asFeature=$n,Ve.mergeOptions({boxZoom:!0});var pi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),qt(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ce(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new z(this._point,this._startPoint),n=e.getSize();fe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),$t(),ye(),Ee(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new D(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ve.addInitHook("addHandler","boxZoom",pi),Ve.mergeOptions({doubleClickZoom:!0});var fi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});Ve.addInitHook("addHandler","doubleClickZoom",fi),Ve.mergeOptions({dragging:!0,inertia:!nt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new an(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=R(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,a=(i+e+n)%t-e-n,o=Math.abs(r+n)0?a:-a))-e;this._delta=0,this._startTime=null,o&&("center"===t.options.scrollWheelZoom?t.setZoom(e+o):t.setZoomAround(this._lastMousePos,e+o))}});Ve.addInitHook("addHandler","scrollWheelZoom",vi),Ve.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(ze(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new O(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),Ce(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Ee(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new O(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||bt&&!lt||Ve.addInitHook("addHandler","tap",yi),Ve.mergeOptions({touchZoom:wt&&!nt,bounceAtZoomLimits:!0});var _i=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Ee(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend",this._onTouchEnd,this),ze(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&a>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===a)return}else{var o=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===a&&0===o.x&&0===o.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),T(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),ze(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,T(this._animRequest),Ee(document,"touchmove",this._onTouchMove,this),Ee(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ve.addInitHook("addHandler","touchZoom",_i),Ve.BoxZoom=pi,Ve.DoubleClickZoom=fi,Ve.Drag=mi,Ve.Keyboard=gi,Ve.ScrollWheelZoom=vi,Ve.Tap=yi,Ve.TouchZoom=_i,t.version="1.7.1",t.Control=He,t.control=We,t.Browser=It,t.Evented=I,t.Mixin=tn,t.Util=E,t.Class=S,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=a,t.setOptions=d,t.DomEvent=$e,t.DomUtil=ke,t.PosAnimation=Ge,t.Draggable=an,t.LineUtil=fn,t.PolyUtil=gn,t.Point=O,t.point=M,t.Bounds=z,t.bounds=N,t.Transformation=G,t.transformation=V,t.Projection=_n,t.LatLng=j,t.latLng=F,t.LatLngBounds=D,t.latLngBounds=R,t.CRS=U,t.GeoJSON=Nn,t.geoJSON=Vn,t.geoJson=Hn,t.Layer=kn,t.LayerGroup=Cn,t.layerGroup=function(t,e){return new Cn(t,e)},t.FeatureGroup=Tn,t.featureGroup=function(t,e){return new Tn(t,e)},t.ImageOverlay=Wn,t.imageOverlay=function(t,e,n){return new Wn(t,e,n)},t.VideoOverlay=Yn,t.videoOverlay=function(t,e,n){return new Yn(t,e,n)},t.SVGOverlay=Zn,t.svgOverlay=function(t,e,n){return new Zn(t,e,n)},t.DivOverlay=Xn,t.Popup=Jn,t.popup=function(t,e){return new Jn(t,e)},t.Tooltip=Kn,t.tooltip=function(t,e){return new Kn(t,e)},t.Icon=En,t.icon=function(t){return new En(t)},t.DivIcon=Qn,t.divIcon=function(t){return new Qn(t)},t.Marker=Ln,t.marker=function(t,e){return new Ln(t,e)},t.TileLayer=ei,t.tileLayer=ni,t.GridLayer=ti,t.gridLayer=function(t){return new ti(t)},t.SVG=ci,t.svg=hi,t.Renderer=ri,t.Canvas=ai,t.canvas=oi,t.Path=In,t.CircleMarker=On,t.circleMarker=function(t,e){return new On(t,e)},t.Circle=An,t.circle=function(t,e,n){return new An(t,e,n)},t.Polyline=Mn,t.polyline=function(t,e){return new Mn(t,e)},t.Polygon=zn,t.polygon=function(t,e){return new zn(t,e)},t.Rectangle=di,t.rectangle=function(t,e){return new di(t,e)},t.Map=Ve,t.map=function(t,e){return new Ve(t,e)};var bi=window.L;t.noConflict=function(){return window.L=bi,this},window.L=t}))},{}],OTlA:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CanvasOverlay=void 0;var i=t("leaflet");function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n0;)this._redrawCallbacks.shift()(this);this._frame=null}},{key:"_animateZoom",value:function(t){var e=this._map,n=e.getZoomScale(t.zoom,e.getZoom()),r=this._unclampedLatLngBoundsToNewLayerBounds(e.getBounds(),t.zoom,t.center).min;i.DomUtil.setTransform(this.canvas,r,n)}},{key:"_animateZoomNoLayer",value:function(t){var e=this._map,n=e.getZoomScale(t.zoom,e.getZoom()),r=e._getCenterOffset(t.center)._multiplyBy(-n).subtract(e._getMapPanePos());i.DomUtil.setTransform(this.canvas,r,n)}},{key:"_unclampedProject",value:function(t,e){var n=this._map.options.crs,r=n.projection.R,a=Math.PI/180,o=t.lat,s=Math.sin(o*a),l=new i.Point(r*t.lng*a,r*Math.log((1+s)/(1-s))/2),u=n.scale(e);return n.transformation._transform(l,u)}},{key:"_unclampedLatLngBoundsToNewLayerBounds",value:function(t,e,n){var r=this._map._getNewPixelOrigin(n,e);return new i.Bounds([this._unclampedProject(t.getSouthWest(),e).subtract(r),this._unclampedProject(t.getNorthWest(),e).subtract(r),this._unclampedProject(t.getSouthEast(),e).subtract(r),this._unclampedProject(t.getNorthEast(),e).subtract(r)])}}]),n}();n.CanvasOverlay=h},{leaflet:"f3z0"}],pR9a:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Base=void 0;var i=t("./map-matrix"),r=t("./canvas-overlay");function a(t,e){for(var n=0;n1?(o=r,s=a):(o=n+h*l,s=i+h*u);var d=t-o,p=e-s;return Math.sqrt(d*d+p*p)},n.vectorDistance=i,n.locationDistance=function(t,e,n){var r=n.latLngToLayerPoint(t),a=n.latLngToLayerPoint(e);return i(r.x-a.x,r.y-a.y)},n.debugPoint=function(t){var e=document.createElement("div"),n=e.style,i=t.x,r=t.y;n.left=i+"px",n.top=r+"px",n.width="10px",n.height="10px",n.position="absolute",n.backgroundColor="#"+(16777215*Math.random()<<0).toString(16),document.body.appendChild(e)},n.debounce=function(t,e,n){var i;return function(){var r=this,a=arguments,o=n&&!i;clearTimeout(i),i=setTimeout((function(){i=null,n||t.apply(r,a)}),e),o&&t.apply(r,a)}},n.inBounds=function(t,e){return e._northEast.lat>t.lat&&t.lat>e._southWest.lat&&e._northEast.lng>t.lng&&t.lng>e._southWest.lng}},{}],ogHp:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Lines=void 0;var i=t("./base"),r=t("./color"),a=t("leaflet"),o=t("./line-feature-vertices"),s=t("./utils");function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n18)r.translateMatrix(-c.x,-c.y),e.uniformMatrix4fv(a,!1,r.array),e.drawArrays(e.LINES,0,o.length/this.bytes);else if("number"==typeof l)for(var p=-l;p0?u:this.allLatLngLookup,h)}}],[{key:"closest",value:function(t,e,n){return e.length<1?null:e.reduce((function(e,i){return(0,o.locationDistance)(t,e.latLng,n)<(0,o.locationDistance)(t,i.latLng,n)?e:i}))}},{key:"tryClick",value:function(t,e){var i,r,s,l,u,c,h,d=[],p={};if(n.instances.forEach((function(n){r=n.settings,n.active&&r.map===e&&r.click&&(l=n.lookup(t.latlng),p[l.key]=n,d.push(l))})),!(d.length<1)&&r&&null!==(c=this.closest(t.latlng,d,e))&&(s=p[c.key])){var f=s.settings,m=f.latitudeKey,g=f.longitudeKey,v=f.sensitivity,y=f.click;return h=new a.LatLng(c.latLng[m],c.latLng[g]),u=e.latLngToLayerPoint(h),(0,o.pointInCircle)(u,t.layerPoint,c.chosenSize*v)?void 0===(i=y(t,c.feature||c.latLng,u))||i:void 0}}},{key:"tryHover",value:function(t,e){var i,r,s,l,u,c,h,d=[],p={};if(n.instances.forEach((function(n){r=n.settings,n.active&&r.map===e&&r.hover&&(l=n.lookup(t.latlng),p[l.key]=n,d.push(l))})),!(d.length<1)&&r&&null!==(c=this.closest(t.latlng,d,e))&&(s=p[c.key])){var f=s.settings,m=f.latitudeKey,g=f.longitudeKey,v=f.sensitivityHover,y=f.hover;return h=new a.LatLng(c.latLng[m],c.latLng[g]),u=e.latLngToLayerPoint(h),(0,o.pointInCircle)(u,t.layerPoint,c.chosenSize*v)?void 0===(i=y(t,c.feature||c.latLng,u))||i:void 0}}}]),n}();n.Points=g,g.instances=[],g.defaults=m,g.maps=[]},{"./base":"pR9a","./color":"lpyx",leaflet:"f3z0","./utils":"UnXq"}],vwhv:[function(t,e,n){"use strict";function i(t,e,n){n=n||2;var i,a,s,l,u,c,d,p=e&&e.length,f=p?e[0]*n:t.length,m=r(t,0,f,n,!0),g=[];if(!m||m.next===m.prev)return g;if(p&&(m=h(t,e,m,n)),t.length>80*n){i=s=t[0],a=l=t[1];for(var v=n;vs&&(s=u),c>l&&(l=c);d=0!==(d=Math.max(s-i,l-a))?1/d:0}return o(m,g,n,i,a,d),g}function r(t,e,n,i,r){var a,o;if(r===S(t,e,n,i)>0)for(a=e;a=e;a-=i)o=C(a,t[a],t[a+1],o);return o&&b(o,o.next)&&(T(o),o=o.next),o}function a(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!b(i,i.next)&&0!==_(i.prev,i,i.next))i=i.next;else{if(T(i),(i=e=i.prev)===i.next)break;n=!0}}while(n||i!==e);return e}function o(t,e,n,i,r,h,d){if(t){!d&&h&&f(t,i,r,h);for(var p,m,g=t;t.prev!==t.next;)if(p=t.prev,m=t.next,h?l(t,i,r,h):s(t))e.push(p.i/n),e.push(t.i/n),e.push(m.i/n),T(t),t=m.next,g=m.next;else if((t=m)===g){d?1===d?o(t=u(t,e,n),e,n,i,r,h,2):2===d&&c(t,e,n,i,r,h):o(a(t),e,n,i,r,h,1);break}}}function s(t){var e=t.prev,n=t,i=t.next;if(_(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(v(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&_(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function l(t,e,n,i){var r=t.prev,a=t,o=t.next;if(_(r,a,o)>=0)return!1;for(var s=r.xa.x?r.x>o.x?r.x:o.x:a.x>o.x?a.x:o.x,c=r.y>a.y?r.y>o.y?r.y:o.y:a.y>o.y?a.y:o.y,h=m(s,l,e,n,i),d=m(u,c,e,n,i),p=t.prevZ,f=t.nextZ;p&&p.z>=h&&f&&f.z<=d;){if(p!==t.prev&&p!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,p.x,p.y)&&_(p.prev,p,p.next)>=0)return!1;if(p=p.prevZ,f!==t.prev&&f!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&_(f.prev,f,f.next)>=0)return!1;f=f.nextZ}for(;p&&p.z>=h;){if(p!==t.prev&&p!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,p.x,p.y)&&_(p.prev,p,p.next)>=0)return!1;p=p.prevZ}for(;f&&f.z<=d;){if(f!==t.prev&&f!==t.next&&v(r.x,r.y,a.x,a.y,o.x,o.y,f.x,f.y)&&_(f.prev,f,f.next)>=0)return!1;f=f.nextZ}return!0}function u(t,e,n){var i=t;do{var r=i.prev,a=i.next.next;!b(r,a)&&w(r,i,i.next,a)&&x(r,a)&&x(a,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(a.i/n),T(i),T(i.next),i=t=a),i=i.next}while(i!==t);return i}function c(t,e,n,i,r,s){var l=t;do{for(var u=l.next.next;u!==l.prev;){if(l.i!==u.i&&y(l,u)){var c=k(l,u);return l=a(l,l.next),c=a(c,c.next),o(l,e,n,i,r,s),void o(c,e,n,i,r,s)}u=u.next}l=l.next}while(l!==t)}function h(t,e,n,i){var o,s,l,u=[];for(o=0,s=e.length;o=i.next.y&&i.next.y!==i.y){var s=i.x+(a-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>o){if(o=s,s===r){if(a===i.y)return i;if(a===i.next.y)return i.next}n=i.x=i.x&&i.x>=c&&r!==i.x&&v(an.x)&&x(i,t)&&(n=i,d=l),i=i.next;return n}(t,e)){var n=k(e,t);a(n,n.next)}}function f(t,e,n,i){var r=t;do{null===r.z&&(r.z=m(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,a,o,s,l,u=1;do{for(n=t,t=null,a=null,o=0;n;){for(o++,i=n,s=0,e=0;e0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),a?a.nextZ=r:t=r,r.prevZ=a,a=r;n=i}a.nextZ=null,u*=2}while(o>1)}(r)}function m(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)*r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function g(t){var e=t,n=t;do{(e.x=0&&(t-o)*(i-s)-(n-o)*(e-s)>=0&&(n-o)*(a-s)-(r-o)*(i-s)>=0}function y(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&w(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&x(t,e)&&x(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,a=(t.y+e.y)/2;do{n.y>a!=n.next.y>a&&n.next.y!==n.y&&r<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)}function _(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function b(t,e){return t.x===e.x&&t.y===e.y}function w(t,e,n,i){return!!(b(t,e)&&b(n,i)||b(t,i)&&b(n,e))||_(t,e,n)>0!=_(t,e,i)>0&&_(n,i,t)>0!=_(n,i,e)>0}function x(t,e){return _(t.prev,t,t.next)<0?_(t,e,t.next)>=0&&_(t,t.prev,e)>=0:_(t,e,t.prev)<0||_(t,t.next,e)<0}function k(t,e){var n=new E(t.i,t.x,t.y),i=new E(e.i,e.x,e.y),r=t.next,a=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,a.next=i,i.prev=a,i}function C(t,e,n,i){var r=new E(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function T(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function E(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function S(t,e,n,i){for(var r=0,a=e,o=n-i;a0&&(i+=t[r-1].length,n.holes.push(i))}return n}},{}],nhDx:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function t(e){switch(e&&e.type||null){case"FeatureCollection":return e.features=e.features.reduce((function(e,n){return e.concat(t(n))}),[]),e;case"Feature":return e.geometry?t(e.geometry).map((function(t){var n={type:"Feature",properties:JSON.parse(JSON.stringify(e.properties)),geometry:t};return void 0!==e.id&&(n.id=e.id),n})):[e];case"MultiPoint":return e.coordinates.map((function(t){return{type:"Point",coordinates:t}}));case"MultiPolygon":return e.coordinates.map((function(t){return{type:"Polygon",coordinates:t}}));case"MultiLineString":return e.coordinates.map((function(t){return{type:"LineString",coordinates:t}}));case"GeometryCollection":return e.geometries.map(t).reduce((function(t,e){return t.concat(e)}),[]);case"Point":case"Polygon":case"LineString":return[e]}}},{}],AuwV:[function(t,e,n){var i;!function(t,r){"object"==typeof n&&void 0!==e?e.exports=r():"function"==typeof i&&i.amd?i(r):t.quickselect=r()}(this,(function(){"use strict";function t(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function e(t,e){return te?1:0}return function(n,i,r,a,o){!function e(n,i,r,a,o){for(;a>r;){if(a-r>600){var s=a-r+1,l=i-r+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);e(n,i,Math.max(r,Math.floor(i-l*c/s+h)),Math.min(a,Math.floor(i+(s-l)*c/s+h)),o)}var d=n[i],p=r,f=a;for(t(n,r,i),o(n[a],d)>0&&t(n,r,a);p0;)f--}0===o(n[r],d)?t(n,r,f):t(n,++f,a),f<=i&&(r=f+1),i<=f&&(a=f-1)}}(n,i,r||0,a||n.length-1,o||e)}}))},{}],O1rd:[function(t,e,n){"use strict";e.exports=r,e.exports.default=r;var i=t("quickselect");function r(t,e){if(!(this instanceof r))return new r(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function a(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function v(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function y(t,e,n,r,a){for(var o,s=[e,n];s.length;)(n=s.pop())-(e=s.pop())<=r||(o=e+Math.ceil((n-e)/r/2)*r,i(t,o,e,n,a),s.push(e,o,o,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],i=this.toBBox;if(!g(t,e))return n;for(var r,a,o,s,l=[];e;){for(r=0,a=e.children.length;r=0&&a[e].children.length>this._maxEntries;)this._split(a,e),e--;this._adjustParentBBoxes(r,a,e)},_split:function(t,e){var n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var a=this._chooseSplitIndex(n,r,i),s=v(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,o(n,this.toBBox),o(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},_splitRoot:function(t,e){this.data=v([t,e]),this.data.height=t.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var i,r,a,o,l,u,c,d;for(u=c=1/0,i=e;i<=n-e;i++)o=f(r=s(t,0,i,this.toBBox),a=s(t,i,n,this.toBBox)),l=h(r)+h(a),o=e;r--)a=t.children[r],l(c,t.leaf?o(a):a),h+=d(c);return h},_adjustParentBBoxes:function(t,e,n){for(var i=n;i>=0;i--)l(e[i],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():o(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},{quickselect:"AuwV"}],UTeA:[function(t,e,n){e.exports=function(t,e){for(var n=t[0],i=t[1],r=!1,a=0,o=e.length-1;ai!=c>i&&n<(u-s)*(i-l)/(c-l)+s&&(r=!r)}return r}},{}],cxFR:[function(t,e,n){"use strict";e.exports={getBoundingBox:function(t){for(var e=t[0],n={minX:e[0],minY:e[1],maxX:e[0],maxY:e[1]},i=1;in.maxX&&(n.maxX=a);var o=r[1];on.maxY&&(n.maxY=o)}return n}}},{}],yh9p:[function(t,e,n){"use strict";n.byteLength=function(t){var e=u(t),n=e[0],i=e[1];return 3*(n+i)/4-i},n.toByteArray=function(t){for(var e,n=u(t),i=n[0],o=n[1],s=new a(function(t,e,n){return 3*(e+n)/4-n}(0,i,o)),l=0,c=o>0?i-4:i,h=0;h>16&255,s[l++]=e>>8&255,s[l++]=255&e;return 2===o&&(e=r[t.charCodeAt(h)]<<2|r[t.charCodeAt(h+1)]>>4,s[l++]=255&e),1===o&&(e=r[t.charCodeAt(h)]<<10|r[t.charCodeAt(h+1)]<<4|r[t.charCodeAt(h+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e),s},n.fromByteArray=function(t){for(var e,n=t.length,r=n%3,a=[],o=0,s=n-r;os?s:o+16383));return 1===r?(e=t[n-1],a.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],a.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),a.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function h(t,e,n){for(var i,r=[],a=e;a>1,c=-7,h=n?r-1:0,d=n?-1:1,p=t[e+h];for(h+=d,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+t[e+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=i;c>0;o=256*o+t[e+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=u}return(p?-1:1)*o*Math.pow(2,a-i)},n.write=function(t,e,n,i,r,a){var o,s,l,u=8*a-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=c?(s=0,o=c):o+h>=1?(s=(e*l-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+p]=255&s,p+=f,s/=256,r-=8);for(o=o<0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*m}},{}],REa7:[function(t,e,n){var i={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},{}],peL6:[function(t,e,n){var i=arguments[3],r=t("base64-js"),a=t("ieee754"),o=t("isarray");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}function l(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(l()=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),c.alloc(+t)}function w(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return tt(t).length;default:if(i)return J(t).length;e=(""+e).toLowerCase(),i=!0}}function x(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return M(this,e,n);case"ascii":return D(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return A(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function k(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function C(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=c.from(e,i)),c.isBuffer(e))return 0===e.length?-1:T(t,e,n,i,r);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):T(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function T(t,e,n,i,r){var a,o=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var c=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;dr&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(a=t[r+1]))&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=t[r+1],o=t[r+2],128==(192&a)&&128==(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=t[r+1],o=t[r+2],s=t[r+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return N(i)}n.Buffer=c,n.SlowBuffer=b,n.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==i.TYPED_ARRAY_SUPPORT?i.TYPED_ARRAY_SUPPORT:s(),n.kMaxLength=l(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return h(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return p(null,t,e,n)},c.allocUnsafe=function(t){return f(null,t)},c.allocUnsafeSlow=function(t){return f(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,i,r){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),l=this.slice(i,r),u=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return S(this,t,e,n);case"ascii":return P(this,t,e,n);case"latin1":case"binary":return L(this,t,e,n);case"base64":return I(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var z=4096;function N(t){var e=t.length;if(e<=z)return String.fromCharCode.apply(String,t);for(var n="",i=0;ii)&&(n=i);for(var r="",a=e;an)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,i,r,a){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function q(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function $(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function G(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,i,r){return r||G(t,0,n,4),a.write(t,e,n,i,23,4),n+4}function H(t,e,n,i,r){return r||G(t,0,n,8),a.write(t,e,n,i,52,8),n+8}c.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e0&&(r*=256);)i+=this[t+--e]*r;return i},c.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var i=this[t],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},c.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),a.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),a.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),a.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),a.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||U(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+r]=t/a&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):$(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):$(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);U(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):q(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):q(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):$(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):$(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return H(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return H(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function K(t){for(var e=[],n=0;n>8,r=n%256,a.push(r),a.push(i);return a}function tt(t){return r.toByteArray(Y(t))}function et(t,e,n,i){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function nt(t){return t!=t}},{"base64-js":"yh9p",ieee754:"JgNJ",isarray:"REa7",buffer:"peL6"}],B1iE:[function(t,e,n){t("buffer").Buffer;var i,r=arguments[3];t("buffer").Buffer;(function(){var t,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,h=128,d=256,p=1/0,f=9007199254740991,m=NaN,g=4294967295,v=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",d]],y="[object Arguments]",_="[object Array]",b="[object Boolean]",w="[object Date]",x="[object Error]",k="[object Function]",C="[object GeneratorFunction]",T="[object Map]",E="[object Number]",S="[object Object]",P="[object RegExp]",L="[object Set]",I="[object String]",O="[object Symbol]",A="[object WeakMap]",M="[object ArrayBuffer]",z="[object DataView]",N="[object Float32Array]",D="[object Float64Array]",R="[object Int8Array]",j="[object Int16Array]",F="[object Int32Array]",B="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",$="[object Uint32Array]",G=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,W=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,Z=RegExp(W.source),X=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,et=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,rt=RegExp(it.source),at=/^\s+|\s+$/g,ot=/^\s+/,st=/\s+$/,lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,ct=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,mt=/^[-+]0x[0-9a-f]+$/i,gt=/^0b[01]+$/i,vt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wt=/($^)/,xt=/['\n\r\u2028\u2029\\]/g,kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ct="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Tt="["+Ct+"]",Et="["+kt+"]",St="\\d+",Pt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Lt="[^\\ud800-\\udfff"+Ct+St+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",It="\\ud83c[\\udffb-\\udfff]",Ot="[^\\ud800-\\udfff]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Nt="(?:"+Pt+"|"+Lt+")",Dt="(?:"+zt+"|"+Lt+")",Rt="(?:"+Et+"|"+It+")?",jt="[\\ufe0e\\ufe0f]?"+Rt+"(?:\\u200d(?:"+[Ot,At,Mt].join("|")+")[\\ufe0e\\ufe0f]?"+Rt+")*",Ft="(?:"+["[\\u2700-\\u27bf]",At,Mt].join("|")+")"+jt,Bt="(?:"+[Ot+Et+"?",Et,At,Mt,"[\\ud800-\\udfff]"].join("|")+")",Ut=RegExp("['’]","g"),qt=RegExp(Et,"g"),$t=RegExp(It+"(?="+It+")|"+Bt+jt,"g"),Gt=RegExp([zt+"?"+Pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Tt,zt,"$"].join("|")+")",Dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Tt,zt+Nt,"$"].join("|")+")",zt+"?"+Nt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",zt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",St,Ft].join("|"),"g"),Vt=RegExp("[\\u200d\\ud800-\\udfff"+kt+"\\ufe0e\\ufe0f]"),Ht=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yt=-1,Zt={};Zt[N]=Zt[D]=Zt[R]=Zt[j]=Zt[F]=Zt[B]=Zt[U]=Zt[q]=Zt[$]=!0,Zt[y]=Zt[_]=Zt[M]=Zt[b]=Zt[z]=Zt[w]=Zt[x]=Zt[k]=Zt[T]=Zt[E]=Zt[S]=Zt[P]=Zt[L]=Zt[I]=Zt[A]=!1;var Xt={};Xt[y]=Xt[_]=Xt[M]=Xt[z]=Xt[b]=Xt[w]=Xt[N]=Xt[D]=Xt[R]=Xt[j]=Xt[F]=Xt[T]=Xt[E]=Xt[S]=Xt[P]=Xt[L]=Xt[I]=Xt[O]=Xt[B]=Xt[U]=Xt[q]=Xt[$]=!0,Xt[x]=Xt[k]=Xt[A]=!1;var Jt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kt=parseFloat,Qt=parseInt,te="object"==typeof r&&r&&r.Object===Object&&r,ee="object"==typeof self&&self&&self.Object===Object&&self,ne=te||ee||Function("return this")(),ie="object"==typeof n&&n&&!n.nodeType&&n,re=ie&&"object"==typeof e&&e&&!e.nodeType&&e,ae=re&&re.exports===ie,oe=ae&&te.process,se=function(){try{return re&&re.require&&re.require("util").types||oe&&oe.binding&&oe.binding("util")}catch(t){}}(),le=se&&se.isArrayBuffer,ue=se&&se.isDate,ce=se&&se.isMap,he=se&&se.isRegExp,de=se&&se.isSet,pe=se&&se.isTypedArray;function fe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function me(t,e,n,i){for(var r=-1,a=null==t?0:t.length;++r-1}function we(t,e,n){for(var i=-1,r=null==t?0:t.length;++i-1;);return n}function $e(t,e){for(var n=t.length;n--&&Ie(e,t[n],0)>-1;);return n}var Ge=Ne({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Ve=Ne({"&":"&","<":"<",">":">",'"':""","'":"'"});function He(t){return"\\"+Jt[t]}function We(t){return Vt.test(t)}function Ye(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function Ze(t,e){return function(n){return t(e(n))}}function Xe(t,e){for(var n=-1,i=t.length,r=0,a=[];++n",""":'"',"'":"'"}),en=function e(n){var i,r=(n=null==n?ne:en.defaults(ne.Object(),n,en.pick(ne,Wt))).Array,kt=n.Date,Ct=n.Error,Tt=n.Function,Et=n.Math,St=n.Object,Pt=n.RegExp,Lt=n.String,It=n.TypeError,Ot=r.prototype,At=Tt.prototype,Mt=St.prototype,zt=n["__core-js_shared__"],Nt=At.toString,Dt=Mt.hasOwnProperty,Rt=0,jt=(i=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",Ft=Mt.toString,Bt=Nt.call(St),$t=ne._,Vt=Pt("^"+Nt.call(Dt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jt=ae?n.Buffer:t,te=n.Symbol,ee=n.Uint8Array,ie=Jt?Jt.allocUnsafe:t,re=Ze(St.getPrototypeOf,St),oe=St.create,se=Mt.propertyIsEnumerable,Se=Ot.splice,Ne=te?te.isConcatSpreadable:t,nn=te?te.iterator:t,rn=te?te.toStringTag:t,an=function(){try{var t=la(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),on=n.clearTimeout!==ne.clearTimeout&&n.clearTimeout,sn=kt&&kt.now!==ne.Date.now&&kt.now,ln=n.setTimeout!==ne.setTimeout&&n.setTimeout,un=Et.ceil,cn=Et.floor,hn=St.getOwnPropertySymbols,dn=Jt?Jt.isBuffer:t,pn=n.isFinite,fn=Ot.join,mn=Ze(St.keys,St),gn=Et.max,vn=Et.min,yn=kt.now,_n=n.parseInt,bn=Et.random,wn=Ot.reverse,xn=la(n,"DataView"),kn=la(n,"Map"),Cn=la(n,"Promise"),Tn=la(n,"Set"),En=la(n,"WeakMap"),Sn=la(St,"create"),Pn=En&&new En,Ln={},In=za(xn),On=za(kn),An=za(Cn),Mn=za(Tn),zn=za(En),Nn=te?te.prototype:t,Dn=Nn?Nn.valueOf:t,Rn=Nn?Nn.toString:t;function jn(t){if(Ko(t)&&!Uo(t)&&!(t instanceof qn)){if(t instanceof Un)return t;if(Dt.call(t,"__wrapped__"))return Na(t)}return new Un(t)}var Fn=function(){function e(){}return function(n){if(!Jo(n))return{};if(oe)return oe(n);e.prototype=n;var i=new e;return e.prototype=t,i}}();function Bn(){}function Un(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=t}function qn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function $n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=n?e:n)),e}function oi(e,n,i,r,a,o){var s,l=1&n,u=2&n,c=4&n;if(i&&(s=a?i(e,r,a,o):i(e)),s!==t)return s;if(!Jo(e))return e;var h=Uo(e);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Dt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(e),!l)return Er(e,s)}else{var d=ha(e),p=d==k||d==C;if(Vo(e))return br(e,l);if(d==S||d==y||p&&!a){if(s=u||p?{}:pa(e),!l)return u?function(t,e){return Sr(t,ca(t),e)}(e,function(t,e){return t&&Sr(e,Ls(e),t)}(s,e)):function(t,e){return Sr(t,ua(t),e)}(e,ni(s,e))}else{if(!Xt[d])return a?e:{};s=function(t,e,n){var i,r,a,o=t.constructor;switch(e){case M:return wr(t);case b:case w:return new o(+t);case z:return function(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case N:case D:case R:case j:case F:case B:case U:case q:case $:return xr(t,n);case T:return new o;case E:case I:return new o(t);case P:return(a=new(r=t).constructor(r.source,ft.exec(r))).lastIndex=r.lastIndex,a;case L:return new o;case O:return i=t,Dn?St(Dn.call(i)):{}}}(e,d,l)}}o||(o=new Wn);var f=o.get(e);if(f)return f;o.set(e,s),is(e)?e.forEach((function(t){s.add(oi(t,n,i,t,e,o))})):Qo(e)&&e.forEach((function(t,r){s.set(r,oi(t,n,i,r,e,o))}));var m=h?t:(c?u?ea:ta:u?Ls:Ps)(e);return ge(m||e,(function(t,r){m&&(t=e[r=t]),Qn(s,r,oi(t,n,i,r,e,o))})),s}function si(e,n,i){var r=i.length;if(null==e)return!r;for(e=St(e);r--;){var a=i[r],o=n[a],s=e[a];if(s===t&&!(a in e)||!o(s))return!1}return!0}function li(e,n,i){if("function"!=typeof e)throw new It(a);return Sa((function(){e.apply(t,i)}),n)}function ui(t,e,n,i){var r=-1,a=be,o=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=xe(e,Fe(n))),i?(a=we,o=!1):e.length>=200&&(a=Ue,o=!1,e=new Hn(e));t:for(;++r-1},Gn.prototype.set=function(t,e){var n=this.__data__,i=ti(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new $n,map:new(kn||Gn),string:new $n}},Vn.prototype.delete=function(t){var e=oa(this,t).delete(t);return this.size-=e?1:0,e},Vn.prototype.get=function(t){return oa(this,t).get(t)},Vn.prototype.has=function(t){return oa(this,t).has(t)},Vn.prototype.set=function(t,e){var n=oa(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},Hn.prototype.add=Hn.prototype.push=function(t){return this.__data__.set(t,o),this},Hn.prototype.has=function(t){return this.__data__.has(t)},Wn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Wn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Wn.prototype.get=function(t){return this.__data__.get(t)},Wn.prototype.has=function(t){return this.__data__.has(t)},Wn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var i=n.__data__;if(!kn||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Vn(i)}return n.set(t,e),this.size=n.size,this};var ci=Ir(yi),hi=Ir(_i,!0);function di(t,e){var n=!0;return ci(t,(function(t,i,r){return n=!!e(t,i,r)})),n}function pi(e,n,i){for(var r=-1,a=e.length;++r0&&n(s)?e>1?mi(s,e-1,n,i,r):ke(r,s):i||(r[r.length]=s)}return r}var gi=Or(),vi=Or(!0);function yi(t,e){return t&&gi(t,e,Ps)}function _i(t,e){return t&&vi(t,e,Ps)}function bi(t,e){return _e(e,(function(e){return Yo(t[e])}))}function wi(e,n){for(var i=0,r=(n=gr(n,e)).length;null!=e&&ie}function Ti(t,e){return null!=t&&Dt.call(t,e)}function Ei(t,e){return null!=t&&e in St(t)}function Si(e,n,i){for(var a=i?we:be,o=e[0].length,s=e.length,l=s,u=r(s),c=1/0,h=[];l--;){var d=e[l];l&&n&&(d=xe(d,Fe(n))),c=vn(d.length,c),u[l]=!i&&(n||o>=120&&d.length>=120)?new Hn(l&&d):t}d=e[0];var p=-1,f=u[0];t:for(;++p=s?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}))}function qi(t,e,n){for(var i=-1,r=e.length,a={};++i-1;)s!==t&&Se.call(s,l,1),Se.call(t,l,1);return t}function Gi(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==a){var a=r;ma(r)?Se.call(t,r,1):lr(t,r)}}return t}function Vi(t,e){return t+cn(bn()*(e-t+1))}function Hi(t,e){var n="";if(!t||e<1||e>f)return n;do{e%2&&(n+=t),(e=cn(e/2))&&(t+=t)}while(e);return n}function Wi(t,e){return Pa(ka(t,e,tl),t+"")}function Yi(t){return Zn(Rs(t))}function Zi(t,e){var n=Rs(t);return Oa(n,ai(e,0,n.length))}function Xi(e,n,i,r){if(!Jo(e))return e;for(var a=-1,o=(n=gr(n,e)).length,s=o-1,l=e;null!=l&&++aa?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=r(a);++i>>1,o=t[a];null!==o&&!as(o)&&(n?o<=e:o=200){var u=e?null:Hr(t);if(u)return Je(u);o=!1,r=Ue,l=new Hn}else l=e?[]:s;t:for(;++i=r?e:tr(e,n,i)}var _r=on||function(t){return ne.clearTimeout(t)};function br(t,e){if(e)return t.slice();var n=t.length,i=ie?ie(n):new t.constructor(n);return t.copy(i),i}function wr(t){var e=new t.constructor(t.byteLength);return new ee(e).set(new ee(t)),e}function xr(t,e){var n=e?wr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function kr(e,n){if(e!==n){var i=e!==t,r=null===e,a=e==e,o=as(e),s=n!==t,l=null===n,u=n==n,c=as(n);if(!l&&!c&&!o&&e>n||o&&s&&u&&!l&&!c||r&&s&&u||!i&&u||!a)return 1;if(!r&&!o&&!c&&e1?i[a-1]:t,s=a>2?i[2]:t;for(o=e.length>3&&"function"==typeof o?(a--,o):t,s&&ga(i[0],i[1],s)&&(o=a<3?t:o,a=1),n=St(n);++r-1?a[o?n[s]:s]:t}}function Dr(e){return Qr((function(n){var i=n.length,r=i,o=Un.prototype.thru;for(e&&n.reverse();r--;){var s=n[r];if("function"!=typeof s)throw new It(a);if(o&&!l&&"wrapper"==ia(s))var l=new Un([],!0)}for(r=l?r:i;++r1&&b.reverse(),p&&c<_&&(b.length=c),this&&this!==ne&&this instanceof h&&(E=y||zr(E)),E.apply(T,b)}}function jr(t,e){return function(n,i){return function(t,e,n,i){return yi(t,(function(t,r,a){e(i,n(t),r,a)})),i}(n,t,e(i),{})}}function Fr(e,n){return function(i,r){var a;if(i===t&&r===t)return n;if(i!==t&&(a=i),r!==t){if(a===t)return r;"string"==typeof i||"string"==typeof r?(i=or(i),r=or(r)):(i=ar(i),r=ar(r)),a=e(i,r)}return a}}function Br(t){return Qr((function(e){return e=xe(e,Fe(aa())),Wi((function(n){var i=this;return t(e,(function(t){return fe(t,i,n)}))}))}))}function Ur(e,n){var i=(n=n===t?" ":or(n)).length;if(i<2)return i?Hi(n,e):n;var r=Hi(n,un(e/Ke(n)));return We(n)?yr(Qe(r),0,e).join(""):r.slice(0,e)}function qr(e){return function(n,i,a){return a&&"number"!=typeof a&&ga(n,i,a)&&(i=a=t),n=cs(n),i===t?(i=n,n=0):i=cs(i),function(t,e,n,i){for(var a=-1,o=gn(un((e-t)/(n||1)),0),s=r(o);o--;)s[i?o:++a]=t,t+=n;return s}(n,i,a=a===t?nl))return!1;var c=o.get(e),h=o.get(n);if(c&&h)return c==n&&h==e;var d=-1,p=!0,f=2&i?new Hn:t;for(o.set(e,n),o.set(n,e);++d-1&&t%1==0&&t1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(lt,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return ge(v,(function(n){var i="_."+n[0];e&n[1]&&!be(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(ut);return e?e[1].split(ct):[]}(i),n)))}function Ia(e){var n=0,i=0;return function(){var r=yn(),a=16-(r-i);if(i=r,a>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(t,arguments)}}function Oa(e,n){var i=-1,r=e.length,a=r-1;for(n=n===t?r:n;++i1?e[n-1]:t;return i="function"==typeof i?(e.pop(),i):t,eo(e,i)}));function lo(t){var e=jn(t);return e.__chain__=!0,e}function uo(t,e){return e(t)}var co=Qr((function(e){var n=e.length,i=n?e[0]:0,r=this.__wrapped__,a=function(t){return ri(t,e)};return!(n>1||this.__actions__.length)&&r instanceof qn&&ma(i)?((r=r.slice(i,+i+(n?1:0))).__actions__.push({func:uo,args:[a],thisArg:t}),new Un(r,this.__chain__).thru((function(e){return n&&!e.length&&e.push(t),e}))):this.thru(a)})),ho=Pr((function(t,e,n){Dt.call(t,n)?++t[n]:ii(t,n,1)})),po=Nr(Fa),fo=Nr(Ba);function mo(t,e){return(Uo(t)?ge:ci)(t,aa(e,3))}function go(t,e){return(Uo(t)?ve:hi)(t,aa(e,3))}var vo=Pr((function(t,e,n){Dt.call(t,n)?t[n].push(e):ii(t,n,[e])})),yo=Wi((function(t,e,n){var i=-1,a="function"==typeof e,o=$o(t)?r(t.length):[];return ci(t,(function(t){o[++i]=a?fe(e,t,n):Pi(t,e,n)})),o})),_o=Pr((function(t,e,n){ii(t,n,e)}));function bo(t,e){return(Uo(t)?xe:Di)(t,aa(e,3))}var wo=Pr((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),xo=Wi((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ga(t,e[0],e[1])?e=[]:n>2&&ga(e[0],e[1],e[2])&&(e=[e[0]]),Ui(t,mi(e,1),[])})),ko=sn||function(){return ne.Date.now()};function Co(e,n,i){return n=i?t:n,n=e&&null==n?e.length:n,Yr(e,h,t,t,t,t,n)}function To(e,n){var i;if("function"!=typeof n)throw new It(a);return e=hs(e),function(){return--e>0&&(i=n.apply(this,arguments)),e<=1&&(n=t),i}}var Eo=Wi((function(t,e,n){var i=1;if(n.length){var r=Xe(n,ra(Eo));i|=u}return Yr(t,i,e,n,r)})),So=Wi((function(t,e,n){var i=3;if(n.length){var r=Xe(n,ra(So));i|=u}return Yr(e,i,t,n,r)}));function Po(e,n,i){var r,o,s,l,u,c,h=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw new It(a);function m(n){var i=r,a=o;return r=o=t,h=n,l=e.apply(a,i)}function g(e){var i=e-c;return c===t||i>=n||i<0||p&&e-h>=s}function v(){var t=ko();if(g(t))return y(t);u=Sa(v,function(t){var e=n-(t-c);return p?vn(e,s-(t-h)):e}(t))}function y(e){return u=t,f&&r?m(e):(r=o=t,l)}function _(){var e=ko(),i=g(e);if(r=arguments,o=this,c=e,i){if(u===t)return function(t){return h=t,u=Sa(v,n),d?m(t):l}(c);if(p)return _r(u),u=Sa(v,n),m(c)}return u===t&&(u=Sa(v,n)),l}return n=ps(n)||0,Jo(i)&&(d=!!i.leading,s=(p="maxWait"in i)?gn(ps(i.maxWait)||0,n):s,f="trailing"in i?!!i.trailing:f),_.cancel=function(){u!==t&&_r(u),h=0,r=c=o=u=t},_.flush=function(){return u===t?l:y(ko())},_}var Lo=Wi((function(t,e){return li(t,1,e)})),Io=Wi((function(t,e,n){return li(t,ps(e)||0,n)}));function Oo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new It(a);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(Oo.Cache||Vn),n}function Ao(t){if("function"!=typeof t)throw new It(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Oo.Cache=Vn;var Mo=vr((function(t,e){var n=(e=1==e.length&&Uo(e[0])?xe(e[0],Fe(aa())):xe(mi(e,1),Fe(aa()))).length;return Wi((function(i){for(var r=-1,a=vn(i.length,n);++r=e})),Bo=Li(function(){return arguments}())?Li:function(t){return Ko(t)&&Dt.call(t,"callee")&&!se.call(t,"callee")},Uo=r.isArray,qo=le?Fe(le):function(t){return Ko(t)&&ki(t)==M};function $o(t){return null!=t&&Xo(t.length)&&!Yo(t)}function Go(t){return Ko(t)&&$o(t)}var Vo=dn||pl,Ho=ue?Fe(ue):function(t){return Ko(t)&&ki(t)==w};function Wo(t){if(!Ko(t))return!1;var e=ki(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!es(t)}function Yo(t){if(!Jo(t))return!1;var e=ki(t);return e==k||e==C||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Zo(t){return"number"==typeof t&&t==hs(t)}function Xo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Jo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ko(t){return null!=t&&"object"==typeof t}var Qo=ce?Fe(ce):function(t){return Ko(t)&&ha(t)==T};function ts(t){return"number"==typeof t||Ko(t)&&ki(t)==E}function es(t){if(!Ko(t)||ki(t)!=S)return!1;var e=re(t);if(null===e)return!0;var n=Dt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Nt.call(n)==Bt}var ns=he?Fe(he):function(t){return Ko(t)&&ki(t)==P},is=de?Fe(de):function(t){return Ko(t)&&ha(t)==L};function rs(t){return"string"==typeof t||!Uo(t)&&Ko(t)&&ki(t)==I}function as(t){return"symbol"==typeof t||Ko(t)&&ki(t)==O}var os=pe?Fe(pe):function(t){return Ko(t)&&Xo(t.length)&&!!Zt[ki(t)]},ss=$r(Ni),ls=$r((function(t,e){return t<=e}));function us(t){if(!t)return[];if($o(t))return rs(t)?Qe(t):Er(t);if(nn&&t[nn])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[nn]());var e=ha(t);return(e==T?Ye:e==L?Je:Rs)(t)}function cs(t){return t?(t=ps(t))===p||t===-p?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function hs(t){var e=cs(t),n=e%1;return e==e?n?e-n:e:0}function ds(t){return t?ai(hs(t),0,g):0}function ps(t){if("number"==typeof t)return t;if(as(t))return m;if(Jo(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Jo(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(at,"");var n=gt.test(t);return n||yt.test(t)?Qt(t.slice(2),n?2:8):mt.test(t)?m:+t}function fs(t){return Sr(t,Ls(t))}function ms(t){return null==t?"":or(t)}var gs=Lr((function(t,e){if(ba(e)||$o(e))Sr(e,Ps(e),t);else for(var n in e)Dt.call(e,n)&&Qn(t,n,e[n])})),vs=Lr((function(t,e){Sr(e,Ls(e),t)})),ys=Lr((function(t,e,n,i){Sr(e,Ls(e),t,i)})),_s=Lr((function(t,e,n,i){Sr(e,Ps(e),t,i)})),bs=Qr(ri),ws=Wi((function(e,n){e=St(e);var i=-1,r=n.length,a=r>2?n[2]:t;for(a&&ga(n[0],n[1],a)&&(r=1);++i1),e})),Sr(t,ea(t),n),i&&(n=oi(n,7,Jr));for(var r=e.length;r--;)lr(n,e[r]);return n})),Ms=Qr((function(t,e){return null==t?{}:function(t,e){return qi(t,e,(function(e,n){return Cs(t,n)}))}(t,e)}));function zs(t,e){if(null==t)return{};var n=xe(ea(t),(function(t){return[t]}));return e=aa(e),qi(t,n,(function(t,n){return e(t,n[0])}))}var Ns=Wr(Ps),Ds=Wr(Ls);function Rs(t){return null==t?[]:Be(t,Ps(t))}var js=Mr((function(t,e,n){return e=e.toLowerCase(),t+(n?Fs(e):e)}));function Fs(t){return Ws(ms(t).toLowerCase())}function Bs(t){return(t=ms(t))&&t.replace(bt,Ge).replace(qt,"")}var Us=Mr((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),qs=Mr((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),$s=Ar("toLowerCase"),Gs=Mr((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),Vs=Mr((function(t,e,n){return t+(n?" ":"")+Ws(e)})),Hs=Mr((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ws=Ar("toUpperCase");function Ys(e,n,i){return e=ms(e),(n=i?t:n)===t?function(t){return Ht.test(t)}(e)?function(t){return t.match(Gt)||[]}(e):function(t){return t.match(ht)||[]}(e):e.match(n)||[]}var Zs=Wi((function(e,n){try{return fe(e,t,n)}catch(t){return Wo(t)?t:new Ct(t)}})),Xs=Qr((function(t,e){return ge(e,(function(e){e=Ma(e),ii(t,e,Eo(t[e],t))})),t}));function Js(t){return function(){return t}}var Ks=Dr(),Qs=Dr(!0);function tl(t){return t}function el(t){return Mi("function"==typeof t?t:oi(t,1))}var nl=Wi((function(t,e){return function(n){return Pi(n,t,e)}})),il=Wi((function(t,e){return function(n){return Pi(t,n,e)}}));function rl(t,e,n){var i=Ps(e),r=bi(e,i);null!=n||Jo(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=bi(e,Ps(e)));var a=!(Jo(n)&&"chain"in n&&!n.chain),o=Yo(t);return ge(r,(function(n){var i=e[n];t[n]=i,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__);return(n.__actions__=Er(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,ke([this.value()],arguments))})})),t}function al(){}var ol=Br(xe),sl=Br(ye),ll=Br(Ee);function ul(t){return va(t)?ze(Ma(t)):function(t){return function(e){return wi(e,t)}}(t)}var cl=qr(),hl=qr(!0);function dl(){return[]}function pl(){return!1}var fl,ml=Fr((function(t,e){return t+e}),0),gl=Vr("ceil"),vl=Fr((function(t,e){return t/e}),1),yl=Vr("floor"),_l=Fr((function(t,e){return t*e}),1),bl=Vr("round"),wl=Fr((function(t,e){return t-e}),0);return jn.after=function(t,e){if("function"!=typeof e)throw new It(a);return t=hs(t),function(){if(--t<1)return e.apply(this,arguments)}},jn.ary=Co,jn.assign=gs,jn.assignIn=vs,jn.assignInWith=ys,jn.assignWith=_s,jn.at=bs,jn.before=To,jn.bind=Eo,jn.bindAll=Xs,jn.bindKey=So,jn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Uo(t)?t:[t]},jn.chain=lo,jn.chunk=function(e,n,i){n=(i?ga(e,n,i):n===t)?1:gn(hs(n),0);var a=null==e?0:e.length;if(!a||n<1)return[];for(var o=0,s=0,l=r(un(a/n));oa?0:a+i),(r=r===t||r>a?a:hs(r))<0&&(r+=a),r=i>r?0:ds(r);i>>0)?(e=ms(e))&&("string"==typeof n||null!=n&&!ns(n))&&!(n=or(n))&&We(e)?yr(Qe(e),0,i):e.split(n,i):[]},jn.spread=function(t,e){if("function"!=typeof t)throw new It(a);return e=null==e?0:gn(hs(e),0),Wi((function(n){var i=n[e],r=yr(n,0,e);return i&&ke(r,i),fe(t,this,r)}))},jn.tail=function(t){var e=null==t?0:t.length;return e?tr(t,1,e):[]},jn.take=function(e,n,i){return e&&e.length?tr(e,0,(n=i||n===t?1:hs(n))<0?0:n):[]},jn.takeRight=function(e,n,i){var r=null==e?0:e.length;return r?tr(e,(n=r-(n=i||n===t?1:hs(n)))<0?0:n,r):[]},jn.takeRightWhile=function(t,e){return t&&t.length?cr(t,aa(e,3),!1,!0):[]},jn.takeWhile=function(t,e){return t&&t.length?cr(t,aa(e,3)):[]},jn.tap=function(t,e){return e(t),t},jn.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new It(a);return Jo(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Po(t,e,{leading:i,maxWait:e,trailing:r})},jn.thru=uo,jn.toArray=us,jn.toPairs=Ns,jn.toPairsIn=Ds,jn.toPath=function(t){return Uo(t)?xe(t,Ma):as(t)?[t]:Er(Aa(ms(t)))},jn.toPlainObject=fs,jn.transform=function(t,e,n){var i=Uo(t),r=i||Vo(t)||os(t);if(e=aa(e,4),null==n){var a=t&&t.constructor;n=r?i?new a:[]:Jo(t)&&Yo(a)?Fn(re(t)):{}}return(r?ge:yi)(t,(function(t,i,r){return e(n,t,i,r)})),n},jn.unary=function(t){return Co(t,1)},jn.union=Ja,jn.unionBy=Ka,jn.unionWith=Qa,jn.uniq=function(t){return t&&t.length?sr(t):[]},jn.uniqBy=function(t,e){return t&&t.length?sr(t,aa(e,2)):[]},jn.uniqWith=function(e,n){return n="function"==typeof n?n:t,e&&e.length?sr(e,t,n):[]},jn.unset=function(t,e){return null==t||lr(t,e)},jn.unzip=to,jn.unzipWith=eo,jn.update=function(t,e,n){return null==t?t:ur(t,e,mr(n))},jn.updateWith=function(e,n,i,r){return r="function"==typeof r?r:t,null==e?e:ur(e,n,mr(i),r)},jn.values=Rs,jn.valuesIn=function(t){return null==t?[]:Be(t,Ls(t))},jn.without=no,jn.words=Ys,jn.wrap=function(t,e){return zo(mr(e),t)},jn.xor=io,jn.xorBy=ro,jn.xorWith=ao,jn.zip=oo,jn.zipObject=function(t,e){return pr(t||[],e||[],Qn)},jn.zipObjectDeep=function(t,e){return pr(t||[],e||[],Xi)},jn.zipWith=so,jn.entries=Ns,jn.entriesIn=Ds,jn.extend=vs,jn.extendWith=ys,rl(jn,jn),jn.add=ml,jn.attempt=Zs,jn.camelCase=js,jn.capitalize=Fs,jn.ceil=gl,jn.clamp=function(e,n,i){return i===t&&(i=n,n=t),i!==t&&(i=(i=ps(i))==i?i:0),n!==t&&(n=(n=ps(n))==n?n:0),ai(ps(e),n,i)},jn.clone=function(t){return oi(t,4)},jn.cloneDeep=function(t){return oi(t,5)},jn.cloneDeepWith=function(e,n){return oi(e,5,n="function"==typeof n?n:t)},jn.cloneWith=function(e,n){return oi(e,4,n="function"==typeof n?n:t)},jn.conformsTo=function(t,e){return null==e||si(t,e,Ps(e))},jn.deburr=Bs,jn.defaultTo=function(t,e){return null==t||t!=t?e:t},jn.divide=vl,jn.endsWith=function(e,n,i){e=ms(e),n=or(n);var r=e.length,a=i=i===t?r:ai(hs(i),0,r);return(i-=n.length)>=0&&e.slice(i,a)==n},jn.eq=Ro,jn.escape=function(t){return(t=ms(t))&&X.test(t)?t.replace(Y,Ve):t},jn.escapeRegExp=function(t){return(t=ms(t))&&rt.test(t)?t.replace(it,"\\$&"):t},jn.every=function(e,n,i){var r=Uo(e)?ye:di;return i&&ga(e,n,i)&&(n=t),r(e,aa(n,3))},jn.find=po,jn.findIndex=Fa,jn.findKey=function(t,e){return Pe(t,aa(e,3),yi)},jn.findLast=fo,jn.findLastIndex=Ba,jn.findLastKey=function(t,e){return Pe(t,aa(e,3),_i)},jn.floor=yl,jn.forEach=mo,jn.forEachRight=go,jn.forIn=function(t,e){return null==t?t:gi(t,aa(e,3),Ls)},jn.forInRight=function(t,e){return null==t?t:vi(t,aa(e,3),Ls)},jn.forOwn=function(t,e){return t&&yi(t,aa(e,3))},jn.forOwnRight=function(t,e){return t&&_i(t,aa(e,3))},jn.get=ks,jn.gt=jo,jn.gte=Fo,jn.has=function(t,e){return null!=t&&da(t,e,Ti)},jn.hasIn=Cs,jn.head=qa,jn.identity=tl,jn.includes=function(t,e,n,i){t=$o(t)?t:Rs(t),n=n&&!i?hs(n):0;var r=t.length;return n<0&&(n=gn(r+n,0)),rs(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Ie(t,e,n)>-1},jn.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:hs(n);return r<0&&(r=gn(i+r,0)),Ie(t,e,r)},jn.inRange=function(e,n,i){return n=cs(n),i===t?(i=n,n=0):i=cs(i),function(t,e,n){return t>=vn(e,n)&&t=-f&&t<=f},jn.isSet=is,jn.isString=rs,jn.isSymbol=as,jn.isTypedArray=os,jn.isUndefined=function(e){return e===t},jn.isWeakMap=function(t){return Ko(t)&&ha(t)==A},jn.isWeakSet=function(t){return Ko(t)&&"[object WeakSet]"==ki(t)},jn.join=function(t,e){return null==t?"":fn.call(t,e)},jn.kebabCase=Us,jn.last=Ha,jn.lastIndexOf=function(e,n,i){var r=null==e?0:e.length;if(!r)return-1;var a=r;return i!==t&&(a=(a=hs(i))<0?gn(r+a,0):vn(a,r-1)),n==n?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(e,n,a):Le(e,Ae,a,!0)},jn.lowerCase=qs,jn.lowerFirst=$s,jn.lt=ss,jn.lte=ls,jn.max=function(e){return e&&e.length?pi(e,tl,Ci):t},jn.maxBy=function(e,n){return e&&e.length?pi(e,aa(n,2),Ci):t},jn.mean=function(t){return Me(t,tl)},jn.meanBy=function(t,e){return Me(t,aa(e,2))},jn.min=function(e){return e&&e.length?pi(e,tl,Ni):t},jn.minBy=function(e,n){return e&&e.length?pi(e,aa(n,2),Ni):t},jn.stubArray=dl,jn.stubFalse=pl,jn.stubObject=function(){return{}},jn.stubString=function(){return""},jn.stubTrue=function(){return!0},jn.multiply=_l,jn.nth=function(e,n){return e&&e.length?Bi(e,hs(n)):t},jn.noConflict=function(){return ne._===this&&(ne._=$t),this},jn.noop=al,jn.now=ko,jn.pad=function(t,e,n){t=ms(t);var i=(e=hs(e))?Ke(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Ur(cn(r),n)+t+Ur(un(r),n)},jn.padEnd=function(t,e,n){t=ms(t);var i=(e=hs(e))?Ke(t):0;return e&&in){var r=e;e=n,n=r}if(i||e%1||n%1){var a=bn();return vn(e+a*(n-e+Kt("1e-"+((a+"").length-1))),n)}return Vi(e,n)},jn.reduce=function(t,e,n){var i=Uo(t)?Ce:De,r=arguments.length<3;return i(t,aa(e,4),n,r,ci)},jn.reduceRight=function(t,e,n){var i=Uo(t)?Te:De,r=arguments.length<3;return i(t,aa(e,4),n,r,hi)},jn.repeat=function(e,n,i){return n=(i?ga(e,n,i):n===t)?1:hs(n),Hi(ms(e),n)},jn.replace=function(){var t=arguments,e=ms(t[0]);return t.length<3?e:e.replace(t[1],t[2])},jn.result=function(e,n,i){var r=-1,a=(n=gr(n,e)).length;for(a||(a=1,e=t);++rf)return[];var n=g,i=vn(t,g);e=aa(e),t-=g;for(var r=je(i,e);++n=o)return e;var l=i-Ke(r);if(l<1)return r;var u=s?yr(s,0,l).join(""):e.slice(0,l);if(a===t)return u+r;if(s&&(l+=u.length-l),ns(a)){if(e.slice(l).search(a)){var c,h=u;for(a.global||(a=Pt(a.source,ms(ft.exec(a))+"g")),a.lastIndex=0;c=a.exec(h);)var d=c.index;u=u.slice(0,d===t?l:d)}}else if(e.indexOf(or(a),l)!=l){var p=u.lastIndexOf(a);p>-1&&(u=u.slice(0,p))}return u+r},jn.unescape=function(t){return(t=ms(t))&&Z.test(t)?t.replace(W,tn):t},jn.uniqueId=function(t){var e=++Rt;return ms(t)+e},jn.upperCase=Hs,jn.upperFirst=Ws,jn.each=mo,jn.eachRight=go,jn.first=qa,rl(jn,(fl={},yi(jn,(function(t,e){Dt.call(jn.prototype,e)||(fl[e]=t)})),fl),{chain:!1}),jn.VERSION="4.17.19",ge(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){jn[t].placeholder=jn})),ge(["drop","take"],(function(e,n){qn.prototype[e]=function(i){i=i===t?1:gn(hs(i),0);var r=this.__filtered__&&!n?new qn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(i,r.__takeCount__):r.__views__.push({size:vn(i,g),type:e+(r.__dir__<0?"Right":"")}),r},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ge(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=1==n||3==n;qn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:aa(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),ge(["head","last"],(function(t,e){var n="take"+(e?"Right":"");qn.prototype[t]=function(){return this[n](1).value()[0]}})),ge(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");qn.prototype[t]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(tl)},qn.prototype.find=function(t){return this.filter(t).head()},qn.prototype.findLast=function(t){return this.reverse().find(t)},qn.prototype.invokeMap=Wi((function(t,e){return"function"==typeof t?new qn(this):this.map((function(n){return Pi(n,t,e)}))})),qn.prototype.reject=function(t){return this.filter(Ao(aa(t)))},qn.prototype.slice=function(e,n){e=hs(e);var i=this;return i.__filtered__&&(e>0||n<0)?new qn(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),n!==t&&(i=(n=hs(n))<0?i.dropRight(-n):i.take(n-e)),i)},qn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},qn.prototype.toArray=function(){return this.take(g)},yi(qn.prototype,(function(e,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),a=jn[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);a&&(jn.prototype[n]=function(){var n=this.__wrapped__,s=r?[1]:arguments,l=n instanceof qn,u=s[0],c=l||Uo(n),h=function(t){var e=a.apply(jn,ke([t],s));return r&&d?e[0]:e};c&&i&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,f=o&&!d,m=l&&!p;if(!o&&c){n=m?n:new qn(this);var g=e.apply(n,s);return g.__actions__.push({func:uo,args:[h],thisArg:t}),new Un(g,d)}return f&&m?e.apply(this,s):(g=this.thru(h),f?r?g.value()[0]:g.value():g)})})),ge(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Ot[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);jn.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(Uo(r)?r:[],t)}return this[n]((function(n){return e.apply(Uo(n)?n:[],t)}))}})),yi(qn.prototype,(function(t,e){var n=jn[e];if(n){var i=n.name+"";Dt.call(Ln,i)||(Ln[i]=[]),Ln[i].push({name:e,func:n})}})),Ln[Rr(t,2).name]=[{name:"wrapper",func:t}],qn.prototype.clone=function(){var t=new qn(this.__wrapped__);return t.__actions__=Er(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Er(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Er(this.__views__),t},qn.prototype.reverse=function(){if(this.__filtered__){var t=new qn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},qn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Uo(t),i=e<0,r=n?t.length:0,a=function(t,e,n){for(var i=-1,r=n.length;++i=this.__values__.length;return{done:e,value:e?t:this.__values__[this.__index__++]}},jn.prototype.plant=function(e){for(var n,i=this;i instanceof Bn;){var r=Na(i);r.__index__=0,r.__values__=t,n?a.__wrapped__=r:n=r;var a=r;i=i.__wrapped__}return a.__wrapped__=e,n},jn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var n=e;return this.__actions__.length&&(n=new qn(this)),(n=n.reverse()).__actions__.push({func:uo,args:[Xa],thisArg:t}),new Un(n,this.__chain__)}return this.thru(Xa)},jn.prototype.toJSON=jn.prototype.valueOf=jn.prototype.value=function(){return hr(this.__wrapped__,this.__actions__)},jn.prototype.first=jn.prototype.head,nn&&(jn.prototype[nn]=function(){return this}),jn}();"function"==typeof i&&"object"==typeof i.amd&&i.amd?(ne._=en,i((function(){return en}))):re?((re.exports=en)._=en,ie._=en):ne._=en}).call(this)},{buffer:"peL6"}],PG4O:[function(t,e,n){"use strict";var i=t("rbush"),r=t("point-in-polygon"),a=t("./lib/polygon_utils"),o=t("lodash");function s(t){void 0!==t&&this.loadFeatureCollection(t)}function l(t,e){var n=e.geometry.coordinates[0];if(r(t,n)){for(var i=1;i=n||!l(i,t)||(o++,0))}))}},s.prototype.search=function(t,e,n){return void 0===n?this.searchForOnePolygon(t,e):this.searchForMultiplePolygons(t,e,n)},s.prototype.loadFeatureCollection=function(t){var e=[],n=[],r=0;function o(t){n.push(t);var i=a.getBoundingBox(t.geometry.coordinates[0]);i.polyId=r++,e.push(i)}t.features.forEach((function(t){if(t.geometry&&void 0!==t.geometry.coordinates[0]&&t.geometry.coordinates[0].length>0)switch(t.geometry.type){case"Polygon":o(t);break;case"MultiPolygon":for(var e=t.geometry.coordinates,n=0;n border) {\n t = 1.0;\n } else if (dist > 0.0) {\n t = dist / border;\n }\n\n //works for overlapping circles if blending is enabled\n gl_FragColor = mix(color0, color1, t);\n}\n"},{}],XGkG:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n float border = 0.1;\n float radius = 0.5;\n vec2 center = vec2(0.5, 0.5);\n\n vec4 pointColor = vec4(\n _color[0],\n _color[1],\n _color[2],\n _color[3]\n );\n\n vec2 m = gl_PointCoord.xy - center;\n float dist1 = radius - sqrt(m.x * m.x + m.y * m.y);\n\n float t1 = 0.0;\n if (dist1 > border) {\n t1 = 1.0;\n } else if (dist1 > 0.0) {\n t1 = dist1 / border;\n }\n\n //works for overlapping circles if blending is enabled\n //gl_FragColor = mix(color0, color1, t);\n\n //border\n float outerBorder = 0.05;\n float innerBorder = 0.8;\n vec4 borderColor = vec4(0, 0, 0, 0.4);\n vec2 uv = gl_PointCoord.xy;\n vec4 clearColor = vec4(0, 0, 0, 0);\n\n // Offset uv with the center of the circle.\n uv -= center;\n\n float dist2 = sqrt(dot(uv, uv));\n\n float t2 = 1.0 + smoothstep(radius, radius + outerBorder, dist2)\n - smoothstep(radius - innerBorder, radius, dist2);\n\n gl_FragColor = mix(mix(borderColor, clearColor, t2), pointColor, t1);\n}\n"},{}],AY9x:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n vec2 center = vec2(0.5);\n vec2 uv = gl_PointCoord.xy - center;\n float smoothing = 0.005;\n vec4 _color1 = vec4(_color[0], _color[1], _color[2], _color[3]);\n float radius1 = 0.3;\n vec4 _color2 = vec4(_color[0], _color[1], _color[2], _color[3]);\n float radius2 = 0.5;\n float dist = length(uv);\n\n //SMOOTH\n float gamma = 2.2;\n color1.rgb = pow(_color1.rgb, vec3(gamma));\n color2.rgb = pow(_color2.rgb, vec3(gamma));\n\n vec4 puck = mix(\n mix(\n _color1,\n _color2,\n smoothstep(\n radius1 - smoothing,\n radius1 + smoothing,\n dist\n )\n ),\n vec4(0,0,0,0),\n smoothstep(\n radius2 - smoothing,\n radius2 + smoothing,\n dist\n )\n );\n\n //Gamma correction (prevents color fringes)\n puck.rgb = pow(puck.rgb, vec3(1.0 / gamma));\n gl_FragColor = puck;\n}\n"},{}],R6F0:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n vec4 color1 = vec4(_color[0], _color[1], _color[2], _color[3]);\n\n //simple circles\n float d = distance (gl_PointCoord, vec2(0.5, 0.5));\n if (d < 0.5 ){\n gl_FragColor = color1;\n } else {\n discard;\n }\n}\n"},{}],sqgp:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n //squares\n gl_FragColor = vec4(_color[0], _color[1], _color[2], _color[3]);\n}\n"},{}],JKQp:[function(t,e,n){e.exports="precision mediump float;\nvarying vec4 _color;\n\nvoid main() {\n gl_FragColor = vec4(\n _color[0],\n _color[1],\n _color[2],\n _color[3]\n );\n}\n"},{}],QCba:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.glify=void 0;var i=t("./lines"),r=t("./points"),a=t("./shapes"),o=t("./utils"),s=f(t("./shader/vertex/default.glsl")),l=f(t("./shader/fragment/dot.glsl")),u=f(t("./shader/fragment/point.glsl")),c=f(t("./shader/fragment/puck.glsl")),h=f(t("./shader/fragment/simple-circle.glsl")),d=f(t("./shader/fragment/square.glsl")),p=f(t("./shader/fragment/polygon.glsl"));function f(t){return t&&t.__esModule?t:{default:t}}function m(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n10&&(document.getElementById("sendcoinbutton").disabled=!1),this.inputltrx.length<10&&(document.getElementById("sendcoinbutton").disabled=!0)}}},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(" "+t._s(t.$t("settings.littercoin.littercoin-header")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-two-thirds is-offset-1"},[n("p",[t._v(t._s(t.$t("settings.littercoin.back-later")))])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",[this._v("To see your Littercoin balance and send Littercoin from this page you will need to download Chrome and install "),e("a",{attrs:{href:"https://metamask.io/"}},[this._v("MetaMask")]),this._v(". Unfortuantely there is no mobile client available yet. When you install MetaMask these instructions will disappear.")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",[n("li",[t._v("To create a new wallet visit "),n("a",{attrs:{href:"https://myetherwallet.com"}},[t._v("MyEtherWallet")]),t._v(" and "),n("a",{attrs:{href:"https://myetherwallet.github.io/knowledge-base/private-keys-passwords/difference-beween-private-key-and-keystore-file.html"}},[t._v("export your Keystore UTC File")]),t._v(", which is an encrypted version of your password. If you are using Mist or some other wallet, export the same file (Accounts -> Backup -> Accounts). This file should be available on Unix systems at ~/User/Library/Ethereum/keystore/ as a 'UTC....' file.")]),t._v(" "),n("li",[t._v("Open Metamask and import this file as a json file.")]),t._v(" "),n("li",[t._v("Upload 7-days in a row, be the first to upload from a Country, State or City and earn Littercoin! More options coming soon!")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("h1",{staticClass:"title is-3"},[this._v("My Ethereum: "),e("span",{attrs:{id:"mybal"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("h1",{staticClass:"title is-3"},[this._v("My Littercoin: "),e("span",{attrs:{id:"myLtrx"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"input-group-addon",attrs:{id:"sizing-addon2"}},[e("span",[e("strong",[this._v("SEND")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"input-group-addon",attrs:{id:"sizing-addon2"}},[e("span",[e("strong",[this._v("LTRX")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("b",[this._v("Step 1: ")]),this._v('Add the public Littercoin ID to the "Watch Token" section of your Ethereum Wallet:')])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("b",[this._v("Step 2: ")]),this._v("Enter your Ethereum Wallet ID here so we know where to send and read your available Littercoin:")])}],!1,null,null,null);e.default=a.exports},"X/mx":function(t){t.exports=JSON.parse('{"click-to-upload":"Bofya ili kupakia au weka picha zako","thank-you":"Asante!","need-tag-litter":"Kifuatacho, unatakiwa kwekea taka nembo","tag-litter":"Wekea taka nembo"}')},X2CC:function(t,e,n){var i=n("InQf");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},XA7P:function(t,e,n){"use strict";var i=n("jq0I");n.n(i).a},Xerb:function(t,e,n){var i=n("qrmX");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},Xlqv:function(t){t.exports=JSON.parse('{"change-privacy":"Change My Privacy","maps":"Maps","credit-name":"Credit my name","credit-username":"Credit my username","name-imgs-yes":"Your name will appear on each of the images you upload to the maps.","username-imgs-yes":"Your username will appear on each of the images you upload to the maps.","name-username-map-no":"Your name and username will not appear on the maps.","leaderboards":"Leaderboards","credit-my-name":"Credit my name","credit-my-username":"Credit my username","name-leaderboards-yes":"Your name will appear in any leaderboards you qualify for.","username-leaderboards-yes":"Your username will appear in any leaderboards you qualify for.","name-username-leaderboards-no":"Your name and username will not appear on the Leaderboards.","created-by":"Created By","name-locations-yes":"Your name will appear in the created by sections of any locations you create.","username-locations-yes":"Your username will appear in the created by sections of any locations you create.","name-username-locations-yes":"Your name and username will not appear in the Created By section of any locations you add to the database.","update":"Update"}')},XqNS:function(t){t.exports=JSON.parse('{"taken-on":"Tomada en","with-a":"Con un","by":"Por","meter-hex-grids":"metros mallas hexagonales","hover-to-count":"Pase el cursor por encima para contar","pieces-of-litter":"piezas de basura","hover-polygons-to-count":"Pasa el cursor por encima de los polígonos para contar"}')},"Xs+J":function(t){t.exports=JSON.parse('{"change-privacy":"Zmień moją prywatność","maps":"Maps","credit-name":"Wpisz moje imie","credit-username":"Wpisz moją nazwę użytkownika","name-imgs-yes":"Twoje imię pojawi się na każdym obrazie przesłanym na mapy.","username-imgs-yes":"Twoja nazwa użytkownika pojawi się na każdym obrazie przesłanym na mapy.","name-username-map-no":"Twoje imię oraz nazwa użytkownika nie pojawią się na mapach.","leaderboards":"Ranking","credit-my-name":"Wpisz moje imie","credit-my-username":"Wpisz moją nazwę użytkownika","name-leaderboards-yes":"Twoje imię pojawi się we wszystkich tabelach rankingowych, do których się kwalifikujesz.","username-leaderboards-yes":"Twoja nazwa użytkownika będzie się pojawiać we wszystkich tabelach rankingowych, do których się kwalifikujesz.","name-username-leaderboards-no":"Twoje imię oraz nazwa użytkownika nie pojawią się na tablicach wyników.","created-by":"Docenione przez","name-locations-yes":"Twoje imię będzie wyświetlane we wszystkich tworzonych przez Ciebie lokalizacjach.","username-locations-yes":"Twoja nazwa użytkownika jest ustawiona tak, aby pojawiała się we wszystkich tworzonych przez Ciebie lokalizacjach.","name-username-locations-yes":"Twoje imię oraz nazwa użytkownika nie pojawią się w sekcji Utworzone Przez w żadnej lokalizacji, którą dodasz do bazy danych.","update":"Aktualizuj"}')},Xvau:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a);n("5A0h");function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var l={name:"CreateAccount",props:["plan"],components:{VueRecaptcha:n("4JY7").a},created:function(){this.plan&&("startup"===this.plan?this.planInt=2:"basic"===this.plan?this.planInt=3:"advanced"===this.plan?this.planInt=4:"pro"===this.plan&&(this.planInt=5))},data:function(){return{planInt:1,processing:!1,name:"",username:"",email:"",password:"",checkbox:!1,password_confirmation:"",g_recaptcha_response:""}},computed:{checkDisabled:function(){return!!this.processing},errors:function(){return this.$store.state.plans.errors},plans:function(){return this.$store.state.plans.plans}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("clearCreateAccountError",t)},changeUrl:function(t){var e=this.plans[t.target.value-1].name.toLowerCase();this.$router.push({path:"join",query:{plan:e}})},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},recaptcha:function(t){this.g_recaptcha_response=t},showStripe:function(){this.$store.commit("showModal",{type:"CreditCard"})},submit:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.checkbox){t.next=3;break}return alert("Please accept the terms and conditions, and privacy policy to continue"),t.abrupt("return");case 3:return e.processing=!0,n=e.plans[e.planInt-1].plan_id,t.next=7,e.$store.dispatch("CREATE_ACCOUNT",{name:e.name,username:e.username,email:e.email,password:e.password,password_confirmation:e.password_confirmation,g_recaptcha_response:e.g_recaptcha_response,plan:e.planInt,plan_id:n});case 7:e.password_confirmation="",e.processing=!1;case 9:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))})()}}},u=(n("toXO"),n("KHd+"));function c(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var h={name:"Subscribe",components:{CreateAccount:Object(u.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"call-container"},[n("div",{staticClass:"has-text-centered"},[n("strong",[t._v(t._s(t.$t("auth.subscribe.crowdfunding-message")))]),t._v(" "),n("div",{staticClass:"control mt2"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.planInt,expression:"planInt"}],on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.planInt=e.target.multiple?n:n[0]},t.changeUrl]}},t._l(t.plans,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+" — €"+t._s(e.price/100)+"\n ")])})),0)])])])]),t._v(" "),n("div",{staticClass:"signup-container"},[n("h3",{staticClass:"title is-3"},[t._v(t._s(t.$t("auth.subscribe.form-create-account")))]),t._v(" "),n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"name"}},[t._v(t._s(t.$t("auth.subscribe.form-field-name")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",class:t.errorExists("name")?"is-danger":"",attrs:{name:"name",type:"text",placeholder:"Your full name",required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t._m(0),t._v(" "),t.errorExists("name")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"username"}},[t._v(t._s(t.$t("auth.subscribe.form-field-unique-id")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],staticClass:"input",class:t.errorExists("username")?"is-danger":"",attrs:{name:"username",placeholder:"Unique Username or Organisation",required:"",type:"text"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),n("span",{staticClass:"icon is-small is-left"},[t._v("\n @\n ")]),t._v(" "),t.errorExists("username")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("username"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"email"}},[t._v(t._s(t.$t("auth.subscribe.form-field-email")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",class:t.errorExists("email")?"is-danger":"",attrs:{name:"email",type:"email",placeholder:"you@email.com",required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),t._m(1),t._v(" "),t.errorExists("email")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("email"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"password"}},[t._v(t._s(t.$t("auth.subscribe.form-field-password")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",class:t.errorExists("password")?"is-danger":"",attrs:{id:"password",name:"password",type:"password",placeholder:"Create a strong password",required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),t._m(2),t._v(" "),t.errorExists("password")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label",attrs:{for:"password_confirmation"}},[t._v(t._s(t.$t("auth.subscribe.form-field-pass-confirm")))]),t._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password_confirmation,expression:"password_confirmation"}],staticClass:"input",class:t.errorExists("password_confirmation")?"is-danger":"",attrs:{type:"password",id:"password_confirmation",name:"password_confirmation",placeholder:"Confirm your Password",required:""},domProps:{value:t.password_confirmation},on:{input:function(e){e.target.composing||(t.password_confirmation=e.target.value)}}}),t._v(" "),t._m(3),t._v(" "),t.errorExists("password_confirmation")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("password_confirmation"))}}):t._e()])]),t._v(" "),n("p",{staticClass:"mtb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.checkbox,expression:"checkbox"}],staticClass:"filled-in",attrs:{type:"checkbox",name:"ConfirmToS",id:"ConfirmToS"},domProps:{checked:Array.isArray(t.checkbox)?t._i(t.checkbox,null)>-1:t.checkbox},on:{change:function(e){var n=t.checkbox,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.checkbox=n.concat([null])):a>-1&&(t.checkbox=n.slice(0,a).concat(n.slice(a+1)))}else t.checkbox=r}}}),t._v(" "),n("label",{attrs:{for:"ConfirmToS"},domProps:{innerHTML:t._s(t.$t("auth.subscribe.form-account-conditions"))}})]),t._v(" "),n("div",{staticClass:"captcha"},[n("div",[n("vue-recaptcha",{attrs:{sitekey:"6Le9FtwcAAAAAMOImuwEoOYssOVdNf7dfI2x8XZh",loadRecaptchaScript:!0},on:{verify:t.recaptcha},model:{value:t.g_recaptcha_response,callback:function(e){t.g_recaptcha_response=e},expression:"g_recaptcha_response"}})],1),t._v(" "),t.errorExists("g-recaptcha-response")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("g-recaptcha-response"))}}):t._e()]),t._v(" "),n("br"),t._v(" "),n("div",{staticStyle:{"text-align":"center","padding-bottom":"1em"}},[n("button",{staticClass:"button is-medium is-primary mb1",class:t.processing?"is-loading":"",attrs:{disabled:t.checkDisabled}},[t._v(t._s(t.$t("auth.subscribe.form-btn")))]),t._v(" "),n("p",[t._v(t._s(t.$t("auth.subscribe.create-account-note"))+" ")])])])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-user"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-key"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-refresh"})])}],!1,null,null,null).exports,Loading:o.a},created:function(){var t,e=this;return(t=r.a.mark((function t(){var n,i,a;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return window.location.href.includes("?")&&(e.plan=window.location.href.split("?")[1].split("=")[1]),window.location.href.includes("&")&&(n=window.location.href.split("&")[1].split("=")[1],i=e.$t("signup."+n+"-title"),a=e.$t("signup."+n+"-subtitle"),e.$swal(i,a,n)),t.next=4,e.$store.dispatch("GET_PLANS");case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){c(a,i,r,o,s,"next",t)}function s(t){c(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0,plan:""}}},d=Object(u.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("section",{staticClass:"hero is-info is-medium"},[n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container"},[n("h1",{staticClass:"title"},[t._v("\n "+t._s(t.$t("auth.subscribe.title"))+"\n ")]),t._v(" "),n("h2",{staticClass:"subtitle"},[t._v("\n "+t._s(t.$t("auth.subscribe.subtitle"))+"\n ")])])])]),t._v(" "),n("section",[n("create-account",{attrs:{plan:t.plan}})],1)])}),[],!1,null,"193873b8",null);e.default=d.exports},Y3sA:function(t){t.exports=JSON.parse('{"card-number":"Números de cartão","card-holder":"Nome do titular do cartão","exp":"Data de validade","cvv":"CVV","placeholders":{"card-number":"O número do seu cartão de 16 dígitos","card-holder":"Nome do titular do cartão","exp-month":"Mês","exp-year":"Ano","cvv":"***"}}')},Y5fm:function(t,e){t.exports="/images/vendor/leaflet/dist/marker-icon.png?2273e3d8ad9264b7daa5bdbf8e6b47f8"},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,a,o,s,l=1,u={},c=!1,h=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick((function(){f(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){f(t.data)},i=function(t){a.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,i=function(t){var e=h.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(f,0,t)}:(o="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&f(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(o+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=0&&h.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return y(e,t.attrs),m(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function _(t,e){var n,i,r,a;if(e.transform&&t.css){if(!(a="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=a}if(e.singleton){var o=c++;n=u||(u=v(e)),i=x.bind(null,n,o,!1),r=x.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),m(t,e),e}(e),i=C.bind(null,n,e),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),i=k.bind(null,n),r=function(){g(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=f(t,e);return p(n,e),function(t){for(var i=[],r=0;r svg,\r\n.leaflet-pane > canvas,\r\n.leaflet-zoom-box,\r\n.leaflet-image-layer,\r\n.leaflet-layer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\n}\n.leaflet-container {\r\n\toverflow: hidden;\n}\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\t-webkit-user-select: none;\r\n\t -moz-user-select: none;\r\n\t user-select: none;\r\n\t -webkit-user-drag: none;\n}\r\n/* Prevents IE11 from highlighting tiles in blue */\n.leaflet-tile::selection {\r\n\tbackground: transparent;\n}\r\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\n.leaflet-safari .leaflet-tile {\r\n\timage-rendering: -webkit-optimize-contrast;\n}\r\n/* hack that prevents hw layers \"stretching\" when loading new tiles */\n.leaflet-safari .leaflet-tile-container {\r\n\twidth: 1600px;\r\n\theight: 1600px;\r\n\t-webkit-transform-origin: 0 0;\n}\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\tdisplay: block;\n}\r\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\r\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\n.leaflet-container .leaflet-overlay-pane svg,\r\n.leaflet-container .leaflet-marker-pane img,\r\n.leaflet-container .leaflet-shadow-pane img,\r\n.leaflet-container .leaflet-tile-pane img,\r\n.leaflet-container img.leaflet-image-layer,\r\n.leaflet-container .leaflet-tile {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\n}\n.leaflet-container.leaflet-touch-zoom {\r\n\t-ms-touch-action: pan-x pan-y;\r\n\ttouch-action: pan-x pan-y;\n}\n.leaflet-container.leaflet-touch-drag {\r\n\t-ms-touch-action: pinch-zoom;\r\n\t/* Fallback for FF which doesn't support pinch-zoom */\r\n\ttouch-action: none;\r\n\ttouch-action: pinch-zoom;\n}\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\r\n\t-ms-touch-action: none;\r\n\ttouch-action: none;\n}\n.leaflet-container {\r\n\t-webkit-tap-highlight-color: transparent;\n}\n.leaflet-container a {\r\n\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\n}\n.leaflet-tile {\r\n\tfilter: inherit;\r\n\tvisibility: hidden;\n}\n.leaflet-tile-loaded {\r\n\tvisibility: inherit;\n}\n.leaflet-zoom-box {\r\n\twidth: 0;\r\n\theight: 0;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tz-index: 800;\n}\r\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\n.leaflet-overlay-pane svg {\r\n\t-moz-user-select: none;\n}\n.leaflet-pane { z-index: 400;\n}\n.leaflet-tile-pane { z-index: 200;\n}\n.leaflet-overlay-pane { z-index: 400;\n}\n.leaflet-shadow-pane { z-index: 500;\n}\n.leaflet-marker-pane { z-index: 600;\n}\n.leaflet-tooltip-pane { z-index: 650;\n}\n.leaflet-popup-pane { z-index: 700;\n}\n.leaflet-map-pane canvas { z-index: 100;\n}\n.leaflet-map-pane svg { z-index: 200;\n}\n.leaflet-vml-shape {\r\n\twidth: 1px;\r\n\theight: 1px;\n}\n.lvml {\r\n\tbehavior: url(#default#VML);\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\n}\r\n\r\n\r\n/* control positioning */\n.leaflet-control {\r\n\tposition: relative;\r\n\tz-index: 800;\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\n}\n.leaflet-top,\r\n.leaflet-bottom {\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\tpointer-events: none;\n}\n.leaflet-top {\r\n\ttop: 0;\n}\n.leaflet-right {\r\n\tright: 0;\n}\n.leaflet-bottom {\r\n\tbottom: 0;\n}\n.leaflet-left {\r\n\tleft: 0;\n}\n.leaflet-control {\r\n\tfloat: left;\r\n\tclear: both;\n}\n.leaflet-right .leaflet-control {\r\n\tfloat: right;\n}\n.leaflet-top .leaflet-control {\r\n\tmargin-top: 10px;\n}\n.leaflet-bottom .leaflet-control {\r\n\tmargin-bottom: 10px;\n}\n.leaflet-left .leaflet-control {\r\n\tmargin-left: 10px;\n}\n.leaflet-right .leaflet-control {\r\n\tmargin-right: 10px;\n}\r\n\r\n\r\n/* zoom and fade animations */\n.leaflet-fade-anim .leaflet-tile {\r\n\twill-change: opacity;\n}\n.leaflet-fade-anim .leaflet-popup {\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 0.2s linear;\r\n\t -moz-transition: opacity 0.2s linear;\r\n\t transition: opacity 0.2s linear;\n}\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r\n\topacity: 1;\n}\n.leaflet-zoom-animated {\r\n\t-webkit-transform-origin: 0 0;\r\n\t -ms-transform-origin: 0 0;\r\n\t transform-origin: 0 0;\n}\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\twill-change: transform;\n}\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\n}\n.leaflet-zoom-anim .leaflet-tile,\r\n.leaflet-pan-anim .leaflet-tile {\r\n\t-webkit-transition: none;\r\n\t -moz-transition: none;\r\n\t transition: none;\n}\n.leaflet-zoom-anim .leaflet-zoom-hide {\r\n\tvisibility: hidden;\n}\r\n\r\n\r\n/* cursors */\n.leaflet-interactive {\r\n\tcursor: pointer;\n}\n.leaflet-grab {\r\n\tcursor: -webkit-grab;\r\n\tcursor: -moz-grab;\r\n\tcursor: grab;\n}\n.leaflet-crosshair,\r\n.leaflet-crosshair .leaflet-interactive {\r\n\tcursor: crosshair;\n}\n.leaflet-popup-pane,\r\n.leaflet-control {\r\n\tcursor: auto;\n}\n.leaflet-dragging .leaflet-grab,\r\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\r\n.leaflet-dragging .leaflet-marker-draggable {\r\n\tcursor: move;\r\n\tcursor: -webkit-grabbing;\r\n\tcursor: -moz-grabbing;\r\n\tcursor: grabbing;\n}\r\n\r\n/* marker & overlays interactivity */\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-image-layer,\r\n.leaflet-pane > svg path,\r\n.leaflet-tile-container {\r\n\tpointer-events: none;\n}\n.leaflet-marker-icon.leaflet-interactive,\r\n.leaflet-image-layer.leaflet-interactive,\r\n.leaflet-pane > svg path.leaflet-interactive,\r\nsvg.leaflet-image-layer.leaflet-interactive path {\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\r\n\tpointer-events: auto;\n}\r\n\r\n/* visual tweaks */\n.leaflet-container {\r\n\tbackground: #ddd;\r\n\toutline: 0;\n}\n.leaflet-container a {\r\n\tcolor: #0078A8;\n}\n.leaflet-container a.leaflet-active {\r\n\toutline: 2px solid orange;\n}\n.leaflet-zoom-box {\r\n\tborder: 2px dotted #38f;\r\n\tbackground: rgba(255,255,255,0.5);\n}\r\n\r\n\r\n/* general typography */\n.leaflet-container {\r\n\tfont: 12px/1.5 \"Helvetica Neue\", Arial, Helvetica, sans-serif;\n}\r\n\r\n\r\n/* general toolbar styles */\n.leaflet-bar {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\r\n\tborder-radius: 4px;\n}\n.leaflet-bar a,\r\n.leaflet-bar a:hover {\r\n\tbackground-color: #fff;\r\n\tborder-bottom: 1px solid #ccc;\r\n\twidth: 26px;\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\ttext-decoration: none;\r\n\tcolor: black;\n}\n.leaflet-bar a,\r\n.leaflet-control-layers-toggle {\r\n\tbackground-position: 50% 50%;\r\n\tbackground-repeat: no-repeat;\r\n\tdisplay: block;\n}\n.leaflet-bar a:hover {\r\n\tbackground-color: #f4f4f4;\n}\n.leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 4px;\r\n\tborder-top-right-radius: 4px;\n}\n.leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 4px;\r\n\tborder-bottom-right-radius: 4px;\r\n\tborder-bottom: none;\n}\n.leaflet-bar a.leaflet-disabled {\r\n\tcursor: default;\r\n\tbackground-color: #f4f4f4;\r\n\tcolor: #bbb;\n}\n.leaflet-touch .leaflet-bar a {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tline-height: 30px;\n}\n.leaflet-touch .leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 2px;\r\n\tborder-top-right-radius: 2px;\n}\n.leaflet-touch .leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 2px;\r\n\tborder-bottom-right-radius: 2px;\n}\r\n\r\n/* zoom control */\n.leaflet-control-zoom-in,\r\n.leaflet-control-zoom-out {\r\n\tfont: bold 18px 'Lucida Console', Monaco, monospace;\r\n\ttext-indent: 1px;\n}\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\r\n\tfont-size: 22px;\n}\r\n\r\n\r\n/* layers control */\n.leaflet-control-layers {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\r\n\tbackground: #fff;\r\n\tborder-radius: 5px;\n}\n.leaflet-control-layers-toggle {\r\n\tbackground-image: url("+i(n("Fjwm"))+");\r\n\twidth: 36px;\r\n\theight: 36px;\n}\n.leaflet-retina .leaflet-control-layers-toggle {\r\n\tbackground-image: url("+i(n("jsOg"))+");\r\n\tbackground-size: 26px 26px;\n}\n.leaflet-touch .leaflet-control-layers-toggle {\r\n\twidth: 44px;\r\n\theight: 44px;\n}\n.leaflet-control-layers .leaflet-control-layers-list,\r\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\r\n\tdisplay: none;\n}\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\r\n\tdisplay: block;\r\n\tposition: relative;\n}\n.leaflet-control-layers-expanded {\r\n\tpadding: 6px 10px 6px 6px;\r\n\tcolor: #333;\r\n\tbackground: #fff;\n}\n.leaflet-control-layers-scrollbar {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tpadding-right: 5px;\n}\n.leaflet-control-layers-selector {\r\n\tmargin-top: 2px;\r\n\tposition: relative;\r\n\ttop: 1px;\n}\n.leaflet-control-layers label {\r\n\tdisplay: block;\n}\n.leaflet-control-layers-separator {\r\n\theight: 0;\r\n\tborder-top: 1px solid #ddd;\r\n\tmargin: 5px -10px 5px -6px;\n}\r\n\r\n/* Default icon URLs */\n.leaflet-default-icon-path {\r\n\tbackground-image: url("+i(n("Y5fm"))+');\n}\r\n\r\n\r\n/* attribution and scale controls */\n.leaflet-container .leaflet-control-attribution {\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.7);\r\n\tmargin: 0;\n}\n.leaflet-control-attribution,\r\n.leaflet-control-scale-line {\r\n\tpadding: 0 5px;\r\n\tcolor: #333;\n}\n.leaflet-control-attribution a {\r\n\ttext-decoration: none;\n}\n.leaflet-control-attribution a:hover {\r\n\ttext-decoration: underline;\n}\n.leaflet-container .leaflet-control-attribution,\r\n.leaflet-container .leaflet-control-scale {\r\n\tfont-size: 11px;\n}\n.leaflet-left .leaflet-control-scale {\r\n\tmargin-left: 5px;\n}\n.leaflet-bottom .leaflet-control-scale {\r\n\tmargin-bottom: 5px;\n}\n.leaflet-control-scale-line {\r\n\tborder: 2px solid #777;\r\n\tborder-top: none;\r\n\tline-height: 1.1;\r\n\tpadding: 2px 5px 1px;\r\n\tfont-size: 11px;\r\n\twhite-space: nowrap;\r\n\toverflow: hidden;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.5);\n}\n.leaflet-control-scale-line:not(:first-child) {\r\n\tborder-top: 2px solid #777;\r\n\tborder-bottom: none;\r\n\tmargin-top: -2px;\n}\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r\n\tborder-bottom: 2px solid #777;\n}\n.leaflet-touch .leaflet-control-attribution,\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tbox-shadow: none;\n}\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tborder: 2px solid rgba(0,0,0,0.2);\r\n\tbackground-clip: padding-box;\n}\r\n\r\n\r\n/* popup */\n.leaflet-popup {\r\n\tposition: absolute;\r\n\ttext-align: center;\r\n\tmargin-bottom: 20px;\n}\n.leaflet-popup-content-wrapper {\r\n\tpadding: 1px;\r\n\ttext-align: left;\r\n\tborder-radius: 12px;\n}\n.leaflet-popup-content {\r\n\tmargin: 13px 19px;\r\n\tline-height: 1.4;\n}\n.leaflet-popup-content p {\r\n\tmargin: 18px 0;\n}\n.leaflet-popup-tip-container {\r\n\twidth: 40px;\r\n\theight: 20px;\r\n\tposition: absolute;\r\n\tleft: 50%;\r\n\tmargin-left: -20px;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\n}\n.leaflet-popup-tip {\r\n\twidth: 17px;\r\n\theight: 17px;\r\n\tpadding: 1px;\r\n\r\n\tmargin: -10px auto 0;\r\n\r\n\t-webkit-transform: rotate(45deg);\r\n\t -moz-transform: rotate(45deg);\r\n\t -ms-transform: rotate(45deg);\r\n\t transform: rotate(45deg);\n}\n.leaflet-popup-content-wrapper,\r\n.leaflet-popup-tip {\r\n\tbackground: white;\r\n\tcolor: #333;\r\n\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\n}\n.leaflet-container a.leaflet-popup-close-button {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tpadding: 4px 4px 0 0;\r\n\tborder: none;\r\n\ttext-align: center;\r\n\twidth: 18px;\r\n\theight: 14px;\r\n\tfont: 16px/14px Tahoma, Verdana, sans-serif;\r\n\tcolor: #c3c3c3;\r\n\ttext-decoration: none;\r\n\tfont-weight: bold;\r\n\tbackground: transparent;\n}\n.leaflet-container a.leaflet-popup-close-button:hover {\r\n\tcolor: #999;\n}\n.leaflet-popup-scrolled {\r\n\toverflow: auto;\r\n\tborder-bottom: 1px solid #ddd;\r\n\tborder-top: 1px solid #ddd;\n}\n.leaflet-oldie .leaflet-popup-content-wrapper {\r\n\t-ms-zoom: 1;\n}\n.leaflet-oldie .leaflet-popup-tip {\r\n\twidth: 24px;\r\n\tmargin: 0 auto;\r\n\r\n\t-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";\r\n\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\n}\n.leaflet-oldie .leaflet-popup-tip-container {\r\n\tmargin-top: -1px;\n}\n.leaflet-oldie .leaflet-control-zoom,\r\n.leaflet-oldie .leaflet-control-layers,\r\n.leaflet-oldie .leaflet-popup-content-wrapper,\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\tborder: 1px solid #999;\n}\r\n\r\n\r\n/* div icon */\n.leaflet-div-icon {\r\n\tbackground: #fff;\r\n\tborder: 1px solid #666;\n}\r\n\r\n\r\n/* Tooltip */\r\n/* Base styles for the element that has a tooltip */\n.leaflet-tooltip {\r\n\tposition: absolute;\r\n\tpadding: 6px;\r\n\tbackground-color: #fff;\r\n\tborder: 1px solid #fff;\r\n\tborder-radius: 3px;\r\n\tcolor: #222;\r\n\twhite-space: nowrap;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n\tpointer-events: none;\r\n\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\n}\n.leaflet-tooltip.leaflet-clickable {\r\n\tcursor: pointer;\r\n\tpointer-events: auto;\n}\n.leaflet-tooltip-top:before,\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\tborder: 6px solid transparent;\r\n\tbackground: transparent;\r\n\tcontent: "";\n}\r\n\r\n/* Directions */\n.leaflet-tooltip-bottom {\r\n\tmargin-top: 6px;\n}\n.leaflet-tooltip-top {\r\n\tmargin-top: -6px;\n}\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-top:before {\r\n\tleft: 50%;\r\n\tmargin-left: -6px;\n}\n.leaflet-tooltip-top:before {\r\n\tbottom: 0;\r\n\tmargin-bottom: -12px;\r\n\tborder-top-color: #fff;\n}\n.leaflet-tooltip-bottom:before {\r\n\ttop: 0;\r\n\tmargin-top: -12px;\r\n\tmargin-left: -6px;\r\n\tborder-bottom-color: #fff;\n}\n.leaflet-tooltip-left {\r\n\tmargin-left: -6px;\n}\n.leaflet-tooltip-right {\r\n\tmargin-left: 6px;\n}\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\ttop: 50%;\r\n\tmargin-top: -6px;\n}\n.leaflet-tooltip-left:before {\r\n\tright: 0;\r\n\tmargin-right: -12px;\r\n\tborder-left-color: #fff;\n}\n.leaflet-tooltip-right:before {\r\n\tleft: 0;\r\n\tmargin-left: -12px;\r\n\tborder-right-color: #fff;\n}\r\n',""])},aS5V:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.card-list[data-v-03bccacd] {\n margin-bottom: -130px;\n}\n@media screen and (max-width: 480px) {\n.card-list[data-v-03bccacd] {\n margin-bottom: -120px;\n}\n}\n.card-item__cvv-amex[data-v-03bccacd] {\n color: white;\n margin-top: -6%;\n font-size: 27px;\n font-weight: 500;\n position: absolute;\n left: 78%;\n}\n.slide-fade-up-enter-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n transition-delay: 0.1s;\n position: relative;\n}\n.slide-fade-up-leave-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n position: absolute;\n}\n.slide-fade-up-enter[data-v-03bccacd] {\n opacity: 0;\n transform: translateY(15px);\n pointer-events: none;\n}\n.slide-fade-up-leave-to[data-v-03bccacd] {\n opacity: 0;\n transform: translateY(-15px);\n pointer-events: none;\n}\n.slide-fade-right-enter-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n transition-delay: 0.1s;\n position: relative;\n}\n.slide-fade-right-leave-active[data-v-03bccacd] {\n transition: all 0.25s ease-in-out;\n position: absolute;\n}\n.slide-fade-right-enter[data-v-03bccacd] {\n opacity: 0;\n transform: translateX(10px) rotate(45deg);\n pointer-events: none;\n}\n.slide-fade-right-leave-to[data-v-03bccacd] {\n opacity: 0;\n transform: translateX(-10px) rotate(45deg);\n pointer-events: none;\n}\n.card-item[data-v-03bccacd] {\n max-width: 430px;\n height: 270px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n z-index: 2;\n width: 100%;\n}\n@media screen and (max-width: 480px) {\n.card-item[data-v-03bccacd] {\n max-width: 310px;\n height: 220px;\n width: 90%;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item[data-v-03bccacd] {\n height: 180px;\n}\n}\n.card-item.-active .card-item__side.-front[data-v-03bccacd] {\n transform: perspective(1000px) rotateY(180deg) rotateX(0deg) rotateZ(0deg);\n}\n.card-item.-active .card-item__side.-back[data-v-03bccacd] {\n transform: perspective(1000px) rotateY(0) rotateX(0deg) rotateZ(0deg);\n /*// box-shadow: 0 20px 50px 0 rgba(81, 88, 206, 0.65);*/\n}\n.card-item__focus[data-v-03bccacd] {\n position: absolute;\n z-index: 3;\n border-radius: 5px;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transition: all 0.35s cubic-bezier(0.71, 0.03, 0.56, 0.85);\n opacity: 0;\n pointer-events: none;\n overflow: hidden;\n border: 2px solid rgba(255, 255, 255, 0.65);\n}\n.card-item__focus[data-v-03bccacd]:after {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n background: #08142f;\n height: 100%;\n border-radius: 5px;\n -webkit-filter: blur(25px);\n filter: blur(25px);\n opacity: 0.5;\n}\n.card-item__focus.-active[data-v-03bccacd] {\n opacity: 1;\n}\n.card-item__side[data-v-03bccacd] {\n border-radius: 15px;\n overflow: hidden;\n /*// box-shadow: 3px 13px 30px 0px rgba(11, 19, 41, 0.5);*/\n /* box-shadow: 0 20px 60px 0 rgba(14, 42, 90, 0.55);*/\n transform: perspective(2000px) rotateY(0deg) rotateX(0deg) rotate(0deg);\n transform-style: preserve-3d;\n transition: all 0.8s cubic-bezier(0.71, 0.03, 0.56, 0.85);\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n height: 100%;\n}\n.card-item__side.-back[data-v-03bccacd] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n transform: perspective(2000px) rotateY(-180deg) rotateX(0deg) rotate(0deg);\n z-index: 2;\n padding: 0;\n background-color: #2364d2;\n background-image: linear-gradient(43deg, #4158d0 0%, #8555c7 46%, #2364d2 100%);\n height: 100%;\n}\n.card-item__side.-back .card-item__cover[data-v-03bccacd] {\n transform: rotateY(-180deg);\n}\n.card-item__bg[data-v-03bccacd] {\n max-width: 100%;\n display: block;\n max-height: 100%;\n height: 100%;\n width: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.card-item__cover[data-v-03bccacd] {\n height: 100%;\n background-color: #1c1d27;\n position: absolute;\n height: 100%;\n background-color: #1c1d27;\n left: 0;\n top: 0;\n width: 100%;\n border-radius: 15px;\n overflow: hidden;\n}\n.card-item__cover[data-v-03bccacd]:after {\n content: "";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: rgba(6, 2, 29, 0.45);\n}\n.card-item__top[data-v-03bccacd] {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: 40px;\n padding: 0 10px;\n}\n@media screen and (max-width: 480px) {\n.card-item__top[data-v-03bccacd] {\n margin-bottom: 25px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__top[data-v-03bccacd] {\n margin-bottom: 15px;\n}\n}\n.card-item__chip[data-v-03bccacd] {\n width: 60px;\n}\n@media screen and (max-width: 480px) {\n.card-item__chip[data-v-03bccacd] {\n width: 50px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__chip[data-v-03bccacd] {\n width: 40px;\n}\n}\n.card-item__type[data-v-03bccacd] {\n height: 45px;\n position: relative;\n display: flex;\n justify-content: flex-end;\n max-width: 100px;\n margin-left: auto;\n width: 100%;\n}\n@media screen and (max-width: 480px) {\n.card-item__type[data-v-03bccacd] {\n height: 40px;\n max-width: 90px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__type[data-v-03bccacd] {\n height: 30px;\n}\n}\n.card-item__typeImg[data-v-03bccacd] {\n max-width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n max-height: 100%;\n -o-object-position: top right;\n object-position: top right;\n}\n.card-item__info[data-v-03bccacd] {\n color: #fff;\n width: 100%;\n max-width: calc(100% - 85px);\n padding: 10px 15px;\n font-weight: 500;\n display: block;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-item__info[data-v-03bccacd] {\n padding: 10px;\n}\n}\n.card-item__holder[data-v-03bccacd] {\n opacity: 0.7;\n font-size: 13px;\n margin-bottom: 6px;\n text-align: left;\n}\n@media screen and (max-width: 480px) {\n.card-item__holder[data-v-03bccacd] {\n font-size: 12px;\n margin-bottom: 5px;\n}\n}\n.card-item__wrapper[data-v-03bccacd] {\n font-family: "Source Code Pro", monospace;\n padding: 25px 15px;\n position: relative;\n z-index: 4;\n height: 100%;\n text-shadow: 7px 6px 10px rgba(14, 42, 90, 0.8);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n@media screen and (max-width: 480px) {\n.card-item__wrapper[data-v-03bccacd] {\n padding: 20px 10px;\n}\n}\n.card-item__name[data-v-03bccacd] {\n font-size: 18px;\n line-height: 1;\n white-space: nowrap;\n max-width: 100%;\n overflow: hidden;\n text-align: left;\n text-overflow: ellipsis;\n text-transform: uppercase;\n}\n@media screen and (max-width: 480px) {\n.card-item__name[data-v-03bccacd] {\n font-size: 16px;\n}\n}\n.card-item__nameItem[data-v-03bccacd] {\n display: inline-block;\n min-width: 8px;\n position: relative;\n}\n.card-item__number[data-v-03bccacd] {\n font-weight: 500;\n line-height: 1;\n color: #fff;\n font-size: 27px;\n margin-bottom: 35px;\n display: inline-block;\n padding: 10px 15px;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-item__number[data-v-03bccacd] {\n font-size: 21px;\n margin-bottom: 15px;\n padding: 10px 10px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__number[data-v-03bccacd] {\n font-size: 19px;\n margin-bottom: 10px;\n padding: 10px 10px;\n}\n}\n.card-item__numberItem[data-v-03bccacd] {\n width: 16px;\n display: inline-block;\n}\n.card-item__numberItem.-active[data-v-03bccacd] {\n width: 30px;\n}\n@media screen and (max-width: 480px) {\n.card-item__numberItem[data-v-03bccacd] {\n width: 13px;\n}\n.card-item__numberItem.-active[data-v-03bccacd] {\n width: 16px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__numberItem[data-v-03bccacd] {\n width: 12px;\n}\n.card-item__numberItem.-active[data-v-03bccacd] {\n width: 8px;\n}\n}\n.card-item__content[data-v-03bccacd] {\n color: #fff;\n display: flex;\n align-items: flex-start;\n}\n.card-item__date[data-v-03bccacd] {\n flex-wrap: wrap;\n font-size: 18px;\n margin-left: auto;\n padding: 10px;\n display: inline-flex;\n width: 80px;\n white-space: nowrap;\n flex-shrink: 0;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-item__date[data-v-03bccacd] {\n font-size: 16px;\n}\n}\n.card-item__dateItem[data-v-03bccacd] {\n position: relative;\n}\n.card-item__dateItem span[data-v-03bccacd] {\n width: 22px;\n display: inline-block;\n}\n.card-item__dateTitle[data-v-03bccacd] {\n opacity: 0.7;\n font-size: 13px;\n padding-bottom: 6px;\n width: 100%;\n}\n@media screen and (max-width: 480px) {\n.card-item__dateTitle[data-v-03bccacd] {\n font-size: 12px;\n padding-bottom: 5px;\n}\n}\n.card-item__band[data-v-03bccacd] {\n background: rgba(0, 0, 19, 0.8);\n width: 100%;\n height: 50px;\n margin-top: 30px;\n position: relative;\n z-index: 2;\n}\n@media screen and (max-width: 480px) {\n.card-item__band[data-v-03bccacd] {\n margin-top: 20px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__band[data-v-03bccacd] {\n height: 40px;\n margin-top: 10px;\n}\n}\n.card-item__cvv[data-v-03bccacd] {\n text-align: right;\n position: relative;\n z-index: 2;\n padding: 15px;\n}\n.card-item__cvv .card-item__type[data-v-03bccacd] {\n opacity: 0.7;\n}\n@media screen and (max-width: 360px) {\n.card-item__cvv[data-v-03bccacd] {\n padding: 10px 15px;\n}\n}\n.card-item__cvvTitle[data-v-03bccacd] {\n padding-right: 10px;\n font-size: 15px;\n font-weight: 500;\n color: #fff;\n margin-bottom: 5px;\n}\n.card-item__cvvBand[data-v-03bccacd] {\n height: 45px;\n background: #fff;\n margin-bottom: 30px;\n text-align: right;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n padding-right: 10px;\n color: #1a3b5d;\n font-size: 18px;\n border-radius: 4px;\n /*box-shadow: 0px 10px 20px -7px rgba(32, 56, 117, 0.35);*/\n}\n@media screen and (max-width: 480px) {\n.card-item__cvvBand[data-v-03bccacd] {\n height: 40px;\n margin-bottom: 20px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-item__cvvBand[data-v-03bccacd] {\n margin-bottom: 15px;\n}\n}',""])},atnr:function(t,e,n){var i=n("YWuw");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},b4WK:function(t){t.exports=JSON.parse('{"title":"Tablica wyników drużyny","position-header":"Pozycja","name-header":"Nazwa","photos-header":"Wszystkie zdjęcia","litter-header":"Wszystkie odpady","created-at-header":"Utworzono w"}')},bGXT:function(t,e,n){"use strict";var i=n("ChBz");n.n(i).a},bUC5:function(t,e,n){"use strict";n.r(e);var i=n("XuX8"),r=n.n(i),a=n("vDqi"),o=n.n(a),s=n("L2JU"),l=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===u}(t)}(t)},u="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?f(Array.isArray(t)?[]:{},t,e):t}function h(t,e,n){return t.concat(e).map((function(t){return c(t,n)}))}function d(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function p(t,e){try{return e in t}catch(t){return!1}}function f(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||h,n.isMergeableObject=n.isMergeableObject||l,n.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(e);return i===Array.isArray(t)?i?n.arrayMerge(t,e,n):function(t,e,n){var i={};return n.isMergeableObject(t)&&d(t).forEach((function(e){i[e]=c(t[e],n)})),d(e).forEach((function(r){(function(t,e){return p(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(i[r]=p(t,r)&&n.isMergeableObject(e[r])?function(t,e){if(!e.customMerge)return f;var n=e.customMerge(t);return"function"==typeof n?n:f}(r,n)(t[r],e[r],n):c(e[r],n))})),i}(t,e,n):c(e,n)}f.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return f(t,n,e)}),{})};var m=f,g={id:"",filename:"",not_processed:0,awaiting_verification:0,items:{},photo:{},loading:!0,countriesWithPhotos:[],filterByCountry:"",skippedPhotos:0},v=n("o0o1"),y=n.n(v),_=n("ltXA");function b(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function w(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){b(a,i,r,o,s,"next",t)}function s(t){b(a,i,r,o,s,"throw",t)}o(void 0)}))}}var x={ADMIN_DELETE_IMAGE:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/admin/destroy",{photoId:t.state.photo.id}).then((function(e){t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},ADMIN_RESET_TAGS:function(t){return w(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),"Image has been reset",e.next=4,axios.post("/admin/reset-tags",{photoId:t.state.photo.id}).then((function(e){e.data.success&&(r.a.$vToastify.success({title:n,body:"Image has been reset",position:"top-right"}),t.dispatch("GET_NEXT_ADMIN_PHOTO"))})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},ADMIN_VERIFY_CORRECT:function(t){return w(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),"Verified",e.next=4,axios.post("/admin/verify-tags-as-correct",{photoId:t.state.photo.id}).then((function(e){e.data.success&&(r.a.$vToastify.success({title:n,body:"Verified"}),e.data.userVerificationCount>=100&&setTimeout((function(){r.a.$vToastify.success({title:"User has been verified",body:"Email sent and remaining photos verified"})}),1e3)),t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},ADMIN_VERIFY_DELETE:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/admin/contentsupdatedelete",{photoId:t.state.photo.id}).then((function(e){t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},ADMIN_UPDATE_WITH_NEW_TAGS:function(t){return w(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state.photo.id,e.next=3,axios.post("/admin/update-tags",{photoId:n,tags:t.rootState.litter.tags[n],custom_tags:t.rootState.litter.customTags[n]}).then((function(e){e.data.success&&r.a.$vToastify.success({title:"Tags updated",body:"Thank you for helping to verify OpenLitterMap data!"}),t.dispatch("GET_NEXT_ADMIN_PHOTO")})).catch((function(t){}));case 3:case"end":return e.stop()}}),e)})))()},GET_NEXT_ADMIN_PHOTO:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.commit("resetLitter"),t.commit("clearTags"),e.next=4,axios.get("/admin/get-next-image-to-verify",{params:{country_id:t.state.filterByCountry,skip:t.state.skippedPhotos}}).then((function(e){var n;window.scroll({top:0,left:0,behavior:"smooth"}),t.commit("initAdminPhoto",e.data.photo),(null===(n=e.data.photo)||void 0===n?void 0:n.verification)>0&&(t.commit("initAdminItems",e.data.photo),t.commit("initAdminCustomTags",e.data.photo)),t.commit("initAdminMetadata",{not_processed:e.data.photosNotProcessed,awaiting_verification:e.data.photosAwaitingVerification}),t.dispatch("ADMIN_GET_COUNTRIES_WITH_PHOTOS")})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},ADMIN_GET_COUNTRIES_WITH_PHOTOS:function(t){return w(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/admin/get-countries-with-photos").then((function(e){t.commit("setCountriesWithPhotos",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()}},k={adminImage:function(t,e){t.id=e.id,t.filename=e.filename},adminLoading:function(t,e){t.loading=e},initAdminMetadata:function(t,e){t.not_processed=e.not_processed,t.awaiting_verification=e.awaiting_verification},initAdminPhoto:function(t,e){t.photo=e},resetState:function(t){Object.assign(t,g)},setCountriesWithPhotos:function(t,e){t.countriesWithPhotos=e},setFilterByCountry:function(t,e){t.filterByCountry=e},setSkippedPhotos:function(t,e){t.skippedPhotos=e}},C={state:Object.assign({},g),actions:x,mutations:k},T=n("jE9Z");function E(t){var e=t.next;if(t.store.state.user.auth)return e();window.location.href="/"}function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function P(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:1;t.total_photos+=e},decrementTotalPhotos:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t.total_photos-=e},incrementTotalLitter:function(t,e){t.total_litter+=e},decrementTotalLitter:function(t,e){t.total_litter-=e},setSortLocationsBy:function(t,e){t.sortLocationsBy=e}},state:Object.assign({},ft)},bt={category:"smoking",hasAddedNewTag:!1,pickedUp:null,tag:"butts",customTag:"",loading:!1,photos:{},tags:{},customTags:{},customTagsError:"",submitting:!1,recentTags:{},recentCustomTags:[]};function wt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function xt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){wt(a,i,r,o,s,"next",t)}function s(t){wt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var kt={BULK_TAG_PHOTOS:function(t){return xt(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"Success!","Your tags were applied to the images",n=t.rootState.photos.bulkPaginate.data.filter((function(t){var e,n=t.tags&&Object.keys(t.tags).length,i=null===(e=t.custom_tags)||void 0===e?void 0:e.length;return n||i})).reduce((function(t,e){var n,i;return t[e.id]={tags:null!==(n=e.tags)&&void 0!==n?n:{},custom_tags:null!==(i=e.custom_tags)&&void 0!==i?i:[],picked_up:!!e.picked_up},t}),{}),e.next=5,axios.post("/user/profile/photos/tags/bulkTag",{photos:n}).then((function(t){t.data.success&&r.a.$vToastify.success({title:"Success!",body:"Your tags were applied to the images",position:"top-right"})})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()},ADD_TAGS_TO_IMAGE:function(t,e){return xt(y.a.mark((function e(){var n,i,a;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.tags-added"),a=t.rootState.photos.paginate.data[0].id,e.next=5,axios.post("add-tags",{photo_id:a,tags:t.state.tags[a],custom_tags:t.state.customTags[a],picked_up:t.state.pickedUp}).then((function(e){e.data.success&&(r.a.$vToastify.success({title:n,body:i,position:"top-right"}),t.commit("clearTags",a),t.rootState.user.user.verification_required||(t.commit("incrementUsersNextLittercoinScore"),100===t.rootState.user.user.littercoin_progress&&(t.commit("incrementLittercoinScore"),r.a.$vToastify.success({title:n,body:"You just earned a Littercoin!",position:"top-right"})))),t.dispatch("LOAD_NEXT_IMAGE")})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()}};function Ct(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Tt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=3?t.customTagsError=_.a.t("tags.tag-limit-reached"):(n[e.photoId].unshift(e.customTag),-1===t.recentCustomTags.indexOf(e.customTag)&&(t.recentCustomTags.push(e.customTag),t.recentCustomTags.sort((function(t,e){return t===e?0:t0&&Object.keys(i).map((function(t){n[e][t]=0}))})),t.tags=St(St({},t.tags),{},Pt({},e,n))},set_default_litter_picked_up:function(t,e){t.pickedUp=e},setLang:function(t,e){t.categoryNames=e.categoryNames,t.currentCategory=e.currentCategory,t.currentItem=e.currentItem,t.litterlang=e.litterlang},togglePickedUp:function(t){t.pickedUp=!t.pickedUp},toggleSubmit:function(t){t.submitting=!t.submitting}},It={state:Object.assign({},bt),actions:kt,mutations:Lt},Ot={action:"",button:"",show:!1,title:"",type:""},At={hideModal:function(t){t.show=!1},resetState:function(t){Object.assign(t,Ot)},showModal:function(t,e){t.type=e.type,t.title=e.title,t.action=e.action,t.show=!0}},Mt={state:Object.assign({},Ot),actions:{},mutations:At},zt={state:{errors:{}}},Nt={filters:{id:"",dateRange:{start:null,end:null},period:"created_at",verified:null},paginate:{prev_page_url:null,next_page_url:null,data:[]},bulkPaginate:{prev_page_url:null,next_page_url:null,data:[]},remaining:0,selectedCount:0,selectAll:!1,inclIds:[],exclIds:[],total:0,verified:0,previousCustomTags:[],showDetailsPhotoId:null};function Dt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function Rt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Dt(a,i,r,o,s,"next",t)}function s(t){Dt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var jt={DELETE_SELECTED_PHOTOS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/user/profile/photos/delete",{selectAll:t.state.photos.selectAll,inclIds:t.state.photos.inclIds,exclIds:t.state.photos.exclIds,filters:t.state.photos.filters}).then((function(t){})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_PHOTOS_FOR_TAGGING:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("photos").then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_FILTERED_PHOTOS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/photos/filter",{params:{filters:t.state.filters}}).then((function(e){t.commit("myProfilePhotos",e.data.paginate),t.commit("photosCount",e.data.count)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},LOAD_PREVIOUS_CUSTOM_TAGS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/photos/previous-custom-tags").then((function(e){t.commit("setPreviousCustomTags",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},LOAD_MY_PHOTOS:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/photos/index").then((function(e){t.commit("myProfilePhotos",e.data.paginate),t.commit("photosCount",e.data.count)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},LOAD_NEXT_IMAGE:function(t){return Rt(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state.paginate.next_page_url||1===t.state.paginate.current_page?t.state.paginate.current_page:t.state.paginate.current_page-1,e.next=3,axios.get("/photos?page="+n).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 3:case"end":return e.stop()}}),e)})))()},NEXT_IMAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.paginate.next_page_url).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},PREVIOUS_IMAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.paginate.prev_page_url).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},PREVIOUS_PHOTOS_PAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.bulkPaginate.prev_page_url).then((function(e){t.commit("paginatedPhotos",e.data.paginate)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},NEXT_PHOTOS_PAGE:function(t){return Rt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get(t.state.bulkPaginate.next_page_url).then((function(e){t.commit("paginatedPhotos",e.data.paginate)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},SELECT_IMAGE:function(t,e){return Rt(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/photos?page=".concat(e)).then((function(e){t.commit("photosForTagging",e.data)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()}};function Ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Bt(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n0||t.exclIds.length>0||t.selectAll)&&(e.data=e.data.map((function(e){return t.selectAll&&(e.selected=!0),t.inclIds.includes(e.id)&&(e.selected=!0),t.exclIds.includes(e.id)&&(e.selected=!1),e}))),t.bulkPaginate=e},photosCount:function(t,e){t.total=e},photosForTagging:function(t,e){t.paginate=e.photos,t.remaining=e.remaining,t.total=e.total,t.previousCustomTags=e.custom_tags},myProfilePhotos:function(t,e){t.bulkPaginate=e},setPreviousCustomTags:function(t,e){t.previousCustomTags=e},resetState:function(t){Object.assign(t,Nt)},resetPhotoState:function(t){Object.assign(t,Nt)},selectAllPhotos:function(t){t.selectAll=!t.selectAll;var e=qt(t.bulkPaginate.data);e.forEach((function(e){e.selected=t.selectAll})),t.bulkPaginate.data=e,t.selectedCount=t.selectAll?t.total:0},setPhotoPickedUp:function(t,e){var n=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),i=t.bulkPaginate.data[n];i.picked_up=e.picked_up,t.bulkPaginate.data.splice(n,1,i)},addTagToPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=Object.assign({},null!==(n=r.tags)&&void 0!==n?n:{});r.tags=Bt(Bt({},a),{},Ut({},e.category,Bt(Bt({},a[e.category]),{},Ut({},e.tag,e.quantity)))),t.bulkPaginate.data.splice(i,1,r)},addCustomTagToPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=null!==(n=r.custom_tags)&&void 0!==n?n:[];void 0===a.find((function(t){return t.toLowerCase()===e.customTag.toLowerCase()}))&&(a.length>=3||(a.unshift(e.customTag),r.custom_tags=a,t.bulkPaginate.data.splice(i,1,r)))},removeTagFromPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=Object.assign({},null!==(n=r.tags)&&void 0!==n?n:{});delete a[e.category][e.tag],0===Object.keys(a[e.category]).length&&delete a[e.category],r.tags=a,t.bulkPaginate.data.splice(i,1,r)},removeCustomTagFromPhoto:function(t,e){var n,i=t.bulkPaginate.data.findIndex((function(t){return t.id===e.photoId})),r=t.bulkPaginate.data[i],a=null!==(n=r.custom_tags)&&void 0!==n?n:[];a=a.filter((function(t){return t!==e.customTag})),r.custom_tags=a,t.bulkPaginate.data.splice(i,1,r)},setPhotoToShowDetails:function(t,e){t.showDetailsPhotoId=e},togglePhotoSelected:function(t,e){var n=qt(t.bulkPaginate.data),i=qt(t.inclIds),r=qt(t.exclIds),a=n.find((function(t){return t.id===e}));a.selected=!a.selected,a.selected?(t.selectedCount++,t.selectAll?r=r.filter((function(t){return t!==a.id})):i.push(a.id)):(t.selectedCount--,t.selectAll?r.push(a.id):i=i.filter((function(t){return t!==a.id}))),t.selectAll?t.exclIds.push(a.id):t.inclIds.push(a.id),t.inclIds=i,t.exclIds=r,t.bulkPaginate.data=n}},Vt={state:Object.assign({},Nt),actions:jt,mutations:Gt},Ht={errors:{},plan:"",plans:[]};function Wt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function Yt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Wt(a,i,r,o,s,"next",t)}function s(t){Wt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var Zt={CREATE_ACCOUNT:function(t,e){return Yt(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.post("/register",{name:e.name,username:e.username,email:e.email,password:e.password,password_confirmation:e.password_confirmation,"g-recaptcha-response":e.g_recaptcha_response}).then((function(n){if(1===e.plan)alert("Congratulations! Your free account has been created. Please verify your email to activate login");else if(e.plan>1){var i=Stripe(""),r=window.location.href+"&status=success",a=window.location.href+"&status=error";i.redirectToCheckout({lineItems:[{price:e.plan_id,quantity:1}],mode:"subscription",successUrl:r,cancelUrl:a})}t.commit("createAccountErrors",[])})).catch((function(e){t.commit("createAccountErrors",e.response.data.errors)}));case 2:case"end":return n.stop()}}),n)})))()},GET_PLANS:function(t){return Yt(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/plans").then((function(e){t.commit("setPlans",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()}},Xt={clearCreateAccountError:function(t,e){delete t.errors[e]},createAccountErrors:function(t,e){t.errors=e},resetState:function(t){Object.assign(t,Ht)},setPlans:function(t,e){t.plans=e}},Jt={state:Object.assign({},Ht),actions:Zt,mutations:Xt},Kt={errors:{},just_subscribed:!1,subscription:{}};function Qt(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function te(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Qt(a,i,r,o,s,"next",t)}function s(t){Qt(a,i,r,o,s,"throw",t)}o(void 0)}))}}var ee={DELETE_ACTIVE_SUBSCRIPTION:function(t){return te(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.subscription-cancelled"),e.next=4,axios.post("/stripe/delete").then((function(e){r.a.$vToastify.success({title:n,body:i,position:"top-right"}),t.commit("reset_subscriber")})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},GET_USERS_SUBSCRIPTIONS:function(t){return te(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/stripe/subscriptions").then((function(e){t.commit("subscription",e.data.sub)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},RESUBSCRIBE:function(t,e){return te(y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.post("/stripe/resubscribe",{plan:e}).then((function(t){})).catch((function(t){}));case 2:case"end":return t.stop()}}),t)})))()},SUBSCRIBE:function(t,e){return te(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.post("/subscribe",{email:e}).then((function(e){t.commit("has_subscribed",!0),setTimeout((function(){t.commit("has_subscribed",!1)}),5e3)})).catch((function(e){t.commit("subscribeErrors",e.response.data.errors)}));case 2:case"end":return n.stop()}}),n)})))()}},ne={clearSubscriberErrors:function(t){t.errors={}},has_subscribed:function(t,e){t.just_subscribed=e},resetState:function(t){Object.assign(t,Kt)},reset_subscriber:function(t,e){t.subscription={}},subscription:function(t,e){t.subscription=e},subscribeErrors:function(t,e){t.errors=e}},ie={state:Object.assign({},Kt),actions:ee,mutations:ne};function re(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function ae(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){re(a,i,r,o,s,"next",t)}function s(t){re(a,i,r,o,s,"throw",t)}o(void 0)}))}}function oe(t){return function(t){if(Array.isArray(t))return se(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n"+e.data.team.name+"."}),e.data.activeTeam&&(t.commit("usersActiveTeam",e.data.activeTeam.id),t.commit("usersTeam",e.data.activeTeam)))})).catch((function(t){r.a.$vToastify.error({title:o,body:s})}));case 6:case"end":return n.stop()}}),n)})))()},INACTIVATE_TEAM:function(t){return ae(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.error"),i=_.a.t("notifications.something-went-wrong"),e.next=4,axios.post("/teams/inactivate").then((function(e){e.data.success&&(t.commit("usersActiveTeam",null),t.commit("usersTeam",null))})).catch((function(t){r.a.$vToastify.error({title:n,body:i})}));case 4:case"end":return e.stop()}}),e)})))()},CREATE_NEW_TEAM:function(t,e){return ae(y.a.mark((function n(){var i,a,o,s,l;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),a=_.a.t("teams.create.created"),o=_.a.t("notifications.error"),s=_.a.t("teams.create.max-created"),l=_.a.t("notifications.success"),"Congratulations! You have joined a new team!",n.next=8,axios.post("/teams/create",{name:e.name,identifier:e.identifier,team_type:e.teamType}).then((function(e){e.data.success?(r.a.$vToastify.success({title:i,body:a,position:"top-right"}),t.commit("decrementUsersRemainingTeams"),t.commit("usersActiveTeam",e.data.team.id),t.commit("usersTeam",e.data.team),t.rootState.user.user.active_team||r.a.$vToastify.success({title:l,body:"Congratulations! You have joined a new team!",position:"top-right"})):r.a.$vToastify.error({title:o,body:s,position:"top-right"})})).catch((function(e){t.commit("teamErrors",e.response.data.errors)}));case 8:case"end":return n.stop()}}),n)})))()},UPDATE_TEAM:function(t,e){return ae(y.a.mark((function n(){var i,a,o,s;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),a=_.a.t("teams.create.updated"),o=_.a.t("notifications.error"),s=_.a.t("notifications.something-went-wrong"),n.next=6,axios.post("/teams/update/".concat(e.teamId),{name:e.name,identifier:e.identifier}).then(function(){var t=ae(y.a.mark((function t(e){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.data.success?r.a.$vToastify.success({title:i,body:a}):r.a.$vToastify.error({title:o,body:s});case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(e){t.commit("teamErrors",e.response.data.errors)}));case 6:case"end":return n.stop()}}),n)})))()},DOWNLOAD_DATA_FOR_TEAM:function(t,e){return ae(y.a.mark((function t(){var n;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),"Your download is being processed and will be emailed to you shortly",t.next=4,axios.post("/teams/download",{team_id:e}).then((function(t){t.data.success&&r.a.$vToastify.success({title:n,body:"Your download is being processed and will be emailed to you shortly",position:"bottom-right"})})).catch((function(t){}));case 4:case"end":return t.stop()}}),t)})))()},GET_TEAM_DASHBOARD_DATA:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/teams/data",{params:{period:e.period,team_id:e.team_id}}).then((function(e){t.commit("teamDashboardData",e.data)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},GET_TEAMS_LEADERBOARD:function(t){return ae(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/teams/leaderboard").then((function(e){t.commit("teamsLeaderboard",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_TEAM_MEMBERS:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/teams/members",{params:{team_id:e}}).then((function(e){t.commit("paginatedTeamMembers",e.data.result)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},GET_TEAM_TYPES:function(t){return ae(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/teams/get-types").then((function(e){t.commit("teamTypes",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_TEAMS:function(t){return ae(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/teams/joined").then((function(e){t.commit("usersTeams",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},JOIN_TEAM:function(t,e){return ae(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),"Congratulations! You have joined a new team!","You have already joined this team!",n.next=5,axios.post("/teams/join",{identifier:e}).then((function(e){e.data.success?(r.a.$vToastify.success({title:i,body:"Congratulations! You have joined a new team!",position:"bottom-right"}),t.commit("usersActiveTeam",e.data.activeTeam.id),t.commit("usersTeam",e.data.activeTeam)):"already-joined"===e.data.msg&&r.a.$vToastify.info({title:"Hold on!",body:"You have already joined this team!",position:"bottom-right"})})).catch((function(e){t.commit("teamErrors",e.response.data.errors)}));case 5:case"end":return n.stop()}}),n)})))()},PREVIOUS_MEMBERS_PAGE:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get(t.state.members.prev_page_url,{params:{team_id:e}}).then((function(e){t.commit("paginatedTeamMembers",e.data.result)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},NEXT_MEMBERS_PAGE:function(t,e){return ae(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get(t.state.members.next_page_url,{params:{team_id:e}}).then((function(e){t.commit("paginatedTeamMembers",e.data.result)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},SAVE_TEAM_SETTINGS:function(t,e){return ae(y.a.mark((function n(){var i,a;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=t.state.teams.find((function(t){return t.id===e.team_id})).pivot,a=_.a.t("notifications.success"),"Team settings updated",n.next=5,axios.post("/teams/settings",{settings:i,all:e.all,team_id:e.team_id}).then((function(n){n.data.success&&(r.a.$vToastify.success({title:a,body:"Team settings updated",position:"top-right"}),e.all&&t.commit("allTeamSettings",e.team_id))})).catch((function(t){}));case 5:case"end":return n.stop()}}),n)})))()},TOGGLE_LEADERBOARD_VISIBILITY:function(t,e){return ae(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),"Visibility changed",n.next=4,axios.post("/teams/leaderboard/visibility",{team_id:e}).then((function(n){n.data.success&&(r.a.$vToastify.success({title:i,body:"Visibility changed",position:"top-right"}),t.commit("toggleTeamLeaderboardVis",e))})).catch((function(t){}));case 4:case"end":return n.stop()}}),n)})))()}},mutations:{allTeamSettings:function(t,e){var n=oe(t.teams),i=n.find((function(t){return t.id===e}));n.forEach((function(t){t.pivot.show_name_maps=i.pivot.show_name_maps,t.pivot.show_username_maps=i.pivot.show_username_maps,t.pivot.show_name_leaderboards=i.pivot.show_name_leaderboards,t.pivot.show_username_leaderboards=i.pivot.show_username_leaderboards})),t.teams=n},clearTeamsError:function(t,e){delete t.errors[e]},teamDashboardData:function(t,e){t.allTeams.photos_count=e.photos_count,t.allTeams.litter_count=e.litter_count,t.allTeams.members_count=e.members_count,t.geojson=e.geojson},paginatedTeamMembers:function(t,e){t.members=e},teamComponent:function(t,e){t.component_type=e},teamErrors:function(t,e){t.errors=e},teamsLeaderboard:function(t,e){t.leaderboard=e},teamMap:function(t,e){t.geojson=e},teamMembers:function(t,e){t.members.data=e},team_settings:function(t,e){var n=oe(t.teams);n.find((function(t){return t.id===e.team_id})).pivot[e.key]=e.v,t.teams=n},teamTypes:function(t,e){t.types=e},toggleTeamLeaderboardVis:function(t,e){var n=oe(t.teams),i=n.find((function(t){return t.id===e}));i.leaderboards=!i.leaderboards,t.teams=n},usersTeams:function(t,e){t.teams=e}}},ue={admin:!1,auth:!1,countries:{},errorLogin:"",errors:{},geojson:{features:[]},helper:!1,position:0,photoPercent:0,requiredXp:0,tagPercent:0,totalPhotos:0,totalTags:0,totalUsers:0,user:{}};function ce(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function he(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){ce(a,i,r,o,s,"next",t)}function s(t){ce(a,i,r,o,s,"throw",t)}o(void 0)}))}}var de={CHANGE_PASSWORD:function(t,e){return he(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.patch("/settings/details/password",{oldpassword:e.oldpassword,password:e.password,password_confirmation:e.password_confirmation}).then((function(t){})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 2:case"end":return n.stop()}}),n)})))()},SEND_PASSWORD_RESET_LINK:function(t,e){return he(y.a.mark((function t(){var n;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),"An email will be sent with a link to reset your password if the email exists.",r.a.$vToastify.success({title:n,body:"An email will be sent with a link to reset your password if the email exists."}),t.next=5,axios.post("/password/email",{email:e}).then((function(t){})).catch((function(t){}));case 5:case"end":return t.stop()}}),t)})))()},RESET_PASSWORD:function(t,e){return he(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),n.next=3,axios.post("/password/reset",e).then((function(t){t.data.success&&(r.a.$vToastify.success({title:i,body:t.data.message}),setTimeout((function(){N.replace("/"),N.go(0)}),4e3))})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 3:case"end":return n.stop()}}),n)})))()},SEND_EMAIL_TO_US:function(t,e){return he(y.a.mark((function n(){var i;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),"We got your email. You'll hear from us soon!",n.next=4,axios.post("/contact-us",e).then((function(t){r.a.$vToastify.success({title:i,body:"We got your email. You'll hear from us soon!"})})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 4:case"end":return n.stop()}}),n)})))()},CHECK_AUTH:function(t){},DELETE_ACCOUNT:function(t,e){return he(y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.post("/settings/delete",{password:e}).then((function(t){})).catch((function(t){}));case 2:case"end":return t.stop()}}),t)})))()},DOWNLOAD_MY_DATA:function(t,e){return he(y.a.mark((function t(){var n;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),"Your download is being processed and will be emailed to you.",t.next=4,axios.get("/user/profile/download",{params:e}).then((function(t){r.a.$vToastify.success({title:n,body:"Your download is being processed and will be emailed to you.",position:"top-right"})})).catch((function(t){}));case 4:case"end":return t.stop()}}),t)})))()},GET_CURRENT_USER:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/current-user").then((function(e){t.commit("initUser",e.data),t.commit("set_default_litter_picked_up",e.data.picked_up)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_COUNTRIES_FOR_FLAGS:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/settings/flags/countries").then((function(e){t.commit("flags_countries",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_PROFILE_DATA:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/user/profile/index").then((function(e){t.commit("usersPosition",e.data)})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},GET_USERS_PROFILE_MAP_DATA:function(t,e){return he(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.get("/user/profile/map",{params:{period:e.period,start:e.start+" 00:00:00",end:e.end+" 23:59:59"}}).then((function(e){t.commit("usersGeojson",e.data.geojson)})).catch((function(t){}));case 2:case"end":return n.stop()}}),n)})))()},LOGIN:function(t,e){return he(y.a.mark((function n(){return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,axios.post("/login",{email:e.email,password:e.password}).then((function(e){t.commit("hideModal"),t.commit("login"),window.location.href="/upload"})).catch((function(e){t.commit("errorLogin",e.response.data.email)}));case 2:case"end":return n.stop()}}),n)})))()},LOGOUT:function(t){return he(y.a.mark((function e(){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.get("/logout").then((function(e){t.commit("logout"),t.commit("resetState"),window.location.href="/"})).catch((function(t){}));case 2:case"end":return e.stop()}}),e)})))()},SAVE_PRIVACY_SETTINGS:function(t){return he(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.privacy-updated"),e.next=4,axios.post("/settings/privacy/update",{show_name_maps:t.state.user.show_name_maps,show_username_maps:t.state.user.show_username_maps,show_name:t.state.user.show_name,show_username:t.state.user.show_username,show_name_createdby:t.state.user.show_name_createdby,show_username_createdby:t.state.user.show_username_createdby,prevent_others_tagging_my_photos:t.state.user.prevent_others_tagging_my_photos}).then((function(t){r.a.$vToastify.success({title:n,body:i,position:"top-right"})})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},TOGGLE_EMAIL_SUBSCRIPTION:function(t){return he(y.a.mark((function e(){var n,i,a;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.settings.subscribed"),a=_.a.t("notifications.settings.unsubscribed"),e.next=5,axios.post("/settings/email/toggle").then((function(e){e.data.sub?r.a.$vToastify.success({title:n,body:i,position:"top-right"}):r.a.$vToastify.success({title:n,body:a,position:"top-right"}),t.commit("toggle_email_sub",e.data.sub)})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()},TOGGLE_LITTER_PICKED_UP_SETTING:function(t){return he(y.a.mark((function e(){var n,i;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.litter-toggled"),e.next=4,axios.post("/settings/toggle").then((function(e){"success"===e.data.message&&(t.commit("toggle_litter_picked_up",e.data.value),r.a.$vToastify.success({title:n,body:i,position:"top-right"}))})).catch((function(t){}));case 4:case"end":return e.stop()}}),e)})))()},UPDATE_DETAILS:function(t){return he(y.a.mark((function e(){var n;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=_.a.t("notifications.success"),"Your information has been updated",e.next=4,axios.post("/settings/details",{name:t.state.user.name,email:t.state.user.email,username:t.state.user.username}).then((function(t){r.a.$vToastify.success({title:n,body:"Your information has been updated",position:"top-right"})})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 4:case"end":return e.stop()}}),e)})))()},UPDATE_GLOBAL_FLAG:function(t,e){return he(y.a.mark((function t(){var n,i;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=_.a.t("notifications.success"),i=_.a.t("notifications.settings.flag-updated"),t.next=4,axios.post("/settings/save-flag",{country:e}).then((function(t){r.a.$vToastify.success({title:n,body:i,position:"top-right"})})).catch((function(t){}));case 4:case"end":return t.stop()}}),t)})))()},UPDATE_SETTINGS:function(t,e){return he(y.a.mark((function n(){var i,a;return y.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=_.a.t("notifications.success"),a=_.a.t("notifications.settings-updated"),n.next=4,axios.patch("/settings",e).then((function(n){Object.keys(e).forEach((function(e){t.commit("deleteUserError",e)})),r.a.$vToastify.success({title:i,body:a,position:"top-right"})})).catch((function(e){t.commit("errors",e.response.data.errors)}));case 4:case"end":return n.stop()}}),n)})))()}},pe={changePrivacy:function(t,e){t.user[e.column]=e.v},changeUserEmail:function(t,e){t.user.email=e},changeUserName:function(t,e){t.user.name=e},changeUserUsername:function(t,e){t.user.username=e},decrementUsersRemainingTeams:function(t){t.user.remaining_teams--},deleteUserError:function(t,e){delete t.errors[e]},errorLogin:function(t,e){t.errorLogin=e},errors:function(t,e){t.errors=e},flags_countries:function(t,e){t.countries=e},initUser:function(t,e){t.user=e,(window.Laravel.jsPermissions.roles.includes("admin")||window.Laravel.jsPermissions.roles.includes("superadmin"))&&(t.admin=!0),window.Laravel.jsPermissions.roles.includes("helper")&&(t.helper=!0)},login:function(t){t.auth=!0},logout:function(t){t.auth=!1,t.admin=!1,t.helper=!1},incrementUsersNextLittercoinScore:function(t){var e=Object.assign({},t.user);e.littercoin_progress++,t.user=e},incrementLittercoinScore:function(t){var e=Object.assign({},t.user);e.total_littercoin++,e.littercoin_progress=0,t.user=e},usersActiveTeam:function(t,e){t.user.active_team=e},usersTeam:function(t,e){t.user.team=e},resetState:function(t){Object.assign(t,ue)},toggle_email_sub:function(t,e){t.user.emailsub=e},toggle_litter_picked_up:function(t,e){t.user.items_remaining=e},usersGeojson:function(t,e){t.geojson=e},usersPosition:function(t,e){t.position=e.usersPosition,t.totalUsers=e.totalUsers,t.totalPhotos=e.totalPhotos,t.totalTags=e.totalTags,t.photoPercent=Math.round(100*e.photoPercent,2),t.tagPercent=Math.round(100*e.tagPercent,2),t.requiredXp=e.requiredXp}},fe={state:Object.assign({},ue),actions:de,getters:{user:function(t){return t.user}},mutations:pe};r.a.use(s.a);var me=new s.a.Store({plugins:[function(t){var e=(t=t||{}).storage||window&&window.localStorage,n=t.key||"vuex";(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var i,r=function(){return(t.getState||function(t,e){var n;try{return(n=e.getItem(t))&&void 0!==n?JSON.parse(n):void 0}catch(t){}})(n,e)};return t.fetchBeforeUse&&(i=r()),function(a){t.fetchBeforeUse||(i=r()),"object"==typeof i&&null!==i&&(a.replaceState(t.overwrite?i:m(a.state,i,{arrayMerge:t.arrayMerger||function(t,e){return e},clone:!1})),(t.rehydrated||function(){})(a)),(t.subscriber||function(t){return function(e){return t.subscribe(e)}})(a)((function(i,r){(t.filter||function(){return!0})(i)&&(t.setState||function(t,e,n){return n.setItem(t,JSON.stringify(e))})(n,(t.reducer||function(t,e){return Array.isArray(e)?e.reduce((function(e,n){return function(t,e,n,i){return(e=e.split?e.split("."):e).slice(0,-1).reduce((function(t,e){return t[e]=t[e]||{}}),t)[e.pop()]=n,t}(e,n,function(t,e,n){return void 0===(t=(e.split?e.split("."):e).reduce((function(t,e){return t&&t[e]}),t))?void 0:t}(t,n))}),{}):t})(r,t.paths),e)}))}}({paths:["user","litter.recentTags"]})],modules:{admin:C,bbox:V,donate:it,citymap:Y,cleanups:J,community:tt,errors:rt,globalmap:ct,leaderboard:pt,locations:_t,litter:It,modal:Mt,payments:zt,photos:Vt,plans:Jt,subscriber:ie,teams:le,user:fe}}),ge=n("6tWx"),ve=n.n(ge),ye=n("WIaV"),_e=(n("RBMv"),n("aDiT")),be=n.n(_e),we=n("kAG5"),xe=n("nOdW"),ke=n.n(xe),Ce=n("KJ2h"),Te=n("A823"),Ee=n.n(Te),Se=n("4LeC"),Pe=n("EaH7"),Le={name:"Languages",data:function(){return{button:"dropdown navbar-item pointer",dir:"/assets/icons/flags/",langs:[{url:"en"},{url:"es"},{url:"fr"},{url:"hu"},{url:"nl"},{url:"pl"},{url:"pt"},{url:"sw"}]}},computed:{checkOpen:function(){return this.$store.state.globalmap.langsOpen?this.button+" is-active":this.button},currentLang:function(){return this.$t("locations.countries."+this.$i18n.locale+".lang")},locale:function(){return this.$i18n.locale}},methods:{changeLanguage:function(t){this.$i18n.locale=t,this.$localStorage.set("lang",t),this.$store.commit("closeLangsButton")},getFlag:function(t){return"en"===t?this.dir+"gb.png":"es"===t?this.dir+"es.png":"pl"===t?this.dir+"pl.png":"pt"===t?this.dir+"br.png":"ms"===t?this.dir+"my.png":"tk"===t?this.dir+"tr.png":"sw"===t?this.dir+"tz.png":this.dir+t.toLowerCase()+".png"},getLang:function(t){return this.$t("locations.countries."+t+".lang")},toggleOpen:function(){this.$store.commit("closeDatesButton"),this.$store.commit("toggleLangsButton")}}},Ie=(n("pzhP"),n("KHd+"));function Oe(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Ae={name:"Nav",components:{Languages:Object(Ie.a)(Le,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.checkOpen},[n("div",{staticClass:"dropdown-trigger",on:{click:function(e){return e.stopPropagation(),t.toggleOpen(e)}}},[n("button",{staticClass:"button is-small",attrs:{"aria-haspopup":"true"}},[n("img",{staticClass:"lang-flag-small",attrs:{src:t.getFlag(this.$i18n.locale)}}),t._v(" "),n("p",[t._v(t._s(this.currentLang))])])]),t._v(" "),n("div",{staticClass:"dropdown-menu"},[n("div",{staticClass:"dropdown-content",staticStyle:{padding:"0"}},t._l(t.langs,(function(e){return n("div",{staticClass:"dropdown-item hoverable flex p1em",on:{click:function(n){return t.changeLanguage(e.url)}}},[n("img",{staticClass:"lang-flag",attrs:{src:t.getFlag(e.url)}}),t._v(" "),n("p",[t._v(t._s(t.getLang(e.url)))])])})),0)])])}),[],!1,null,null,null).exports},data:function(){return{open:!1}},computed:{auth:function(){return this.$store.state.user.auth},burger:function(){return this.open?"navbar-burger burger is-active":"navbar-burger burger"},can_bbox:function(){return this.$store.state.user.user.can_bbox},nav:function(){return this.open?"navbar-menu is-active":"navbar-menu"}},methods:{close:function(){this.open=!1},login:function(){this.$store.commit("showModal",{type:"Login",title:"Login",action:"LOGIN"})},logout:function(){var t,e=this;return(t=y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("LOGOUT");case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){Oe(a,i,r,o,s,"next",t)}function s(t){Oe(a,i,r,o,s,"throw",t)}o(void 0)}))})()},toggleOpen:function(){this.open=!this.open}}},Me=(n("FZtc"),Object(Ie.a)(Ae,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("nav",{staticClass:"navbar main-nav"},[n("div",{staticClass:"container"},[n("div",{staticClass:"navbar-brand"},[n("router-link",{staticClass:"navbar-item",attrs:{to:"/"}},[n("h1",{staticClass:"nav-title"},[t._v("#OpenLitterMap")])]),t._v(" "),n("div",{class:t.burger,on:{click:t.toggleOpen}},[n("span",{staticClass:"is-white"}),t._v(" "),n("span",{staticClass:"is-white"}),t._v(" "),n("span",{staticClass:"is-white"})])],1),t._v(" "),n("div",{class:t.nav},[n("div",{staticClass:"navbar-end"},[n("router-link",{staticClass:"navbar-item",attrs:{to:"/about"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.about"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/cleanups"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n Cleanups\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/global"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.global-map"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/world"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.world-cup"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/community"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.community"))+"\n ")]),t._v(" "),t.auth?n("div",{staticClass:"flex-not-mobile"},[n("router-link",{staticClass:"navbar-item",attrs:{to:"/upload"}},[t._v("\n "+t._s(t.$t("nav.upload"))+"\n ")]),t._v(" "),n("div",{key:t.$route.fullPath,staticClass:"navbar-item has-dropdown is-hoverable"},[n("a",{staticClass:"navbar-item",attrs:{id:"more"}},[t._v(" "+t._s(t.$t("nav.more")))]),t._v(" "),n("div",{staticClass:"navbar-dropdown",staticStyle:{"z-index":"2"}},[t.can("update tags")?n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/admin/photos"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.admin-verify-photos"))+"\n ")]):t._e(),t._v(" "),t.is("superadmin")?n("a",{staticClass:"navbar-item drop-item",attrs:{href:"/horizon",target:"_blank"}},[t._v("\n "+t._s(t.$t("nav.admin-horizon"))+"\n ")]):t._e(),t._v(" "),t.can("verify boxes")?n("a",{staticClass:"navbar-item drop-item",attrs:{href:"/bbox/verify"}},[t._v("\n "+t._s(t.$t("nav.admin-verify-boxes"))+"\n ")]):t._e(),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/tag"}},[t._v("\n "+t._s(t.$t("nav.tag-litter"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/profile"}},[t._v("\n "+t._s(t.$t("nav.profile"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/teams"}},[t._v("\n "+t._s(t.$t("nav.teams"))+"\n ")]),t._v(" "),n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/settings/details"}},[t._v("\n "+t._s(t.$t("nav.settings"))+"\n ")]),t._v(" "),t.can("create boxes")?n("router-link",{staticClass:"navbar-item drop-item",attrs:{to:"/bbox"},nativeOn:{click:function(e){return t.close(e)}}},[t._v("\n "+t._s(t.$t("nav.bounding-boxes"))+"\n ")]):t._e(),t._v(" "),n("a",{staticClass:"navbar-item drop-item",on:{click:t.logout}},[t._v(" "+t._s(t.$t("nav.logout")))]),t._v(" "),n("Languages")],1)])],1):n("div",{staticClass:"flex-not-mobile"},[n("a",{staticClass:"navbar-item",on:{click:t.login}},[t._v(t._s(t.$t("nav.login")))]),t._v(" "),n("router-link",{staticClass:"navbar-item",attrs:{to:"/signup"}},[t._v("\n "+t._s(t.$t("nav.signup"))+"\n ")]),t._v(" "),n("Languages")],1)],1)])])])])}),[],!1,null,"613b535d",null).exports);function ze(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Ne={name:"Login",data:function(){return{email:"",password:"",processing:!1,btn:"button is-medium is-primary"}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errorLogin:function(){return this.$store.state.user.errorLogin}},methods:{clearLoginError:function(){this.$store.commit("errorLogin","")},login:function(){var t,e=this;return(t=y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("LOGIN",{email:e.email,password:e.password});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){ze(a,i,r,o,s,"next",t)}function s(t){ze(a,i,r,o,s,"throw",t)}o(void 0)}))})()},clearPwError:function(){this.error=!1,this.errormessage=""}}},De=(n("Qi36"),Object(Ie.a)(Ne,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{directives:[{name:"show",rawName:"v-show",value:t.errorLogin,expression:"errorLogin"}],staticStyle:{color:"red"}},[t._v(t._s(t.errorLogin))]),t._v(" "),n("form",{staticStyle:{padding:"1em 2em"},attrs:{role:"form",method:"post"},on:{submit:function(e){return e.preventDefault(),t.login(e)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input mb1em fs125",attrs:{placeholder:"you@email.com",type:"email",name:"email",required:"",autocomplete:"email"},domProps:{value:t.email},on:{keydown:t.clearLoginError,input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input mb1em fs125",attrs:{placeholder:"Your Password",type:"password",name:"password",required:"",autocomplete:"current-password"},domProps:{value:t.password},on:{keydown:t.clearPwError,input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("auth.login.login-btn")))])]),t._v(" "),n("footer",{staticClass:"modal-card-foot",staticStyle:{height:"50px"}},[n("div",{staticClass:"column is-half"},[n("a",{attrs:{href:"/signup"}},[t._v(t._s(t.$t("auth.login.signup-text")))])]),t._v(" "),n("div",{staticClass:"column is-half"},[n("a",{staticClass:"has-text-right",attrs:{href:"/password/reset"}},[t._v(t._s(t.$t("auth.login.forgot-password")))])])])])}),[],!1,null,null,null).exports),Re={name:"CreditCard",props:["cardNumber","cardName","cardMonth","cardYear","cardCvv","isCardFlipped","focusElementStyle","currentCardBackground","getCardType","otherCardMask","amexCardMask"],data:function(){return{imgs:"https://raw.githubusercontent.com/muhammederdem/credit-card-form/master/src/assets/images/"}}};n("r1L1");function je(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Fe={name:"CreditCard",components:{Card:Object(Ie.a)(Re,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card-list"},[n("div",{staticClass:"card-item",class:{"-active":t.isCardFlipped}},[n("div",{staticClass:"card-item__side -front"},[n("div",{ref:"focusElement",staticClass:"card-item__focus",class:{"-active":t.focusElementStyle},style:t.focusElementStyle}),t._v(" "),n("div",{staticClass:"card-item__cover"},[n("img",{staticClass:"card-item__bg",attrs:{src:t.imgs+t.currentCardBackground+".jpeg"}})]),t._v(" "),n("div",{staticClass:"card-item__wrapper"},[n("div",{staticClass:"card-item__top"},[n("img",{staticClass:"card-item__chip",attrs:{src:t.imgs+"chip.png"}}),t._v(" "),n("div",{staticClass:"card-item__type"},[n("transition",{attrs:{name:"slide-fade-up"}},[t.getCardType?n("img",{key:t.getCardType,staticClass:"card-item__typeImg",attrs:{src:t.imgs+t.getCardType+".png"}}):t._e()])],1)]),t._v(" "),"amex"===t.getCardType?n("div",{},[n("div",{staticClass:"card-item__cvv-amex"},t._l(t.cardCvv,(function(e,i){return n("span",{key:i},[t._v("*")])})),0)]):t._e(),t._v(" "),n("label",{ref:"cardNumber",staticClass:"card-item__number",attrs:{for:"cardNumber"}},["amex"===t.getCardType?t._l(t.amexCardMask,(function(e,i){return n("span",{key:i},[n("transition",{attrs:{name:"slide-fade-up"}},[i>4&&i<14&&t.cardNumber.length>i&&""!==e.trim()?n("div",{staticClass:"card-item__numberItem"},[t._v("*")]):t.cardNumber.length>i?n("div",{key:i,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(t.cardNumber[i]))]):n("div",{key:i+1,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(e))])])],1)})):t._l(t.otherCardMask,(function(e,i){return n("span",{key:i},[n("transition",{attrs:{name:"slide-fade-up"}},[i>4&&i<15&&t.cardNumber.length>i&&""!==e.trim()?n("div",{staticClass:"card-item__numberItem"},[t._v("*")]):t.cardNumber.length>i?n("div",{key:i,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(t.cardNumber[i])+" ")]):n("div",{key:i+1,staticClass:"card-item__numberItem",class:{"-active":""===e.trim()}},[t._v(t._s(e))])])],1)}))],2),t._v(" "),n("div",{staticClass:"card-item__content"},[n("label",{ref:"cardName",staticClass:"card-item__info",attrs:{for:"cardName"}},[n("div",{staticClass:"card-item__holder"},[t._v("Card Holder")]),t._v(" "),n("transition",{attrs:{name:"slide-fade-up"}},[t.cardName.length?n("div",{key:"1",staticClass:"card-item__name"},[n("transition-group",{attrs:{name:"slide-fade-right"}},t._l(t.cardName.replace(/\s\s+/g," "),(function(e,i){return i==i?n("span",{key:i+1,staticClass:"card-item__nameItem"},[t._v(t._s(e))]):t._e()})),0)],1):n("div",{key:"2",staticClass:"card-item__name"},[t._v("Full Name")])])],1),t._v(" "),n("div",{ref:"cardDate",staticClass:"card-item__date"},[n("label",{staticClass:"card-item__dateTitle",attrs:{for:"cardMonth"}},[t._v("Expires")]),t._v(" "),n("label",{staticClass:"card-item__dateItem",attrs:{for:"cardMonth"}},[n("transition",{attrs:{name:"slide-fade-up"}},[t.cardMonth?n("span",{key:t.cardMonth},[t._v(t._s(t.cardMonth))]):n("span",{key:"2"},[t._v("MM")])])],1),t._v("\n /\n "),n("label",{staticClass:"card-item__dateItem",attrs:{for:"cardYear"}},[n("transition",{attrs:{name:"slide-fade-up"}},[t.cardYear?n("span",{key:t.cardYear},[t._v(t._s(String(t.cardYear).slice(2,4)))]):n("span",{key:"2"},[t._v("YY")])])],1)])])])]),t._v(" "),n("div",{staticClass:"card-item__side -back"},[n("div",{staticClass:"card-item__cover"},[n("img",{staticClass:"card-item__bg",attrs:{src:this.imgs+t.currentCardBackground+".jpeg"}})]),t._v(" "),n("div",{staticClass:"card-item__band"}),t._v(" "),n("div",{staticClass:"card-item__cvv"},[n("div",{staticClass:"card-item__cvvTitle"},[t._v("CVV")]),t._v(" "),n("div",{staticClass:"card-item__cvvBand"},t._l(t.cardCvv,(function(e,i){return n("span",{key:i},[t._v("*")])})),0),t._v(" "),n("div",{staticClass:"card-item__type"},[t.getCardType?n("img",{staticClass:"card-item__typeImg",attrs:{src:this.imgs+t.getCardType+".png"}}):t._e()])])])])])}),[],!1,null,"03bccacd",null).exports},data:function(){return{btn:"card-form__button button",disabled:!1,processing:!1,currentCardBackground:Math.floor(25*Math.random()+1),cardName:"",cardNumber:"",cardMonth:"",cardYear:"",cardCvv:"",minCardYear:(new Date).getFullYear(),amexCardMask:"#### ###### #####",otherCardMask:"#### #### #### ####",cardNumberTemp:"",isCardFlipped:!1,focusElementStyle:null,isInputFocused:!1,stripe:"",elements:"",card:"",intentToken:""}},mounted:function(){this.includeStripe("js.stripe.com/v3/",function(){this.configureStripe()}.bind(this)),this.loadIntent(),this.cardNumberTemp=this.otherCardMask,document.getElementById("cardNumber").focus()},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.payments.errors},generateCardNumberMask:function(){return"amex"===this.getCardType?this.amexCardMask:this.otherCardMask},getCardType:function(){var t=this.cardNumber,e=new RegExp("^4");return null!=t.match(e)?"visa":(e=new RegExp("^(34|37)"),null!=t.match(e)?"amex":(e=new RegExp("^5[1-5]"),null!=t.match(e)?"mastercard":(e=new RegExp("^6011"),null!=t.match(e)?"discover":(e=new RegExp("^9792"),null!=t.match(e)?"troy":"visa"))))},minCardMonth:function(){return this.cardYear===this.minCardYear?(new Date).getMonth()+1:1}},watch:{cardYear:function(){this.cardMonth0&&void 0===this.errors.main?this.disabled=!0:this.disabled=!1},clearErrors:function(t){this.$store.commit("clearCustomerCenterErrors",t),this.checkForErrors()},close:function(){this.$store.commit("hideModal")},configureStripe:function(){this.stripe=Stripe(""),this.elements=this.stripe.elements(),this.card=this.elements.create("card"),this.card.mount("#card-element")},errorsExist:function(t){return this.errors.hasOwnProperty(t)},flipCard:function(t){"amex"!==this.getCardType&&(this.isCardFlipped=t)},focusInput:function(t){this.isInputFocused=!0;var e=t.target.dataset.ref,n=this.$refs[e];this.focusElementStyle={width:"".concat(n.offsetWidth,"px"),height:"".concat(n.offsetHeight,"px"),transform:"translateX(".concat(n.offsetLeft,"px) translateY(").concat(n.offsetTop,"px)")}},getFirstError:function(t){return this.errors[t][0]},hasError:function(t){return void 0!==this.errors[t]},includeStripe:function(t,e){var n=document,i=n.createElement("script"),r=n.getElementsByTagName("script")[0];i.src="//"+t,e&&i.addEventListener("load",(function(t){e(null,t)}),!1),r.parentNode.insertBefore(i,r)},loadIntent:function(){var t,e=this;return(t=y.a.mark((function t(){return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,axios.get("/api/v1/user/setup-intent").then((function(t){e.intentToken=t.data}));case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){je(a,i,r,o,s,"next",t)}function s(t){je(a,i,r,o,s,"throw",t)}o(void 0)}))})()},submit:function(){Stripe("").redirectToCheckout({lineItems:[{price:"plan_E579ju4xamcU41",quantity:1}],mode:"subscription",successUrl:"https://www.example.com/success",cancelUrl:"https://www.example.com/cancel"})}}},Be=(n("sE6M"),Object(Ie.a)(Fe,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cc-wrapper"},[n("div",{staticClass:"card-form"},[n("Card",{attrs:{cardNumber:t.cardNumber,cardName:t.cardName,cardMonth:t.cardMonth,cardYear:t.cardYear,cardCvv:t.cardCvv,isCardFlipped:t.isCardFlipped,focusElementStyle:t.focusElementStyle,currentCardBackground:t.currentCardBackground,getCardType:t.getCardType,otherCardMask:t.otherCardMask,amexCardMask:t.amexCardMask}}),t._v(" "),n("div",{attrs:{id:"card-element"}}),t._v(" "),n("div",{staticClass:"card-form__inner"},[Object.keys(this.errors).length>0&&void 0!==this.errors.main?n("div",{staticClass:"notification is-danger",staticStyle:{"margin-bottom":"20px","margin-top":"-40px"}},[n("p",[t._v(t._s(this.errors.main))])]):t._e(),t._v(" "),n("div",{staticClass:"card-input margin-mobile"},[n("label",{staticClass:"card-input__label",class:t.errorsExist("cc_number")?"label-danger":"",attrs:{for:"cardNumber"}},[t._v(t._s(t.$t("creditcard.card-number")))]),t._v(" "),n("input",{directives:[{name:"mask",rawName:"v-mask",value:t.generateCardNumberMask,expression:"generateCardNumberMask"},{name:"model",rawName:"v-model",value:t.cardNumber,expression:"cardNumber"}],staticClass:"card-input__input",class:t.errorsExist("cc_number")?"border-danger":"",attrs:{type:"text",id:"cardNumber",focus:t.focusInput,blur:t.blurInput,"data-ref":"cardNumber",autocomplete:"off",placeholder:this.$t("creditcard.placeholders.card-number")},domProps:{value:t.cardNumber},on:{input:[function(e){e.target.composing||(t.cardNumber=e.target.value)},function(e){return t.clearErrors("cc_number")}]}}),t._v(" "),t.hasError("cc_number")?n("div",{class:t.errorsExist("cc_number")?"error-message":""},[n("span",[t._v(t._s(t.getFirstError("cc_number")))])]):t._e()]),t._v(" "),n("div",{staticClass:"card-input"},[n("label",{staticClass:"card-input__label",class:t.errorsExist("cc_name")?"label-danger":"",attrs:{for:"cardName"}},[t._v(t._s(t.$t("creditcard.card-holder")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.cardName,expression:"cardName"}],staticClass:"card-input__input",class:t.errorsExist("cc_name")?"border-danger":"",attrs:{type:"text",id:"cardName",focus:t.focusInput,blur:t.blurInput,"data-ref":"cardName",autocomplete:"off",placeholder:this.$t("creditcard.placeholders.card-holder")},domProps:{value:t.cardName},on:{input:[function(e){e.target.composing||(t.cardName=e.target.value)},function(e){return t.clearErrors("cc_name")}]}}),t._v(" "),t.hasError("cc_name")?n("div",{class:t.errorsExist("cc_name")?"error-message":""},[n("span",[t._v(t._s(t.getFirstError("cc_name")))])]):t._e()]),t._v(" "),n("div",{staticClass:"card-form__row"},[n("div",{staticClass:"card-form__col"},[n("div",{staticClass:"card-form__group"},[n("label",{staticClass:"card-input__label",attrs:{for:"cardMonth"}},[t._v(t._s(t.$t("creditcard.exp")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.cardMonth,expression:"cardMonth"}],staticClass:"card-input__input -select",attrs:{id:"cardMonth",focus:t.focusInput,"data-ref":"cardDate"},on:{blur:t.blurInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.cardMonth=e.target.multiple?n:n[0]},function(e){return t.clearErrors("cc_exp_month")}]}},[n("option",{attrs:{value:"",disabled:"",selected:""}},[t._v(t._s(t.$t("creditcard.placeholders.exp-month")))]),t._v(" "),t._l(12,(function(e){return n("option",{key:e,attrs:{disabled:et.length)&&(e=t.length);for(var n=0,i=new Array(e);nHiyo ina maana kwamba huchangii timu yoyote kwa sasa.
      Unaweza kuchagua timu ilio hai kwa kubofya alama za nyota kwenye orodha ya chini.","disable-contributions-tooltip":"Hii inazima michango ya timu yako kuanzia sasa na kuendelea. Bado utakuwa mwanachama wa timu zako na unaweza kuwasha michango wakati wowote.","team-details":"Maelezo ya Timu","all-my-teams":"Timu Zangu Zote","this-is-active-team":"Hii ni timu yako inayofanya kazi","set-as-active-team":"Weka kama timu yako hai","team-identifier":"Kitambulisho cha Timu","join-team":"Tafadhali jiunge na timu","leave-team":"Acha timu","just-left-team":"Umeacha timu","cant-leave-team":"Huwezi kuondoka kwenye timu hii kwa kuwa wewe ndiwe pekee mwanachama","change-active-team":"Jiunge na timu","download-team-data":"Pakua taarifa za timu","hide-from-leaderboards":"Ficha kwenye ubao wa vingozi","show-on-leaderboards":"Onyesha kwenye ubao wa vingozi","position-header":"Nafasi","name-header":"Jina","username-header":"Jina unalotumia","status-header":"Hali","photos-header":"Picha","litter-header":"Taka","identifier-header":"Utambulisho","members-header":"Wanachama","last-activity-header":"Shughuli ya mwisho","confirm-leave-team":"Je, una uhakika?\\nUnaweza kujiunga tena wakati wowote na michango yako itahifadhiwa."}')},dvjZ:function(t,e,n){var i=n("oUSK");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},dxLh:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Wprowadź identyfikator, aby dołączyć do drużyny.","team-identifier":"Dołącz do drużyny przez jej identyfikator","enter-id-to-join-placeholder":"Wpisz identyfikator, aby dołączyć do drużyny","join-team":"Dołącz do drużyny"}')},e7o3:function(t){t.exports=JSON.parse('{"allowed-to-create":"Je mag {teams} team(s) aanmaken","what-kind-of-team":"Wat voor soort team wil je aanmaken?","team-type":"Team Type","team-name":"Team Naam","my-awesome-team-placeholder":"Mijn Geweldige Team","unique-team-id":"Uniek Kenmerk van het team","id-to-join-team":"Iedereen met dit kenmerk kan zich aansluiten bij jouw team.","create-team":"Maak Team Aan","update-team":"Team bijwerken","created":"Gefeliciteerd! Je nieuwe team is aangemaakt.","updated":"Team bijgewerkt.","select-team":"Selecteer een team","fail":"Er ging iets mis bij het aanmaken van jouw Team","max-created":"Het maximum aantal teams dat je kunt aanmaken is bereikt."}')},eC5B:function(t,e,n){var i;i=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";var i=n(1);t.exports=i.default},function(t,e,n){"use strict";var i=n(2),r=n(9),a=n(24),o=n(39),s=n(40),l=n(41),u=n(12),c=n(5),h=n(71),d=n(8),p=n(43),f=n(14),m=function(){function t(e,n){var u=this;if(function(t){if(null==t)throw"You must pass your app key when you instantiate Pusher."}(e),!(n=n||{}).cluster&&!n.wsHost&&!n.httpHost){var m=f.default.buildLogSuffix("javascriptQuickStart");d.default.warn("You should always specify a cluster when connecting. "+m)}this.key=e,this.config=r.extend(h.getGlobalConfig(),n.cluster?h.getClusterConfig(n.cluster):{},n),this.channels=p.default.createChannels(),this.global_emitter=new a.default,this.sessionID=Math.floor(1e9*Math.random()),this.timeline=new o.default(this.key,this.sessionID,{cluster:this.config.cluster,features:t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:s.default.INFO,version:c.default.VERSION}),this.config.disableStats||(this.timelineSender=p.default.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+i.default.TimelineTransport.name})),this.connection=p.default.createConnectionManager(this.key,r.extend({getStrategy:function(t){var e=r.extend({},u.config,t);return l.build(i.default.getDefaultStrategy(e),e)},timeline:this.timeline,activityTimeout:this.config.activity_timeout,pongTimeout:this.config.pong_timeout,unavailableTimeout:this.config.unavailable_timeout},this.config,{useTLS:this.shouldUseTLS()})),this.connection.bind("connected",(function(){u.subscribeAll(),u.timelineSender&&u.timelineSender.send(u.connection.isUsingTLS())})),this.connection.bind("message",(function(t){var e=0===t.event.indexOf("pusher_internal:");if(t.channel){var n=u.channel(t.channel);n&&n.handleEvent(t)}e||u.global_emitter.emit(t.event,t.data)})),this.connection.bind("connecting",(function(){u.channels.disconnect()})),this.connection.bind("disconnected",(function(){u.channels.disconnect()})),this.connection.bind("error",(function(t){d.default.warn("Error",t)})),t.instances.push(this),this.timeline.info({instances:t.instances.length}),t.isReady&&this.connect()}return t.ready=function(){t.isReady=!0;for(var e=0,n=t.instances.length;e0)i.loading[t].push(n);else{i.loading[t]=[n];var a=r.default.createScriptRequest(i.getPath(t,e)),o=i.receivers.create((function(e){if(i.receivers.remove(o),i.loading[t]){var n=i.loading[t];delete i.loading[t];for(var r=function(t){t||a.cleanup()},s=0;s>>6)+i(128|63&e):i(224|e>>>12&15)+i(128|e>>>6&63)+i(128|63&e)},u=function(t){return t.replace(/[^\x00-\x7F]/g,l)},c=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0);return[r.charAt(n>>>18),r.charAt(n>>>12&63),e>=2?"=":r.charAt(n>>>6&63),e>=1?"=":r.charAt(63&n)].join("")},h=window.btoa||function(t){return t.replace(/[\s\S]{1,3}/g,c)}},function(t,e,n){"use strict";var i=n(12),r={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(t){return new i.OneOffTimer(0,t)},method:function(t){for(var e=[],n=1;n0)for(i=0;i0&&t.onChunk(200,e.responseText)},e.onload=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText),t.emit("finished",200),t.close()},e},abortRequest:function(t){t.ontimeout=t.onerror=t.onprogress=t.onload=null,t.abort()}};e.__esModule=!0,e.default=r},function(t,e){"use strict";var n=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},i=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.BadEventName=i;var r=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.RequestTimedOut=r;var a=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportPriorityTooLow=a;var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportClosed=o;var s=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedFeature=s;var l=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedTransport=l;var u=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedStrategy=u},function(t,e,n){"use strict";var i=n(33),r=n(34),a=n(36),o=n(37),s=n(38),l={createStreamingSocket:function(t){return this.createSocket(a.default,t)},createPollingSocket:function(t){return this.createSocket(o.default,t)},createSocket:function(t,e){return new r.default(t,e)},createXHR:function(t,e){return this.createRequest(s.default,t,e)},createRequest:function(t,e,n){return new i.default(t,e,n)}};e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(2),a=n(24),o=function(t){function e(e,n,i){t.call(this),this.hooks=e,this.method=n,this.url=i}return i(e,t),e.prototype.start=function(t){var e=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){e.close()},r.default.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(t)},e.prototype.close=function(){this.unloader&&(r.default.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},e.prototype.onChunk=function(t,e){for(;;){var n=this.advanceBuffer(e);if(!n)break;this.emit("chunk",{status:t,data:n})}this.isBufferTooLong(e)&&this.emit("buffer_too_long")},e.prototype.advanceBuffer=function(t){var e=t.slice(this.position),n=e.indexOf("\n");return-1!==n?(this.position+=n+1,e.slice(0,n)):null},e.prototype.isBufferTooLong=function(t){return this.position===t.length&&t.length>262144},e}(a.default);e.__esModule=!0,e.default=o},function(t,e,n){"use strict";var i=n(35),r=n(11),a=n(2),o=1,s=function(){function t(t,e){this.hooks=t,this.session=u(1e3)+"/"+function(t){for(var e=[],n=0;n0&&t.onChunk(e.status,e.responseText);break;case 4:e.responseText&&e.responseText.length>0&&t.onChunk(e.status,e.responseText),t.emit("finished",e.status),t.close()}},e},abortRequest:function(t){t.onreadystatechange=null,t.abort()}};e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=n(9),r=n(11),a=n(40),o=function(){function t(t,e,n){this.key=t,this.session=e,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return t.prototype.log=function(t,e){t<=this.options.level&&(this.events.push(i.extend({},e,{timestamp:r.default.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},t.prototype.error=function(t){this.log(a.default.ERROR,t)},t.prototype.info=function(t){this.log(a.default.INFO,t)},t.prototype.debug=function(t){this.log(a.default.DEBUG,t)},t.prototype.isEmpty=function(){return 0===this.events.length},t.prototype.send=function(t,e){var n=this,r=i.extend({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],t(r,(function(t,i){t||n.sent++,e&&e(t,i)})),!0},t.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},t}();e.__esModule=!0,e.default=o},function(t,e){"use strict";var n;!function(t){t[t.ERROR=3]="ERROR",t[t.INFO=6]="INFO",t[t.DEBUG=7]="DEBUG"}(n||(n={})),e.__esModule=!0,e.default=n},function(t,e,n){"use strict";var i=n(9),r=n(11),a=n(42),o=n(31),s=n(64),l=n(65),u=n(66),c=n(67),h=n(68),d=n(69),p=n(70),f=n(2).default.Transports;e.build=function(t,e){return w(t,i.extend({},v,e))[1].strategy};var m={isSupported:function(){return!1},connect:function(t,e){var n=r.default.defer((function(){e(new o.UnsupportedStrategy)}));return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}};function g(t){return function(e){return[t.apply(this,arguments),e]}}var v={extend:function(t,e,n){return[i.extend({},e,n),t]},def:function(t,e,n){if(void 0!==t[e])throw"Redefining symbol "+e;return t[e]=n,[void 0,t]},def_transport:function(t,e,n,r,a,l){var u,c=f[n];if(!c)throw new o.UnsupportedTransport(n);u=t.enabledTransports&&-1===i.arrayIndexOf(t.enabledTransports,e)||t.disabledTransports&&-1!==i.arrayIndexOf(t.disabledTransports,e)?m:new s.default(e,r,l?l.getAssistant(c):c,i.extend({key:t.key,useTLS:t.useTLS,timeline:t.timeline,ignoreNullOrigin:t.ignoreNullOrigin},a));var h=t.def(t,e,u)[1];return h.Transports=t.Transports||{},h.Transports[e]=u,[void 0,h]},transport_manager:g((function(t,e){return new a.default(e)})),sequential:g((function(t,e){var n=Array.prototype.slice.call(arguments,2);return new l.default(n,e)})),cached:g((function(t,e,n){return new c.default(n,t.Transports,{ttl:e,timeline:t.timeline,useTLS:t.useTLS})})),first_connected:g((function(t,e){return new p.default(e)})),best_connected_ever:g((function(){var t=Array.prototype.slice.call(arguments,1);return new u.default(t)})),delayed:g((function(t,e,n){return new h.default(n,{delay:e})})),if:g((function(t,e,n,i){return new d.default(e,n,i)})),is_supported:g((function(t,e){return function(){return e.isSupported()}}))};function y(t){return"string"==typeof t&&":"===t.charAt(0)}function _(t,e){return e[t.slice(1)]}function b(t,e){if(y(t[0])){var n=_(t[0],e);if(t.length>1){if("function"!=typeof n)throw"Calling non-function "+t[0];var r=[i.extend({},e)].concat(i.map(t.slice(1),(function(t){return w(t,i.extend({},e))[0]})));return n.apply(this,r)}return[n,e]}return function t(e,n){if(0===e.length)return[[],n];var i=w(e[0],n),r=t(e.slice(1),i[1]);return[[i[0]].concat(r[0]),r[1]]}(t,e)}function w(t,e){return"string"==typeof t?function(t,e){if(!y(t))return[t,e];var n=_(t,e);if(void 0===n)throw"Undefined symbol "+t;return[n,e]}(t,e):"object"==typeof t&&t instanceof Array&&t.length>0?b(t,e):[t,e]}},function(t,e,n){"use strict";var i=n(43),r=function(){function t(t){this.options=t||{},this.livesLeft=this.options.lives||1/0}return t.prototype.getAssistant=function(t){return i.default.createAssistantToTheTransportManager(this,t,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},t.prototype.isAlive=function(){return this.livesLeft>0},t.prototype.reportDeath=function(){this.livesLeft-=1},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=n(44),r=n(45),a=n(48),o=n(49),s=n(50),l=n(51),u=n(54),c=n(52),h=n(62),d=n(63),p={createChannels:function(){return new d.default},createConnectionManager:function(t,e){return new h.default(t,e)},createChannel:function(t,e){return new c.default(t,e)},createPrivateChannel:function(t,e){return new l.default(t,e)},createPresenceChannel:function(t,e){return new s.default(t,e)},createEncryptedChannel:function(t,e){return new u.default(t,e)},createTimelineSender:function(t,e){return new o.default(t,e)},createAuthorizer:function(t,e){return e.authorizer?e.authorizer(t,e):new a.default(t,e)},createHandshake:function(t,e){return new r.default(t,e)},createAssistantToTheTransportManager:function(t,e,n){return new i.default(t,e,n)}};e.__esModule=!0,e.default=p},function(t,e,n){"use strict";var i=n(11),r=n(9),a=function(){function t(t,e,n){this.manager=t,this.transport=e,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=void 0}return t.prototype.createConnection=function(t,e,n,a){var o=this;a=r.extend({},a,{activityTimeout:this.pingDelay});var s=this.transport.createConnection(t,e,n,a),l=null,u=function(){s.unbind("open",u),s.bind("closed",c),l=i.default.now()},c=function(t){if(s.unbind("closed",c),1002===t.code||1003===t.code)o.manager.reportDeath();else if(!t.wasClean&&l){var e=i.default.now()-l;e<2*o.maxPingDelay&&(o.manager.reportDeath(),o.pingDelay=Math.max(e/2,o.minPingDelay))}};return s.bind("open",u),s},t.prototype.isSupported=function(t){return this.manager.isAlive()&&this.transport.isSupported(t)},t}();e.__esModule=!0,e.default=a},function(t,e,n){"use strict";var i=n(9),r=n(46),a=n(47),o=function(){function t(t,e){this.transport=t,this.callback=e,this.bindListeners()}return t.prototype.close=function(){this.unbindListeners(),this.transport.close()},t.prototype.bindListeners=function(){var t=this;this.onMessage=function(e){var n;t.unbindListeners();try{n=r.processHandshake(e)}catch(e){return t.finish("error",{error:e}),void t.transport.close()}"connected"===n.action?t.finish("connected",{connection:new a.default(n.id,t.transport),activityTimeout:n.activityTimeout}):(t.finish(n.action,{error:n.error}),t.transport.close())},this.onClosed=function(e){t.unbindListeners();var n=r.getCloseAction(e)||"backoff",i=r.getCloseError(e);t.finish(n,{error:i})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},t.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},t.prototype.finish=function(t,e){this.callback(i.extend({transport:this.transport,action:t},e))},t}();e.__esModule=!0,e.default=o},function(t,e){"use strict";e.decodeMessage=function(t){try{var e=JSON.parse(t.data),n=e.data;if("string"==typeof n)try{n=JSON.parse(e.data)}catch(t){}var i={event:e.event,channel:e.channel,data:n};return e.user_id&&(i.user_id=e.user_id),i}catch(e){throw{type:"MessageParseError",error:e,data:t.data}}},e.encodeMessage=function(t){return JSON.stringify(t)},e.processHandshake=function(t){var n=e.decodeMessage(t);if("pusher:connection_established"===n.event){if(!n.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:n.data.socket_id,activityTimeout:1e3*n.data.activity_timeout}}if("pusher:error"===n.event)return{action:this.getCloseAction(n.data),error:this.getCloseError(n.data)};throw"Invalid handshake"},e.getCloseAction=function(t){return t.code<4e3?t.code>=1002&&t.code<=1004?"backoff":null:4e3===t.code?"tls_only":t.code<4100?"refused":t.code<4200?"backoff":t.code<4300?"retry":"refused"},e.getCloseError=function(t){return 1e3!==t.code&&1001!==t.code?{type:"PusherError",data:{code:t.code,message:t.reason||t.message}}:null}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(9),a=n(24),o=n(46),s=n(8),l=function(t){function e(e,n){t.call(this),this.id=e,this.transport=n,this.activityTimeout=n.activityTimeout,this.bindListeners()}return i(e,t),e.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},e.prototype.send=function(t){return this.transport.send(t)},e.prototype.send_event=function(t,e,n){var i={event:t,data:e};return n&&(i.channel=n),s.default.debug("Event sent",i),this.send(o.encodeMessage(i))},e.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},e.prototype.close=function(){this.transport.close()},e.prototype.bindListeners=function(){var t=this,e={message:function(e){var n;try{n=o.decodeMessage(e)}catch(n){t.emit("error",{type:"MessageParseError",error:n,data:e.data})}if(void 0!==n){switch(s.default.debug("Event recd",n),n.event){case"pusher:error":t.emit("error",{type:"PusherError",data:n.data});break;case"pusher:ping":t.emit("ping");break;case"pusher:pong":t.emit("pong")}t.emit("message",n)}},activity:function(){t.emit("activity")},error:function(e){t.emit("error",{type:"WebSocketError",error:e})},closed:function(e){n(),e&&e.code&&t.handleCloseEvent(e),t.transport=null,t.emit("closed")}},n=function(){r.objectApply(e,(function(e,n){t.transport.unbind(n,e)}))};r.objectApply(e,(function(e,n){t.transport.bind(n,e)}))},e.prototype.handleCloseEvent=function(t){var e=o.getCloseAction(t),n=o.getCloseError(t);n&&this.emit("error",n),e&&this.emit(e,{action:e,error:n})},e}(a.default);e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=n(2),r=function(){function t(t,e){this.channel=t;var n=e.authTransport;if(void 0===i.default.getAuthorizers()[n])throw"'"+n+"' is not a recognized auth transport";this.type=n,this.options=e,this.authOptions=(e||{}).auth||{}}return t.prototype.composeQuery=function(t){var e="socket_id="+encodeURIComponent(t)+"&channel_name="+encodeURIComponent(this.channel.name);for(var n in this.authOptions.params)e+="&"+encodeURIComponent(n)+"="+encodeURIComponent(this.authOptions.params[n]);return e},t.prototype.authorize=function(e,n){return t.authorizers=t.authorizers||i.default.getAuthorizers(),t.authorizers[this.type].call(this,i.default,e,n)},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=n(2),r=function(){function t(t,e){this.timeline=t,this.options=e||{}}return t.prototype.send=function(t,e){this.timeline.isEmpty()||this.timeline.send(i.default.TimelineTransport.getAgent(this,t),e)},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(51),a=n(8),o=n(53),s=n(14),l=function(t){function e(e,n){t.call(this,e,n),this.members=new o.default}return i(e,t),e.prototype.authorize=function(e,n){var i=this;t.prototype.authorize.call(this,e,(function(t,e){if(!t){if(void 0===e.channel_data){var r=s.default.buildLogSuffix("authenticationEndpoint");return a.default.warn("Invalid auth response for channel '"+i.name+"',expected 'channel_data' field. "+r),void n("Invalid auth response")}var o=JSON.parse(e.channel_data);i.members.setMyID(o.user_id)}n(t,e)}))},e.prototype.handleEvent=function(t){var e=t.event;if(0===e.indexOf("pusher_internal:"))this.handleInternalEvent(t);else{var n=t.data,i={};t.user_id&&(i.user_id=t.user_id),this.emit(e,n,i)}},e.prototype.handleInternalEvent=function(t){var e=t.event,n=t.data;switch(e){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(t);break;case"pusher_internal:member_added":var i=this.members.addMember(n);this.emit("pusher:member_added",i);break;case"pusher_internal:member_removed":var r=this.members.removeMember(n);r&&this.emit("pusher:member_removed",r)}},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(t.data),this.emit("pusher:subscription_succeeded",this.members))},e.prototype.disconnect=function(){this.members.reset(),t.prototype.disconnect.call(this)},e}(r.default);e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(43),a=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.authorize=function(t,e){return r.default.createAuthorizer(this,this.pusher.config).authorize(t,e)},e}(n(52).default);e.__esModule=!0,e.default=a},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(24),a=n(31),o=n(8),s=n(14),l=function(t){function e(e,n){t.call(this,(function(t,n){o.default.debug("No callbacks on "+e+" for "+t)})),this.name=e,this.pusher=n,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}return i(e,t),e.prototype.authorize=function(t,e){return e(!1,{})},e.prototype.trigger=function(t,e){if(0!==t.indexOf("client-"))throw new a.BadEventName("Event '"+t+"' does not start with 'client-'");if(!this.subscribed){var n=s.default.buildLogSuffix("triggeringClientEvents");o.default.warn("Client event triggered before channel 'subscription_succeeded' event . "+n)}return this.pusher.send_event(t,e,this.name)},e.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},e.prototype.handleEvent=function(t){var e=t.event,n=t.data;"pusher_internal:subscription_succeeded"===e?this.handleSubscriptionSucceededEvent(t):0!==e.indexOf("pusher_internal:")&&this.emit(e,n,{})},e.prototype.handleSubscriptionSucceededEvent=function(t){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",t.data)},e.prototype.subscribe=function(){var t=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,(function(e,n){e?t.emit("pusher:subscription_error",n):t.pusher.send_event("pusher:subscribe",{auth:n.auth,channel_data:n.channel_data,channel:t.name})})))},e.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},e.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},e.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},e}(r.default);e.__esModule=!0,e.default=l},function(t,e,n){"use strict";var i=n(9),r=function(){function t(){this.reset()}return t.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.members,t)?{id:t,info:this.members[t]}:null},t.prototype.each=function(t){var e=this;i.objectApply(this.members,(function(n,i){t(e.get(i))}))},t.prototype.setMyID=function(t){this.myID=t},t.prototype.onSubscription=function(t){this.members=t.presence.hash,this.count=t.presence.count,this.me=this.get(this.myID)},t.prototype.addMember=function(t){return null===this.get(t.user_id)&&this.count++,this.members[t.user_id]=t.user_info,this.get(t.user_id)},t.prototype.removeMember=function(t){var e=this.get(t.user_id);return e&&(delete this.members[t.user_id],this.count--),e},t.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},t}();e.__esModule=!0,e.default=r},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(51),a=n(31),o=n(8),s=n(55),l=n(57),u=function(t){function e(){t.apply(this,arguments),this.key=null}return i(e,t),e.prototype.authorize=function(e,n){var i=this;t.prototype.authorize.call(this,e,(function(t,e){if(t)n(!0,e);else{var r=e.shared_secret;if(!r){var a="No shared_secret key in auth payload for encrypted channel: "+i.name;return n(!0,a),void o.default.warn("Error: "+a)}i.key=l.decodeBase64(r),delete e.shared_secret,n(!1,e)}}))},e.prototype.trigger=function(t,e){throw new a.UnsupportedFeature("Client events are not currently supported for encrypted channels")},e.prototype.handleEvent=function(e){var n=e.event,i=e.data;0!==n.indexOf("pusher_internal:")&&0!==n.indexOf("pusher:")?this.handleEncryptedEvent(n,i):t.prototype.handleEvent.call(this,e)},e.prototype.handleEncryptedEvent=function(t,e){var n=this;if(this.key)if(e.ciphertext&&e.nonce){var i=l.decodeBase64(e.ciphertext);if(i.length>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n,t[e+4]=i>>24&255,t[e+5]=i>>16&255,t[e+6]=i>>8&255,t[e+7]=255&i}function m(t,e,n,i,r){var a,o=0;for(a=0;a>>8)-1}function g(t,e,n,i){return m(t,e,n,i,16)}function v(t,e,n,i){return m(t,e,n,i,32)}function y(t,e,n,i){!function(t,e,n,i){for(var r,a=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,c=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,h=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,d=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,p=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,f=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,m=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,g=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,v=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,_=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,b=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,w=a,x=o,k=s,C=l,T=u,E=c,S=h,P=d,L=p,I=f,O=m,A=g,M=v,z=y,N=_,D=b,R=0;R<20;R+=2)w^=(r=(M^=(r=(L^=(r=(T^=(r=w+M|0)<<7|r>>>25)+w|0)<<9|r>>>23)+T|0)<<13|r>>>19)+L|0)<<18|r>>>14,E^=(r=(x^=(r=(z^=(r=(I^=(r=E+x|0)<<7|r>>>25)+E|0)<<9|r>>>23)+I|0)<<13|r>>>19)+z|0)<<18|r>>>14,O^=(r=(S^=(r=(k^=(r=(N^=(r=O+S|0)<<7|r>>>25)+O|0)<<9|r>>>23)+N|0)<<13|r>>>19)+k|0)<<18|r>>>14,D^=(r=(A^=(r=(P^=(r=(C^=(r=D+A|0)<<7|r>>>25)+D|0)<<9|r>>>23)+C|0)<<13|r>>>19)+P|0)<<18|r>>>14,w^=(r=(C^=(r=(k^=(r=(x^=(r=w+C|0)<<7|r>>>25)+w|0)<<9|r>>>23)+x|0)<<13|r>>>19)+k|0)<<18|r>>>14,E^=(r=(T^=(r=(P^=(r=(S^=(r=E+T|0)<<7|r>>>25)+E|0)<<9|r>>>23)+S|0)<<13|r>>>19)+P|0)<<18|r>>>14,O^=(r=(I^=(r=(L^=(r=(A^=(r=O+I|0)<<7|r>>>25)+O|0)<<9|r>>>23)+A|0)<<13|r>>>19)+L|0)<<18|r>>>14,D^=(r=(N^=(r=(z^=(r=(M^=(r=D+N|0)<<7|r>>>25)+D|0)<<9|r>>>23)+M|0)<<13|r>>>19)+z|0)<<18|r>>>14;w=w+a|0,x=x+o|0,k=k+s|0,C=C+l|0,T=T+u|0,E=E+c|0,S=S+h|0,P=P+d|0,L=L+p|0,I=I+f|0,O=O+m|0,A=A+g|0,M=M+v|0,z=z+y|0,N=N+_|0,D=D+b|0,t[0]=w>>>0&255,t[1]=w>>>8&255,t[2]=w>>>16&255,t[3]=w>>>24&255,t[4]=x>>>0&255,t[5]=x>>>8&255,t[6]=x>>>16&255,t[7]=x>>>24&255,t[8]=k>>>0&255,t[9]=k>>>8&255,t[10]=k>>>16&255,t[11]=k>>>24&255,t[12]=C>>>0&255,t[13]=C>>>8&255,t[14]=C>>>16&255,t[15]=C>>>24&255,t[16]=T>>>0&255,t[17]=T>>>8&255,t[18]=T>>>16&255,t[19]=T>>>24&255,t[20]=E>>>0&255,t[21]=E>>>8&255,t[22]=E>>>16&255,t[23]=E>>>24&255,t[24]=S>>>0&255,t[25]=S>>>8&255,t[26]=S>>>16&255,t[27]=S>>>24&255,t[28]=P>>>0&255,t[29]=P>>>8&255,t[30]=P>>>16&255,t[31]=P>>>24&255,t[32]=L>>>0&255,t[33]=L>>>8&255,t[34]=L>>>16&255,t[35]=L>>>24&255,t[36]=I>>>0&255,t[37]=I>>>8&255,t[38]=I>>>16&255,t[39]=I>>>24&255,t[40]=O>>>0&255,t[41]=O>>>8&255,t[42]=O>>>16&255,t[43]=O>>>24&255,t[44]=A>>>0&255,t[45]=A>>>8&255,t[46]=A>>>16&255,t[47]=A>>>24&255,t[48]=M>>>0&255,t[49]=M>>>8&255,t[50]=M>>>16&255,t[51]=M>>>24&255,t[52]=z>>>0&255,t[53]=z>>>8&255,t[54]=z>>>16&255,t[55]=z>>>24&255,t[56]=N>>>0&255,t[57]=N>>>8&255,t[58]=N>>>16&255,t[59]=N>>>24&255,t[60]=D>>>0&255,t[61]=D>>>8&255,t[62]=D>>>16&255,t[63]=D>>>24&255}(t,e,n,i)}function _(t,e,n,i){!function(t,e,n,i){for(var r,a=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,l=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,c=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,h=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,d=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,p=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,f=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,m=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,g=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,v=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,_=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,b=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,w=0;w<20;w+=2)a^=(r=(v^=(r=(p^=(r=(u^=(r=a+v|0)<<7|r>>>25)+a|0)<<9|r>>>23)+u|0)<<13|r>>>19)+p|0)<<18|r>>>14,c^=(r=(o^=(r=(y^=(r=(f^=(r=c+o|0)<<7|r>>>25)+c|0)<<9|r>>>23)+f|0)<<13|r>>>19)+y|0)<<18|r>>>14,m^=(r=(h^=(r=(s^=(r=(_^=(r=m+h|0)<<7|r>>>25)+m|0)<<9|r>>>23)+_|0)<<13|r>>>19)+s|0)<<18|r>>>14,b^=(r=(g^=(r=(d^=(r=(l^=(r=b+g|0)<<7|r>>>25)+b|0)<<9|r>>>23)+l|0)<<13|r>>>19)+d|0)<<18|r>>>14,a^=(r=(l^=(r=(s^=(r=(o^=(r=a+l|0)<<7|r>>>25)+a|0)<<9|r>>>23)+o|0)<<13|r>>>19)+s|0)<<18|r>>>14,c^=(r=(u^=(r=(d^=(r=(h^=(r=c+u|0)<<7|r>>>25)+c|0)<<9|r>>>23)+h|0)<<13|r>>>19)+d|0)<<18|r>>>14,m^=(r=(f^=(r=(p^=(r=(g^=(r=m+f|0)<<7|r>>>25)+m|0)<<9|r>>>23)+g|0)<<13|r>>>19)+p|0)<<18|r>>>14,b^=(r=(_^=(r=(y^=(r=(v^=(r=b+_|0)<<7|r>>>25)+b|0)<<9|r>>>23)+v|0)<<13|r>>>19)+y|0)<<18|r>>>14;t[0]=a>>>0&255,t[1]=a>>>8&255,t[2]=a>>>16&255,t[3]=a>>>24&255,t[4]=c>>>0&255,t[5]=c>>>8&255,t[6]=c>>>16&255,t[7]=c>>>24&255,t[8]=m>>>0&255,t[9]=m>>>8&255,t[10]=m>>>16&255,t[11]=m>>>24&255,t[12]=b>>>0&255,t[13]=b>>>8&255,t[14]=b>>>16&255,t[15]=b>>>24&255,t[16]=h>>>0&255,t[17]=h>>>8&255,t[18]=h>>>16&255,t[19]=h>>>24&255,t[20]=d>>>0&255,t[21]=d>>>8&255,t[22]=d>>>16&255,t[23]=d>>>24&255,t[24]=p>>>0&255,t[25]=p>>>8&255,t[26]=p>>>16&255,t[27]=p>>>24&255,t[28]=f>>>0&255,t[29]=f>>>8&255,t[30]=f>>>16&255,t[31]=f>>>24&255}(t,e,n,i)}var b=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function w(t,e,n,i,r,a,o){var s,l,u=new Uint8Array(16),c=new Uint8Array(64);for(l=0;l<16;l++)u[l]=0;for(l=0;l<8;l++)u[l]=a[l];for(;r>=64;){for(y(c,u,o,b),l=0;l<64;l++)t[e+l]=n[i+l]^c[l];for(s=1,l=8;l<16;l++)s=s+(255&u[l])|0,u[l]=255&s,s>>>=8;r-=64,e+=64,i+=64}if(r>0)for(y(c,u,o,b),l=0;l=64;){for(y(l,s,r,b),o=0;o<64;o++)t[e+o]=l[o];for(a=1,o=8;o<16;o++)a=a+(255&s[o])|0,s[o]=255&a,a>>>=8;n-=64,e+=64}if(n>0)for(y(l,s,r,b),o=0;o>>13|n<<3),i=255&t[4]|(255&t[5])<<8,this.r[2]=7939&(n>>>10|i<<6),r=255&t[6]|(255&t[7])<<8,this.r[3]=8191&(i>>>7|r<<9),a=255&t[8]|(255&t[9])<<8,this.r[4]=255&(r>>>4|a<<12),this.r[5]=a>>>1&8190,o=255&t[10]|(255&t[11])<<8,this.r[6]=8191&(a>>>14|o<<2),s=255&t[12]|(255&t[13])<<8,this.r[7]=8065&(o>>>11|s<<5),l=255&t[14]|(255&t[15])<<8,this.r[8]=8191&(s>>>8|l<<8),this.r[9]=l>>>5&127,this.pad[0]=255&t[16]|(255&t[17])<<8,this.pad[1]=255&t[18]|(255&t[19])<<8,this.pad[2]=255&t[20]|(255&t[21])<<8,this.pad[3]=255&t[22]|(255&t[23])<<8,this.pad[4]=255&t[24]|(255&t[25])<<8,this.pad[5]=255&t[26]|(255&t[27])<<8,this.pad[6]=255&t[28]|(255&t[29])<<8,this.pad[7]=255&t[30]|(255&t[31])<<8};function E(t,e,n,i,r,a){var o=new T(a);return o.update(n,i,r),o.finish(t,e),0}function S(t,e,n,i,r,a){var o=new Uint8Array(16);return E(o,0,n,i,r,a),g(t,e,o,0)}function P(t,e,n,i,r){var a;if(n<32)return-1;for(C(t,0,e,0,n,i,r),E(t,16,t,32,n-32,t),a=0;a<16;a++)t[a]=0;return 0}function L(t,e,n,i,r){var a,o=new Uint8Array(32);if(n<32)return-1;if(k(o,0,32,i,r),0!==S(e,16,e,32,n-32,o))return-1;for(C(t,0,e,0,n,i,r),a=0;a<32;a++)t[a]=0;return 0}function I(t,e){var n;for(n=0;n<16;n++)t[n]=0|e[n]}function O(t){var e,n,i=1;for(e=0;e<16;e++)n=t[e]+i+65535,i=Math.floor(n/65536),t[e]=n-65536*i;t[0]+=i-1+37*(i-1)}function A(t,e,n){for(var i,r=~(n-1),a=0;a<16;a++)i=r&(t[a]^e[a]),t[a]^=i,e[a]^=i}function M(t,n){var i,r,a,o=e(),s=e();for(i=0;i<16;i++)s[i]=n[i];for(O(s),O(s),O(s),r=0;r<2;r++){for(o[0]=s[0]-65517,i=1;i<15;i++)o[i]=s[i]-65535-(o[i-1]>>16&1),o[i-1]&=65535;o[15]=s[15]-32767-(o[14]>>16&1),a=o[15]>>16&1,o[14]&=65535,A(s,o,1-a)}for(i=0;i<16;i++)t[2*i]=255&s[i],t[2*i+1]=s[i]>>8}function z(t,e){var n=new Uint8Array(32),i=new Uint8Array(32);return M(n,t),M(i,e),v(n,0,i,0)}function N(t){var e=new Uint8Array(32);return M(e,t),1&e[0]}function D(t,e){var n;for(n=0;n<16;n++)t[n]=e[2*n]+(e[2*n+1]<<8);t[15]&=32767}function R(t,e,n){for(var i=0;i<16;i++)t[i]=e[i]+n[i]}function j(t,e,n){for(var i=0;i<16;i++)t[i]=e[i]-n[i]}function F(t,e,n){var i,r,a=0,o=0,s=0,l=0,u=0,c=0,h=0,d=0,p=0,f=0,m=0,g=0,v=0,y=0,_=0,b=0,w=0,x=0,k=0,C=0,T=0,E=0,S=0,P=0,L=0,I=0,O=0,A=0,M=0,z=0,N=0,D=n[0],R=n[1],j=n[2],F=n[3],B=n[4],U=n[5],q=n[6],$=n[7],G=n[8],V=n[9],H=n[10],W=n[11],Y=n[12],Z=n[13],X=n[14],J=n[15];a+=(i=e[0])*D,o+=i*R,s+=i*j,l+=i*F,u+=i*B,c+=i*U,h+=i*q,d+=i*$,p+=i*G,f+=i*V,m+=i*H,g+=i*W,v+=i*Y,y+=i*Z,_+=i*X,b+=i*J,o+=(i=e[1])*D,s+=i*R,l+=i*j,u+=i*F,c+=i*B,h+=i*U,d+=i*q,p+=i*$,f+=i*G,m+=i*V,g+=i*H,v+=i*W,y+=i*Y,_+=i*Z,b+=i*X,w+=i*J,s+=(i=e[2])*D,l+=i*R,u+=i*j,c+=i*F,h+=i*B,d+=i*U,p+=i*q,f+=i*$,m+=i*G,g+=i*V,v+=i*H,y+=i*W,_+=i*Y,b+=i*Z,w+=i*X,x+=i*J,l+=(i=e[3])*D,u+=i*R,c+=i*j,h+=i*F,d+=i*B,p+=i*U,f+=i*q,m+=i*$,g+=i*G,v+=i*V,y+=i*H,_+=i*W,b+=i*Y,w+=i*Z,x+=i*X,k+=i*J,u+=(i=e[4])*D,c+=i*R,h+=i*j,d+=i*F,p+=i*B,f+=i*U,m+=i*q,g+=i*$,v+=i*G,y+=i*V,_+=i*H,b+=i*W,w+=i*Y,x+=i*Z,k+=i*X,C+=i*J,c+=(i=e[5])*D,h+=i*R,d+=i*j,p+=i*F,f+=i*B,m+=i*U,g+=i*q,v+=i*$,y+=i*G,_+=i*V,b+=i*H,w+=i*W,x+=i*Y,k+=i*Z,C+=i*X,T+=i*J,h+=(i=e[6])*D,d+=i*R,p+=i*j,f+=i*F,m+=i*B,g+=i*U,v+=i*q,y+=i*$,_+=i*G,b+=i*V,w+=i*H,x+=i*W,k+=i*Y,C+=i*Z,T+=i*X,E+=i*J,d+=(i=e[7])*D,p+=i*R,f+=i*j,m+=i*F,g+=i*B,v+=i*U,y+=i*q,_+=i*$,b+=i*G,w+=i*V,x+=i*H,k+=i*W,C+=i*Y,T+=i*Z,E+=i*X,S+=i*J,p+=(i=e[8])*D,f+=i*R,m+=i*j,g+=i*F,v+=i*B,y+=i*U,_+=i*q,b+=i*$,w+=i*G,x+=i*V,k+=i*H,C+=i*W,T+=i*Y,E+=i*Z,S+=i*X,P+=i*J,f+=(i=e[9])*D,m+=i*R,g+=i*j,v+=i*F,y+=i*B,_+=i*U,b+=i*q,w+=i*$,x+=i*G,k+=i*V,C+=i*H,T+=i*W,E+=i*Y,S+=i*Z,P+=i*X,L+=i*J,m+=(i=e[10])*D,g+=i*R,v+=i*j,y+=i*F,_+=i*B,b+=i*U,w+=i*q,x+=i*$,k+=i*G,C+=i*V,T+=i*H,E+=i*W,S+=i*Y,P+=i*Z,L+=i*X,I+=i*J,g+=(i=e[11])*D,v+=i*R,y+=i*j,_+=i*F,b+=i*B,w+=i*U,x+=i*q,k+=i*$,C+=i*G,T+=i*V,E+=i*H,S+=i*W,P+=i*Y,L+=i*Z,I+=i*X,O+=i*J,v+=(i=e[12])*D,y+=i*R,_+=i*j,b+=i*F,w+=i*B,x+=i*U,k+=i*q,C+=i*$,T+=i*G,E+=i*V,S+=i*H,P+=i*W,L+=i*Y,I+=i*Z,O+=i*X,A+=i*J,y+=(i=e[13])*D,_+=i*R,b+=i*j,w+=i*F,x+=i*B,k+=i*U,C+=i*q,T+=i*$,E+=i*G,S+=i*V,P+=i*H,L+=i*W,I+=i*Y,O+=i*Z,A+=i*X,M+=i*J,_+=(i=e[14])*D,b+=i*R,w+=i*j,x+=i*F,k+=i*B,C+=i*U,T+=i*q,E+=i*$,S+=i*G,P+=i*V,L+=i*H,I+=i*W,O+=i*Y,A+=i*Z,M+=i*X,z+=i*J,b+=(i=e[15])*D,o+=38*(x+=i*j),s+=38*(k+=i*F),l+=38*(C+=i*B),u+=38*(T+=i*U),c+=38*(E+=i*q),h+=38*(S+=i*$),d+=38*(P+=i*G),p+=38*(L+=i*V),f+=38*(I+=i*H),m+=38*(O+=i*W),g+=38*(A+=i*Y),v+=38*(M+=i*Z),y+=38*(z+=i*X),_+=38*(N+=i*J),a=(i=(a+=38*(w+=i*R))+(r=1)+65535)-65536*(r=Math.floor(i/65536)),o=(i=o+r+65535)-65536*(r=Math.floor(i/65536)),s=(i=s+r+65535)-65536*(r=Math.floor(i/65536)),l=(i=l+r+65535)-65536*(r=Math.floor(i/65536)),u=(i=u+r+65535)-65536*(r=Math.floor(i/65536)),c=(i=c+r+65535)-65536*(r=Math.floor(i/65536)),h=(i=h+r+65535)-65536*(r=Math.floor(i/65536)),d=(i=d+r+65535)-65536*(r=Math.floor(i/65536)),p=(i=p+r+65535)-65536*(r=Math.floor(i/65536)),f=(i=f+r+65535)-65536*(r=Math.floor(i/65536)),m=(i=m+r+65535)-65536*(r=Math.floor(i/65536)),g=(i=g+r+65535)-65536*(r=Math.floor(i/65536)),v=(i=v+r+65535)-65536*(r=Math.floor(i/65536)),y=(i=y+r+65535)-65536*(r=Math.floor(i/65536)),_=(i=_+r+65535)-65536*(r=Math.floor(i/65536)),b=(i=b+r+65535)-65536*(r=Math.floor(i/65536)),a=(i=(a+=r-1+37*(r-1))+(r=1)+65535)-65536*(r=Math.floor(i/65536)),o=(i=o+r+65535)-65536*(r=Math.floor(i/65536)),s=(i=s+r+65535)-65536*(r=Math.floor(i/65536)),l=(i=l+r+65535)-65536*(r=Math.floor(i/65536)),u=(i=u+r+65535)-65536*(r=Math.floor(i/65536)),c=(i=c+r+65535)-65536*(r=Math.floor(i/65536)),h=(i=h+r+65535)-65536*(r=Math.floor(i/65536)),d=(i=d+r+65535)-65536*(r=Math.floor(i/65536)),p=(i=p+r+65535)-65536*(r=Math.floor(i/65536)),f=(i=f+r+65535)-65536*(r=Math.floor(i/65536)),m=(i=m+r+65535)-65536*(r=Math.floor(i/65536)),g=(i=g+r+65535)-65536*(r=Math.floor(i/65536)),v=(i=v+r+65535)-65536*(r=Math.floor(i/65536)),y=(i=y+r+65535)-65536*(r=Math.floor(i/65536)),_=(i=_+r+65535)-65536*(r=Math.floor(i/65536)),b=(i=b+r+65535)-65536*(r=Math.floor(i/65536)),a+=r-1+37*(r-1),t[0]=a,t[1]=o,t[2]=s,t[3]=l,t[4]=u,t[5]=c,t[6]=h,t[7]=d,t[8]=p,t[9]=f,t[10]=m,t[11]=g,t[12]=v,t[13]=y,t[14]=_,t[15]=b}function B(t,e){F(t,e,e)}function U(t,n){var i,r=e();for(i=0;i<16;i++)r[i]=n[i];for(i=253;i>=0;i--)B(r,r),2!==i&&4!==i&&F(r,r,n);for(i=0;i<16;i++)t[i]=r[i]}function q(t,n,i){var r,a,o=new Uint8Array(32),s=new Float64Array(80),u=e(),c=e(),h=e(),d=e(),p=e(),f=e();for(a=0;a<31;a++)o[a]=n[a];for(o[31]=127&n[31]|64,o[0]&=248,D(s,i),a=0;a<16;a++)c[a]=s[a],d[a]=u[a]=h[a]=0;for(u[0]=d[0]=1,a=254;a>=0;--a)A(u,c,r=o[a>>>3]>>>(7&a)&1),A(h,d,r),R(p,u,h),j(u,u,h),R(h,c,d),j(c,c,d),B(d,p),B(f,u),F(u,h,u),F(h,c,p),R(p,u,h),j(u,u,h),B(c,u),j(h,d,f),F(u,h,l),R(u,u,d),F(h,h,u),F(u,d,f),F(d,c,s),B(c,p),A(u,c,r),A(h,d,r);for(a=0;a<16;a++)s[a+16]=u[a],s[a+32]=h[a],s[a+48]=c[a],s[a+64]=d[a];var m=s.subarray(32),g=s.subarray(16);return U(m,m),F(g,g,m),M(t,g),0}function $(t,e){return q(t,e,a)}function G(t,e){return i(e,32),$(t,e)}function V(t,e,n){var i=new Uint8Array(32);return q(i,n,e),_(t,r,i,b)}T.prototype.blocks=function(t,e,n){for(var i,r,a,o,s,l,u,c,h,d,p,f,m,g,v,y,_,b,w,x=this.fin?0:2048,k=this.h[0],C=this.h[1],T=this.h[2],E=this.h[3],S=this.h[4],P=this.h[5],L=this.h[6],I=this.h[7],O=this.h[8],A=this.h[9],M=this.r[0],z=this.r[1],N=this.r[2],D=this.r[3],R=this.r[4],j=this.r[5],F=this.r[6],B=this.r[7],U=this.r[8],q=this.r[9];n>=16;)d=h=0,d+=(k+=8191&(i=255&t[e+0]|(255&t[e+1])<<8))*M,d+=(C+=8191&(i>>>13|(r=255&t[e+2]|(255&t[e+3])<<8)<<3))*(5*q),d+=(T+=8191&(r>>>10|(a=255&t[e+4]|(255&t[e+5])<<8)<<6))*(5*U),d+=(E+=8191&(a>>>7|(o=255&t[e+6]|(255&t[e+7])<<8)<<9))*(5*B),h=(d+=(S+=8191&(o>>>4|(s=255&t[e+8]|(255&t[e+9])<<8)<<12))*(5*F))>>>13,d&=8191,d+=(P+=s>>>1&8191)*(5*j),d+=(L+=8191&(s>>>14|(l=255&t[e+10]|(255&t[e+11])<<8)<<2))*(5*R),d+=(I+=8191&(l>>>11|(u=255&t[e+12]|(255&t[e+13])<<8)<<5))*(5*D),d+=(O+=8191&(u>>>8|(c=255&t[e+14]|(255&t[e+15])<<8)<<8))*(5*N),p=h+=(d+=(A+=c>>>5|x)*(5*z))>>>13,p+=k*z,p+=C*M,p+=T*(5*q),p+=E*(5*U),h=(p+=S*(5*B))>>>13,p&=8191,p+=P*(5*F),p+=L*(5*j),p+=I*(5*R),p+=O*(5*D),h+=(p+=A*(5*N))>>>13,p&=8191,f=h,f+=k*N,f+=C*z,f+=T*M,f+=E*(5*q),h=(f+=S*(5*U))>>>13,f&=8191,f+=P*(5*B),f+=L*(5*F),f+=I*(5*j),f+=O*(5*R),m=h+=(f+=A*(5*D))>>>13,m+=k*D,m+=C*N,m+=T*z,m+=E*M,h=(m+=S*(5*q))>>>13,m&=8191,m+=P*(5*U),m+=L*(5*B),m+=I*(5*F),m+=O*(5*j),g=h+=(m+=A*(5*R))>>>13,g+=k*R,g+=C*D,g+=T*N,g+=E*z,h=(g+=S*M)>>>13,g&=8191,g+=P*(5*q),g+=L*(5*U),g+=I*(5*B),g+=O*(5*F),v=h+=(g+=A*(5*j))>>>13,v+=k*j,v+=C*R,v+=T*D,v+=E*N,h=(v+=S*z)>>>13,v&=8191,v+=P*M,v+=L*(5*q),v+=I*(5*U),v+=O*(5*B),y=h+=(v+=A*(5*F))>>>13,y+=k*F,y+=C*j,y+=T*R,y+=E*D,h=(y+=S*N)>>>13,y&=8191,y+=P*z,y+=L*M,y+=I*(5*q),y+=O*(5*U),_=h+=(y+=A*(5*B))>>>13,_+=k*B,_+=C*F,_+=T*j,_+=E*R,h=(_+=S*D)>>>13,_&=8191,_+=P*N,_+=L*z,_+=I*M,_+=O*(5*q),b=h+=(_+=A*(5*U))>>>13,b+=k*U,b+=C*B,b+=T*F,b+=E*j,h=(b+=S*R)>>>13,b&=8191,b+=P*D,b+=L*N,b+=I*z,b+=O*M,w=h+=(b+=A*(5*q))>>>13,w+=k*q,w+=C*U,w+=T*B,w+=E*F,h=(w+=S*j)>>>13,w&=8191,w+=P*R,w+=L*D,w+=I*N,w+=O*z,k=d=8191&(h=(h=((h+=(w+=A*M)>>>13)<<2)+h|0)+(d&=8191)|0),C=p+=h>>>=13,T=f&=8191,E=m&=8191,S=g&=8191,P=v&=8191,L=y&=8191,I=_&=8191,O=b&=8191,A=w&=8191,e+=16,n-=16;this.h[0]=k,this.h[1]=C,this.h[2]=T,this.h[3]=E,this.h[4]=S,this.h[5]=P,this.h[6]=L,this.h[7]=I,this.h[8]=O,this.h[9]=A},T.prototype.finish=function(t,e){var n,i,r,a,o=new Uint16Array(10);if(this.leftover){for(a=this.leftover,this.buffer[a++]=1;a<16;a++)this.buffer[a]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,a=2;a<10;a++)this.h[a]+=n,n=this.h[a]>>>13,this.h[a]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,o[0]=this.h[0]+5,n=o[0]>>>13,o[0]&=8191,a=1;a<10;a++)o[a]=this.h[a]+n,n=o[a]>>>13,o[a]&=8191;for(o[9]-=8192,i=(1^n)-1,a=0;a<10;a++)o[a]&=i;for(i=~i,a=0;a<10;a++)this.h[a]=this.h[a]&i|o[a];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),r=this.h[0]+this.pad[0],this.h[0]=65535&r,a=1;a<8;a++)r=(this.h[a]+this.pad[a]|0)+(r>>>16)|0,this.h[a]=65535&r;t[e+0]=this.h[0]>>>0&255,t[e+1]=this.h[0]>>>8&255,t[e+2]=this.h[1]>>>0&255,t[e+3]=this.h[1]>>>8&255,t[e+4]=this.h[2]>>>0&255,t[e+5]=this.h[2]>>>8&255,t[e+6]=this.h[3]>>>0&255,t[e+7]=this.h[3]>>>8&255,t[e+8]=this.h[4]>>>0&255,t[e+9]=this.h[4]>>>8&255,t[e+10]=this.h[5]>>>0&255,t[e+11]=this.h[5]>>>8&255,t[e+12]=this.h[6]>>>0&255,t[e+13]=this.h[6]>>>8&255,t[e+14]=this.h[7]>>>0&255,t[e+15]=this.h[7]>>>8&255},T.prototype.update=function(t,e,n){var i,r;if(this.leftover){for((r=16-this.leftover)>n&&(r=n),i=0;i=16&&(r=n-n%16,this.blocks(t,e,r),e+=r,n-=r),n){for(i=0;i=128;){for(x=0;x<16;x++)k=8*x+Z,I[x]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],O[x]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(x=0;x<80;x++)if(r=A,a=M,o=z,s=N,l=D,u=R,c=j,d=B,p=U,f=q,m=$,g=G,v=V,y=H,E=65535&(T=W),S=T>>>16,P=65535&(C=F),L=C>>>16,E+=65535&(T=(G>>>14|D<<18)^(G>>>18|D<<14)^(D>>>9|G<<23)),S+=T>>>16,P+=65535&(C=(D>>>14|G<<18)^(D>>>18|G<<14)^(G>>>9|D<<23)),L+=C>>>16,E+=65535&(T=G&V^~G&H),S+=T>>>16,P+=65535&(C=D&R^~D&j),L+=C>>>16,E+=65535&(T=Y[2*x+1]),S+=T>>>16,P+=65535&(C=Y[2*x]),L+=C>>>16,C=I[x%16],S+=(T=O[x%16])>>>16,P+=65535&C,L+=C>>>16,P+=(S+=(E+=65535&T)>>>16)>>>16,E=65535&(T=w=65535&E|S<<16),S=T>>>16,P=65535&(C=b=65535&P|(L+=P>>>16)<<16),L=C>>>16,E+=65535&(T=(B>>>28|A<<4)^(A>>>2|B<<30)^(A>>>7|B<<25)),S+=T>>>16,P+=65535&(C=(A>>>28|B<<4)^(B>>>2|A<<30)^(B>>>7|A<<25)),L+=C>>>16,S+=(T=B&U^B&q^U&q)>>>16,P+=65535&(C=A&M^A&z^M&z),L+=C>>>16,h=65535&(P+=(S+=(E+=65535&T)>>>16)>>>16)|(L+=P>>>16)<<16,_=65535&E|S<<16,E=65535&(T=m),S=T>>>16,P=65535&(C=s),L=C>>>16,S+=(T=w)>>>16,P+=65535&(C=b),L+=C>>>16,M=r,z=a,N=o,D=s=65535&(P+=(S+=(E+=65535&T)>>>16)>>>16)|(L+=P>>>16)<<16,R=l,j=u,F=c,A=h,U=d,q=p,$=f,G=m=65535&E|S<<16,V=g,H=v,W=y,B=_,x%16==15)for(k=0;k<16;k++)C=I[k],E=65535&(T=O[k]),S=T>>>16,P=65535&C,L=C>>>16,C=I[(k+9)%16],E+=65535&(T=O[(k+9)%16]),S+=T>>>16,P+=65535&C,L+=C>>>16,b=I[(k+1)%16],E+=65535&(T=((w=O[(k+1)%16])>>>1|b<<31)^(w>>>8|b<<24)^(w>>>7|b<<25)),S+=T>>>16,P+=65535&(C=(b>>>1|w<<31)^(b>>>8|w<<24)^b>>>7),L+=C>>>16,b=I[(k+14)%16],S+=(T=((w=O[(k+14)%16])>>>19|b<<13)^(b>>>29|w<<3)^(w>>>6|b<<26))>>>16,P+=65535&(C=(b>>>19|w<<13)^(w>>>29|b<<3)^b>>>6),L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,I[k]=65535&P|L<<16,O[k]=65535&E|S<<16;E=65535&(T=B),S=T>>>16,P=65535&(C=A),L=C>>>16,C=t[0],S+=(T=e[0])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[0]=A=65535&P|L<<16,e[0]=B=65535&E|S<<16,E=65535&(T=U),S=T>>>16,P=65535&(C=M),L=C>>>16,C=t[1],S+=(T=e[1])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[1]=M=65535&P|L<<16,e[1]=U=65535&E|S<<16,E=65535&(T=q),S=T>>>16,P=65535&(C=z),L=C>>>16,C=t[2],S+=(T=e[2])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[2]=z=65535&P|L<<16,e[2]=q=65535&E|S<<16,E=65535&(T=$),S=T>>>16,P=65535&(C=N),L=C>>>16,C=t[3],S+=(T=e[3])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[3]=N=65535&P|L<<16,e[3]=$=65535&E|S<<16,E=65535&(T=G),S=T>>>16,P=65535&(C=D),L=C>>>16,C=t[4],S+=(T=e[4])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[4]=D=65535&P|L<<16,e[4]=G=65535&E|S<<16,E=65535&(T=V),S=T>>>16,P=65535&(C=R),L=C>>>16,C=t[5],S+=(T=e[5])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[5]=R=65535&P|L<<16,e[5]=V=65535&E|S<<16,E=65535&(T=H),S=T>>>16,P=65535&(C=j),L=C>>>16,C=t[6],S+=(T=e[6])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[6]=j=65535&P|L<<16,e[6]=H=65535&E|S<<16,E=65535&(T=W),S=T>>>16,P=65535&(C=F),L=C>>>16,C=t[7],S+=(T=e[7])>>>16,P+=65535&C,L+=C>>>16,L+=(P+=(S+=(E+=65535&T)>>>16)>>>16)>>>16,t[7]=F=65535&P|L<<16,e[7]=W=65535&E|S<<16,Z+=128,i-=128}return i}function X(t,e,n){var i,r=new Int32Array(8),a=new Int32Array(8),o=new Uint8Array(256),s=n;for(r[0]=1779033703,r[1]=3144134277,r[2]=1013904242,r[3]=2773480762,r[4]=1359893119,r[5]=2600822924,r[6]=528734635,r[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,Z(r,a,e,n),n%=128,i=0;i=0;--r)K(t,e,i=n[r/8|0]>>(7&r)&1),J(e,t),J(t,t),K(t,e,i)}function et(t,n){var i=[e(),e(),e(),e()];I(i[0],h),I(i[1],d),I(i[2],s),F(i[3],h,d),tt(t,i,n)}function nt(t,n,r){var a,o=new Uint8Array(64),s=[e(),e(),e(),e()];for(r||i(n,32),X(o,n,32),o[0]&=248,o[31]&=127,o[31]|=64,et(s,o),Q(t,s),a=0;a<32;a++)n[a+32]=t[a];return 0}var it,rt=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function at(t,e){var n,i,r,a;for(i=63;i>=32;--i){for(n=0,r=i-32,a=i-12;r>8,e[r]-=256*n;e[r]+=n,e[i]=0}for(n=0,r=0;r<32;r++)e[r]+=n-(e[31]>>4)*rt[r],n=e[r]>>8,e[r]&=255;for(r=0;r<32;r++)e[r]-=n*rt[r];for(i=0;i<32;i++)e[i+1]+=e[i]>>8,t[i]=255&e[i]}function ot(t){var e,n=new Float64Array(64);for(e=0;e<64;e++)n[e]=t[e];for(e=0;e<64;e++)t[e]=0;at(t,n)}function st(t,n,i,r){var a,o,s=new Uint8Array(64),l=new Uint8Array(64),u=new Uint8Array(64),c=new Float64Array(64),h=[e(),e(),e(),e()];X(s,r,32),s[0]&=248,s[31]&=127,s[31]|=64;var d=i+64;for(a=0;a=0;i--)B(r,r),1!==i&&F(r,r,n);for(i=0;i<16;i++)t[i]=r[i]}(i,i),F(i,i,a),F(i,i,l),F(i,i,l),F(t[0],i,l),B(r,t[0]),F(r,r,l),z(r,a)&&F(t[0],t[0],p),B(r,t[0]),F(r,r,l),z(r,a)?-1:(N(t[0])===n[31]>>7&&j(t[0],o,t[0]),F(t[3],t[0],t[1]),0)}function ut(t,n,i,r){var a,o=new Uint8Array(32),s=new Uint8Array(64),l=[e(),e(),e(),e()],u=[e(),e(),e(),e()];if(i<64)return-1;if(lt(u,r))return-1;for(a=0;a=0},t.sign.keyPair=function(){var t=new Uint8Array(32),e=new Uint8Array(64);return nt(t,e),{publicKey:t,secretKey:e}},t.sign.keyPair.fromSecretKey=function(t){if(ht(t),64!==t.length)throw new Error("bad secret key size");for(var e=new Uint8Array(32),n=0;n=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function f(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(t).length;default:if(i)return F(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,n);case"utf8":case"utf-8":return E(this,e,n);case"ascii":return S(this,e,n);case"latin1":case"binary":return P(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function g(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function v(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=l.from(e,i)),l.isBuffer(e))return 0===e.length?-1:y(t,e,n,i,r);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,i,r){var a,o=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(r){var c=-1;for(a=n;as&&(n=s-l),a=n;a>=0;a--){for(var h=!0,d=0;dr&&(i=r):i=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var o=0;o>8,r=n%256,a.push(r),a.push(i);return a}(e,t.length-n),t,n,i)}function T(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(a=t[r+1]))&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=t[r+1],o=t[r+2],128==(192&a)&&128==(192&o)&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=t[r+1],o=t[r+2],s=t[r+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",i=0;ir)&&(n=r);for(var a="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function A(t,e,n,i,r,a){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function M(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function z(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function N(t,e,n,i,r,a){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(t,e,n,i,a){return a||N(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function R(t,e,n,i,a){return a||N(t,0,n,8),r.write(t,e,n,i,52,8),n+8}e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==window.TYPED_ARRAY_SUPPORT?window.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=o(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,i){return c(e),e<=0?s(t,e):void 0!==n?"string"==typeof i?s(t,e).fill(n,i):s(t,e).fill(n):s(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return h(null,t)},l.allocUnsafeSlow=function(t){return h(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,a=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,i,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(r>>>=0)-(i>>>=0),o=(n>>>=0)-(e>>>=0),s=Math.min(a,o),u=this.slice(i,r),c=t.slice(e,n),h=0;hr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e0&&(r*=256);)i+=this[t+--e]*r;return i},l.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||O(t,e,this.length);for(var i=this[t],r=1,a=0;++a=(r*=128)&&(i-=Math.pow(2,8*e)),i},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||O(t,e,this.length);for(var i=e,r=1,a=this[t+--i];i>0&&(r*=256);)a+=this[t+--i]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*e)),a},l.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,i){t=+t,e|=0,n|=0,i||A(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+r]=t/a&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);A(this,t,e,n,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);A(this,t,e,n,r-1,-r)}var a=n-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return D(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return D(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return R(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return R(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(e-=3)>-1&&a.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function B(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,n,i){for(var r=0;r=e.length||r>=t.length);++r)e[r+n]=t[r];return r}},function(t,e){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){for(var e,n=l(t),a=n[0],o=n[1],s=new r(function(t,e,n){return 3*(e+n)/4-n}(0,a,o)),u=0,c=o>0?a-4:a,h=0;h>16&255,s[u++]=e>>8&255,s[u++]=255&e;return 2===o&&(e=i[t.charCodeAt(h)]<<2|i[t.charCodeAt(h+1)]>>4,s[u++]=255&e),1===o&&(e=i[t.charCodeAt(h)]<<10|i[t.charCodeAt(h+1)]<<4|i[t.charCodeAt(h+2)]>>2,s[u++]=e>>8&255,s[u++]=255&e),s},e.fromByteArray=function(t){for(var e,i=t.length,r=i%3,a=[],o=0,s=i-r;os?s:o+16383));return 1===r?(e=t[i-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),a.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,i){for(var r,a,o=[],s=e;s>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,i,r){var a,o,s=8*r-i-1,l=(1<>1,c=-7,h=n?r-1:0,d=n?-1:1,p=t[e+h];for(h+=d,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+t[e+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=i;c>0;o=256*o+t[e+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=u}return(p?-1:1)*o*Math.pow(2,a-i)},e.write=function(t,e,n,i,r,a){var o,s,l,u=8*a-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),(e+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=c?(s=0,o=c):o+h>=1?(s=(e*l-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[n+p]=255&s,p+=f,s/=256,r-=8);for(o=o<0;t[n+p]=255&o,p+=f,o/=256,u-=8);t[n+p-f]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function i(){this.constructor=t}t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=n(24),a=n(12),o=n(8),s=n(9),l=n(2),u=function(t){function e(e,n){var i=this;t.call(this),this.key=e,this.options=n||{},this.state="initialized",this.connection=null,this.usingTLS=!!n.useTLS,this.timeline=this.options.timeline,this.errorCallbacks=this.buildErrorCallbacks(),this.connectionCallbacks=this.buildConnectionCallbacks(this.errorCallbacks),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var r=l.default.getNetwork();r.bind("online",(function(){i.timeline.info({netinfo:"online"}),"connecting"!==i.state&&"unavailable"!==i.state||i.retryIn(0)})),r.bind("offline",(function(){i.timeline.info({netinfo:"offline"}),i.connection&&i.sendActivityCheck()})),this.updateStrategy()}return i(e,t),e.prototype.connect=function(){this.connection||this.runner||(this.strategy.isSupported()?(this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()):this.updateState("failed"))},e.prototype.send=function(t){return!!this.connection&&this.connection.send(t)},e.prototype.send_event=function(t,e,n){return!!this.connection&&this.connection.send_event(t,e,n)},e.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},e.prototype.isUsingTLS=function(){return this.usingTLS},e.prototype.startConnecting=function(){var t=this,e=function(n,i){n?t.runner=t.strategy.connect(0,e):"error"===i.action?(t.emit("error",{type:"HandshakeError",error:i.error}),t.timeline.error({handshakeError:i.error})):(t.abortConnecting(),t.handshakeCallbacks[i.action](i))};this.runner=this.strategy.connect(0,e)},e.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},e.prototype.disconnectInternally=function(){this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection&&this.abandonConnection().close()},e.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},e.prototype.retryIn=function(t){var e=this;this.timeline.info({action:"retry",delay:t}),t>0&&this.emit("connecting_in",Math.round(t/1e3)),this.retryTimer=new a.OneOffTimer(t||0,(function(){e.disconnectInternally(),e.connect()}))},e.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},e.prototype.setUnavailableTimer=function(){var t=this;this.unavailableTimer=new a.OneOffTimer(this.options.unavailableTimeout,(function(){t.updateState("unavailable")}))},e.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},e.prototype.sendActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new a.OneOffTimer(this.options.pongTimeout,(function(){t.timeline.error({pong_timed_out:t.options.pongTimeout}),t.retryIn(0)}))},e.prototype.resetActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new a.OneOffTimer(this.activityTimeout,(function(){t.sendActivityCheck()})))},e.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},e.prototype.buildConnectionCallbacks=function(t){var e=this;return s.extend({},t,{message:function(t){e.resetActivityCheck(),e.emit("message",t)},ping:function(){e.send_event("pusher:pong",{})},activity:function(){e.resetActivityCheck()},error:function(t){e.emit("error",{type:"WebSocketError",error:t})},closed:function(){e.abandonConnection(),e.shouldRetry()&&e.retryIn(1e3)}})},e.prototype.buildHandshakeCallbacks=function(t){var e=this;return s.extend({},t,{connected:function(t){e.activityTimeout=Math.min(e.options.activityTimeout,t.activityTimeout,t.connection.activityTimeout||1/0),e.clearUnavailableTimer(),e.setConnection(t.connection),e.socket_id=e.connection.id,e.updateState("connected",{socket_id:e.socket_id})}})},e.prototype.buildErrorCallbacks=function(){var t=this,e=function(e){return function(n){n.error&&t.emit("error",{type:"WebSocketError",error:n.error}),e(n)}};return{tls_only:e((function(){t.usingTLS=!0,t.updateStrategy(),t.retryIn(0)})),refused:e((function(){t.disconnect()})),backoff:e((function(){t.retryIn(1e3)})),retry:e((function(){t.retryIn(0)}))}},e.prototype.setConnection=function(t){for(var e in this.connection=t,this.connectionCallbacks)this.connection.bind(e,this.connectionCallbacks[e]);this.resetActivityCheck()},e.prototype.abandonConnection=function(){if(this.connection){for(var t in this.stopActivityCheck(),this.connectionCallbacks)this.connection.unbind(t,this.connectionCallbacks[t]);var e=this.connection;return this.connection=null,e}},e.prototype.updateState=function(t,e){var n=this.state;if(this.state=t,n!==t){var i=t;"connected"===i&&(i+=" with new socket ID "+e.socket_id),o.default.debug("State changed",n+" -> "+i),this.timeline.info({state:t,params:e}),this.emit("state_change",{previous:n,current:t}),this.emit(t,e)}},e.prototype.shouldRetry=function(){return"connecting"===this.state||"connected"===this.state},e}(r.default);e.__esModule=!0,e.default=u},function(t,e,n){"use strict";var i=n(9),r=n(43),a=n(31),o=function(){function t(){this.channels={}}return t.prototype.add=function(t,e){return this.channels[t]||(this.channels[t]=function(t,e){if(0===t.indexOf("private-encrypted-")){if("ReactNative"==navigator.product)throw new a.UnsupportedFeature("Encrypted channels are not yet supported when using React Native builds.");return r.default.createEncryptedChannel(t,e)}return 0===t.indexOf("private-")?r.default.createPrivateChannel(t,e):0===t.indexOf("presence-")?r.default.createPresenceChannel(t,e):r.default.createChannel(t,e)}(t,e)),this.channels[t]},t.prototype.all=function(){return i.values(this.channels)},t.prototype.find=function(t){return this.channels[t]},t.prototype.remove=function(t){var e=this.channels[t];return delete this.channels[t],e},t.prototype.disconnect=function(){i.objectApply(this.channels,(function(t){t.disconnect()}))},t}();e.__esModule=!0,e.default=o},function(t,e,n){"use strict";var i=n(43),r=n(11),a=n(31),o=n(9),s=function(){function t(t,e,n,i){this.name=t,this.priority=e,this.transport=n,this.options=i||{}}return t.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},t.prototype.connect=function(t,e){var n=this;if(!this.isSupported())return l(new a.UnsupportedStrategy,e);if(this.priority0&&(r=new a.OneOffTimer(n.timeout,(function(){o.abort(),i(!0)}))),o=t.connect(e,(function(t,e){t&&r&&r.isRunning()&&!n.failFast||(r&&r.ensureAborted(),i(t,e))})),{abort:function(){r&&r.ensureAborted(),o.abort()},forceMinPriority:function(t){o.forceMinPriority(t)}}},t}();e.__esModule=!0,e.default=o},function(t,e,n){"use strict";var i=n(9),r=n(11),a=function(){function t(t){this.strategies=t}return t.prototype.isSupported=function(){return i.any(this.strategies,r.default.method("isSupported"))},t.prototype.connect=function(t,e){return function(t,e,n){var r=i.map(t,(function(t,i,r,a){return t.connect(e,n(i,a))}));return{abort:function(){i.apply(r,o)},forceMinPriority:function(t){i.apply(r,(function(e){e.forceMinPriority(t)}))}}}(this.strategies,t,(function(t,n){return function(r,a){n[t].error=r,r?function(t){return i.all(t,(function(t){return Boolean(t.error)}))}(n)&&e(!0):(i.apply(n,(function(t){t.forceMinPriority(a.transport.priority)})),e(null,a))}}))},t}();function o(t){t.error||t.aborted||(t.abort(),t.aborted=!0)}e.__esModule=!0,e.default=a},function(t,e,n){"use strict";var i=n(11),r=n(2),a=n(65),o=n(9),s=function(){function t(t,e,n){this.strategy=t,this.transports=e,this.ttl=n.ttl||18e5,this.usingTLS=n.useTLS,this.timeline=n.timeline}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.usingTLS,s=function(t){var e=r.default.getLocalStorage();if(e)try{var n=e[l(t)];if(n)return JSON.parse(n)}catch(e){u(t)}return null}(n),c=[this.strategy];if(s&&s.timestamp+this.ttl>=i.default.now()){var h=this.transports[s.transport];h&&(this.timeline.info({cached:!0,transport:s.transport,latency:s.latency}),c.push(new a.default([h],{timeout:2*s.latency+1e3,failFast:!0})))}var d=i.default.now(),p=c.pop().connect(t,(function a(s,h){s?(u(n),c.length>0?(d=i.default.now(),p=c.pop().connect(t,a)):e(s)):(function(t,e,n){var a=r.default.getLocalStorage();if(a)try{a[l(t)]=o.safeJSONStringify({timestamp:i.default.now(),transport:e,latency:n})}catch(t){}}(n,h.transport.name,i.default.now()-d),e(null,h))}));return{abort:function(){p.abort()},forceMinPriority:function(e){t=e,p&&p.forceMinPriority(e)}}},t}();function l(t){return"pusherTransport"+(t?"TLS":"NonTLS")}function u(t){var e=r.default.getLocalStorage();if(e)try{delete e[l(t)]}catch(t){}}e.__esModule=!0,e.default=s},function(t,e,n){"use strict";var i=n(12),r=function(){function t(t,e){var n=e.delay;this.strategy=t,this.options={delay:n}}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n,r=this.strategy,a=new i.OneOffTimer(this.options.delay,(function(){n=r.connect(t,e)}));return{abort:function(){a.ensureAborted(),n&&n.abort()},forceMinPriority:function(e){t=e,n&&n.forceMinPriority(e)}}},t}();e.__esModule=!0,e.default=r},function(t,e){"use strict";var n=function(){function t(t,e,n){this.test=t,this.trueBranch=e,this.falseBranch=n}return t.prototype.isSupported=function(){return(this.test()?this.trueBranch:this.falseBranch).isSupported()},t.prototype.connect=function(t,e){return(this.test()?this.trueBranch:this.falseBranch).connect(t,e)},t}();e.__esModule=!0,e.default=n},function(t,e){"use strict";var n=function(){function t(t){this.strategy=t}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.strategy.connect(t,(function(t,i){i&&n.abort(),e(t,i)}));return n},t}();e.__esModule=!0,e.default=n},function(t,e,n){"use strict";var i=n(5);e.getGlobalConfig=function(){return{wsHost:i.default.host,wsPort:i.default.ws_port,wssPort:i.default.wss_port,wsPath:i.default.ws_path,httpHost:i.default.sockjs_host,httpPort:i.default.sockjs_http_port,httpsPort:i.default.sockjs_https_port,httpPath:i.default.sockjs_path,statsHost:i.default.stats_host,authEndpoint:i.default.channel_auth_endpoint,authTransport:i.default.channel_auth_transport,activity_timeout:i.default.activity_timeout,pong_timeout:i.default.pong_timeout,unavailable_timeout:i.default.unavailable_timeout}},e.getClusterConfig=function(t){return{wsHost:"ws-"+t+".pusher.com",httpHost:"sockjs-"+t+".pusher.com"}}}])},t.exports=i()},"eJw/":function(t){t.exports=JSON.parse('{"enter-team-identifier":"Geef het unieke kenmerk om je aan te sluiten bij een team.","team-identifier":"Doe mee met een team dmv kenmerk","enter-id-to-join-placeholder":"Geef kenmerk om aan te sluiten bij een team","join-team":"Sluit aan bij Team"}')},ePAn:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Art","brands":"Brands","coastal":"Coastal","coffee":"Coffee","dumping":"Dumping","food":"Food","industrial":"Industrial","sanitary":"Sanitary","softdrinks":"Soft Drinks","smoking":"Smoking","other":"Other","material":"Material","dogshit":"Pets"},"smoking":{"butts":"Cigarettes/Butts","lighters":"Lighters","cigaretteBox":"Cigarette Box","tobaccoPouch":"Tobacco Pouch","skins":"Rolling Papers","smoking_plastic":"Plastic Packaging","filters":"Filters","filterbox":"Filter Box","vape_pen":"Vape pen","vape_oil":"Vape oil","smokingOther":"Smoking-Other"},"alcohol":{"beerBottle":"Beer Bottles","spiritBottle":"Spirit Bottles","wineBottle":"Wine Bottles","beerCan":"Beer Cans","brokenGlass":"Broken Glass","bottleTops":"Beer bottle tops","paperCardAlcoholPackaging":"Paper Packaging","plasticAlcoholPackaging":"Plastic Packaging","pint":"Pint Glass","six_pack_rings":"Six-pack rings","alcohol_plastic_cups":"Plastic Cups","alcoholOther":"Alcohol-Other"},"art":{"item":"Litter Art"},"coffee":{"coffeeCups":"Coffee Cups","coffeeLids":"Coffee Lids","coffeeOther":"Coffee-Other"},"food":{"sweetWrappers":"Sweet Wrappers","paperFoodPackaging":"Paper/Cardboard Packaging","plasticFoodPackaging":"Plastic Packaging","plasticCutlery":"Plastic Cutlery","crisp_small":"Crisp/Chip Packet (small)","crisp_large":"Crisp/Chip Packet (large)","styrofoam_plate":"Styrofoam Plate","napkins":"Napkins","sauce_packet":"Sauce Packet","glass_jar":"Glass Jar","glass_jar_lid":"Glass Jar Lid","aluminium_foil":"Aluminium Foil","pizza_box":"Pizza Box","foodOther":"Food-Other","chewing_gum":"Chewing Gum"},"softdrinks":{"waterBottle":"Plastic Water bottle","fizzyDrinkBottle":"Plastic Fizzy Drink bottle","tinCan":"Can","bottleLid":"Bottle Tops","bottleLabel":"Bottle Labels","sportsDrink":"Sports Drink bottle","straws":"Straws","plastic_cups":"Plastic Cups","plastic_cup_tops":"Plastic Cup Tops","milk_bottle":"Milk Bottle","milk_carton":"Milk Carton","paper_cups":"Paper Cups","juice_cartons":"Juice Cartons","juice_bottles":"Juice Bottles","juice_packet":"Juice Packet","ice_tea_bottles":"Ice Tea Bottles","ice_tea_can":"Ice Tea Can","energy_can":"Energy Can","pullring":"Pull-ring","strawpacket":"Straw Packaging","styro_cup":"Styrofoam Cup","broken_glass":"Broken Glass","softDrinkOther":"Soft Drink-Other"},"sanitary":{"gloves":"Gloves","facemask":"Facemask","condoms":"Condoms","nappies":"Nappies","menstral":"Menstral","deodorant":"Deodorant","ear_swabs":"Ear Swabs","tooth_pick":"Tooth Pick","tooth_brush":"Tooth Brush","wetwipes":"Wet Wipes","hand_sanitiser":"Hand Sanitiser","sanitaryOther":"Sanitary-Other"},"dumping":{"small":"Small","medium":"Medium","large":"Large"},"industrial":{"oil":"Oil","industrial_plastic":"Plastic","chemical":"Chemical","bricks":"Bricks","tape":"Tape","industrial_other":"Industrial-Other"},"coastal":{"microplastics":"Microplastics","mediumplastics":"Mediumplastics","macroplastics":"Macroplastics","rope_small":"Rope small","rope_medium":"Rope medium","rope_large":"Rope large","fishing_gear_nets":"Fishing gear/nets","ghost_nets":"Ghost nets","buoys":"Buoys","degraded_plasticbottle":"Degraded Plastic Bottle","degraded_plasticbag":"Degraded Plastic Bag","degraded_straws":"Degraded Drinking Straws","degraded_lighters":"Degraded Lighters","balloons":"Balloons","lego":"Lego","shotgun_cartridges":"Shotgun Cartridges","styro_small":"Styrofoam small","styro_medium":"Styrofoam medium","styro_large":"Styrofoam large","coastal_other":"Coastal-Other"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"TrashDog","littercat":"LitterCat","duck":"LitterDuck"},"other":{"dogshit":"Dog Poo","pooinbag":"Dog Poo In Bag","automobile":"Automobile","clothing":"Clothing","traffic_cone":"Traffic cone","life_buoy":"Life Buoy","plastic":"Unidentified Plastic","dump":"Illegal Dumping","metal":"Metal Object","plastic_bags":"Plastic Bags","election_posters":"Election Posters","forsale_posters":"For Sale Posters","books":"Books","magazine":"Magazines","paper":"Paper","stationary":"Stationery","washing_up":"Washing-up Bottle","hair_tie":"Hair Tie","ear_plugs":"Ear Plugs (music)","batteries":"Batteries","elec_small":"Electric small","elec_large":"Electric large","random_litter":"Random Litter","balloons":"Balloons","bags_litter":"Bags of Litter","overflowing_bins":"Overflowing Bins","tyre":"Tyre","cable_tie":"Cable Tie","other":"Other-Other"},"presence":{"picked-up":"I picked it up!","still-there":"Was not picked up!","picked-up-text":"It\'s gone.","still-there-text":"The litter is still there!"},"no-tags":"No Tags","not-verified":"Awaiting verification","not-tagged-yet":"Not tagged yet!","dogshit":{"poo":"Surprise!","poo_in_bag":"Surprise in a bag!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},ePQW:function(t,e,n){var i=n("3PcX");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},eSK7:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"This will be back later","claim-tokens":"If you want to just claim your tokens and access your wallet from elsewhere, enter your wallet ID and you will be sent your earnings."}')},eTB5:function(t){t.exports=JSON.parse('{"welcome":"Karibu kwenye Wasifu wako mpya","out-of":"Kati ya watumiaji {jumla}","rank":"Uko katika nafasi ya {rank}","have-uploaded":"Umepakia","photos":"picha","tags":"nembo","all-photos":"picha zote","all-tags":"anembo zote","your-level":"Kiwango chako","reached-level":"Umefikia kiwango cha","have-xp":"na una","need-xp":"Unahitaji","to-reach-level":"kufikia kiwango kinachofuata.","total-categories":"Jumla ya makundi","calendar-load-data":"Onyesha taarifa","download-data":"Pakua taarifa zangu","email-send-msg":"Barua pepe itatumwa kwa anwani unayotumia kuingia.","timeseries-verified-photos":"Picha zilizo hakikiwa","manage-my-photos":"Tazama picha zako, chagua nyingi, zifute au ongeza lebo!","view-my-photos":"Angalia picha zangu","my-photos":"Picha zangu","add-tags":"Ongeza nembo","bulk-tag-dblclick-info":"Bofya mara mbili kuona picha kwa karibu zaidi!"}')},eXIN:function(t,e,n){"use strict";n.r(e);var i={name:"Privacy"},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("h1",[t._v("PLEASE READ CAREFULLY BEFORE USING OPENLITTERMAP.COM:")]),t._v(" "),n("p",[n("i",[t._v("\n Last updated: 14"),n("sup",[t._v("th")]),t._v("\n April 2017\n ")])]),t._v(" "),n("br"),t._v(" "),n("h1",[t._v("Privacy Policy of OpenLitterMap.com")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("Our Services provide volunteers (Citizen Scientists) with a means to share information on occurrences of litter through geotagged imagery. Geotagged images have a spatial (a specific, typically centimeter-accurate GPS Lat/Long position) reference as well as a specific time-stamp (Year-month-day HH:MM:SS), which can be used to determine exactly where and when an occurrence of litter was identified- thus showing the location of a contributor at any point in time and potentially revealing information about the spatial patterns of a contributor or many contributors and revealing the location of hotspots and irregular occurrences of hazardous material such as drug-related litter (eg. needles, injecting equipment). A specific litter item can be shown individually and/or abstracted to a dynamically-sized hexagonal grid to analytically characterize the presence of litter, or abstractively perhaps even the illicit consumption of toxic substances. Once these images are shared with us, and only geotagged images can pass, the volunteer must properly attribute each image (eg. Determine x items of litter in x number of photos through the user of their Profile (https://openlittermap.com/profile) and once the image and its’ contents are attributed, each image must be submitted for crowdsourced verification. The verified images, their location and the time the image was captured will be mapped, spatially analyzed and the results, the images, the make/model of the device (which is an indication of spatial accuracy eg. iPhones (5+) are currently typically superior in spatial accuracy and temporal GPS-revisit frequency to Android) and their contents will be made public for guests or authenticated users of the website. Each image can account for only 1 point on the map which when clicked, will show the image which can be viewed in high-resolution, as well as its contents, the make and/or model of the device and although all images will be submitted anonymously by default, each contributor has the option to credit either their full name and/or unique Username or Organisation on the verifiable geotagged images they provide. We will maintain the images at our own discretion in accordance with our limited server capacity. However, images that are verified by an Admin and reach stage two verification will be deleted, allowing us to resolve greater volumes of data and keep our costs as low as possible.\n "),n("br"),t._v(" "),n("br"),t._v(" "),n("br"),t._v("\n This Privacy Policy describes how and when we collect, share and use your information across the website. By using this website, you authorize us to store and use your information in accordance with this privacy policy. This policy will change from time to time and we will do our best to notify you of these changes and updates once you log into the website and through our social media campaigns @OpenLitterMap (Twitter).")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("People under the age of 13")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("We do not allow for people under the age of 13 to use or register with our Services. If we discover there is personal information from or about children below this age category, we will permanently delete that information and any other associate records immediately.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("People aged 13-17")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("Only with parental or guardian supervision may a person aged 13-17 use this website for educational purposes. With proper supervision a person in this age category may be able to involve themselves with challenging the destructive paradigm of plastic pollution and contribute to the production of geospatial knowledge that has the potential to transform public and institutional behaviour however users should take particular caution when sharing their information online or when collecting data on litter which may be detrimental to personal health. For example, drug-related litter is a highly dangerous public-health hazard and if mishandled or stepped on accidentally, could result in a life-long physical, sexual and mentally-debilitating illness, disease, infection and/or scar, which will require urgent medical treatment from a medical professional- something this website claims to hold no knowledge of. Parents may choose to show the information on drug-related litter to their adolescent children to raise awareness about the harms caused by drug-related littering the public so that further accidents can be avoided.")]),t._v(" "),n("br"),t._v(" "),n("h3",{staticStyle:{color:"red"}},[t._v("If you require urgent medical treatment")]),t._v(" "),n("br"),t._v(" "),n("p",[n("b",[t._v("Please call 112, 999 or your appropriate emergency line and ask for an ambulance.")])]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("We collect the following information:")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("- Information you provide when you register for an account (eg. Full Name, legitimate and verifiable email address, a unique username or the organisation you are legally entitled to represent)\n "),n("br"),t._v("\n - The images you submit.\n "),n("br"),t._v("\n - The metadata associated with the images.\n "),n("br"),t._v("\n - The attribute information associated with each image.\n "),n("br"),t._v("\n - Cumulate statistics and geostatistics based on the analysis of each and all images.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("We do not collect the following information:")]),t._v(" "),n("p",[n("br"),t._v("\n - Cookies.\n "),n("br"),t._v("\n - Your IP address.\n "),n("br"),t._v("\n - The website you have come for, or are going to.\n "),n("br"),t._v("\n - The type of browser you are using.\n "),n("br"),t._v("\n - “Clickstream” data.\n "),n("br"),t._v("\n - How you use this website.\n "),n("br")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("Other people including 3rd parties may use the information you decide to make public accessible.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("By submitting data to this Service, you accept and understand that the images, their contents, their location in time and space and potentially on your allowance, you may wish to be represented as the contributor of the image by full name and/or your unique username. By default, all images will be contributed anonymously. ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("Security and your Password")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("You must choose a strong password at least 6 characters long that contains upper and lower case characters, a number and a symbol. Your password will be encrypted using the best available encryption methods and stored securely on our server. With the one exception of the map on Firefox which requires partial encryption, all of our website runs on an encrypted HTTPS network so the information you provide, including for example credit card information, is fully encrypted with SSL. In fact for credit cards we never touch your card details as we use Stripe for payments. www.stripe.com")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("Feedback")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("This is a new service. We are happy to hear feedback on this service or privacy policy if you think you can offer us some advice please contact us at info@openlittermap.com")])])}],!1,null,"9a72d7c4",null);e.default=a.exports},elOy:function(t,e,n){"use strict";var i=n("Zcca");n.n(i).a},emV3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#hexmap[data-v-41819959] {\n height: 100%;\n margin: 0;\n position: relative;\n}\n.btn-map-fullscreen[data-v-41819959] {\n position: absolute;\n top: 1em;\n right: 1em;\n z-index: 1234;\n}\n\n/* remove padding on mobile */\n.profile-map-container[data-v-41819959] {\n height: 100%;\n position: relative;\n}\n",""])},enqF:function(t){t.exports=JSON.parse('{"ready-to-join":"Prêt à rejoindre la révolution géospatiale?","join-subtitle":"Si vous aimez notre travail, votre aide sera vraiment très utile à OpenLitterMap.","free-plan":"GRATUIT","free-plan-feature1":"Télécharger 1000 images par jour.","free-plan-feature2":"Débloquer des Badges + Récompenses.","free-plan-feature3":"Gagner des Littercoins.","free-plan-feature4":"Concourir dans plusieurs classements différents.","free-plan-join":"Je participe","startup-plan":"LANCEMENT","startup-plan-donation":"5€ par mois","startup-plan-feature1":"Financer le développement d\'OpenLitterMap.","startup-plan-feature2":"Nous aider à couvrir nos frais.","startup-plan-feature3":"S\'installer et profiter des mises à jour.","startup-plan-join":"J\'apporte mon soutien!","basic-plan":"BASIQUE","basic-plan-donation":"9,99€ par mois","basic-plan-feature1":"Financer le développement d\'OpenLitterMap.","basic-plan-feature2":"Nous aider à couvrir nos frais.","basic-plan-feature3":"S\'installer et profiter des mises à jour.","basic-plan-join":"J\'apporte mon soutien!","advanced-plan":"AVANCÉ","advanced-plan-donation":"20€ par mois","advanced-plan-feature1":"Financer le développement d\'OpenLitterMap.","advanced-plan-feature2":"Nous aider à couvrir nos frais.","advanced-plan-feature3":"S\'installer et profiter des mises à jour.","advanced-plan-join":"J\'apporte mon soutien!","pro-plan":"PRO","pro-plan-donation":"30€ par mois","pro-plan-feature1":"Financer le développement d\'OpenLitterMap.","pro-plan-feature2":"Nous aider à couvrir nos frais.","pro-plan-feature3":"S\'installer et profiter des mises à jour.","pro-plan-join":"Je suis vraiment déterminé."}')},fIXd:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Arte","brands":"Marcas","coastal":"Costa","coffee":"Café","dumping":"Vertedero","food":"Comida","industrial":"Industrial","sanitary":"Sanitario","softdrinks":"Refrescos","smoking":"Fumar","other":"Otros","dogshit":"Mascotas","material":"Material"},"smoking":{"butts":"Cigarrillos/Colillas","lighters":"Mecheros","cigaretteBox":"Caja de cigarros","tobaccoPouch":"Bolsa de tabaco","skins":"Papel de liar","smoking_plastic":"Embalaje de plástico","filters":"Filtros","filterbox":"Caja de filtros","vape_pen":"Vapeador (cigarrillo electrónico)","vape_oil":"Líquido para vapear","smokingOther":"Fumar-Otros"},"alcohol":{"beerBottle":"Botellas de cerveza","spiritBottle":"Botellas de alcohol","wineBottle":"Botellas de vino","beerCan":"Latas de cerveza","brokenGlass":"Vidrio roto","bottleTops":"Tapas de botellas de cerveza","paperCardAlcoholPackaging":"Embalaje de papel","plasticAlcoholPackaging":"Embajale de plástico","pint":"Vaso de cerveza","six_pack_rings":"Anillos para latas de cerveza","alcohol_plastic_cups":"Vasos de plástico","alcoholOther":"Alcohol-Otros"},"art":{"item":"Arte de la Basura"},"coffee":{"coffeeCups":"Vasos de café","coffeeLids":"Tapas de café","coffeeOther":"Café-Otros"},"food":{"sweetWrappers":"Envoltorios de dulces","paperFoodPackaging":"Embalaje de papel/cartón","plasticFoodPackaging":"Embalaje de plástico","plasticCutlery":"Cubiertos de plástico","crisp_small":"Paquete de patatas fritas (pequeño)","crisp_large":"Paquete de patatas fritas (grande)","styrofoam_plate":"Plato de poliestireno desechable","napkins":"Servilletas","sauce_packet":"Paquete de salsa","glass_jar":"Jarra de vidrio","glass_jar_lid":"Tapa de jarra de vidrio","aluminium_foil":"Papel aluminio","pizza_box":"Caja de pizza","foodOther":"Comida-Otros","chewing_gum":"Chicle"},"softdrinks":{"waterBottle":"Botella de plástico de agua","fizzyDrinkBottle":"Botella de plástico de bebida gaseosa","tinCan":"Lata","bottleLid":"Tapas de botellas","bottleLabel":"Etiquetas de botellas","sportsDrink":"Botella de bebida deportiva","straws":"Pajitas/Popotes","plastic_cups":"Vasos de plástico","plastic_cup_tops":"Tapas de vasos de plástico","milk_bottle":"Botella de leche","milk_carton":"Cartón de leche","paper_cups":"Vasos de papel","juice_cartons":"Cartones de zumo/jugo","juice_bottles":"Botellas de zumo/jugo","juice_packet":"Paquete de zumos/jugos","ice_tea_bottles":"Botellas de té helado","ice_tea_can":"Lata de té helado","energy_can":"Lata de bebida energética","pullring":"Anillas","strawpacket":"Embalaje pajitas","styro_cup":"Vaso de poliestireno","broken_glass":"Vidrio roto","softDrinkOther":"Bebidas-Otras"},"sanitary":{"gloves":"Guantes","facemask":"Mascarillas","condoms":"Preservativos","nappies":"Pañales","menstral":"Menstral","deodorant":"Desodorante","ear_swabs":"Bastoncillos para los oídos","tooth_pick":"Palillo de dientes","tooth_brush":"Cepillo de dientes","wetwipes":"Toallitas húmedas","hand_sanitiser":"Higienizante de manos","sanitaryOther":"Sanitario-Otros"},"dumping":{"small":"Pequeño","medium":"Mediano","large":"Grande"},"industrial":{"oil":"Aceite","industrial_plastic":"Plástico","chemical":"Químicos","bricks":"Ladrillos","tape":"Cinta","industrial_other":"Industrial-Otros"},"coastal":{"microplastics":"Microplásticos","mediumplastics":"Mesoplásticos","macroplastics":"Macroplásticos","rope_small":"Cuerda pequeña","rope_medium":"Cuerda mediana","rope_large":"Cuerda larga","fishing_gear_nets":"Equipo de pesca/redes","ghost_nets":"Redes fantasma","buoys":"Boyas","degraded_plasticbottle":"Botella de plástico degradada","degraded_plasticbag":"Bolsa de plástico degradada","degraded_straws":"Pajitas para beber degradadas","degraded_lighters":"Mecheros degradados","balloons":"Globos","lego":"Lego","shotgun_cartridges":"Cartuchos de escopeta","styro_small":"Espuma de poliestireno pequeña","styro_medium":"Espuma de poliestireno mediana","styro_large":"Espuma de poliestireno grande","coastal_other":"Costa-Otros"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"TrashDog","littercat":"LitterCat","duck":"LitterDuck"},"other":{"dogshit":"Heces de perro","pooinbag":"Heces de perro en una bolsa","automobile":"Automóvil","clothing":"Ropa","traffic_cone":"Cono de tráfico","life_buoy":"Boya salvavidas","plastic":"Plástico no identificado","dump":"Vertedero ilegal","metal":"Objeto de metal","plastic_bags":"Bolsas de plástico","election_posters":"Carteles electoráles","forsale_posters":"Carteles de \'en venta\'","books":"Libros","magazine":"Revistas","paper":"Papel","stationary":"Papelería","washing_up":"Botella lavavajillas","hair_tie":"Gomas para cabello","ear_plugs":"Tapones para los oídos","batteries":"Pilas","elec_small":"Electrónica pequeña","elec_large":"Electrónica grande","random_litter":"Basura aleatoría","balloons":"Globos","bags_litter":"Bolsas de basura","overflowing_bins":"Contenedores de basura desbordados","tyre":"Neumáticos","cable_tie":"Sujetacables","other":"Otros-Otros"},"presence":{"picked-up":"¡La he recogido!","still-there":"¡No fue recogido!","picked-up-text":"Ya no está.","still-there-text":"¡La basura sigue ahí!"},"no-tags":"Sin etiquetas","not-verified":"Esperando verificación","not-tagged-yet":"¡Todavía no etiquetado!","dogshit":{"poo":"¡Sorpresa!","poo_in_bag":"¡Sorpresa dentro de la bolsa!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},fJHo:function(t,e,n){"use strict";var i=n("w+GM");n.n(i).a},fKuF:function(t,e,n){"use strict";var i=n("+2sq");n.n(i).a},fMyq:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".btn-map-fullscreen[data-v-49b858a9] {\n position: absolute;\n top: 80px;\n left: 12px;\n z-index: 1234;\n}\n\n/* remove padding on mobile */\n.team-map-container[data-v-49b858a9] {\n height: 750px;\n margin: 0;\n position: relative;\n padding-top: 1em;\n}\n@media (max-width: 991.98px) {\n.team-map-container[data-v-49b858a9] {\n height: 500px;\n}\n}\n@media (max-width: 575.98px) {\n.team-map-container[data-v-49b858a9] {\n margin-left: -3em;\n margin-right: -3em;\n}\n}",""])},fYLw:function(t){t.exports=JSON.parse('{"change-privacy":"Alterar minha privacidade","maps":"Mapas","credit-name":"Creditar meu nome","credit-username":"Creditar meu nome de usuário","name-imgs-yes":"Seu nome aparecerá em cada uma das imagens que você enviar para os mapas.","username-imgs-yes":"Seu nome de usuário aparecerá em cada uma das imagens que você enviar para os mapas.","name-username-map-no":"Seu nome e nome de usuário não aparecerão nos mapas.","leaderboards":"Placares de líderes","credit-my-name":"Creditar meu nome","credit-my-username":"Creditar meu nome de usuário","name-leaderboards-yes":"Seu nome aparecerá em todos os placares de líderes para os quais você se qualificar.","username-leaderboards-yes":"Seu nome de usuário aparecerá em todas as tabelas de classificação para as quais você se qualificar.","name-username-leaderboards-no":"Seu nome e nome de usuário não aparecerão nas tabelas de classificação.","created-by":"Criado por","name-locations-yes":"Seu nome aparecerá nas seções criadas por de qualquer local que você criar.","username-locations-yes":"Seu nome de usuário aparecerá nas seções criadas por de qualquer local que você criar.","name-username-locations-yes":"Seu nome e nome de usuário não aparecerão na seção Criado Por de nenhum local que você adicionar ao banco de dados.","update":"Atualizar"}')},fYS8:function(t,e,n){var i=n("oYGC");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},fcDi:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.tsc[data-v-e122f83a] {\n margin-top: 1em;\n margin-left: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.tsc[data-v-e122f83a] {\n margin-top: 0;\n margin-left: 0;\n}\n}\n\n",""])},feLt:function(t){t.exports=JSON.parse('{"welcome":"Welkom bij je nieuwe Profiel","out-of":"Van de {total} gebruikers","rank":"Sta jij op plek {rank}","have-uploaded":"Je hebt ge-upload","photos":"Foto\'s","tags":"Kenmerken","all-photos":"alle foto\'s","all-tags":"alle kenmerken","your-level":"Jouw niveau","reached-level":"Jouw bereikte niveau","have-xp":"en je heb","need-xp":"je hebt nodig","to-reach-level":"om het volgende niveau te bereiken.","total-categories":"Totaal Categorieën","calendar-load-data":"Ophalen Data","download-data":"Download Mijn Data","email-send-msg":"Een e-mail wordt gestuurd naar het adres dat je gebruikt om in te loggen.","timeseries-verified-photos":"Gecontroleerde Foto\'s","manage-my-photos":"Bekijk mijn foto\'s, selecteer meerdere, verwijder ze of voeg kenmerken toe!","view-my-photos":"Bekijk mijn Foto\'s","my-photos":"Mijn Foto\'s","add-tags":"Voeg kenmerken toe","bulk-tag-dblclick-info":"Dubbelklik om foto\'s in te zoomen!"}')},fjiq:function(t){t.exports=JSON.parse('{"title":"Ayúdanos a cambiar el mundo.","subtitle":"Nosotros estamos creciendo por día","photos-last-30-days":"Fotos subidas los últimos 30 días","users-last-30-days":"Nuevos usuarios los últimos 30 días","litter-tags-last-30-days":"Camada etiquetada los últimos 30 días","photos-every-month-label":"Fotos subidas cada mes","users-every-month-label":"Nuevos usuarios cada mes","zoom-text":"Únase a nosotros en {link}, donde escuchamos muchas ideas y sugerencias nuevas de nuestra creciente comunidad global. Cada semana, nuestros usuarios comparten sus comentarios, lo que siempre ayuda a que nuestra aplicación sea más fácil y mejor de usar. Ayude a dar forma a la dirección futura de nuestra plataforma de monitoreo ambiental y recopilación de datos de código abierto. La llamada comienza en:","zoom-weekly-calls":"las llamadas de Zoom semanales a las 6 p.m. GMT (hora de Dublín/Londres/Lisboa) todos los jueves","zoom-live":"En Vivo","zoom-days":"día | días","zoom-hours":"hora | horas","zoom-minutes":"minuto | minutos","slack-text":"{slack} es nuestro principal medio de comunicación y colaboración. Usuarios avanzados, recién llegados, desarrolladores, una comunidad de más de 400 miembros: todos estamos allí. Escríbanos y obtendrá una respuesta instantánea, estamos en línea todo el tiempo.","fundraiser-text":"OpenLitterMap depende completamente de las donaciones. Hemos creado una {link} y todavía estamos lejos de nuestro objetivo. Todas las contribuciones son bienvenidas. {emoji}","fundraiser-link":"recaudación de fondos de GoFundMe"}')},fnz1:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".leaflet-control-select .leaflet-control-button {\n cursor: pointer;\n font-size: 20px;\n}\n.leaflet-control-select .leaflet-control-select-menu {\n width: auto;\n}\n.leaflet-control-select .leaflet-control-select-menu:nth-of-type(1) {\n position: absolute;\n top: -3px;\n left: -2px;\n}\n.leaflet-control-select .leaflet-control-select-menu:nth-of-type(n + 2) {\n margin-top: -7px;\n position: absolute;\n left: 100%;\n margin-left: 5px;\n}\n.leaflet-control-select .leaflet-control-select-menu {\n background-color: white;\n color: black;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line {\n padding: 7px;\n padding-right: 20px;\n padding-left: 10px;\n margin: 0;\n cursor: pointer;\n white-space: nowrap;\n display: -webkit-box;\n width: auto;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line.group.group-opened {\n background-color: grey;\n color: white;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content {\n width: 100%;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content .icon {\n position: absolute;\n right: 6px;\n margin-top: 1px;\n width: 10px;\n text-align: center;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content .icon,\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line .leaflet-control-select-menu-line-content .text {\n display: inline;\n}\n.leaflet-control-select .leaflet-control-select-menu .leaflet-control-select-menu-line span {\n display: inline;\n}",""])},"g+b/":function(t){t.exports=JSON.parse('{"delete-account":"A fiókom törlése","delete-account?":"Szeretné törölni a fiókját?","enter-password":"Írd be a jelszavad"}')},g1lL:function(t){t.exports=JSON.parse('{"change-details":"Zmień dane osobowe","your-name":"Twoje imie","unique-id":"Unikatowy Identyfikator","email":"E-mail","update-details":"Aktualizuj dane"}')},"g4/Y":function(t){t.exports=JSON.parse('{"finance":"Financer le développement d\'OpenLitterMap","help":"Nous avons besoin de votre aide.","support":"Soutenez le libre accès des données sur la Pollution Plastique","help-costs":"Aider à couvrir nos coûts","help-hire":"Embaucher des développeurs, des concepteurs et des diplômés","help-produce":"Produire des vidéos","help-write":"Écrire des articles","help-outreach":"Conférence & sensibilisation","help-incentivize":"Encourager la collecte de données avec le Littercoin","more-soon":"D\'autres mises à jour intéressantes suivront bientôt","click-to-support":"Cliquez ici pour soutenir"}')},g57v:function(t,e){},gBxo:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("ltXA"),r=n("wd/R"),a=n.n(r),o={popupOptions:{minWidth:window.innerWidth>=768?350:200,maxWidth:600,maxHeight:window.innerWidth>=768?800:500,closeButton:!0},scrollPopupToBottom:function(t){var e,n,i=null===(e=t.popup)||void 0===e||null===(n=e.getElement())||void 0===n?void 0:n.querySelector(".leaflet-popup-content");i&&(i.scrollTop=i.scrollHeight)},parseTags:function(t,e,n){if(!t&&!e)return n?i.a.t("litter.not-tagged-yet"):i.a.t("litter.not-verified");var r="",a=t?t.split(","):[];return a.pop(),a.forEach((function(t){var e=t.split(" ");"art.item"===e[0]?r+=i.a.t("litter."+e[0])+"
      ":r+=i.a.t("litter."+e[0])+": "+e[1]+"
      "})),r},formatUserName:function(t,e){return t||e?"".concat(i.a.t("locations.cityVueMap.by")," ").concat(t||""," ").concat(e?"@"+e:""):""},formatPickedUp:function(t){return"".concat(t?i.a.t("litter.presence.picked-up"):i.a.t("litter.presence.still-there"))},formatTeam:function(t){return t?"".concat(i.a.t("common.team")," ").concat(t):""},formatPhotoTakenTime:function(t){return i.a.t("locations.cityVueMap.taken-on")+" "+a()(t).format("LLL")},getMapImagePopupContent:function(t){var e,n,i,r,a,s,l,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,c=o.formatUserName(t.name,t.username),h="/assets/images/waiting.png"!==t.filename,d=null===(e=t.custom_tags)||void 0===e?void 0:e.join("
      "),p=o.parseTags(t.result_string,d,h),f=o.formatPhotoTakenTime(t.datetime),m=o.formatTeam(t.team),g=o.formatPickedUp(t.picked_up),v=t.result_string&&t.result_string.includes("art.item"),y=t.social&&Object.keys(t.social).length;return'\n \n
      \n ').concat(p?"
      "+p+"
      ":"","\n ").concat(d?"
      "+d+"
      ":"","\n ").concat(v?"":"
      "+g+"
      ","\n
      ").concat(f,"
      \n ").concat(c?"
      "+c+"
      ":"","\n ").concat(m?'
      '+m+"
      ":"","\n ").concat(y?'":"","\n ").concat(u?'':"","\n
      ")},getCleanupContent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="";return null===e?n="Log in to join the cleanup":t.users.find((function(t){return t.user_id===e}))?(n="

      You have joined the cleanup

      ",e===t.user_id?n+="

      You cannot leave the cleanup you created

      ":n+="Click here to leave")):n="Click here to join"),'\n
      \n

      '.concat(t.name,"

      \n

      Attending: ").concat(t.users.length," ").concat(1===t.users.length?"person":"people","

      \n

      ").concat(t.description,"

      \n

      When? ").concat(t.startsAt,"

      \n

      ").concat(t.timeDiff,"

      \n ").concat(n,"\n
      \n ")}}},gCZh:function(t,e,n){var i=n("9Qla");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"gD/i":function(t){t.exports=JSON.parse('{"title":"Classement des Équipes","position-header":"Position","name-header":"Nom","photos-header":"Total des Photos","litter-header":"Total des déchets","created-at-header":"Créé À"}')},"gGk+":function(t){t.exports=JSON.parse('{"title":"Are you ready?","subtitle":"Sign up to become an expert litter mapper and help us defeat plastic pollution.","crowdfunding-message":"Please consider supporting our work by crowdfunding OpenLitterMap with as little as 6 cents a day with a monthly subscription to help grow and develop this important platform.","form-create-account":"Create your account","form-field-name":"Name","form-field-unique-id":"Unique Identifier","form-field-email":"E-Mail Address","form-field-password":"Password. Must contain Uppercase, lowercase and a number.","form-field-pass-confirm":"Confirm Password","form-account-conditions":"I have read and agree to the Terms and Conditions of use and Privacy Policy","form-btn":"Sign up","create-account-note":"Note: If you do not recieve the verification e-mail in your inbox, please check your spam/junk folder."}')},gMnw:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap jest obecnie całkowicie zależny od dotacji","its-important":"Jest to ważne"}')},"gRT/":function(t){t.exports=JSON.parse('{"do-you-pickup":"Vous ramassez le déchet ou vous le laisser sur place?","save-def-settings":"Vous pouvez enregistrer vos paramètres par défaut ici.","change-value-of-litter":"Vous pouvez aussi changer la valeur de chaque déchet pendant que vous les taguez.","status":"Statut Actuel","toggle-presence":"Inverser la participation","pickup?":"Ramasser?"}')},gUen:function(t){t.exports=JSON.parse('{"what-about-litter":"¿Qué pasa con la basura?","about2":"En este momento, billones de colillas de cigarro con filtro de plástico están filtrando productos químicos tóxicos y microplásticos al medio ambiente.","about3":"¿El resultado?","about4":"Se liberan cantidades masivas de nicotina y otras sustancias químicas tóxicas.","about5":"Estos productos químicos tóxicos se bioacumulan en varias plantas y animales. Algunos de los cuales comemos.","about6":"Una emergencia ambiental que está al alcance de nuestra mano.","about7":"Puedes ayudarnos a solucionar esto contribuyendo a OpenLitterMap.","about8":"Sólo tienes que hacer una foto, etiquetarla y subirla.","about9":"¡Quiero ayudar!","about9a":"Sólo toma una foto","about9b":"Etiqueta la basura","about9c":"Súbela","about10":"Cada año, millones de toneladas de plástico encuentran su camino desde tierra firme hasta el mar.","about11":"Donde se vuelve significativamente más dañino, más difícil y más caro de eliminar.","about12":"La ilusión de la \\"limpieza urbana\\"","about13":"se ve facilitada por el diseño de la infraestructura.","about14":"Los datos de OpenLitterMap son","about14a":"Datos Abiertos","about14b":"Esto significa que cualquiera puede descargar los datos de forma gratuita y utilizarlos para cualquier propósito, sin permiso.","about15":"Los datos abiertos son esenciales para brindar transparencia, democracia y seguimiento a la ciencia sobre la contaminación. De lo contrario, ¿quién podrá utilizar los datos?","about16":"OpenLitterMap te empodera con las herramientas para convertirte en un científico ciudadano.","about17":"Ahora tienes el poder de contribuir a la producción de conocimiento geoespacial sobre nuestro mundo. Esto tiene el potencial de transformar el comportamiento público e institucional.","about17a":"Nuestros datos están mapeados por Espacio, Tiempo, Localización y Comportamientos.","about17b":"Echa un vistazo a este increíble tramo de Datos Abiertos sobre la contaminación causada por los productos de un puñado de corporaciones globales.","about17c":"¿Quieres descargar los datos?","about18":"La producción de conocimiento geográfico estuvo en su día en manos exclusivamente de las grandes instituciones y personas de poder.","about19":"Como Científico Ciudadano, ","about20":"tu puedes crear conocimiento. ","about21":"Se trata de un cambio de paradigma en cómo se crea la información geográfica que conocemos sobre nuestro mundo.","about22":"Cómo ayudar:","about23":"¡Únete hoy mismo!","about24":"Activa el geoetiquetado en tu dispositivo. Las instrucciones sobre cómo hacerlo se envían en un correo electrónico de bienvenida cuando te registras.","about25":"Puedes mapear cualquier cosa, desde tan solo una colilla de cigarrillo hasta el contenido de toda una playa o calle limpia en 1 foto.","about26":"Si hay demasiada basura y es difícil de calcular, simplemente use la categoría \\"Vertedero\\" y califica el área del 1 al 100 o elija \\"Basura aleatoria\\" en la categoría \\"Otros\\".","about27":"Si quieres crear mapas realmente impactantes, haz todas las fotos que puedas. O si no tienes tiempo, puedes registrar cualquier número de elementos en una sola foto.","about28":"¡Las imágenes y el contenido verificados se agregarán automáticamente a la base de datos, analizadas cuantitativa y geoespacialmente, y estarán disponibles públicamente para que el mundo las vea!","about29":"Ayúdanos a comunicar los problemas y las soluciones para evitar que el plástico llegue al océano.","about29a":"Si te gusta nuestro trabajo y te gustarppia apoyar, por favor únete al crowdfunding.","about30":"Únete a OpenLitterMap para crear un mundo con menos de","about301":"esto","about302":"y esto...","about31":"Sólo en 2010, se calcula que al menos 8 millones de toneladas de plástico fueron a parar al océano. Eso supone una media de 916 toneladas por hora.","about32":"Una muestra de lo que flota en los océanos","about33":"Actualmente, la contaminación por plásticos es responsable de la muerte de alrededor de 1 millón de aves y 100 mil mamíferos marinos al año.","about34":"Para 2025, se espera que la cantidad de plástico que ingresa al océano aumente a 70 millones de toneladas, suponiendo que continúen las tendencias actuales.","about35":"¡Quiero ayudar!"}')},gZjL:function(t,e,n){"use strict";var i=n("mzd9");n.n(i).a},gaDp:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i=["alcohol","art","brands","coastal","coffee","dogshit","dumping","food","industrial","sanitary","softdrinks","smoking","material","other"]},gdWU:function(t){t.exports=JSON.parse('{"cancel":"Annuler","submit":"Soumettre","download":"Télécharger","delete":"Supprimer","delete-image":"Supprimer l\'image","confirm-delete":"Confirmer la suppresion","loading":"Chargement...","created_at":"Créé à","created":"Créé","created-by":"Créé par","datetime":"Prise à","day-names":["Lu","Ma","Me","Je","Ve","Sa","Di"],"month-names":["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Decembre"],"short-month-names":["Jan","Fev","Mar","Avr","Mai","Juin","Juil","Août","Sep","Oct","Nov","Dec"],"next":"Suivant","previous":"Précédent","next-page":"Page suivante","add-tags":"Ajouter un tag","add-many-tags":"Ajouter plusieurs tags","select-all":"Sélectionner tout","de-select-all":"Désélectionner tout","choose-dates":"Choisir les dates","not-verified":"Non vérifié","verified":"Vérifié","search-by-id":"Rechercher par ID","active":"Actif","inactive":"Inactif","inactivate":"Désactiver les contributions d\'équipes","your-email":"vous@email.com","team":"Equipe","actions":"Actions","anonymous":"Anonyme","photo":"Photo","reason":"Raison","faq":"Foire aux questions"}')},gtXK:function(t){t.exports=JSON.parse('{"what-about-litter":"Co ze śmieciami","about2":"W tej chwili biliony niedopałków po papierosach z plastikowymi końcówkami wysysają toksyczne chemikalia i mikroplastiki do środowiska.","about3":"Jaki jest rezultat?","about4":"Uwalniają się ogromne ilości nikotyny i innych toksycznych chemikaliów.","about5":"Te toksyczne chemikalia gromadzą się biologicznie w różnych roślinach i zwierzętach. Niektóre z nich jemy.","about6":"Stan zagrożenia środowiska jest na wyciągnięcie ręki.","about7":"Możesz pomóc nam to naprawić, współtworząc OpenLitterMap.","about8":"Po prostu zrób zdjęcie, otaguj je i prześlij.","about9":"Chce pomóc!","about9a":"Zrób zdjęcie","about9b":"Oznacz śmieci","about9c":"Wyślij je","about10":"Każdego roku miliony ton plastiku przedostają się z lądu do morza.","about11":"Tam, gdzie jest znacznie bardziej szkodliwy, trudniejszy i droższy do usunięcia.","about12":"Iluzja \\"miejskiego sprzątania\\"","about13":"ułatwia projektowanie infrastruktury.","about14":"Dane OpenLitterMap są","about14a":"Danymi otwartymi","about14b":"Oznacza to, że każdy może bezpłatnie pobierać dane i wykorzystywać je w dowolnym celu bez pozwolenia.","about15":"Otwarte dane mają zasadnicze znaczenie dla zapewnienia przejrzystości, demokracji i odpowiedzialności nauce w zakresie zanieczyszczeń. W przeciwnym razie kto będzie mógł korzystać z danych?","about16":"OpenLitterMap daje Ci narzędzia, dzięki którym możesz zostać naukowym obywatelem.","about17":"Masz teraz możliwość przyczynienia się do tworzenia wiedzy geoprzestrzennej o naszym świecie. Ma to potencjał do zmiany zachowań publicznych i instytucjonalnych.","about17a":"Nasze dane są mapowane według przestrzeni, czasu, lokalizacji i zachowania.","about17b":"Sprawdź ten niesamowity fragment bezpłatnych i otwartych danych na temat zanieczyszczenia powodowanego przez produkty kilku globalnych korporacji","about17c":"Chcesz pobrać dane?","about18":"Produkcja wiedzy geoprzestrzennej była kiedyś prowadzona wyłącznie przez główne instytucje i osoby posiadające władzę.","about19":"Jako obywatelski naukowiec, ","about20":"ty tworzysz wiedzę. ","about21":"To jest zmiana paradygmatu w sposobie tworzenia znanych informacji geograficznych o naszym świecie.","about22":"Jak pomóc:","about23":"Dołącz dziś!","about24":"Włącz geotagowanie na swoim urządzeniu. Instrukcje, jak to zrobić, są wysyłane w powitalnej wiadomości e-mail podczas rejestracji.","about25":"Na jednym zdjęciu możesz zmapować wszystko, od jednego niedopałka papierosa po zawartość całej plaży lub ulicy.","about26":"Jeśli jest zbyt dużo śmieci i jest to nieobliczalne, po prostu użyj kategorii Zaśmiecanie i oceń obszar od 1 do 100 lub wybierz \\"Losowe śmieci\\" w kategorii \\"Inne\\"","about27":"Jeśli chcesz tworzyć naprawdę potężne mapy, zrób jak najwięcej zdjęć. Jeśli nie masz czasu, możesz zarejestrować dowolną liczbę odpadów na jednym zdjęciu.","about28":"Zweryfikowane zdjęcia i treści zostaną automatycznie dodane do bazy danych, poddane analizie ilościowej i geoprzestrzennej oraz udostępnione publicznie, aby świat mógł je zobaczyć!","about29":"Pomóż nam informować o problemach i rozwiązaniach - aby plastik nie dostawał się do oceanu.","about29a":"Jeśli podoba Ci się nasza praca i chciałbyś nas wesprzeć, dołącz do crowdfundingu","about30":"Dołącz do Open Litter Map, aby stworzyć świat z mniejszą ilością","about301":"tego","about302":"i tego...","about31":"Szacuje się, że w samym 2010 roku co najmniej 8 milionów ton plastiku trafiło do oceanu. To średnio 916 ton na godzinę.","about32":"Próbka tego, co unosi się w oceanach","about33":"Zanieczyszczenie tworzywami sztucznymi jest obecnie odpowiedzialne za roczną śmierć około 1 miliona ptaków i 100 000 ssaków morskich.","about34":"Oczekuje się, że do 2025 roku. Ilość plastiku wprowadzanego do oceanu wzrośnie do 70 milionów ton, zakładając kontynuację obecnych trendów.","about35":"Chcę pomóc!"}')},heCY:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.root-container[data-v-2a45d4ce] {\n height: calc(100vh - 10px);\n}\n\n",""])},hfun:function(t,e,n){"use strict";n.r(e);var i={name:"Credits"},r=n("KHd+"),a=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.flaticon.com/authors/pixel-buddha",title:"Pixel Buddha"}},[t._v("Pixel Buddha")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.freepik.com",title:"Freepik"}},[t._v("Freepik")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.flaticon.com/authors/smashicons",title:"Smashicons"}},[t._v("Smashicons")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("div",[t._v("Icons made by "),n("a",{attrs:{href:"https://www.flaticon.com/authors/alfredo-hernandez",title:"Alfredo Hernandez"}},[t._v("Alfredo Hernandez")]),t._v(" from "),n("a",{attrs:{href:"https://www.flaticon.com/",title:"Flaticon"}},[t._v("www.flaticon.com")])]),t._v(" "),n("a",{attrs:{href:"https://www.freepik.com/vectors/garbage-man"}},[t._v("Garbage man vector created by pch.vector - www.freepik.com")]),t._v(" "),n("a",{attrs:{href:"https://create.vista.com/unlimited/stock-photos/164344014/stock-photo-volunteer-with-trash-bag-and/"}},[t._v("Photo Volunteering, people and ecology concept - volunteer woman with garbage bag and glass bottle cleaning area in park created by Syda_Productions")])])}],!1,null,"3861d040",null);e.default=a.exports},hnin:function(t){t.exports=JSON.parse('{"title":"Csapataim","currently-joined-team":"Az Ön aktív csapata","currently-not-joined-team":"Jelenleg nem vagy egy csapat tagja","no-joined-team":"Még nem csatlakoztál egy csapathoz","leader-of-team":"Te vagy ennek a csapatnak a vezetője","enabled-contributions":"Minden hozzájárulásod csak ennek a csapatnak számít.","disabled-contributions":"Még nem választottál ki aktív csapatot.
      Ez azt jelenti, hogy jelenleg egyetlen csapatban sem járulsz hozzá.
      Aktív csapatát az alsó lista csillag ikonjaira kattintva választhatja ki.","disable-contributions-tooltip":"Ez mostantól letiltja a csapat hozzájárulásaidat. Továbbra is tagja maradsz csapataidnak, és bármikor engedélyezheted a hozzájárulásokat.","team-details":"Csapat részletei","all-my-teams":"Minden csapatom","this-is-active-team":"Ez az Ön aktív csapata","set-as-active-team":"Állítsa be aktív csapataként","team-identifier":"Csapatazonosító","join-team":"Csatlakozz egy csapathoz","leave-team":"Csapat elhagyása","just-left-team":"Most hagytad el a csapatot","cant-leave-team":"Nem hagyhatod el ezt a csapatot, mivel te vagy az egyetlen tagja","change-active-team":"Csatlakozz a csapathoz","download-team-data":"Csapatadatok letöltése","hide-from-leaderboards":"Elrejtés a Ranglistákról","show-on-leaderboards":"Megjelenítés a Ranglistákon","position-header":"Pozíció","name-header":"Név","username-header":"Felhasználónév","status-header":"Állapot","photos-header":"Fényképek","litter-header":"Szemét","identifier-header":"Azonosító","members-header":"Tagok","last-activity-header":"Utolsó Bejelentkezés","confirm-leave-team":"Biztos vagy ebben?\\nBármikor újra csatlakozhat, és hozzájárulásait a rendszer elmenti."}')},hqZl:function(t){t.exports=JSON.parse('{"address":"Adres","add-tag":"Dodaj tag","coordinates":"Współrzędne","device":"Urządzenie","next":"Następne zdjęcie","no-tags":"W tej chwili nie masz nic do oznaczenia.","picked-up-title":"Zebrane?","please-upload":"Prześlij więcej zdjęć","previous":"poprzednie zdjęcie","removed":"Śmieci zostały usunięte","still-there":"Śmieci nadal tam są","taken":"zebrane","to-tag":"Zdjęcia pozostawione do oznaczenia","total-uploaded":"Wszystkie przesłane zdjęcia","uploaded":"Przesłane","confirm-delete":"Czy chcesz usunąć to zdjęcie? Tego nie da się cofnąć.","recently-tags":"Ostatnio używane tagi: ","clear-tags":"Wyczyścić ostatnie tagi?","clear-tags-btn":"Wyczyść ostatnie tagi","search-all-tags":"Naciśnij Ctrl + Spacja, aby wyszukać wszystkie tagi","search-custom-tags":"Dodaj własne tagi","custom-tags":"Tagi Niestandardowe","custom-tags-min":"Musi mieć co najmniej 3 znaki.","custom-tags-max":"Musi mieć co najwyżej 100 znaków.","tag-already-added":"Tag już dodany.","tag-limit-reached":"Możesz przesłać maksymalnie 3 niestandardowe tagi."}')},hzg3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.green[data-v-25e6824a] {\n color: green !important;\n}\n.panel-block[data-v-25e6824a] {\n color: black;\n background-color: white;\n}\n/* .location-container {\n padding-top: 3em;\n padding-bottom: 5em;\n } */\n.location-title[data-v-25e6824a]:hover {\n color: green !important;\n border-bottom: 1px solid green;\n}\n.total-photos-percentage[data-v-25e6824a] {\n color: green;\n font-weight: 700;\n}\n.img-flag[data-v-25e6824a] {\n padding-right: 1.5em;\n border-radius: 1px;\n flex: 0.1;\n}\n\n",""])},iAFQ:function(t,e,n){"use strict";n.r(e);var i={name:"About",methods:{android:function(){window.open("https://play.google.com/store/apps/details?id=com.geotech.openlittermap","_blank")},ios:function(){window.open("https://apps.apple.com/us/app/openlittermap/id1475982147","_blank")}}},r=(n("STDh"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("section",{staticClass:"section"},[n("div",{staticClass:"columns"},[t._m(0),t._v(" "),n("div",{staticClass:"column cig-2"},[n("h2",{staticClass:"title is-2",staticStyle:{color:"red","text-align":"center"},attrs:{id:"butts1txt"}},[n("strong",[t._v(t._s(t.$t("home.about.about2")))])])])]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("h1",{staticClass:"title is-1",staticStyle:{"text-align":"center"}},[n("strong",[t._v(t._s(t.$t("home.about.about3")))])]),t._v(" "),n("br"),t._v(" "),n("h1",{staticClass:"subtitle is-3"},[t._v(t._s(t.$t("home.about.about4")))]),t._v(" "),n("br"),t._v(" "),n("h1",{staticClass:"subtitle is-3"},[t._v(t._s(t.$t("home.about.about5")))]),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"subtitle is-3"},[t._v(t._s(t.$t("home.about.about6")))])]),t._v(" "),t._m(1)])]),t._v(" "),n("section",{staticClass:"hero is-success"},[n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container has-text-centered"},[n("h1",{staticClass:"title"},[n("strong",[t._v("\n "+t._s(t.$t("home.about.about7"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"has-text-centered",staticStyle:{"padding-top":"2em"}},[n("router-link",{attrs:{to:"/signup"}},[n("button",{staticClass:"button is-large is-info hov"},[t._v(t._s(t.$t("home.about.about9")))])])],1)])]),t._v(" "),n("div",{staticClass:"has-text-centered pt3"},[n("h1",{staticClass:"title is-1"},[t._v("1. "+t._s(t.$t("home.about.about9a")))]),t._v(" "),n("img",{attrs:{src:"/assets/about/iphone.PNG"}})]),t._v(" "),n("div",{staticClass:"has-text-centered pt3"},[n("h1",{staticClass:"title is-1"},[t._v("2. "+t._s(t.$t("home.about.about9b")))]),t._v(" "),n("img",{attrs:{src:"/assets/about/facemask-tag.PNG"}})]),t._v(" "),n("div",{staticClass:"has-text-centered pt3"},[n("h1",{staticClass:"title is-1"},[t._v("3. "+t._s(t.$t("home.about.about9c")))]),t._v(" "),n("img",{attrs:{src:"/assets/about/facemask-map.PNG"}})]),t._v(" "),n("div",{staticClass:"flex jc pt3"},[n("img",{staticClass:"app-icon",staticStyle:{"margin-right":"1em"},attrs:{src:"/assets/icons/ios.png"},on:{click:t.ios}}),t._v(" "),n("img",{staticClass:"app-icon",attrs:{src:"/assets/icons/android.png"},on:{click:t.android}})]),t._v(" "),n("section",[n("div",{staticClass:"columns",staticStyle:{"padding-top":"4em","padding-bottom":"4em"}},[n("div",{staticClass:"column is-one-third is-offset-1",staticStyle:{"padding-left":"2em",margin:"auto"}},[n("h1",{staticClass:"title is-2",staticStyle:{"text-align":"center"}},[n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about10")))])]),t._v(" "),n("br"),t._v(" "),n("h1",{staticClass:"title is-2",staticStyle:{"text-align":"center"}},[n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about11")))])])]),t._v(" "),t._m(2)])]),t._v(" "),n("section",{staticClass:"hero is-warning"},[n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1"},[t._v("\n "+t._s(t.$t("home.about.about12"))+"\n ")]),t._v(" "),n("img",{attrs:{src:"/assets/cigbutts.jpg"}}),t._v(" "),n("h1",{staticClass:"title is-1 has-text-right"},[t._v("\n "+t._s(t.$t("home.about.about13"))+"\n ")])])])]),t._v(" "),n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container"},[n("div",{staticClass:"tile is-ancestor"},[n("div",{staticClass:"tile is-vertical is-8"},[n("div",{staticClass:"tile"},[n("div",{staticClass:"tile is-parent is-vertical"},[n("article",{staticClass:"tile is-child notification is-primary"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about14"))+" "),n("b",{staticStyle:{color:"black"}},[t._v(t._s(t.$t("home.about.about14a")))])]),t._v(" "),n("p",{staticClass:"title",staticStyle:{"padding-bottom":"1em"}},[t._v(t._s(t.$t("home.about.about14b")))]),t._v(" "),n("p",{staticClass:"subtitle",staticStyle:{"text-align":"right",color:"red"}},[n("strong",[t._v(t._s(t.$t("home.about.about15")))])])]),t._v(" "),n("article",{staticClass:"tile is-child notification is-warning"},[n("p",{staticClass:"title",staticStyle:{"padding-bottom":"1em"}},[t._v(t._s(t.$t("home.about.about16")))]),t._v(" "),n("p",{staticClass:"subtitle",staticStyle:{"text-align":"right",color:"red","padding-bottom":"1em"}},[n("b",[t._v(t._s(t.$t("home.about.about17")))])])])]),t._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-info"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about17a")))]),t._v(" "),n("p",{staticClass:"subtitle"},[t._v(t._s(t.$t("home.about.about17b")))]),t._v(" "),n("a",{attrs:{href:"https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/map"}},[t._v("https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/map")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("img",{attrs:{src:"/assets/nlbrands.png"}}),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"subtitle"},[t._v(t._s(t.$t("home.about.about17c")))]),t._v(" "),n("a",{attrs:{href:"https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/download"}},[t._v("https://openlittermap.com/maps/The%20Netherlands/Zuid-Holland/Wassenaar/download")]),t._v(" "),n("br")])])]),t._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-danger"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about18")))]),t._v(" "),n("p",{staticClass:"subtitle"},[t._v(t._s(t.$t("home.about.about19"))),n("strong",[t._v(t._s(t.$t("home.about.about20")))]),t._v(" "+t._s(t.$t("home.about.about21")))]),t._v(" "),n("div",{staticClass:"content"})])])]),t._v(" "),n("div",{staticClass:"tile is-parent is-5"},[n("article",{staticClass:"tile is-child is-10 notification is-success"},[n("div",{staticClass:"content"},[n("p",{staticClass:"title"},[t._v(t._s(t.$t("home.about.about22")))]),t._v(" "),n("div",{staticClass:"content"},[n("ul",[n("li",[t._v(t._s(t.$t("home.about.about24")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about25")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about26")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about27")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about28")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about29")))]),t._v(" "),n("li",[t._v(t._s(t.$t("home.about.about29a")))])])])])])])])])]),t._v(" "),n("div",[n("br"),t._v(" "),n("h1",{staticClass:"title is-1",staticStyle:{color:"black","text-align":"center"}},[n("strong",[t._v(t._s(t.$t("home.about.about30")))]),t._v(" "),n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about301")))])]),t._v(" "),n("br")]),t._v(" "),n("div",{staticClass:"container",staticStyle:{"padding-bottom":"5em","text-align":"center"}},[n("img",{attrs:{src:"/assets/marinelitter.jpg"}}),t._v(" "),n("p",{staticStyle:{"padding-bottom":"3em"}},[t._v("Dublin, Ireland.")]),t._v(" "),n("h1",{staticClass:"title is-1",staticStyle:{color:"black","text-align":"center"}},[n("strong",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("home.about.about302")))])]),t._v(" "),n("img",{attrs:{src:"/assets/microplastics_oranmore.JPG"}}),t._v(" "),n("p",[t._v("Microplastics in Oranmore, Co. Galway.")])]),t._v(" "),n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1"},[t._v("\n "+t._s(t.$t("home.about.about31"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("br")]),t._v(" "),n("img",{staticStyle:{"padding-bottom":"1em"},attrs:{src:"/assets/urban.JPG"}}),t._v(" "),n("p",{staticStyle:{"padding-bottom":"5em","text-align":"center"}},[t._v("Penrose Wharf, Cork City, Ireland (above)")]),t._v(" "),n("div",{staticStyle:{"text-align":"center"}},[n("img",{staticStyle:{"padding-bottom":"2em"},attrs:{src:"/assets/IMG_0554.JPG"}}),t._v(" "),t._m(3),t._v(" "),n("img",{staticStyle:{"padding-bottom":"2em"},attrs:{src:"/assets/IMG_0556.JPG"}}),t._v(" "),n("p",{staticStyle:{"padding-bottom":"5em"}},[t._v(t._s(t.$t("home.about.about32")))])]),t._v(" "),n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1 has-text-left"},[t._v("\n "+t._s(t.$t("home.about.about33"))+"\n ")])]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"container"},[n("h1",{staticClass:"title is-1 has-text-left"},[t._v("\n "+t._s(t.$t("home.about.about34"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"has-text-centered",staticStyle:{"padding-top":"2em"}},[n("form",{attrs:{action:"/signup"}},[n("button",{staticClass:"button is-large is-primary hov"},[t._v(t._s(t.$t("home.about.about35")))])])]),t._v(" "),n("br"),t._v(" "),n("br")]),t._v(" "),t._m(4)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-third is-offset-1",staticStyle:{"text-align":"center"}},[e("img",{attrs:{src:"/assets/butts.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-offset-1 butts-img"},[e("img",{staticStyle:{height:"600px"},attrs:{src:"/assets/cigbutts_jar.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-third is-offset-1",staticStyle:{"padding-top":"4em","padding-bottom":"4em",margin:"auto"}},[e("img",{attrs:{src:"/assets/plastic_bottles.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticStyle:{"padding-bottom":"5em","text-align":"center"}},[this._v("Accra, Capital of Ghana, North-Western Coast of Africa "),e("a",{attrs:{href:"https://www.facebook.com/nshorena/posts/1652239435009949"}},[this._v("more photos on facebook")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("footer",{staticClass:"footer"},[e("div",{staticClass:"container"},[e("div",{staticClass:"content has-text-centered"},[e("p",[e("strong",[this._v("OpenLitterMap")]),this._v(" by "),e("a",{attrs:{href:"https://ie.linkedin.com/in/seanlynchgis"}},[this._v("Seán Lynch, M.Sc, M.Sc., B.A.")]),this._v(" "),e("br")]),e("p",[this._v("info@openlittermap.com")])])])])}],!1,null,"d8d31e7c",null);e.default=a.exports},iTxj:function(t){t.exports=JSON.parse('{"ready-to-join":"Je, uko tayari kujiunga na mapinduzi ya kijiografia?","join-subtitle":"Ikiwa unapenda kazi yetu, OpenLitterMap inaweza kutumia usaidizi wako.","free-plan":"BURE","free-plan-feature1":"Pakia picha 1000 kwa siku.","free-plan-feature2":"Fungua Beji + Zawadi.","free-plan-feature3":"Pata Littercoin.","free-plan-feature4":"Shindana katika bao nyingi tofauti za wanaoongoza.","free-plan-join":"Nimo ndani","startup-plan":"KUANZA","startup-plan-donation":"€5 kwa mwezi","startup-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","startup-plan-feature2":"Tusaidie kulipia gharama zetu.","startup-plan-feature3":"Tulia na ufurahie maboresho.","startup-plan-join":"Nitaunga mkono!","basic-plan":"KAWAIDA","basic-plan-donation":"€9.99 kwa mwezi","basic-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","basic-plan-feature2":"Tusaidie kulipia gharama zetu.","basic-plan-feature3":"Tulia na ufurahie maboresho.","basic-plan-join":"Nitaunga mkono!","advanced-plan":"KUBWA","advanced-plan-donation":"€20 kwa mwezi","advanced-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","advanced-plan-feature2":"Tusaidie kulipia gharama zetu.","advanced-plan-feature3":"Tulia na ufurahie maboresho.","advanced-plan-join":"Nitaunga mkono!","pro-plan":"KUBWA LAO","pro-plan-donation":"€30 kwa mwezi","pro-plan-feature1":"Fadhili maendeleo ya OpenLitterMap.","pro-plan-feature2":"Tusaidie kulipia gharama zetu.","pro-plan-feature3":"Tulia na ufurahie maboresho.","pro-plan-join":"Namaanisha biashara haswa"}')},iZMr:function(t){t.exports=JSON.parse('{"change-password":"Jelszó módosítása","enter-old-password":"Írja be a régi jelszót","enter-new-password":"Írja be az új jelszót","enter-strong-password":"Írjon be egy erős jelszót","confirm-new-password":"Erősítse meg új jelszavát","repeat-strong-password":"Ismételje meg erős jelszavát","update-password":"Jelszó frissítése"}')},ia29:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.select-all-photos[data-v-4d2593f8] {\n min-width: 9em;\n}\n.filter-my-photos[data-v-4d2593f8] {\n flex-direction: column;\n gap: 8px\n}\n\n/* Laptop and above */\n@media (min-width: 1027px)\n{\n.filter-my-photos[data-v-4d2593f8] {\n flex-direction: row;\n gap: 16px;\n}\n}\n\n",""])},iaXR:function(t){t.exports=JSON.parse('{"address":"Adresse","add-tag":"Ajouter un tag","coordinates":"Coordonnées","device":"Appareil","next":"Image suivante","no-tags":"Vous n\'avez rien à tagué pour le moment.","picked-up-title":"Ramassé ?","please-upload":"Envoyer plus de photos","previous":"Image précédente","removed":"Le déchet a été enlevé","still-there":"Le déchet est toujours là","taken":"Récupérer","to-tag":"Images restantes à taguer","total-uploaded":"Nombre total d\'images envoyées","uploaded":"Envoyé","confirm-delete":"Voulez vous supprimer cette image ? Cela ne pourras pas être annulé.","recently-tags":"Tags récemment utilisés: ","clear-tags":"Effacer les tags récents ?","clear-tags-btn":"Effacer les tags récents","search-all-tags":"Appuyer sur Ctrl + Spacebar pour chercher tout les tags","search-custom-tags":"Ajouter vos propres tags","custom-tags":"Tags personnalisés","custom-tags-min":"Le tag doit faire minimum 3 charactères.","custom-tags-max":"Le tag doit faire moins de 100 charactères.","tag-already-added":"Tag déjà ajouté.","tag-limit-reached":"Vous ne pouver rajouter que jusqu\'à 3 tags."}')},ilIf:function(t,e,n){"use strict";var i=n("Wpz3");n.n(i).a},ipqG:function(t,e,n){var i,r,a,o;o=function(t,e){if(void 0===n)var n={iso8601:e};return t.TimeDimension=(t.Layer||t.Class).extend({includes:t.Evented||t.Mixin.Events,initialize:function(e){t.setOptions(this,e),this._availableTimes=this._generateAvailableTimes(),this._currentTimeIndex=-1,this._loadingTimeIndex=-1,this._loadingTimeout=this.options.loadingTimeout||3e3,this._syncedLayers=[],this._availableTimes.length>0&&this.setCurrentTime(this.options.currentTime||this._getDefaultCurrentTime()),this.options.lowerLimitTime&&this.setLowerLimit(this.options.lowerLimitTime),this.options.upperLimitTime&&this.setUpperLimit(this.options.upperLimitTime)},getAvailableTimes:function(){return this._availableTimes},getCurrentTimeIndex:function(){return-1===this._currentTimeIndex?this._availableTimes.length-1:this._currentTimeIndex},getCurrentTime:function(){var t=-1;return(t=-1!==this._loadingTimeIndex?this._loadingTimeIndex:this.getCurrentTimeIndex())>=0?this._availableTimes[t]:null},isLoading:function(){return-1!==this._loadingTimeIndex},setCurrentTimeIndex:function(t){var e=this._upperLimit||this._availableTimes.length-1,n=this._lowerLimit||0;if(!((t=Math.min(Math.max(n,t),e))<0)){this._loadingTimeIndex=t;var i=this._availableTimes[t];this._checkSyncedLayersReady(this._availableTimes[this._loadingTimeIndex])?this._newTimeIndexLoaded():(this.fire("timeloading",{time:i}),setTimeout(function(t){t==this._loadingTimeIndex&&this._newTimeIndexLoaded()}.bind(this,t),this._loadingTimeout))}},_newTimeIndexLoaded:function(){if(-1!==this._loadingTimeIndex){var t=this._availableTimes[this._loadingTimeIndex];this._currentTimeIndex=this._loadingTimeIndex,this.fire("timeload",{time:t}),this._loadingTimeIndex=-1}},_checkSyncedLayersReady:function(t){for(var e=0,n=this._syncedLayers.length;e-1&&(n=this._loadingTimeIndex),(n+=t)>i&&(n=e?r:i),n-1&&(i=this._loadingTimeIndex);for(var a=0,o=this._syncedLayers.length;a0;){if((i+=t)>l){if(!n)break;i=u}if(i-1&&(i=this._loadingTimeIndex);for(var r=e,a=0,o=this._upperLimit||this._availableTimes.length-1,s=this._lowerLimit||0;r>0;){if((i+=t)>o){if(!n){r=0,a=e;break}i=s}if(i0&&e--,e},setAvailableTimes:function(e,n){var i=this.getCurrentTime(),r=this.getLowerLimit(),a=this.getUpperLimit();if("extremes"==n){var o=this.options.period||"P1D";this._availableTimes=t.TimeDimension.Util.explodeTimeRange(new Date(e[0]),new Date(e[e.length-1]),o)}else{var s=t.TimeDimension.Util.parseTimesExpression(e);if(0===this._availableTimes.length)this._availableTimes=s;else if("intersect"==n)this._availableTimes=t.TimeDimension.Util.intersect_arrays(s,this._availableTimes);else if("union"==n)this._availableTimes=t.TimeDimension.Util.union_arrays(s,this._availableTimes);else{if("replace"!=n)throw"Merge available times mode not implemented: "+n;this._availableTimes=s}}r&&this.setLowerLimit(r),a&&this.setUpperLimit(a),this.setCurrentTime(i),this.fire("availabletimeschanged",{availableTimes:this._availableTimes,currentTime:i})},getLowerLimit:function(){return this._availableTimes[this.getLowerLimitIndex()]},getUpperLimit:function(){return this._availableTimes[this.getUpperLimitIndex()]},setLowerLimit:function(t){var e=this._seekNearestTimeIndex(t);this.setLowerLimitIndex(e)},setUpperLimit:function(t){var e=this._seekNearestTimeIndex(t);this.setUpperLimitIndex(e)},setLowerLimitIndex:function(t){this._lowerLimit=Math.min(Math.max(t||0,0),this._upperLimit||this._availableTimes.length-1),this.fire("limitschanged",{lowerLimit:this._lowerLimit,upperLimit:this._upperLimit})},setUpperLimitIndex:function(t){this._upperLimit=Math.max(Math.min(t,this._availableTimes.length-1),this._lowerLimit||0),this.fire("limitschanged",{lowerLimit:this._lowerLimit,upperLimit:this._upperLimit})},getLowerLimitIndex:function(){return this._lowerLimit},getUpperLimitIndex:function(){return this._upperLimit}}),t.Map.addInitHook((function(){this.options.timeDimension&&(this.timeDimension=t.timeDimension(this.options.timeDimensionOptions||{}))})),t.timeDimension=function(e){return new t.TimeDimension(e)},t.TimeDimension.Util={getTimeDuration:function(t){if(void 0===n)throw"iso8601-js-period library is required for Leatlet.TimeDimension: https://github.com/nezasa/iso8601-js-period";return n.iso8601.Period.parse(t,!0)},addTimeDuration:function(t,e,n){void 0===n&&(n=!0),("string"==typeof e||e instanceof String)&&(e=this.getTimeDuration(e));var i=e.length,r=n?"getUTC":"get",a=n?"setUTC":"set";i>0&&0!=e[0]&&t[a+"FullYear"](t[r+"FullYear"]()+e[0]),i>1&&0!=e[1]&&t[a+"Month"](t[r+"Month"]()+e[1]),i>2&&0!=e[2]&&t[a+"Date"](t[r+"Date"]()+7*e[2]),i>3&&0!=e[3]&&t[a+"Date"](t[r+"Date"]()+e[3]),i>4&&0!=e[4]&&t[a+"Hours"](t[r+"Hours"]()+e[4]),i>5&&0!=e[5]&&t[a+"Minutes"](t[r+"Minutes"]()+e[5]),i>6&&0!=e[6]&&t[a+"Seconds"](t[r+"Seconds"]()+e[6])},subtractTimeDuration:function(t,e,n){("string"==typeof e||e instanceof String)&&(e=this.getTimeDuration(e));for(var i=[],r=0,a=e.length;r2&&n[2].length?n[2]:"P1D";return null!=e&&(a=e),this.explodeTimeRange(i,r,a)},explodeTimeRange:function(t,e,n,i){var r=this.getTimeDuration(n),a=[],o=new Date(t.getTime()),s=null,l=null,u=null,c=null;if(void 0!==i){var h=i.split("/");s=h[0].split(":")[0],l=h[0].split(":")[1],u=h[1].split(":")[0],c=h[1].split(":")[1]}for(;o=s&&o.getUTCHours()<=u)&&(o.getUTCHours()!=s||o.getUTCMinutes()>=l)&&(o.getUTCHours()!=u||o.getUTCMinutes()<=c)&&a.push(o.getTime()),this.addTimeDuration(o,r);return o>=e&&a.push(e.getTime()),a},parseTimeInterval:function(t){var e=t.split("/");if(2!=e.length)throw"Incorrect ISO9601 TimeInterval: "+t;var n=Date.parse(e[0]),i=null,r=null;return isNaN(n)?(r=this.getTimeDuration(e[0]),i=Date.parse(e[1]),n=new Date(i),this.subtractTimeDuration(n,r,!0),i=new Date(i)):(i=Date.parse(e[1]),isNaN(i)?(r=this.getTimeDuration(e[1]),i=new Date(n),this.addTimeDuration(i,r,!0)):i=new Date(i),n=new Date(n)),[n,i]},parseTimesExpression:function(t,e){var n=[];if(!t)return n;if("string"==typeof t||t instanceof String)for(var i,r,a=t.split(","),o=0,s=a.length;o0&&i.length>0;)n[0]i[0]||r.push(n.shift()),i.shift());return r},union_arrays:function(t,e){for(var n=t.slice(0),i=e.slice(0),r=[];n.length>0&&i.length>0;)n[0]i[0]?r.push(i.shift()):(r.push(n.shift()),i.shift());return n.length>0?r=r.concat(n):i.length>0&&(r=r.concat(i)),r},sort_and_deduplicate:function(t){for(var e=[],n=null,i=0,r=(t=t.slice(0).sort()).length;i-1&&(n=a-e)>0&&(o=i.splice(0,n),this._removeLayers(o)),t>-1&&(a=i.indexOf(r),(n=i.length-a-t-1)>0&&(o=i.splice(a+t+1,n),this._removeLayers(o)))},_showLayer:function(t,e){this._currentLayer&&this._currentLayer!==t&&this._currentLayer.hide(),t.show(),this._currentLayer&&this._currentLayer===t||(this._currentLayer=t,this._currentTime=e,this._evictCachedTimes(this._timeCacheForward,this._timeCacheBackward))},_getLayerForTime:function(t){if(0==t||t==this._defaultTime||null==t)return this._baseLayer;if(this._layers.hasOwnProperty(t))return this._layers[t];var e=this._getNearestTime(t);if(this._layers.hasOwnProperty(e))return this._layers[e];var n=this._createLayerForTime(e);return this._layers[t]=n,n.on("load",function(t,e){t.setLoaded(!0),this._layers[e]||(this._layers[e]=t),this._timeDimension&&e==this._timeDimension.getCurrentTime()&&!this._timeDimension.isLoading()&&this._showLayer(t,e),this.fire("timeload",{time:e})}.bind(this,n,t)),n.onAdd=function(t){Object.getPrototypeOf(this).onAdd.call(this,t),this.hide()}.bind(n),n},_createLayerForTime:function(t){var e=this._baseLayer.options;return e.time=new Date(t).toISOString(),new this._baseLayer.constructor(this._baseLayer.getURL(),e)},_getLoadedTimes:function(){var t=[];for(var e in this._layers)this._layers.hasOwnProperty(e)&&t.push(e);return t.sort((function(t,e){return t-e}))},_removeLayers:function(t){for(var e=0,n=t.length;ethis._timeCacheForward&&(this._timeCacheForward=t)},_requestTimeDimensionFromCapabilities:function(){if(!this._capabilitiesRequested){this._capabilitiesRequested=!0;var t=this._getCapabilitiesUrl();this._proxy&&(t=this._proxy+"?url="+encodeURIComponent(t));var e=new XMLHttpRequest;e.addEventListener("load",function(t){var e=t.currentTarget.responseXML;null!==e&&(this._defaultTime=Date.parse(this._getDefaultTimeFromCapabilities(e)),this._setDefaultTime=this._setDefaultTime||this._timeDimension&&0==this._timeDimension.getAvailableTimes().length,this.setAvailableTimes(this._parseTimeDimensionFromCapabilities(e)),this._setDefaultTime&&this._timeDimension&&this._timeDimension.setCurrentTime(this._defaultTime))}.bind(this)),e.overrideMimeType("application/xml"),e.open("GET",t),e.send()}},_getCapabilitiesUrl:function(){var e=this._baseLayer.getURL();this._getCapabilitiesAlternateUrl&&(e=this._getCapabilitiesAlternateUrl);var n=t.extend({},this._getCapabilitiesParams,{request:"GetCapabilities",service:"WMS",version:this._wmsVersion});return e+=t.Util.getParamString(n,e,n.uppercase)},_parseTimeDimensionFromCapabilities:function(t){var e=t.querySelectorAll('Layer[queryable="1"]'),n=this._baseLayer.wmsParams.layers,i=null,r=null;return e.forEach((function(t){t.querySelector("Name").innerHTML===n&&(i=t)})),i&&((r=this._getTimesFromLayerCapabilities(i))||(r=this._getTimesFromLayerCapabilities(i.parentNode))),r},_getTimesFromLayerCapabilities:function(t){for(var e=null,n=t.children,i=0,r=n.length;i0&&this._timeDimension.setCurrentTime(this._defaultTime))},_getNearestTime:function(t){if(this._layers.hasOwnProperty(t))return t;if(0==this._availableTimes.length)return t;for(var e=0,n=this._availableTimes.length;e0&&e--,this._availableTimes[e],this._availableTimes[e]}}),t.NonTiledLayer||(t.NonTiledLayer=(t.Layer||t.Class).extend({})),t.NonTiledLayer.include({_visible:!0,_loaded:!1,_originalUpdate:t.NonTiledLayer.prototype._update,_originalOnRemove:t.NonTiledLayer.prototype.onRemove,_update:function(){!this._visible&&this._loaded||this._originalUpdate()},onRemove:function(t){this._loaded=!1,this._originalOnRemove(t)},setLoaded:function(t){this._loaded=t},isLoaded:function(){return this._loaded},hide:function(){this._visible=!1,this._div.style.display="none"},show:function(){this._visible=!0,this._div.style.display="block"},getURL:function(){return this._wmsUrl}}),t.TileLayer.include({_visible:!0,_loaded:!1,_originalUpdate:t.TileLayer.prototype._update,_update:function(){!this._visible&&this._loaded||this._originalUpdate()},setLoaded:function(t){this._loaded=t},isLoaded:function(){return this._loaded},hide:function(){this._visible=!1,this._container&&(this._container.style.display="none")},show:function(){this._visible=!0,this._container&&(this._container.style.display="block")},getURL:function(){return this._url}}),t.timeDimension.layer.wms=function(e,n){return new t.TimeDimension.Layer.WMS(e,n)},t.TimeDimension.Layer.GeoJson=t.TimeDimension.Layer.extend({initialize:function(e,n){t.TimeDimension.Layer.prototype.initialize.call(this,e,n),this._updateTimeDimension=this.options.updateTimeDimension||!1,this._updateTimeDimensionMode=this.options.updateTimeDimensionMode||"extremes",this._duration=this.options.duration||null,this._addlastPoint=this.options.addlastPoint||!1,this._waitForReady=this.options.waitForReady||!1,this._defaultTime=0,this._availableTimes=[],this._loaded=!1,0==this._baseLayer.getLayers().length?this._waitForReady?this._baseLayer.on("ready",this._onReadyBaseLayer,this):this._loaded=!0:(this._loaded=!0,this._setAvailableTimes()),this._baseLayer.on("layeradd",function(){this._loaded&&this._setAvailableTimes()}.bind(this))},onAdd:function(e){t.TimeDimension.Layer.prototype.onAdd.call(this,e),this._loaded&&this._setAvailableTimes()},eachLayer:function(e,n){return this._currentLayer&&e.call(n,this._currentLayer),t.TimeDimension.Layer.prototype.eachLayer.call(this,e,n)},isReady:function(t){return this._loaded},_update:function(){if(this._map&&this._loaded){this._timeDimension.getCurrentTime();var e=this._timeDimension.getCurrentTime(),n=0;if(this._duration){var i=new Date(e);t.TimeDimension.Util.subtractTimeDuration(i,this._duration,!0),n=i.getTime()}for(var r=t.geoJson(null,this._baseLayer.options),a=this._baseLayer.getLayers(),o=0,s=a.length;o0)){var u=l.properties;u.last=!0,r.addData({type:"Feature",properties:u,geometry:{type:"Point",coordinates:l.geometry.coordinates[l.geometry.coordinates.length-1]}})}}this._currentLayer&&this._map.removeLayer(this._currentLayer),r.getLayers().length&&(r.addTo(this._map),this._currentLayer=r)}},_setAvailableTimes:function(){for(var e=[],n=this._baseLayer.getLayers(),i=0,r=n.length;in||i[o-1]e)for(var s=0;se&&(r=s),i[s]>n){a=s;break}null===r&&(r=0),null===a&&(a=o);var l=[];return l=t.geometry.coordinates[0].length?t.geometry.coordinates.slice(r,a):t.geometry.coordinates,{type:"Feature",properties:t.properties,geometry:{type:t.geometry.type,coordinates:l}}},_onReadyBaseLayer:function(){this._loaded=!0,this._setAvailableTimes(),this._update()}}),t.timeDimension.layer.geoJson=function(e,n){return new t.TimeDimension.Layer.GeoJson(e,n)},t.TimeDimension.Player=(t.Layer||t.Class).extend({includes:t.Evented||t.Mixin.Events,initialize:function(e,n){t.setOptions(this,e),this._timeDimension=n,this._paused=!1,this._buffer=this.options.buffer||5,this._minBufferReady=this.options.minBufferReady||1,this._waitingForBuffer=!1,this._loop=this.options.loop||!1,this._steps=1,this._timeDimension.on("timeload",function(t){this.release(),this._waitingForBuffer=!1}.bind(this)),this.setTransitionTime(this.options.transitionTime||1e3),this._timeDimension.on("limitschanged availabletimeschanged timeload",function(t){this._timeDimension.prepareNextTimes(this._steps,this._minBufferReady,this._loop)}.bind(this))},_tick:function(){var t=this._getMaxIndex(),e=this._timeDimension.getCurrentTimeIndex()>=t&&this._steps>0,n=0==this._timeDimension.getCurrentTimeIndex()&&this._steps<0;if((e||n)&&!this._loop)return this.pause(),this.stop(),void this.fire("animationfinished");if(!this._paused){var i=0,r=this._bufferSize;if(this._minBufferReady>0)if(i=this._timeDimension.getNumberNextTimesReady(this._steps,r,this._loop),this._waitingForBuffer){if(i0&&this._timeDimension.prepareNextTimes(this._steps,r,this._loop)}},_getMaxIndex:function(){return Math.min(this._timeDimension.getAvailableTimes().length-1,this._timeDimension.getUpperLimitIndex()||1/0)},start:function(e){this._intervalID||(this._steps=e||1,this._waitingForBuffer=!1,this.options.startOver&&this._timeDimension.getCurrentTimeIndex()===this._getMaxIndex()&&this._timeDimension.setCurrentTimeIndex(this._timeDimension.getLowerLimitIndex()||0),this.release(),this._intervalID=window.setInterval(t.bind(this._tick,this),this._transitionTime),this._tick(),this.fire("play"),this.fire("running"))},stop:function(){this._intervalID&&(clearInterval(this._intervalID),this._intervalID=null,this._waitingForBuffer=!1,this.fire("stop"))},pause:function(){this._paused=!0},release:function(){this._paused=!1},getTransitionTime:function(){return this._transitionTime},isPlaying:function(){return!!this._intervalID},isWaiting:function(){return this._waitingForBuffer},isLooped:function(){return this._loop},setLooped:function(t){this._loop=t,this.fire("loopchange",{loop:t})},setTransitionTime:function(t){this._transitionTime=t,"function"==typeof this._buffer?this._bufferSize=this._buffer.call(this,this._transitionTime,this._minBufferReady,this._loop):this._bufferSize=this._buffer,this._intervalID&&(this.stop(),this.start(this._steps)),this.fire("speedchange",{transitionTime:t,buffer:this._bufferSize})},getSteps:function(){return this._steps}}),t.UI=t.ui=t.UI||{},t.UI.Knob=t.Draggable.extend({options:{className:"knob",step:1,rangeMin:0,rangeMax:10},initialize:function(e,n){t.setOptions(this,n),this._element=t.DomUtil.create("div",this.options.className||"knob",e),t.Draggable.prototype.initialize.call(this,this._element,this._element),this._container=e,this.on("predrag",(function(){this._newPos.y=0,this._newPos.x=this._adjustX(this._newPos.x)}),this),this.on("dragstart",(function(){t.DomUtil.addClass(e,"dragging")})),this.on("dragend",(function(){t.DomUtil.removeClass(e,"dragging")})),t.DomEvent.on(this._element,"dblclick",(function(t){this.fire("dblclick",t)}),this),t.DomEvent.disableClickPropagation(this._element),this.enable()},_getProjectionCoef:function(){return(this.options.rangeMax-this.options.rangeMin)/(this._container.offsetWidth||this._container.style.width)},_update:function(){this.setPosition(t.DomUtil.getPosition(this._element).x)},_adjustX:function(t){var e=this._toValue(t)||this.getMinValue();return this._toX(this._adjustValue(e))},_adjustValue:function(t){return t=Math.max(this.getMinValue(),Math.min(this.getMaxValue(),t)),t-=this.options.rangeMin,t=Math.round(t/this.options.step)*this.options.step,t+=this.options.rangeMin,t=Math.round(100*t)/100},_toX:function(t){return(t-this.options.rangeMin)/this._getProjectionCoef()},_toValue:function(t){return t*this._getProjectionCoef()+this.options.rangeMin},getMinValue:function(){return this.options.minValue||this.options.rangeMin},getMaxValue:function(){return this.options.maxValue||this.options.rangeMax},setStep:function(t){this.options.step=t,this._update()},setPosition:function(e){t.DomUtil.setPosition(this._element,t.point(this._adjustX(e),0)),this.fire("positionchanged")},getPosition:function(){return t.DomUtil.getPosition(this._element).x},setValue:function(t){this.setPosition(this._toX(t))},getValue:function(){return this._adjustValue(this._toValue(this.getPosition()))}}),t.Control.TimeDimension=t.Control.extend({options:{styleNS:"leaflet-control-timecontrol",position:"bottomleft",title:"Time Control",backwardButton:!0,forwardButton:!0,playButton:!0,playReverseButton:!1,loopButton:!1,displayDate:!0,timeSlider:!0,timeSliderDragUpdate:!1,limitSliders:!1,limitMinimumRange:5,speedSlider:!0,minSpeed:.1,maxSpeed:10,speedStep:.1,timeSteps:1,autoPlay:!1,playerOptions:{transitionTime:1e3},timeZones:["UTC","Local"]},initialize:function(e){t.setOptions(e),t.Control.prototype.initialize.call(this,e),this._timeZoneIndex=0,this._timeDimension=this.options.timeDimension||null},onAdd:function(e){var n;return this._map=e,!this._timeDimension&&e.timeDimension&&(this._timeDimension=e.timeDimension),this._initPlayer(),n=t.DomUtil.create("div","leaflet-bar leaflet-bar-horizontal leaflet-bar-timecontrol"),this.options.backwardButton&&(this._buttonBackward=this._createButton("Backward",n)),this.options.playReverseButton&&(this._buttonPlayReversePause=this._createButton("Play Reverse",n)),this.options.playButton&&(this._buttonPlayPause=this._createButton("Play",n)),this.options.forwardButton&&(this._buttonForward=this._createButton("Forward",n)),this.options.loopButton&&(this._buttonLoop=this._createButton("Loop",n)),this.options.displayDate&&(this._displayDate=this._createButton("Date",n)),this.options.timeSlider&&(this._sliderTime=this._createSliderTime(this.options.styleNS+" timecontrol-slider timecontrol-dateslider",n)),this.options.speedSlider&&(this._sliderSpeed=this._createSliderSpeed(this.options.styleNS+" timecontrol-slider timecontrol-speed",n)),this._steps=this.options.timeSteps||1,this._timeDimension.on("timeload",this._update,this),this._timeDimension.on("timeload",this._onPlayerStateChange,this),this._timeDimension.on("timeloading",this._onTimeLoading,this),this._timeDimension.on("limitschanged availabletimeschanged",this._onTimeLimitsChanged,this),t.DomEvent.disableClickPropagation(n),n},addTo:function(){return t.Control.prototype.addTo.apply(this,arguments),this._onPlayerStateChange(),this._onTimeLimitsChanged(),this._update(),this},onRemove:function(){this._player.off("play stop running loopchange speedchange",this._onPlayerStateChange,this),this._player.off("waiting",this._onPlayerWaiting,this),this._timeDimension.off("timeload",this._update,this),this._timeDimension.off("timeload",this._onPlayerStateChange,this),this._timeDimension.off("timeloading",this._onTimeLoading,this),this._timeDimension.off("limitschanged availabletimeschanged",this._onTimeLimitsChanged,this)},_initPlayer:function(){this._player||(this.options.player?this._player=this.options.player:this._player=new t.TimeDimension.Player(this.options.playerOptions,this._timeDimension)),this.options.autoPlay&&this._player.start(this._steps),this._player.on("play stop running loopchange speedchange",this._onPlayerStateChange,this),this._player.on("waiting",this._onPlayerWaiting,this),this._onPlayerStateChange()},_onTimeLoading:function(e){e.time==this._timeDimension.getCurrentTime()&&this._displayDate&&t.DomUtil.addClass(this._displayDate,"loading")},_onTimeLimitsChanged:function(){var t=this._timeDimension.getLowerLimitIndex(),e=this._timeDimension.getUpperLimitIndex(),n=this._timeDimension.getAvailableTimes().length-1;this._limitKnobs&&(this._limitKnobs[0].options.rangeMax=n,this._limitKnobs[1].options.rangeMax=n,this._limitKnobs[0].setValue(t||0),this._limitKnobs[1].setValue(e||n)),this._sliderTime&&(this._sliderTime.options.rangeMax=n,this._sliderTime._update())},_onPlayerWaiting:function(e){this._buttonPlayPause&&this._player.getSteps()>0&&(t.DomUtil.addClass(this._buttonPlayPause,"loading"),this._buttonPlayPause.innerHTML=this._getDisplayLoadingText(e.available,e.buffer)),this._buttonPlayReversePause&&this._player.getSteps()<0&&(t.DomUtil.addClass(this._buttonPlayReversePause,"loading"),this._buttonPlayReversePause.innerHTML=this._getDisplayLoadingText(e.available,e.buffer))},_onPlayerStateChange:function(){if(this._buttonPlayPause&&(this._player.isPlaying()&&this._player.getSteps()>0?(t.DomUtil.addClass(this._buttonPlayPause,"pause"),t.DomUtil.removeClass(this._buttonPlayPause,"play")):(t.DomUtil.removeClass(this._buttonPlayPause,"pause"),t.DomUtil.addClass(this._buttonPlayPause,"play")),this._player.isWaiting()&&this._player.getSteps()>0?t.DomUtil.addClass(this._buttonPlayPause,"loading"):(this._buttonPlayPause.innerHTML="",t.DomUtil.removeClass(this._buttonPlayPause,"loading"))),this._buttonPlayReversePause&&(this._player.isPlaying()&&this._player.getSteps()<0?t.DomUtil.addClass(this._buttonPlayReversePause,"pause"):t.DomUtil.removeClass(this._buttonPlayReversePause,"pause"),this._player.isWaiting()&&this._player.getSteps()<0?t.DomUtil.addClass(this._buttonPlayReversePause,"loading"):(this._buttonPlayReversePause.innerHTML="",t.DomUtil.removeClass(this._buttonPlayReversePause,"loading"))),this._buttonLoop&&(this._player.isLooped()?t.DomUtil.addClass(this._buttonLoop,"looped"):t.DomUtil.removeClass(this._buttonLoop,"looped")),this._sliderSpeed&&!this._draggingSpeed){var e=this._player.getTransitionTime()||1e3;e=Math.round(1e4/e)/10,this._sliderSpeed.setValue(e)}},_update:function(){if(this._timeDimension)if(this._timeDimension.getCurrentTimeIndex()>=0){var e=new Date(this._timeDimension.getCurrentTime());this._displayDate&&(t.DomUtil.removeClass(this._displayDate,"loading"),this._displayDate.innerHTML=this._getDisplayDateFormat(e)),this._sliderTime&&!this._slidingTimeSlider&&this._sliderTime.setValue(this._timeDimension.getCurrentTimeIndex())}else this._displayDate&&(this._displayDate.innerHTML=this._getDisplayNoTimeError())},_createButton:function(e,n){var i=t.DomUtil.create("a",this.options.styleNS+" timecontrol-"+e.toLowerCase(),n);return i.href="#",i.title=e,t.DomEvent.addListener(i,"click",t.DomEvent.stopPropagation).addListener(i,"click",t.DomEvent.preventDefault).addListener(i,"click",this["_button"+e.replace(/ /i,"")+"Clicked"],this),i},_createSliderTime:function(e,n){var i,r,a,o,s;return i=t.DomUtil.create("div",e,n),r=t.DomUtil.create("div","slider",i),a=this._timeDimension.getAvailableTimes().length-1,this.options.limitSliders&&(s=this._limitKnobs=this._createLimitKnobs(r)),(o=new t.UI.Knob(r,{className:"knob main",rangeMin:0,rangeMax:a})).on("dragend",(function(t){var e=t.target.getValue();this._sliderTimeValueChanged(e),this._slidingTimeSlider=!1}),this),o.on("drag",(function(t){this._slidingTimeSlider=!0;var e=this._timeDimension.getAvailableTimes()[t.target.getValue()];if(e){var n=new Date(e);this._displayDate&&(this._displayDate.innerHTML=this._getDisplayDateFormat(n)),this.options.timeSliderDragUpdate&&this._sliderTimeValueChanged(t.target.getValue())}}),this),o.on("predrag",(function(){var t,e;s&&(t=s[0].getPosition(),e=s[1].getPosition(),this._newPos.xe&&(this._newPos.x=e))}),o),t.DomEvent.on(r,"click",(function(e){if(!t.DomUtil.hasClass(e.target,"knob")){var n=e.touches&&1===e.touches.length?e.touches[0]:e,i=t.DomEvent.getMousePosition(n,r).x;s?s[0].getPosition()<=i&&i<=s[1].getPosition()&&(o.setPosition(i),this._sliderTimeValueChanged(o.getValue())):(o.setPosition(i),this._sliderTimeValueChanged(o.getValue()))}}),this),o.setPosition(0),o},_createLimitKnobs:function(e){t.DomUtil.addClass(e,"has-limits");var n=this._timeDimension.getAvailableTimes().length-1,i=t.DomUtil.create("div","range",e),r=new t.UI.Knob(e,{className:"knob lower",rangeMin:0,rangeMax:n}),a=new t.UI.Knob(e,{className:"knob upper",rangeMin:0,rangeMax:n});return t.DomUtil.setPosition(i,0),r.setPosition(0),a.setPosition(n),r.on("dragend",(function(t){var e=t.target.getValue();this._sliderLimitsValueChanged(e,a.getValue())}),this),a.on("dragend",(function(t){var e=t.target.getValue();this._sliderLimitsValueChanged(r.getValue(),e)}),this),r.on("drag positionchanged",(function(){t.DomUtil.setPosition(i,t.point(r.getPosition(),0)),i.style.width=a.getPosition()-r.getPosition()+"px"}),this),a.on("drag positionchanged",(function(){i.style.width=a.getPosition()-r.getPosition()+"px"}),this),a.on("predrag",(function(){var t=r._toX(r.getValue()+this.options.limitMinimumRange);a._newPos.x<=t&&(a._newPos.x=t)}),this),r.on("predrag",(function(){var t=a._toX(a.getValue()-this.options.limitMinimumRange);r._newPos.x>=t&&(r._newPos.x=t)}),this),r.on("dblclick",(function(){this._timeDimension.setLowerLimitIndex(0)}),this),a.on("dblclick",(function(){this._timeDimension.setUpperLimitIndex(this._timeDimension.getAvailableTimes().length-1)}),this),[r,a]},_createSliderSpeed:function(e,n){var i=t.DomUtil.create("div",e,n),r=t.DomUtil.create("span","speed",i),a=t.DomUtil.create("div","slider",i),o=Math.round(1e4/(this._player.getTransitionTime()||1e3))/10;r.innerHTML=this._getDisplaySpeed(o);var s=new t.UI.Knob(a,{step:this.options.speedStep,rangeMin:this.options.minSpeed,rangeMax:this.options.maxSpeed});return s.on("dragend",(function(t){var e=t.target.getValue();this._draggingSpeed=!1,r.innerHTML=this._getDisplaySpeed(e),this._sliderSpeedValueChanged(e)}),this),s.on("drag",(function(t){this._draggingSpeed=!0,r.innerHTML=this._getDisplaySpeed(t.target.getValue())}),this),s.on("positionchanged",(function(t){r.innerHTML=this._getDisplaySpeed(t.target.getValue())}),this),t.DomEvent.on(a,"click",(function(e){if(e.target!==s._element){var n=e.touches&&1===e.touches.length?e.touches[0]:e,i=t.DomEvent.getMousePosition(n,a).x;s.setPosition(i),r.innerHTML=this._getDisplaySpeed(s.getValue()),this._sliderSpeedValueChanged(s.getValue())}}),this),s},_buttonBackwardClicked:function(){this._timeDimension.previousTime(this._steps)},_buttonForwardClicked:function(){this._timeDimension.nextTime(this._steps)},_buttonLoopClicked:function(){this._player.setLooped(!this._player.isLooped())},_buttonPlayClicked:function(){this._player.isPlaying()?this._player.stop():this._player.start(this._steps)},_buttonPlayReverseClicked:function(){this._player.isPlaying()?this._player.stop():this._player.start(-1*this._steps)},_buttonDateClicked:function(){this._switchTimeZone()},_sliderTimeValueChanged:function(t){this._timeDimension.setCurrentTimeIndex(t)},_sliderLimitsValueChanged:function(t,e){this._timeDimension.setLowerLimitIndex(t),this._timeDimension.setUpperLimitIndex(e)},_sliderSpeedValueChanged:function(t){this._player.setTransitionTime(1e3/t)},_getCurrentTimeZone:function(){return this.options.timeZones[this._timeZoneIndex]},_switchTimeZone:function(){"utc"==this._getCurrentTimeZone().toLowerCase()&&t.DomUtil.removeClass(this._displayDate,"utc"),this._timeZoneIndex=(this._timeZoneIndex+1)%this.options.timeZones.length;var e=this._getCurrentTimeZone();"utc"==e.toLowerCase()?(t.DomUtil.addClass(this._displayDate,"utc"),this._displayDate.title="UTC Time"):"local"==e.toLowerCase()?this._displayDate.title="Local Time":this._displayDate.title=e,this._update()},_getDisplayDateFormat:function(t){var e=this._getCurrentTimeZone();return"utc"==e.toLowerCase()?t.toISOString():"local"==e.toLowerCase()?t.toLocaleString():t.toLocaleString([],{timeZone:e,timeZoneName:"short"})},_getDisplaySpeed:function(t){return t+"fps"},_getDisplayLoadingText:function(t,e){return""+Math.floor(t/e*100)+"%"},_getDisplayNoTimeError:function(){return"Time not available"}}),t.Map.addInitHook((function(){this.options.timeDimensionControl&&(this.timeDimensionControl=t.control.timeDimension(this.options.timeDimensionControlOptions||{}),this.addControl(this.timeDimensionControl))})),t.control.timeDimension=function(e){return new t.Control.TimeDimension(e)},t.TimeDimension},window,r=[n("4R65"),n("5IzF")],void 0===(a="function"==typeof(i=o)?i.apply(e,r):i)||(t.exports=a)},"j/zF":function(t){t.exports=JSON.parse('{"change-password":"Badili neno langu la siri","enter-old-password":"Ingiza neno la siri la zamani","enter-new-password":"Ingiza neno jipya la siri","enter-strong-password":"Ingiza neno imara la siri","confirm-new-password":"Hakiki neno lako jipya la siri","repeat-strong-password":"Rudia neno lako imara la siri","update-password":"Weka neno jipya"}')},jFJf:function(t){t.exports=JSON.parse('{"de":{"name":"Germany","lang":"German"},"en":{"name":"UK","lang":"English"},"es":{"name":"Spain","lang":"Español"},"fr":{"name":"France","lang":"French"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Ireland","lang":"Irish"},"it":{"name":"Italy","lang":"Italian"},"ms":{"name":"Malaysia","lang":"Malay"},"nl":{"name":"Nederland","lang":"Nederlands"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkey","lang":"Turkish"},"uk":{"name":"UK","lang":"English"},"tz":{"name":"Tanzania","lang":"Kiswahili"}}')},jR8y:function(t){t.exports=JSON.parse('{"change-privacy":"Verander mijn Privacy","maps":"Kaarten","credit-name":"Noem mijn naam","credit-username":"Noem mijn gebruikersnaam","name-imgs-yes":"Je naam is ingesteld om te tonen bij elke foto die je upload naar de kaarten.","username-imgs-yes":"Je gebruikersnaam is ingesteld om te tonen bij elke foto die je upload naar de kaarten.","name-username-map-no":"Je naam en gebruikersnaam worden niet getoond op de kaarten.","leaderboards":"Scoreboard","credit-my-name":"Noem mijn naam","credit-my-username":"Noem mijn gebruikersnaam","name-leaderboards-yes":"Je naam is ingesteld om te tonen bij elk scoreboard waar je voor in aanmerking komt.","username-leaderboards-yes":"Je gebruikersnaam is ingesteld om te tonen bij elk scoreboard waar je voor in aanmerking komt.","name-username-leaderboards-no":"Je naam en gebruikersnaam worden niet getoond op de scoreboards.","created-by":"Gemaakt Door","name-locations-yes":"Je naam is ingesteld om te tonen bij elke locatie die je maakt.","username-locations-yes":"Je gebruikersnaam is ingesteld om te tonen bij elke locatie die je maakt","name-username-locations-yes":"Je naam en gebruikersnaam worden niet getoond in de Gemaakt Door sectie van welke locatie je dan ook toevoegt aan de database","update":"Bijwerken"}')},jTMi:function(t){t.exports=JSON.parse('{"address":"Endereço","add-tag":"Adicionar Tag","coordinates":"Coordenadas","device":"Dispositivo","next":"Próxima Imagem","no-tags":"Você não tem nada para marcar no momento.","picked-up-title":"Pegou?","please-upload":"Enviar mais fotos","previous":"Imagem Anterior","removed":"O lixo foi removido","still-there":"O lixo ainda está lá","taken":"Tirada","to-tag":"Images deixadas para marcar","total-uploaded":"Total de imagens enviadas","uploaded":"Enviado","confirm-delete":"Você quer deletar essa imagem? Isso não pode ser desfeito.","recently-tags":"Tags usadas recentemente: ","clear-tags":"Limpar tags recentes?","clear-tags-btn":"Limpar tags recentes","search-all-tags":"Pressione Ctrl + Espaço para pesquisar todas as etiquetas","search-custom-tags":"Adicione suas próprias etiquetas","custom-tags":"Etiquetas Personalizadas","custom-tags-min":"Ele precisa ter pelo menos 3 caracteres.","custom-tags-max":"Ele precisa ter no máximo 100 caracteres.","tag-already-added":"Etiqueta já adicionada.","tag-limit-reached":"Você pode fazer upload de até 3 etiquetas personalizadas."}')},jX4s:function(t,e,n){var i=n("deU7");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},jiCS:function(t,e,n){"use strict";var i=n("praq");n.n(i).a},jq0I:function(t,e,n){var i=n("t+I/");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},jsOg:function(t,e){t.exports="/images/vendor/leaflet/dist/layers-2x.png?4f0283c6ce28e888000e978e537a6a56"},jtbz:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"/* \n * Leaflet TimeDimension v1.1.1 - 2019-11-05 \n * \n * Copyright 2019 Biel Frontera (ICTS SOCIB) \n * datacenter@socib.es \n * http://www.socib.es/ \n * \n * Licensed under the MIT license. \n * \n * Demos: \n * http://apps.socib.es/Leaflet.TimeDimension/ \n * \n * Source: \n * git://github.com/socib/Leaflet.TimeDimension.git \n * \n */\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot');\n src: url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.woff') format('woff'), url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');\n}\n.leaflet-bar-timecontrol{\n background-color: #fff;\n color: black;\n}\n.leaflet-bar-timecontrol * {\n box-sizing: border-box;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol {\n float: left;\n height: 26px;\n line-height: 26px;\n border: solid #a5a5a5;\n background-color: #fff;\n border-width: 0 1px 0 0;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol:first-child {\n border-radius: 4px 0 0 4px;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol:last-child {\n border-radius: 0 4px 4px 0;\n}\n.leaflet-bar-timecontrol .leaflet-control-timecontrol:before {\n font-family: \"Glyphicons Halflings\";\n display: block;\n}\n.leaflet-bar-timecontrol .timecontrol-slider {\n position: relative;\n width: auto;\n cursor: auto;\n}\n.leaflet-bar-timecontrol a.timecontrol-date,\n.leaflet-bar-timecontrol a.timecontrol-date:hover {\n position: relative;\n min-width: 150px;\n width: auto;\n padding: 0 10px 0 20px;\n white-space: nowrap;\n}\n.leaflet-bar-timecontrol a.timecontrol-date.utc,\n.leaflet-bar-timecontrol a.timecontrol-date.utc:hover {\n min-width: 185px;\n}\n.leaflet-bar-timecontrol a.timecontrol-date.loading,\n.leaflet-bar-timecontrol a.timecontrol-date.loading:hover {\n background-color: #ffefa4;\n}\n.leaflet-bar-timecontrol .timecontrol-dateslider .slider {\n width: 200px;\n}\n.leaflet-bar-timecontrol .timecontrol-speed {\n white-space: nowrap;\n cursor: auto;\n}\n.leaflet-bar-timecontrol .timecontrol-speed .slider {\n width: 55px;\n display: inline-block;\n}\n.leaflet-bar-timecontrol .timecontrol-speed .speed {\n width: 55px;\n display: inline-block;\n float: left;\n text-align: right;\n}\n.leaflet-bar-timecontrol .timecontrol-play,\n.leaflet-bar-timecontrol .timecontrol-play:hover {\n position: relative;\n}\n.leaflet-bar-timecontrol .timecontrol-play span {\n font-size: 10px;\n}\n.leaflet-bar-timecontrol a.timecontrol-play.loading {\n background-color: #ffefa4;\n}\n\n/**\n* Slider/Knobs styles\n*/\n\n.timecontrol-slider .slider {\n position: relative;\n height: 12px;\n margin: 6px;\n border: 1px solid #a5a5a5;\n cursor: pointer;\n}\n.timecontrol-slider .slider.has-limits {\n margin-left: 15px;\n margin-right: 15px;\n background-color: #ddd;\n}\n.timecontrol-slider .slider.has-limits .range {\n position: absolute;\n height: 10px;\n background-color: #fff;\n /*opacity: 0.5;*/\n}\n.timecontrol-slider .knob {\n position: absolute;\n width: 8px;\n height: 22px;\n background-color: #ddd;\n border-radius: 2px;\n border: 1px solid #a5a5a5;\n /*use margins because on ie,leaflet will use top/left for positionning*/\n margin-top: -6px;\n margin-left: -4px;\n cursor: ew-resize;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n}\n.timecontrol-slider .knob:after {\n /** Big transparent block on top of the knob for easier grabbing on touch device*/\n content: ' ';\n display: block;\n position: absolute;\n width: 20px;\n top:-5px;\n height: 32px;\n left: -7px;\n /* opacity: 0.5;\n background: red;*/\n \n}\n.timecontrol-slider .knob.upper,\n.timecontrol-slider .knob.lower {\n width: 11px;\n height: 20px;\n border: none;\n background-color: transparent;\n}\n.timecontrol-slider .knob.upper {\n margin-top: -5px;\n margin-left: -1px;\n}\n.timecontrol-slider .knob.lower {\n margin-top: -5px;\n margin-left: -10px;\n}\n.timecontrol-slider .knob.lower:after {\n right:0px;\n left: initial;\n}\n.timecontrol-slider .knob.upper:after {\n left:0px;\n}\n.timecontrol-slider .knob.upper:before,\n.timecontrol-slider .knob.lower:before {\n display: block;\n content: '';\n position: relative;\n top: 2px;\n width: 0;\n height: 0;\n border-style: solid;\n}\n.timecontrol-slider .knob.upper:before {\n border-width: 16px 0 0 10px;\n border-color: transparent transparent transparent #a5a5a5;\n}\n.timecontrol-slider .knob.lower:before {\n border-width: 0 0 16px 10px;\n border-color: transparent transparent #a5a5a5;\n}\n\n.timecontrol-slider .slider.dragging,\n.timecontrol-slider .dragging .knob,\n.timecontrol-slider .knob.leaflet-drag-target {\n cursor: ew-resize;\n cursor: grabbing;\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n}\n\n/**\n* Icons definitions\n*/\n\n@-webkit-keyframes icon-rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes icon-rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.timecontrol-loop.looped,\n.timecontrol-loop.looped:hover {\n background-color: #ddd;\n color: #094F8E;\n}\n\n.timecontrol-backward:before,\n.timecontrol-forward:before,\n.timecontrol-stop:before,\n.timecontrol-play:before,\n.timecontrol-loop:before { \n width: 100%;\n text-align: center;\n}\n\n.timecontrol-play:before {\n position: absolute;\n content: \"\\E072\";\n}\n/*.timecontrol-play.play:before {\n content: \"\\e072\";\n}*/\n.timecontrol-play.reverse:before {\n content: \"\\E072\";\n transform: scaleX(-1);\n}\n.timecontrol-play.pause:before {\n content: \"\\E073\";\n}\n.timecontrol-play.reverse.pause:before {\n transform: none;\n}\n\na.timecontrol-play.loading:before {\n content: \"\\E031\";\n opacity: 0.2;\n -webkit-animation: icon-rotation 6s infinite linear;\n animation: icon-rotation 6s infinite linear;\n}\n.timecontrol-date.loading:before {\n content: \"\\E031\";\n left: 5px;\n position: absolute;\n -webkit-animation: icon-rotation 6s infinite linear;\n animation: icon-rotation 6s infinite linear;\n}\n.timecontrol-speed:before {\n content: \"\\E141\";\n position: absolute;\n left: 7px;\n}\n.timecontrol-stop:before {\n content: \"\\E074\";\n}\n.timecontrol-forward:before {\n content: \"\\E075\";\n}\n.timecontrol-backward:before {\n content: \"\\E071\";\n}\n.timecontrol-loop:before {\n content: \"\\E030\";\n}\n\n@media (max-width: 767px){\n .leaflet-bar-timecontrol .timecontrol-date,\n .leaflet-bar-timecontrol .timecontrol-slider{\n clear: both;\n float: none;\n border-right: none;\n }\n}\n.leaflet-touch .leaflet-bar-timecontrol .leaflet-control-timecontrol{\n height: 30px;\n line-height: 30px;\n}\n.leaflet-touch .timecontrol-slider .slider{\n margin-top: 10px;\n}",""])},kGIl:function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){},function(t,e,n){"use strict";n.r(e);const i="undefined"!=typeof window?window.HTMLElement:Object;var r={mounted(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn(t){if(!this.isActive)return;if(t.target===this.$el||this.$el.contains(t.target))return;let e=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||e&&e.contains(t.target))&&(t.preventDefault(),this.$el.focus())}},beforeDestroy(){document.removeEventListener("focusin",this.focusIn)}};function a(t,e,n,i,r,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}var o=a({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,stroke:this.color}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])}),[],!1,null,null,null).exports,s=a({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:this.color,width:this.width,height:this.height}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,l=a({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:this.height,width:this.width,fill:this.color}},[e("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])}),[],!1,null,null,null).exports,u=a({name:"vue-loading",mixins:[r],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,i],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:()=>{}},color:String,backgroundColor:String,opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data(){return{isActive:this.active}},components:{Spinner:o,Dots:s,Bars:l},beforeMount(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide(){this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(()=>{var t;this.$destroy(),void 0!==(t=this.$el).remove?t.remove():t.parentNode.removeChild(t)},150))},keyPress(t){27===t.keyCode&&this.cancel()}},watch:{active(t){this.isActive=t}},beforeDestroy(){document.removeEventListener("keyup",this.keyPress)}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":t.isFullPage},style:{zIndex:t.zIndex},attrs:{tabindex:"0","aria-busy":t.isActive,"aria-label":"Loading"}},[n("div",{staticClass:"vld-background",style:{background:t.backgroundColor,opacity:t.opacity},on:{click:function(e){return e.preventDefault(),t.cancel(e)}}}),n("div",{staticClass:"vld-icon"},[t._t("before"),t._t("default",[n(t.loader,{tag:"component",attrs:{color:t.color,width:t.width,height:t.height}})]),t._t("after")],2)])])}),[],!1,null,null,null).exports;n(0),u.install=(t,e={},n={})=>{let i=((t,e={},n={})=>({show(i=e,r=n){const a=Object.assign({},e,i,{programmatic:!0}),o=new(t.extend(u))({el:document.createElement("div"),propsData:a}),s=Object.assign({},n,r);return Object.keys(s).map(t=>{o.$slots[t]=s[t]}),o}}))(t,e,n);t.$loading=i,t.prototype.$loading=i},e.default=u}]).default},"kY4/":function(t){t.exports=JSON.parse('{"admin":"Msimamizi","admin-verify-photos":"Msimamizi - Thibitisha Picha","admin-horizon":"Msimamizi - Upeo wa macho","admin-verify-boxes":"Msimamizi - Thibitisha visanduku","about":"Kuhusu","global-map":"Ramani ya Ulimwengu","world-cup":"Kombe la Dunia","community":"JUmuiya","upload":"Pakia","more":"Zaidi","tag-litter":"Wekea taka lebo","profile":"Wasifu","settings":"Mpangilio","bounding-boxes":"Sanduku za Kufunga","logout":"Toka","login":"Ingia","signup":"Jisajili","teams":"Timu"}')},kcmK:function(t,e,n){var i=n("lhb6");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},kg4N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.butts-img[data-v-d8d31e7c] {\n text-align: center;\n padding-right: 5em;\n}\n.cig-2[data-v-d8d31e7c] {\n align-items: center;\n display: flex;\n padding: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.butts-img[data-v-d8d31e7c] {\n padding-right: 0;\n}\n.cig-2[data-v-d8d31e7c] {\n padding: 1em;\n}\n}\n",""])},kkbq:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Vérification des photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Vérification des boîtes","about":"A propos","global-map":"Carte du monde","world-cup":"Coupe du monde","community":"Communauté","upload":"Envoyer","more":"Plus","tag-litter":"Tagué un déchet","profile":"Profil","settings":"Options","bounding-boxes":"Boite à limite","logout":"Déconnexion","login":"Connexion","signup":"Inscription","teams":"Equipes"}')},kpIZ:function(t){t.exports=JSON.parse('{"title":"Pomóż nam zmieniać świat.","subtitle":"Rośniemy z dnia na dzień","photos-last-30-days":"Zdjęcia przesłane w ciągu ostatnich 30 dni","users-last-30-days":"Nowi użytkownicy ostatni 30 dni","litter-tags-last-30-days":"Miot oznaczony ostatnich 30 dni","photos-every-month-label":"Zdjęcia przesyłane co miesiąc","users-every-month-label":"Nowi użytkownicy co miesiąc","zoom-text":"Dołącz do nas na {link}, gdzie możemy usłyszeć wiele nowych pomysłów i sugestii od naszej rosnącej globalnej społeczności. Co tydzień nasi użytkownicy dzielą się swoimi opiniami, co zawsze pomaga uczynić naszą aplikację łatwiejszą i lepszą w użyciu. Pomóż kształtować przyszły kierunek naszej otwartej platformy gromadzenia danych i monitorowania środowiska. Rozmowa rozpoczyna się za:","zoom-weekly-calls":"cotygodniowych rozmowach Zoom o 18:00. GMT (Dublin/Londyn/Lizbona czas) w każdy czwartek","zoom-live":"Na Żywo","zoom-days":"dzień | dni","zoom-hours":"godzina | godziny","zoom-minutes":"minuta | minuty","slack-text":"{slack} to nasze główne medium komunikacji i współpracy. Zaawansowani użytkownicy, nowicjusze, programiści, społeczność licząca ponad 400 członków - wszyscy tam jesteśmy. Napisz do nas, a otrzymasz natychmiastową odpowiedź, jesteśmy cały czas online.","fundraiser-text":"OpenLitterMap jest całkowicie uzależniony od darowizn. Zorganizowaliśmy {link} i wciąż jesteśmy daleko od naszego celu. Wszystkie składki są mile widziane. {emoji}","fundraiser-link":"zbiórkę funduszy GoFundMe"}')},ksP6:function(t,e,n){t.exports=function(){"use strict";var t,e=(function(t){var e=function(){function t(t,e){for(var n=0;n1?n-1:0),r=1;r=o.length);)o[a++].apply(this,i)}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var i=0;i=n.length);){var i=n[e++];if(/(^| )dz-message($| )/.test(i.className)){t=i,i.className="dz-message";break}}t||(t=a.createElement('
      '),this.element.appendChild(t));var r=t.getElementsByTagName("span")[0];return r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,i){var r={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},a=t.width/t.height;null==e&&null==n?(e=r.srcWidth,n=r.srcHeight):null==e?e=n*a:null==n&&(n=e/a);var o=(e=Math.min(e,r.srcWidth))/(n=Math.min(n,r.srcHeight));if(r.srcWidth>e||r.srcHeight>n)if("crop"===i)a>o?(r.srcHeight=t.height,r.srcWidth=r.srcHeight*o):(r.srcWidth=t.width,r.srcHeight=r.srcWidth/o);else{if("contain"!==i)throw new Error("Unknown resizeMethod '"+i+"'");a>o?n=e/a:e=n*a}return r.srcX=(t.width-r.srcWidth)/2,r.srcY=(t.height-r.srcHeight)/2,r.trgWidth=e,r.trgHeight=n,r},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'
      \n
      \n
      \n
      \n
      \n
      \n
      \n
      \n
      \n \n Check\n \n \n \n \n \n
      \n
      \n \n Error\n \n \n \n \n \n \n \n
      \n
      ',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=a.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var n=0,i=i=t.previewElement.querySelectorAll("[data-dz-name]");!(n>=i.length);){var r=i[n++];r.textContent=t.name}for(var o=0,s=s=t.previewElement.querySelectorAll("[data-dz-size]");!(o>=s.length);)(r=s[o++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=a.createElement(''+this.options.dictRemoveFile+""),t.previewElement.appendChild(t._removeLink));for(var l=function(n){return n.preventDefault(),n.stopPropagation(),t.status===a.UPLOADING?a.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?a.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},u=0,c=c=t.previewElement.querySelectorAll("[data-dz-remove]");!(u>=c.length);)c[u++].addEventListener("click",l)}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var n=0,i=i=t.previewElement.querySelectorAll("[data-dz-thumbnail]");!(n>=i.length);){var r=i[n++];r.alt=t.name,r.src=e}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var n=0,i=i=t.previewElement.querySelectorAll("[data-dz-errormessage]");!(n>=i.length);)i[n++].textContent=e}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement)for(var i=0,r=r=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");!(i>=r.length);){var a=r[i++];"PROGRESS"===a.nodeName?a.value=e:a.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i=a.length);){var o=a[r++];for(var s in o){var l=o[s];t[s]=l}}return t}}]),e(a,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(a.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(a.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(a.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===a.UPLOADING||t.status===a.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(a.createElement('
      '+this.options.dictDefaultMessage+"
      ")),this.clickableElements.length&&function e(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",a.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length)for(var i=0,r=r=n;!(i>=r.length);){var a=r[i++];t.addFile(a)}return t.emit("addedfiles",n),e()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;for(var e=0,n=n=this.events;!(e>=n.length);){var i=n[e++];this.on(i,this.options[i])}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var r=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return r(e),t.emit("dragenter",e)},dragover:function(e){var n=void 0;try{n=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",r(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return r(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(n){return(e!==t.element||n.target===t.element||a.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,a.instances.splice(a.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,n=0;if(this.getActiveFiles().length){for(var i=0,r=r=this.getActiveFiles();!(i>=r.length);){var a=r[i++];e+=a.upload.bytesSent,n+=a.upload.total}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e=void 0;if(t=this.getExistingFallback())return t;var n='
      ';this.options.dictFallbackText&&(n+="

      "+this.options.dictFallbackText+"

      "),n+='
      ';var i=a.createElement(n);return"FORM"!==this.element.tagName?(e=a.createElement('
      ')).appendChild(i):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:i}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,n=n=t;!(e>=n.length);){var i=n[e++];if(/(^| )fallback($| )/.test(i.className))return i}},e=["div","form"],n=0;n0){for(var i=["tb","gb","mb","kb","b"],r=0;r=Math.pow(this.options.filesizeBase,4-r)/10){e=t/Math.pow(this.options.filesizeBase,4-r),n=a;break}}e=Math.round(10*e)/10}return""+e+" "+this.options.dictFileSizeUnits[n]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n=n.length);){var i=n[e++];this.addFile(i)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var n=[],i=0,r=r=t;!(i>=r.length);){var a,o=r[i++];null!=o.webkitGetAsEntry&&(a=o.webkitGetAsEntry())?a.isFile?n.push(e.addFile(o.getAsFile())):a.isDirectory?n.push(e._addFilesFromDirectory(a,a.name)):n.push(void 0):null==o.getAsFile||null!=o.kind&&"file"!==o.kind?n.push(void 0):n.push(e.addFile(o.getAsFile()))}return n}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,i=t.createReader(),r=function(t){return n=function(e){return e.log(t)},null!=(e=console)&&"function"==typeof e.log?n(e):void 0;var e,n};return function t(){return i.readEntries((function(i){if(i.length>0){for(var r=0,a=a=i;!(r>=a.length);){var o=a[r++];o.isFile?o.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,n.addFile(t)})):o.isDirectory&&n._addFilesFromDirectory(o,e+"/"+o.name)}t()}return null}),r)}()}},{key:"accept",value:function(t,e){return this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):a.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;return t.upload={uuid:a.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=a.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){return n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){for(var e=0,n=n=t;!(e>=n.length);){var i=n[e++];this.enqueueFile(i)}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==a.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=a.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===a.UPLOADING&&this.cancelUpload(t),this.files=o(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var e=0,n=n=this.files.slice();!(e>=n.length);){var i=n[e++];(i.status!==a.UPLOADING||t)&&this.removeFile(i)}return null}},{key:"resizeImage",value:function(t,e,n,i,r){var o=this;return this.createThumbnail(t,e,n,i,!0,(function(e,n){if(null==n)return r(t);var i=o.options.resizeMimeType;null==i&&(i=t.type);var s=n.toDataURL(i,o.options.resizeQuality);return"image/jpeg"!==i&&"image/jpg"!==i||(s=u.restore(t.dataURL,s)),r(a.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,i,r,a){var o=this,s=new FileReader;return s.onload=function(){if(t.dataURL=s.result,"image/svg+xml"!==t.type)return o.createThumbnailFromUrl(t,e,n,i,r,a);null!=a&&a(s.result)},s.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,n,i,r,a,o){var s=this,u=document.createElement("img");return o&&(u.crossOrigin=o),u.onload=function(){var o=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&r&&(o=function(t){return EXIF.getData(u,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),o((function(r){t.width=u.width,t.height=u.height;var o=s.options.resize.call(s,t,e,n,i),c=document.createElement("canvas"),h=c.getContext("2d");switch(c.width=o.trgWidth,c.height=o.trgHeight,r>4&&(c.width=o.trgHeight,c.height=o.trgWidth),r){case 2:h.translate(c.width,0),h.scale(-1,1);break;case 3:h.translate(c.width,c.height),h.rotate(Math.PI);break;case 4:h.translate(0,c.height),h.scale(1,-1);break;case 5:h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:h.rotate(.5*Math.PI),h.translate(0,-c.width);break;case 7:h.rotate(.5*Math.PI),h.translate(c.height,-c.width),h.scale(-1,1);break;case 8:h.rotate(-.5*Math.PI),h.translate(-c.height,0)}l(h,u,null!=o.srcX?o.srcX:0,null!=o.srcY?o.srcY:0,o.srcWidth,o.srcHeight,null!=o.trgX?o.trgX:0,null!=o.trgY?o.trgY:0,o.trgWidth,o.trgHeight);var d=c.toDataURL("image/png");if(null!=a)return a(d,c)}))},null!=a&&(u.onerror=a),u.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var i=this.getQueuedFiles();if(i.length>0){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-e));for(;n=n.length);){var i=n[e++];i.processing=!0,i.status=a.UPLOADING,this.emit("processing",i)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===a.UPLOADING){for(var e=this._getFilesWithXhr(t.xhr),n=0,i=i=e;!(n>=i.length);)i[n++].status=a.CANCELED;void 0!==t.xhr&&t.xhr.abort();for(var r=0,o=o=e;!(r>=o.length);){var s=o[r++];this.emit("canceled",s)}this.options.uploadMultiple&&this.emit("canceledmultiple",e)}else t.status!==a.ADDED&&t.status!==a.QUEUED||(t.status=a.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i=i.upload.totalChunkCount)){var o=n*e.options.chunkSize,s=Math.min(o+e.options.chunkSize,i.size),l={name:e._getParamName(0),data:r.webkitSlice?r.webkitSlice(o,s):r.slice(o,s),filename:i.upload.filename,chunkIndex:n};i.upload.chunks[n]={file:i,index:n,dataBlock:l,status:a.UPLOADING,progress:0,retries:0},e._uploadData(t,[l])}};if(i.upload.finishedChunkUpload=function(n){var r=!0;n.status=a.SUCCESS,n.dataBlock=null,n.xhr=null;for(var s=0;s=o.length);)o[r++].xhr=i;t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,t),l=this.resolveOption(this.options.url,t);i.open(s,l,!0),i.timeout=this.resolveOption(this.options.timeout,t),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){n._finishedUploading(t,i,e)},i.onerror=function(){n._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return n._updateFilesUploadProgress(t,i,e)};var u={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var c in this.options.headers&&a.extend(u,this.options.headers),u){var h=u[c];h&&i.setRequestHeader(c,h)}var d=new FormData;if(this.options.params){var p=this.options.params;for(var f in"function"==typeof p&&(p=p.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),p){var m=p[f];d.append(f,m)}}for(var g=0,v=v=t;!(g>=v.length);){var y=v[g++];this.emit("sending",y,i,d)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,d),this._addFormElementData(d);for(var _=0;_=n.length);){var i=n[e++],r=i.getAttribute("name"),a=i.getAttribute("type");if(a&&(a=a.toLowerCase()),null!=r)if("SELECT"===i.tagName&&i.hasAttribute("multiple"))for(var o=0,s=s=i.options;!(o>=s.length);){var l=s[o++];l.selected&&t.append(r,l.value)}else(!a||"checkbox"!==a&&"radio"!==a||i.checked)&&t.append(r,i.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){var i=void 0;if(void 0!==n){if(i=100*n.loaded/n.total,t[0].upload.chunked){var r=t[0],a=this._getChunk(r,e);a.progress=i,a.total=n.total,a.bytesSent=n.loaded,r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var o=0;o=l.length);){var u=l[s++];u.upload.progress=i,u.upload.total=n.total,u.upload.bytesSent=n.loaded}for(var c=0,h=h=t;!(c>=h.length);){var d=h[c++];this.emit("uploadprogress",d,d.upload.progress,d.upload.bytesSent)}}else{var p=!0;i=100;for(var f=0,m=m=t;!(f>=m.length);){var g=m[f++];100===g.upload.progress&&g.upload.bytesSent===g.upload.total||(p=!1),g.upload.progress=i,g.upload.bytesSent=g.upload.total}if(p)return;for(var v=0,y=y=t;!(v>=y.length);){var _=y[v++];this.emit("uploadprogress",_,i,_.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,e,n){var i=void 0;if(t[0].status!==a.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(i=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{i=JSON.parse(i)}catch(t){n=t,i="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e)):this._finished(t,i,n):this._handleUploadError(t,e,i)}}},{key:"_handleUploadError",value:function(t,e,n){if(t[0].status!==a.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var i=this._getChunk(t[0],e);if(i.retries++=o.length);)o[r++],this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}},{key:"submitRequest",value:function(t,e,n){t.send(e)}},{key:"_finished",value:function(t,e,n){for(var i=0,r=r=t;!(i>=r.length);){var o=r[i++];o.status=a.SUCCESS,this.emit("success",o,e,n),this.emit("complete",o)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,n){for(var i=0,r=r=t;!(i>=r.length);){var o=r[i++];o.status=a.ERROR,this.emit("error",o,e,n),this.emit("complete",o)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),a}();a.initClass(),a.version="5.5.1",a.options={},a.optionsForElement=function(t){return t.getAttribute("id")?a.options[s(t.getAttribute("id"))]:void 0},a.instances=[],a.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},a.autoDiscover=!0,a.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var n=[],i=0,r=r=e;!(i>=r.length);){var a=r[i++];/(^| )dropzone($| )/.test(a.className)?n.push(t.push(a)):n.push(void 0)}return n}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],n=0,i=i=t;!(n>=i.length);){var r=i[n++];!1!==a.optionsForElement(r)?e.push(new a(r)):e.push(void 0)}return e}()},a.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],a.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,n=n=a.blacklistedBrowsers;!(e>=n.length);)n[e++].test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},a.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(e.length),r=new Uint8Array(i),a=0,o=e.length,s=0<=o;s?a<=o:a>=o;s?a++:a--)r[a]=e.charCodeAt(a);return new Blob([i],{type:n})};var o=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},s=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};a.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},a.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},a.getElement=function(t,e){var n=void 0;if("string"==typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},a.getElements=function(t,e){var n=void 0,i=void 0;if(t instanceof Array){i=[];try{for(var r=0,a=a=t;!(r>=a.length);)n=a[r++],i.push(this.getElement(n,e))}catch(t){i=null}}else if("string"==typeof t){i=[];for(var o=0,s=s=document.querySelectorAll(t);!(o>=s.length);)n=s[o++],i.push(n)}else null!=t.nodeType&&(i=[t]);if(null==i||!i.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},a.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},a.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var n=t.type,i=n.replace(/\/.*$/,""),r=0,a=a=e;!(r>=a.length);){var o=a[r++];if("."===(o=o.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(o.toLowerCase(),t.name.length-o.length))return!0}else if(/\/\*$/.test(o)){if(i===o.replace(/\/.*$/,""))return!0}else if(n===o)return!0}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new a(this,t)}))}),null!==t?t.exports=a:window.Dropzone=a,a.ADDED="added",a.QUEUED="queued",a.ACCEPTED=a.QUEUED,a.UPLOADING="uploading",a.PROCESSING=a.UPLOADING,a.CANCELED="canceled",a.ERROR="error",a.SUCCESS="success";var l=function(t,e,n,i,r,a,o,s,l,u){var c=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var i=n.getContext("2d");i.drawImage(t,0,0);for(var r=i.getImageData(1,0,1,e).data,a=0,o=e,s=e;s>a;)0===r[4*(s-1)+3]?o=s:a=s,s=o+a>>1;var l=s/e;return 0===l?1:l}(e);return t.drawImage(e,n,i,r,a,o,s,l,u/c)},u=function(){function t(){i(this,t)}return e(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,i=void 0,r="",a=void 0,o=void 0,s=void 0,l="",u=0;a=(n=t[u++])>>2,o=(3&n)<<4|(i=t[u++])>>4,s=(15&i)<<2|(r=t[u++])>>6,l=63&r,isNaN(i)?s=l=64:isNaN(r)&&(l=64),e=e+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),n=i=r="",a=o=s=l="",ut.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,i="",r=void 0,a=void 0,o="",s=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(s++))<<2|(r=this.KEY_STR.indexOf(t.charAt(s++)))>>4,n=(15&r)<<4|(a=this.KEY_STR.indexOf(t.charAt(s++)))>>2,i=(3&a)<<6|(o=this.KEY_STR.indexOf(t.charAt(s++))),l.push(e),64!==a&&l.push(n),64!==o&&l.push(i),e=n=i="",r=a=o="",s{var a=new FormData;let o=new XMLHttpRequest,s="function"==typeof e.signingURL?e.signingURL(t):e.signingURL;o.open("POST",s),o.onload=function(){200==o.status?i(JSON.parse(o.response)):r(o.statusText)},o.onerror=function(t){r(t)},!0===e.withCredentials&&(o.withCredentials=!0),Object.entries(e.headers||{}).forEach(([t,e])=>{o.setRequestHeader(t,e)}),n=Object.assign(n,e.params||{}),Object.entries(n).forEach(([t,e])=>{a.append(t,e)}),o.send(a)})},sendFile(t,e,n){var i=n?this.setResponseHandler:this.sendS3Handler;return this.getSignedURL(t,e).then(e=>i(e,t)).catch(t=>t)},setResponseHandler(t,e){e.s3Signature=t.signature,e.s3Url=t.postEndpoint},sendS3Handler(t,e){let n=new FormData,i=t.signature;return Object.keys(i).forEach((function(t){n.append(t,i[t])})),n.append("file",e),new Promise((e,i)=>{let r=new XMLHttpRequest;r.open("POST",t.postEndpoint),r.onload=function(){if(201==r.status){var t=(new window.DOMParser).parseFromString(r.response,"text/xml").firstChild.children[0].innerHTML;e({success:!0,message:t})}else{var n=(new window.DOMParser).parseFromString(r.response,"text/xml").firstChild.children[0].innerHTML;i({success:!1,message:n+". Request is marked as resolved when returns as status 201"})}},r.onerror=function(t){var e=(new window.DOMParser).parseFromString(r.response,"text/xml").firstChild.children[1].innerHTML;i({success:!1,message:e})},r.send(n)})}};return e.autoDiscover=!1,function(t,e,n,i,r,a,o,s,l,u){"boolean"!=typeof o&&(o,o=!1);var c,h="function"==typeof n?n.options:n;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0),c)if(h.functional){var d=h.render;h.render=function(t,e){return c.call(e),d(t,e)}}else{var p=h.beforeCreate;h.beforeCreate=p?[].concat(p,c):[c]}return n}({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{ref:"dropzoneElement",class:{"vue-dropzone dropzone":this.includeStyling},attrs:{id:this.id}},[this.useCustomSlot?e("div",{staticClass:"dz-message"},[this._t("default",[this._v("Drop files here to upload")])],2):this._e()])},staticRenderFns:[]},0,{props:{id:{type:String,required:!0,default:"dropzone"},options:{type:Object,required:!0},includeStyling:{type:Boolean,default:!0,required:!1},awss3:{type:Object,required:!1,default:null},destroyDropzone:{type:Boolean,default:!0,required:!1},duplicateCheck:{type:Boolean,default:!1,required:!1},useCustomSlot:{type:Boolean,default:!1,required:!1}},data:()=>({isS3:!1,isS3OverridesServerPropagation:!1,wasQueueAutoProcess:!0}),computed:{dropzoneSettings(){let t={thumbnailWidth:200,thumbnailHeight:200};return Object.keys(this.options).forEach((function(e){t[e]=this.options[e]}),this),null!==this.awss3&&(t.autoProcessQueue=!1,this.isS3=!0,this.isS3OverridesServerPropagation=!1===this.awss3.sendFileToServer,void 0!==this.options.autoProcessQueue&&(this.wasQueueAutoProcess=this.options.autoProcessQueue),this.isS3OverridesServerPropagation&&(t.url=t=>t[0].s3Url)),t}},mounted(){if(this.$isServer&&this.hasBeenMounted)return;this.hasBeenMounted=!0,this.dropzone=new e(this.$refs.dropzoneElement,this.dropzoneSettings);let t=this;this.dropzone.on("thumbnail",(function(e,n){t.$emit("vdropzone-thumbnail",e,n)})),this.dropzone.on("addedfile",(function(e){var n,i;if(t.duplicateCheck&&this.files.length)for(n=0,i=this.files.length;n-1||e.indexOf(".png")>-1||e.indexOf(".jpg")>-1||e.indexOf(".jpeg")>-1||e.indexOf(".gif")>-1||e.indexOf(".webp")>-1)&&(n=!0),this.dropzone.options.createImageThumbnails&&n&&t.size<=1024*this.dropzone.options.maxThumbnailFilesize*1024){e&&this.dropzone.emit("thumbnail",t,e);for(var i=t.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0;r{this.getSignedAndUploadToS3(t)}):this.dropzone.processQueue(),this.dropzone.on("success",(function(){t.options.autoProcessQueue=!0})),this.dropzone.on("queuecomplete",(function(){t.options.autoProcessQueue=!1}))},init:function(){return this.dropzone.init()},destroy:function(){return this.dropzone.destroy()},updateTotalUploadProgress:function(){return this.dropzone.updateTotalUploadProgress()},getFallbackForm:function(){return this.dropzone.getFallbackForm()},getExistingFallback:function(){return this.dropzone.getExistingFallback()},setupEventListeners:function(){return this.dropzone.setupEventListeners()},removeEventListeners:function(){return this.dropzone.removeEventListeners()},disable:function(){return this.dropzone.disable()},enable:function(){return this.dropzone.enable()},filesize:function(t){return this.dropzone.filesize(t)},accept:function(t,e){return this.dropzone.accept(t,e)},addFile:function(t){return this.dropzone.addFile(t)},removeFile:function(t){this.dropzone.removeFile(t)},getAcceptedFiles:function(){return this.dropzone.getAcceptedFiles()},getRejectedFiles:function(){return this.dropzone.getRejectedFiles()},getFilesWithStatus:function(){return this.dropzone.getFilesWithStatus()},getQueuedFiles:function(){return this.dropzone.getQueuedFiles()},getUploadingFiles:function(){return this.dropzone.getUploadingFiles()},getAddedFiles:function(){return this.dropzone.getAddedFiles()},getActiveFiles:function(){return this.dropzone.getActiveFiles()},getSignedAndUploadToS3(t){var e=n.sendFile(t,this.awss3,this.isS3OverridesServerPropagation);this.isS3OverridesServerPropagation?e.then(()=>{setTimeout(()=>this.dropzone.processFile(t))}):e.then(e=>{e.success?(t.s3ObjectLocation=e.message,setTimeout(()=>this.dropzone.processFile(t)),this.$emit("vdropzone-s3-upload-success",e.message)):void 0!==e.message?this.$emit("vdropzone-s3-upload-error",e.message):this.$emit("vdropzone-s3-upload-error","Network Error : Could not send request to AWS. (Maybe CORS error)")}),e.catch(t=>{alert(t)})},setAWSSigningURL(t){this.isS3&&(this.awss3.signingURL=t)}}},0,0,0,void 0)}()},kv4v:function(t){t.exports=JSON.parse('{"de":{"name":"Germany","lang":"German"},"en":{"name":"UK","lang":"English"},"es":{"name":"Spain","lang":"Español"},"fr":{"name":"France","lang":"French"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Ireland","lang":"Irish"},"it":{"name":"Italy","lang":"Italian"},"ms":{"name":"Malaysia","lang":"Malay"},"nl":{"name":"Nederland","lang":"Nederlands"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkey","lang":"Turkish"},"uk":{"name":"UK","lang":"English"}}')},kzuA:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Pombe","art":"Sanaa","brands":"Chapa","coastal":"Fukwe","coffee":"Kahawa","dumping":"Tupa","food":"Chakula","industrial":"Viwandani","sanitary":"Usafi","softdrinks":"Vinywaji baridi","smoking":"Uvutaji","other":"Nyingine","material":"Vitu","dogshit":"Wanyama"},"smoking":{"butts":"Sigara/Vichungi","lighters":"Kiberiti","cigaretteBox":"Boksi la sigara","tobaccoPouch":"Pochi ya tumbaku","skins":"Karatasi za kunyongea","smoking_plastic":"Kifungashio ch plastiki","filters":"Chujio","filterbox":"Box la chujio","vape_pen":"Kalamu za kuvuta","vape_oil":"Mafuta ya kuvuta","smokingOther":"Vingine vyakuvuta"},"alcohol":{"beerBottle":"Chupa ya bia","spiritBottle":"Chupa ya pombe kali","wineBottle":"Chupa ya mvinyo","beerCan":"Kopo la bia","brokenGlass":"Glasi zilizopasuka","bottleTops":"Kizibo cha bia","paperCardAlcoholPackaging":"Kifungashio cha karatasi","plasticAlcoholPackaging":"Kifungashio cha plastiki","pint":"Glasi ya pint","six_pack_rings":"Pete za Six-pack","alcohol_plastic_cups":"Vikombe vya plastiki","alcoholOther":"Pombe- nyingine"},"art":{"item":"Taka za sana"},"coffee":{"coffeeCups":"Vikombe vya kahawa","coffeeLids":"Vifunuko vya kahawa","coffeeOther":"Kahawa-vingine"},"food":{"sweetWrappers":"Maganda ya pipi","paperFoodPackaging":"vifungashio vya karatasi au kadi","plasticFoodPackaging":"Vifungashio vya plastiki","plasticCutlery":"Vipandikizi vya Plastiki","crisp_small":"Pakiti za Crisp/Chip (ndogo)","crisp_large":"Pakiti za Crisp/Chip (kubwa)","styrofoam_plate":"Sahani ya Styrofoam","napkins":"Karatasi zakujifuta","sauce_packet":"Pakiti za viungo","glass_jar":"Jagi la kioo","glass_jar_lid":"Mfuniko wa jagi wa kioo","aluminium_foil":"Foil ya Aluminium ","pizza_box":"Boksi la Pizza","foodOther":"Chakula-vingine","chewing_gum":"Jojo"},"softdrinks":{"waterBottle":"Chupa ya maji ya plastiki","fizzyDrinkBottle":"Chupa ya Kunywa ya Plastiki Fizzy","tinCan":"Kopo","bottleLid":"Kifuniko cha chupa","bottleLabel":"Lebo ya chupa","sportsDrink":"Chupa ya michezo","straws":"Mrija","plastic_cups":"Vikombe vya plastiki","plastic_cup_tops":"Vifuniko vya kikombe vya plastiki","milk_bottle":"Chupa ya maziwa","milk_carton":"Kartoni ya maziwa","paper_cups":"Vikombe vya makaratasi","juice_cartons":"Karton za juice","juice_bottles":"Chupa za juisi","juice_packet":"Pakiti za juisi","ice_tea_bottles":"Chupa za Chai ya Barafu","ice_tea_can":"Makopo ya Chai ya Barafu","energy_can":"Makopo ya energy drink","pullring":"Vipete vya makopo","strawpacket":"Kifungashio cha mirija","styro_cup":"Kikombe cha Styrofoam","broken_glass":"Glasi zilizovunjika","softDrinkOther":"Kinywaji baridi-vingine"},"sanitary":{"gloves":"Kinga za mikono","facemask":"Barakoa","condoms":"Kondomu","nappies":"Karatasi za kujifuta","menstral":"Hedhi","deodorant":"Manukato","ear_swabs":"Pamba za masikio","tooth_pick":"Vichokonola meno","tooth_brush":"Mswaki","wetwipes":"Karatsi mbichi za kujifuta","hand_sanitiser":"Vitakasa mikono","sanitaryOther":"Usafi-vingine"},"dumping":{"small":"Ndogo","medium":"Kati","large":"Kubwa"},"industrial":{"oil":"Mafuta","industrial_plastic":"Plastiki","chemical":"Kemikali","bricks":"Tofali","tape":"Tepe","industrial_other":"Viwandani-nyingine"},"coastal":{"microplastics":"Plastiki ndogo","mediumplastics":"Plastiki za kati","macroplastics":"Plastiki kubwa","rope_small":"Kamba ndogo","rope_medium":"Kamba za kati","rope_large":"Kamba kubwa","fishing_gear_nets":"Zana za uvuvi","ghost_nets":"Nyavu","buoys":"Boya","degraded_plasticbottle":"Chupa chakavu ya plastiki","degraded_plasticbag":"Begi chakavu la plastiki","degraded_straws":"Mirija chavu","degraded_lighters":"Viberiti chakavu","balloons":"Maputo","lego":"Lego","shotgun_cartridges":"Mkebe wa risasi","styro_small":"Styrofoam ndogo","styro_medium":"Styrofoam ya kati","styro_large":"Styrofoam kubwa","coastal_other":"FUfukweni-nyingine"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Uchafu wa mbwa","littercat":"Uchafu wa paka","duck":"Uchafu bata"},"other":{"dogshit":"Choo cha mbwa","pooinbag":"Choo cha mbwa kwenye begi","automobile":"Vyombo vya moto","clothing":"Mavazi","traffic_cone":"Koni za trafiki","life_buoy":"Boya lakuokolea maisha","plastic":"Plastiki Isiyojulikana","dump":"Utupaji Haramu","metal":"Vitu vya chuma","plastic_bags":"Vifungashio vya plastiki","election_posters":"Mabango ya uchaguzi","forsale_posters":"Mabango ya matangazo","books":"Vitabu","magazine":"Jarida","paper":"Karatasi","stationary":"Vifaa vya kuandikia","washing_up":"Chupa ya Kuosha","hair_tie":"Vibanio vya nywele","ear_plugs":"Foni (muziki)","batteries":"Betri","elec_small":"Umeme vidogo","elec_large":"Umeme vya kati","random_litter":"Taka mchanganyiko","balloons":"Maputo","bags_litter":"Magi ya taka","overflowing_bins":"Ndoo zinazofurika taka","tyre":"Tairi","cable_tie":"Kifungo cha Cable","other":"nyingine-nyingine"},"presence":{"picked-up":"Niliiokota!","still-there":"Haikuokotwa!","picked-up-text":"Imeondoka","still-there-text":"Taka bado ipo"},"no-tags":"Hakuna nembo","not-verified":"Inasubiria uhakiki","not-tagged-yet":"Bado haija wekewa nembo","dogshit":{"poo":"Shangaza!","poo_in_bag":"Chakushangaza kwenye begi!"},"material":{"aluminium":"Aluminiam","bronze":"Shaba","carbon_fiber":"Nyuzi za Carbon","ceramic":"Kauri","composite":"Mchanganyiko","concrete":"Zege","copper":"Shaba","fiberglass":"Nyuzi za glasi","glass":"Glasi","iron_or_steel":"Chuma","latex":"Latex","metal":"Chuma","nickel":"Nickel","nylon":"Nailoni","paper":"Karatasi","plastic":"Plastiki","polyethylene":"Polyethilini","polymer":"Polima","polypropylene":"Polypropen","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Mpira","titanium":"Titanium","wood":"Mbao"}}')},"l+Pr":function(t){t.exports=JSON.parse('{"change-details":"Modificar datos personales","your-name":"Tu nombre","unique-id":"Identificador único","email":"Correo electrónico","update-details":"Actualizar datos"}')},lF28:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("sTxc"),o=n("kGIl"),s=n.n(o);n("5A0h");function l(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var u={name:"States",created:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,window.scroll({top:0,left:0}),n=window.location.href.split("/")[4],t.next=5,e.$store.dispatch("GET_STATES",n);case 5:e.loading=!1;case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){l(a,i,r,o,s,"next",t)}function s(t){l(a,i,r,o,s,"throw",t)}o(void 0)}))})()},components:{Loading:s.a,SortLocations:a.a},data:function(){return{loading:!0}},computed:{backButtonText:function(){return this.$store.state.locations.countryName}},methods:{goBack:function(){this.$store.commit("setLocations",[]),this.$router.push({path:"/world"})}}},c=n("KHd+"),h=Object(c.a)(u,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"locations-container"},[e("section",{staticClass:"hero is-info is-medium"},[e("div",{staticClass:"hero-body"},[e("div",{staticClass:"container"},[e("div",{staticClass:"columns"},[e("div",{staticClass:"column is-4"},[e("h1",{staticClass:"title is-1 flex pointer",on:{click:this.goBack}},[e("i",{directives:[{name:"show",rawName:"v-show",value:!this.loading,expression:"!loading"}],staticClass:"fa fa-chevron-left country-back"}),this._v("\n "+this._s(this.backButtonText)+"\n ")])])])])])]),this._v(" "),e("sort-locations",{attrs:{locationType:"state"}})],1)}),[],!1,null,"2a1d6ad0",null);e.default=h.exports},lL9X:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.box[data-v-713cf557] {\n min-height: 100%;\n}\n\n",""])},lVEh:function(t){t.exports=JSON.parse('{"title":"Uko tayari?","subtitle":"Jisajili ili uwe mtaalamu wa ramani ya takataka na utusaidie kushinda uchafuzi wa plastiki.","crowdfunding-message":"Tafadhali unga mkono jitihada zetu kwa kufadhili OpenLitterMap kwa kutumia kiasi kidogo angalau senti 6 kwa siku na usajili wa kila mwezi ili kusaidia kukuza na kuendeleza jukwaa hili muhimu.","form-create-account":"Fungua akaunti yako","form-field-name":"Jina","form-field-unique-id":"Kitambulisho cha Kipekee","form-field-email":"Barua pepe","form-field-password":"Neno la siri. Lazima liwe na herufi kubwa, ndogo na nambari.","form-field-pass-confirm":"Hakiki neno la siri","form-account-conditions":"Nimesoma na kukubaliana na Sheria na Masharti na Sera ya Faragha","form-btn":"Jisajili","create-account-note":"Kumbuka: Ikiwa hujapokea barua pepe ya uthibitishaji , tafadhali angalia folda lako la spam/junk folder."}')},lbgl:function(t){t.exports=JSON.parse('{"welcome":"Bienvenido a tu nuevo Perfil","out-of":"De {total} usuarios","rank":"Actualmente estas en la {rank} posición","have-uploaded":"Has subido","photos":"Fotos","tags":"Etiquetas","all-photos":"de todas las fotos","all-tags":"de todas las etiquetas","your-level":"Tu nivel","reached-level":"Has alcanzado el nivel","have-xp":"y tienes","need-xp":"Necesitas","to-reach-level":"para alcanzar el siguiente nivel.","total-categories":"Total categorías","calendar-load-data":"Cargar datos","download-data":"Descargar mis datos","email-send-msg":"Se enviará un correo electrónico a la dirección que utilizas para iniciar sesión.","timeseries-verified-photos":"Fotos verificadas","manage-my-photos":"¡Ve tus fotos, selecciona varias, elimínalas o añade etiquetas!","view-my-photos":"Ver mis fotos","my-photos":"Mis fotos","add-tags":"Anadir etiquetas","bulk-tag-dblclick-info":"¡Haz doble clic para hacer zoom en las fotos!"}')},leKr:function(t){t.exports=JSON.parse('{"general":"General","password":"Contraseña","details":"Datos personales","social":"Cuentas Sociales","account":"Mi cuenta","payments":"Mis pagos","privacy":"Privacidad","littercoin":"Littercoin (LTRX)","presence":"Presencia","emails":"Corres electrónicos","show-flag":"Mostrar bandera","teams":"Equipos"}')},lhb6:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".-mt-2[data-v-6749f36b] {\n margin-top: -2px;\n}",""])},lk3M:function(t){t.exports=JSON.parse('{"de":{"name":"Alemanha","lang":"Alemão"},"en":{"name":"Reino Unido","lang":"English"},"es":{"name":"Espanha","lang":"Español"},"fr":{"name":"França","lang":"Francês"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Irlanda","lang":"Irlandês"},"it":{"name":"Italia","lang":"Italiano"},"ms":{"name":"Malásia","lang":"Malaia"},"nl":{"name":"Holanda","lang":"Nederlands"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turquia","lang":"Turco"},"uk":{"name":"Reino Unido","lang":"Inglês"},"pl":{"name":"Polônia","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},ls82:function(t,e,n){var i=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",o=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,i){var r=e&&e.prototype instanceof h?e:h,a=Object.create(r.prototype),o=new k(i||[]);return a._invoke=function(t,e,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return T()}for(n.method=r,n.arg=a;;){var o=n.delegate;if(o){var s=b(o,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=u(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(t,n,o),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var c={};function h(){}function d(){}function p(){}var f={};f[r]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(C([])));g&&g!==e&&n.call(g,r)&&(f=g);var v=p.prototype=h.prototype=Object.create(f);function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var i;this._invoke=function(r,a){function o(){return new e((function(i,o){!function i(r,a,o,s){var l=u(t[r],t,a);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,o,s)}),(function(t){i("throw",t,o,s)})):e.resolve(h).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,s)}))}s(l.arg)}(r,a,i,o)}))}return i=i?i.then(o,o):o()}}function b(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,b(t,e),"throw"===e.method))return c;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var i=u(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,c;var r=i.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,c):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,c)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function C(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function e(){for(;++i=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;x(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},ltXA:function(t,e,n){"use strict";var i=n("XuX8"),r=n.n(i),a=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];var o=Array.isArray;function s(t){return null!==t&&"object"==typeof t}function l(t){return"string"==typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function h(t){return null==t}function d(t){return"function"==typeof t}function p(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,i=null;return 1===t.length?s(t[0])||o(t[0])?i=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(s(t[1])||o(t[1]))&&(i=t[1])),{locale:n,params:i}}function f(t){return JSON.parse(JSON.stringify(t))}function m(t,e){return!!~t.indexOf(e)}var g=Object.prototype.hasOwnProperty;function v(t,e){return g.call(t,e)}function y(t){for(var e=arguments,n=Object(t),i=1;i0;)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(T),T.mixin(b),T.directive("t",{bind:S,update:P,unbind:L}),T.component(w.name,w),T.component(E.name,E),T.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var z=function(){this._caches=Object.create(null)};z.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,i="";for(;n0)h--,c=4,d[0]();else{if(h=0,void 0===n)return!1;if(!1===(n=B(n)))return!1;d[1]()}};null!==c;)if(u++,"\\"!==(e=t[u])||!p()){if(r=F(e),8===(a=(s=R[c])[r]||s.else||8))return;if(c=a[0],(o=d[a[1]])&&(i=void 0===(i=a[2])?e:i,!1===o()))return;if(7===c)return l}}(t))&&(this._cache[t]=e),e||[]},U.prototype.getPathValue=function(t,e){if(!s(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var i=n.length,r=t,a=0;a/,G=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,V=/^@(?:\.([a-z]+))?:/,H=/[()]/g,W={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Y=new z,Z=function(t){var e=this;void 0===t&&(t={}),!T&&"undefined"!=typeof window&&window.Vue&&M(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},a=t.dateTimeFormats||{},o=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Y,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new U,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(e,t,n);var r,a;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(r=t,a=n,r=Math.abs(r),2===a?r?r>1?1:0:1:r?Math.min(r,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!h(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:a,numberFormats:o})},X={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Z.prototype._checkLocaleMessage=function(t,e,n){var i=function(t,e,n,r){if(c(n))Object.keys(n).forEach((function(a){var o=n[a];c(o)?(r.push(a),r.push("."),i(t,e,o,r),r.pop(),r.pop()):(r.push(a),i(t,e,o,r),r.pop())}));else if(o(n))n.forEach((function(n,a){c(n)?(r.push("["+a+"]"),r.push("."),i(t,e,n,r),r.pop(),r.pop()):(r.push("["+a+"]"),i(t,e,n,r),r.pop())}));else if(l(n)){if($.test(n))r.join("")}};i(e,t,n,[])},Z.prototype._initVM=function(t){var e=T.config.silent;T.config.silent=!0,this._vm=new T({data:t}),T.config.silent=e},Z.prototype.destroyVM=function(){this._vm.$destroy()},Z.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Z.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Z.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)T.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Z.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Z.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},X.vm.get=function(){return this._vm},X.messages.get=function(){return f(this._getMessages())},X.dateTimeFormats.get=function(){return f(this._getDateTimeFormats())},X.numberFormats.get=function(){return f(this._getNumberFormats())},X.availableLocales.get=function(){return Object.keys(this.messages).sort()},X.locale.get=function(){return this._vm.locale},X.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},X.fallbackLocale.get=function(){return this._vm.fallbackLocale},X.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},X.formatFallbackMessages.get=function(){return this._formatFallbackMessages},X.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},X.missing.get=function(){return this._missing},X.missing.set=function(t){this._missing=t},X.formatter.get=function(){return this._formatter},X.formatter.set=function(t){this._formatter=t},X.silentTranslationWarn.get=function(){return this._silentTranslationWarn},X.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},X.silentFallbackWarn.get=function(){return this._silentFallbackWarn},X.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},X.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},X.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},X.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},X.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},X.postTranslation.get=function(){return this._postTranslation},X.postTranslation.set=function(t){this._postTranslation=t},Z.prototype._getMessages=function(){return this._vm.messages},Z.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Z.prototype._getNumberFormats=function(){return this._vm.numberFormats},Z.prototype._warnDefault=function(t,e,n,i,r,a){if(!h(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,i,r]);if(l(o))return o}else 0;if(this._formatFallbackMessages){var s=p.apply(void 0,r);return this._render(e,a,s.params,e)}return e},Z.prototype._isFallbackRoot=function(t){return!t&&!h(this._root)&&this._fallbackRoot},Z.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Z.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Z.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Z.prototype._interpolate=function(t,e,n,i,r,a,s){if(!e)return null;var u,p=this._path.getPathValue(e,n);if(o(p)||c(p))return p;if(h(p)){if(!c(e))return null;if(!l(u=e[n])&&!d(u))return null}else{if(!l(p)&&!d(p))return null;u=p}return l(u)&&(u.indexOf("@:")>=0||u.indexOf("@.")>=0)&&(u=this._link(t,e,u,i,"raw",a,s)),this._render(u,r,a,n)},Z.prototype._link=function(t,e,n,i,r,a,s){var l=n,u=l.match(G);for(var c in u)if(u.hasOwnProperty(c)){var h=u[c],d=h.match(V),p=d[0],f=d[1],g=h.replace(p,"").replace(H,"");if(m(s,g))return l;s.push(g);var v=this._interpolate(t,e,g,i,"raw"===r?"string":r,"raw"===r?void 0:a,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;v=y._translate(y._getMessages(),y.locale,y.fallbackLocale,g,i,r,a)}v=this._warnDefault(t,g,v,i,o(a)?a:[a],r),this._modifiers.hasOwnProperty(f)?v=this._modifiers[f](v):W.hasOwnProperty(f)&&(v=W[f](v)),s.pop(),l=v?l.replace(h,v):l}return l},Z.prototype._createMessageContext=function(t){var e=o(t)?t:[],n=s(t)?t:{};return{list:function(t){return e[t]},named:function(t){return n[t]}}},Z.prototype._render=function(t,e,n,i){if(d(t))return t(this._createMessageContext(n));var r=this._formatter.interpolate(t,n,i);return r||(r=Y.interpolate(t,n,i)),"string"!==e||l(r)?r:r.join("")},Z.prototype._appendItemToChain=function(t,e,n){var i=!1;return m(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},Z.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var a=r.join("-");i=this._appendItemToChain(t,a,n),r.splice(-1,1)}while(r.length&&!0===i);return i},Z.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r0;)a[o]=arguments[o+4];if(!t)return"";var s=p.apply(void 0,a),l=s.locale||e,u=this._translate(n,l,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(a))}return u=this._warnDefault(l,t,u,i,a,"string"),this._postTranslation&&null!=u&&(u=this._postTranslation(u,t)),u},Z.prototype.t=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Z.prototype._i=function(t,e,n,i,r){var a=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,a,i,[r],"raw")},Z.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Z.prototype._tc=function(t,e,n,i,r){for(var a,o=[],s=arguments.length-5;s-- >0;)o[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},u=p.apply(void 0,o);return u.params=Object.assign(l,u.params),o=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((a=this)._t.apply(a,[t,e,n,i].concat(o)),r)},Z.prototype.fetchChoice=function(t,e){if(!t&&!l(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Z.prototype.tc=function(t,e){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},Z.prototype._te=function(t,e,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var a=p.apply(void 0,i).locale||e;return this._exist(n[a],t)},Z.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Z.prototype.getLocaleMessage=function(t){return f(this._vm.messages[t]||{})},Z.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Z.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,y({},this._vm.messages[t]||{},e))},Z.prototype.getDateTimeFormat=function(t){return f(this._vm.dateTimeFormats[t]||{})},Z.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Z.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,y(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Z.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},Z.prototype._localizeDateTime=function(t,e,n,i,r){for(var a=e,o=i[a],s=this._getLocaleChain(e,n),l=0;l0;)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?l(e[0])?r=e[0]:s(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(l(e[0])&&(r=e[0]),l(e[1])&&(i=e[1])),this._d(t,i,r)},Z.prototype.getNumberFormat=function(t){return f(this._vm.numberFormats[t]||{})},Z.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Z.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,y(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Z.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},Z.prototype._getNumberFormatter=function(t,e,n,i,r,a){for(var o=e,s=i[o],l=this._getLocaleChain(e,n),u=0;u0;)e[n]=arguments[n+1];var i=this.locale,r=null,o=null;return 1===e.length?l(e[0])?r=e[0]:s(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key),o=Object.keys(e[0]).reduce((function(t,n){var i;return m(a,n)?Object.assign({},t,((i={})[n]=e[0][n],i)):t}),null)):2===e.length&&(l(e[0])&&(r=e[0]),l(e[1])&&(i=e[1])),this._n(t,i,r,o)},Z.prototype._ntp=function(t,e,n,i){if(!Z.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).formatToParts(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),a=r&&r.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return a||[]},Object.defineProperties(Z.prototype,X),Object.defineProperty(Z,"availabilities",{get:function(){if(!q){var t="undefined"!=typeof Intl;q={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return q}}),Z.install=M,Z.version="8.21.0";var J=Z,K=n("TH7d"),Q=n("9FWL"),tt=n("gGk+"),et={login:K,signup:Q,subscribe:tt},nt=n("HOht"),it=n("2Uk4"),rt=n("Hc5j"),at=n("IKhi"),ot=n("1O6V"),st=n("+7PB"),lt=n("vwrS"),ut=n("40O4"),ct={about:rt,donate:at,footer:ot,welcome:st,community:lt,globalMap:ut},ht=n("ePAn"),dt=n("1rbm"),pt=n("5S+d"),ft=n("kv4v"),mt={cityVueMap:pt,countries:ft},gt=n("T7To"),vt=n("Zhs0"),yt=n("pAip"),_t={dashboard:yt},bt=n("V2N6"),wt=n("1tOW"),xt=n("GGJd"),kt=n("6mC8"),Ct=n("94G+"),Tt=n("u8o6"),Et=n("eSK7"),St=n("qrWs"),Pt=n("BDmR"),Lt=n("4loq"),It=n("Xlqv"),Ot={account:bt,social:wt,common:xt,details:kt,emails:Ct,globalFlag:Tt,littercoin:Et,password:St,payments:Pt,presence:Lt,privacy:It},At=n("RRYh"),Mt=n("15wQ"),zt=n("diqR"),Nt=n("1rPI"),Dt=n("EDOO"),Rt=n("sIYV"),jt=n("PT26"),Ft=n("B8Gz"),Bt={create:zt,dashboard:Nt,join:Dt,leaderboard:Rt,myteams:jt,settings:Ft},Ut=n("SFi8"),qt={auth:et,common:nt,creditcard:it,home:ct,litter:ht,location:dt,locations:mt,nav:gt,notifications:vt,profile:_t,settings:Ot,signup:At,tags:Mt,teams:Bt,upload:Ut},$t=n("7VP3"),Gt=n("0NR4"),Vt=n("E6oU"),Ht={login:$t,signup:Gt,subscribe:Vt},Wt=n("wEH+"),Yt=n("tIw/"),Zt=n("gUen"),Xt=n("VRB9"),Jt=n("N+wP"),Kt=n("09JO"),Qt=n("fjiq"),te=n("EzV4"),ee={about:Zt,donate:Xt,footer:Jt,welcome:Kt,community:Qt,globalMap:te},ne=n("fIXd"),ie=n("tulk"),re=n("XqNS"),ae=n("0Ajk"),oe={cityVueMap:re,countries:ae},se=n("+4ci"),le=n("oFPX"),ue=n("lbgl"),ce={dashboard:ue},he=n("56Dk"),de=n("NDTK"),pe=n("leKr"),fe=n("l+Pr"),me=n("cJYt"),ge=n("sG1D"),ve=n("1lel"),ye=n("QoU/"),_e=n("JumI"),be=n("nMp1"),we=n("vsSR"),xe={account:he,social:de,common:pe,details:fe,emails:me,globalFlag:ge,littercoin:ve,password:ye,payments:_e,presence:be,privacy:we},ke=n("VPXm"),Ce=n("CO0D"),Te=n("sX8j"),Ee=n("1SYZ"),Se=n("s2Pw"),Pe=n("Hw7p"),Le=n("TFCV"),Ie=n("1FiT"),Oe={create:Te,dashboard:Ee,join:Se,leaderboard:Pe,myteams:Le,settings:Ie},Ae=n("p+ct"),Me={auth:Ht,common:Wt,creditcard:Yt,home:ee,litter:ne,location:ie,locations:oe,nav:se,notifications:le,profile:ce,settings:xe,signup:ke,tags:Ce,teams:Oe,upload:Ae},ze=n("HQdr"),Ne=n("enqF"),De=n("DqzX"),Re={login:ze,signup:Ne,subscribe:De},je=n("gdWU"),Fe=n("rpVx"),Be=n("W76K"),Ue=n("On30"),qe=n("zSOa"),$e=n("8G2h"),Ge=n("Q32/"),Ve=n("HMOf"),He={about:Be,donate:Ue,footer:qe,welcome:$e,community:Ge,globalMap:Ve},We=n("v8ui"),Ye=n("5GFE"),Ze=n("2osq"),Xe=n("GoYr"),Je={cityVueMap:Ze,countries:Xe},Ke=n("kkbq"),Qe=n("VL2Z"),tn=n("CW5W"),en={dashboard:tn},nn=n("JkqQ"),rn=n("UnEU"),an=n("H9zO"),on=n("+XkP"),sn=n("EXqm"),ln=n("/xT5"),un=n("wHEA"),cn=n("slj6"),hn=n("g4/Y"),dn=n("gRT/"),pn=n("4Lso"),fn={account:nn,social:rn,common:an,details:on,emails:sn,globalFlag:ln,littercoin:un,password:cn,payments:hn,presence:dn,privacy:pn},mn=n("ZtsI"),gn=n("iaXR"),vn=n("bzCz"),yn=n("ujGR"),_n=n("xyEF"),bn=n("gD/i"),wn=n("pTi1"),xn=n("r3I6"),kn={create:vn,dashboard:yn,join:_n,leaderboard:bn,myteams:wn,settings:xn},Cn=n("bWQd"),Tn={auth:Re,common:je,creditcard:Fe,home:He,litter:We,location:Ye,locations:Je,nav:Ke,notifications:Qe,profile:en,settings:fn,signup:mn,tags:gn,teams:kn,upload:Cn},En=n("Hv2k"),Sn=n("/iew"),Pn=n("/xHF"),Ln={login:En,signup:Sn,subscribe:Pn},In=n("Ap9Q"),On=n("+BrE"),An=n("2/FA"),Mn=n("wUjy"),zn=n("2fOW"),Nn=n("C8vp"),Dn=n("qfSu"),Rn={about:An,donate:Mn,footer:zn,welcome:Nn,community:Dn},jn=n("9RCj"),Fn=n("oalr"),Bn=n("M3TT"),Un=n("+uFM"),qn={cityVueMap:Bn,countries:Un},$n=n("yHOK"),Gn=n("a67d"),Vn=n("JKCj"),Hn={dashboard:Vn},Wn=n("g+b/"),Yn=n("LcUr"),Zn=n("ZvzM"),Xn=n("36z2"),Jn={en:qt,es:Me,fr:Tn,hu:{auth:Ln,common:In,creditcard:On,home:Rn,litter:jn,location:Fn,locations:qn,nav:$n,notifications:Gn,profile:Hn,settings:{account:Wn,social:Yn,common:Zn,details:Xn,emails:n("dJrg"),globalFlag:n("be92"),littercoin:n("s306"),password:n("iZMr"),payments:n("tkaX"),presence:n("yeoh"),privacy:n("Sbn/")},signup:n("q4nw"),tags:n("6djo"),teams:{create:n("Pb1J"),dashboard:n("AxWf"),join:n("zzSn"),leaderboard:n("P3rd"),myteams:n("hnin"),settings:n("cD0Z")},upload:n("WL7+")},nl:{auth:{login:n("15/P"),signup:n("TW6y"),subscribe:n("DIPp")},common:n("QLhK"),creditcard:n("GvbF"),home:{about:n("nAEM"),donate:n("BGUB"),footer:n("p5/b"),welcome:n("KNCH"),community:n("xB1W"),globalMap:n("Ez+z")},litter:n("4CRn"),location:n("A85c"),locations:{cityVueMap:n("7QOT"),countries:n("nSSA")},nav:n("rhOw"),notifications:n("uvWH"),profile:{dashboard:n("feLt")},settings:{account:n("cXOZ"),social:n("dMz0"),common:n("GKyZ"),details:n("61Kv"),emails:n("YytN"),globalFlag:n("Sn/w"),littercoin:n("uFkq"),password:n("xoeU"),payments:n("+7ij"),presence:n("Tsbz"),privacy:n("jR8y")},signup:n("ILJX"),tags:n("NEqZ"),teams:{create:n("e7o3"),dashboard:n("+0tX"),join:n("eJw/"),leaderboard:n("pwP9"),myteams:n("Td1u"),settings:n("PeV8")},upload:n("Kb5C")},pl:{auth:{login:n("t2E5"),signup:n("/HxI"),subscribe:n("PCBF")},common:n("Sl6+"),creditcard:n("AYZs"),home:{about:n("gtXK"),donate:n("gMnw"),footer:n("8ClP"),welcome:n("ssMp"),community:n("kpIZ"),globalMap:n("tiDI")},litter:n("HpQ/"),location:n("OBXI"),locations:{cityVueMap:n("syxb"),countries:n("Bj9c")},nav:n("uWY9"),notifications:n("rJdF"),profile:{dashboard:n("AElL")},settings:{account:n("9Q6N"),social:n("SrbP"),common:n("G6KL"),details:n("g1lL"),emails:n("BE1l"),globalFlag:n("zNTn"),littercoin:n("P8nw"),password:n("P+KS"),payments:n("VigF"),presence:n("30qX"),privacy:n("Xs+J")},signup:n("TGU/"),tags:n("hqZl"),teams:{create:n("R7ON"),dashboard:n("4Plr"),join:n("dxLh"),leaderboard:n("b4WK"),myteams:n("o4on"),settings:n("E+4Y")},upload:n("BqL+")},pt:{auth:{login:n("ng3h"),signup:n("nVW1"),subscribe:n("BpIE")},common:n("VGFI"),creditcard:n("Y3sA"),home:{about:n("+2jo"),donate:n("NEmZ"),footer:n("qcgz"),welcome:n("xrdK"),community:n("2Nds"),globalMap:n("Hz4E")},litter:n("uA4O"),location:n("aLIK"),locations:{cityVueMap:n("6Ia7"),countries:n("lk3M")},nav:n("cUn5"),notifications:n("8V5I"),profile:{dashboard:n("HP61")},settings:{account:n("+fPF"),social:n("uD9k"),common:n("EpeX"),details:n("LhuG"),emails:n("5uan"),globalFlag:n("WvOj"),littercoin:n("Q8B6"),password:n("CacJ"),payments:n("9fnu"),presence:n("c0qq"),privacy:n("fYLw")},signup:n("YVy1"),tags:n("jTMi"),teams:{create:n("+z9b"),dashboard:n("R/GM"),join:n("BmvU"),leaderboard:n("sN9Z"),myteams:n("NcSw"),settings:n("LxGr")},upload:n("YenQ")},sw:{auth:{login:n("sHr0"),signup:n("iTxj"),subscribe:n("lVEh")},common:n("TTnB"),creditcard:n("oR4i"),home:{about:n("WnxK"),donate:n("RqL8"),footer:n("oQsM"),welcome:n("PEqn"),community:n("CxA2"),globalMap:n("3L/Y")},litter:n("kzuA"),location:n("Lb50"),locations:{cityVueMap:n("EDK3"),countries:n("jFJf")},nav:n("kY4/"),notifications:n("CvDn"),profile:{dashboard:n("eTB5")},settings:{account:n("4j8G"),social:n("HMki"),common:n("Aaoo"),details:n("Wg6k"),emails:n("vC4K"),globalFlag:n("VPFN"),littercoin:n("wb9+"),password:n("j/zF"),payments:n("DO4j"),presence:n("Tz4O"),privacy:n("ACKy")},signup:n("70H2"),tags:n("mK6p"),teams:{create:n("F99G"),dashboard:n("Dcc/"),join:n("rRwV"),leaderboard:n("bgq+"),myteams:n("dkfv"),settings:n("W+eS")},upload:n("X/mx")}};r.a.use(J);e.a=new J({locale:"en",fallbackLocale:"en",messages:Jn})},m2r5:function(t,e,n){var i=n("fcDi");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},m7SO:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.cmc[data-v-5b5ada14] {\n height: calc(100vh - 82px);\n}\n",""])},mK6p:function(t){t.exports=JSON.parse('{"address":"Anuani","add-tag":"Ongeza lebo","coordinates":"Mahali","device":"Kifaa","next":"Picha inayofuta","no-tags":"Huna chochote cha kuweka lebo kwa sasa.","picked-up-title":"Imeokotwa?","please-upload":"Pakia picha zaidi","previous":"Picha iliyopita","removed":"Taka imeondolewa","still-there":"Taka bado ipo hapo","taken":"Chukuliwa","to-tag":"Pichwa imeachwa iwekewe lebo","total-uploaded":"Jumla ya picha zilizopakiwa","uploaded":"Imepakiwa","confirm-delete":"Je, ungependa kufuta picha hii? Hili haliwezi kutenduliwa.","recently-tags":"Lebo zilizotumiwa hivi karibuni: ","clear-tags":"Ungependa kufuta lebo za hivi karibuni?","clear-tags-btn":"Futa lebo za hivi karibuni","search-all-tags":"Bonyeza Ctrl + Spacebar ili Utafute Lebo Zote","search-custom-tags":"Ongeza lebo zako mwenyewe","custom-tags":"Lebo Maalum","custom-tags-min":"Inahitaji kuwa na urefu wa angalau vibambo 3.","custom-tags-max":"Inahitaji kuwa na urefu zisiozidi herufi 100.","tag-already-added":"Lebo tayari imeshaongezwa.","tag-limit-reached":"Unaweza kupakia hadi lebo 3 maalum."}')},mM78:function(t,e,n){var i=n("YP0+");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},md0N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".foot[data-v-bc2a3432] {\n padding: 5em;\n background-image: radial-gradient(circle at 1% 1%, #328bf2, #1644ad);\n height: 42em;\n position: relative;\n}\n.footer-bottom[data-v-bc2a3432] {\n position: absolute;\n bottom: 0;\n left: 25%;\n border-top: 1px solid #3c6fcd;\n padding: 1em 0;\n}\n.foot-container-left[data-v-bc2a3432] {\n padding-right: 10em;\n}\n.footer-icon[data-v-bc2a3432] {\n max-height: 2em;\n margin-right: 1em;\n cursor: pointer;\n}\n.footer-success[data-v-bc2a3432] {\n font-size: 1.5em;\n color: #fff;\n}\n.footer-text[data-v-bc2a3432] {\n color: #94afe3;\n}\n.footer-link[data-v-bc2a3432] {\n color: #94afe3;\n cursor: pointer;\n}\n.footer-link[data-v-bc2a3432]:hover {\n color: #fff;\n}\n.f-input[data-v-bc2a3432] {\n height: 3em;\n border-radius: 1em;\n margin-bottom: 1.5em;\n width: 50%;\n border: none;\n}\n.inner-footer-container[data-v-bc2a3432] {\n padding-left: 10em;\n padding-right: 10em;\n}\n.olm-title[data-v-bc2a3432] {\n font-size: 2em;\n font-weight: 700;\n color: #fff;\n margin-bottom: 1em;\n}\n.olm-subtitle[data-v-bc2a3432] {\n font-size: 1.5em;\n font-weight: 700;\n color: #fff;\n margin-bottom: 1em;\n}\n.top-footer-title[data-v-bc2a3432] {\n color: #fff;\n font-size: 2.5em;\n margin-bottom: 1.25em;\n}\n\n/* Mobile view */\n@media (max-width: 768px) {\n.foot[data-v-bc2a3432] {\n padding: 2em;\n background-image: radial-gradient(circle at 1% 1%, #328bf2, #1644ad);\n height: 220vh;\n position: relative;\n}\n.f-input[data-v-bc2a3432] {\n width: 80%;\n}\n.footer-bottom[data-v-bc2a3432] {\n left: 10%;\n right: 10%;\n}\n.foot-container-left[data-v-bc2a3432] {\n padding-right: 0;\n}\n.inner-footer-container[data-v-bc2a3432] {\n padding-left: 0;\n padding-right: 0;\n}\n}",""])},meck:function(t,e,n){"use strict";var i=n("CASQ");n.n(i).a},mrkR:function(t,e,n){"use strict";n.r(e);var i={name:"FAQ",mounted:function(){window.scrollTo(0,0)}},r=(n("GsvD"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"hero section-faq"},[e("div",{staticClass:"hero-body"},[e("div",{staticClass:"py-2 mb-6"},[e("div",{staticClass:"title has-text-light has-text-centered"},[this._v("\n "+this._s(this.$t("common.faq"))+"\n ")])]),this._v(" "),this._m(0)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"faq"},[n("ul",[n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What is OpenLitterMap?")]),t._v(" "),n("p",[t._v("OpenLitterMap is an open source, interactive, and accessible databsase of the world's litter & plastic pollution.\n We are turning cleaning the planet into a game, to make it fun and easy to collect data.\n This data is important to give visibility to litter, and help find solutions like where to put bins, ashtrays & more.\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("Why is it called OpenLitterMap?")]),t._v(" "),n("p",[t._v('\n "Open" - because all of our code & data is open source. This means that anyone can access the code, learn from it,\n improvee it, or use it in another project! You don\'t have to be a developer to appreciate how powerful this is.\n Open source code can be passed on from generation to generation,\n who can build on it, learn from it and use it to continue to help improve society for the betterment of humanity.\n '),n("br"),t._v(" "),n("br"),t._v("\n Not only is all of our code open source, which you can find at "),n("a",{attrs:{href:"https://github.com/openlittermap"}},[t._v("https://github.com/openlittermap")]),t._v("\n but all of our data is also openly available for anyone to download and start using. This is in contrast to many other apps,\n who do not open up access to their code and data as they are trying to keep it for themselves (booo!!!)\n "),n("br"),t._v('\n "LitterMap" - because we visualise our entire global repository on the global map, which loads all data in\n 30kb and 33ms (August 2022).\n '),n("br"),t._v("\n The OpenLitterMap name was inspired by "),n("a",{attrs:{href:"https://openstreetmap.org"}},[t._v("OpenStreetMap")]),t._v(" which is the most\n detailed & comprehensive map of the world ever created by over 2-million volunteers that contiunes to be updated\n constantly. Unlike other services like Google Maps, which is not open and owned by Google, OpenStreetMap code\n and data is open to everyone, allowing anyone to be a part of adding, editing or using the code and/or data.\n Inspired by the open source values of OpenStreetMap, we decided to apply the same open values to litter and plastic pollution.\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("How do I take pictures?")]),t._v(" "),n("p",[t._v("\n Firstly, make sure that your phone has the right settings:\n "),n("br"),t._v('  • iPhone. Open Settings -> Privacy -> Location. Turn "Camera On While Using".\n\n '),n("br"),t._v("  • Android. Open the Camera.\n "),n("br"),t._v("Go to camera settings => Activate Geotagging.\n "),n("br"),t._v("Pull down top-menu and Activate GPS\n\n "),n("br"),n("br"),t._v("There are different ways to take pictures:\n "),n("br"),t._v("  • Open your normal camera and use that to take the photos (our preferred way)\n "),n("br"),t._v("  • Open the app and take pictures from within the app (This is currently disabled.)\n\n "),n("br"),n("br"),t._v("There are 2 ways to upload and tag your data. You can use the mobile app, or you\n can use openlittermap.com and log in there. If you visit the website, you have to upload\n your images first, then tag them. Some people prefer this way, as you get a full screen,\n a keyboard, and you can tag many items at once. Other people prefer using the mobile app,\n where you have to select your images first, tag them, and upload the tagged ones.\n\n "),n("br"),t._v("Check your setting: do you normally pick up the litter or not?\n\n "),n("br"),t._v("If you want to take pictures without draining your battery, it is\n okay to put it in flight-mode! To determine your location, you need\n the GPS sensor in your device to connect to a location-tracking satellite,\n not your cellular or wifi network. You can collect geospatial data anywhere, without\n needing a connection to anything else. This means that it works in the most remote\n parts of the world, but you need to connect to the internet if you want to upload your data.\n\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What is Littercoin?")]),t._v(" "),n("p",[t._v("Littercoin is the reward that our users get for producing geographic information.\n You can not buy Littercoin. You can only earn it by joining the community and helping us collect data.\n "),n("br"),t._v("Littercoin does not yet have a value, but we are working on it by locking ADA in a smart contract\n which will give each Littercoin value. Our vision is that your Littercoin can only be spent at\n participating pre-approved zero-waste stores that partner up. Unlike traditional government\n money that is printed out of thin-air, Littercoin is a new type of environmental currency that is\n created by people helping to clean the planet and can be spent in climate-approved stores only.\n "),n("br"),t._v("Unlike other cryptocurrencies, we are not going to list Littercoin on any exchange, making it non-tradable.\n The smart contract will be able to verify the integrity of each token, proving it has not been traded or\n listed on an exchange.\n "),n("br"),t._v("Cheating the system (‘oh, let me just drop a bunch of litter here and take a lot of\n photos of it’) is possible, but in reality, nobody does this and the benefits will far outweigh any\n cheating. There is also so much litter out there that finding it is much easier than carrying it around.\n We have a system in place that involves reviewing all tags on each image. This is generating high quality\n data that is being used to train the OpenLitterAI, which will make verification easier.\n If you really want to cheat the system, you might as well rob a zero-waste store.\n (Please don’t).\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("How can I download the images?")]),t._v(" "),n("p",[t._v("This feature is not working properly yet as openlittermap is still in development.\n Do you think the development of this technology is important?\n https://gofundme.com/openlittermap\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What’s the use of having an option ‘I did not pick it up’?")]),t._v(" "),n("p",[t._v("Isn’t it all about cleaning the earth and picking litter? Good question! Yes, the idea is to\n make the world a better place, and there are many ways to do that. Most of us pick litter,\n so right at that moment, a difference is being made, the world is a bit cleaner than before.\n And we don’t just pick the litter, but we also take a picture to create data about that\n litter that can be used long after the litter is gone.\n "),n("br"),t._v("However, there are situatuibs when someone would take a picture without picking the\n litter:\n "),n("br"),t._v("  • The litter is too big. You are walking with your dog and picking some\n litter while doing so, but suddenly you see something that shouldn’t be there but it is too\n big. (a car-wheel, a broken toilet, etc.).\n "),n("br"),t._v("  • It’s too dangerous. For instance during Covid, a lot of litter-pickers\n stopped picking litter like facemasks because of the risk of Covid. However, taking pictures\n of the facemasks was still possible and welcome.\n "),n("br"),t._v("  • You believe that leaving the litter where it was found is making a bigger\n impact. This might also be true. Some people believe that by removing the litter, you are in\n fact saying ‘dump whatever you want, I’ll come around and pick it up’. Others believe ‘if\n the place is clean, it will stay clean for a longer period of time. We ourselves don’t\n believe in either of them. Anyway, if you want to make an impact by not touching the litter,\n you can still register it.\n "),n("br"),t._v("   • Someone else can pick it up. Suppose you are in a wheelchair, or late for a meeting.\n By collecting data, you can create data that other people can respond to. This feature is still\n in development.\n "),n("br"),t._v("   • We can also use those pictures to train our Machine Learning model. The more pictures we\n have from different kinds of litter, the better we can train the computer to recognise the litter;\n eventually it can help us in predicting what the litter in the picture is and\n lessen the trouble of you or us having to tag it manually\n "),n("br"),t._v("   • The data tells an important story. Some people don't want to pick up litter, but\n they are happy to try and help educate society. We have been picking up litter for decades\n and its getting worse, so clearly picking up litter alone is not working. If picking up\n litter is all we do, that is all we will ever do. Collecting data can be a more effective\n educational tool long-term to fix the problem.\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("Taking pictures and tagging them is taking a lot of time, what to do?")]),t._v(" "),n("p",[t._v("You could try our ‘bulk-tag’option. You can find this on the add-tags page, or your profile.\n Here you can see the photos that you uploaded from web that you need to tag.\n If you have similar photos (for instance all pictures with a redbull-can),\n you can select all of them and then choose ‘start tagging’, now you only have\n to give the right tags once and these will be applied to all selected pictures.\n The pictures that were not selected remain so you could repeat the process if you want to.\n This tool actually works really good, go check it out!\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("What kind of pictures should I take?")]),t._v(" "),n("p",[n("br"),t._v("  • This is entirely up to you and depends on what kind of story you want to take.\n "),n("br"),t._v("  • If you want, you can add 1 tag to each photo.\n "),n("br"),t._v("  • Or, you can include many objects in a single photo.\n "),n("br"),t._v("  • If its not possible to count the litter, you can use the Dumping category\n (small, medium, large) and pick a number between 0-100 depending on how bad you think the problem is.\n\n "),n("br"),t._v("  • When possible, hold your camera as close to the item as possible.\n "),n("br"),t._v("  • If there is a brand on the item, make sure that is also visible in the\n picture.\n "),n("br"),t._v("  • Don't include people, faces, shadows, feet, or clothes. Please take photos of litter ONLY.\n With these guidelines, you can help us create an excellent quality datasetset and you will\n make life easier for those who need to help verify the data.\n However, there are situations where this is not possible. For instance, you see something\n floating in the water and are not able to pick it, or turn it to see if there is a brand on\n it, or to zoom in. That’s okay, it is still valuable data and we welcome your contribution.\n\n "),n("br"),t._v("Do I have to take 1 photo per item?\n "),n("br"),t._v("  • No, you don’t. You can take 1 photo, apply a tag of cigarette butts tag with a quantity of 50.\n "),n("br"),t._v("And if I find different objects close together, do i have to sort those first?\n "),n("br"),t._v("  • Some people do this, but its not necessary. It all depends what kind of story you want to tell.\n "),n("br"),t._v("So do whatever you prefer, but do try and help us build a high quality database!\n ")])]),t._v(" "),n("li",[n("input",{attrs:{type:"checkbox",checked:""}}),t._v(" "),n("i"),t._v(" "),n("h2",[t._v("How to tag correctly?")]),t._v(" "),n("p",[t._v("\n There is no single method to tag pictures, all data is valuable. It is also 'your story'\n to tell. However, you should try to tell what kind of item it is (it should be available\n under some category, and only if it is not, use 'other') and if possible add the brand as\n well (if the brand is not available yet, you could use the custom tags input). But try to use\n the pre-defined tags as much as possible.\n "),n("br"),t._v("If possible, tag the ‘worst’ material. So an item with both plastic and paper, tag as\n plastic.\n "),n("br"),n("br"),t._v("Some examples:\n "),n("br"),t._v("red bull can → 2 tags: ‘the object’ (look for the best ‘can’ that you can find) + brand\n "),n("br"),t._v("Soda can with a brand that we don’t have yet → 1 predefined tag (can) + 1\n customtag:somebrandname\n "),n("br"),t._v("If you have found an energy-can, only give 1 tag for the item: so don’t tag it as ‘can’\n and ‘energycan’, but just as an energycan\n "),n("br"),n("br"),t._v("Multiple litter items in a photo can be tagged with appropriate counts applied. A\n photo can contain a mixture of beer bottles, beer cans, plastic cups, or any number of\n recognized category items. Multiple recognized brands and their counts can also be applied.\n ")])])])])}],!1,null,"15fcfe1f",null);e.default=a.exports},ms69:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".bulk-tag[data-v-7a4ea0d6] {\n padding: 3rem;\n}\n.my-photos-grid-container[data-v-7a4ea0d6] {\n display: grid;\n grid-template-rows: repeat(5, 1fr);\n grid-template-columns: repeat(6, 1fr);\n grid-row-gap: 0.5em;\n grid-column-gap: 0.5em;\n}\n.my-grid-photo[data-v-7a4ea0d6] {\n max-height: 10em;\n max-width: 10em;\n position: relative;\n}\n.my-grid-photo .litter[data-v-7a4ea0d6] {\n width: 100%;\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n border-radius: 5px;\n}\n.grid-checkmark[data-v-7a4ea0d6] {\n position: absolute;\n height: 32px;\n bottom: 8px;\n right: 0;\n color: #0ca3e0;\n font-size: 1rem;\n padding: 5px;\n}\n.grid-checkmark .tag-icon[data-v-7a4ea0d6] {\n position: relative;\n height: 30px;\n width: 30px;\n border-radius: 50%;\n background-color: black;\n}\n.grid-checkmark .tag-icon i[data-v-7a4ea0d6] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.grid-tagged[data-v-7a4ea0d6] {\n position: absolute;\n height: 32px;\n top: 0;\n right: 0;\n color: #00d1b2;\n font-size: 1rem;\n padding: 5px;\n cursor: pointer;\n}\n.grid-tagged .tag-icon[data-v-7a4ea0d6] {\n position: relative;\n height: 30px;\n width: 30px;\n border-radius: 50%;\n background-color: black;\n}\n.grid-tagged .tag-icon i[data-v-7a4ea0d6] {\n position: absolute;\n top: 52%;\n left: 52%;\n transform: translate(-50%, -50%);\n}\n.grid-tagged .tooltip-text[data-v-7a4ea0d6] {\n min-width: -webkit-max-content;\n min-width: -moz-max-content;\n min-width: max-content;\n transform: translate(-50%, -5px);\n}\n.grid-tagged[data-v-7a4ea0d6]:hover {\n transform: scale(1.05);\n}\n.photo-tags[data-v-7a4ea0d6] {\n position: absolute;\n top: 105%;\n right: 50%;\n width: 250px;\n padding: 10px;\n background: ghostwhite;\n box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);\n border-radius: 5px;\n transform: translateX(50%);\n z-index: 10;\n}\n.photos-info[data-v-7a4ea0d6] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.photos-info .info-icon[data-v-7a4ea0d6] {\n display: flex;\n justify-content: center;\n align-items: center;\n color: white;\n background-color: #00d1b2;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n}\n.photos-info .info-icon i[data-v-7a4ea0d6] {\n margin-top: 2px;\n}\n.bottom-actions[data-v-7a4ea0d6] {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n margin-top: 16px;\n gap: 8px;\n}\n.bottom-actions .bottom-navigation[data-v-7a4ea0d6] {\n display: flex;\n flex-direction: row;\n}\n.bottom-actions .bottom-right-actions[data-v-7a4ea0d6] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n}\n\n/* Laptop and above */\n@media (min-width: 1027px) {\n.my-photos-grid-container[data-v-7a4ea0d6] {\n grid-template-rows: repeat(3, 1fr);\n grid-template-columns: repeat(10, 1fr);\n grid-row-gap: 1em;\n grid-column-gap: 1em;\n}\n.bottom-actions[data-v-7a4ea0d6] {\n flex-direction: row;\n gap: 0;\n}\n.bottom-actions .bottom-right-actions[data-v-7a4ea0d6] {\n flex-direction: row;\n}\n}\n.fade-enter-active[data-v-7a4ea0d6], .fade-leave-active[data-v-7a4ea0d6] {\n transition: opacity 0.3s;\n}\n.fade-enter[data-v-7a4ea0d6], .fade-leave-to[data-v-7a4ea0d6] {\n opacity: 0;\n}",""])},myLu:function(t,e,n){(function(t,n){var i="[object Arguments]",r="[object Map]",a="[object Object]",o="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,u=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[i]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[r]=f["[object Number]"]=f[a]=f["[object RegExp]"]=f[o]=f["[object String]"]=f["[object WeakMap]"]=!1;var m="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y=e&&!e.nodeType&&e,_=y&&"object"==typeof n&&n&&!n.nodeType&&n,b=_&&_.exports===y&&m.process,w=function(){try{return b&&b.binding("util")}catch(t){}}(),x=w&&w.isTypedArray;function k(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function C(t,e){for(var n=-1,i=t?t.length:0,r=Array(i);++n-1},ht.prototype.set=function(t,e){var n=this.__data__,i=gt(n,t);return i<0?n.push([t,e]):n[i][1]=e,this},dt.prototype.clear=function(){this.__data__={hash:new ct,map:new(J||ht),string:new ct}},dt.prototype.delete=function(t){return Ot(this,t).delete(t)},dt.prototype.get=function(t){return Ot(this,t).get(t)},dt.prototype.has=function(t){return Ot(this,t).has(t)},dt.prototype.set=function(t,e){return Ot(this,t).set(t,e),this},pt.prototype.add=pt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},pt.prototype.has=function(t){return this.__data__.has(t)},ft.prototype.clear=function(){this.__data__=new ht},ft.prototype.delete=function(t){return this.__data__.delete(t)},ft.prototype.get=function(t){return this.__data__.get(t)},ft.prototype.has=function(t){return this.__data__.has(t)},ft.prototype.set=function(t,e){var n=this.__data__;if(n instanceof ht){var i=n.__data__;if(!J||i.length<199)return i.push([t,e]),this;n=this.__data__=new dt(i)}return n.set(t,e),this};var vt,yt,_t=(vt=function(t,e){return t&&bt(t,e,ee)},function(t,e){if(null==t)return t;if(!Yt(t))return vt(t,e);for(var n=t.length,i=yt?n:-1,r=Object(t);(yt?i--:++i=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Pt(t){return Wt(t)?t:Bt(t)}function Lt(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=Qt(t),o=void 0!==e,s=null===e,l=e==e,u=Qt(e);if(!s&&!u&&!a&&t>e||a&&o&&l&&!s&&!u||i&&o&&l||!n&&l||!r)return 1;if(!i&&!a&&!u&&ts))return!1;var u=a.get(t);if(u&&a.get(e))return u==e;var c=-1,h=!0,d=1&r?new pt:void 0;for(a.set(t,e),a.set(e,t);++c-1&&t%1==0&&t1&&Dt(t,e[0],e[1])?e=[]:n>2&&Dt(e[0],e[1],e[2])&&(e=[e[0]]),St(t,function t(e,n,i,r,a){var o=-1,s=e.length;for(i||(i=zt),a||(a=[]);++o0&&i(l)?n>1?t(l,n-1,i,r,a):T(a,l):r||(a[a.length]=l)}return a}(e,1),[])}));function Gt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o),o};return n.cache=new(Gt.Cache||dt),n}function Vt(t,e){return t===e||t!=t&&e!=e}function Ht(t){return function(t){return Kt(t)&&Yt(t)}(t)&&B.call(t,"callee")&&(!V.call(t,"callee")||U.call(t)==i)}Gt.Cache=dt;var Wt=Array.isArray;function Yt(t){return null!=t&&Xt(t.length)&&!Zt(t)}function Zt(t){var e=Jt(t)?U.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function Xt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Jt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Kt(t){return!!t&&"object"==typeof t}function Qt(t){return"symbol"==typeof t||Kt(t)&&"[object Symbol]"==U.call(t)}var te=x?S(x):function(t){return Kt(t)&&Xt(t.length)&&!!f[U.call(t)]};function ee(t){return Yt(t)?mt(t):Et(t)}function ne(t){return t}n.exports=$t}).call(this,n("yLpj"),n("YuTi")(t))},mzd9:function(t,e,n){var i=n("QhcE");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},n2md:function(t,e,n){"use strict";var i=n("o0o1"),r=n.n(i),a=n("vne5"),o=n("/yRl"),s=n("Whpc"),l=n("URHZ"),u=(n("xMlF"),n("gaDp")),c=n("ZoWG"),h=n("5n2/"),d=n.n(h);function p(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function f(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n100?this.$store.commit("setCustomTagsError",this.$i18n.t("tags.custom-tags-max")):(this.addCustomTag(t),this.$nextTick((function(){this.onFocusCustomTags()})))},submit:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,n="",n=e.annotations?e.isVerifying?"VERIFY_BOXES":"ADD_BOXES_TO_IMAGE":"ADD_TAGS_TO_IMAGE",t.next=5,e.$store.dispatch(n);case 5:e.processing=!1;case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){p(a,i,r,o,s,"next",t)}function s(t){p(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},destroyed:function(){window.removeEventListener("keydown",this.listenForArrowKeys),window.removeEventListener("keydown",this.listenForSearchFocusEvent),window.removeEventListener("keydown",this.listenForSubmitEvent)}},v=(n("+iHb"),n("KHd+")),y=Object(v.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"flex flex-column-mobile"},[n("div",{staticClass:"is-flex-grow-3 search-container"},[n("div",{staticClass:"select is-fullwidth"},[n("vue-simple-suggest",{ref:"search",attrs:{"display-attribute":"title","value-attribute":"key","filter-by-query":!0,list:t.allTags,"min-length":1,"max-suggestions":0,mode:"input",styles:t.autoCompleteStyle,placeholder:t.$t("tags.search-all-tags"),controls:{autocomplete:[32]}},on:{focus:t.onFocusSearch,select:t.search}})],1)]),t._v(" "),t.showCustomTags?n("div",{staticClass:"is-flex-grow-1"},[n("input",{ref:"customTagsInput",staticClass:"input is-fullwidth",class:t.customTagsError?"is-danger":"",attrs:{type:"text",min:"3",max:"100",placeholder:t.$t("tags.search-custom-tags")},on:{focus:t.onFocusCustomTags,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.searchCustomTag(e)}}}),t._v(" "),t.customTagsError?n("p",{staticClass:"help has-text-left"},[t._v(t._s(t.customTagsError))]):t._e()]):t._e()]),t._v(" "),n("div",{staticClass:"control has-text-centered mt-4"},[n("div",{staticClass:"select"},[n("vue-simple-suggest",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideCategory,expression:"clickOutsideCategory"}],ref:"categories",attrs:{"display-attribute":"title","value-attribute":"key","filter-by-query":!0,list:t.categories,"min-length":0,"max-suggestions":0,mode:"select",styles:t.autoCompleteStyle},on:{"suggestion-click":function(e){return t.onSuggestion()},focus:function(e){return t.onFocusCategories()}},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}})],1),t._v(" "),n("div",{staticClass:"select"},[n("vue-simple-suggest",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideTag,expression:"clickOutsideTag"}],ref:"tags",attrs:{"display-attribute":"title","value-attribute":"key","filter-by-query":!0,list:t.tags,"min-length":0,"max-suggestions":0,mode:"select",styles:t.autoCompleteStyle},on:{"suggestion-click":function(e){return t.onSuggestion()},focus:function(e){return t.onFocusTags()}},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}})],1),t._v(" "),n("div",{staticClass:"select",attrs:{id:"int"}},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.quantity,expression:"quantity"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.quantity=e.target.multiple?n:n[0]}}},t._l(t.integers,(function(e){return n("option",[t._v(t._s(e))])})),0)]),t._v(" "),n("br"),n("br"),t._v(" "),n("div",[n("button",{staticClass:"button is-medium is-danger",attrs:{disabled:t.checkDecr},on:{click:t.decr}},[t._v("-")]),t._v(" "),n("button",{staticClass:"button is-medium is-info",on:{click:t.addTag}},[t._v(t._s(t.$t("tags.add-tag")))]),t._v(" "),n("button",{staticClass:"button is-medium is-dark",attrs:{disabled:t.checkIncr},on:{click:t.incr}},[t._v("+")])]),t._v(" "),n("br"),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.admin&&0!==this.id,expression:"! admin && this.id !== 0"}],class:t.button,attrs:{disabled:!t.hasAddedTags,type:"submit"},on:{click:function(e){return e.preventDefault(),t.submit(e)}}},[n("span",{staticClass:"tooltip-text is-size-6"},[t._v("Ctrl (⌘) + Enter")]),t._v("\n "+t._s(t.$t("common.submit"))+"\n ")]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:0!==this.id,expression:"this.id !== 0"}],staticClass:"show-mobile"},[n("br"),t._v(" "),n("tags",{attrs:{"photo-id":t.id}}),t._v(" "),n("div",{staticClass:"box custom-buttons"},[n("profile-delete",{attrs:{photoid:t.id}}),t._v(" "),n("presence",{attrs:{itemsr:!0}})],1)],1)])])}),[],!1,null,"6f714926",null);e.a=y.exports},nAEM:function(t){t.exports=JSON.parse('{"what-about-litter":"En zwerfafval dan?","about2":"Op dit moment lekken miljoenen, met plastic gevulde, sigarettenfilters gif in de grond.","about3":"Het resultaat?","about4":"Ongelovelijke hoeveelheden nicotine en andere giftige chemicaliën komen vrij.","about5":"Deze giftige chemicaliën hopen zich op in verschillende planten en dieren. Sommige hiervan eten we.","about6":"Een milieuramp ligt op de loer.","about7":"Jij kunt helpen deze te voorkomen door bij te dragen aan OpenLitterMap","about8":"Neem een foto, geef het een label en upload hem.","about9":"Ik wil helpen!","about9a":"Neem een foto","about9b":"Geef het een label","about9c":"Upload hem","about10":"Elk jaar vinden miljoenen tonnen plastic hun weg van land naar zee.","about11":"Waar het aanzienlijk schadelijker, moeilijker en duurder wordt om te verwijderen.","about12":"De illusie van \\"stadsreiniging\\"","about13":"wordt mogelijk gemaakt door infrastructureel ontwerp","about14":"OpenLitterMap data is","about14a":"Open Data","about14b":"Dit betekent dat iedereen de data gratis kan downloaden en kan gebruiken voor elk doel, zonder toestemming te hoeven vragen.","about15":"Open data is essentieel om transparantie, democratie en verantwoordingsplicht over vervuiling aan de wetenschap te brengen. Wie mag anders de data gebruiken?","about16":"OpenLitterMap geeft jou de middelen om een burgerweterschapper te worden","about17":"Je bent nu in staat om bij te dragen aan de productie van geospatiale kennis over onze wereld. Hiermee kan het publieke en institutionele gedrag gewijzigd worden.","about17a":"Onze gegevens worden in kaart gebracht door ruimte, tijd, locatie en gedrag","about17b":"Bekijk dit ongelooflijke stuk Gratis en Open data over de vervuiling die wordt veroorzaakt door de producten van een handvol wereldwijde bedrijven","about17c":"Wil je de data downloaden??","about18":"De productie van geospatiale kennis was ooit voorbehouden aan grote instituten en machthebbers.","about19":"Als Burger Wetenschapper, ","about20":"kan jij kennis creëren. ","about21":"Dit is een verschuiving in de manier waarop geografische informatie over onze wereld wordt gemaakt.","about22":"Hoe je kunt helpen:","about23":"Meld je vandaag nog aan!","about24":"Zet locatiegegevens aan in je telefoon. Uitleg hoe je dat doet, staat in de mail die je ontvangt als je je aanmeldt.","about25":"Je kunt alles in kaart brengen, van iets kleins als een sigarettenpeuk tot de inhoud van een heel strand of straat in 1 foto","about26":"Als er teveel afval ligt en het is niet te berekenen, dan kan je kiezen voor de categorie \'Dumping\' en geef een score van 1-100 of kies bijvoorbeeld \\"Willekeurig afval\\" in de \\"Anders\\" categorie","about27":"Als je veelzeggende plattegronden wilt maken, maak dan zoveel mogelijk foto\'s. Of, als je niet zoveel tijd hebt, maak dan 1 foto en label zoveel mogelijk items daarin.","about28":"Gecontroleerde foto\'s worden automatisch toegevoegd aan de database, voorzien van aantallen en locaties en worden beschikbaar gesteld aan iedereen om te kunnen gebruiken!","about29":"Help ons om de problemen én oplossingen te communiceren zodat we kunnen voorkomen dat plastic de oceaan bereikt.","about29a":"Als je ons werk waardeert en ons zou willen steunen, sluit je dan ook aan bij onze fondsenwervingscampagne","about30":"Sluit je aan bij Open Litter Map om een wereld te creëren met minder van","about301":"dit","about302":"en dit...","about31":"Er wordt geschat, dat alleen al in 2010, 8 miljard kilo plastic in de zee is beland. Dat is gemiddeld 916.000 kilo per uur.","about32":"Een voorbeeld van wat er in de oceanen drijft","about33":"Plastic vervuiling is op dit moment verantwoordelijk voor de dood van ongeveer 1 miljoen vogels en 100.000 zeedieren per jaar","about34":"Als de huidige trend zich voortzet, wordt verwacht dat in het jaar 2025, 70 miljard kilo plastic in de oceaan verdwijnt","about35":"Ik wil helpen!"}')},nHKW:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("2524"),o={computed:{errors:function(){return this.$store.state.errors.errorsObject},errorsExist:function(){return this.errors&&Object.keys(this.errors).length>0}},methods:{clearError:function(t){this.errors&&this.errors[t]&&this.$store.commit("clearError",t)},errorExists:function(t){return!!this.errors&&this.errors.hasOwnProperty(t)},getFirstError:function(t){return this.errors[t][0]}}};function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var l={name:"CreateCleanup",mixins:[o],data:function(){return{name:"",description:"",time:"",date:"",invite_link:"",processing:!1}},computed:{cleanup:function(){return this.$store.state.cleanups},getInviteLink:function(){var t="https://openlittermap.com/cleanups/";return""===this.invite_link?t:t+this.invite_link+"/join"}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("CREATE_CLEANUP_EVENT",{name:e.name,date:e.date,lat:e.cleanup.lat,lon:e.cleanup.lon,time:e.time,description:e.description,invite_link:e.invite_link});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))})()}}},u=n("KHd+"),c=Object(u.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cleanup-container"},[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Name")]),t._v(" "),t.errorExists("name")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input mb1",class:t.errorExists("name")?"is-danger":"",attrs:{name:"name",placeholder:"My Awesome Cleanup",required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Date")]),t._v(" "),t.errorExists("date")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("date"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.date,expression:"date"}],staticClass:"input mb1",class:t.errorExists("date")?"is-danger":"",attrs:{name:"date",type:"date"},domProps:{value:t.date},on:{input:function(e){e.target.composing||(t.date=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Location:")]),t._v(" "),t.errorExists("lat")||t.errorExists("lon")?n("div",[n("p",{staticClass:"help is-danger"},[t._v("\n You have not set a location.\n ")])]):t._e()]),t._v(" "),n("div",{staticClass:"mb1"},[t.cleanup.lat?n("div",[n("p",[t._v("\n Lat: "+t._s(t.cleanup.lat)+"\n ")]),t._v(" "),n("p",[t._v("\n Lon: "+t._s(t.cleanup.lon)+"\n ")])]):n("p",[t._v("\n Click anywhere on the map to set the location\n ")])]),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Time")]),t._v(" "),t.errorExists("time")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("time"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.time,expression:"time"}],staticClass:"input mb1",class:t.errorExists("time")?"is-danger":"",attrs:{name:"time",placeholder:"Enter time",required:""},domProps:{value:t.time},on:{input:function(e){e.target.composing||(t.time=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Description")]),t._v(" "),t.errorExists("description")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("description"))}}):t._e()]),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"input mb1",class:t.errorExists("description")?"is-danger":"",staticStyle:{height:"2.65em"},attrs:{name:"description",placeholder:"Enter information about your event",required:""},domProps:{value:t.description},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("\n Create an invite link\n ")]),t._v(" "),t.errorExists("invite_link")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("invite_link"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.invite_link,expression:"invite_link"}],staticClass:"input mb-05",class:t.errorExists("invite_link")?"is-danger":"",attrs:{name:"invite_link",placeholder:"openlittermap.com/cleanups/my-cleanup-event"},domProps:{value:t.invite_link},on:{input:function(e){e.target.composing||(t.invite_link=e.target.value)}}}),t._v(" "),n("p",{staticClass:"is-grey mb2"},[t._v("\n "+t._s(t.getInviteLink)+"\n ")]),t._v(" "),n("div",{staticClass:"flex"},[n("button",{staticClass:"button is-info is-medium",class:t.processing?"is-loading":"",attrs:{disabled:t.processing,type:"submit"}},[t._v("\n Let's Cleanup!\n ")])])])])}),[],!1,null,"7e59e074",null).exports;function h(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var d={name:"JoinCleanup",data:function(){return{invite_link:"",processing:!1}},mixins:[o],methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("JOIN_CLEANUP",{link:e.invite_link});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){h(a,i,r,o,s,"next",t)}function s(t){h(a,i,r,o,s,"throw",t)}o(void 0)}))})()}}},p=Object(u.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"has-text-left"},[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("div",{staticClass:"flex"},[n("p",{staticClass:"flex-1"},[t._v("Join a cleanup")]),t._v(" "),t.errorExists("invite_link")?n("p",{staticClass:"help is-danger",domProps:{textContent:t._s(t.getFirstError("invite_link"))}}):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.invite_link,expression:"invite_link"}],staticClass:"input",class:t.errorExists("invite_link")?"is-danger":"",attrs:{name:"invite_link",required:"",placeholder:"Enter invitation code to join a cleanup"},domProps:{value:t.invite_link},on:{input:function(e){e.target.composing||(t.invite_link=e.target.value)}}}),t._v(" "),n("div",{staticClass:"flex mt1 jc"},[n("button",{staticClass:"button is-info is-medium",class:t.processing?"is-loading":"",attrs:{disabled:t.processing,type:"submit"}},[t._v("\n Join Cleanup!\n ")])])])])}),[],!1,null,"d8a28724",null).exports,f={name:"CleanupSidebar",components:{CreateCleanup:c,JoinCleanup:p},props:["creatingCleanup","joiningCleanup"],data:function(){return{processing:!1}},computed:{auth:function(){return this.$store.state.user.auth},getCreateCleanupImg:function(){return"https://img.freepik.com/free-vector/volunteers-cleaning-up-garbage-city-park_74855-17942.jpg?w=1380&t=st=1659282438~exp=1659283038~hmac=b3c1ecc87fa677a97391b1f182f0e8674f32684d632f8d5df366bfe8204ee62e"},getTitle:function(){return this.$store.state.globalmap.creating?"Create a new cleanup event!":"Help us clean the planet!"}},methods:{goBack:function(){this.$store.commit("clearErrors"),this.$store.commit("creatingCleanup",!1),this.$store.commit("joiningCleanup",!1)},startCreatingCleanup:function(){this.$store.commit("creatingCleanup",!0)},startJoiningCleanup:function(){this.$store.commit("joiningCleanup",!0)}}},m=(n("tzsb"),Object(u.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"pt3 pb3 flex",staticStyle:{"align-items":"center"}},[t.joiningCleanup||t.creatingCleanup?n("i",{staticClass:"fa fa-arrow-left pointer",on:{click:t.goBack}}):t._e(),t._v(" "),n("p",{staticClass:"title is-3 flex-1"},[t._v("\n "+t._s(t.getTitle)+"\n ")])]),t._v(" "),n("div",{staticClass:"cleanup-buttons"},[t.creatingCleanup||t.joiningCleanup?t._e():n("div",[n("img",{staticClass:"pb1",attrs:{src:t.getCreateCleanupImg}}),t._v(" "),t.auth?n("div",[n("button",{staticClass:"button is-medium is-info mb1",on:{click:t.startCreatingCleanup}},[t._v("\n Create a cleanup\n ")]),t._v(" "),n("button",{staticClass:"button is-medium is-primary mb1",on:{click:t.startJoiningCleanup}},[t._v("\n Join a cleanup\n ")])]):n("p",{staticClass:"mb1"},[t._v("\n Log In to Create or Join a Cleanup\n ")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("\n Cleanups are a great way to bring people together, quantify, and communicate your positive environmental impact.\n ")]),t._v(" "),n("p",[t._v("\n Clean up, have fun and share data!\n ")])]),t._v(" "),t.creatingCleanup?n("CreateCleanup"):t._e(),t._v(" "),t.joiningCleanup?n("JoinCleanup"):t._e()],1)])}),[],!1,null,"cc82b81c",null).exports);function g(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var v={name:"Cleanups",components:{Supercluster:a.a,CleanupSidebar:m},data:function(){return{loading:!1}},created:function(){var t,e=this;return(t=r.a.mark((function t(){var n;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_CLEANUPS");case 3:if(!(n=e.$route).params.hasOwnProperty("invite_link")){t.next=7;break}return t.next=7,e.$store.dispatch("JOIN_CLEANUP",{link:n.params.invite_link});case 7:e.loading=!1;case 8:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){g(a,i,r,o,s,"next",t)}function s(t){g(a,i,r,o,s,"throw",t)}o(void 0)}))})()},computed:{creatingCleanup:function(){return this.$store.state.cleanups.creating},joiningCleanup:function(){return this.$store.state.cleanups.joining}}},y=(n("dOUv"),Object(u.a)(v,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"cleanups-container"},[e("CleanupSidebar",{staticClass:"cleanup-sidebar",class:this.creatingCleanup?"find-location":"",attrs:{creatingCleanup:this.creatingCleanup,joiningCleanup:this.joiningCleanup}}),this._v(" "),e("div",{staticClass:"cleanup-map",class:this.creatingCleanup?"find-location":""},[this.loading?e("div"):e("Supercluster",{attrs:{activeLayer:"cleanups"}})],1)],1)}),[],!1,null,"4ac26321",null));e.default=y.exports},nMp1:function(t){t.exports=JSON.parse('{"do-you-pickup":"¿Recoges la basura o la dejas ahí?","save-def-settings":"Aquí puedes guardar tu configuración por defecto.","change-value-of-litter":"También puedes cambiar el valor de cada artículo de basura a medida que los etiquetas.","status":"Estado Actual","toggle-presence":"Alternar presencia","pickup?":"¿Recoger?"}')},nP8I:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.fs125 {\n\tfont-size: 1.25em;\n}\n",""])},nSSA:function(t){t.exports=JSON.parse('{"de":{"name":"Duitland","lang":"Duits"},"en":{"name":"Engeland","lang":"English"},"es":{"name":"Spanje","lang":"Español"},"fr":{"name":"Frankrijk","lang":"Frans"},"hu":{"name":"Magyar","lang":"Hungarian"},"ie":{"name":"Ierland","lang":"Iers"},"it":{"name":"Italië","lang":"Italiaans"},"ms":{"name":"Maleisië","lang":"Maleis"},"nl":{"name":"Nederland","lang":"Nederlands"},"sw":{"name":"Tanzania","lang":"Swahili"},"tk":{"name":"Turkije","lang":"Turks"},"uk":{"name":"Engeland","lang":"English"},"pl":{"name":"Poland","lang":"Polski"},"pt":{"name":"Brasil","lang":"Portuguese"}}')},nVW1:function(t){t.exports=JSON.parse('{"ready-to-join":"Pronto para se juntar à revolução geoespacial?","join-subtitle":"Se você gosta do nosso trabalho, OpenLitterMap pode fazer muito com a sua ajuda.","free-plan":"GRÁTIS","free-plan-feature1":"Faça upload de 1000 imagens por dia.","free-plan-feature2":"Desbloquear emblemas + recompensas.","free-plan-feature3":"Ganhe Littercoin.","free-plan-feature4":"Competir em várias tabelas de classificação diferentes.","free-plan-join":"Estou dentro! ","startup-plan":"STARTUP","startup-plan-donation":"€5 por mês","startup-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","startup-plan-feature2":"Ajude-nos a cobrir nossos custos.","startup-plan-feature3":"Sente-se e aproveite as atualizações.","startup-plan-join":"Quero ajudar!","basic-plan":"BÁSICO","basic-plan-donation":"€9.99 por mês","basic-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","basic-plan-feature2":"Ajude-nos a cobrir nossos custos.","basic-plan-feature3":"Sente-se e aproveite as atualizações.","basic-plan-join":"Quero ajudar!","advanced-plan":"AVANÇADO","advanced-plan-donation":"€20 por mês","advanced-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","advanced-plan-feature2":"Ajude-nos a cobrir nossos custos.","advanced-plan-feature3":"Sente-se e aproveite as atualizações.","advanced-plan-join":"Quero ajudar!","pro-plan":"PRO","pro-plan-donation":"€30 por mês","pro-plan-feature1":"Financiar o desenvolvimento de OpenLitterMap.","pro-plan-feature2":"Ajude-nos a cobrir nossos custos.","pro-plan-feature3":"Sente-se e aproveite as atualizações.","pro-plan-join":"Este é um assunto sério!."}')},nYYR:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".-mt-2[data-v-3c640beb] {\n margin-top: -2px;\n}",""])},ng3h:function(t){t.exports=JSON.parse('{"login-btn":"Login","signup-text":"Inscreva-se","forgot-password":"Esqueceu sua senha?"}')},nvJ6:function(t,e,n){"use strict";var i=n("dvjZ");n.n(i).a},o0o1:function(t,e,n){t.exports=n("ls82")},o4Q4:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.dash-time[data-v-5003807a] {\n width: 25%;\n}\n.mobile-teams-select[data-v-5003807a] {\n display: flex;\n justify-content: center;\n}\n.tdc[data-v-5003807a] {\n padding-left: 2em;\n padding-right: 2em;\n}\n.teams-card[data-v-5003807a] {\n background: white;\n text-align: center;\n margin: 1em;\n padding: 5em;\n}\n.teams-dashboard-subtitle[data-v-5003807a] {\n margin-bottom: 1em;\n}\n@media screen and (max-width: 768px)\n{\n.dash-time[data-v-5003807a] {\n width: 100%;\n margin-bottom: 1em;\n}\n.mobile-teams-select[data-v-5003807a] {\n display: block;\n justify-content: center;\n}\n.teams-card[data-v-5003807a] {\n padding: 3em;\n}\n.teams-dashboard-subtitle[data-v-5003807a] {\n margin-bottom: 2em;\n}\n}\n\n\n",""])},o4on:function(t){t.exports=JSON.parse('{"title":"Moje drużyny","currently-joined-team":"Jesteś obecnie członkiem drużyny","currently-not-joined-team":"Nie jesteś obecnie członkiem drużyny","no-joined-team":"Nie dołączyłeś jeszcze do drużyny","leader-of-team":"Jesteś liderem tej drużyny","enabled-contributions":"Wszystkie Twoje wkłady będą się liczyły tylko do tego drużyny.","disabled-contributions":"Nie wybrałeś jeszcze aktywnego zespołu.
      Oznacza to, że w tej chwili nie współpracujesz z żadnym zespołem.
      Możesz wybrać swoją aktywną drużynę, klikając ikony gwiazdek na dolnej liście.","disable-contributions-tooltip":"Od teraz wyłącza to Twój wkład zespołowy. Nadal będziesz członkiem swoich zespołów i w każdej chwili będziesz mógł włączać wkłady.","team-details":"Szczegóły Drużyny","all-my-teams":"Wszystkie Moje Drużyny","this-is-active-team":"To jest Twój aktywny drużyny","set-as-active-team":"Ustaw jako aktywny drużyny","team-identifier":"Identyfikator Drużyny","join-team":"Dołącz do drużyny","leave-team":"Opuść zespół","just-left-team":"Właśnie opuściłeś drużynę","cant-leave-team":"Nie możesz opuścić tego drużyny, ponieważ jesteś jedynym członkiem","change-active-team":"Zmień aktywną drużynę","download-team-data":"Pobierz dane drużyny","hide-from-leaderboards":"Ukryj w rankingach","show-on-leaderboards":"Pokaż w rankingach","position-header":"Pozycja","name-header":"Nazwa","username-header":"Nazwa Użytkownika","status-header":"Status","photos-header":"Zdjęcia","litter-header":"Odpady","identifier-header":"Identyfikator","members-header":"Członkowie","last-activity-header":"Ostatnia aktywność","confirm-leave-team":"Jesteś pewny?\\nZawsze możesz ponownie dołączyć, a Twój wkład zostanie zapisany."}')},oBKJ:function(t,e,n){"use strict";var i=n("ePQW");n.n(i).a},oDVm:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".drop-title[data-v-8b339ba0] {\n text-align: center;\n}\n.upload-section[data-v-8b339ba0] {\n padding: 5rem;\n}\n.upload-section .fa-arrow-right[data-v-8b339ba0] {\n margin-left: 10px;\n}\n#customdropzone[data-v-8b339ba0] {\n border: 2px #80d8f2 dashed;\n border-radius: 10px;\n margin-bottom: 1rem;\n}\n@media (min-width: 992px) {\n#customdropzone[data-v-8b339ba0] {\n margin-left: 4rem;\n margin-right: 4rem;\n}\n}\n@media (max-width: 575.98px) {\n.drop-title[data-v-8b339ba0] {\n font-size: 2.5rem;\n}\n.upload-section[data-v-8b339ba0] {\n padding: 2rem;\n}\n}\n.upload-icon[data-v-8b339ba0] {\n font-size: 60px;\n}\n.upload-icon[data-v-8b339ba0]:hover {\n transform: translate(0px, -5px);\n transition-duration: 0.3s;\n}\n.wrapper[data-v-8b339ba0] {\n margin: 0 4rem 2rem 4rem;\n}\n.progress-bar[data-v-8b339ba0] {\n width: 100%;\n background-color: #ffffff;\n border-radius: 2px;\n}\n.progress-bar-fill[data-v-8b339ba0] {\n display: block;\n height: 4px;\n border-radius: 2px;\n transition: width 500ms ease-in-out;\n}",""])},oFPX:function(t){t.exports=JSON.parse('{"success":"Todo correcto","error":"¡Error!","settings-updated":"¡Configuración actualizada con éxito!","tags-added":"¡Éxito! Tus etiquetas han sido añadidas","subscription-cancelled":"Tu suscripción ha sido cancelada","privacy-updated":"Se ha guardado tu configuración de privacidad","litter-toggled":"Valor sobre recogida de basura actualizado","settings":{"subscribed":"¡Te has suscrito a las actualizaciones y buenas noticias!","unsubscribed":"Te has dado de baja. ¡Ya no recibirás las buenas noticias!","flag-updated":"Tu bandera ha sido actualizada"},"something-went-wrong":"Algo salió mal. ¡Inténtelo de nuevo o contáctenos!"}')},oNMY:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".section-slack[data-v-154518d3] {\n background-color: #4A154B;\n}\n.section-slack .hero-body[data-v-154518d3] {\n margin: 0 auto;\n}\n.section-slack a[data-v-154518d3] {\n color: whitesmoke;\n text-decoration: underline;\n}\n.section-slack .slack[data-v-154518d3] {\n max-width: 1000px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.section-slack .slack .image-wrapper img[data-v-154518d3] {\n width: 4rem;\n height: 4rem;\n margin: 0 auto 1rem;\n}\n.section-slack .slack a[data-v-154518d3]:hover {\n color: #06f1f6;\n}\n.section-slack .screenshot[data-v-154518d3] {\n position: relative;\n margin: 1rem auto;\n overflow: hidden;\n max-width: 700px;\n}\n.section-slack .screenshot img[data-v-154518d3] {\n border-radius: 0.5rem;\n}\n.section-slack .screenshot a[data-v-154518d3] {\n display: flex;\n justify-content: center;\n align-items: center;\n text-decoration: none;\n font-size: 0.5rem;\n}\n.section-slack .screenshot a i[data-v-154518d3]:hover {\n color: whitesmoke;\n transform: scale(1.05);\n}\n@media screen and (min-width: 1024px) {\n.section-slack .slack[data-v-154518d3] {\n flex-direction: row;\n}\n.section-slack .slack .image-wrapper[data-v-154518d3] {\n flex-shrink: 0;\n margin-right: 1rem;\n}\n.section-slack .slack .image-wrapper img[data-v-154518d3] {\n margin: 0 auto;\n}\n.section-slack .screenshot[data-v-154518d3] {\n margin: 2rem auto;\n overflow: hidden;\n max-width: 700px;\n}\n.section-slack .screenshot img[data-v-154518d3] {\n border-radius: 0.5rem;\n}\n.section-slack .screenshot a[data-v-154518d3] {\n font-size: 1rem;\n}\n}",""])},oQsM:function(t){t.exports=JSON.parse('{"email-you":"Ungependa tukutumie barua pepe mara kwa mara na habari njema","subscribe":"Jisajili","subscribed-success-msg":"Umejiandikisha kupokea habari njema! Unaweza kujiondoa wakati wowote","need-your-help":"Tunahitaji usaidizi wako ili kuunda hifadhidata ya juu zaidi na inayoweza kufikiwa duniani kuhusu uchafuzi wa mazingira","read":"SOMA","blog":"Blog","research-paper":"Nyaraka za tafiti","watch":"ANGALIA","help":"MSAADA","join-the-team":"Jiunge na timu","join-slack":"Jiunge Slack","create-account":"Tengeneza akaunti","fb-group":"Kundi la Facebook","single-donation":"Msaada mmoja","crowdfunding":"Mchango wa kundi","olm-is-flagship":"OpenLitterMap ni bidhaa kuu ya GeoTech Innovations Ltd., iliyoanzishwa nchini Ireland ikianzisha huduma muhimu za sayansi za raia. #650323","enter-email":"Ingiza burua pepe yako","references":"Marejeleo","credits":"Pongezi","contact-us":"Wasiliana nasi"}')},oR4i:function(t){t.exports=JSON.parse('{"card-number":"Namba ya kadi","card-holder":"Jina la mmiliki wa kadi","exp":"Tarehe ya kumalizika muda wake","cvv":"CVV","placeholders":{"card-number":"Nambari ya kadi yako yenye tarakimu 16","card-holder":"Jina la mmiliki wa kadi","exp-month":"Mwezi","exp-year":"Mwaka","cvv":"***"}}')},oUSK:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.is-box[data-v-4bd574db] {\n border: 1px solid #ccc;\n padding: 1em;\n margin-bottom: 1em;\n max-width: 20em;\n position: relative;\n}\n.is-box.is-active[data-v-4bd574db] {\n border: 1px solid green;\n}\n.box-label[data-v-4bd574db] {\n margin-bottom: 0.25em;\n}\n.box-categories[data-v-4bd574db] {\n display: grid;\n}\n.duplicate-box[data-v-4bd574db] {\n position: absolute;\n right: 1em;\n}\n.toggle-box[data-v-4bd574db] {\n position: absolute;\n top: 7em;\n right: 1em;\n}\n.rotate-box[data-v-4bd574db] {\n position: absolute;\n top: 10em;\n right: 1em;\n}\n",""])},oVpI:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),n("RQXY")),l={name:"ProgressBar",props:["currentxp","xpneeded","startingxp"],computed:{currentValue:function(){var t=this.xpneeded-this.startingxp;return 100*(this.currentxp-this.startingxp)/t}}},u=n("KHd+"),c={name:"Progress",props:["loading"],components:{ProgressBar:Object(u.a)(l,(function(){var t=this.$createElement;return(this._self._c||t)("progress",{staticClass:"progress is-large is-success",attrs:{max:100},domProps:{value:this.currentValue}})}),[],!1,null,null,null).exports},methods:{commas:function(t){return parseInt(t).toLocaleString()}},computed:{littercoin:function(){return this.$store.state.locations.littercoin},previousXp:function(){return this.$store.state.locations.level.previousXp},nextXp:function(){return this.$store.state.locations.level.nextXp},total_litter:function(){return this.$store.state.locations.total_litter},previous_littercoin:function(){var t=0;return this.$localStorage.get("littercoin_owed")&&(t=this.$localStorage.get("littercoin_owed")),this.$localStorage.set("littercoin_owed",this.littercoin),t},previous_total_litter:function(){var t=0;return this.$localStorage.get("total_litter")&&(t=this.$localStorage.get("total_litter")),this.$localStorage.set("total_litter",this.total_litter),t},previous_total_photos:function(){var t=0;return this.$localStorage.get("total_photos")&&(t=this.$localStorage.get("total_photos")),this.$localStorage.set("total_photos",this.total_photos),t},progress:function(){var t=this.nextXp-this.previousXp;return(100*(this.total_litter-this.previousXp)/t).toFixed(2)},total_photos:function(){return this.$store.state.locations.total_photos}}},h=(n("cIXG"),Object(u.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container mt2 progress-bar"},[n("div",[n("div",{staticClass:"flex mb1"},[n("h4",{staticClass:"flex-1 has-text-white"},[t._v("\n "+t._s(t.$t("location.previous-target"))+":\n "),n("br"),t._v(" "),n("strong",{staticClass:"has-text-white"},[t._v("\n "+t._s(t._f("commas")(this.previousXp))+" "+t._s(t.$t("location.litter"))+"\n ")])]),t._v(" "),n("h4",{staticClass:"has-text-white"},[t._v(t._s(t.$t("location.next-target"))+":\n "),n("br"),t._v(" "),n("strong",{staticClass:"has-text-white"},[t._v("\n "+t._s(t._f("commas")(this.nextXp))+" "+t._s(t.$t("location.litter"))+"\n ")])])]),t._v(" "),n("ProgressBar",{staticClass:"mb1em",attrs:{currentxp:t.total_litter,startingxp:t.previousXp,xpneeded:t.nextXp}}),t._v(" "),t.loading?n("p",{staticClass:"has-text-centered has-text-white mb2"},[t._v("...%")]):n("p",{staticClass:"has-text-centered has-text-white mb2"},[t._v(t._s(this.progress)+"%")])],1),t._v(" "),n("div",{staticClass:"stats"},[n("div",{staticClass:"stat"},[n("h1",{staticClass:"subtitle is-5 has-text-centered"},[n("strong",{staticClass:"has-text-black"},[t._v("\n "+t._s(t.$t("location.total-verified-litter"))+"\n ")])]),t._v(" "),n("h1",{staticClass:"title is-2 has-text-centered has-text-white"},[n("strong",[t.loading?n("span",[t._v("...")]):n("number",{attrs:{from:t.previous_total_litter,to:t.total_litter,duration:3,delay:1,easing:"Power1.easeOut",format:t.commas}})],1)])]),t._v(" "),n("div",{staticClass:"stat"},[n("h1",{staticClass:"subtitle is-5 has-text-centered"},[n("strong",{staticClass:"has-text-black"},[t._v("\n "+t._s(t.$t("location.total-verified-photos"))+"\n ")])]),t._v(" "),n("h1",{staticClass:"title is-2 has-text-centered has-text-white"},[n("strong",[t.loading?n("span",[t._v("...")]):n("number",{attrs:{from:t.previous_total_photos,to:t.total_photos,duration:3,delay:1,easing:"Power1.easeOut",format:t.commas}})],1)])]),t._v(" "),n("div",{staticClass:"stat"},[n("h1",{staticClass:"subtitle is-5 has-text-centered"},[n("strong",{staticClass:"has-text-black"},[t._v("\n "+t._s(t.$t("location.total-littercoin-issued"))+"\n ")])]),t._v(" "),n("h1",{staticClass:"title is-2 has-text-centered has-text-white"},[n("strong",[t.loading?n("span",[t._v("...")]):n("number",{attrs:{from:t.previous_littercoin,to:t.littercoin,duration:3,delay:1,easing:"Power1.easeOut",format:t.commas}})],1)])])])])}),[],!1,null,"0c6af5d8",null).exports),d={name:"GlobalMetaData",props:["loading"],components:{GlobalLeaders:s.a,Progress:h},channel:"main",echo:{ImageUploaded:function(t,e){t.isUserVerified&&e.$store.commit("incrementTotalPhotos")},ImageDeleted:function(t,e){t.isUserVerified&&e.$store.commit("decrementTotalPhotos")},TagsVerifiedByAdmin:function(t,e){e.$store.commit("incrementTotalLitter",t.total_litter_all_categories),t.isUserVerified||e.$store.commit("incrementTotalPhotos")}},computed:{leaders:function(){return this.$store.state.locations.globalLeaders}},methods:{openLeaderboard:function(t){this.$router.push({path:"/leaderboard"})}}},p=(n("5rnx"),Object(u.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"is-link hero is-bold"},[n("section",{staticClass:"wrapper is-link is-bold"},[n("div",{staticClass:"container"},[n("div",{staticClass:"leaderboard-heading",on:{click:t.openLeaderboard}},[n("h3",{staticClass:"title is-2 has-text-centered"},[t._v("\n "+t._s(t.$t("location.global-leaderboard"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-arrow-right"})]),t._v(" "),n("GlobalLeaders",{attrs:{leaders:t.leaders}})],1),t._v(" "),n("Progress",{attrs:{loading:t.loading}})],1)])}),[],!1,null,"39bc26de",null).exports),f=n("sTxc");function m(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var g={name:"Countries",components:{Loading:o.a,GlobalMetaData:p,SortLocations:f.a},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_COUNTRIES");case 3:e.loading=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){m(a,i,r,o,s,"next",t)}function s(t){m(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0}}},v=Object(u.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("loading",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}),t._v(" "),n("GlobalMetaData",{attrs:{loading:t.loading}}),t._v(" "),n("SortLocations",{attrs:{locationType:"country"}})],1)}),[],!1,null,null,null);e.default=v.exports},oYGC:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".close-login[data-v-660fe80c] {\n padding: 0.5em;\n cursor: pointer;\n}\n.my-class[data-v-660fe80c] {\n background-color: red;\n font-size: 20px;\n border: 2px solid black;\n}\n.modal-enter .modal-container[data-v-660fe80c],\n.modal-leave-active .modal-container[data-v-660fe80c] {\n transform: scale(1.1);\n}\n.modal-enter[data-v-660fe80c] {\n opacity: 0;\n}\n.modal-leave-active[data-v-660fe80c] {\n opacity: 0;\n}\n.modal-enter .modal-container[data-v-660fe80c],\n.modal-leave-active .modal-container[data-v-660fe80c] {\n transform: scale(1.1);\n}\n.inner-modal-container[data-v-660fe80c] {\n padding: 1em 2em;\n}\n.inner-login-container[data-v-660fe80c] {\n padding-top: 1em;\n}\n.modal-container[data-v-660fe80c] {\n background-color: #fff;\n border-radius: 10px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);\n display: inline-block;\n font-family: Helvetica, Arial, sans-serif;\n position: relative;\n margin: 30px auto;\n transition: all 0.3s ease;\n width: 585px;\n}\n@media (max-width: 700px) {\n.modal-container[data-v-660fe80c] {\n width: 80%;\n}\n}\n.modal-flex[data-v-660fe80c] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.modal-header[data-v-660fe80c] {\n margin-bottom: 1em;\n position: relative;\n text-align: center;\n}\n.modal-mask[data-v-660fe80c] {\n background-color: rgba(0, 0, 0, 0.5);\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n overflow-x: hidden;\n transition: opacity 0.3s ease;\n text-align: center;\n z-index: 1555;\n}\n.top-left[data-v-660fe80c] {\n position: absolute;\n left: 2em;\n}\n.top-right[data-v-660fe80c] {\n position: absolute;\n top: 0;\n right: 1em;\n padding: 0.3em;\n cursor: pointer;\n z-index: 9999;\n}\n.transparent-container[data-v-660fe80c] {\n background-color: transparent;\n border-radius: 10px;\n box-shadow: none;\n display: inline-block;\n font-family: Helvetica, Arial, sans-serif;\n padding: 2.5em 0;\n position: relative;\n margin: 30px auto;\n transition: all 0.3s ease;\n width: 585px;\n}\n@media (max-width: 700px) {\n.transparent-container[data-v-660fe80c] {\n width: 80%;\n}\n}\n.info-title[data-v-660fe80c] {\n color: #459ef5;\n cursor: pointer;\n margin-top: 1.75em;\n}\n@media only screen and (max-width: 600px) {\n.mobile-only[data-v-660fe80c] {\n padding-bottom: 0px;\n}\n.inner-modal-container[data-v-660fe80c] {\n padding: 1em;\n}\n.transparent-container[data-v-660fe80c] {\n padding: 15em 0 0 0;\n width: 100%;\n}\n}",""])},oalr:function(t){t.exports=JSON.parse('{"maps1":"Nyílt adatokat hozunk létre a műanyagszennyezésről","maps2":"Az adatokat bárki letöltheti és felhasználhatja.","maps3":"Lásd a Globális térképet","global-leaderboard":"Globális ranglista","position":"Pozíció","name":"Név","xp":"XP","social":"Social","previous-target":"Előző cél","next-target":"Következő cél","litter":"Szemét","total-verified-litter":"Összes szemét","total-verified-photos":"Összes fénykép","total-littercoin-issued":"Összes Littercoin","number-of-contributors":"Közreműködők száma","avg-img-per-person":"Átlagos kép személyenként","avg-litter-per-person":"Átlagos szemét személyenként","leaderboard":"Ranglista","time-series":"Idősorok","options":"Beállítások","most-data":"A legtöbb szemétcímkék","most-data-person":"A legtöbb szemétcímke személyenként","download-open-verified-data":"Ingyenes és nyílt, ellenőrzött polgári tudomány adatok a műanyagszennyezésről.","stop-plastic-ocean":"Állítsuk meg a műanyag óceánba kerülését.","enter-email-sent-data":"Kérjük, adjon meg egy e-mail címet, amelyre az adatokat el tudjuk küldeni:"}')},"p+ct":function(t){t.exports=JSON.parse('{"click-to-upload":"Haz clic para subir tus fotos o arrastra y sueltas aquí","thank-you":"¡Gracias!","need-tag-litter":"A continuación, hay que etiquetar la basura","tag-litter":"Etiquetar basura"}')},"p+sy":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"ContactUs",components:{VueRecaptcha:n("4JY7").a},data:function(){return{name:"",email:"",subject:"",message:"",g_recaptcha_response:"",processing:!1}},computed:{errors:function(){return this.$store.state.user.errors},computedKey:function(){return"6LcvHsIZAAAAAOG0q9-1vY3uWqu0iFvUC3tCNhID"}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SEND_EMAIL_TO_US",{name:e.name,email:e.email,subject:e.subject,message:e.message,"g-recaptcha-response":e.g_recaptcha_response});case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()},clearErrors:function(t){this.$store.commit("deleteUserError",t)},hasError:function(t){return this.errors.hasOwnProperty(t)},getError:function(t){return this.errors[t][0]},recaptcha:function(t){this.g_recaptcha_response=t}}},s=(n("1zmp"),n("KHd+")),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero is-info is-fullheight"},[n("div",{staticClass:"columns centered"},[n("div",{staticClass:"column"}),t._v(" "),n("div",{staticClass:"column is-half-tablet is-one-third-desktop is-one-quarter-fullhd"},[n("p",{staticClass:"title is-1 has-text-centered"},[t._v("Contact Us")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearErrors(e.target.name)}}},[t._m(0),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"name"}},[t._v("Your Name (optional)")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",class:t.hasError("name")?"is-danger":"",attrs:{id:"name",type:"text",name:"name",autofocus:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t._m(1),t._v(" "),t.hasError("name")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("name")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"email"}},[t._v("Your Email")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input",class:t.hasError("email")?"is-danger":"",attrs:{id:"email",type:"email",name:"email",required:"",placeholder:"you@email.com"},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),t._m(2),t._v(" "),t.hasError("email")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("email")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"subject"}},[t._v("Subject")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.subject,expression:"subject"}],staticClass:"input",class:t.hasError("subject")?"is-danger":"",attrs:{id:"subject",type:"text",name:"subject",required:""},domProps:{value:t.subject},on:{input:function(e){e.target.composing||(t.subject=e.target.value)}}}),t._v(" "),t._m(3),t._v(" "),t.hasError("subject")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("subject")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("label",{staticClass:"label has-text-white",attrs:{for:"message"}},[t._v("Message")]),t._v(" "),n("div",{staticClass:"control has-icons-left",class:t.processing?"is-loading":""},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],staticClass:"textarea",class:t.hasError("message")?"is-danger":"",attrs:{id:"message",required:""},domProps:{value:t.message},on:{input:function(e){e.target.composing||(t.message=e.target.value)}}}),t._v(" "),t.hasError("message")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("message")))]):t._e()])]),t._v(" "),n("div",{staticClass:"field with-x-spacing"},[n("div",{staticClass:"control recaptcha"},[n("vue-recaptcha",{attrs:{sitekey:t.computedKey,loadRecaptchaScript:!0},on:{verify:t.recaptcha},model:{value:t.g_recaptcha_response,callback:function(e){t.g_recaptcha_response=e},expression:"g_recaptcha_response"}}),t._v(" "),t.hasError("g-recaptcha-response")?n("p",{staticClass:"help has-text-white has-text-weight-bold"},[t._v(t._s(t.getError("g-recaptcha-response")))]):t._e()],1)]),t._v(" "),n("div",{staticClass:"field has-text-centered"},[n("div",{staticClass:"control"},[n("button",{staticClass:"button is-primary",class:t.processing?"is-loading":"",attrs:{type:"submit",disabled:t.processing}},[t._v("\n Send Email\n ")])])])])])]),t._v(" "),n("div",{staticClass:"column"})])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"field with-x-spacing"},[e("label",{staticClass:"label has-text-white",attrs:{for:"to"}},[this._v("To")]),this._v(" "),e("div",{staticClass:"control"},[e("input",{staticClass:"input",attrs:{type:"text",value:"info@openlittermap.com",readonly:""}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-user"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-envelope"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"icon is-small is-left"},[e("i",{staticClass:"fa fa-info"})])}],!1,null,"433468a8",null);e.default=l.exports},"p5/b":function(t){t.exports=JSON.parse('{"email-you":"Wil je dat we je zo nu en dan voorzien van goed nieuws","subscribe":"Abonneer","subscribed-success-msg":"Je bent nu geabonneerd op goed nieuws! Je kunt je abonnement op elk moment opzeggen","need-your-help":"We hebben jouw hulp nodig om \'s werelds meest geavanceerde en toegankelijke database over zwerfafval te maken","read":"LEES","blog":"Blog","research-paper":"Onderzoeksrapport","watch":"KIJK","help":"HELP","join-the-team":"Sluit je aan bij het Team","join-slack":"Sluit je aan bij Slack","create-account":"Maak een Account","fb-group":"Facebook Groep","single-donation":"Eenmalige donatie","crowdfunding":"Fondsenwerving","olm-is-flagship":"OpenLitterMap is het vlaggenschip product van GeoTech Innovations Ltd., een startup in Ierland, baanbrekend op het gebied van burgerwetenschap #650323","enter-email":"Voer je email adres in","references":"Referenties","credits":"Credits","contact-us":"Contact Us"}')},p6Vx:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a),s=(n("5A0h"),n("YFMt")),l=n("4R65"),u=n.n(l),c=(n("tmUW"),n("UZfx")),h=n.n(c),d=n("gBxo");function p(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){p(a,i,r,o,s,"next",t)}function s(t){p(a,i,r,o,s,"throw",t)}o(void 0)}))}}var m={name:"ClusterMap",props:["clustersUrl","pointsUrl"],data:function(){return{map:null,clusters:[],points:[],prevZoom:s.e,pointsLayerController:null,pointsControllerShowing:!1,grey_dot:null,green_dot:null}},mounted:function(){var t=this;return f(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.setup();case 2:case"end":return e.stop()}}),e)})))()},watch:{clustersUrl:function(){var t=this;return f(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.map.remove(),t.map=null,t.prevZoom=s.e,(null===(n=t.points)||void 0===n?void 0:n.remove)&&(t.points.resetVertices(),t.points.remove()),t.clusters.clearLayers(),t.clusters=null,t.points=null,t.pointsLayerController=null,t.pointsControllerShowing=!1,e.next=11,t.setup();case 11:case"end":return e.stop()}}),e)})))()}},methods:{setup:function(){var t=this;return f(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.map=u.a.map("map",{center:[0,0],zoom:s.e,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1}),t.map.scrollWheelZoom=!0,n=(new Date).getFullYear(),'OpenStreetMap',u.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:s.c,minZoom:s.e}).addTo(t.map),t.map.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+n+" Clustering @ MapBox"),t.clusters=u.a.geoJSON(null,{pointToLayer:t.createClusterIcon,onEachFeature:t.onEachFeature}).addTo(t.map),e.next=9,t.getClusters(2,null);case 9:t.map.on("moveend",t.update),t.map.on("overlayadd",t.update),t.map.on("overlayremove",t.update),t.map.on("popupopen",d.a.scrollPopupToBottom),t.map.on("zoom",(function(){var e;(null===(e=t.points)||void 0===e?void 0:e.remove)&&t.points.remove()})),t.green_dot=u.a.icon({iconUrl:"./images/vendor/leaflet/dist/dot.png",iconSize:[10,10]}),t.grey_dot=u.a.icon({iconUrl:"./images/vendor/leaflet/dist/grey-dot.jpg",iconSize:[13,10]});case 16:case"end":return e.stop()}}),e)})))()},getClusters:function(t,e){var n=this;return f(r.a.mark((function i(){return r.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,axios.get(n.clustersUrl,{params:{zoom:t,bbox:e}}).then((function(t){n.clusters.clearLayers(),n.clusters.addData(t.data)})).catch((function(t){})).finally((function(){return n.$emit("loading-complete")}));case 2:case"end":return i.stop()}}),i)})))()},getPoints:function(t,e,n){var i=this;return f(r.a.mark((function a(){return r.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,axios.get(i.pointsUrl,{params:{zoom:t,bbox:e,layers:n}}).then((function(t){i.prevZoom=0)){e.next=5;break}return e.abrupt("return");case 5:if((null===(n=t.points)||void 0===n?void 0:n.remove)&&(t.clusters.clearLayers(),t.points.remove()),!(o'+t.properties.point_count_abbreviated+"",className:"marker-cluster-"+i,iconSize:u.a.point(40,40)});return u.a.marker(e,{icon:r})},createPointGroups:function(){if(!this.pointsControllerShowing){var t={Alcohol:new u.a.LayerGroup,Brands:new u.a.LayerGroup,Coastal:new u.a.LayerGroup,Coffee:new u.a.LayerGroup,Dumping:new u.a.LayerGroup,Food:new u.a.LayerGroup,Industrial:new u.a.LayerGroup,Other:new u.a.LayerGroup,PetSurprise:new u.a.LayerGroup,Sanitary:new u.a.LayerGroup,Smoking:new u.a.LayerGroup,SoftDrinks:new u.a.LayerGroup};this.pointsLayerController=u.a.control.layers(null,t).addTo(this.map),this.pointsControllerShowing=!0}},onEachFeature:function(t,e){if(t.properties.cluster){var n=this;e.on("click",(function(t){var e=n.map.getZoom()+s.f>s.c?s.c:n.map.getZoom()+s.f;n.map.flyTo(t.latlng,e,{animate:!0,duration:2})}))}},getActiveLayers:function(){var t=this,e=[];return this.pointsLayerController._layerControlInputs.forEach((function(n,i){if(n.checked){var r="petsurprise"===t.pointsLayerController._layers[i].name.toLowerCase()?"dogshit":t.pointsLayerController._layers[i].name.toLowerCase();e.push(r)}})),e.length>0?e:null},renderLeafletPopup:function(t,e){u.a.popup(d.a.popupOptions).setLatLng(e).setContent(d.a.getMapImagePopupContent(t.properties)).openOn(this.map)}}},g=(n("Vss8"),n("KHd+")),v=Object(g.a)(m,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"h100"},[e("div",{ref:"map",attrs:{id:"map"}})])}),[],!1,null,"1ed19081",null).exports,y={name:"TeamMap",props:["teamId"],components:{Loading:o.a,ClusterMap:v},data:function(){return{loading:!0}},watch:{teamId:function(t){t>0&&(this.loading=!0)}},methods:{fullscreenChange:function(t){this.fullscreen=t},toggle:function(){this.$refs.fullscreen.toggle()}}};n("snC/");function _(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function b(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){_(a,i,r,o,s,"next",t)}function s(t){_(a,i,r,o,s,"throw",t)}o(void 0)}))}}var w={name:"TeamsDashboard",components:{TeamMap:Object(g.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"team-map-container"},[t.loading&&t.teamId>0?n("loading",{attrs:{active:t.loading,"is-full-page":!1},on:{"update:active":function(e){t.loading=e}}}):t._e(),t._v(" "),t.teamId>0?n("fullscreen",{ref:"fullscreen",staticClass:"profile-map-container",on:{change:t.fullscreenChange}},[n("button",{staticClass:"btn-map-fullscreen",on:{click:t.toggle}},[n("i",{staticClass:"fa fa-expand"})]),t._v(" "),n("cluster-map",{attrs:{"clusters-url":"/teams/clusters/"+t.teamId,"points-url":"/teams/points/"+t.teamId},on:{"loading-complete":function(e){t.loading=!1}}})],1):t._e()],1)}),[],!1,null,"49b858a9",null).exports},created:function(){var t=this;return b(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.changeTeamOrTime();case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{period:"all",timePeriods:["today","week","month","year","all"],viewTeam:0}},computed:{litter_count:function(){var t;return null!==(t=this.$store.state.teams.allTeams.litter_count)&&void 0!==t?t:0},photos_count:function(){var t;return null!==(t=this.$store.state.teams.allTeams.photos_count)&&void 0!==t?t:0},members_count:function(){var t;return null!==(t=this.$store.state.teams.allTeams.members_count)&&void 0!==t?t:0},teams:function(){return this.$store.state.teams.teams}},methods:{changeTeamOrTime:function(){var t=this;return b(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_TEAM_DASHBOARD_DATA",{period:t.period,team_id:t.viewTeam});case 2:case"end":return e.stop()}}),e)})))()},getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)}}},x=(n("0Oxq"),Object(g.a)(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"tdc"},[n("p",{staticClass:"subtitle is-centered is-3"},[t._v(t._s(t.$t("teams.dashboard.teams-dashboard")))]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column teams-card"},[n("span",{staticClass:"title is-2",staticStyle:{color:"#7b848e"}},[t._v(t._s(t.photos_count))]),t._v(" "),n("br"),t._v("\n "+t._s(t.$t("teams.dashboard.photos-uploaded"))+" "+t._s(this.getPeriod())+"\n ")]),t._v(" "),n("div",{staticClass:"column teams-card"},[n("span",{staticClass:"title is-2",staticStyle:{color:"#7b848e"}},[t._v(t._s(t.litter_count))]),t._v(" "),n("br"),t._v("\n "+t._s(t.$t("teams.dashboard.litter-tagged"))+" "+t._s(this.getPeriod())+"\n ")]),t._v(" "),n("div",{staticClass:"column teams-card"},[n("span",{staticClass:"title is-2",staticStyle:{color:"#7b848e"}},[t._v(t._s(t.members_count))]),t._v(" "),n("br"),t._v("\n "+t._s(t.$t("teams.dashboard.members-uploaded"))+" "+t._s(this.getPeriod())+"\n ")])]),t._v(" "),n("div",{staticClass:"mobile-teams-select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input dash-time",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]},t.changeTeamOrTime]}},t._l(t.timePeriods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0),t._v(" "),n("div",{staticStyle:{flex:"0.1"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.viewTeam,expression:"viewTeam"}],staticClass:"input dash-time",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.viewTeam=e.target.multiple?n:n[0]},t.changeTeamOrTime]}},[n("option",{attrs:{value:"0",selected:""}},[t._v(t._s(t.$t("teams.dashboard.all-teams")))]),t._v(" "),t._l(t.teams,(function(e){return n("option",{domProps:{value:e.id}},[t._v(t._s(e.name))])}))],2)]),t._v(" "),n("TeamMap",{attrs:{"team-id":t.viewTeam}})],1)}),[],!1,null,"5003807a",null).exports);function k(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var C={name:"CreateTeam",data:function(){return{btn:"button is-medium is-primary",processing:!1,identifier:"",name:"",teamType:1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.teams.errors},remaining:function(){return this.user.remaining_teams},teamTypes:function(){return this.$store.state.teams.types},user:function(){return this.$store.state.user.user}},methods:{clearErrors:function(){this.$store.commit("teamErrors",[])},clearError:function(t){this.errors[t]&&this.$store.commit("clearTeamsError",t)},create:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("CREATE_NEW_TEAM",{name:e.name,identifier:e.identifier,teamType:e.teamType});case 3:e.processing=!1,e.name="",e.identifier="";case 6:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){k(a,i,r,o,s,"next",t)}function s(t){k(a,i,r,o,s,"throw",t)}o(void 0)}))})()},errorExists:function(t){return this.errors.hasOwnProperty(t)},getFirstError:function(t){return this.errors[t][0]}},mounted:function(){this.clearErrors()}},T=(n("1ZSq"),Object(g.a)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ctc"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.dashboard.create-a-team")))]),t._v(" "),n("p",{staticClass:"mb2"},[t._v(t._s(t.$t("teams.create.allowed-to-create",{teams:this.remaining}))+".")]),t._v(" "),t.remaining?n("div",{staticClass:"columns mt3"},[n("div",{staticClass:"column is-one-third"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.create.what-kind-of-team")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.create(e)}}},[n("div",{staticClass:"control pb2"},[n("p",[t._v(t._s(t.$t("teams.create.team-type")))]),t._v(" "),n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.teamType,expression:"teamType"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.teamType=e.target.multiple?n:n[0]}}},t._l(t.teamTypes,(function(e){return n("option",{domProps:{value:e.id}},[t._v(t._s(e.team))])})),0)])]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("teams.create.team-name")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],staticClass:"input",attrs:{name:"name",placeholder:t.$t("teams.create.my-awesome-team-placeholder"),type:"text",required:""},domProps:{value:t.name},on:{keydown:function(e){return t.clearError("name")},input:function(e){e.target.composing||(t.name=e.target.value)}}}),t._v(" "),t.errorExists("name")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"identifier"}},[t._v(t._s(t.$t("teams.create.unique-team-id")))]),t._v(" "),n("br"),t._v(" "),n("small",[t._v(t._s(t.$t("teams.create.id-to-join-team")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.identifier,expression:"identifier"}],staticClass:"input",attrs:{name:"identifier",placeholder:"Awesome2021",required:""},domProps:{value:t.identifier},on:{keydown:function(e){return t.clearError("identifier")},input:function(e){e.target.composing||(t.identifier=e.target.value)}}}),t._v(" "),t.errorExists("identifier")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("identifier"))}}):t._e()]),t._v(" "),n("div",[n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("teams.create.create-team")))])])])])]):t._e()])}),[],!1,null,"82c06a6a",null).exports);function E(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var S={name:"JoinTeam",data:function(){return{btn:"button is-medium is-primary",identifier:"",processing:!1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.teams.errors}},methods:{clearErrors:function(){this.$store.commit("teamErrors",[])},clearError:function(t){this.errors[t]&&this.$store.commit("clearTeamsError",t)},errorExists:function(t){return this.errors.hasOwnProperty(t)},getFirstError:function(t){return this.errors[t][0]},submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("JOIN_TEAM",e.identifier);case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){E(a,i,r,o,s,"next",t)}function s(t){E(a,i,r,o,s,"throw",t)}o(void 0)}))})()}},mounted:function(){this.clearErrors()}},P=(n("0a/T"),Object(g.a)(S,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"jtc"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.dashboard.join-a-team")))]),t._v(" "),n("div",{staticClass:"columns mt3"},[n("div",{staticClass:"column is-one-third"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.join.enter-team-identifier")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[n("div",{staticClass:"control mb2"},[n("label",{attrs:{for:"join"}},[t._v(t._s(t.$t("teams.join.team-identifier")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.identifier,expression:"identifier"}],staticClass:"input",attrs:{name:"join",id:"join",placeholder:t.$t("teams.join.enter-id-to-join-placeholder"),required:"",autofocus:""},domProps:{value:t.identifier},on:{input:[function(e){e.target.composing||(t.identifier=e.target.value)},t.clearError]}}),t._v(" "),t.errorExists("identifier")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("identifier"))}}):t._e()]),t._v(" "),n("div",{staticClass:"has-text-right"},[n("button",{class:t.button,attrs:{disabled:t.processing}},[t._v(t._s(t.$t("teams.join.join-team")))])])])])])])}),[],!1,null,"59181ff6",null).exports),L=n("wd/R"),I=n.n(L);function O(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function A(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){O(a,i,r,o,s,"next",t)}function s(t){O(a,i,r,o,s,"throw",t)}o(void 0)}))}}var M={name:"MyTeams",data:function(){return{loading:!1,processing:!1,changing:!1,viewTeam:null,dlProcessing:!1}},computed:{activeTeam:function(){return this.user.active_team},current_page:function(){return this.members.current_page},isLeader:function(){var t=this,e=this.teams.find((function(e){return e.id===t.viewTeam}));return e&&e.leader===this.user.id},members:function(){return this.$store.state.teams.members},show_current_page:function(){return this.members.current_page>1},show_next_page:function(){return this.members.next_page_url},teams:function(){return this.$store.state.teams.teams},user:function(){return this.$store.state.user.user}},mounted:function(){var t=this;return A(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,t.getUserTeams();case 3:t.loading=!1;case 4:case"end":return e.stop()}}),e)})))()},methods:{changeActiveTeam:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.processing=!0,n.next=3,e.$store.dispatch("CHANGE_ACTIVE_TEAM",t);case 3:e.processing=!1;case 4:case"end":return n.stop()}}),n)})))()},inactivateTeam:function(){var t=this;return A(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("INACTIVATE_TEAM");case 3:return t.viewTeam=null===(n=t.teams[0])||void 0===n?void 0:n.id,e.next=6,t.changeViewedTeam();case 6:t.processing=!1;case 7:case"end":return e.stop()}}),e)})))()},getUserTeams:function(){var t=this;return A(r.a.mark((function e(){var n,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_USERS_TEAMS");case 2:if(!(i=t.activeTeam||(null===(n=t.teams[0])||void 0===n?void 0:n.id))){e.next=7;break}return t.viewTeam=i,e.next=7,t.$store.dispatch("GET_TEAM_MEMBERS",t.viewTeam);case 7:case"end":return e.stop()}}),e)})))()},leaveTeam:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(confirm(e.$t("teams.myteams.confirm-leave-team"))){n.next=2;break}return n.abrupt("return");case 2:return e.loading=!0,n.next=5,e.$store.dispatch("LEAVE_TEAM",t);case 5:return n.next=7,e.getUserTeams();case 7:e.loading=!1;case 8:case"end":return n.stop()}}),n)})))()},changeViewedTeam:function(){var t=this;return A(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.changing=!0,e.next=3,t.$store.dispatch("GET_TEAM_MEMBERS",t.viewTeam);case 3:t.changing=!1;case 4:case"end":return e.stop()}}),e)})))()},checkActiveTeam:function(t){return t===this.viewTeam?"team-active":"team-inactive"},checkActiveTeamText:function(t){return this.changing?"...":t===this.viewTeam?this.$t("common.active"):this.$t("common.inactive")},download:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.dlProcessing=!0,n.next=3,e.$store.dispatch("DOWNLOAD_DATA_FOR_TEAM",t);case 3:e.dlProcessing=!1;case 4:case"end":return n.stop()}}),n)})))()},getRank:function(t){return 1===this.members.current_page?t+1:t+1+10*(this.members.current_page-1)},icon:function(t){return t===this.viewTeam?"fa fa-check":"fa fa-ban"},medal:function(t){if(1===this.members.current_page){if(0===t)return"/assets/icons/gold-medal.png";if(1===t)return"/assets/icons/silver-medal.png";if(2===t)return"/assets/icons/bronze-medal.svg"}return""},previousPage:function(){this.$store.dispatch("PREVIOUS_MEMBERS_PAGE",this.viewTeam)},nextPage:function(){this.$store.dispatch("NEXT_MEMBERS_PAGE",this.viewTeam)},toggleLeaderboardVis:function(t){var e=this;return A(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.$store.dispatch("TOGGLE_LEADERBOARD_VISIBILITY",t);case 2:case"end":return n.stop()}}),n)})))()},formatDate:function(t){return I()(t).format("LLL")}}},z=(n("oBKJ"),Object(g.a)(M,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("div",{staticClass:"my-teams-container"},[n("h1",{staticClass:"title is-2"},[t._v("\n "+t._s(t.$t("teams.myteams.title"))+"\n ")]),t._v(" "),t.loading?n("p",[t._v("\n "+t._s(t.$t("common.loading"))+"\n ")]):n("div",[n("div",{staticClass:"active-team-indicator"},[n("div",[t.user.active_team?n("div",{staticClass:"mb1"},[n("p",[t._v("\n "+t._s(t.$t("teams.myteams.currently-joined-team"))+" "),n("strong",[t._v(t._s(t.user.team.name))]),t._v(".\n "),n("br"),t._v("\n "+t._s(t.$t("teams.myteams.enabled-contributions"))+"\n ")])]):t.teams&&t.teams.length?n("p",{staticClass:"mb1",domProps:{innerHTML:t._s(t.$t("teams.myteams.disabled-contributions"))}}):n("p",{staticClass:"mb1"},[t._v("\n "+t._s(t.$t("teams.myteams.no-joined-team"))+".\n ")])]),t._v(" "),t.user.active_team?n("div",{staticClass:"button is-warning tooltip",on:{click:t.inactivateTeam}},[n("span",{staticClass:"tooltip-text disable-teams-tooltip"},[t._v("\n "+t._s(t.$t("teams.myteams.disable-contributions-tooltip"))+"\n ")]),t._v("\n "+t._s(t.$t("common.inactivate"))+"\n ")]):t._e()]),t._v(" "),t.teams&&t.teams.length?n("div",{staticClass:"mb1"},[n("div",{staticClass:"is-size-3"},[t._v("\n "+t._s(t.$t("teams.myteams.team-details"))+"\n ")]),t._v(" "),t.isLeader?n("div",[n("p",[t._v(t._s(t.$t("teams.myteams.leader-of-team"))+".")])]):t._e()]):t._e(),t._v(" "),t.teams&&t.teams.length?n("div",{staticStyle:{"overflow-x":"scroll"}},[n("div",{staticClass:"flex mb1"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.viewTeam,expression:"viewTeam"}],staticClass:"input mtba",staticStyle:{"max-width":"20em","min-width":"5em"},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.viewTeam=e.target.multiple?n:n[0]},t.changeViewedTeam]}},[n("option",{attrs:{disabled:""},domProps:{selected:!t.viewTeam,value:null}},[t._v("\n "+t._s(t.$t("teams.myteams.join-team"))+"\n ")]),t._v(" "),t._l(t.teams,(function(e){return n("option",{key:e.id,domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])}))],2)]),t._v(" "),n("table",{staticClass:"table is-fullwidth is-hoverable has-text-centered"},[n("thead",[n("th",[t._v(t._s(t.$t("teams.myteams.position-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.name-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.username-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.status-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.photos-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.litter-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.last-activity-header")))])]),t._v(" "),n("tbody",t._l(t.members.data,(function(e,i){return n("tr",{key:e.id},[n("td",[n("div",{staticClass:"medal-container"},[n("img",{directives:[{name:"show",rawName:"v-show",value:i<3,expression:"index < 3"}],staticClass:"medal",attrs:{src:t.medal(i)}}),t._v(" "),n("span",[t._v(t._s(t.getRank(i)))])])]),t._v(" "),n("td",[t._v(t._s(e.name?e.name:"-"))]),t._v(" "),n("td",[t._v(t._s(e.username?e.username:"-"))]),t._v(" "),n("td",{staticStyle:{width:"9em","white-space":"nowrap"}},[n("span",{class:t.checkActiveTeam(e.active_team)},[n("i",{class:t.icon(e.active_team)}),t._v("\n "+t._s(t.checkActiveTeamText(e.active_team))+"\n ")])]),t._v(" "),n("td",[t._v(t._s(e.pivot.total_photos))]),t._v(" "),n("td",[t._v(t._s(e.pivot.total_litter))]),t._v(" "),n("td",{staticStyle:{"max-width":"100px"}},[t._v("\n "+t._s(e.pivot.updated_at?t.formatDate(e.pivot.updated_at):"-")+"\n ")])])})),0)]),t._v(" "),n("div",{staticClass:"has-text-centered"},[n("a",{directives:[{name:"show",rawName:"v-show",value:this.current_page>1,expression:"this.current_page > 1"}],staticClass:"pagination-previous",on:{click:t.previousPage}},[t._v(t._s(t.$t("common.previous")))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:this.show_next_page,expression:"this.show_next_page"}],staticClass:"pagination-next",on:{click:t.nextPage}},[t._v(t._s(t.$t("common.next-page")))])])]):t._e(),t._v(" "),t.teams&&t.teams.length?n("div",{staticStyle:{"overflow-x":"scroll"}},[n("div",{staticClass:"is-size-3 mb1"},[t._v("\n "+t._s(t.$t("teams.myteams.all-my-teams"))+"\n ")]),t._v(" "),n("table",{staticClass:"table is-fullwidth is-hoverable"},[n("thead",[n("th",[t._v(t._s(t.$t("teams.myteams.name-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.identifier-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.members-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.photos-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.myteams.litter-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("common.actions")))])]),t._v(" "),n("tbody",t._l(t.teams,(function(e){return n("tr",{key:e.id,class:e.id===t.activeTeam?"is-primary-row":""},[n("td",[t._v(t._s(e.name))]),t._v(" "),n("td",[t._v(t._s(e.identifier))]),t._v(" "),n("td",[t._v(t._s(e.members))]),t._v(" "),n("td",[t._v(t._s(e.total_images))]),t._v(" "),n("td",[t._v(t._s(e.total_litter))]),t._v(" "),n("td",{staticStyle:{"min-width":"120px","max-width":"150px"}},[n("button",{staticClass:"button is-small is-primary team-action tooltip",class:t.processing?"is-loading":"",attrs:{disabled:e.id===t.activeTeam},on:{click:function(n){return t.changeActiveTeam(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v("\n "+t._s(e.id===t.activeTeam?t.$t("teams.myteams.this-is-active-team"):t.$t("teams.myteams.set-as-active-team"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-star"})]),t._v(" "),n("button",{staticClass:"button is-small is-info team-action tooltip",class:t.dlProcessing?"is-loading":"",on:{click:function(n){return t.download(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v(t._s(t.$t("teams.myteams.download-team-data")))]),t._v(" "),n("i",{staticClass:"fa fa-download"})]),t._v(" "),n("button",{staticClass:"button is-small is-danger team-action tooltip",attrs:{disabled:e.members<=1},on:{click:function(n){return t.leaveTeam(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v("\n "+t._s(e.members>1?t.$t("teams.myteams.leave-team"):t.$t("teams.myteams.cant-leave-team"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-sign-out"})]),t._v(" "),e.leader===t.user.id?n("button",{staticClass:"button is-small is-warning team-action tooltip",on:{click:function(n){return t.toggleLeaderboardVis(e.id)}}},[n("span",{staticClass:"tooltip-text"},[t._v("\n "+t._s(e.leaderboards?t.$t("teams.myteams.hide-from-leaderboards"):t.$t("teams.myteams.show-on-leaderboards"))+"\n ")]),t._v(" "),n("i",{staticClass:"fa",class:e.leaderboards?"fa-eye-slash":"fa-eye"})]):t._e()])])})),0)])]):t._e()])])])}),[],!1,null,"0320b80a",null).exports);function N(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function D(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){N(a,i,r,o,s,"next",t)}function s(t){N(a,i,r,o,s,"throw",t)}o(void 0)}))}}var R={name:"TeamSettings",data:function(){return{loading:!0,privacySectionSelectedTeamId:0,attributesSectionSelectedTeamId:0,privacyAllProcessing:!1,privacySubmitProcessing:!1,attributesProcessing:!1,attributesTeamName:"",attributesTeamIdentifier:"",btnAll:"button is-medium is-primary mt1",btn:"button is-medium is-warning mt1 mr1"}},created:function(){var t=this;return D(r.a.mark((function e(){var n,i;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loading=!0,0!==t.teams.length){e.next=4;break}return e.next=4,t.$store.dispatch("GET_USERS_TEAMS");case 4:t.privacySectionSelectedTeamId=null===(n=t.teams[0])||void 0===n?void 0:n.id,t.attributesSectionSelectedTeamId=null===(i=t.teamsLedByUser[0])||void 0===i?void 0:i.id,t.clearErrors(),t.loading=!1;case 8:case"end":return e.stop()}}),e)})))()},watch:{attributesSectionSelectedTeam:function(){this.attributesTeamName=this.attributesSectionSelectedTeam.name,this.attributesTeamIdentifier=this.attributesSectionSelectedTeam.identifier}},computed:{allButton:function(){return this.privacyAllProcessing?this.btnAll+" is-loading":this.btnAll},disabled:function(){return this.privacyAllProcessing||this.privacySubmitProcessing},submitButton:function(){return this.privacySubmitProcessing?this.btn+" is-loading":this.btn},show_name_leaderboards:{get:function(){return this.team.pivot.show_name_leaderboards},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_name_leaderboards",v:t})}},show_username_leaderboards:{get:function(){return this.team.pivot.show_username_leaderboards},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_username_leaderboards",v:t})}},show_name_maps:{get:function(){return this.team.pivot.show_name_maps},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_name_maps",v:t})}},show_username_maps:{get:function(){return this.team.pivot.show_username_maps},set:function(t){this.$store.commit("team_settings",{team_id:this.privacySectionSelectedTeamId,key:"show_username_maps",v:t})}},team:function(){var t=this;return this.teams.find((function(e){return e.id===t.privacySectionSelectedTeamId}))},attributesSectionSelectedTeam:function(){var t=this;return this.teamsLedByUser.find((function(e){return e.id===t.attributesSectionSelectedTeamId}))},teams:function(){return this.$store.state.teams.teams},user:function(){return this.$store.state.user.user},teamsLedByUser:function(){var t=this;return this.teams.filter((function(e){return e.leader===t.user.id}))},errors:function(){return this.$store.state.teams.errors}},methods:{submit:function(t){var e=this;return D(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t?e.privacyAllProcessing=!0:e.privacySubmitProcessing=!0,n.next=3,e.$store.dispatch("SAVE_TEAM_SETTINGS",{all:t,team_id:e.privacySectionSelectedTeamId});case 3:e.privacySubmitProcessing=!1,e.privacyAllProcessing=!1;case 5:case"end":return n.stop()}}),n)})))()},updateTeam:function(){var t=this;return D(r.a.mark((function e(){var n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.attributesProcessing=!0,e.next=3,t.$store.dispatch("UPDATE_TEAM",{teamId:t.attributesSectionSelectedTeamId,name:t.attributesTeamName,identifier:t.attributesTeamIdentifier});case 3:if(t.attributesProcessing=!1,!Object.keys(t.errors).length){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.$store.dispatch("GET_USERS_TEAMS");case 8:t.user.active_team===t.attributesSectionSelectedTeamId&&(n=t.teams.find((function(e){return e.id===t.attributesSectionSelectedTeamId})),t.$store.commit("usersTeam",n));case 9:case"end":return e.stop()}}),e)})))()},clearErrors:function(){this.$store.commit("teamErrors",[])},clearError:function(t){this.errors[t]&&this.$store.commit("clearTeamsError",t)},getFirstError:function(t){return this.errors[t]?this.errors[t][0]:null}}},j=(n("yGXg"),Object(g.a)(R,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tsc"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.dashboard.settings")))]),t._v(" "),t.loading||t.teams.length?t._e():n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.myteams.no-joined-team"))+".")]),t._v(" "),t.teams.length?n("div",{staticClass:"columns mt3 mb3"},[n("div",{staticClass:"column is-one-third pt0"},[n("h1",{staticClass:"title"},[t._v(t._s(t.$t("teams.settings.privacy-title")))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.settings.privacy-text")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.privacySectionSelectedTeamId,expression:"privacySectionSelectedTeamId"}],staticClass:"input mb2",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.privacySectionSelectedTeamId=e.target.multiple?n:n[0]}}},t._l(t.teams,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0),t._v(" "),n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("teams.settings.maps.team-map"))+":")]),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_name_maps,expression:"show_name_maps"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_name_maps)?t._i(t.show_name_maps,null)>-1:t.show_name_maps},on:{change:function(e){var n=t.show_name_maps,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_name_maps=n.concat([null])):a>-1&&(t.show_name_maps=n.slice(0,a).concat(n.slice(a+1)))}else t.show_name_maps=r}}}),t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_username_maps,expression:"show_username_maps"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_username_maps)?t._i(t.show_username_maps,null)>-1:t.show_username_maps},on:{change:function(e){var n=t.show_username_maps,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_username_maps=n.concat([null])):a>-1&&(t.show_username_maps=n.slice(0,a).concat(n.slice(a+1)))}else t.show_username_maps=r}}}),t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_name_maps,expression:"show_name_maps"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.maps.name-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_username_maps,expression:"show_username_maps"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.maps.username-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!t.show_name_maps&&!t.show_username_maps,expression:"! show_name_maps && ! show_username_maps"}],staticClass:"is-red"},[t._v(t._s(t.$t("teams.settings.maps.will-not-appear")))]),t._v(" "),n("h1",{staticClass:"title is-4 mt1"},[t._v(t._s(t.$t("teams.settings.leaderboards.team-leaderboard"))+":")]),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_name_leaderboards,expression:"show_name_leaderboards"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_name_leaderboards)?t._i(t.show_name_leaderboards,null)>-1:t.show_name_leaderboards},on:{change:function(e){var n=t.show_name_leaderboards,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_name_leaderboards=n.concat([null])):a>-1&&(t.show_name_leaderboards=n.slice(0,a).concat(n.slice(a+1)))}else t.show_name_leaderboards=r}}}),t._v(" "),t._v("\n "+t._s(t.$t("settings.privacy.credit-name"))+"\n ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox mb1"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.show_username_leaderboards,expression:"show_username_leaderboards"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.show_username_leaderboards)?t._i(t.show_username_leaderboards,null)>-1:t.show_username_leaderboards},on:{change:function(e){var n=t.show_username_leaderboards,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=t._i(n,null);i.checked?a<0&&(t.show_username_leaderboards=n.concat([null])):a>-1&&(t.show_username_leaderboards=n.slice(0,a).concat(n.slice(a+1)))}else t.show_username_leaderboards=r}}}),t._v("\n "+t._s(t.$t("settings.privacy.credit-username"))+"\n ")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_name_leaderboards,expression:"show_name_leaderboards"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.leaderboards.name-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.show_username_leaderboards,expression:"show_username_leaderboards"}],staticClass:"is-green"},[t._v(t._s(t.$t("teams.settings.leaderboards.username-will-appear")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!t.show_name_leaderboards&&!t.show_username_leaderboards,expression:"! show_name_leaderboards && ! show_username_leaderboards"}],staticClass:"is-red"},[t._v(t._s(t.$t("teams.settings.leaderboards.will-not-appear")))]),t._v(" "),n("div",{staticClass:"flex"},[n("button",{class:t.submitButton,attrs:{disabled:t.disabled},on:{click:function(e){return t.submit(!1)}}},[t._v(t._s(t.$t("teams.settings.submit-one-team")))]),t._v(" "),n("button",{class:t.allButton,attrs:{disabled:t.disabled},on:{click:function(e){return t.submit(!0)}}},[t._v(t._s(t.$t("teams.settings.apply-all-teams")))])])])])]):t._e(),t._v(" "),t.teamsLedByUser.length?n("div",{staticClass:"columns mb3"},[n("div",{staticClass:"column is-one-third pt0"},[n("h1",{staticClass:"title"},[t._v(t._s(t.$t("teams.settings.team-update-title")))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("teams.settings.team-update-text")))])]),t._v(" "),n("div",{staticClass:"column is-half card p2"},[t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n("div",[n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.updateTeam(e)}}},[n("div",{staticClass:"control pb2"},[n("p",[t._v(t._s(t.$t("teams.create.select-team")))]),t._v(" "),n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.attributesSectionSelectedTeamId,expression:"attributesSectionSelectedTeamId"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.attributesSectionSelectedTeamId=e.target.multiple?n:n[0]}}},t._l(t.teamsLedByUser,(function(e){return n("option",{domProps:{value:e.id}},[t._v("\n "+t._s(e.name)+"\n ")])})),0)])]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.$t("teams.create.team-name")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.attributesTeamName,expression:"attributesTeamName"}],staticClass:"input",attrs:{name:"name",placeholder:t.$t("teams.create.my-awesome-team-placeholder"),type:"text",required:""},domProps:{value:t.attributesTeamName},on:{keydown:function(e){return t.clearError("name")},input:function(e){e.target.composing||(t.attributesTeamName=e.target.value)}}}),t._v(" "),t.getFirstError("name")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("name"))}}):t._e()]),t._v(" "),n("div",{staticClass:"control pb2"},[n("label",{attrs:{for:"identifier"}},[t._v(t._s(t.$t("teams.create.unique-team-id")))]),t._v(" "),n("br"),t._v(" "),n("small",[t._v(t._s(t.$t("teams.create.id-to-join-team")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.attributesTeamIdentifier,expression:"attributesTeamIdentifier"}],staticClass:"input",attrs:{id:"identifier",name:"identifier",placeholder:"Awesome2021",required:""},domProps:{value:t.attributesTeamIdentifier},on:{keydown:function(e){return t.clearError("identifier")},input:function(e){e.target.composing||(t.attributesTeamIdentifier=e.target.value)}}}),t._v(" "),t.getFirstError("identifier")?n("p",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("identifier"))}}):t._e()]),t._v(" "),n("div",[n("button",{class:t.btnAll,attrs:{disabled:t.attributesProcessing}},[t._v(t._s(t.$t("teams.create.update-team")))])])])])])]):t._e()])}),[],!1,null,"e122f83a",null).exports);function F(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var B={name:"TeamsLeaderboard",data:function(){return{loading:!0}},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_TEAMS_LEADERBOARD");case 2:e.loading=!1;case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){F(a,i,r,o,s,"next",t)}function s(t){F(a,i,r,o,s,"throw",t)}o(void 0)}))})()},computed:{teams:function(){return this.$store.state.teams.leaderboard}},methods:{getDate:function(t){return I()(t).format("LL")},medal:function(t){return 0===t?"/assets/icons/gold-medal.png":1===t?"/assets/icons/silver-medal.png":2===t?"/assets/icons/bronze-medal.svg":""}}};n("t5Ox");function U(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var q={name:"Teams",components:{TeamsDashboard:x,CreateTeam:T,JoinTeam:P,MyTeams:z,TeamSettings:j,TeamsLeaderboard:Object(g.a)(B,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("div",{staticClass:"my-teams-container"},[n("h1",{staticClass:"title is-2"},[t._v(t._s(t.$t("teams.leaderboard.title")))]),t._v(" "),t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n("table",{staticClass:"table is-fullwidth is-hoverable has-text-centered"},[n("thead",[n("th",[t._v(t._s(t.$t("teams.leaderboard.position-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.name-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.litter-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.photos-header")))]),t._v(" "),n("th",[t._v(t._s(t.$t("teams.leaderboard.created-at-header")))])]),t._v(" "),n("tbody",t._l(t.teams,(function(e,i){return n("tr",[n("td",[n("div",{staticClass:"medal-container"},[n("img",{directives:[{name:"show",rawName:"v-show",value:i<3,expression:"index < 3"}],staticClass:"medal",attrs:{src:t.medal(i)}}),t._v(" "),n("span",[t._v(t._s(i+1))])])]),t._v(" "),n("td",[t._v(t._s(e.name))]),t._v(" "),n("td",[t._v(t._s(e.total_litter))]),t._v(" "),n("td",[t._v(t._s(e.total_images))]),t._v(" "),n("td",[t._v(t._s(t.getDate(e.created_at)))])])})),0)])])])}),[],!1,null,"f4da4910",null).exports},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_TEAM_TYPES");case 3:if(0!==e.teams.length){t.next=6;break}return t.next=6,e.$store.dispatch("GET_USERS_TEAMS");case 6:e.loading=!1;case 7:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){U(a,i,r,o,s,"next",t)}function s(t){U(a,i,r,o,s,"throw",t)}o(void 0)}))})()},data:function(){return{loading:!0,items:[{name:this.$t("teams.dashboard.dashboard"),icon:"fa fa-home teams-icon",component:"TeamsDashboard"},{name:this.$t("teams.dashboard.join-a-team"),icon:"fa fa-sign-in teams-icon",component:"JoinTeam"},{name:this.$t("teams.dashboard.create-a-team"),icon:"fa fa-plus teams-icon",component:"CreateTeam"},{name:this.$t("teams.myteams.title"),icon:"fa fa-users teams-icon",component:"MyTeams"},{name:this.$t("teams.dashboard.leaderboard"),icon:"fa fa-trophy teams-icon",component:"TeamsLeaderboard"},{name:this.$t("teams.dashboard.settings"),icon:"fa fa-gear teams-icon",component:"TeamSettings"}]}},computed:{teams:function(){return this.$store.state.teams.teams},type:function(){return this.$store.state.teams.component_type}},methods:{goto:function(t){this.$store.commit("teamComponent",t)}}},$=(n("PLR4"),Object(g.a)(q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-fifth teams-left-col"},[n("p",{staticClass:"teams-title"},[t._v(t._s(t.$t("teams.dashboard.olm-teams")))]),t._v(" "),t._l(t.items,(function(e){return n("div",{staticClass:"team-flex",on:{click:function(n){return t.goto(e.component)}}},[n("i",{class:e.icon}),t._v(" "),n("p",{staticClass:"mtba"},[t._v(t._s(e.name))])])}))],2),t._v(" "),n("div",{staticClass:"column pt3 mobile-teams-padding",staticStyle:{"background-color":"#edf1f4"}},[t.loading?n("p",[t._v(t._s(t.$t("common.loading")))]):n(t.type,{tag:"component"})],1)])])}),[],!1,null,"52fe9a19",null));e.default=$.exports},pA5b:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".wrapper[data-v-39bc26de] {\n padding: 1rem 0.5rem;\n}\n.leaderboard-heading[data-v-39bc26de] {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 1rem;\n margin-bottom: 2rem;\n cursor: pointer;\n}\n.leaderboard-heading:hover .title[data-v-39bc26de] {\n text-decoration: underline;\n}\n.leaderboard-heading:hover i[data-v-39bc26de] {\n transform: translateX(1rem);\n}\n.leaderboard-heading .title[data-v-39bc26de] {\n color: white;\n margin-bottom: 0;\n}\n.leaderboard-heading i[data-v-39bc26de] {\n color: white;\n font-size: 20px;\n transition: all 0.3s;\n}\n@media screen and (min-width: 768px) {\n.wrapper[data-v-39bc26de] {\n padding: 3rem 1.5rem;\n}\n}",""])},pAip:function(t){t.exports=JSON.parse('{"welcome":"Welcome to your new Profile","out-of":"Out of {total} users","rank":"You are in {rank} place","have-uploaded":"You have uploaded","photos":"photos","tags":"tags","all-photos":"all photos","all-tags":"all tags","your-level":"Your Level","reached-level":"You have reached level","have-xp":"and you have","need-xp":"You need","to-reach-level":"to reach the next level.","total-categories":"Total Categories","calendar-load-data":"Load Data","download-data":"Download My Data","email-send-msg":"An email will be sent to the address you use to login.","timeseries-verified-photos":"Verified Photos","manage-my-photos":"View your photos, select multiple, delete them or add tags!","view-my-photos":"View my Photos","my-photos":"My Photos","add-tags":"Add Tags","bulk-tag-dblclick-info":"Double click to zoom photos!"}')},pMqV:function(t,e,n){"use strict";var i=n("blTc");n.n(i).a},pTi1:function(t){t.exports=JSON.parse('{"title":"Mes Équipes","currently-joined-team":"Votre équipe active est","currently-not-joined-team":"Vous n\'êtes membre d\'aucune équipe en ce moment","no-joined-team":"Vous n\'avez pas rejoint d\'équipe","leader-of-team":"Vous êtes le leader de cette équipe","enabled-contributions":"Toutes vos contributions seront prises en compte uniquement dans cette équipe.","disabled-contributions":"Vous n\'avez pas encore sélectionné d\'équipe active.
      Ceci signifie que vous ne contribuez dans aucune équipe pour le moment.
      Vous pouvez sélectionner votre équipe active en cliquant sur les icônes étoiles dans la liste du bas.","disable-contributions-tooltip":"Ceci désactive les contributions de votre équipe à partir de maintenant. Vous serez toujours membre de votre équipe et pourrez continuer de contribuer.","team-details":"Informations sur l\'Équipe","all-my-teams":"Toutes mes Équipes","this-is-active-team":"Ceci est votre équipe active","set-as-active-team":"Désignez-la comme équipe active","team-identifier":"Identifiant de l\'Équipe","join-team":"Veuillez rejoindre une équipe","leave-team":"Quitter l\'équipe","just-left-team":"Vous venez de quitter l\'équipe","cant-leave-team":"Vous ne pouvez pas quitter cette équipe car vous êtes l\'unique membre","change-active-team":"Rejoindre l\'Équipe","download-team-data":"Télécharger les données de l\'Équipe","hide-from-leaderboards":"À cacher des classements","show-on-leaderboards":"Montrer dans les Classements","position-header":"Position","name-header":"Nom","username-header":"Nom d\'utilisateur","status-header":"Statut","photos-header":"Photos","litter-header":"Déchets","identifier-header":"Identifiant","members-header":"Membres","last-activity-header":"Dernière Activité","confirm-leave-team":"Êtes-vous sûr?\\nVous pouvez toujours revenir et vos contributions sauvegardées."}')},pV29:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".top-row[data-v-774c9699] {\n display: flex;\n justify-content: center;\n}\n.close-popup[data-v-774c9699] {\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n width: 20px;\n font-size: 16px;\n}\n.close-popup[data-v-774c9699]:hover {\n transform: scale(1.05);\n}\n.photo-tags-container[data-v-774c9699] {\n margin-top: 16px;\n}\n.tags-list[data-v-774c9699] {\n display: flex;\n max-width: 50em;\n margin: auto;\n flex-wrap: wrap;\n overflow: auto;\n justify-content: center;\n}\n.litter-tag[data-v-774c9699] {\n position: relative;\n cursor: pointer;\n padding: 4px;\n border-radius: 4px;\n background-color: #3298dc;\n margin: 4px;\n}\n.litter-tag .close[data-v-774c9699] {\n display: none;\n position: absolute;\n top: -5px;\n right: -5px;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n color: white;\n font-size: 12px;\n background-color: rgba(0, 0, 0, 0.7);\n}\n.litter-tag .close[data-v-774c9699]:hover {\n background-color: black;\n}\n.litter-tag:hover .close[data-v-774c9699] {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.list-enter-active[data-v-774c9699], .list-leave-active[data-v-774c9699],\n.categories-enter-active[data-v-774c9699], .categories-leave-active[data-v-774c9699] {\n transition: all 0.5s;\n}\n.list-enter[data-v-774c9699], .list-leave-to[data-v-774c9699] {\n opacity: 0;\n transform: translateX(30px);\n}\n.categories-enter[data-v-774c9699], .categories-leave-to[data-v-774c9699] {\n opacity: 0;\n transform: translateY(50px);\n}\n.categories-move[data-v-774c9699] {\n transition: transform 0.5s;\n}",""])},pj1R:function(t,e,n){var i=n("aS5V");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},praq:function(t,e,n){var i=n("5t4f");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},pwP9:function(t){t.exports=JSON.parse('{"title":"Team Scorebord","position-header":"Positie","name-header":"Naam","photos-header":"Totaal Foto\'s","litter-header":"Totaal Afval","created-at-header":"Gemaakt op"}')},pzhP:function(t,e,n){"use strict";var i=n("ZfPz");n.n(i).a},q4nw:function(t){t.exports=JSON.parse('{"success-title":"Köszi a segítséget!","success-subtitle":"A bejelentkezés engedélyezéséhez ne felejtse el igazolni az e-mail-címét.","error-title":"Volt egy probléma.","error-subtitle":"Kártyáját nem terhelték meg, de továbbra is ellenőrizheti e-mail-címét és bejelentkezhet."}')},qAbK:function(t,e,n){var i=n("emV3");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},qG1z:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a=n("kGIl"),o=n.n(a);n("5A0h");function s(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var l={name:"DonateButtons",components:{Loading:o.a},data:function(){return{stripeEmail:"",stripeToken:"",amount:"",loading:!0}},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$store.dispatch("GET_DONATION_AMOUNTS");case 3:e.$emit("donations-loaded"),e.loading=!1;case 5:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){s(a,i,r,o,l,"next",t)}function l(t){s(a,i,r,o,l,"throw",t)}o(void 0)}))})()},computed:{amounts:function(){return this.$store.state.donate.amounts}},methods:{donate:function(t){var e=this;this.amount=100*this.prices[t],this.stripe=StripeCheckout.configure({key:OLM.stripeKey,image:"https://stripe.com/img/documentation/checkout/marketplace.png",locale:"auto",panelLabel:"One-time Donation",token:function(t){e.stripeToken=t.id,e.stripeEmail=t.email,axios.post("/donate",e.$data).then((function(t){alert("Congratulations! Your payment was successful. Thanks!")})).catch((function(t){alert("Sorry, there was an error processing your card! You have not been charged. Please try again")}))}}),this.stripe.open({name:"€"+this.prices[t],description:"OpenLitterMap",zipCode:!1,amount:100*this.prices[t]})}}},u=(n("O5P5"),n("KHd+")),c={name:"Donate",components:{DonateButtons:Object(u.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!1},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"box"},[n("h3",{staticClass:"title is-2 mb1em"},[n("strong",{staticStyle:{color:"#363636"}},[t._v("Select an amount:")])]),t._v(" "),n("div",{staticClass:"grid-container has-text-centered"},t._l(t.amounts,(function(e){return n("div",[n("div",{staticClass:"box",staticStyle:{"background-color":"lightgreen"}},[n("h3",{staticClass:"title is-3 mb1em"},[n("strong",[t._v("€"+t._s(e.amount/100))])]),t._v(" "),n("button",{staticClass:"button is-medium is-primary",on:{click:function(n){return t.donate(e.id)}}},[t._v("Donate now")])])])})),0),t._v(" "),n("h3",{staticClass:"title is-1",staticStyle:{"text-align":"right"}},[n("strong",{staticStyle:{color:"#363636"}},[t._v("Thank you.")])])])],1)}),[],!1,null,"65329fa1",null).exports},data:function(){return{loading:!0}}},h=Object(u.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"section hero is-fullheight is-primary is-bold"},[n("div",{staticClass:"container"},[n("h3",{staticClass:"title is-3"},[t._v(t._s(t.$t("home.donate.olm-dependent-on-donations")))]),t._v(" "),n("br"),t._v(" "),n("img",{staticStyle:{height:"450px",display:"block",margin:"auto","object-fit":"cover"},attrs:{src:"/assets/IMG_0556.JPG",alt:"It's important",title:"It's important"}}),t._v(" "),n("p",{staticStyle:{"text-align":"center","margin-top":"12px"}},[t._v(t._s(t.$t("home.donate.its-important")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticStyle:{"word-break":"break-all"}},[n("p",[t._v("Bitcoin: 3Cvyhhec777Dnc6a5QHZ1S8DZpL3nodZ2K")]),t._v(" "),n("p",[t._v("Bitcoin Cash: 14FEA8ckGiTf5HvYhANBAEpmvawdJpFFU6")]),t._v(" "),n("p",[t._v("Ethereum: 0x43DbD68771cEDad272dcC78c4108B543DDF8a449")]),t._v(" "),n("p",[t._v("Dash: XfLLMTKeSwXhaoUGpUJVTV9KrtGTXiMoAG")]),t._v(" "),t.loading?n("p",[t._v("Updating....")]):t._e()]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"container"},[n("donate-buttons",{on:{"donations-loaded":function(e){t.loading=!1}}})],1)])])}),[],!1,null,"225d4ccf",null);e.default=h.exports},qSlN:function(t,e,n){"use strict";n.r(e);var i={name:"SocialSection",data:function(){return{cards:[{title:"Facebook",link:"https://www.facebook.com/openlittermap/",icon:"fa fa-facebook"},{title:"Twitter",link:"https://twitter.com/OpenLitterMap",icon:"fa fa-twitter"},{title:"Instagram",link:"https://www.instagram.com/openlittermap/",icon:"fa fa-instagram"},{title:"Reddit",link:"https://www.reddit.com/r/openlittermap/",icon:"fa fa-reddit"},{title:"YouTube",link:"https://www.youtube.com/channel/UCfUT45IaIoxSCdQwv7-cTRg",icon:"fa fa-youtube"},{title:"Slack",link:"https://join.slack.com/t/openlittermap/shared_invite/zt-fdctasud-mu~OBQKReRdC9Ai9KgGROw",icon:"fa fa-slack"},{title:"LinkedIn",link:"https://www.linkedin.com/company/openlittermap/",icon:"fa fa-linkedin"},{title:"GitHub",link:"https://github.com/openlittermap",icon:"fa fa-github"}]}}},r=(n("0R12"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"hero section-social"},[e("div",{staticClass:"hero-body"},[e("div",{staticClass:"py-2 social-links"},this._l(this.cards,(function(t){return e("div",{staticClass:"social-card"},[e("a",{attrs:{href:t.link,title:t.title,target:"_blank"}},[e("i",{staticClass:"fa-4x fa-fw is-large has-text-light",class:t.icon})])])})),0)])])}),[],!1,null,"d3742836",null).exports,o={name:"HeroSection",computed:{imageStyle:function(){return'linear-gradient(to left, transparent 0%, black 100%), url("'.concat(window.location.origin,'/assets/grass.jpg")')}}},s=(n("RScH"),Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"community",style:{backgroundImage:t.imageStyle}},[n("div",{staticClass:"hero is-medium container"},[n("div",{staticClass:"hero-body community-hero"},[n("h1",{staticClass:"title has-text-white has-text-weight-bold is-size-2 is-size-1-desktop"},[t._v("\n "+t._s(t.$t("home.community.title"))+"\n ")]),t._v(" "),n("h2",{staticClass:"subtitle has-text-white-bis is-size-4 mt-1"},[t._v("\n "+t._s(t.$t("home.community.subtitle"))+"\n ")])])]),t._v(" "),t._m(0)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"copyright"},[e("a",{attrs:{target:"_blank",href:"https://www.pexels.com/photo/green-grass-field-during-sun-rise-997121/"}},[this._v("\n Photo by Peter Fazekas from Pexels\n ")])])}],!1,null,"480a7831",null).exports),l=n("o0o1"),u=n.n(l),c=n("H8ri"),h=c.e.reactiveProp;function d(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var p={name:"StatsSection",components:{StatsChart:{extends:c.c,mixins:[h],props:["options"],mounted:function(){this.renderChart(this.chartData,this.options)}}},data:function(){return{options:{aspectRatio:3,maintainAspectRatio:!1,legend:{labels:{fontColor:"whitesmoke"}},scales:{xAxes:[{gridLines:{display:!1},ticks:{fontColor:"whitesmoke"}}],yAxes:[{id:"photos",type:"linear",position:"left",gridLines:{display:!1},ticks:{fontColor:"whitesmoke"}},{id:"users",type:"linear",position:"right",gridLines:{display:!1},ticks:{fontColor:"whitesmoke"}}]}}}},computed:{stats:function(){return this.$store.state.community},yearlyStats:function(){return this.stats.statsByMonth?{labels:this.stats.statsByMonth.periods,datasets:[{label:this.$i18n.t("home.community.photos-every-month-label"),yAxisID:"photos",borderColor:"#1DD3B0",borderWidth:3,pointBackgroundColor:"#008080",pointBorderColor:"#008080",backgroundColor:"transparent",data:this.stats.statsByMonth.photosByMonth},{label:this.$i18n.t("home.community.users-every-month-label"),yAxisID:"users",borderColor:"#c2f970",borderWidth:3,pointBackgroundColor:"#008080",pointBorderColor:"#008080",backgroundColor:"transparent",data:this.stats.statsByMonth.usersByMonth}]}:{}}},mounted:function(){var t,e=this;return(t=u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_STATS");case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){d(a,i,r,o,s,"next",t)}function s(t){d(a,i,r,o,s,"throw",t)}o(void 0)}))})()},methods:{commas:function(t){return parseInt(t).toLocaleString()}}},f=(n("Tk/m"),Object(r.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero section-stats"},[n("div",{staticClass:"hero-body is-flex"},[n("div",{staticClass:"stats"},[n("div",{staticClass:"stat has-text-light has-text-centered"},[n("div",{staticClass:"total has-text-weight-bold"},[n("number",{attrs:{from:0,to:t.stats.photosPerMonth,duration:2,delay:0,easing:"Power1.easeOut",format:t.commas}})],1),t._v(" "),n("div",{staticClass:"is-size-5"},[t._v(t._s(t.$t("home.community.photos-last-30-days")))])]),t._v(" "),n("div",{staticClass:"stat has-text-light has-text-centered"},[n("div",{staticClass:"total has-text-weight-bold"},[n("number",{attrs:{from:0,to:t.stats.usersPerMonth,duration:2,delay:0,easing:"Power1.easeOut",format:t.commas}})],1),t._v(" "),n("div",{staticClass:"is-size-5"},[t._v(t._s(t.$t("home.community.users-last-30-days")))])]),t._v(" "),n("div",{staticClass:"stat has-text-light has-text-centered"},[n("div",{staticClass:"total has-text-weight-bold"},[n("number",{attrs:{from:0,to:t.stats.litterTagsPerMonth,duration:2,delay:0,easing:"Power1.easeOut",format:t.commas}})],1),t._v(" "),n("div",{staticClass:"is-size-5"},[t._v(t._s(t.$t("home.community.litter-tags-last-30-days")))])])]),t._v(" "),n("div",{staticClass:"charts mt-6"},[n("div",{staticClass:"chart"},[n("StatsChart",{attrs:{"chart-data":t.yearlyStats,options:t.options}})],1)])])])}),[],!1,null,"506fa15d",null).exports),m={name:"ZoomSection",data:function(){return{days:null,hours:null,minutes:null,isLive:!1}},mounted:function(){var t=this;setInterval((function(){var e=new Date,n=new Date;n.setUTCDate(e.getUTCDate()+(10-e.getUTCDay())%7+1);var i=new Date(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),18,0,0,0);if(i.setUTCHours(18),4===e.getDay()){var r=new Date(e.getTime());r.setUTCHours(18),r.setUTCMinutes(0),r.setUTCSeconds(0),r.setUTCMilliseconds(0);var a=new Date(r.getTime());a.setUTCHours(19),a.setUTCMinutes(30),t.isLive=e>=r&&e1,expression:"leaderboard.currentPage > 1"}],staticClass:"button is-medium mr-1",on:{click:t.loadPreviousPage}},[t._v("\n "+t._s(t.$t("common.previous"))+"\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.leaderboard.hasNextPage,expression:"leaderboard.hasNextPage"}],staticClass:"button is-medium",on:{click:t.loadNextPage}},[t._v("\n "+t._s(t.$t("common.next"))+"\n ")])]):t._e()],1)],1)])}),[],!1,null,"2b52fd53",null);e.default=h.exports},s2Pw:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Introduce un identificador para unirte a un equipo.","team-identifier":"Unirse a un equipo usando un identificador","enter-id-to-join-placeholder":"Introduce un ID para unirse a un equipo","join-team":"Unirme al equipo"}')},s306:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Ez később visszatér","claim-tokens":"Ha csak igényelni szeretné a tokenjeit, és máshonnan szeretné elérni pénztárcáját, adja meg pénztárcaazonosítóját, és elküldjük a bevételeit."}')},sE6M:function(t,e,n){"use strict";var i=n("tsbo");n.n(i).a},sEG9:function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},sFYy:function(t,e,n){var i=n("OflQ");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},sG1D:function(t){t.exports=JSON.parse('{"show-flag":"Mostrar la bandera del país","top-10":"¡Solamente los 10 líderes globales de OpenLitterMap!","top-10-challenge":"Si consigues estar entre los 10 primeros, podrás representar a tu país.","action-select":"Escribe o desplázate para seleccionar de la lista","select-country":"Selecciona tu país","save-flag":"Guardar bandera"}')},sHr0:function(t){t.exports=JSON.parse('{"login-btn":"Ingia","signup-text":"Jisajili","forgot-password":"Umesahau neno la siri?"}')},sIYV:function(t){t.exports=JSON.parse('{"title":"Team Leaderboard","position-header":"Position","name-header":"Name","photos-header":"Total Photos","litter-header":"Total Litter","created-at-header":"Created At"}')},sN9Z:function(t){t.exports=JSON.parse('{"title":"Tabela de classificação da equipe","position-header":"Posição","name-header":"Nome","photos-header":"Fotos Totais","litter-header":"Lixo Total","created-at-header":"Criado em"}')},sTxc:function(t,e,n){"use strict";var i={name:"LocationNavbar",data:function(){return{options:[{text:"A-Z",value:"alphabetical"},{text:this.$t("location.most-data"),value:"most-data"},{text:this.$t("location.most-data-person"),value:"most-data-per-person"},{text:"Total Contributors",value:"total-contributors"},{text:"First Created",value:"first-created"},{text:"Most Recently Created",value:"most-recently-created"},{text:"Most Recently Updated",value:"most-recently-updated"}]}},computed:{sortLocationsBy:{get:function(){return this.$store.state.locations.sortLocationsBy},set:function(t){this.$store.commit("setSortLocationsBy",t)}}}},r=(n("1xvw"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container w100"},[n("br"),t._v(" "),n("div",{staticClass:"control locations-control"},[n("div",{staticClass:"select"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.sortLocationsBy,expression:"sortLocationsBy"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.sortLocationsBy=e.target.multiple?n:n[0]}}},t._l(t.options,(function(e){return n("option",{key:e.value,domProps:{value:e.value}},[t._v(t._s(e.text))])})),0)])])])}),[],!1,null,"4b8d1e59",null).exports,o=n("wd/R"),s=n.n(o),l={name:"LocationMetadata",props:["index","location","locationType","category"],data:function(){return{dir:"/assets/icons/flags/"}},computed:{country:function(){return this.$store.state.locations.country},countryName:function(){return this.$store.state.locations.countryName},stateName:function(){return this.$store.state.locations.stateName},state:function(){return this.$store.state.locations.state},textSize:function(){return"A-Z"===this.category?"title is-1 flex-1 ma":"title is-3 flex-1 ma"}},methods:{getCountryFlag:function(t){if(t)return t=t.toLowerCase(),this.dir+t+".png"},getDataForLocation:function(t){if(this.$store.commit("setLocations",[]),"country"===this.locationType){var e=t.country;this.$store.commit("countryName",e),this.$router.push({path:"/world/"+e})}else if("state"===this.locationType){var n=this.countryName,i=t.state;this.$store.commit("stateName",i),this.$router.push({path:"/world/"+n+"/"+i})}else if("city"===this.locationType){var r=this.countryName,a=this.stateName,o=t.city;t.hasOwnProperty("hex")&&this.$router.push({path:"/world/"+r+"/"+a+"/"+o+"/map/"}),this.$router.push({path:"/world/"+r+"/"+a+"/"+o+"/map"})}},getLocationName:function(t){return t[this.locationType]},positions:function(t){return s.a.localeData().ordinal(t+1)}}},u=(n("dLyD"),Object(r.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"column is-3"},[n("div",{staticClass:"flex pb1"},["country"===t.locationType?n("img",{staticClass:"img-flag",attrs:{height:"15",src:t.getCountryFlag(t.location.shortcode)}}):t._e(),t._v(" "),n("h2",{class:t.textSize},[n("a",{staticClass:"is-link has-text-centered location-title",attrs:{id:t.location[t.locationType]},on:{click:function(e){return t.getDataForLocation(t.location)}}},[n("span",{directives:[{name:"show",rawName:"v-show",value:"A-Z"!==t.category&&t.index<100,expression:"category !== 'A-Z' && index < 100"}]},[t._v(t._s(t.positions(t.index))+" -")]),t._v(" "),n("span",[t._v(t._s(t.getLocationName(t.location)))])])])]),t._v(" "),n("div",{staticClass:"panel"},[n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.total-verified-litter"))+":\n "),n("strong",{staticClass:"green flex-1"},[t._v(" \n "+t._s(t.location.total_litter_redis.toLocaleString())+"\n ")]),t._v(" "),"country"===t.locationType?n("p",{staticClass:"total-photos-percentage"},[t._v("\n "+t._s((t.location.total_litter_redis/this.$store.state.locations.total_litter*100).toFixed(2)+"% Total")+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v("\n "+t._s(t.$t("location.total-verified-photos"))+":\n "),n("strong",{staticClass:"green flex-1"},[t._v(" \n "+t._s(t.location.total_photos_redis.toLocaleString())+"\n ")]),t._v(" "),"country"===t.locationType?n("p",{staticClass:"total-photos-percentage"},[t._v("\n "+t._s((t.location.total_photos_redis/this.$store.state.locations.total_photos*100).toFixed(2)+"% Total")+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("common.created"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.diffForHumans))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.number-of-contributors"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.total_contributors_redis.toLocaleString()))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.avg-img-per-person"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.avg_photo_per_user.toLocaleString()))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("location.avg-litter-per-person"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.avg_litter_per_user.toLocaleString()))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v(t._s(t.$t("common.created-by"))+": "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.created_by_name)+" "+t._s(t.location.created_by_username))])]),t._v(" "),n("div",{staticClass:"panel-block"},[t._v("Last Updated: "),n("strong",{staticClass:"green"},[t._v("  "+t._s(t.location.updatedAtDiffForHumans))])])])])}),[],!1,null,"25e6824a",null).exports),c=n("H8ri"),h={extends:c.b,name:"LitterChart",props:["litter"],data:function(){return{litterData:[],litterValues:[],colors:["#C28535","#8AAE56","#B66C46","#EAE741","#BFE5A6","#FFFFFF","#BF00FE","#add8e6"]}},mounted:function(){var t=this;Object.keys(this.litter).map((function(e){t.litter[e]&&(t.litterData.push(e),t.litterValues.push(t.litter[e]))})),this.renderChart({labels:this.litterData,datasets:[{label:"Collected",backgroundColor:this.litterValues.map((function(e,n){return t.colors[n]})),data:this.litterValues}]},{responsive:!0,maintainAspectRatio:!0,legend:{labels:{fontColor:"#ffffff"}}})}},d=Object(r.a)(h,void 0,void 0,!1,null,null,null).exports,p={extends:c.b,name:"BrandsChart",props:["brands"],data:function(){return{myArray:[],top10keys:[],top10values:[]}},mounted:function(){var t=this;for(var e in Object.keys(this.brands).map((function(e,n){t.brands[e]&&t.myArray.push({key:e,value:t.brands[e]})})),this.myArray.sort((function(t,e){return e.value-t.value})),this.myArray)e<9&&this.myArray[e].value>0&&(this.top10keys.push(this.myArray[e].key),this.top10values.push(this.myArray[e].value));this.renderChart({labels:this.top10keys,datasets:[{label:"Collected",backgroundColor:this.myComputedBackgrounds,data:this.top10values}]},{responsive:!1,maintainAspectRatio:!0,legend:{labels:{fontColor:"#ffffff"}}})},computed:{myComputedBackgrounds:function(){return 0==this.top10keys.length?["#C28535"]:1==this.top10keys.length?["#C28535","#8AAE56"]:2==this.top10keys.length?["#C28535","#8AAE56","#B66C46"]:3==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741"]:4==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000"]:5==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6"]:6==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF"]:7==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF","#BF00FE"]:8==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF","#BF00FE","#ccc"]:9==this.top10keys.length?["#C28535","#8AAE56","#B66C46","#EAE741","#FF0000","#BFE5A6","#FFFFFF","#BF00FE","#000000"]:void 0}}},f={name:"ChartsContainer",components:{LitterChart:d,BrandsChart:Object(r.a)(p,void 0,void 0,!1,null,null,null).exports},props:["litter_data","brands_data","total_brands"]},m=Object(r.a)(f,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("nav",{staticClass:"level"},[e("div",{staticClass:"level-item"},[e("litter-chart",{attrs:{width:300,height:300,litter:this.litter_data}})],1),this._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:this.total_brands,expression:"this.total_brands"}],staticClass:"level-item"},[e("brands-chart",{attrs:{width:300,height:300,brands:this.brands_data}})],1)])])}),[],!1,null,null,null).exports,g={extends:c.a,name:"TimeSeries",props:["ppm"],data:function(){return{months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}},mounted:function(){var t=[],e=[];for(var n in this.ppm)t.push(this.months[parseInt(n.substring(0,2))-1]+n.substring(2,5)),e.push(this.ppm[n]);this.renderChart({labels:t,datasets:[{label:"Verified Photos",backgroundColor:"#FF0000",data:e,fill:!1,borderColor:"red",maxBarThickness:"50"}]},{responsive:!0,maintainAspectRatio:!1,legend:{labels:{fontColor:"#000000"}},scales:{xAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#000000"}}],yAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#000000"}}]}})}},v={name:"TimeSeriesContainer",props:["ppm"],components:{TimeSeries:Object(r.a)(g,void 0,void 0,!1,null,null,null).exports},computed:{checkWidth:function(){return window.screen.width>1e3?600:300}}},y=Object(r.a)(v,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container has-text-center"},[e("time-series",{attrs:{width:this.checkWidth,height:500,ppm:this.ppm}})],1)}),[],!1,null,null,null).exports,_={name:"Leaderboard",props:["leaderboard"],data:function(){return{positions:["1st","2nd","3rd","4th","5th","6th","7th","8th","9th","10th"]}}},b=Object(r.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-three-quarters is-offset-1"},[n("table",{staticClass:"table is-fullwidth",staticStyle:{"background-color":"transparent"}},[t._m(0),t._v(" "),t._l(t.leaderboard,(function(e,i){return n("tr",{staticClass:"wow slideInLeft"},[n("td",[t._v(t._s(t.positions[i]))]),t._v(" "),e.name||e.username?n("td",[t._v(t._s(e.name)+" "+t._s(e.username))]):n("td",[t._v(t._s(t.$t("common.anonymous")))]),t._v(" "),n("td",[t._v(t._s(e.xp))])])}))],2)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("th",[this._v("Position")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("XP")])])}],!1,null,null,null).exports,w=n("SXG0"),x=n.n(w),k=(n("JN9a"),{name:"Options",components:{vueSlider:x.a},props:["time","index"],mounted:function(){var t=JSON.parse(this.time);this.dates=Object.keys(t),this.min=this.dates[0],this.max=this.dates[this.dates.length-1]},data:function(){return{dates:[],min:"",max:"",hexValue:100}},computed:{getSliderId:function(){return"slider_"+this.index}},methods:{update:function(){var t=this.$refs.dates.getValue(),e=this.$refs.hex.getValue();this.$store.commit("updateCitySlider",{dates:t,hex:e,index:this.index})}}}),C=Object(r.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h3",{staticClass:"title is-3"},[t._v("Filter temporally:")]),t._v(" "),n("br"),t._v(" "),n("vue-slider",{ref:"dates",attrs:{data:this.dates,value:[this.dates[0],this.dates[this.dates.length-1]]},on:{"drag-end":t.update}}),t._v(" "),n("br"),t._v(" "),n("h3",{staticClass:"title is-3"},[t._v("Choose a hex size (meters):")]),t._v(" "),n("vue-slider",{ref:"hex",attrs:{max:500,min:10,value:100},on:{"drag-end":t.update}})],1)}),[],!1,null,null,null).exports,T=n("o0o1"),E=n.n(T);function S(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var P={name:"Download",props:["locationType","locationId"],data:function(){return{email:"",emailEntered:!1}},methods:{download:function(){var t,e=this;return(t=E.a.mark((function t(){return E.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("DOWNLOAD_DATA",{locationType:e.locationType,locationId:e.locationId,email:e.email});case 2:e.email="",e.emailEntered=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){S(a,i,r,o,s,"next",t)}function s(t){S(a,i,r,o,s,"throw",t)}o(void 0)}))})()},textEntered:function(){this.emailEntered=!!this.email.match(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/)}},computed:{isAuth:function(){return this.$store.state.user.auth},disableDownloadButton:function(){return!this.isAuth&&!this.emailEntered}}},L=Object(r.a)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"title is-3"},[t._v(t._s(t.$t("location.download-open-verified-data")))]),t._v(" "),n("h1",{staticClass:"title is-3"},[t._v(t._s(t.$t("location.stop-plastic-ocean")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!t.isAuth,expression:"!isAuth"}],staticClass:"mb1"},[t._v(t._s(t.$t("location.enter-email-sent-data")))]),t._v(" "),n("input",{directives:[{name:"show",rawName:"v-show",value:!t.isAuth,expression:"!isAuth"},{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input mb1em fs125",attrs:{placeholder:t.$t("common.your-email"),type:"email",name:"email",required:"",autocomplete:"email"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.textEntered]}}),t._v(" "),n("button",{staticClass:"button is-large is-danger mb1",attrs:{disabled:t.disableDownloadButton},on:{click:t.download}},[t._v(t._s(t.$t("common.download")))]),t._v(" "),n("p",[t._v("© OpenLitterMap & Contributors.")])])}),[],!1,null,null,null).exports,I=n("myLu"),O={name:"SortLocations",props:["locationType"],components:{LocationNavbar:a,LocationMetadata:u,ChartsContainer:m,TimeSeriesContainer:y,Leaderboard:b,Options:C,Download:L},data:function(){return{tab:"",tabs:[{title:this.$t("location.litter"),component:"ChartsContainer",in_location:"all"},{title:this.$t("location.time-series"),component:"TimeSeriesContainer",in_location:"all"},{title:this.$t("location.leaderboard"),component:"Leaderboard",in_location:"all"},{title:this.$t("location.options"),component:"Options",in_location:"city"},{title:this.$t("common.download"),component:"Download",in_location:"all"}]}},computed:{container:function(){return 0===this.orderedBy.length?"vh65":""},isAuth:function(){return this.$store.state.user.auth},orderedBy:function(){return"alphabetical"===this.sortedBy?this.locations:"most-data"===this.sortedBy?I(this.locations,"total_litter_redis").reverse():"most-data-per-person"===this.sortedBy?I(this.locations,"avg_litter_per_user").reverse():"most-recently-updated"===this.sortedBy?I(this.locations,"updated_at").reverse():"total-contributors"===this.sortedBy?I(this.locations,"total_contributors_redis").reverse():"first-created"===this.sortedBy?I(this.locations,"created_at"):"most-recently-created"===this.sortedBy?I(this.locations,"created_at").reverse():[]},locations:function(){return this.$store.state.locations.locations},sortedBy:function(){return this.$store.state.locations.sortLocationsBy}},methods:{loadTab:function(t){this.tab=t},tabClass:function(t){return t===this.tab?"l-tab is-active":"l-tab"},showTab:function(t){return"all"===t||this.locationType===t},updateUrl:function(t){}}},A=(n("W0c7"),Object(r.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"inner-locations-container",class:t.container},[n("location-navbar"),t._v(" "),t._l(t.orderedBy,(function(e,i){return n("section",{key:i},[n("br"),t._v(" "),n("h1",{staticClass:"title is-1 has-text-centered world-cup-title"},[t._v("\n #LitterWorldCup\n ")]),t._v(" "),n("div",{staticClass:"hero-body location-container"},[n("div",{staticClass:"columns"},[n("LocationMetadata",{attrs:{index:i,location:e,locationType:t.locationType,category:t.sortedBy}}),t._v(" "),n("div",{staticClass:"column is-half is-offset-1"},[n("p",{staticClass:"show-mobile"},[t._v("Drag these across for more options")]),t._v(" "),n("div",{staticClass:"tabs is-center"},t._l(t.tabs,(function(e,i){return n("a",{directives:[{name:"show",rawName:"v-show",value:t.showTab(e.in_location),expression:"showTab(tab.in_location)"}],key:i,class:t.tabClass(e),on:{click:function(n){return t.loadTab(e.component)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t\t")])})),0),t._v(" "),n(t.tab,{tag:"component",attrs:{litter_data:e.litter_data,brands_data:e.brands_data,total_brands:e.total_brands,ppm:e.ppm,leaderboard:e.leaderboard,time:e.time,index:i,locationType:t.locationType,locationId:e.id},on:{dateschanged:t.updateUrl}})],1)],1)])])}))],2)}),[],!1,null,"49e9ba08",null));e.a=A.exports},sVoB:function(t,e,n){var i=n("V47G");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},sX8j:function(t){t.exports=JSON.parse('{"allowed-to-create":"Tienes permito crear {teams} equipo(s)","what-kind-of-team":"¿Qué clase de equipo te gustaría crear?","team-type":"Tipo de equipo","team-name":"Nombre del equipo","my-awesome-team-placeholder":"Mi Super Equipo","unique-team-id":"Identificador de Equipo Único","id-to-join-team":"Cualquiera con este identificador podrá unirse a tu equipo.","create-team":"Crear equipo","update-team":"Actualizar el equipo","created":"¡Enhorabuena! Se ha creado tu nuevo equipo.","updated":"Equipo actualizado.","select-team":"Seleccionar un equipo","fail":"Hubo un error al crear tu equipo","max-created":"No tienes permitido crear más equipos."}')},slj6:function(t){t.exports=JSON.parse('{"change-password":"Changer Mon Mot de passe","enter-old-password":"Entrez ancien mot de passe","enter-new-password":"Entrez nouveau mot de passe","enter-strong-password":"Entrez un mot de passe sécurisé","confirm-new-password":"Confirmez votre nouveau mot de passe","repeat-strong-password":"Réécrivez votre mot de passe sécurisé","update-password":"Mettre à jour le mot de passe"}')},"snC/":function(t,e,n){"use strict";var i=n("UxKL");n.n(i).a},ssMp:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Zanieczyszczenie plastikiem wymknęło się spod kontroli","fires-out-of-control":"Niedopałki papierosów mogą wywołać pożar","glass-hurts-pets":"Rozbite szkło boli zwierzęta","climate-change-out-of-control":"Plastik przyspiesza zmianę klimatu","help-us":"Pomóż nam stworzyć najbardziej zaawansowaną na świecie otwartą bazę danych o śmieciach, markach i zanieczyszczeniu plastikiem","why-collect-data":"Dlaczego powinniśmy zbierać dane","visibility":"Widoczność","our-maps-reveal-litter-normality":"Dla wielu ludzi śmieci stały się normalne i niewidoczne. Mapy są potężne, ponieważ przekazują to, czego zwykle nie możemy zobaczyć","science":"Rozwiązywanie problemów","our-data-open-source":"Nasze dane są otwarte i dostępne. Każdy ma równe, otwarte i nieograniczone prawa do pobierania wszystkich naszych danych i wykorzystywania ich w dowolnym celu","community":"Społeczność","must-work-together":"Potrzebujemy Twojej pomocy, aby zmienić paradygmat w sposobie, w jaki rozumiemy zanieczyszczenie i reagujemy na nie","how-does-it-work":"Jak to działa","take-a-photo":"Zrób zdjęcie","device-captures-info":"Twoje urządzenie może przechwytywać cenne informacje o lokalizacji, czasie, przedmiocie, materiale i marce.","tag-the-litter":"Oznacz śmieci","tag-litter-you-see":"Po prostu oznacz, jaki śmieć widzisz na zdjęciu. Możesz oznaczyć, czy śmieci zostały zebrane, czy nadal tam są. Możesz również przesłać swoje zdjęcia w dowolnym momencie","share-results":"Podziel się wynikami","share":"Udostępnij mapy lub pobierz nasze dane. Pokażmy wszystkim, jak bardzo zanieczyszczony jest świat","verified":"Twój email został potwierdzony! Możesz się teraz zalogować.","close":"Zamknij","our-partners":"Nasi Partnerzy","become-a-partner":"Zostać partnerem"}')},syxb:function(t){t.exports=JSON.parse('{"taken-on":"Zrobione","with-a":"Przy użyciu","by":"Przez","meter-hex-grids":"metrowe siatki sześciokątne","hover-to-count":"Najedź kursorem, aby policzyć","pieces-of-litter":"Kawałki śmieci","hover-polygons-to-count":"Najedź kursorem na wielokąty, aby policzyć"}')},"t+I/":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.is-purp[data-v-97472472] {\n color: #8e7fd6;\n}\n.is-white[data-v-97472472] {\n color: white !important;\n}\n.is-secondary[data-v-97472472] {\n color: #1DD3B0;\n}\n",""])},t2E5:function(t){t.exports=JSON.parse('{"login-btn":"Zaloguj się","signup-text":"Załóż Konto","forgot-password":"Zapomniane hasło?"}')},t5Ox:function(t,e,n){"use strict";var i=n("gCZh");n.n(i).a},"tIw/":function(t){t.exports=JSON.parse('{"card-number":"Número de tarjeta","card-holder":"Nombre del titular","exp":"Fecha de caducidad","cvv":"CVV (código de seguridad)","placeholders":{"card-number":"Tu número de tarjeta de 16 dígitos","card-holder":"Nombre del titular de la tarjeta","exp-month":"Mes","exp-year":"Año","cvv":"***"}}')},tQEm:function(t,e,n){var i=n("DACc");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},tiDI:function(t){t.exports=JSON.parse('{"new-image":"Nowy Obraz","new-user":"Nowy Użytkownik","new-country":"Nowy Kraj","new-state":"Nowy Stan","new-city":"Nowe Miasto","user-signed-up":"Nowy użytkownik zarejestrował się!","say-hello-to":"Powitaj się","littercoin-mined":"Littercoin został wydobyty!","littercoin-100-boxes-verified":"100 zweryfikowanych pudełek OpenLitterAI","littercoin-100-verified":"100 zweryfikowanych obrazów","team-created":"Utworzono nowy Zespół!","litter-picked-up":"Zbieranie Śmieci","litter-uploaded":"Przesłany Miot"}')},tkaX:function(t){t.exports=JSON.parse('{"finance":"Támogassa az OpenLitterMap fejlesztését","help":"Szükségünk van a segítségedre.","support":"Nyílt adatok támogatása a műanyagszennyezésről","help-costs":"Segíts költségeinket fedezni","help-hire":"Béreljen fel fejlesztőket, tervezőket és diplomásokat","help-produce":"Készíts videókat","help-write":"Irj Tanulmányokat","help-outreach":"Konferenciák és tájékoztatás","help-incentivize":"Ösztönözze az adatgyűjtést a Littercoin segítségével","more-soon":"További izgalmas frissítések hamarosan","click-to-support":"Kattintson ide a támogatáshoz"}')},tmUW:function(t,e){L.Map.mergeOptions({smoothWheelZoom:!0,smoothSensitivity:1}),L.Map.SmoothWheelZoom=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,"wheel",this._onWheelScroll,this)},removeHooks:function(){L.DomEvent.off(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){this._isWheeling||this._onWheelStart(t),this._onWheeling(t)},_onWheelStart:function(t){var e=this._map;this._isWheeling=!0,this._wheelMousePosition=e.mouseEventToContainerPoint(t),this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),this._wheelStartLatLng=e.containerPointToLatLng(this._wheelMousePosition),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),e._panAnim&&e._panAnim.stop(),this._goalZoom=e.getZoom(),this._prevCenter=e.getCenter(),this._prevZoom=e.getZoom(),this._zoomAnimationId=requestAnimationFrame(this._updateWheelZoom.bind(this))},_onWheeling:function(t){var e=this._map;this._goalZoom=this._goalZoom+.003*L.DomEvent.getWheelDelta(t)*e.options.smoothSensitivity,(this._goalZoome.getMaxZoom())&&(this._goalZoom=e._limitZoom(this._goalZoom)),clearTimeout(this._timeoutId),this._timeoutId=setTimeout(this._onWheelEnd.bind(this),200),L.DomEvent.preventDefault(t),L.DomEvent.stopPropagation(t)},_onWheelEnd:function(t){this._isWheeling=!1,cancelAnimationFrame(this._zoomAnimationId),this._map._moveEnd(!0)},_updateWheelZoom:function(){var t=this._map;if(t.getCenter().equals(this._prevCenter)&&t.getZoom()==this._prevZoom){this._zoom=t.getZoom()+.3*(this._goalZoom-t.getZoom()),this._zoom=Math.floor(100*this._zoom)/100;var e=this._wheelMousePosition.subtract(this._centerPoint);0===e.x&&0===e.y||("center"===t.options.smoothWheelZoom?this._center=this._startLatLng:this._center=t.unproject(t.project(this._wheelStartLatLng,this._zoom).subtract(e),this._zoom),this._moved||(t._moveStart(!0,!1),this._moved=!0),t._move(this._center,this._zoom),this._prevCenter=t.getCenter(),this._prevZoom=t.getZoom(),this._zoomAnimationId=requestAnimationFrame(this._updateWheelZoom.bind(this)))}}}),L.Map.addInitHook("addHandler","smoothWheelZoom",L.Map.SmoothWheelZoom)},toXO:function(t,e,n){"use strict";var i=n("Q+hE");n.n(i).a},tsbo:function(t,e,n){var i=n("Jqpr");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},tulk:function(t){t.exports=JSON.parse('{"maps1":"Estamos creando Datos Abiertos sobre la contaminación por plásticos","maps2":"Cualquiera puede descargar los datos y utilizarlos.","maps3":"Mapa Global","global-leaderboard":"Tabla de Clasificación Global","position":"Posición","name":"Nombre","xp":"XP","social":"Social","previous-target":"Objetivo previo","next-target":"Próximo objetivo","litter":"Basura","total-verified-litter":"Total de basura verificada","total-verified-photos":"Total de fotos verificadas","total-littercoin-issued":"Total de Littercoin emitidos","number-of-contributors":"Número de colaboradores","avg-img-per-person":"Media de imágenes por persona","avg-litter-per-person":"Media de basura por persona","leaderboard":"Tabla de clasificación","time-series":"Series temporales","options":"Opciones","most-data":"Con más datos abiertos","most-data-person":"Con más datos abiertos por persona","download-open-verified-data":"Datos verificados, libres y abiertos de ciencia ciudadana sobre la contaminación por plásticos.","stop-plastic-ocean":"Evitemos que el plástico llegue al océano.","enter-email-sent-data":"Indica una dirección de correo electrónico a la que se enviarán los datos:"}')},tzsb:function(t,e,n){"use strict";var i=n("tQEm");n.n(i).a},u5mE:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function a(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var o={name:"Presence",data:function(){return{processing:!1}},methods:{toggle:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("TOGGLE_LITTER_PICKED_UP_SETTING");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))})()}},computed:{button:function(){return this.processing?"button is-info is-loading":"button is-info"},picked_up:function(){return!this.$store.state.user.user.items_remaining},text:function(){return this.picked_up?"Your litter will be logged as picked up.":"Your litter is logged as not picked up."}}},s=n("KHd+"),l=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.presence.do-you-pickup")))]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("settings.presence.save-def-settings")))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("settings.presence.change-value-of-litter")))]),t._v(" "),n("p",[t._v(t._s(t.$t("settings.presence.status")))]),t._v(" "),n("br"),t._v(" "),n("p",[n("b",[t._v(t._s(t.$t("settings.presence.toggle-presence"))+":")])]),t._v(" "),n("p",[n("b",{style:t.picked_up?"color: green":"color: red"},[t._v(t._s(this.text))])]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("div",{staticClass:"row"},[n("button",{class:t.button,attrs:{disabled:t.processing},on:{click:t.toggle}},[t._v(t._s(t.$t("settings.presence.pickup?")))])])])])])}),[],!1,null,null,null);e.default=l.exports},u8o6:function(t){t.exports=JSON.parse('{"show-flag":"Show Country Flag","top-10":"Top 10 Global OpenLitterMap Leaders only!","top-10-challenge":"If you can make the top 10, you can represent your country!","action-select":"Type or scroll to select from the list","select-country":"Select your country","save-flag":"Save Flag"}')},uA4O:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Álcool","art":"Arte","brands":"Marcas","coastal":"Costeiro","coffee":"Café","dumping":"Despejo","food":"Comida","industrial":"Industrial","sanitary":"Sanitário","softdrinks":"Refrigerantes","smoking":"Fumar","other":"Outros","dogshit":"Pets","material":"Material"},"smoking":{"butts":"Cigarros/Bitucas","lighters":"Isqueiros","cigaretteBox":"Caixa de cigarros","tobaccoPouch":"Bolsa de Tabaco","skins":"Papéis para enrolar","smoking_plastic":"Pacote de plástico","filters":"Filtros","filterbox":"Caixa de filtro","vape_pen":"Vape caneta","vape_oil":"Óleo de vapor","smokingOther":"Fumar-Outros"},"alcohol":{"beerBottle":"Garrafas de cerveja","spiritBottle":"Garrafas de espírito","wineBottle":"Garrafas de vinho","beerCan":"Latas de cerveja","brokenGlass":"Vidro quebrado","bottleTops":"Tampas de garrafa de cerveja","paperCardAlcoholPackaging":"Embalagem de papel","plasticAlcoholPackaging":"Pacote de plástico","pint":"Copo de cerveja","six_pack_rings":"Anéis de seis pacotes","alcohol_plastic_cups":"Copos de plastico","alcoholOther":"Álcool-Outros"},"art":{"item":"Arte de Lixo"},"coffee":{"coffeeCups":"Xícaras de café","coffeeLids":"Tampas de café","coffeeOther":"Café-Outros"},"food":{"sweetWrappers":"Embalagens de doces","paperFoodPackaging":"Embalagem de papel/cartão","plasticFoodPackaging":"Pacote de plástico","plasticCutlery":"Talheres de plástico","crisp_small":"Pacote de batatas fritas/chips (pequeno)","crisp_large":"Pacote de batatas fritas/chips (grande)","styrofoam_plate":"Prato de isopor","napkins":"Guardanapos","sauce_packet":"Pacote de molho","glass_jar":"Jarra de vidro","glass_jar_lid":"Tampa do Frasco de Vidro","aluminium_foil":"Folha de alumínio","pizza_box":"Caixa de pizza","foodOther":"Comida-Outros","chewing_gum":"Goma de mascar"},"softdrinks":{"waterBottle":"Garrafa de água de plástico","fizzyDrinkBottle":"Garrafa de refrigerante de plástico","tinCan":"Lata","bottleLid":"Tampinhas de Garrafas","bottleLabel":"Rótulos de Garrafas","sportsDrink":"Garrafa de bebida esportiva","straws":"Canudos","plastic_cups":"Copos de plastico","plastic_cup_tops":"Tampos de copos de plástico","milk_bottle":"Garrafa de leite","milk_carton":"Caixa de leite","paper_cups":"Copos de papel","juice_cartons":"Caixas de suco","juice_bottles":"Garrafas de suco","juice_packet":"Pacote de Suco","ice_tea_bottles":"Garrafas de chá gelado","ice_tea_can":"Lata de chá gelado","energy_can":"Lata de energético","pullring":"Anel de puxar","strawpacket":"Embalagem de palha","styro_cup":"Copo de isopor","broken_glass":"Vidro quebrado","softDrinkOther":"Refrigerante-Outro"},"sanitary":{"gloves":"Luvas","facemask":"Máscara","condoms":"Preservativos","nappies":"Fraldas","menstral":"Menstrual","deodorant":"Desodorante","ear_swabs":"Cotonetes","tooth_pick":"Palito de dente","tooth_brush":"Escova de dente","wetwipes":"Lenços umedecidos","hand_sanitiser":"Desinfetante para as mãos","sanitaryOther":"Sanitário-Outro"},"dumping":{"small":"Pequeno","medium":"Médio","large":"Grande"},"industrial":{"oil":"Óleo","industrial_plastic":"Plástico","chemical":"Químico","bricks":"Tijolos","tape":"Fita","industrial_other":"Industrial-Outro"},"coastal":{"microplastics":"Microplásticos","mediumplastics":"Plásticos médios","macroplastics":"Macroplásticos","rope_small":"Corda pequena","rope_medium":"Corda média","rope_large":"Corda grande","fishing_gear_nets":"Equipamentos/redes de pesca","ghost_nets":"Redes fantasmas","buoys":"Bóias","degraded_plasticbottle":"Garrafa Plástica Degradada","degraded_plasticbag":"Saco Plástico Degradado","degraded_straws":"Canudos Degradados","degraded_lighters":"Isqueiros Degradados","balloons":"Balões","lego":"Lego","shotgun_cartridges":"Cartuchos de espingarda","styro_small":"Isopor pequeno","styro_medium":"Isopor médio","styro_large":"Isopor grande","coastal_other":"Litoral-Outro"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Lixo de cachorro","littercat":"Lixo de gato","duck":"Lixo de pato"},"other":{"dogshit":"Cocô de cachorro","pooinbag":"Cocô de cachorro no saco","automobile":"Automóvel","clothing":"Roupas","traffic_cone":"Cone de tráfego","life_buoy":"Bóia salva-vidas","plastic":"Plástico não identificado","dump":"Despejo ilegal","metal":"Objeto Metálico","plastic_bags":"Sacos de plástico","election_posters":"Cartazes eleitorais","forsale_posters":"Cartazes à venda","books":"Livros","magazine":"Revistas","paper":"Papel","stationary":"Papelaria","washing_up":"Garrafa de Lavagem","hair_tie":"Presilha de cabelo","ear_plugs":"Tampões de ouvido (música)","batteries":"Baterias","elec_small":"Elétrico pequeno","elec_large":"Elétrico grande","random_litter":"Lixo Aleatória","balloons":"Balões","bags_litter":"Sacos de lixo","overflowing_bins":"Caixas Transbordando","tyre":"Pneu","cable_tie":"Abraçadeira","other":"Outros-Outros"},"presence":{"picked-up":"Eu peguei!","still-there":"Não foi recolhido!","picked-up-text":"Foi-se.","still-there-text":"O lixo ainda está lá!"},"no-tags":"Sem Tags","not-verified":"Aguardando verificação","not-tagged-yet":"Ainda não marcado!","dogshit":{"poo":"Surpresa!","poo_in_bag":"Surpresa em um saco!"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Carbon Fiber","ceramic":"Ceramic","composite":"Composite","concrete":"Concrete","copper":"Copper","fiberglass":"Fiberglass","glass":"Glass","iron_or_steel":"Iron/Steel","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Paper","plastic":"Plastic","polyethylene":"Polyethylene","polymer":"Polymer","polypropylene":"Polypropylene","polystyrene":"Polystyrene","pvc":"PVC","rubber":"Rubber","titanium":"Titanium","wood":"Wood"}}')},uCbU:function(t,e,n){var i=n("EHpN");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},uD9k:function(t){t.exports=JSON.parse('{"description":"Esses links aparecerão em todas as fotos que você carregou, no Mapa Global. Forneça URLs completos.","personal-website":"Site Pessoal","personal-website-url":"URL do Site Pessoal"}')},uFkq:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Dit komt later terug","claim-tokens":"Als je je tokens wilt claimen en je portemonnee vanuit andere locaties benaderen, voer dan je portemonnee-id in en je krijgt je verdiensten toegestuurd."}')},uKBK:function(t,e,n){"use strict";var i=n("0pvQ");n.n(i).a},uWY9:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Weryfikacja zdjęć","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Zweryfikuj ramki","about":"O nas","global-map":"Globalna Mapa","world-cup":"Mistrzostwa Świata","community":"Społeczność","upload":"Prześlij dane","more":"Więcej","tag-litter":"Taguj Śmieci","profile":"Profile","settings":"Ustawienia","bounding-boxes":"ramki ograniczające","logout":"Wyloguj","login":"Zaloguj","signup":"Załóż konto","teams":"Drużyny"}')},uc3R:function(t,e,n){"use strict";var i=n("X2CC");n.n(i).a},ujGR:function(t){t.exports=JSON.parse('{"olm-teams":"Équipes OpenLitterMap","dashboard":"Tableau de bord","join-a-team":"Rejoindre une équipe","create-a-team":"Créer une Équipe","your-teams":"Vos Équipes","leaderboard":"Tableau des scores","settings":"Paramètres","teams-dashboard":"Tableau de bord des Équipes","photos-uploaded":"Photos téléchargées","litter-tagged":"Déchets tagués","members-uploaded":"Membres de l\'équipe ajoutés","all-teams":"Toutes les Équipes","times":{"today":"Aujourd\'hui","week":"Cette semaine","month":"Ce mois","year":"Cette année","all":"Toute période comprise","created_at":"Téléchargée à","datetime":"Prise à"}}')},uvWH:function(t){t.exports=JSON.parse('{"success":"Gelukt","error":"Fout!","settings-updated":"Instellingen succesvol geüpdatet!","tags-added":"Gelukt! Je foto labels zijn toegevoegd","subscription-cancelled":"Je abonnement is beëindigd","privacy-updated":"Je Privacy Instellingen zijn opgeslagen","litter-toggled":"Opgeruimd schakelaar bijgewerkt","settings":{"subscribed":"Je bent geabonneerd op aanpassingen en goed-nieuws-berichten!","unsubscribed":"Je bent niet langer geabonneerd. Je zult geen goed-nieuws-berichten meer ontvangen!","flag-updated":"Je vlag is aangepast"},"something-went-wrong":"Er is iets fout gegaan. Probeer het opnieuw of neem contact met ons op!"}')},v8ui:function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcool","art":"Art","brands":"Marque","coastal":"Côtier","coffee":"Café","dumping":"Dumping","food":"nourriture","industrial":"Industriel","sanitary":"Produits d\'hygiène","softdrinks":"Boisson sans alcool","smoking":"Tabac","other":"Autre","material":"Matériaux","dogshit":"Animeaux"},"smoking":{"butts":"Cigarettes/Mégots","lighters":"Briquets","cigaretteBox":"Cartouche de cigarette","tobaccoPouch":"Blague à tabac","skins":"Papier à rouler","smoking_plastic":"Etuie plastique","filters":"Filtres","filterbox":"Boite à filtre","vape_pen":"Vapoteuse","vape_oil":"E-liquide","smokingOther":"Tabac-autre"},"alcohol":{"beerBottle":"Bouteille de bière","spiritBottle":"Bouteille de spiritueux","wineBottle":"Bouteille de vin","beerCan":"canettes de bière","brokenGlass":"Tessons de bouteille","bottleTops":"Beer bottle tops","paperCardAlcoholPackaging":"Emballage papier","plasticAlcoholPackaging":"Emballage plastique","pint":"Verre à pinte","six_pack_rings":"Emaballage de canettes","alcohol_plastic_cups":"Gobelet plastique","alcoholOther":"Alcool-autre"},"art":{"item":"Trash art"},"coffee":{"coffeeCups":"Tasse à café","coffeeLids":"Couvercle de tasse","coffeeOther":"Café-autre"},"food":{"sweetWrappers":"Emballages de bonbon","paperFoodPackaging":"Emballages papier/carton","plasticFoodPackaging":"Emballage plastique","plasticCutlery":"Couvert plastique","crisp_small":"Petit paquet de chips","crisp_large":"Grand paquet de chips","styrofoam_plate":"Assiette","napkins":"Serviette","sauce_packet":"Sachet de sauce","glass_jar":"Conserve en verre","glass_jar_lid":"Couvercle de conserve","aluminium_foil":"Papier aluminium","pizza_box":"Carton de pizza","foodOther":"Nourriture-autre","chewing_gum":"Chewing Gum"},"softdrinks":{"waterBottle":"Bouteille plastique","fizzyDrinkBottle":"Bouteille de soda","tinCan":"canette","bottleLid":"Bouchon de bouteille","bottleLabel":"Etiquette de bouteille","sportsDrink":"Boisson énergisante","straws":"Paille","plastic_cups":"Gobelet palstique","plastic_cup_tops":"Couvercle de gobelet plastique","milk_bottle":"Bouteille de lait","milk_carton":"Brique de lait","paper_cups":"Gobelet papier","juice_cartons":"Brique de jus","juice_bottles":"Bouteille de jus","juice_packet":"Bouteille de jus en carton","ice_tea_bottles":"Bouteille de thé glacé","ice_tea_can":"Canette de thé glacé ","energy_can":"Canette de boisson énérgisante","pullring":"Anneau d\'ouverture","strawpacket":"gobelet avec paille","styro_cup":"Gobelet en polystyrène","broken_glass":"Bris de verre","softDrinkOther":"Boisson S.A-autre"},"sanitary":{"gloves":"Gants","facemask":"Masques","condoms":"Présérvatifs","nappies":"Couches","menstral":"Menstral","deodorant":"Deodorant","ear_swabs":"Cotons tiges","tooth_pick":"Tooth Pick","tooth_brush":"Cure-dent","wetwipes":"Lingettes humide","hand_sanitiser":"gel hydroalcoolique","sanitaryOther":"Produit d\'hygiène-autre"},"dumping":{"small":"Small","medium":"Medium","large":"Large"},"industrial":{"oil":"Huile","industrial_plastic":"Plastique","chemical":"Produit chimique","bricks":"Brique","tape":"Ruban adhésif","industrial_other":"Industriel-autre"},"coastal":{"microplastics":"Petit plastiques","mediumplastics":"Plastiques moyen","macroplastics":"Grand plastiques","rope_small":"Petite corde","rope_medium":"Corde moyenne","rope_large":"Grande corde","fishing_gear_nets":"Outils de pêche/filets","ghost_nets":"Filet fantôme","buoys":"Bouées","degraded_plasticbottle":"Bouteille plastique détériorée","degraded_plasticbag":"Sac en plastique détériorés","degraded_straws":"Pailles détériorées","degraded_lighters":"Briquets détériorés","balloons":"Ballons","lego":"Lego","shotgun_cartridges":"Cartouche de fusil à pompe","styro_small":"Petit polystyrène","styro_medium":"polystyrène moyen","styro_large":"Grand polystyrène","coastal_other":"Côtier-autre"},"brands":{"aadrink":"AA Drink","acadia":"Acadia","adidas":"Adidas","albertheijn":"AlbertHeijn","aldi":"Aldi","amazon":"Amazon","amstel":"Amstel","anheuser_busch":"Anheuser-Busch","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","bacardi":"Bacardi","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","bullit":"Bullit","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","calanda":"Calanda","camel":"Camel","caprisun":"Capri Sun","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fanta":"Fanta","fernandes":"Fernandes","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","goldenpower":"Golden Power","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","hertog_jan":"Hertog Jan","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lavish":"Lavish","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lipton":"Lipton","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","modelo":"Modelo","molson_coors":"Molson Coors","monster":"Monster","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","ok_":"ok.–","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","schutters":"Schutters","seven_eleven":"7-Eleven","slammers":"Slammers","spa":"Spa","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","tim_hortons":"Tim Hortons","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wendys":"Wendy\'s","wilde_and_greene":"Wilde-and-Greene","winston":"Winston","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Déjection canine","littercat":"Litière pour chat","duck":"Litière pour canard"},"other":{"dogshit":"Déjection canine","pooinbag":"Déjection canine en sachet","automobile":"Automobile","clothing":"Vétement","traffic_cone":"Plot de signalisation","life_buoy":"Bouée de sauvetage","plastic":"Plastique non identifié","dump":"Déversement illégal","metal":"Objet métallique","plastic_bags":"Sacs en plastique","election_posters":"Affiche éléctoral","forsale_posters":"Affiche promotionnel","books":"Livres","magazine":"Magazines","paper":"Papier","stationary":"Papeterie","washing_up":"Bouteille de savon","hair_tie":"Elastique à cheveux","ear_plugs":"Ecouteurs","batteries":"Batteries","elec_small":"Petit éléctroménager","elec_large":"Grand éléctroménager","random_litter":"Déchet aléatoire","balloons":"Ballons","bags_litter":"Sac poubelles","overflowing_bins":"Débordement de poubelles","tyre":"Pneu","cable_tie":"Collier de serrage en plastique","other":"Autres"},"presence":{"picked-up":"Je l\'ai ramassé !","still-there":"N\'a pas été ramassé !","picked-up-text":"Il n\'est plus là.","still-there-text":"Le déchet est toujours là !"},"no-tags":"Aucun tags","not-verified":"Vérification en attente","not-tagged-yet":"Pas encore tagé !","dogshit":{"poo":"Surprise !","poo_in_bag":"Surprise dans un sac !"},"material":{"aluminium":"Aluminium","bronze":"Bronze","carbon_fiber":"Fibre de carbone","ceramic":"Céramique","composite":"Matériau composite","concrete":"Ciment","copper":"Cuivre","fiberglass":"Fibre de verre","glass":"Verre","iron_or_steel":"Fer/Acier","latex":"Latex","metal":"Metal","nickel":"Nickel","nylon":"Nylon","paper":"Papier","plastic":"Plastique","polyethylene":"Polyéthylène","polymer":"Polymère","polypropylene":"Polypropylène","polystyrene":"Polystyrène","pvc":"PVC","rubber":"Caoutchouc","titanium":"Titane","wood":"Bois"}}')},vC4K:function(t){t.exports=JSON.parse('{"toggle-email":"Badili Usajili wa Barua Pepe","we-send-updates":"Mara kwa mara, tunatuma barua pepe zinazohusu maboresho na habari njema.","subscribe":"Unaweza kujiandikisha au kujiondoa kwenye barua pepe zetu hapa.","current-status":"Hali ya sasa","change-status":"Badili hali"}')},vYUr:function(t,e,n){"use strict";var i=n("PKhi");n.n(i).a},vaEP:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'/* component style */\n.vue-slider-disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n/* rail style */\n.vue-slider-rail {\n background-color: #ccc;\n border-radius: 15px;\n}\n\n/* process style */\n.vue-slider-process {\n background-color: #3498db;\n border-radius: 15px;\n}\n\n/* mark style */\n.vue-slider-mark {\n z-index: 4;\n}\n.vue-slider-mark:first-child .vue-slider-mark-step, .vue-slider-mark:last-child .vue-slider-mark-step {\n display: none;\n}\n.vue-slider-mark-step {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.16);\n}\n.vue-slider-mark-label {\n font-size: 14px;\n white-space: nowrap;\n}\n/* dot style */\n.vue-slider-dot-handle {\n cursor: pointer;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #fff;\n box-sizing: border-box;\n box-shadow: 0.5px 0.5px 2px 1px rgba(0, 0, 0, 0.32);\n}\n.vue-slider-dot-handle-focus {\n box-shadow: 0px 0px 1px 2px rgba(52, 152, 219, 0.36);\n}\n\n.vue-slider-dot-handle-disabled {\n cursor: not-allowed;\n background-color: #ccc;\n}\n\n.vue-slider-dot-tooltip-inner {\n font-size: 14px;\n white-space: nowrap;\n padding: 2px 5px;\n min-width: 20px;\n text-align: center;\n color: #fff;\n border-radius: 5px;\n border-color: #3498db;\n background-color: #3498db;\n box-sizing: content-box;\n}\n.vue-slider-dot-tooltip-inner::after {\n content: "";\n position: absolute;\n}\n.vue-slider-dot-tooltip-inner-top::after {\n top: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-top-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-bottom::after {\n bottom: 100%;\n left: 50%;\n transform: translate(-50%, 0);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-bottom-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-left::after {\n left: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-left-color: inherit;\n}\n.vue-slider-dot-tooltip-inner-right::after {\n right: 100%;\n top: 50%;\n transform: translate(0, -50%);\n height: 0;\n width: 0;\n border-color: transparent;\n border-style: solid;\n border-width: 5px;\n border-right-color: inherit;\n}\n\n.vue-slider-dot-tooltip-wrapper {\n opacity: 0;\n transition: all 0.3s;\n}\n.vue-slider-dot-tooltip-wrapper-show {\n opacity: 1;\n}\n',""])},vne5:function(t,e,n){"use strict";var i={name:"Tags",props:["photoId","admin"],computed:{categories:function(){var t=[];return Object.entries(this.$store.state.litter.tags[this.photoId]||{}).map((function(e){Object.keys(e[1]).length>0&&t.push({category:e[0],tags:e[1]})})),t},customTags:function(){return this.$store.state.litter.customTags[this.photoId]||[]}},methods:{getCategory:function(t){return this.$i18n.t("litter.categories."+t)},getTags:function(t,e){return this.$i18n.t("litter."+e+"."+t[0])+": "+t[1]+"
      "},removeTag:function(t,e){var n=this.admin?"resetTag":"removeTag";this.$store.commit(n,{photoId:this.photoId,category:t,tag_key:e})},removeCustomTag:function(t){this.$store.commit("removeCustomTag",{photoId:this.photoId,customTag:t})}}},r=(n("GQYL"),n("KHd+")),a=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{staticClass:"container"},[n("transition-group",{attrs:{name:"categories",tag:"div"}},[t.customTags.length?n("li",{key:"customTags",staticClass:"admin-item"},[n("span",{staticClass:"category"},[t._v(t._s(t.$t("tags.custom-tags")))]),t._v(" "),t._l(t.customTags,(function(e){return n("span",{staticClass:"tag is-medium has-background-link has-text-white litter-tag",domProps:{innerHTML:t._s(e)},on:{click:function(n){return t.removeCustomTag(e)}}})}))],2):t._e(),t._v(" "),t._l(t.categories,(function(e){return n("li",{key:e.category,staticClass:"admin-item"},[n("span",{staticClass:"category"},[t._v(t._s(t.getCategory(e.category)))]),t._v(" "),t._l(Object.entries(e.tags),(function(i){return n("span",{staticClass:"tag is-medium is-info litter-tag",domProps:{innerHTML:t._s(t.getTags(i,e.category))},on:{click:function(n){return t.removeTag(e.category,i[0])}}})}))],2)}))],2)],1)])}),[],!1,null,"cd11bd74",null);e.a=a.exports},vsSR:function(t){t.exports=JSON.parse('{"change-privacy":"Cambiar mi privacidad","maps":"Mapas","credit-name":"Acreditar mi nombre","credit-username":"Acreditar mi nombre de usuario","name-imgs-yes":"Tu nombre está configurado para aparecer en cada una de las imágenes que subas a los mapas.","username-imgs-yes":"Tu nombre de usuario está configurado para aparecer en cada una de las imágenes que subas a los mapas.","name-username-map-no":"Tu nombre y tu nombre de usuario no aparecerán en los mapas.","leaderboards":"Tablas de Clasificación","credit-my-name":"Acreditar mi nombre","credit-my-username":"Acreditar mi nombre de usuario","name-leaderboards-yes":"Tu nombre está configurado para aparecer en cualquier tabla de clasificación para la que califiques.","username-leaderboards-yes":"Tu nombre de usuario está configurado para aparecer en cualquier tabla de clasificación para la que califiques.","name-username-leaderboards-no":"Tu nombre y tu nombre de usuario no aparecerán en las tablas de clasificación.","created-by":"Creada por","name-locations-yes":"Tu nombre está configurado para aparecer en cualquier ubicación creada por ti.","username-locations-yes":"Tu nombre de usuartio está configurado para aparecer en cualquier ubicación creada por ti.","name-username-locations-yes":"Tu nombre y tu nombre de usuario no aparecerán en la sección \'Creada por\' de las ubicaciones que añadas a la base de datos.","update":"Actualizar"}')},vwrS:function(t){t.exports=JSON.parse('{"title":"Help us change the world.","subtitle":"We\'re growing by the day","photos-last-30-days":"Photos uploaded last 30 days","users-last-30-days":"New users last 30 days","litter-tags-last-30-days":"Litter tagged last 30 days","photos-every-month-label":"Photos uploaded every month","users-every-month-label":"New users every month","zoom-text":"Join us on the {link}, where we get to hear lots of new ideas and suggestions from our growing global community. Every week our users share their feedback which always helps make our app easier and better to use. Help shape the future direction of our open source data collection and environmental monitoring platform. Call starts in:","zoom-weekly-calls":"weekly Zoom calls at 6 p.m. GMT (Dublin/London/Lisbon time) every Thursday","zoom-live":"Live","zoom-days":"day | days","zoom-hours":"hour | hours","zoom-minutes":"minute | minutes","slack-text":"{slack} is our main medium of communication and collaboration. Power-users, newcomers, developers, a community of over 400 members - we\'re all there. Drop us a line and you\'ll get an instant reply, we\'re online all the time.","fundraiser-text":"OpenLitterMap is entirely dependent on donations. We\'ve set up a {link} and we\'re still far away from our target. All contributions are welcome. {emoji}","fundraiser-link":"GoFundMe Fundraiser"}')},"w+GM":function(t,e,n){var i=n("8J0w");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"w1/D":function(t,e,n){var i=n("HBdk");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"wEH+":function(t){t.exports=JSON.parse('{"cancel":"Cancelar","submit":"Enviar","download":"Descargar","delete":"Eliminar","delete-image":"Eliminar imagen","confirm-delete":"Confirmar eliminar","loading":"Cargando...","created_at":"Subida el","created":"Creado","created-by":"Creado por","datetime":"Tomada el","day-names":["lu.","ma.","mi.","ju.","vi.","sá.","do."],"month-names":["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agusto","Septiembre","Octobre","Noviembre","Diciembre"],"short-month-names":["en.","febr.","mzo.","abr.","my.","jun.","jul.","ag.","sept.","oct.","nov.","dic."],"next":"Siguiente","previous":"Previa","next-page":"Siguiente página","add-tags":"Añadir etiquetas","add-many-tags":"Añadir varias etiquetas","select-all":"Seleccionar todo","de-select-all":"Deselecionar todo","choose-dates":"Escoger fechas","not-verified":"No verificada","verified":"Verificada","search-by-id":"Busquea por ID","active":"Activo","inactive":"Inactivo","inactivate":"Deshabilitar las contribuciones del equipo","your-email":"tu@correoelectronico.com","team":"Equipo","actions":"Comportamiento","photo":"Foto","reason":"Razón","anonymous":"Anónimo","faq":"Preguntas Frecuentes"}')},wHEA:function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Ceci sera retourné plus tard","claim-tokens":"Si vous voulez juste réclamer vos jetons et accéder à votre portefeuille, entrez l\'identifiant de votre portefeuille et vos gains vous serons envoyés."}')},wUjy:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"Az OpenLitterMap jelenleg teljes mértékben az adományoktól függ.","its-important":"Ez fontos"}')},"wb9+":function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Hii itarudi baadaye","claim-tokens":"Ikiwa ungependa kudai tu tokeni zako na kufikia pochi yako kutoka mahali pengine, weka kitambulisho chako cha pochi na utatumiwa mapato yako."}')},wfSq:function(t,e,n){var i=n("KSRL");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"x+NJ":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),a={name:"PhotoDetailsPopup",computed:{photo:function(){var t=this.$store.state.photos.showDetailsPhotoId;return this.$store.state.photos.bulkPaginate.data.find((function(e){return e.id===t}))}},methods:{getCategoryName:function(t){return this.$i18n.t("litter.categories.".concat(t))},getTagName:function(t,e){return this.$i18n.t("litter.".concat(t,".").concat(e))},removeTag:function(t,e){this.$store.commit("removeTagFromPhoto",{photoId:this.photo.id,category:t,tag:e})},clearCustomTag:function(t){this.$store.commit("removeCustomTagFromPhoto",{photoId:this.photo.id,customTag:t})},togglePickedUp:function(){this.$store.commit("setPhotoPickedUp",{photoId:this.photo.id,picked_up:!this.photo.picked_up})}}},o=(n("S11f"),n("KHd+")),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.photo?n("div",[n("div",[n("div",{staticClass:"top-row"},[n("div",{staticClass:"switch-container"},[n("p",{staticClass:"mr-2"},[n("strong",[t._v(t._s(t.$t("tags.picked-up-title")))])]),t._v(" "),n("label",{staticClass:"switch"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.photo.picked_up},on:{change:t.togglePickedUp}}),t._v(" "),n("span",{staticClass:"slider round"})])])]),t._v(" "),n("div",{staticClass:"close-popup",on:{click:function(e){return t.$emit("close")}}},[n("i",{staticClass:"fa fa-times"})])]),t._v(" "),t.photo.custom_tags&&t.photo.custom_tags.length||Object.keys(t.photo.tags).length?n("div",{staticClass:"photo-tags-container"},[t.photo.custom_tags&&t.photo.custom_tags.length?n("div",[n("p",{staticClass:"has-text-centered"},[t._v(t._s(t.$t("tags.custom-tags")))]),t._v(" "),n("transition-group",{staticClass:"tags-list",attrs:{name:"list",tag:"div"}},t._l(t.photo.custom_tags,(function(e){return n("div",{key:e,staticClass:"litter-tag"},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.clearCustomTag(e)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v(t._s(e))])])})),0)],1):t._e(),t._v(" "),n("transition-group",{attrs:{name:"categories",tag:"div"}},t._l(Object.keys(t.photo.tags||{}),(function(e){return n("div",{key:e},[n("p",{staticClass:"has-text-centered"},[t._v(t._s(t.getCategoryName(e)))]),t._v(" "),n("transition-group",{staticClass:"tags-list",attrs:{name:"list",tag:"div"}},t._l(Object.keys(t.photo.tags[e]),(function(i){return n("div",{key:i,staticClass:"litter-tag"},[n("span",{staticClass:"close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),t.removeTag(e,i)}}},[n("i",{staticClass:"fa fa-times"})]),t._v(" "),n("p",{staticClass:"has-text-white"},[t._v("\n "+t._s(t.getTagName(e,i))+":\n "+t._s(t.photo.tags[e][i])+"\n ")])])})),0)],1)})),0)],1):t._e()]):t._e()}),[],!1,null,"774c9699",null).exports;function l(t,e,n,i,r,a,o){try{var s=t[a](o),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function o(t){l(a,i,r,o,s,"next",t)}function s(t){l(a,i,r,o,s,"throw",t)}o(void 0)}))}}var c={name:"FilterMyPhotos",components:{FunctionalCalendar:n("R5vI").a},data:function(){return{periods:["created_at","datetime"],processing:!1,showCalendar:!1}},computed:{calendar:function(){return this.showCalendar?"dropdown is-active":"dropdown"},filters:function(){return this.$store.state.photos.filters},filter_by_calendar:{get:function(){return this.filters.calendar},set:function(t){this.$store.commit("filter_photos_calendar",{min:t.dateRange.start,max:t.dateRange.end}),t.dateRange.end&&this.getPhotos()}},filter_by_id:{get:function(){return this.filters.id},set:function(t){this.$store.commit("filter_photos",{key:"id",v:t})}},getSelectAllText:function(){return this.selectAll?this.$t("common.de-select-all"):this.$t("common.select-all")},period:{get:function(){return this.filters.period},set:function(t){this.$store.commit("filter_photos",{key:"period",v:t})}},selectAll:{get:function(){return this.$store.state.photos.selectAll},set:function(t){this.$store.commit("selectAllPhotos",t)}},showCalendarDates:function(){return this.filters.dateRange.start&&this.filters.dateRange.end?"".concat(this.filters.dateRange.start," - ").concat(this.filters.dateRange.end):this.$t("common.choose-dates")},spinner:function(){return this.processing?"fa fa-refresh fa-spin":"fa fa-refresh"},verifiedIndex:{get:function(){return this.filters.verified},set:function(t){this.$store.commit("filter_photos",{key:"verified",v:t})}}},methods:{getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)},getPhotos:function(){var t=this;return u(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_USERS_FILTERED_PHOTOS");case 2:case"end":return e.stop()}}),e)})))()},getVerifiedText:function(t){return 0===t?this.$t("common.not-verified"):this.$t("common.verified")},search:function(){var t=this;this.processing=!0,this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(u(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getPhotos();case 2:t.processing=!1;case 3:case"end":return e.stop()}}),e)}))),500)},toggleAll:function(){this.$store.commit("selectAllPhotos",this.selectAll)},toggleCalendar:function(){this.showCalendar=!this.showCalendar}}},h=(n("fKuF"),Object(o.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex mb1 filter-my-photos"},[n("router-link",{attrs:{to:"/tag"}},[n("button",{staticClass:"button is-primary"},[t._v("Tag individually")])]),t._v(" "),n("div",{staticClass:"field mb0 pt0"},[n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.filter_by_id,expression:"filter_by_id"}],staticClass:"input w10",attrs:{placeholder:t.$t("common.search-by-id")},domProps:{value:t.filter_by_id},on:{input:[function(e){e.target.composing||(t.filter_by_id=e.target.value)},t.search]}}),t._v(" "),n("span",{staticClass:"icon is-small is-left z-index-0"},[n("i",{class:t.spinner})])])]),t._v(" "),n("button",{staticClass:"button is-primary select-all-photos",on:{click:t.toggleAll}},[t._v("\n "+t._s(t.getSelectAllText)+"\n ")]),t._v(" "),n("div",{class:t.calendar},[n("div",{staticClass:"dropdown-trigger"},[n("button",{staticClass:"button dropdownButtonLeft",on:{click:t.toggleCalendar}},[n("span",[t._v(t._s(t.showCalendarDates))])])]),t._v(" "),n("div",{staticClass:"dropdown-menu"},[n("div",{staticClass:"dropdown-content calendar-box"},[n("FunctionalCalendar",{ref:"calendar",attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),"change-month-function":!0,"change-year-function":!0,"is-date-range":!0,"date-format":"yyyy/mm/dd"},on:{selectedDaysCount:t.toggleCalendar},model:{value:t.filter_by_calendar,callback:function(e){t.filter_by_calendar=e},expression:"filter_by_calendar"}})],1)])]),t._v(" "),n("div",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]},t.getPhotos]}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0)])],1)}),[],!1,null,"4d2593f8",null).exports),d=n("kGIl"),p=n.n(d),f=(n("5A0h"),n("wd/R")),m=n.n(f);function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nOpenStreetMap',o.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:20,minZoom:2}).addTo(t.map),t.map.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+i),a=new o.a.TimeDimension({}),t.map.timeDimension=a,t.player=new o.a.TimeDimension.Player({transitionTime:1e3,loop:!0},a),t.player.on("play",(function(){var e;(null===(e=t.map)||void 0===e?void 0:e.hasLayer(t.pointsLayer))&&t.map.removeLayer(t.pointsLayer)})),t.map.addControl(new o.a.Control.TimeDimension({player:t.player,timeDimension:a,timeSliderDragUpdate:!0,loopButton:!0,autoPlay:!1,minSpeed:5})),t.pointsLayer=o.a.geoJSON(t.geojson,{pointToLayer:function(t,e){return o.a.marker([e.lng,e.lat])},onEachFeature:function(e,n){n.on("click",(function(n){o.a.popup(s.a.popupOptions).setLatLng(e.geometry.coordinates).setContent(s.a.getMapImagePopupContent(e.properties)).openOn(t.map)}))}}),t.timeLayer=o.a.timeDimension.layer.geoJson(t.pointsLayer,{updateTimeDimension:!0,updateTimeDimensionMode:"replace"}),t.pointsLayer.addTo(t.map),t.timeLayer.addTo(t.map),t.map.on("moveend",t.updateLocationInURL),t.map.on("popupopen",s.a.scrollPopupToBottom);case 20:case"end":return e.stop()}}),e)})))()},methods:{load:function(){var t=this;return c(r.a.mark((function e(){var n,i,a;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new URLSearchParams(window.location.search),i=n.get("custom_tag"),a=n.get("brand"),e.next=5,axios.get("/tags-search",{params:{custom_tag:i,brand:a}}).then((function(e){t.geojson=e.data})).catch((function(t){}));case 5:case"end":return e.stop()}}),e)})))()},flyToLocationFromURL:function(){var t=new URLSearchParams(window.location.search),e=parseFloat(t.get("lat")||0),n=parseFloat(t.get("lon")||0),i=parseFloat(t.get("zoom")||l.e);if(e=e<-85||e>85?0:e,n=n<-180||n>180?0:n,i=i18?l.e:i,0!==e||0!==n||i!==l.e){var r=[e,n];this.map.flyTo(r,i,{animate:!0,duration:5})}},updateLocationInURL:function(){var t=this.map.getCenter(),e=new URL(window.location.href);e.searchParams.set("lat",t.lat),e.searchParams.set("lon",t.lng),e.searchParams.set("zoom",this.map.getZoom()),window.history.pushState(null,"",e)}}},d=(n("UbYI"),n("KHd+")),p=Object(d.a)(h,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"map-container"},[e("div",{ref:"map",attrs:{id:"map"}})])}),[],!1,null,"b62b8330",null);e.default=p.exports},xH61:function(t,e,n){var i=n("W5Xp");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},xJzp:function(t,e,n){"use strict";var i=n("AEb0");n.n(i).a},xMlF:function(t,e,n){var i=n("73T2");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},xoeU:function(t){t.exports=JSON.parse('{"change-password":"Verander mijn wachtwoord","enter-old-password":"Voer oud wachtwoord in","enter-new-password":"Voer nieuw wachtwoord in","enter-strong-password":"Kies een sterk wachtwoord","confirm-new-password":"Bevestig je nieuwe wachtwoord","repeat-strong-password":"Herhaal je sterke wachtwoord","update-password":"Werk wachtwoord bij"}')},xrdK:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"A poluição de plástico está fora de controle","fires-out-of-control":"Bitucas de cigarros podem iniciar incêndios","glass-hurts-pets":"Vidro quebrado machuca animais de estimação","climate-change-out-of-control":"Plástico está aumentando a mudança climática","help-us":"Ajude-nos a criar o banco de dados aberto mais avançado do mundo sobre lixo, marcas e poluição de plástico","why-collect-data":"Por que devemos coletar dados","visibility":"Visibilidade","our-maps-reveal-litter-normality":"Para muitas pessoas, o lixo se tornou normal e invisível. Os mapas são poderosos porque comunicam o que normalmente não podemos ver","science":"Solução de problemas","our-data-open-source":"Nossos dados são abertos e acessíveis. Todos têm direitos iguais, abertos e ilimitados de baixar todos os nossos dados e usá-los para qualquer finalidade","community":"Comunidade","must-work-together":"Precisamos da sua ajuda para criar uma mudança de paradigma em como entendemos e respondemos à poluição","how-does-it-work":"Como funciona","take-a-photo":"Tire uma foto","device-captures-info":"Seu dispositivo pode capturar informações valiosas sobre a localização, hora, objeto, material e marca.","tag-the-litter":"Tag o lixo","tag-litter-you-see":"Apenas tag o lixo que você vê na foto. Você pode marcar se a cama foi recolhida ou se ainda está lá. Você pode fazer upload de suas fotos a qualquer momento","share-results":"Compartilhe seus resultados","share":"Compartilhe os mapas ou baixe nossos dados. Vamos mostrar a todos como o mundo realmente é poluído","verified":"Seu email foi confirmado! Agora você pode fazer o login.","close":"Fechar","our-partners":"Nossos Parceiros","become-a-partner":"Torne-se um parceiro"}')},xyEF:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Entrer un identifiant pou rejoindre une équipe.","team-identifier":"Rejoindre une équipe par identifiant","enter-id-to-join-placeholder":"Entrer un ID pour joindre une équipe","join-team":"Rejoindre une Équipe"}')},yGXg:function(t,e,n){"use strict";var i=n("m2r5");n.n(i).a},yHOK:function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Ellenörzött Fényképek","admin-horizon":"ADMIN - Horizont","admin-verify-boxes":"ADMIN - Ellenörzött Dobozok","about":"Rólunk","global-map":"Globális térkép","world-cup":"Világbajnokság","community":"Közösség","upload":"Feltöltés","more":"Több","tag-litter":"Szemét megjelölése","profile":"Profil","settings":"Beállítások","bounding-boxes":"Határoló dobozok","logout":"Kijelentkezés","login":"Belépés","signup":"Regisztrálás","teams":"Csapatok"}')},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},yPIN:function(t,e,n){var i=n("pV29");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},yeoh:function(t){t.exports=JSON.parse('{"do-you-pickup":"Felveszed a szemetet vagy ott hagyod?","save-def-settings":"Itt mentheti el az alapértelmezett beállítást.","change-value-of-litter":"Az egyes szemetek értékét is módosíthatja a címkézés során.","status":"Jelenlegi Állapot","toggle-presence":"Beállítás megváltoztatása","pickup?":"Felveszi?"}')},"z/o8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i.f}));var i=n("LiCP");i.e._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,a=t.cycle;for(i in a)r=a[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},n=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,a={},o=isNaN(i),s=e.axis,l={center:.5,end:1}[i]||0;return function(t,u,c){var h,d,p,f,m,g,v,y,_,b=(c||e).length,w=a[b];if(!w){if(!(_="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=c[_++].getBoundingClientRect().left)&&_v&&(v=m),mb?b-1:s?"y"===s?b/_:_:Math.max(_,b/_))||0,w.b=b<0?r-b:r}return b=(w[t]-w.min)/w.max,w.b+(n?n.getRatio(b):b)*w.v}},r=function(t,e,n){i.f.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=r.prototype.render},a=i.f._internals,o=a.isSelector,s=a.isArray,l=r.prototype=i.f.to({},.1,{}),u=[];r.version="2.1.3",l.constructor=r,l.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.f.killTweensOf,r.getTweensOf=i.f.getTweensOf,r.lagSmoothing=i.f.lagSmoothing,r.ticker=i.f.ticker,r.render=i.f.render,r.distribute=n,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.f.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,r=this.ratio,a=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime.998){var o=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(o,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||a)for(var s,l=1/(1-r),u=this._firstPT;u;)s=u.s+u.c,u.c*=l,u.s=s-u.c,u=u._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,o,s,l,u,c,h,d,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,v=this._cycle,y=this._duration,_=this._rawPrevTime;if(t>=f-1e-8&&t>=0?(this._totalTime=f,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,o="onComplete",n=n||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(_<0||t<=0&&t>=-1e-8||1e-8===_&&"isPause"!==this.data)&&_!==t&&(n=!0,_>1e-8&&(o="onReverseComplete")),this._rawPrevTime=d=!e||t||_===t?t:1e-8)):t<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===y&&_>0)&&(o="onReverseComplete",r=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||n)&&(_>=0&&(n=!0),this._rawPrevTime=d=!e||t||_===t?t:1e-8)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=y+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&g<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=y-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof i.b?p:i.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof i.b?p:"function"==typeof p?new i.b(p,this.vars.easeParams):i.b.map[p]||i.f.defaultEase:i.f.defaultEase)),this.ratio=p?1-p.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!p?(u=this._time/y,(1===(c=this._easeType)||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===(h=this._easePower)?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:this._time/y<.5?u/2:1-u/2):p||(this.ratio=this._ease.getRatio(this._time/y))),m!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=_,this._cycle=v,a.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||r||p?r&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/y)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===g&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):o||(o="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==y||e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==g||o)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),o&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o),0===y&&1e-8===this._rawPrevTime&&1e-8!==d&&(this._rawPrevTime=0)))}else g!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},r.to=function(t,e,n){return new r(t,e,n)},r.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new r(t,e,n)},r.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new r(t,e,i)},r.staggerTo=r.allTo=function(a,l,c,h,d,p,f){var m,g,v,y,_=[],b=n(c.stagger||h),w=c.cycle,x=(c.startAt||u).cycle;for(s(a)||("string"==typeof a&&(a=i.f.selector(a)||a),o(a)&&(a=t(a))),m=(a=a||[]).length-1,v=0;v<=m;v++){for(y in g={},c)g[y]=c[y];if(w&&(e(g,a,v),null!=g.duration&&(l=g.duration,delete g.duration)),x){for(y in x=g.startAt={},c.startAt)x[y]=c.startAt[y];e(g.startAt,a,v)}g.delay=b(v,a[v],a)+(g.delay||0),v===m&&d&&(g.onComplete=function(){c.onComplete&&c.onComplete.apply(c.onCompleteScope||this,arguments),d.apply(f||c.callbackScope||this,p||u)}),_[v]=new r(a[v],l,g)}return _},r.staggerFrom=r.allFrom=function(t,e,n,i,a,o,s){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,r.staggerTo(t,e,n,i,a,o,s)},r.staggerFromTo=r.allFromTo=function(t,e,n,i,a,o,s,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,r.staggerTo(t,e,i,a,o,s,l)},r.delayedCall=function(t,e,n,i,a){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,useFrames:a,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return i.f.getTweensOf(t,!0).length>0};var c=function(t,e){for(var n=[],r=0,a=t._first;a;)a instanceof i.f?n[r++]=a:(e&&(n[r++]=a),r=(n=n.concat(c(a,e))).length),a=a._next;return n},h=r.getAllTweens=function(t){return c(i.a._rootTimeline,t).concat(c(i.a._rootFramesTimeline,t))};r.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var a,o,s,l=h(0!=r),u=l.length,c=e&&n&&r;for(s=0;s-1;)r.killChildTweensOf(e[h],n);else{for(c in l=[],p)for(u=p[c].target.parentNode;u;)u===e&&(l=l.concat(p[c].tweens)),u=u.parentNode;for(d=l.length,h=0;h-1;)o=s[u],(l||o instanceof i.c||(a=o.target===o.vars.onComplete)&&n||e&&!a)&&o.paused(t)};return r.pauseAll=function(t,e,n){d(!0,t,e,n)},r.resumeAll=function(t,e,n){d(!1,t,e,n)},r.globalTimeScale=function(t){var e=i.a._rootTimeline,n=i.f.ticker.time;return arguments.length?(t=t||1e-8,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.a._rootFramesTimeline,n=i.f.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.a._rootTimeline._timeScale=t,t):e._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return t>n&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},l.duration=function(t){return arguments.length?i.a.prototype.duration.call(this,t):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r}),!0);var r=i.g.TweenMax;i.e._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,n,r,a=function(){i.d.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=i.e._gsDefine.globals,s={},l=a.prototype=new i.d("css");l.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,l="px",a.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,d,p,f,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,k=/opacity *= *([^)]*)/i,C=/opacity:([^;]*)/i,T=/alpha\(opacity *=.+?\)/i,E=/^(rgb|hsl)/,S=/([A-Z])/g,P=/-([a-z])/gi,L=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,I=function(t,e){return e.toUpperCase()},O=/(?:Left|Right|Width)/i,A=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,M=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,D=Math.PI/180,R=180/Math.PI,j={},F={style:{}},B=i.e.document||{createElement:function(){return F}},U=function(t,e){var n=B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t);return n.style?n:B.createElement(t)},q=U("div"),$=U("img"),G=a._internals={_specialProps:s},V=(i.e.navigator||{}).userAgent||"",H=function(){var t=V.indexOf("Android"),e=U("a");return h=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),p=h&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,d=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(f=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return k.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Y=function(t){i.e.console},Z="",X="",J=function(t,e){var n,i,r=(e=e||q).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(Z="-"+(X=3===i?"ms":n[i]).toLowerCase()+"-",X+t):null},K="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},Q=function(t){return K.getComputedStyle(t)},tt=a.getStyle=function(t,e,n,i,r){var a;return H||"opacity"!==e?(!i&&t.style[e]?a=t.style[e]:(n=n||Q(t))?a=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(a=t.currentStyle[e]),null==r||a&&"none"!==a&&"auto"!==a&&"auto auto"!==a?a:r):W(t)},et=G.convertToPixels=function(t,e,n,r,o){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var s,l,u,c=O.test(e),h=t,d=q.style,p=n<0,f=1===n;if(p&&(n=-n),f&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=n/100*(c?t.clientWidth:t.clientHeight);else{if(d.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)d[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||B.body,-1!==tt(h,"display").indexOf("flex")&&(d.position="absolute"),l=h._gsCache,u=i.f.ticker.frame,l&&c&&l.time===u)return l.width*n/100;d[c?"width":"height"]=n+r}h.appendChild(q),s=parseFloat(q[c?"offsetWidth":"offsetHeight"]),h.removeChild(q),c&&"%"===r&&!1!==a.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=s/n*100),0!==s||o||(s=et(t,e,n,r,!0))}else l=Q(t).lineHeight,t.style.lineHeight=n,s=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return f&&(s/=100),p?-s:s},nt=G.calculateOffset=function(t,e,n){if("absolute"!==tt(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=tt(t,"margin"+i,n);return t["offset"+i]-(et(t,e,parseFloat(r),r.replace(x,""))||0)},it=function(t,e){var n,i,r,a={};if(e=e||Q(t))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&zt!==r||(a[r.replace(P,I)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&Mt!==n||(a[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===a[n]&&(a[n.replace(P,I)]=e[n]);return H||(a.opacity=W(t)),i=Wt(t,e,!1),a.rotation=i.rotation,a.skewX=i.skewX,a.scaleX=i.scaleX,a.scaleY=i.scaleY,a.x=i.x,a.y=i.y,Dt&&(a.z=i.z,a.rotationX=i.rotationX,a.rotationY=i.rotationY,a.scaleZ=i.scaleZ),a.filters&&delete a.filters,a},rt=function(t,e,n,i,r){var a,o,s,l={},u=t.style;for(o in n)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(a=n[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"!=typeof a&&"string"!=typeof a||(l[o]="auto"!==a||"left"!==o&&"top"!==o?""!==a&&"auto"!==a&&"none"!==a||"string"!=typeof e[o]||""===e[o].replace(w,"")?a:0:nt(t,o),void 0!==u[o]&&(s=new _t(u,o,u[o],s))));if(i)for(o in i)"className"!==o&&(l[o]=i[o]);return{difs:l,firstMPT:s}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],st=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||Q(t))[e]||0;if(t.getCTM&&Gt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=at[e],a=r.length;for(n=n||Q(t);--a>-1;)i-=parseFloat(tt(t,"padding"+r[a],n,!0))||0,i-=parseFloat(tt(t,"border"+r[a]+"Width",n,!0))||0;return i},lt=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],a=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==a.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===a.charAt(1),e.ox=parseFloat(r.replace(w,"")),e.oy=parseFloat(a.replace(w,"")),e.v=t),e||t},ut=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ct=function(t,e){"function"==typeof t&&(t=t(g,m));var n="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(n?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(n?t.substr(2):t)/100)),null==t?e:n?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ht=function(t,e,n,i){var r,a,o,s;return"function"==typeof t&&(t=t(g,m)),null==t?o=e:"number"==typeof t?o=t:(360,r=t.split("_"),a=((s="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:R)-(s?0:e),r.length&&(i&&(i[n]=e+a),-1!==t.indexOf("short")&&(a%=360)!==a%180&&(a=a<0?a+360:a-360),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%360-360*(a/360|0):-1!==t.indexOf("ccw")&&a>0&&(a=(a-3599999999640)%360-360*(a/360|0))),o=e+a),o<1e-6&&o>-1e-6&&(o=0),o},dt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},pt=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ft=a.parseColor=function(t,e){var n,i,r,a,o,s,l,u,c,h,d;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),dt[t])n=dt[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),r=t.charAt(2),a=t.charAt(3),t="#"+i+i+r+r+a+a),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=d=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(n[0])%360/360,s=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(s+1):l+s-l*s),n.length>3&&(n[3]=Number(n[3])),n[0]=pt(o+1/3,i,r),n[1]=pt(o,i,r),n[2]=pt(o-1/3,i,r);else n=t.match(v)||dt.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=dt.black;return e&&!d&&(i=n[0]/255,r=n[1]/255,a=n[2]/255,l=((u=Math.max(i,r,a))+(c=Math.min(i,r,a)))/2,u===c?o=s=0:(h=u-c,s=l>.5?h/(2-u-c):h/(u+c),o=u===i?(r-a)/h+(r0?o[0].replace(v,""):"";return c?r=e?function(t){var e,d,p,f;if("number"==typeof t)t+=h;else if(i&&z.test(t)){for(f=t.replace(z,"|").split("|"),p=0;pp--)for(;++pd--)for(;++d>0];return r.parse(e,s,a,o)}},_t=(G._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,a,o=this.data,s=o.proxy,l=o.firstMPT;l;)e=s[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===t||0===t)for(l=o.firstMPT,a=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+o,p[s=i.p+"_"+l]=i.data[l],d[s]=i[l],a||(u=new _t(i,l,s,u,i.rxp[l]));i=i._next}return{proxy:d,end:p,firstMPT:u,pt:c}},G.CSSPropTween=function(e,n,i,a,o,s,l,u,c,h,d){this.t=e,this.p=n,this.s=i,this.c=a,this.n=l||n,e instanceof bt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=s||0,c&&(this.pr=c,t=!0),this.b=void 0===h?i:h,this.e=void 0===d?i+a:d,o&&(this._next=o,o._prev=this)}),wt=function(t,e,n,i,r,a){var o=new bt(t,e,n,i-n,r,-1,a);return o.b=n,o.e=o.xs0=i,o},xt=a.parseComplex=function(t,e,n,i,r,o,s,l,c,h){n=n||o||"","function"==typeof i&&(i=i(g,m)),s=new bt(t,e,0,0,s,h?2:1,null,!1,l,n,i),i+="",r&>.test(i+n)&&(i=[n,i],a.colorStringFilter(i),n=i[0],i=i[1]);var d,p,f,_,b,w,x,k,C,T,E,S,P,L=n.split(", ").join(",").split(" "),I=i.split(", ").join(",").split(" "),O=L.length,A=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(L=L.join(" ").replace(z,", ").split(" "),I=I.join(" ").replace(z,", ").split(" ")):(L=L.join(" ").split(",").join(", ").split(" "),I=I.join(" ").split(",").join(", ").split(" ")),O=L.length),O!==I.length&&(O=(L=(o||"").split(" ")).length),s.plugin=c,s.setRatio=h,gt.lastIndex=0,d=0;d6)&&!H&&0===b[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(I[d]).join("transparent")):(H||(C=!1),P?s.appendXtra(T.substr(0,T.indexOf("hsl"))+(C?"hsla(":"hsl("),_[0],ut(b[0],_[0]),",",!1,!0).appendXtra("",_[1],ut(b[1],_[1]),"%,",!1).appendXtra("",_[2],ut(b[2],_[2]),C?"%,":"%"+S,!1):s.appendXtra(T.substr(0,T.indexOf("rgb"))+(C?"rgba(":"rgb("),_[0],b[0]-_[0],",",Math.round,!0).appendXtra("",_[1],b[1]-_[1],",",Math.round).appendXtra("",_[2],b[2]-_[2],C?",":S,Math.round),C&&(_=_.length<4?1:_[3],s.appendXtra("",_,(b.length<4?1:b[3])-_,S,!1))),gt.lastIndex=0;else if(w=_.match(v)){if(!(x=b.match(y))||x.length!==w.length)return s;for(f=0,p=0;p0;)l["xn"+kt]=0,l["xs"+kt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,a){var o=this,s=o.l;return o["xs"+s]+=a&&(s||o["xs"+s])?" "+t:t||"",n||0===s||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=i||"",s>0?(o.data["xn"+s]=e+n,o.rxp["xn"+s]=r,o["xn"+s]=e,o.plugin||(o.xfirst=new bt(o,"xn"+s,e,n,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+n},o.rxp={},o.s=e,o.c=n,o.r=r,o)):(o["xs"+s]+=e+(i||""),o)};var Ct=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,s[t]=s[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Tt=G._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),a=e.defaultValue;for(n=n||[a],i=0;is.length?l.length:s.length,o=0;o-1;)a=Number(r[kt]),r[kt]=(o=a-(a|=0))?(1e5*o+(o<0?-.5:.5)|0)/1e5+a:a;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Wt=G.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var o,s,l,u,c,h,d=n&&t._gsTransform||new Rt,p=d.scaleX<0,f=1e5,m=Dt&&(parseFloat(tt(t,Nt,e,!1,"0 0 0").split(" ")[2])||d.zOrigin)||0,g=parseFloat(a.defaultTransformPerspective)||0;if(d.svg=!(!t.getCTM||!Gt(t)),d.svg&&(qt(t,tt(t,Nt,e,!1,"50% 50%")+"",d,t.getAttribute("data-svg-origin")),St=a.useSVGTransformAttr||Ut),(o=Ht(t))!==Vt){if(16===o.length){var v,y,_,b,w,x=o[0],k=o[1],C=o[2],T=o[3],E=o[4],S=o[5],P=o[6],L=o[7],I=o[8],O=o[9],A=o[10],M=o[12],z=o[13],N=o[14],D=o[11],j=Math.atan2(P,A);d.zOrigin&&(M=I*(N=-d.zOrigin)-o[12],z=O*N-o[13],N=A*N+d.zOrigin-o[14]),d.rotationX=j*R,j&&(v=E*(b=Math.cos(-j))+I*(w=Math.sin(-j)),y=S*b+O*w,_=P*b+A*w,I=E*-w+I*b,O=S*-w+O*b,A=P*-w+A*b,D=L*-w+D*b,E=v,S=y,P=_),j=Math.atan2(-C,A),d.rotationY=j*R,j&&(y=k*(b=Math.cos(-j))-O*(w=Math.sin(-j)),_=C*b-A*w,O=k*w+O*b,A=C*w+A*b,D=T*w+D*b,x=v=x*b-I*w,k=y,C=_),j=Math.atan2(k,x),d.rotation=j*R,j&&(v=x*(b=Math.cos(j))+k*(w=Math.sin(j)),y=E*b+S*w,_=I*b+O*w,k=k*b-x*w,S=S*b-E*w,O=O*b-I*w,x=v,E=y,I=_),d.rotationX&&Math.abs(d.rotationX)+Math.abs(d.rotation)>359.9&&(d.rotationX=d.rotation=0,d.rotationY=180-d.rotationY),j=Math.atan2(E,S),d.scaleX=(Math.sqrt(x*x+k*k+C*C)*f+.5|0)/f,d.scaleY=(Math.sqrt(S*S+P*P)*f+.5|0)/f,d.scaleZ=(Math.sqrt(I*I+O*O+A*A)*f+.5|0)/f,x/=d.scaleX,E/=d.scaleY,k/=d.scaleX,S/=d.scaleY,Math.abs(j)>2e-5?(d.skewX=j*R,E=0,"simple"!==d.skewType&&(d.scaleY*=1/Math.cos(j))):d.skewX=0,d.perspective=D?1/(D<0?-D:D):0,d.x=M,d.y=z,d.z=N,d.svg&&(d.x-=d.xOrigin-(d.xOrigin*x-d.yOrigin*E),d.y-=d.yOrigin-(d.yOrigin*k-d.xOrigin*S))}else if(!Dt||r||!o.length||d.x!==o[4]||d.y!==o[5]||!d.rotationX&&!d.rotationY){var F=o.length>=6,B=F?o[0]:1,U=o[1]||0,q=o[2]||0,$=F?o[3]:1;d.x=o[4]||0,d.y=o[5]||0,l=Math.sqrt(B*B+U*U),u=Math.sqrt($*$+q*q),c=B||U?Math.atan2(U,B)*R:d.rotation||0,h=q||$?Math.atan2(q,$)*R+c:d.skewX||0,d.scaleX=l,d.scaleY=u,d.rotation=c,d.skewX=h,Dt&&(d.rotationX=d.rotationY=d.z=0,d.perspective=g,d.scaleZ=1),d.svg&&(d.x-=d.xOrigin-(d.xOrigin*B+d.yOrigin*q),d.y-=d.yOrigin-(d.xOrigin*U+d.yOrigin*$))}for(s in Math.abs(d.skewX)>90&&Math.abs(d.skewX)<270&&(p?(d.scaleX*=-1,d.skewX+=d.rotation<=0?180:-180,d.rotation+=d.rotation<=0?180:-180):(d.scaleY*=-1,d.skewX+=d.skewX<=0?180:-180)),d.zOrigin=m,d)d[s]<2e-5&&d[s]>-2e-5&&(d[s]=0)}return n&&(t._gsTransform=d,d.svg&&(St&&t.style[Mt]?i.f.delayedCall(.001,(function(){Jt(t.style,Mt)})):!St&&t.getAttribute("transform")&&i.f.delayedCall(.001,(function(){t.removeAttribute("transform")})))),d},Yt=function(t){var e,n,i=this.data,r=-i.rotation*D,a=r+i.skewX*D,o=1e5,s=(Math.cos(r)*i.scaleX*o|0)/o,l=(Math.sin(r)*i.scaleX*o|0)/o,u=(Math.sin(a)*-i.scaleY*o|0)/o,c=(Math.cos(a)*i.scaleY*o|0)/o,h=this.t.style,d=this.t.currentStyle;if(d){n=l,l=-u,u=-n,e=d.filter,h.filter="";var p,m,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==d.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+l+", M21="+u+", M22="+c,b=i.x+g*i.xPercent/100,w=i.y+v*i.yPercent/100;if(null!=i.ox&&(b+=(p=(i.oxp?g*i.ox*.01:i.ox)-g/2)-(p*s+(m=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),w+=m-(p*u+m*c)),_+=y?", Dx="+((p=g/2)-(p*s+(m=v/2)*l)+b)+", Dy="+(m-(p*u+m*c)+w)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(M,_):h.filter=_+" "+e,0!==t&&1!==t||1===s&&0===l&&0===u&&1===c&&(y&&-1===_.indexOf("Dx=0, Dy=0")||k.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!y){var C,T,E,S=f<8?1:-1;for(p=i.ieOffsetX||0,m=i.ieOffsetY||0,i.ieOffsetX=Math.round((g-((s<0?-s:s)*g+(l<0?-l:l)*v))/2+b),i.ieOffsetY=Math.round((v-((c<0?-c:c)*v+(u<0?-u:u)*g))/2+w),kt=0;kt<4;kt++)E=(n=-1!==(C=d[T=ot[kt]]).indexOf("px")?parseFloat(C):et(this.t,T,parseFloat(C),C.replace(x,""))||0)!==i[T]?kt<2?-i.ieOffsetX:-i.ieOffsetY:kt<2?p-i.ieOffsetX:m-i.ieOffsetY,h[T]=(i[T]=Math.round(n-E*(0===kt||2===kt?1:S)))+"px"}}},Zt=G.set3DTransformRatio=G.setTransformRatio=function(t){var e,n,i,r,a,o,s,l,u,c,h,p,f,m,g,v,y,_,b,w,x,k=this.data,C=this.t.style,T=k.rotation,E=k.rotationX,S=k.rotationY,P=k.scaleX,L=k.scaleY,I=k.scaleZ,O=k.x,A=k.y,M=k.z,z=k.svg,N=k.perspective,R=k.force3D,j=k.skewY,F=k.skewX;if(j&&(F+=j,T+=j),!((1!==t&&0!==t||"auto"!==R||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&R||M||N||S||E||1!==I)||St&&z||!Dt)T||F||z?(T*=D,w=F*D,x=1e5,n=Math.cos(T)*P,a=Math.sin(T)*P,i=Math.sin(T-w)*-L,o=Math.cos(T-w)*L,w&&"simple"===k.skewType&&(e=Math.tan(w-j*D),i*=e=Math.sqrt(1+e*e),o*=e,j&&(e=Math.tan(j*D),n*=e=Math.sqrt(1+e*e),a*=e)),z&&(O+=k.xOrigin-(k.xOrigin*n+k.yOrigin*i)+k.xOffset,A+=k.yOrigin-(k.xOrigin*a+k.yOrigin*o)+k.yOffset,St&&(k.xPercent||k.yPercent)&&(g=this.t.getBBox(),O+=.01*k.xPercent*g.width,A+=.01*k.yPercent*g.height),O<(g=1e-6)&&O>-g&&(O=0),A-g&&(A=0)),b=(n*x|0)/x+","+(a*x|0)/x+","+(i*x|0)/x+","+(o*x|0)/x+","+O+","+A+")",z&&St?this.t.setAttribute("transform","matrix("+b):C[Mt]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix(":"matrix(")+b):C[Mt]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix(":"matrix(")+P+",0,0,"+L+","+O+","+A+")";else{if(d&&(P<(g=1e-4)&&P>-g&&(P=I=2e-5),L-g&&(L=I=2e-5),!N||k.z||k.rotationX||k.rotationY||(N=0)),T||F)T*=D,v=n=Math.cos(T),y=a=Math.sin(T),F&&(T-=F*D,v=Math.cos(T),y=Math.sin(T),"simple"===k.skewType&&(e=Math.tan((F-j)*D),v*=e=Math.sqrt(1+e*e),y*=e,k.skewY&&(e=Math.tan(j*D),n*=e=Math.sqrt(1+e*e),a*=e))),i=-y,o=v;else{if(!(S||E||1!==I||N||z))return void(C[Mt]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) translate3d(":"translate3d(")+O+"px,"+A+"px,"+M+"px)"+(1!==P||1!==L?" scale("+P+","+L+")":""));n=o=1,i=a=0}c=1,r=s=l=u=h=p=0,f=N?-1/N:0,m=k.zOrigin,g=1e-6,",","0",(T=S*D)&&(v=Math.cos(T),l=-(y=Math.sin(T)),h=f*-y,r=n*y,s=a*y,c=v,f*=v,n*=v,a*=v),(T=E*D)&&(e=i*(v=Math.cos(T))+r*(y=Math.sin(T)),_=o*v+s*y,u=c*y,p=f*y,r=i*-y+r*v,s=o*-y+s*v,c*=v,f*=v,i=e,o=_),1!==I&&(r*=I,s*=I,c*=I,f*=I),1!==L&&(i*=L,o*=L,u*=L,p*=L),1!==P&&(n*=P,a*=P,l*=P,h*=P),(m||z)&&(m&&(O+=r*-m,A+=s*-m,M+=c*-m+m),z&&(O+=k.xOrigin-(k.xOrigin*n+k.yOrigin*i)+k.xOffset,A+=k.yOrigin-(k.xOrigin*a+k.yOrigin*o)+k.yOffset),O-g&&(O="0"),A-g&&(A="0"),M-g&&(M=0)),b=k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix3d(":"matrix3d(",b+=(n-g?"0":n)+","+(a-g?"0":a)+","+(l-g?"0":l),b+=","+(h-g?"0":h)+","+(i-g?"0":i)+","+(o-g?"0":o),E||S||1!==I?(b+=","+(u-g?"0":u)+","+(p-g?"0":p)+","+(r-g?"0":r),b+=","+(s-g?"0":s)+","+(c-g?"0":c)+","+(f-g?"0":f)+","):b+=",0,0,0,0,1,0,",b+=O+","+A+","+M+","+(N?1+-M/N:1)+")",C[Mt]=b}};(l=Rt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,Tt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,o,s,l){if(r._lastParsedTransform===l)return o;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(g,t));var c,h,d,p,f,v,y,_,b,w=t._gsTransform,x=t.style,k=At.length,C=l,T={},E=Wt(t,n,!0,C.parseTransform),S=C.transform&&("function"==typeof C.transform?C.transform(g,m):C.transform);if(E.skewType=C.skewType||E.skewType||a.defaultSkewType,r._transform=E,"rotationZ"in C&&(C.rotation=C.rotationZ),S&&"string"==typeof S&&Mt)(h=q.style)[Mt]=S,h.display="block",h.position="absolute",-1!==S.indexOf("%")&&(h.width=tt(t,"width"),h.height=tt(t,"height")),B.body.appendChild(q),c=Wt(q,null,!1),"simple"===E.skewType&&(c.scaleY*=Math.cos(c.skewX*D)),E.svg&&(v=E.xOrigin,y=E.yOrigin,c.x-=E.xOffset,c.y-=E.yOffset,(C.transformOrigin||C.svgOrigin)&&(S={},qt(t,lt(C.transformOrigin),S,C.svgOrigin,C.smoothOrigin,!0),v=S.xOrigin,y=S.yOrigin,c.x-=S.xOffset-E.xOffset,c.y-=S.yOffset-E.yOffset),(v||y)&&(_=Ht(q,!0),c.x-=v-(v*_[0]+y*_[2]),c.y-=y-(v*_[1]+y*_[3]))),B.body.removeChild(q),c.perspective||(c.perspective=E.perspective),null!=C.xPercent&&(c.xPercent=ct(C.xPercent,E.xPercent)),null!=C.yPercent&&(c.yPercent=ct(C.yPercent,E.yPercent));else if("object"==typeof C){if(c={scaleX:ct(null!=C.scaleX?C.scaleX:C.scale,E.scaleX),scaleY:ct(null!=C.scaleY?C.scaleY:C.scale,E.scaleY),scaleZ:ct(C.scaleZ,E.scaleZ),x:ct(C.x,E.x),y:ct(C.y,E.y),z:ct(C.z,E.z),xPercent:ct(C.xPercent,E.xPercent),yPercent:ct(C.yPercent,E.yPercent),perspective:ct(C.transformPerspective,E.perspective)},null!=(f=C.directionalRotation))if("object"==typeof f)for(h in f)C[h]=f[h];else C.rotation=f;"string"==typeof C.x&&-1!==C.x.indexOf("%")&&(c.x=0,c.xPercent=ct(C.x,E.xPercent)),"string"==typeof C.y&&-1!==C.y.indexOf("%")&&(c.y=0,c.yPercent=ct(C.y,E.yPercent)),c.rotation=ht("rotation"in C?C.rotation:"shortRotation"in C?C.shortRotation+"_short":E.rotation,E.rotation,"rotation",T),Dt&&(c.rotationX=ht("rotationX"in C?C.rotationX:"shortRotationX"in C?C.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",T),c.rotationY=ht("rotationY"in C?C.rotationY:"shortRotationY"in C?C.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",T)),c.skewX=ht(C.skewX,E.skewX),c.skewY=ht(C.skewY,E.skewY)}for(Dt&&null!=C.force3D&&(E.force3D=C.force3D,p=!0),(d=E.force3D||E.z||E.rotationX||E.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==C.scale||(c.scaleZ=1);--k>-1;)((S=c[b=At[k]]-E[b])>1e-6||S<-1e-6||null!=C[b]||null!=j[b])&&(p=!0,o=new bt(E,b,E[b],S,o),b in T&&(o.e=T[b]),o.xs0=0,o.plugin=s,r._overwriteProps.push(o.n));return S="function"==typeof C.transformOrigin?C.transformOrigin(g,m):C.transformOrigin,E.svg&&(S||C.svgOrigin)&&(v=E.xOffset,y=E.yOffset,qt(t,lt(S),c,C.svgOrigin,C.smoothOrigin),o=wt(E,"xOrigin",(w?E:c).xOrigin,c.xOrigin,o,"transformOrigin"),o=wt(E,"yOrigin",(w?E:c).yOrigin,c.yOrigin,o,"transformOrigin"),v===E.xOffset&&y===E.yOffset||(o=wt(E,"xOffset",w?v:E.xOffset,E.xOffset,o,"transformOrigin"),o=wt(E,"yOffset",w?y:E.yOffset,E.yOffset,o,"transformOrigin")),S="0px 0px"),(S||Dt&&d&&E.zOrigin)&&(Mt?(p=!0,b=Nt,S||(S=(S=(tt(t,b,n,!1,"50% 50%")+"").split(" "))[0]+" "+S[1]+" "+E.zOrigin+"px"),S+="",(o=new bt(x,b,0,0,o,-1,"transformOrigin")).b=x[b],o.plugin=s,Dt?(h=E.zOrigin,S=S.split(" "),E.zOrigin=(S.length>2?parseFloat(S[2]):h)||0,o.xs0=o.e=S[0]+" "+(S[1]||"50%")+" 0px",(o=new bt(E,"zOrigin",0,0,o,-1,o.n)).b=h,o.xs0=o.e=E.zOrigin):o.xs0=o.e=S):lt(S+"",E)),p&&(r._transformType=E.svg&&St||!d&&3!==this._transformType?2:3),u&&(l.scale=u),o},allowFunc:!0,prefix:!0}),Tt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Tt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),Tt("borderRadius",{defaultValue:"0px",parser:function(t,i,r,a,o,s){i=this.format(i);var l,u,c,h,d,p,f,m,g,v,y,_,b,w,x,k,C=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(g=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u-1;)(c=-1!==(g=s[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-$.width:t.offsetHeight-$.height,s[u]=c?parseFloat(g)/100*h+"px":parseFloat(g)/h*100+"%");g=s.join(" ")}return this.parseComplex(t.style,g,v,a,o)},formatter:lt}),Tt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:lt(-1===t.indexOf(" ")?t+" "+t:t)}}),Tt("perspective",{defaultValue:"0px",prefix:!0}),Tt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Tt("transformStyle",{prefix:!0}),Tt("backfaceVisibility",{prefix:!0}),Tt("userSelect",{prefix:!0}),Tt("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Tt("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Tt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,a,o){var s,l,u;return f<9?(l=t.currentStyle,u=f<8?" ":",",s="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(s=this.format(tt(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,s,e,a,o)}}),Tt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Tt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),Tt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,a,o){var s=tt(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(x,"");return"px"!==u&&(s=parseFloat(s)/et(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(s+" "+tt(t,"borderTopStyle",n,!1,"solid")+" "+tt(t,"borderTopColor",n,!1,"#000")),l.join(" "),a,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Tt("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Tt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,a){var o=t.style,s="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,s,0,0,r,-1,n,!1,0,o[s],e)}});var Xt=function(t){var e,n=this.t,i=n.filter||tt(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!tt(this.data,"filter")):(n.filter=i.replace(T,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(k,"opacity="+r))};Tt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,a,o){var s=parseFloat(tt(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),u&&1===s&&"hidden"===tt(t,"visibility",n)&&0!==e&&(s=0),H?a=new bt(l,"opacity",s,e-s,a):((a=new bt(l,"opacity",100*s,100*(e-s),a)).xn1=u?1:0,l.zoom=1,a.type=2,a.b="alpha(opacity="+a.s+")",a.e="alpha(opacity="+(a.s+a.c)+")",a.data=t,a.plugin=o,a.setRatio=Xt),u&&((a=new bt(l,"visibility",0,0,a,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(a.n),r._overwriteProps.push(i)),a}});var Jt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},Kt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:Jt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Tt("className",{parser:function(e,i,r,a,o,s,l){var u,c,h,d,p,f=e.getAttribute("class")||"",m=e.style.cssText;if((o=a._classNamePT=new bt(e,r,0,0,o,2)).setRatio=Kt,o.pr=-11,t=!0,o.b=f,c=it(e,n),h=e._gsClassPT){for(d={},p=h.data;p;)d[p.p]=1,p=p._next;h.setRatio(1)}return e._gsClassPT=o,o.e="="!==i.charAt(1)?i:f.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",o.e),u=rt(e,c,it(e),l,d),e.setAttribute("class",f),o.data=u.firstMPT,e.style.cssText!==m&&(e.style.cssText=m),o=o.xfirst=a.parse(e,u.difs,o,s)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,a,o=this.t.style,l=s.transform.parse;if("all"===this.e)o.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],s[n]&&(s[n].parse===l?r=!0:n="transformOrigin"===n?Nt:s[n].p),Jt(o,n);r&&(Jt(o,Mt),(a=this.t._gsTransform)&&(a.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Tt("clearProps",{parser:function(e,n,i,r,a){return(a=new bt(e,i,0,0,a,2)).setRatio=Qt,a.e=n,a.pr=-10,a.data=r._tween,t=!0,a}}),l="bezier,throwProps,physicsProps,physics2D".split(","),kt=l.length;kt--;)Et(l[kt]);(l=a.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,o,l,d){if(!i.nodeType)return!1;this._target=m=i,this._tween=l,this._vars=o,g=d,u=o.autoRound,t=!1,e=o.suffixMap||a.suffixMap,n=Q(i),r=this._overwriteProps;var f,v,y,_,b,w,x,k,T,E=i.style;if(c&&""===E.zIndex&&("auto"!==(f=tt(i,"zIndex",n))&&""!==f||this._addLazySet(E,"zIndex",0)),"string"==typeof o&&(_=E.cssText,f=it(i,n),E.cssText=_+";"+o,f=rt(i,f,it(i)).difs,!H&&C.test(o)&&(f.opacity=parseFloat(RegExp.$1)),o=f,E.cssText=_),o.className?this._firstPT=v=s.className.parse(i,o.className,"className",this,null,null,o):this._firstPT=v=this.parse(i,o,null),this._transformType){for(T=3===this._transformType,Mt?h&&(c=!0,""===E.zIndex&&("auto"!==(x=tt(i,"zIndex",n))&&""!==x||this._addLazySet(E,"zIndex",0)),p&&this._addLazySet(E,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(T?"visible":"hidden"))):E.zoom=1,y=v;y&&y._next;)y=y._next;k=new bt(i,"transform",0,0,null,2),this._linkCSSP(k,null,y),k.setRatio=Mt?Zt:Yt,k.data=this._transform||Wt(i,n,!0),k.tween=l,k.pr=-1,r.pop()}if(t){for(;v;){for(w=v._next,y=_;y&&y.pr>v.pr;)y=y._next;(v._prev=y?y._prev:b)?v._prev._next=v:_=v,(v._next=y)?y._prev=v:b=v,v=w}this._firstPT=_}return!0},l.parse=function(t,i,r,a){var o,l,c,h,d,p,f,v,y,_,b=t.style;for(o in i){if(p=i[o],l=s[o],"function"!=typeof p||l&&l.allowFunc||(p=p(g,m)),l)r=l.parse(t,p,o,this,r,a,i);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}d=tt(t,o,n)+"",y="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||y&&E.test(p)?(y||(p=((p=ft(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=xt(b,o,d,p,!0,"transparent",r,0,a)):y&&N.test(p)?r=xt(b,o,d,p,!0,null,r,0,a):(f=(c=parseFloat(d))||0===c?d.substr((c+"").length):"",""!==d&&"auto"!==d||("width"===o||"height"===o?(c=st(t,o,n),f="px"):"left"===o||"top"===o?(c=nt(t,o,n),f="px"):(c="opacity"!==o?0:1,f="")),(_=y&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),v=p.replace(x,"")):(h=parseFloat(p),v=y?p.replace(x,""):""),""===v&&(v=o in e?e[o]:f),p=h||0===h?(_?h+c:h)+v:i[o],f!==v&&(""===v&&"lineHeight"!==o||(h||0===h)&&c&&(c=et(t,o,c,f),"%"===v?(c/=et(t,o,100,"%")/100,!0!==i.strictUnits&&(d=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=et(t,o,1,v):"px"!==v&&(h=et(t,o,h,v),v="px"),_&&(h||0===h)&&(p=h+c+v))),_&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==b[o]&&(p||p+""!="NaN"&&null!=p)?(r=new bt(b,o,h||c||0,0,r,-1,o,!1,0,d,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:d:Y(i[o]):(r=new bt(b,o,c,h-c,r,0,o,!1!==u&&("px"===v||"zIndex"===o),0,d,p)).xs0=v)}a&&r&&!r.plugin&&(r.plugin=a)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i-1;)ee(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)o=(a=i[r]).type,a.style&&(e.push(it(a)),n&&n.push(a)),1!==o&&9!==o&&11!==o||!a.childNodes.length||ee(a,e,n)};return a.cascadeTo=function(t,e,n){var r,a,o,s,l=i.f.to(t,e,n),u=[l],c=[],h=[],d=[],p=i.f._internals.reservedProps;for(t=l._targets||l.target,ee(t,c,d),l.render(e,!0,!0),ee(t,h),l.render(0,!0,!0),l._enabled(!0),r=d.length;--r>-1;)if((a=rt(d[r],c[r],h[r])).firstMPT){for(o in a=a.difs,n)p[o]&&(a[o]=n[o]);for(o in s={},a)s[o]=c[r][o];u.push(i.f.fromTo(d[r],e,s,a))}return u},i.d.activate([a]),a}),!0);var a=i.g.CSSPlugin,o=i.e._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,a;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(a=e[r])&&(a=a(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",a+"",r,!1,r),this._overwriteProps.push(r);return!0}}),s=i.e._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),l=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},c=s.prototype;c._onInitAllProps=function(){var t,e,n,i,r=this._tween,a=r.vars.roundProps,o={},s=r._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),n=a.length;--n>-1;)o[a[n]]=Math.round;else for(i in a)o[i]=l(a[i]);for(i in o)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(o):t.n===i&&(2===t.f&&t.t?u(t.t._firstPT,o[i]):(this._add(t.t,i,t.s,t.c,o[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=s)),t=e;return!1},c._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)};var h=i.e._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,a,o,s,l,u,c=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(s=e[r])&&(s=s(i,t)),a=(u=(s+"").split("_"))[0],o=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(s=this.finals[r]="string"==typeof a&&"="===a.charAt(1)?o+parseInt(a.charAt(0)+"1",10)*Number(a.substr(2)):Number(a)||0)-o,u.length&&(-1!==(a=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==a.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==a.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,o,o+l,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});h._autoCSS=!0,i.e._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){i.c.call(this,t);var e,n,r=this.vars;for(n in this._labels={},this.autoRemoveChildren=!!r.autoRemoveChildren,this.smoothChildTiming=!!r.smoothChildTiming,this._sortChildren=!0,this._onUpdate=r.onUpdate,r)e=r[n],a(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));a(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=i.f._internals,n=t._internals={},r=e.isSelector,a=e.isArray,o=e.lazyTweens,s=e.lazyRender,l=i.e._gsDefine.globals,u=function(t){var e,n={};for(e in t)n[e]=t[e];return n},c=function(t,e,n){var i,r,a=t.cycle;for(i in a)r=a[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},h=n.pauseCallback=function(){},d=function(t,e,n,i){var r="immediateRender";return r in e||(e[r]=!(n&&!1===n[r]||i)),e},p=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,a={},o=isNaN(i),s=e.axis,l={center:.5,end:1}[i]||0;return function(t,u,c){var h,d,p,f,m,g,v,y,_,b=(c||e).length,w=a[b];if(!w){if(!(_="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=c[_++].getBoundingClientRect().left)&&_v&&(v=m),mb?b-1:s?"y"===s?b/_:_:Math.max(_,b/_))||0,w.b=b<0?r-b:r}return b=(w[t]-w.min)/w.max,w.b+(n?n.getRatio(b):b)*w.v}},f=t.prototype=new i.c;return t.version="2.1.3",t.distribute=p,f.constructor=t,f.kill()._gc=f._forcingPlayhead=f._hasPause=!1,f.to=function(t,e,n,r){var a=n.repeat&&l.TweenMax||i.f;return e?this.add(new a(t,e,n),r):this.set(t,n,r)},f.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i.f).from(t,e,d(0,n)),r)},f.fromTo=function(t,e,n,r,a){var o=r.repeat&&l.TweenMax||i.f;return r=d(0,r,n),e?this.add(o.fromTo(t,e,n,r),a):this.set(t,r,a)},f.staggerTo=function(e,n,a,o,s,l,h,d){var f,m,g=new t({onComplete:l,onCompleteParams:h,callbackScope:d,smoothChildTiming:this.smoothChildTiming}),v=p(a.stagger||o),y=a.startAt,_=a.cycle;for("string"==typeof e&&(e=i.f.selector(e)||e),r(e=e||[])&&(e=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n}(e)),m=0;m1e-5)&&e.render(s,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duratione._startTime;h._timeline;)d&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},f.remove=function(t){if(t instanceof i.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.a._rootFramesTimeline:i.a._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&a(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},f._remove=function(t,e){return i.c.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},f.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},f.insert=f.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},f.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},f.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},f.addPause=function(t,e,n,r){var a=i.f.delayedCall(0,h,n,r||this);return a.vars.onComplete=a.vars.onReverseComplete=e,a.data="isPause",this._hasPause=!0,this.add(a,t)},f.removeLabel=function(t){return delete this._labels[t],this},f.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},f._parseTimeOrLabel=function(t,e,n,r){var o,s;if(r instanceof i.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&a(r)))for(s=r.length;--s>-1;)r[s]instanceof i.a&&r[s].timeline===this&&this.remove(r[s]);if(o="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-o:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=o+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,n):o}return Number(t)+e},f.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},f.stop=function(){return this.paused(!0)},f.gotoAndPlay=function(t,e){return this.play(t,e)},f.gotoAndStop=function(t,e){return this.pause(t,e)},f.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,r,a,l,u,c,h,d,p=this._time,f=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,g=this._timeScale,v=this._paused;if(p!==this._time&&(t+=this._time-p),this._hasPause&&!this._forcingPlayhead&&!e){if(t>p)for(i=this._first;i&&i._startTime<=t&&!c;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(c=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!c;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(c=i),i=i._prev;c&&(this._time=this._totalTime=t=c._startTime,d=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=f-1e-8&&t>=0)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(u=!0,this._rawPrevTime>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=f+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==p||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&r)for(i=this._first;i&&0===i._startTime;)i._duration||(r=!1),i=i._next;t=0,this._initted||(u=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==p&&this._first||n||u||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(h=this._time)>=p)for(i=this._first;i&&(a=i._next,h===this._time&&(!this._paused||v));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(c===i&&(this.pause(),this._pauseTime=d),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=a;else for(i=this._last;i&&(a=i._prev,h===this._time&&(!this._paused||v));){if(i._active||i._startTime<=p&&!i._paused&&!i._gc){if(c===i){for(c=i._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,this.pause(),this._pauseTime=d}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=a}this._onUpdate&&(e||(o.length&&s(),this._callback("onUpdate"))),l&&(this._gc||m!==this._startTime&&g===this._timeScale||(0===this._time||f>=this.totalDuration())&&(r&&(o.length&&s(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},f._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},f.getChildren=function(t,e,n,r){r=r||-9999999999;for(var a=[],o=this._first,s=0;o;)o._startTime-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(o[s++]=n[r]);return a&&this._enabled(!1,!0),o},f.recent=function(){return this._recent},f._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},f.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,a=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in a)a[i]>=n&&(a[i]+=t);return this._uncache(!0)},f._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},f.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},f.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.a.prototype.invalidate.call(this)},f._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.c.prototype._enabled.call(this,t,e)},f.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},f.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},f.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this,a=r._last,o=999999999999;a;)e=a._prev,a._dirty&&a.totalDuration(),a._startTime>o&&r._sortChildren&&!a._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(a,a._startTime-a._delay),r._calculatingDuration=0):o=a._startTime,a._startTime<0&&!a._paused&&(i-=a._startTime,r._timeline.smoothChildTiming&&(r._startTime+=a._startTime/r._timeScale,r._time-=a._startTime,r._totalTime-=a._startTime,r._rawPrevTime-=a._startTime),r.shiftChildren(-a._startTime,!1,-9999999999),o=0),(n=a._startTime+a._totalDuration/a._timeScale)>i&&(i=n),a=e;r._duration=r._totalDuration=i,r._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},f.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.a.prototype.paused.apply(this,arguments)},f.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.a._rootFramesTimeline},f.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var d=i.g.TimelineLite;i.e._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){d.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=i.f._internals,n=e.lazyTweens,r=e.lazyRender,a=i.e._gsDefine.globals,o=new i.b(null,null,1,0),s=t.prototype=new d;return s.constructor=t,s.kill()._gc=!1,t.version="2.1.3",s.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),d.prototype.invalidate.call(this)},s.addCallback=function(t,e,n,r){return this.add(i.f.delayedCall(0,t,n,r),e)},s.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},s.removePause=function(t){return this.removeCallback(d._internals.pauseCallback,t)},s.tweenTo=function(t,e){e=e||{};var n,r,s,l={ease:o,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&a.TweenMax||i.f;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),n=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,s=new u(this,n,l),l.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||n!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||s,e.onStartParams||[])},s},s.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},s.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var a,o,s,l,u,c,h,d,p,f=this._time,m=this._dirty?this.totalDuration():this._totalDuration,g=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,b=this._rawPrevTime,w=this._paused,x=this._cycle;if(f!==this._time&&(t+=this._time-f),t>=m-1e-8&&t>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||b<0||1e-8===b)&&b!==t&&this._first&&(u=!0,b>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=g,t=g+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==f||0===g&&1e-8!==b&&(b>0||t<0&&b>=0)&&!this._locked)&&(l="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=o=!0,l="onReverseComplete"):b>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=g||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&o)for(a=this._first;a&&0===a._startTime;)a._duration||(o=!1),a=a._next;t=0,this._initted||(u=!0)}else 0===g&&b<0&&(u=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=g+this._repeatDelay,this._cycle=this._totalTime/c>>0,this._cycle&&this._cycle===this._totalTime/c&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&1&this._cycle&&(this._time=g-this._time),this._time>g?(this._time=g,t=g+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>f||this._repeat&&x!==this._cycle)for(a=this._first;a&&a._startTime<=t&&!h;)a._duration||"isPause"!==a.data||a.ratio||0===a._startTime&&0===this._rawPrevTime||(h=a),a=a._next;else for(a=this._last;a&&a._startTime>=t&&!h;)a._duration||"isPause"===a.data&&a._rawPrevTime>0&&(h=a),a=a._prev;h&&(p=this._startTime+(this._reversed?this._duration-h._startTime:h._startTime)/this._timeScale,h._startTime0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(d=this._time)>=f)for(a=this._first;a&&(s=a._next,d===this._time&&(!this._paused||w));)(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)&&(h===a&&(this.pause(),this._pauseTime=p),a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(t-a._startTime)*a._timeScale,e,i):a.render((t-a._startTime)*a._timeScale,e,i)),a=s;else for(a=this._last;a&&(s=a._prev,d===this._time&&(!this._paused||w));){if(a._active||a._startTime<=f&&!a._paused&&!a._gc){if(h===a){for(h=a._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause(),this._pauseTime=p}a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(t-a._startTime)*a._timeScale,e,i):a.render((t-a._startTime)*a._timeScale,e,i)}a=s}this._onUpdate&&(e||(n.length&&r(),this._callback("onUpdate"))),l&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||m>=this.totalDuration())&&(o&&(n.length&&r(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},s.getActive=function(t,e,n){var i,r,a=[],o=this.getChildren(t||null==t,e||null==t,!!n),s=0,l=o.length;for(i=0;it)return n[e].name;return null},s.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].timen&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},s.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},s.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},s.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t}),!0);var p=i.g.TimelineMax,f=180/Math.PI,m=[],g=[],v=[],y={},_=i.e._gsDefine.globals,b=function(t,e,n,i){n===i&&(n=i-(i-e)/1e6),t===e&&(e=t+(n-t)/1e6),this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t},w=function(t,e,n,i){var r={a:t},a={},o={},s={c:i},l=(t+e)/2,u=(e+n)/2,c=(n+i)/2,h=(l+u)/2,d=(u+c)/2,p=(d-h)/8;return r.b=l+(t-l)/4,a.b=h+p,r.c=a.a=(r.b+a.b)/2,a.c=o.a=(h+d)/2,o.b=d-p,s.b=c+(i-c)/4,o.c=s.a=(o.b+s.b)/2,[r,a,o,s]},x=function(t,e,n,i,r){var a,o,s,l,u,c,h,d,p,f,y,_,b,x=t.length-1,k=0,C=t[0].a;for(a=0;a-1;)"string"==typeof(u=t[a][e])&&"="===u.charAt(1)&&(t[a][e]=i[e]+Number(u.charAt(0)+u.substr(2)));if((r=t.length-2)<0)return c[0]=new b(t[0][e],0,0,t[0][e]),c;for(a=0;a1){for(p=t[t.length-1],d=!0,o=_.length;--o>-1;)if(s=_[o],Math.abs(b[s]-p[s])>.05){d=!1;break}d&&(t=t.concat(),a&&t.unshift(a),t.push(t[1]),a=t[t.length-3])}for(m.length=g.length=v.length=0,o=_.length;--o>-1;)s=_[o],y[s]=-1!==r.indexOf(","+s+","),f[s]=k(t,s,y[s],a);for(o=m.length;--o>-1;)m[o]=Math.sqrt(m[o]),g[o]=Math.sqrt(g[o]);if(!i){for(o=_.length;--o>-1;)if(y[s])for(h=(l=f[_[o]]).length-1,u=0;u-1;)v[o]=Math.sqrt(v[o])}for(o=_.length,u=n?4:1;--o>-1;)l=f[s=_[o]],x(l,e,n,i,y[s]),d&&(l.splice(0,u),l.splice(l.length-u,u));return f},T=function(t,e,n){for(var i,r,a,o,s,l,u,c,h,d,p,f=1/n,m=t.length;--m>-1;)for(a=(d=t[m]).a,o=d.d-a,s=d.c-a,l=d.b-a,i=r=0,c=1;c<=n;c++)i=r-(r=((u=f*c)*u*o+3*(h=1-u)*(u*s+h*l))*u),e[p=m*n+c-1]=(e[p]||0)+i*i},E=i.e._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,n){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,r,a,o,s,l=e.values||[],u={},c=l[0],h=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,c)this._props.push(i);for(a=this._props.length;--a>-1;)i=this._props[a],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],u[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),s||u[i]!==l[0][i]&&(s=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?C(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,s):function(t,e,n){var i,r,a,o,s,l,u,c,h,d,p,f={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&n&&(t=[n].concat(t)),null==t||t.length-1;){for(f[h=v[l]]=s=[],d=0,c=t.length,u=0;u1&&u>0||6)-1,h=[],d=[];for(n in t)T(t[n],o,e);for(r=o.length,i=0;i>0]=d,s[a]=u,l=0,d=[]);return{length:u,lengths:s,segments:h}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),a=h.length;--a>-1;){for(o=0;o<3;o++)i=h[a][o],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[a][2],this._initialRotations[a]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,r,a,o,s,l,u,c,h,d=this._segCount,p=this._func,m=this._target,g=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,c=this._curSeg,h=t*this._length,i=this._li,h>this._l2&&i0){for(;i>0&&(this._l1=u[--i])>=h;);0===i&&hthis._s2&&i0){for(;i>0&&(this._s1=c[--i])>=h;);0===i&&h=1?d-1:d*t>>0)*(1/d))*d;for(n=1-o,i=this._props.length;--i>-1;)r=this._props[i],s=(o*o*(a=this._beziers[r][e]).da+3*n*(o*a.ca+n*a.ba))*o+a.a,this._mod[r]&&(s=this._mod[r](s,m)),p[r]?m[r](s):m[r]=s;if(this._autoRotate){var v,y,_,b,w,x,k,C=this._autoRotate;for(i=C.length;--i>-1;)r=C[i][2],x=C[i][3]||0,k=!0===C[i][4]?1:f,a=this._beziers[C[i][0]],v=this._beziers[C[i][1]],a&&v&&(a=a[e],v=v[e],y=a.a+(a.b-a.a)*o,y+=((b=a.b+(a.c-a.b)*o)-y)*o,b+=(a.c+(a.d-a.c)*o-b)*o,_=v.a+(v.b-v.a)*o,_+=((w=v.b+(v.c-v.b)*o)-_)*o,w+=(v.c+(v.d-v.c)*o-w)*o,s=g?Math.atan2(w-_,b-y)*k+x:this._initialRotations[i],this._mod[r]&&(s=this._mod[r](s,m)),p[r]?m[r](s):m[r]=s)}}}),S=E.prototype;E.bezierThrough=C,E.cubicToQuadratic=w,E._autoCSS=!0,E.quadraticToCubic=function(t,e,n){return new b(t,(2*e+t)/3,(2*e+n)/3,n)},E._cssRegister=function(){var t=_.CSSPlugin;if(t){var e=t._internals,n=e._parseToProxy,i=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,a,o,s,l){e instanceof Array&&(e={values:e}),l=new E;var u,c,h,d=e.values,p=d.length-1,f=[],m={};if(p<0)return s;for(u=0;u<=p;u++)h=n(t,d[u],o,s,l,p!==u),f[u]=h.end;for(c in e)m[c]=e[c];return m.values=f,(s=new r(t,"bezier",0,0,h.pt,2)).data=h,s.plugin=l,s.setRatio=i,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(h.proxy,m,o._tween),s}})}},S._mod=function(t){for(var e,n=this._overwriteProps,i=n.length;--i>-1;)(e=t[n[i]])&&"function"==typeof e&&(this._mod[n[i]]=e)},S._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;--n>-1;)i[n]===e&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)t[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,t)},i.e._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,n,r,a=i.e.GreenSockGlobals||i.e,o=a.com.greensock,s=2*Math.PI,l=Math.PI/2,u=o._class,c=function(t,e){var n=u("easing."+t,(function(){}),!0),r=n.prototype=new i.b;return r.constructor=n,r.getRatio=e,n},h=i.b.register||function(){},d=function(t,e,n,i,r){var a=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return h(a,t),a},p=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},f=function(t,e){var n=u("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),r=n.prototype=new i.b;return r.constructor=n,r.getRatio=e,r.config=function(t){return new n(t)},n},m=d("Back",f("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),f("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),f("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),g=u("easing.SlowMo",(function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n}),!0),v=g.prototype=new i.b;return v.constructor=g,v.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},g.ease=new g(.7,.7),v.config=g.config=function(t,e,n){return new g(t,e,n)},(v=(t=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new i.b).constructor=t,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},(v=(e=u("easing.ExpoScaleEase",(function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n}),!0)).prototype=new i.b).constructor=e,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,n,i){return new e(t,n,i)},(v=(n=u("easing.RoughEase",(function(t){for(var e,n,r,a,o,s,l=(t=t||{}).taper||"none",u=[],c=0,h=0|(t.points||20),d=h,f=!1!==t.randomize,m=!0===t.clamp,g=t.template instanceof i.b?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--d>-1;)e=f?Math.random():1/h*d,n=g?g.getRatio(e):e,r="none"===l?v:"out"===l?(a=1-e)*a*v:"in"===l?e*e*v:e<.5?(a=2*e)*a*.5*v:(a=2*(1-e))*a*.5*v,f?n+=Math.random()*r-.5*r:d%2?n+=.5*r:n-=.5*r,m&&(n>1?n=1:n<0&&(n=0)),u[c++]={x:e,y:n};for(u.sort((function(t,e){return t.x-e.x})),s=new p(1,1,null),d=h;--d>-1;)o=u[d],s=new p(o.x,o.y,s);this._prev=new p(0,0,0!==s.t?s:s.next)}),!0)).prototype=new i.b).constructor=n,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new n(t)},n.ease=new n,d("Bounce",c("BounceOut",(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),c("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),c("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),d("Circ",c("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),c("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),c("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),d("Elastic",(r=function(t,e,n){var r=u("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2}),!0),a=r.prototype=new i.b;return a.constructor=r,a.getRatio=e,a.config=function(t,e){return new r(t,e)},r})("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),d("Expo",c("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),c("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),c("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),d("Sine",c("SineOut",(function(t){return Math.sin(t*l)})),c("SineIn",(function(t){return 1-Math.cos(t*l)})),c("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(t){return i.b.map[t]}},!0),h(a.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),m}),!0);var P=i.g.Back,L=i.g.Elastic,I=i.g.Bounce,O=i.g.RoughEase,A=i.g.SlowMo,M=i.g.SteppedEase,z=i.g.Circ,N=i.g.Expo,D=i.g.Sine,R=i.g.ExpoScaleEase;r._autoActivated=[d,p,a,o,E,s,h,P,L,I,O,A,M,z,N,D,R]},z12Y:function(t,e,n){"use strict";var i=n("Xerb");n.n(i).a},z1Hx:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.section-faq[data-v-15fcfe1f] {\n background-color: #111827;\n min-height: 100%;\n padding-bottom: 100px;\n}\n.section-faq .hero-body[data-v-15fcfe1f] {\n margin: 0 auto;\n}\n.section-faq .faq[data-v-15fcfe1f] {\n max-width: 1000px;\n}\n.section-faq .faq a[data-v-15fcfe1f] {\n color: whitesmoke;\n text-decoration: underline;\n}\n.section-faq .faq a[data-v-15fcfe1f]:hover {\n color: #EE6C4D;\n}\n.section-faq .faq .transition[data-v-15fcfe1f], .section-faq .faq ul li i[data-v-15fcfe1f]:before, .section-faq .faq ul li i[data-v-15fcfe1f]:after, .section-faq .faq p[data-v-15fcfe1f] {\n transition: all 0.25s ease-in-out;\n}\n.section-faq .faq .flipIn[data-v-15fcfe1f], .section-faq .faq ul li[data-v-15fcfe1f], .section-faq .faq h1[data-v-15fcfe1f] {\n -webkit-animation: flipdown-data-v-15fcfe1f 0.5s ease both;\n animation: flipdown-data-v-15fcfe1f 0.5s ease both;\n}\n.section-faq .faq .no-select[data-v-15fcfe1f], .section-faq .faq h2[data-v-15fcfe1f] {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.section-faq .faq h2[data-v-15fcfe1f] {\n color: #ff6873;\n}\n.section-faq .faq h2[data-v-15fcfe1f] {\n font-size: 26px;\n line-height: 34px;\n font-weight: 300;\n letter-spacing: 1px;\n display: block;\n margin: 0 0 14px;\n cursor: pointer;\n}\n.section-faq .faq p[data-v-15fcfe1f] {\n color: whitesmoke;\n position: relative;\n overflow: hidden;\n max-height: 800px;\n opacity: 1;\n transform: translate(0, 0);\n z-index: 2;\n}\n.section-faq .faq ul[data-v-15fcfe1f] {\n list-style: none;\n perspective: 900;\n padding: 0;\n margin: 0;\n}\n.section-faq .faq ul li[data-v-15fcfe1f] {\n position: relative;\n margin: 0;\n padding: 16px 0;\n border-top: 1px solid #dce7eb;\n}\n.section-faq .faq ul li[data-v-15fcfe1f] {\n -webkit-animation-delay: 0.3s;\n animation-delay: 0.3s;\n}\n.section-faq .faq ul li[data-v-15fcfe1f]:last-of-type {\n padding-bottom: 0;\n}\n.section-faq .faq ul li i[data-v-15fcfe1f] {\n position: absolute;\n transform: translate(-6px, 0);\n margin-top: 16px;\n right: 0;\n}\n.section-faq .faq ul li i[data-v-15fcfe1f]:before, .section-faq .faq ul li i[data-v-15fcfe1f]:after {\n content: "";\n position: absolute;\n background-color: #ff6873;\n width: 3px;\n height: 9px;\n}\n.section-faq .faq ul li i[data-v-15fcfe1f]:before {\n transform: translate(-2px, 0) rotate(45deg);\n}\n.section-faq .faq ul li i[data-v-15fcfe1f]:after {\n transform: translate(2px, 0) rotate(-45deg);\n}\n.section-faq .faq ul li input[type=checkbox][data-v-15fcfe1f] {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n z-index: 1;\n opacity: 0;\n}\n.section-faq .faq ul li input[type=checkbox]:checked ~ p[data-v-15fcfe1f] {\n margin-top: 0;\n max-height: 0;\n opacity: 0;\n transform: translate(0, 50%);\n}\n.section-faq .faq ul li input[type=checkbox]:checked ~ i[data-v-15fcfe1f]:before {\n transform: translate(2px, 0) rotate(45deg);\n}\n.section-faq .faq ul li input[type=checkbox]:checked ~ i[data-v-15fcfe1f]:after {\n transform: translate(-2px, 0) rotate(-45deg);\n}\n@-webkit-keyframes flipdown-data-v-15fcfe1f {\n0% {\n opacity: 0;\n transform-origin: top center;\n transform: rotateX(-90deg);\n}\n5% {\n opacity: 1;\n}\n80% {\n transform: rotateX(8deg);\n}\n83% {\n transform: rotateX(6deg);\n}\n92% {\n transform: rotateX(-3deg);\n}\n100% {\n transform-origin: top center;\n transform: rotateX(0deg);\n}\n}\n@keyframes flipdown-data-v-15fcfe1f {\n0% {\n opacity: 0;\n transform-origin: top center;\n transform: rotateX(-90deg);\n}\n5% {\n opacity: 1;\n}\n80% {\n transform: rotateX(8deg);\n}\n83% {\n transform: rotateX(6deg);\n}\n92% {\n transform: rotateX(-3deg);\n}\n100% {\n transform-origin: top center;\n transform: rotateX(0deg);\n}\n}',""])},zBhI:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".global-leaders[data-v-84a58308] {\n max-width: 800px;\n margin: 0 auto;\n padding: 0 1em;\n}\n.global-leaders .social-container[data-v-84a58308] {\n display: none;\n transition: opacity 0.3s;\n flex-direction: row;\n gap: 0.3rem;\n justify-content: flex-end;\n flex-wrap: wrap;\n min-width: 140px;\n color: #3273dc;\n}\n.global-leaders .social-container a[data-v-84a58308] {\n width: 20px;\n}\n.global-leaders .social-container a[data-v-84a58308]:hover {\n transform: scale(1.1);\n color: #3273dc;\n}\n.global-leaders .leader[data-v-84a58308] {\n position: relative;\n background-color: white;\n border-radius: 4px;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n padding: 5px 4px;\n margin-bottom: 5px;\n color: #011638;\n display: flex;\n align-items: flex-start;\n font-size: 14px;\n transition: all 0.1s;\n}\n.global-leaders .leader[data-v-84a58308]:hover {\n transform: scale(1.05);\n}\n.global-leaders .leader .medal[data-v-84a58308] {\n position: absolute;\n top: -12px;\n left: -12px;\n width: 32px;\n z-index: 10;\n}\n.global-leaders .leader .rank[data-v-84a58308] {\n width: 48px;\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n}\n.global-leaders .leader .rank .flag[data-v-84a58308] {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 48px;\n}\n.global-leaders .leader .rank .flag img[data-v-84a58308] {\n border-radius: 50%;\n width: 32px;\n height: 32px;\n -o-object-fit: fill;\n object-fit: fill;\n}\n.global-leaders .leader .details[data-v-84a58308] {\n flex: 1;\n}\n.global-leaders .leader .details .name[data-v-84a58308] {\n font-weight: 500;\n}\n.global-leaders .leader .details .team[data-v-84a58308] {\n font-size: 12px;\n}\n.global-leaders .leader .details .social-container[data-v-84a58308] {\n display: flex;\n justify-content: flex-start;\n}\n.global-leaders .leader .xp[data-v-84a58308] {\n display: flex;\n flex-direction: column;\n padding-right: 4px;\n}\n.global-leaders .leader .xp .value[data-v-84a58308] {\n font-weight: 500;\n}\n.global-leaders .leader .xp .text[data-v-84a58308] {\n text-align: center;\n}\n@media screen and (min-width: 768px) {\n.global-leaders .social-container[data-v-84a58308] {\n display: flex;\n gap: 0.5rem;\n margin: auto 16px;\n}\n.global-leaders .social-container a[data-v-84a58308] {\n width: 24px;\n}\n.global-leaders .leader[data-v-84a58308] {\n border-radius: 8px;\n padding: 10px 8px;\n margin-bottom: 10px;\n font-size: 16px;\n align-items: center;\n}\n.global-leaders .leader .rank[data-v-84a58308] {\n flex-direction: row;\n gap: 0;\n width: 96px;\n}\n.global-leaders .leader .rank span[data-v-84a58308],\n.global-leaders .leader .rank .flag[data-v-84a58308] {\n width: 48px;\n}\n.global-leaders .leader .details .team[data-v-84a58308] {\n font-size: 14px;\n}\n.global-leaders .leader .details .social-container[data-v-84a58308] {\n display: none;\n}\n.global-leaders .leader .xp[data-v-84a58308] {\n padding-right: 0;\n width: 100px;\n flex-direction: row;\n justify-content: space-evenly;\n}\n}",""])},zH9V:function(t,e,n){"use strict";var i=n("uCbU");n.n(i).a},zLNj:function(t,e,n){var i=n("7kWm");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},zNTn:function(t){t.exports=JSON.parse('{"show-flag":"Pokaż flagę kraju","top-10":"Top 10 najlepszych globalnych liderów OpenLitterMap!","top-10-challenge":"Jeśli uda ci się znaleźć się w pierwszej dziesiątce, możesz reprezentować swój kraj!","action-select":"Wpisz lub przewiń, aby wybrać z listy","select-country":"Wybierz swój kraj","save-flag":"Zapisz flagę"}')},zSMp:function(t,e,n){"use strict";var i=n("zag5");n.n(i).a},zSOa:function(t){t.exports=JSON.parse('{"email-you":"Vous aimeriez que nous vous contactions de temps en temps par e-mail avec de bonnes nouvelles","subscribe":"Abonnez-vous","subscribed-success-msg":"Vous vous êtes abonnées à de bonnes nouvelles! Vous pouvez vous désabonner à tout moment","need-your-help":"Nous avons besoin d\'aide pour créer la base de données sur la pollution la plus avancée et accessible au monde","read":"LIRE","blog":"Blog","research-paper":"Document de Recherche","watch":"REGARDER","help":"AIDER","join-the-team":"Rejoindre l\'équipe","join-slack":"Rejoindre Slack","create-account":"Créer un Compte","fb-group":"Groupe Facebook","single-donation":"Don Unique","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap est un produit phare de GeoTech Innovations Ltd., une startup en Irlande, pionnière dans les services essentiels de la science citoyenne #650323","enter-email":"Entrez votre e-mail","references":"Références","credits":"Crédits","contact-us":"Contactez-Nous"}')},zag5:function(t,e,n){var i=n("bb/+");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},zzSn:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Adjon meg egy azonosítót a csapathoz való csatlakozáshoz.","team-identifier":"Csatlakozz a csapathoz azonosító alapján","enter-id-to-join-placeholder":"Adja meg az azonosítót a csapathoz való csatlakozáshoz","join-team":"Csatlakozz a csapathoz"}')}},[[0,1,2]]]); \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index be8d0cf24..ae6a0f008 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,5 +1,5 @@ { - "/js/app.js": "/js/app.js?id=ddfb20010ea89d41990a", + "/js/app.js": "/js/app.js?id=4c494ac24958c3e7879a", "/css/app.css": "/css/app.css?id=3a09b1f16bc62c982eba", "/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e", "/js/vendor.js": "/js/vendor.js?id=91b109b10d958b21d64c" diff --git a/resources/js/langs/de/home/welcome.json b/resources/js/langs/de/home/welcome.json index abe7c4949..a6c814843 100644 --- a/resources/js/langs/de/home/welcome.json +++ b/resources/js/langs/de/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "Plastic pollution is out of control", "fires-out-of-control": "Zigarettenkippen können Feuer entfachen", + "glass-hurts-pets": "Zerbrochenes Glas tut Haustieren weh", "climate-change-out-of-control": "Plastik verstärkt den Klimawandel", "help-us": "Help us create the world's most advanced open database on litter, brands & plastic pollution", "why-collect-data": "Why should we collect data", diff --git a/resources/js/langs/en/home/welcome.json b/resources/js/langs/en/home/welcome.json index 0ff5fb8e3..981032545 100644 --- a/resources/js/langs/en/home/welcome.json +++ b/resources/js/langs/en/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "Plastic pollution is out of control", "fires-out-of-control": "Cigarette butts can start fires", + "glass-hurts-pets": "Broken glass hurts pets", "climate-change-out-of-control": "Plastic is increasing climate change", "help-us": "Help us create the world's most advanced open database on litter, brands & plastic pollution", "why-collect-data": "Why should we collect data", diff --git a/resources/js/langs/es/home/welcome.json b/resources/js/langs/es/home/welcome.json index e582570b5..f2355f429 100644 --- a/resources/js/langs/es/home/welcome.json +++ b/resources/js/langs/es/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "La contaminación por plásticos está fuera de control", "fires-out-of-control": "Las colillas de cigarrillos pueden provocar incendios", + "glass-hurts-pets": "Los vidrios rotos lastiman a las mascotas", "climate-change-out-of-control": "El plástico está aumentando el cambio climático", "help-us": "Ayúdanos a crear la base de datos abiertos sobre basura, marcas y contaminación por plásticos más avanzada del mundo", "why-collect-data": "¿Por qué deberíamos recolectar estos datos", diff --git a/resources/js/langs/fr/home/welcome.json b/resources/js/langs/fr/home/welcome.json index 6007763a4..7a4d79975 100644 --- a/resources/js/langs/fr/home/welcome.json +++ b/resources/js/langs/fr/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "La pollution plastique est hors de contrôle", "fires-out-of-control": "Les mégots de cigarette peuvent déclencher des incendies", + "glass-hurts-pets": "Le verre brisé blesse les animaux domestiques", "climate-change-out-of-control": "La pollution plastique est en train d'aggraver le changement climatique", "help-us": "Aidez-nous à créer la base de données sur les déchets, les marques concernées et la pollution plastique, la plus avancée au monde ", "why-collect-data": "Pourquoi devrions-nous collecter des données", diff --git a/resources/js/langs/hu/home/welcome.json b/resources/js/langs/hu/home/welcome.json index 343a2b158..f0cef26d2 100644 --- a/resources/js/langs/hu/home/welcome.json +++ b/resources/js/langs/hu/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "A műanyagszennyezés ellenőrizhetetlen", "fires-out-of-control": "A cigarettacsikkek tüzet okozhatnak", + "glass-hurts-pets": "A törött üveg bántja a háziállatokat", "climate-change-out-of-control": "A műanyag fokozza a klímaváltozást", "help-us": "Segítsen nekünk létrehozni a világ legfejlettebb nyílt adatbázisát a szemétről, a márkákról és a műanyagszennyezésről", "why-collect-data": "Miért kell adatokat gyűjtenünk", diff --git a/resources/js/langs/nl/home/welcome.json b/resources/js/langs/nl/home/welcome.json index 7fe96b6e4..21cb2ad70 100644 --- a/resources/js/langs/nl/home/welcome.json +++ b/resources/js/langs/nl/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "Plastic vervuiling is op hol geslagen", "fires-out-of-control": "Sigarettenpeuken kunnen brand veroorzaken", + "glass-hurts-pets": "Dieren raken gewond door gebroken glas", "climate-change-out-of-control": "Plastic zorgt voor toenemende klimaatverandering", "help-us": "Help ons om de meest geavanceerde database te maken met data over afval, merken en plastic vervuiling", "why-collect-data": "Waarom zouden we data moeten verzamelen", diff --git a/resources/js/langs/pl/home/welcome.json b/resources/js/langs/pl/home/welcome.json index a393493b0..f4cb03779 100644 --- a/resources/js/langs/pl/home/welcome.json +++ b/resources/js/langs/pl/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "Zanieczyszczenie plastikiem wymknęło się spod kontroli", "fires-out-of-control": "Niedopałki papierosów mogą wywołać pożar", + "glass-hurts-pets": "Rozbite szkło boli zwierzęta", "climate-change-out-of-control": "Plastik przyspiesza zmianę klimatu", "help-us": "Pomóż nam stworzyć najbardziej zaawansowaną na świecie otwartą bazę danych o śmieciach, markach i zanieczyszczeniu plastikiem", "why-collect-data": "Dlaczego powinniśmy zbierać dane", diff --git a/resources/js/langs/pt/home/welcome.json b/resources/js/langs/pt/home/welcome.json index 99938f60e..a68ac54d0 100644 --- a/resources/js/langs/pt/home/welcome.json +++ b/resources/js/langs/pt/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "A poluição de plástico está fora de controle", "fires-out-of-control": "Bitucas de cigarros podem iniciar incêndios", + "glass-hurts-pets": "Vidro quebrado machuca animais de estimação", "climate-change-out-of-control": "Plástico está aumentando a mudança climática", "help-us": "Ajude-nos a criar o banco de dados aberto mais avançado do mundo sobre lixo, marcas e poluição de plástico", "why-collect-data": "Por que devemos coletar dados", diff --git a/resources/js/langs/sw/home/welcome.json b/resources/js/langs/sw/home/welcome.json index 1716367ac..f720a180b 100644 --- a/resources/js/langs/sw/home/welcome.json +++ b/resources/js/langs/sw/home/welcome.json @@ -1,6 +1,7 @@ { "plastic-pollution-out-of-control": "Uchafuzi wa plastiki umefikia nje ya udhibiti", "fires-out-of-control": "Vichuni vya sigara vinaweza kuwasha moto", + "glass-hurts-pets": "Kioo kilichovunjika huumiza kipenzi", "climate-change-out-of-control": "Plastiki inaongeza mabadiliko ya hali ya hewa", "help-us": "Tusaidie kuunda hifadhidata ya juu zaidi duniani iliyo wazi kuhusu takataka, chapa na uchafuzi wa plastiki", "why-collect-data": "Kwa nini tukusanye taarifa", diff --git a/resources/js/views/home/Footer.vue b/resources/js/views/home/Footer.vue index 88b3a48d7..56214107f 100644 --- a/resources/js/views/home/Footer.vue +++ b/resources/js/views/home/Footer.vue @@ -47,6 +47,10 @@ class="footer-icon" />
      + +
      @@ -97,8 +101,7 @@