1"use strict";(self.webpackChunkhf_kf_frontend=self.webpackChunkhf_kf_frontend||[]).push([[265],{5058:(a,t,e)=>{e.r(t),e.d(t,{default:()=>l});var n=e(4692),i=e.n(n),o=e(7676),d=e(3782);const l=class{constructor(){i()(document.body).on("click",".bb-job-details__button-apply",(a=>{a.preventDefault(),i()(".bb-job-details__details-content").fadeOut(300,(()=>{i()(".bb-form").fadeIn(400);var a,t,e=i()(window).scrollTop(),n=i()(".bb-form__form").offset().top;(a=e-(n-=i()(".bb-header").outerHeight()+10))<0&&(a*=-1),t=500+.08*a,i()("html,body").stop().animate({scrollTop:n},t)}))})),i()(document.body).on("bb-form-valid-submit",".bb-job-details",this._onValidFormSubmit.bind(this))}_onValidFormSubmit(a){const t=i()(a.target).closest(".bb-form");(async()=>{var a=new FormData;a.append("action","bb_personio_add_application"),a.append("job_position_id",t.find('input[name="job_position_id"]').val()),a.append("first_name",t.find('input[name="first_name"]').val()),a.append("last_name",t.find('input[name="last_name"]').val()),a.append("email",t.find('input[name="email"]').val()),a.append("attributes[]",JSON.stringify({id:"phone",value:t.find('input[name="phone"]').val()})),a.append("attributes[]",JSON.stringify({id:"available_from",value:t.find('input[name="available_from"]').val()})),a.append("attributes[]",JSON.stringify({id:"salary_expectations",value:t.find('input[name="salary_expectations"]').val()})),a.append("attributes[]",JSON.stringify({id:"location",value:t.find('input[name="location"]').val()}));const e=t.find('input[name^="custom_attribute_"]');e.length&&a.append("attributes[]",JSON.stringify({id:e.attr("id"),value:e.val()})),t.find(".bb-file-upload .dropzone").each(((t,e)=>{const n=i()(e).data("dropzone");(0,d.addDropzoneFilesToFormData)(n,a,""+(0===t?"cv":1===t?"cover-letter":2===t?"employment-reference":"certificate"))})),await o.default.sendFormWithToken(t,a)})()}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.