YUI.add("moodle-mod_offlinequiz-repaginate",function(o,e){var i=".rpcontainerclass",n="#repaginatecommand",t="header",a="form",d=function(){d.superclass.constructor.apply(this,arguments)};o.extend(d,o.Base,{header:null,body:null,initializer:function(){var e=o.one(i);this.header=e.getAttribute(t),this.body=e.getAttribute(a),o.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 d}},"@VERSION@",{requires:["base","event","node","io","moodle-core-notification-dialogue"]});