{"version":3,"file":"chunks/vacant-jobs.js?v=143b99d9bc5684573a68","mappings":";;;;;;;;;;AAAA,MAAMA,UAAU,CAAC;EAEhBC,WAAWA,CAAEC,IAAI,EAAG;IACnB,IAAI,CAACC,KAAK,GAAGC,KAAK,CAACC,SAAS,CAACC,KAAK,CAACC,IAAI,CAACL,IAAI,CAAC,CAAC,CAAC,CAACM,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IACvF,IAAI,CAACC,UAAU,CAAC,CAAC;IACjBC,MAAM,CAACC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,IAAI,CAACF,UAAU,CAAC,CAAC,CAAC;EAC3D;EAEAA,UAAUA,CAAA,EAAG;IACZ,IAAI,CAACN,KAAK,CAACS,OAAO,CAACC,IAAI,IAAI;MAC1BA,IAAI,CAACC,KAAK,CAACC,SAAS,GAAG,CAAC,GAAG,IAAI;IAChC,CAAC,CAAC;IAEF,MAAMC,OAAO,GAAGC,IAAI,CAACC,GAAG,CAACC,KAAK,CAACF,IAAI,EAAE,IAAI,CAACd,KAAK,CAACiB,GAAG,CAAEP,IAAI,IAAKA,IAAI,CAACQ,YAAY,CAAC,CAAC;IAEjF,IAAI,CAAClB,KAAK,CAACS,OAAO,CAACC,IAAI,IAAI;MAC1BA,IAAI,CAACC,KAAK,CAACC,SAAS,GAAGC,OAAO,GAAG,CAAC,GAAG,IAAI;IAC1C,CAAC,CAAC;EACH;AACD;AAEA,+DAAehB,UAAU","sources":["webpack://Alster/./app/components/vacant-jobs/vacant-jobs.js"],"sourcesContent":["class VacantJobs {\n\n\tconstructor( elem ) {\n\t\tthis.items = Array.prototype.slice.call(elem[0].querySelectorAll('.vacant-jobs__card'))\n\t\tthis.setHeights()\n\t\twindow.addEventListener('resize', () => this.setHeights())\n\t}\n\n\tsetHeights() {\n\t\tthis.items.forEach(item => {\n\t\t\titem.style.minHeight = 0 + 'px'\n\t\t})\n\n\t\tconst highest = Math.max.apply(Math, this.items.map((item) => item.clientHeight))\n\n\t\tthis.items.forEach(item => {\n\t\t\titem.style.minHeight = highest + 2 + 'px'\n\t\t})\n\t}\n}\n\nexport default VacantJobs\n\n"],"names":["VacantJobs","constructor","elem","items","Array","prototype","slice","call","querySelectorAll","setHeights","window","addEventListener","forEach","item","style","minHeight","highest","Math","max","apply","map","clientHeight"],"sourceRoot":""}