YUI.add("moodle-mod_attendance-groupfilter",function(a,e){M.mod_attendance=M.mod_attendance||{},M.mod_attendance.groupfilter={groupmappings:null,init:function(e){"use strict";this.groupmappings=e.groupmappings,a.one("#id_group").after("change",this.update_user_list,this)},update_user_list:function(){"use strict";var e,t,n,o,i;if(e=a.one("#id_group").get("value"),n=this.groupmappings[e],(t=a.one("#id_users")).get("options").remove(),n!==undefined)for(o in n)n.hasOwnProperty(o)&&((i=a.Node.create("<option></option>")).set("value",o),i.set("text",n[o]),t.appendChild(i))}}},"@VERSION@",{requires:["base","node"]});