{"version":3,"file":"js/application-8e1700c56c66e7e2b2bc.js","mappings":"qHAiBAA,EAAMC,QAENC,EAAAA,KAAAA,QAEAC,OAAOC,eAAiB,SAAUC,GAChC,IAAIC,EAAQC,SAASC,eAAgB,SAAQH,KAC7CC,EAAMG,UAAUC,IAAI,aACpBJ,EAAMG,UAAUE,OAAO,cACxB,EAEDR,OAAOS,iBAAmB,SAAUP,GAClC,IAAIC,EAAQC,SAASC,eAAgB,SAAQH,KAC7CC,EAAMG,UAAUE,OAAO,aACvBL,EAAMG,UAAUC,IAAI,cACrB,C","sources":["webpack://support_act/./app/packs/entrypoints/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/packs 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// 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 Rails from \"@rails/ujs\"\nRails.start()\n\nrequire(\"turbolinks\").start();\n\nwindow.setAsPurchased = function (id) {\n var album = document.getElementById(`album-${id}`);\n album.classList.add(\"purchased\");\n album.classList.remove(\"unpurchased\");\n};\n\nwindow.setAsUnpurchased = function (id) {\n var album = document.getElementById(`album-${id}`);\n album.classList.remove(\"purchased\");\n album.classList.add(\"unpurchased\");\n};\n"],"names":["Rails","start","require","window","setAsPurchased","id","album","document","getElementById","classList","add","remove","setAsUnpurchased"],"sourceRoot":""}