{"version":3,"file":"default.js","sources":["default.js"],"sourcesContent":["$(function () {\r\n $(document).on('change', '#around-input', function () {\r\n if (this.checked) {\r\n DisableSubmit();\r\n storeLocation($(this), EnableSubmit);\r\n }\r\n else {\r\n removeLocation();\r\n EnableSubmit();\r\n }\r\n });\r\n\r\n // Set a location from the browser while the page loads\r\n if ($('#around-input').is(':checked')) {\r\n DisableSubmit();\r\n storeLocation($('#around-input'), EnableSubmit);\r\n }\r\n});\r\n\r\nfunction DisableSubmit() {\r\n $(\"#search-button\").prop(\"disabled\", true);\r\n}\r\n\r\nfunction EnableSubmit() {\r\n $(\"#search-button\").removeAttr('disabled');\r\n}\r\n"],"names":["DisableSubmit","$","prop","EnableSubmit","removeAttr","document","on","this","checked","storeLocation","removeLocation","is"],"mappings":"AAmBA,SAASA,gBACLC,EAAE,kBAAkBC,KAAK,YAAY,GAGzC,SAASC,eACLF,EAAE,kBAAkBG,WAAW,YAxBnCH,EAAE,WACEA,EAAEI,UAAUC,GAAG,SAAU,gBAAiB,WAClCC,KAAKC,SACLR,gBACAS,cAAcR,EAAEM,MAAOJ,gBAGvBO,iBACAP,kBAKJF,EAAE,iBAAiBU,GAAG,cACtBX,gBACAS,cAAcR,EAAE,iBAAkBE"}