{"version":3,"file":"application.483677e9.js","sources":["../../../app/javascript/entrypoints/application.js"],"sourcesContent":["// To see this message, add the following to the `` section in your\n// views/layouts/application.html.erb\n//\n// <%= vite_client_tag %>\n// <%= vite_javascript_tag 'application' %>\n// Example: Load Rails libraries in Vite.\n//\n// import '@rails/ujs'\n//\n// import Turbolinks from 'turbolinks'\n// import ActiveStorage from '@rails/activestorage'\n//\n// // Import all channels.\n// import.meta.globEager('./**/*_channel.js')\n//\n// Turbolinks.start()\n// ActiveStorage.start()\n\n// Example: Import a stylesheet in app/frontend/index.css\n// import '~/index.css'\n\n// This file is automatically compiled by ~Webpack~ __vite__, 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\nimport \"@assets/stylesheets/application.scss\";\n\nimport Rails from \"@rails/ujs\";\nimport Turbolinks from \"turbolinks\";\nimport { start as activeStorageStart } from \"@rails/activestorage\";\nimport Cookies from \"js-cookie\";\n\n// eslint-disable-next-line no-underscore-dangle\nif (!window._rails_loaded) Rails.start(); // this might get loaded by @rails/activestorage\nTurbolinks.start();\nactiveStorageStart();\n\n// If using a TypeScript entrypoint file:\n// <%= vite_typescript_tag 'application' %>\n//\n// If you want to use .jsx or .tsx, add the extension:\n// <%= vite_javascript_tag 'application.jsx' %>\n\n// Import all channels.\nimport.meta.globEager(\"./**/*_channel.js\");\n\n// This is used to set Rails’s timezone for the user:\nCookies.set(\"browser.timezone\", Intl.DateTimeFormat().resolvedOptions().timeZone, {\n expires: 365,\n path: \"/\",\n secure: true,\n});\n"],"names":["Rails","Turbolinks","activeStorageStart","Cookies"],"mappings":"mGAkCK,OAAO,eAAeA,EAAM,MAAK,EACtCC,EAAW,MAAK,EAChBC,IAYAC,EAAQ,IAAI,mBAAoB,KAAK,eAAc,EAAG,gBAAiB,EAAC,SAAU,CAChF,QAAS,IACT,KAAM,IACN,OAAQ,EACV,CAAC"}