{"version":3,"file":"application-DtuenYNN.js","sources":["../../../app/frontend/entrypoints/application.js"],"sourcesContent":["/* eslint no-console:0 */\n// This file is automatically compiled by 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/frontend and only use these pack files to reference\n// that code so it'll be compiled.\n//\n// To reference this file, add <%= vite_javascript_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.erb\nimport './c-file_input';\nimport './dropdown';\nimport './flash_msg';\nimport JobDetailFloatingMenu from './job_detail_floating_menu';\nimport './job_favorite';\nimport './jobs_search';\nimport './vue_main';\nimport './cookie_favorite_button';\nimport { encodeCookieHistoryRecord } from './encode_cookie_history_record';\n\nwindow.jQuery = $;\nwindow.$ = $;\n\ndocument.addEventListener('DOMContentLoaded', () => {\n // クッキーの`history_record`がエンコードされていない場合にエンコードする\n // TODO: リリースして1日以上経過したら削除する\n encodeCookieHistoryRecord();\n\n // TODO: フローティングメニューが表示されない画面でも読み込まれてるので、求人詳細用でだけ読みけ読み込むようにすると良さそう\n if (window.location.pathname !== '/') {\n new JobDetailFloatingMenu(800);\n }\n});\n"],"names":["$","encodeCookieHistoryRecord","JobDetailFloatingMenu"],"mappings":"slCAkBA,OAAO,OAASA,EAChB,OAAO,EAAIA,EAEX,SAAS,iBAAiB,mBAAoB,IAAM,CAGlDC,IAGI,OAAO,SAAS,WAAa,KAC/B,IAAIC,EAAsB,GAAG,CAEjC,CAAC"}