YUI.add("moodle-mod_offlinequiz-repaginate",function(e,o){var i=".rpcontainerclass",n="#repaginatecommand",t="header",a="form",r=function(){r.superclass.constructor.apply(this,arguments)};e.extend(r,e.Base,{header:null,body:null,initializer:function(){rpcontainerclass=e.one(i),this.header=rpcontainerclass.getAttribute(t),this.body=rpcontainerclass.getAttribute(a),e.one(n).on("click",this.display_dialog,this)},display_dialog:function(e){var o;e.preventDefault(),e={headerContent:this.header,bodyContent:this.body,draggable:!0,modal:!0,zIndex:1e3,context:[n,"tr","br",["beforeShow"]],centered:!1,width:"30em",visible:!1,postmethod:"form",footerContent:null},(o={dialog:null}).dialog=new M.core.dialogue(e),o.dialog.show()}}),M.mod_offlinequiz=M.mod_offlinequiz||{},M.mod_offlinequiz.repaginate=M.mod_offlinequiz.repaginate||{},M.mod_offlinequiz.repaginate.init=function(){return new r}},"@VERSION@",{requires:["base","event","node","io","moodle-core-notification-dialogue"]});