Sindbad~EG File Manager

Current Path : /var/www/moodledata/mdata-estudioslaagricola/filedir/ec/9b/
Upload File :
Current File : /var/www/moodledata/mdata-estudioslaagricola/filedir/ec/9b/ec9bccd158a53ee682d3aa0d78dd3c620de7a095

(()=>{var e={263:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{A:()=>b});var o=function(){function e(t){var n=t.question,r=t.alternatives;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=r.map((function(e,t){return{id:""+t,description:{"en-US":e.text}}}));this.event={description:{"en-US":n},type:"http://adlnet.gov/expapi/activities/cmi.interaction",interactionType:"choice",choices:i}}var t,n,o;return t=e,o=[{key:"getResultPattern",value:function(e){return e.reduce((function(e,t,n){return t.checked&&(e+=(e.length?"[,]":"")+n),e}),"")}}],(n=[{key:"generateXApi",value:function(t,n){var i=e.getResultPattern(n),o=t.data.statement;return r(o,{result:{response:i}}),o.object&&r(o.object.definition,this.event),t}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=0,b=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(a,H5P.EventDispatcher);var e,t,n,r,i=(n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(n);if(r){var i=h(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function a(e){var t,n=e.question,r=e.alternatives,c=void 0===r?[]:r,u=e.inputType,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).uniqueName="h5p-simple-multiple-choice-"+d,d+=1,t.listItems=[],t.feedbackElements=[],t.state=c.map((function(e,t){return{id:t,text:e.text,checked:!1}})),t.hasFeedback=c.some((function(e){return e.feedback.chosenFeedback||e.feedback.notChosenFeedback})),t.feedbackShown=!1,t.xapiGenerator=new o({question:n,alternatives:c}),t.attach=function(e){var t=document.createElement("div");t.className="h5p-simple-multiple-choice";var n=document.createElement("div");n.classList.add("h5p-simple-multiple-choice-question"),n.classList.add("h5p-subcontent-question");var r=this.createQuestion(this.uniqueName);n.appendChild(r),t.appendChild(n);var i=this.createAlternativesList(this.uniqueName);t.appendChild(i),e.get(0).appendChild(t),this.$wrapper=e},t.createQuestion=function(e){var t=document.createElement("div");return t.id=e,t.innerHTML=n,t},t.handleInputChange=function(e){this.feedbackShown&&(this.feedbackElements.forEach((function(e){e.parentNode.removeChild(e)})),this.feedbackElements=[],this.feedbackShown=!1,this.trigger("allow-finish-changed")),this.state=this.state.map((function(t,n){var r=n===e;return"radio"!==u&&(r=n===e?!t.checked:t.checked),l({},t,{checked:r})})),this.trigger("changed");var t=this.createXAPIEventTemplate("interacted"),n=this.xapiGenerator.generateXApi(t,this.state);this.trigger(n)},t.createAlternativesList=function(e){var t=this;if(!this.state.length){var n=document.createElement("div");return n.className="h5p-simple-multiple-choice-alternatives-error",n.textContent="ERROR: No alternatives chosen",n}var r=document.createElement("ul");return r.classList.add("h5p-simple-multiple-choice-alternatives"),r.classList.add("h5p-subcontent-body"),r.setAttribute("role","listbox"),r.setAttribute("aria-labelledby",e),this.state.forEach((function(e){var n=e.id,i=e.text,o=e.checked,c=document.createElement("li");c.className="h5p-simple-multiple-choice-alternative-li";var a=document.createElement("label"),s=document.createElement("input");s.className="h5p-simple-multiple-choice-alternative-input",s.type=u||"checkbox",s.name=t.uniqueName,o&&s.setAttribute("checked","checked"),a.addEventListener("change",t.handleInputChange.bind(t,n)),a.appendChild(s),a.innerHTML+=i,c.appendChild(a),r.appendChild(c),t.listItems.push(c)})),r},t.getCurrentState=function(){return o.getResultPattern(this.state)},t.resetTask=function(){var e,t;this.state=this.state.map((function(e){return s(s({},e),{},{checked:!1})})),null===(e=this.$wrapper)||void 0===e||null===(t=e.get(0))||void 0===t||t.querySelectorAll("input[type=checkbox], input[type=radio]").forEach((function(e){e.checked=!1}))},t.restorePreviousState=function(){var e=this;p.previousState&&p.previousState.split("[,]").forEach((function(t){e.state[t].checked=!0}))},t.allowFinish=function(){return this.hasFeedback?this.hasFeedback&&this.feedbackShown?a.AllowFinish.ALLOW:a.AllowFinish.DENY:a.AllowFinish.ALWAYS},t.finish=function(){var e=this;return c.forEach((function(t,n){if(t.feedback){var r,i=e.state[n].checked;if(i&&t.feedback.chosenFeedback?r=t.feedback.chosenFeedback:!i&&t.feedback.notChosenFeedback&&(r=t.feedback.notChosenFeedback),r){var o=document.createElement("div");o.className="h5p-simple-multiple-choice-alternative-feedback "+(i?"chosen":"not-chosen"),o.innerHTML=r,e.feedbackElements.push(o),e.listItems[n].appendChild(o)}}})),this.feedbackShown=!0,0===this.feedbackElements.length},t.restorePreviousState(),t}return e=a,t=[{key:"AllowFinish",get:function(){return{ALWAYS:0,DENY:1,ALLOW:2}}}],null&&p(e.prototype,null),t&&p(e,t),Object.defineProperty(e,"prototype",{writable:!1}),a}()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),H5P.SimpleMultiChoice=n(263).A})();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists