{"version":3,"file":"js/application-67e49a963541e54384d7.js","mappings":"gHAoBA,IAAIA,EAA0BC,EAAAA,OACVA,EAAQ,OACdC,WAAWF,GAEzB,IAAIG,EAASF,EAAQ,OACrBG,EAAEC,UAAU,CACVC,QAAS,CAAE,yBAA0BH,IAASI,YAAc,MAG1DC,OAAOC,SACTA,OAAOC,QAAO,WACZD,OAAOE,KAAK,CAEVC,iBAAkB,EAClBC,wBAAyB,CAAC,gBAAiB,QAE3CC,yBAA0B,GAC1BC,yBAA0B,GAE9B,IAEAX,EAAEY,UACCC,WACC,SAASC,EAAOC,EAAOC,EAAUC,GAC/B,MAAMC,EAAe,mBAAmBF,EAASG,SAASH,EAASI,MAEnEf,OAAOgB,iBACL,IAAIC,MAAMJ,GACV,CACEK,OAAQ,CACNC,KAAMR,EAASQ,KACfP,UAAWA,EACXQ,aAAcV,EAAMU,aACpBC,OAAQX,EAAMW,OACdC,WAAYZ,EAAMY,WAClBR,KAAMH,EAASG,KACfC,IAAKJ,EAASI,KAEhBQ,KAAM,CACJC,KAAM,SAId,I","sources":["webpack://clozemaster/./app/javascript/packs/application.js"],"sourcesContent":["/* eslint no-console:0 */\n// 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.\n//\n// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.erb\n\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)\n\nimport \"../../assets/stylesheets/tailwind.scss\";\n\n// Support component names relative to this directory:\nvar componentRequireContext = require.context(\"components\", true)\nvar ReactRailsUJS = require(\"react_ujs\")\nReactRailsUJS.useContext(componentRequireContext)\n\nvar moment = require('moment');\n$.ajaxSetup({\n headers: { \"Time-Zone-Offset-Hours\": moment().utcOffset() / 60 }\n});\n\nif (window.Sentry) {\n Sentry.onLoad(function() {\n Sentry.init({\n // Performance Monitoring\n tracesSampleRate: 1.0, // Capture 100% of the transactions\n tracePropagationTargets: [/\\/l\\/\\w+-\\w+$/, /play/],\n // Session Replay\n replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.\n replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.\n });\n });\n\n $(document)\n .ajaxError(\n function(event, jqxhr, settings, exception) {\n const errorMessage = `JS: AJAX Error: ${settings.type}: ${settings.url}`;\n \n Sentry.captureException(\n new Error(errorMessage),\n {\n extras: {\n data: settings.data,\n exception: exception,\n responseText: jqxhr.responseText,\n status: jqxhr.status,\n statusText: jqxhr.statusText,\n type: settings.type,\n url: settings.url,\n },\n tags: {\n ajax: \"true\",\n },\n }\n );\n }\n );\n}\n\n"],"names":["componentRequireContext","require","useContext","moment","$","ajaxSetup","headers","utcOffset","window","Sentry","onLoad","init","tracesSampleRate","tracePropagationTargets","replaysSessionSampleRate","replaysOnErrorSampleRate","document","ajaxError","event","jqxhr","settings","exception","errorMessage","type","url","captureException","Error","extras","data","responseText","status","statusText","tags","ajax"],"sourceRoot":""}