{"version":3,"file":"js/3490.main.min.js","mappings":";;;;;;;;;;;;AAAgF;AACwC;;AAExH;AACO,SAASG,sBAAsBA,CAAA,EAAG;EAErC,QAAOC,MAAM,CAACC,aAAa,CAACC,WAAW,CAACC,YAAY;IAEhD,KAAKL,uGAAwB;MACzB,IAAI,CAACM,oBAAoB,CAAC;QACxBC,GAAG,EAAE,QAAQ;QACbC,KAAK,EAAER,uGAAwBA;MACjC,CAAC,CAAC;MACJ;IAEF,KAAKD,6GAA8B;MAC/B,IAAI,CAACO,oBAAoB,CAAC;QACxBC,GAAG,EAAE,QAAQ;QACbC,KAAK,EAAET,6GAA8BA;MACvC,CAAC,CAAC;MACJ;IAEF;MACI,IAAI,CAACO,oBAAoB,CAAC;QACxBC,GAAG,EAAE,QAAQ;QACbC,KAAK,EAAEV,+FAAoBA;MAC7B,CAAC,CAAC;MACN;EACF;EAAC;AAEP;AAAC","sources":["webpack://smetio/./developement/js/functions/geolocation/handleGeolocationError.js"],"sourcesContent":["import { SMETIO_UNKNOWN_ERROR } from \"../../constants/smetio_general_constants\";\nimport { SMETIO_GEOLOCATION_UNAVAILABLE, SMETIO_PERMISSION_DENIED } from \"../../constants/smetio_geolocation_constants\";\n\n/**** EVERY CLASS USING THIS FUNCTION HAS TO IMPLEMENT this.showGeolocationError METHOD ****/\nexport function handleGeolocationError() {\n\n switch(window.smetioVisitor.geoLocation.currentError) {\n \n case SMETIO_PERMISSION_DENIED: \n this.showGeolocationError({\n txt: \"txt256\",\n error: SMETIO_PERMISSION_DENIED\n }); \n break;\n\n case SMETIO_GEOLOCATION_UNAVAILABLE: \n this.showGeolocationError({\n txt: \"txt257\",\n error: SMETIO_GEOLOCATION_UNAVAILABLE\n }); \n break;\n\n default: \n this.showGeolocationError({\n txt: \"txt219\",\n error: SMETIO_UNKNOWN_ERROR\n }); \n break; \n }; \n\n};\n"],"names":["SMETIO_UNKNOWN_ERROR","SMETIO_GEOLOCATION_UNAVAILABLE","SMETIO_PERMISSION_DENIED","handleGeolocationError","window","smetioVisitor","geoLocation","currentError","showGeolocationError","txt","error"],"sourceRoot":""}