{"version":3,"file":"js/unsigned-7ce58fd1281036297fb0.js","mappings":"4SAqB6CA,OAAOC,KACnCC,EAAQ,MACdC,KAAKH,OAAOC,KAGsBD,OAAOI,oBAClDC,EAAAA,GAAY,CACVC,IAAKN,OAAOI,qBAIhBG,SAASC,iBAAiB,cAAc,KACtC,MAAMC,EAAUT,OAAOU,KACvB,IAAIC,EAAa,GACjB,IACEX,OAAOU,UAAOE,EACdD,EAAaE,IAAAA,YAAiBC,OAC9BH,EAAaD,KAAKK,iBAAiBC,kBAAkBC,SACrDjB,OAAOU,KAAOD,CAChB,CAAE,MAAOS,GAEPP,EAAaE,IAAAA,YAAiBC,MAChC,CAEAK,QAAQC,IAAI,eAAiBT,EAAWU,MAAM,KAAK,IAEnDC,EAAE,iCAAoCX,EAAWU,MAAM,KAAK,GAAK,MAAOE,KACtE,YACA,EACD,G","sources":["webpack://gumstack/./client/packs/unsigned.js"],"sourcesContent":["// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\nimport '@hotwired/turbo-rails';\nimport '../lib/rails_common';\n\n// Uncomment to copy all static images under ../images to the output folder and reference\n// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)\n// or the `imagePath` JavaScript helper below.\n//\n// const images = require.context('../images', true)\n// const imagePath = (name) => images(name, true)\nimport '../stylesheets/unsigned';\nimport '../lib/bs_custom.js';\nimport jstz from 'jstz';\nimport '../lib/telephone_input.js';\nimport * as Sentry from '@sentry/browser';\n\nimport 'controllers';\n\nif (process.env.NODE_ENV === 'production' && window._mt) {\n var mixpanel = require('mixpanel-browser');\n mixpanel.init(window._mt);\n}\n\nif (process.env.NODE_ENV === 'production' && window._sentry_client_dsn) {\n Sentry.init({\n dsn: window._sentry_client_dsn,\n });\n}\n\ndocument.addEventListener('turbo:load', () => {\n const oldIntl = window.Intl;\n let detectedTz = '';\n try {\n window.Intl = undefined;\n detectedTz = jstz.determine().name();\n detectedTz = Intl.DateTimeFormat().resolvedOptions().timeZone;\n window.Intl = oldIntl;\n } catch (e) {\n // sometimes (on android) you can't override intl\n detectedTz = jstz.determine().name();\n }\n\n console.log('detectedTz: ' + detectedTz.split('/')[1]);\n\n $('#user_time_zone option[value=\\'' + detectedTz.split('/')[1] + '\\']').prop(\n 'selected',\n true\n );\n});\n"],"names":["window","_mt","require","init","_sentry_client_dsn","Sentry","dsn","document","addEventListener","oldIntl","Intl","detectedTz","undefined","jstz","name","DateTimeFormat","resolvedOptions","timeZone","e","console","log","split","$","prop"],"sourceRoot":""}