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YAAY,EACtC,IAEArC,EAAE,eAAeoC,OAAM,KACrB,IAAIE,EAAOtC,EAAE,iCACbA,EAAEuC,KAAK,CACLC,KAAMF,EAAKD,KAAK,UAChBI,IAAKH,EAAKD,KAAK,UACfK,KAAMJ,EAAKK,YACXC,QAASA,KACP5C,EAAE,kBACC6C,OAAO,IAAM,KACbC,QAAQ,KAAK,KACZ9C,EAAE,kBAAkB8C,QAAQ,KAC5BC,WAAWC,SAASC,QAAO,GAAO,IAAK,GACvC,EAENC,MAAOA,KACLlD,EAAE,gBACC6C,OAAO,IAAM,KACbC,QAAQ,KAAK,GAElB,GACF,E,sBCrGJK,EAAAA,GAAQC,IAAIC,EAAAA,IAAYC,EAAAA,KAExBC,OAAOC,iBAAmBA,C","sources":["webpack:///./custom/hgmp/app/javascript/hgmpMrMOrderForm.js","webpack:///./custom/hgmp/app/javascript/packs/hgmp_mrm.js"],"sourcesContent":["const hgmpMrMOrderForm = local_associations => {\n $(document).ready(function() {\n $(\"#success-alert\").hide();\n $(\"#error-alert\").hide();\n });\n\n //filter regional and local associations\n var $selectRegional = $('[name=\"hgmp_order[regional_association]\"]');\n var $selectLocal = $('[name=\"hgmp_order[local_association_id]\"]');\n $selectRegional.select2({\n placeholder: \"Bitte den Landesverband auswählen oder suchen\",\n });\n $(\"select[name='hgmp_order[local_association_id]']\").select2({\n placeholder: \"Bitte erst den Landesverband auswählen\",\n });\n\n //filter local associations list for each regional association\n function select_options(selection) {\n var filteredRegionalAssociation = local_associations[selection];\n var options = filteredRegionalAssociation.map(option =>\n $(\"