!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define([],e):"object"==typeofexports?exports.mcfObjects=e():t.mcfObjects=e()}(window,(function(){returnfunction(t){vare={};functionn(i){if(e[i])returne[i].exports;varr=e[i]={i:i,l:!1,exports:{}};returnt[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}returnn.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;vari=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varrint)n.d(i,r,function(e){returnt[e]}.bind(null,r));returni},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";functioni(t){return(i="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functionr(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}functiono(t,e){return(o=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functiona(t){vare=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();returnfunction(){varn,i=c(t);if(e){varr=c(this).constructor;n=Reflect.construct(i,arguments,r)}elsen=i.apply(this,arguments);returnu(this,n)}}functionu(t,e){return!e||"object"!==i(e)&&"function"!=typeofe?function(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}(t):e}functionc(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)})(t)}functionf(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functions(t,e){for(varn=0;n<e.length;n++){vari=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"ini&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}functionl(t,e,n){returne&&s(t.prototype,e),n&&s(t,n),t}n.r(e),n.d(e,"definedObject",(function(){returng})),n.d(e,"MCF_File",(function(){returnx}));varh=function(){functiont(e){f(this,t),this.definition=e,this.validations={}}returnl(t,[{key:"setValue",value:function(t){this.validate(t),this.value=t}},{key:"getValue",value:function(){returnthis.value}},{key:"validate",value:function(t){for(vareinthis.validations)this.validations[e](t,this.definition)}}]),t}(),d=function(t){r(n,t);vare=a(n);functionn(t){vari;returnf(this,n),(i=e.call(this,t)).addValidations(),i}returnl(n,[{key:"addValidations",value:function(){for(vartinthis.validations.type=function(t){if("string"!=typeoft)thrownewError("MCF_String creation: the type of ".concat(t,' isn\'t "string"'))},this.definition)switch(t){case"maxLength":this.validations.maxLength=function(t,e){if(t.length>e.maxLength)thrownewError('MCF_String creation: the length of the string "'.concat(t,'" is higher than the maximum defined: ').concat(e.maxLength))};break;case"minLength":this.validations.minLength=function(t,e){if(t.length<e.minLength)thrownewError('MCF_String creation: the length of the string "'.concat(t,'" is lower than the minimum defined: ').concat(e.minLength))}}}}]),n}(h),v=function(t){r(n,t);vare=a(n);functionn(t){vari;returnf(this,n),(i=e.call(this,t)).addValidations(),i}re