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AE,6BAA6BQ,OAAM,WACnC,GAAGd,KAAKe,QACN,IAAIC,EAAMC,QAAQ,uIAEpB,OAAS,GAALD,CAIN,IAEAV,EAAE,4BAA4BQ,OAAM,WAClC,GAAGd,KAAKe,QAER,OAAS,GADCE,QAAQ,oIAMpB,IAEAX,EAAE,2BAA2BQ,OAAM,WACjC,GAAGd,KAAKe,QAER,OAAS,GADCE,QAAQ,0HAMpB,IAEAX,EAAE,yBAAyBQ,OAAM,WAC/B,GAAGd,KAAKe,QAER,OAAS,GADCE,QAAQ,oIAMpB,GAGF,G","sources":["webpack://bwhm_documentation_database/./app/assets/images/ sync ^\\.\\/.*$","webpack://bwhm_documentation_database/./app/assets/javascript/application.js","webpack://bwhm_documentation_database/./app/assets/javascript/controllers/application.js","webpack://bwhm_documentation_database/./app/assets/javascript/controllers/hello_controller.js","webpack://bwhm_documentation_database/./app/assets/javascript/controllers/index.js","webpack://bwhm_documentation_database/./app/assets/javascript/counselor_interface/apprentice.js","webpack://bwhm_documentation_database/./app/assets/javascript/counselor_interface/company.js","webpack://bwhm_documentation_database/./app/assets/javascript/packs/inactive_confirmation.js"],"sourcesContent":["var map = {\n\t\"./bwhm-company-logo.png\": 987,\n\t\"./people-fill.svg\": 547,\n\t\"./person-icon-bootstrap.png\": 587,\n\t\"./so-icon-flat.svg\": 442\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 672;","// 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\"\nTurbo.session.drive = false\nimport \"./controllers\"\nimport \"bootstrap\"\nimport \"bootstrap4-toggle/js/bootstrap4-toggle.min.js\"\nimport \"../stylesheets/application.scss\"\nimport Rails from \"@rails/ujs\";\nRails.start();\nimport \"chartkick/chart.js\"\nrequire(\"jquery\")\nrequire('jquery-ui/ui/widgets/autocomplete')\nrequire(\"@fortawesome/fontawesome-free/js/all\")\nimport \"./packs/inactive_confirmation.js\"\nimport \"./counselor_interface/apprentice.js\";\nimport \"./counselor_interface/company.js\";\nconst images = require.context('../images', true)\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","import { Application } from \"@hotwired/stimulus\"\n\nconst application = Application.start()\n\n// Configure Stimulus development experience\napplication.debug = false\nwindow.Stimulus = application\n\nexport { application }\n","import { Controller } from \"@hotwired/stimulus\"\n\nexport default class extends Controller {\n connect() {\n this.element.textContent = \"Hello World!\"\n }\n}\n","// This file is auto-generated by ./bin/rails stimulus:manifest:update\n// Run that command whenever you add a new controller or create them with\n// ./bin/rails generate stimulus controllerName\n\nimport { application } from \"./application\"\n\nimport HelloController from \"./hello_controller\"\napplication.register(\"hello\", HelloController)\n","$(document).on('turbo:load', function() {\n $('#search_apprentice').autocomplete({\n source: $('#search_apprentice').data('autocomplete-source')\n })\n});","document.addEventListener(\"turbo:load\", function() {\n $('#search_company').autocomplete({\n source: $('#search_company').data('autocomplete-source')\n })\n});\n","$(document).ready(function(){\n\n $(\"#successful_participation\").click(function() {\n if(this.checked) {\n var box = confirm(\"Wenn Sie die Teilnahme erfolgreich abschließen und anschließend speichern kann dieser Datensatz nicht mehr bearbeitet werden.\");\n }\n if (box==false)\n return false\n else\n return true\n });\n\n $(\"#cancelled_participation\").click(function() {\n if(this.checked) {\n var box = confirm(\"Wenn Sie die Teilnahme abbrechen abschließen und anschließend speichern kann dieser Datensatz nicht mehr bearbeitet werden.\");\n if (box==false)\n return false\n else\n return true\n }\n });\n\n $(\"#deactivate_institution\").click(function() {\n if(this.checked) {\n var box = confirm(\"Wenn Sie die Institution deaktivieren und anschließend speichern kann dieser Datensatz nicht mehr bearbeitet werden.\");\n if (box==false)\n return false\n else\n return true\n }\n });\n\n $(\"#deactivate_counselor\").click(function() {\n if(this.checked) {\n var box = confirm(\"Wenn Sie die Ausbildungsbegleitung deaktivieren und anschließend speichern kann dieser Datensatz nicht mehr bearbeitet werden.\");\n if (box==false)\n return false\n else\n return true\n }\n });\n\n\n});"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","Turbo","session","drive","Rails","start","require","application","Application","debug","window","Stimulus","_default","_Controller","_classCallCheck","_callSuper","arguments","_inherits","key","value","this","element","textContent","Controller","register","HelloController","$","document","on","autocomplete","source","data","addEventListener","ready","click","checked","box","confirm"],"sourceRoot":""}