!function i(o,n,a){function s(e,t){if(!n[e]){if(!o[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(l)return l(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}r=n[e]={exports:{}},o[e][0].call(r.exports,function(t){return s(o[e][1][t]||t)},r,r.exports,i,o,n,a)}return n[e].exports}for(var l="function"==typeof require&&require,t=0;t(t=((t,e)=>{if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=p(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==p(t)?t:t+""))(i.key),i)}}var b=r.default=(()=>{function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.term=t,this.tokenizer=new o.default(this.term),this.symbolLoader=new n.default,this.parser=new a.default(this.symbolLoader)}return t=e,(r=[{key:"parse",value:function(){this.tokenizer.input=this.term,this.tokenizer.reset();var t=this.tokenizer.tokenize();if(0===t.length)throw"Error: Empty token of calculator term.";t=this.parser.parse(t);if(t.isEmpty())throw"Error: Empty nodes of calculator tokens.";return t}},{key:"calculate",value:function(){var t=this.parse();return!1===t?0:this.calculateNode(t)}},{key:"calculateNode",value:function(t){if(t instanceof f.default)return this.calculateSymbolNode(t);if(t instanceof m.default)return this.calculateFunctionNode(t);if(t instanceof c.default)return this.calculateContainerNode(t);throw'Error: Cannot calculate node of unknown type "'+t.constructor.name+'"'}},{key:"calculateContainerNode",value:function(t){if(t instanceof m.default)throw"Error: Expected container node but got a function node";for(var e=0,r=t.childNodes,i=this.detectCalculationOrder(r),o=0;o(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}r.default=(()=>{function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.symbolLoader=t}return t=e,(r=[{key:"parse",value:function(t){t=this.detectSymbols(t),t=this.createTreeByBrackets(t),t=this.transformTreeByFunctions(t);return this.checkGrammar(t),new l.default(t)}},{key:"detectSymbols",value:function(t){for(var e=[],r=null,i=null,o=!1,n=0,a=0;a=t.length)throw"Error: Found operator that does not stand before an operand.";var o=e-1,n=null;if(null===(n=0<=o&&(n=t[o])instanceof p.default&&(n.symbol instanceof a.default||n.symbol instanceof s.default)?null:n)){if(!i.operatesUnary)throw"Error: Found operator in unary notation that is not unary.";r.setIsUnaryOperator(!0)}else if(!i.operatesBinary)throw console.log(i),"Error: Found operator in binary notation that is not binary."}}else this.checkGrammar(r.childNodes)}}}])&&n(t.prototype,r),i&&n(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,i})()},{"../symbol/abstract/front.calculator.symbol.function.abstract":11,"../symbol/abstract/front.calculator.symbol.operator.abstract":12,"../symbol/brackets/front.calculator.symbol.closing.bracket":13,"../symbol/brackets/front.calculator.symbol.opening.bracket":14,"../symbol/front.calculator.symbol.number":17,"../symbol/front.calculator.symbol.separator":18,"./front.calculator.parser.token":3,"./node/front.calculator.parser.node.container":6,"./node/front.calculator.parser.node.function":7,"./node/front.calculator.parser.node.symbol":8}],3:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=(()=>{function i(t,e,r){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");this.type=t,this.value=e,this.position=r}return t=i,r=[{key:"TYPE_WORD",get:function(){return 1}},{key:"TYPE_CHAR",get:function(){return 2}},{key:"TYPE_NUMBER",get:function(){return 3}}],(e=null)&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r})()},{}],4:[function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=(t=t("./front.calculator.parser.token"))&&t.__esModule?t:{default:t};function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=n(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==n(t)?t:t+""))(i.key),i)}}r.default=(()=>{function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.input=t,this.currentPosition=0}return t=e,(r=[{key:"tokenize",value:function(){this.reset();for(var t=[],e=this.readToken();e;)t.push(e),e=this.readToken();return t}},{key:"readToken",value:function(){this.stepOverWhitespace();var t,e,r=this.readCurrent();return null===r?null:(e=t=null,e=this.isLetter(r)?(t=this.readWord(),o.default.TYPE_WORD):this.isDigit(r)||this.isPeriod(r)?(t=this.readNumber(),o.default.TYPE_NUMBER):(t=this.readChar(),o.default.TYPE_CHAR),new o.default(e,t,this.currentPosition))}},{key:"isLetter",value:function(t){return null!==t&&(65<=(t=t.charCodeAt(0))&&t<=90||97<=t&&t<=122)}},{key:"isDigit",value:function(t){return null!==t&&48<=(t=t.charCodeAt(0))&&t<=57}},{key:"isPeriod",value:function(t){return"."===t}},{key:"isWhitespace",value:function(t){return 0<=[" ","\t","\n"].indexOf(t)}},{key:"stepOverWhitespace",value:function(){for(;this.isWhitespace(this.readCurrent());)this.readNext()}},{key:"readWord",value:function(){for(var t="",e=this.readCurrent();null!==e&&this.isLetter(e);)t+=e,e=this.readNext();return t}},{key:"readNumber",value:function(){for(var t="",e=!1,r=this.readCurrent();null!==r&&(this.isPeriod(r)||this.isDigit(r));){if(this.isPeriod(r)){if(e)throw"Error: A number cannot have more than one period";e=!0}t+=r,r=this.readNext()}return t}},{key:"readChar",value:function(){var t=this.readCurrent();return this.readNext(),t}},{key:"readCurrent",value:function(){var t=null;return t=this.hasCurrent()?this.input[this.currentPosition]:t}},{key:"readNext",value:function(){return this.currentPosition++,this.readCurrent()}},{key:"hasCurrent",value:function(){return this.currentPosition(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function n(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=n(function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")})},{}],6:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=(t=t("./front.calculator.parser.node.abstract"))&&t.__esModule?t:{default:t};function a(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function s(t,e,r){e=f(e);var i=t,e=l()?Reflect.construct(e,r||[],f(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function r(t){var e;if(this instanceof r)return(e=s(this,r)).childNodes=null,e.setChildNodes(t),e;throw new TypeError("Cannot call a class as a function")}var e,i=r;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&d(i,t),i=r,(t=[{key:"setChildNodes",value:function(t){t.forEach(function(t){if(!(t instanceof n.default))throw"Expected AbstractNode, but got "+t.constructor.name}),this.childNodes=t}},{key:"size",value:function(){try{return this.childNodes.length}catch(t){return 0}}},{key:"isEmpty",value:function(){return!this.size()}}])&&a(i.prototype,t),e&&a(i,e),Object.defineProperty(i,"prototype",{writable:!1}),i})(n.default)},{"./front.calculator.parser.node.abstract":5}],7:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("./front.calculator.parser.node.container"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function r(t,e){if(this instanceof r)return(t=a(this,r,[t])).symbolNode=e,t;throw new TypeError("Cannot call a class as a function")}var e,i,o=r;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=r,e&&n(o.prototype,e),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"./front.calculator.parser.node.container":6}],8:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=i(t("../../symbol/abstract/front.calculator.symbol.operator.abstract")),t=i(t("./front.calculator.parser.node.abstract"));function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function s(t,e,r){e=f(e);var i=t,e=l()?Reflect.construct(e,r||[],f(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function i(t,e){var r;if(this instanceof i)return(r=s(this,i)).token=t,r.symbol=e,r.isUnaryOperator=!1,r;throw new TypeError("Cannot call a class as a function")}var e,r=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&d(r,t),r=i,(t=[{key:"setIsUnaryOperator",value:function(t){if(!(this.symbol instanceof n.default))throw"Error: Cannot mark node as unary operator, because symbol is not an operator but of type "+this.symbol.constructor.name;this.isUnaryOperator=t}}])&&a(r.prototype,t),e&&a(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r})(t.default)},{"../../symbol/abstract/front.calculator.symbol.operator.abstract":12,"./front.calculator.parser.node.abstract":5}],9:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=(()=>{function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.identifiers=[]}return e=t,(r=[{key:"getIdentifiers",value:function(){var e=[];return this.identifiers.forEach(function(t){e.push(t.toLowerCase())}),e}}])&&n(e.prototype,r),i&&n(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,i})()},{}],10:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("./front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).value=0,t;throw new TypeError("Cannot call a class as a function")}var r,i,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=e,r&&n(o.prototype,r),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"./front.calculator.symbol.abstract":9}],11:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("./front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){if(this instanceof e)return a(this,e);throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"execute",value:function(t){return 0}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"./front.calculator.symbol.abstract":9}],12:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("./front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).precedence=0,t.operatesUnary=!1,t.operatesBinary=!0,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return 0}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"./front.calculator.symbol.abstract":9}],13:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=[")"],t;throw new TypeError("Cannot call a class as a function")}var r,i,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=e,r&&n(o.prototype,r),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"../abstract/front.calculator.symbol.abstract":9}],14:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["("],t;throw new TypeError("Cannot call a class as a function")}var r,i,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=e,r&&n(o.prototype,r),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"../abstract/front.calculator.symbol.abstract":9}],15:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.constant.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["pi"],t.value=Math.PI,t;throw new TypeError("Cannot call a class as a function")}var r,i,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=e,r&&n(o.prototype,r),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"../abstract/front.calculator.symbol.constant.abstract":10}],16:[function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=i(t("./front.calculator.symbol.number")),n=i(t("./front.calculator.symbol.separator")),a=i(t("./brackets/front.calculator.symbol.opening.bracket")),s=i(t("./brackets/front.calculator.symbol.closing.bracket")),l=i(t("./constants/front.calculator.symbol.constant.pi")),f=i(t("./operators/front.calculator.symbol.operator.addition")),d=i(t("./operators/front.calculator.symbol.operator.division")),u=i(t("./operators/front.calculator.symbol.operator.exponentiation")),c=i(t("./operators/front.calculator.symbol.operator.modulo")),m=i(t("./operators/front.calculator.symbol.operator.multiplication")),p=i(t("./operators/front.calculator.symbol.operator.subtraction")),h=i(t("./functions/front.calculator.symbol.function.abs")),b=i(t("./functions/front.calculator.symbol.function.avg")),g=i(t("./functions/front.calculator.symbol.function.ceil")),y=i(t("./functions/front.calculator.symbol.function.floor")),_=i(t("./functions/front.calculator.symbol.function.max")),v=i(t("./functions/front.calculator.symbol.function.min")),w=i(t("./functions/front.calculator.symbol.function.round"));function i(t){return t&&t.__esModule?t:{default:t}}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=C(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=C(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==C(t)?t:t+""))(i.key),i)}}r.default=(()=>{function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.symbols={FrontCalculatorSymbolNumber:new o.default,FrontCalculatorSymbolSeparator:new n.default,FrontCalculatorSymbolOpeningBracket:new a.default,FrontCalculatorSymbolClosingBracket:new s.default,FrontCalculatorSymbolConstantPi:new l.default,FrontCalculatorSymbolOperatorAddition:new f.default,FrontCalculatorSymbolOperatorDivision:new d.default,FrontCalculatorSymbolOperatorExponentiation:new u.default,FrontCalculatorSymbolOperatorModulo:new c.default,FrontCalculatorSymbolOperatorMultiplication:new m.default,FrontCalculatorSymbolOperatorSubtraction:new p.default,FrontCalculatorSymbolFunctionAbs:new h.default,FrontCalculatorSymbolFunctionAvg:new b.default,FrontCalculatorSymbolFunctionCeil:new g.default,FrontCalculatorSymbolFunctionFloor:new y.default,FrontCalculatorSymbolFunctionMax:new _.default,FrontCalculatorSymbolFunctionMin:new v.default,FrontCalculatorSymbolFunctionRound:new w.default}}return e=t,(r=[{key:"find",value:function(t){for(var e in t=t.toLowerCase(),this.symbols)if(this.symbols.hasOwnProperty(e)){e=this.symbols[e];if(0<=e.getIdentifiers().indexOf(t))return e}return null}},{key:"findSubTypes",value:function(t){var e,r,i=[];for(e in this.symbols)this.symbols.hasOwnProperty(e)&&(r=this.symbols[e])instanceof t&&i.push(r);return i}}])&&O(e.prototype,r),i&&O(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,i})()},{"./brackets/front.calculator.symbol.closing.bracket":13,"./brackets/front.calculator.symbol.opening.bracket":14,"./constants/front.calculator.symbol.constant.pi":15,"./front.calculator.symbol.number":17,"./front.calculator.symbol.separator":18,"./functions/front.calculator.symbol.function.abs":19,"./functions/front.calculator.symbol.function.avg":20,"./functions/front.calculator.symbol.function.ceil":21,"./functions/front.calculator.symbol.function.floor":22,"./functions/front.calculator.symbol.function.max":23,"./functions/front.calculator.symbol.function.min":24,"./functions/front.calculator.symbol.function.round":25,"./operators/front.calculator.symbol.operator.addition":26,"./operators/front.calculator.symbol.operator.division":27,"./operators/front.calculator.symbol.operator.exponentiation":28,"./operators/front.calculator.symbol.operator.modulo":29,"./operators/front.calculator.symbol.operator.multiplication":30,"./operators/front.calculator.symbol.operator.subtraction":31}],17:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("./abstract/front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){if(this instanceof e)return a(this,e);throw new TypeError("Cannot call a class as a function")}var r,i,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=e,r&&n(o.prototype,r),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"./abstract/front.calculator.symbol.abstract":9}],18:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("./abstract/front.calculator.symbol.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=[","],t;throw new TypeError("Cannot call a class as a function")}var r,i,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&f(o,t),o=e,r&&n(o.prototype,r),i&&n(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o})(t.default)},{"./abstract/front.calculator.symbol.abstract":9}],19:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.function.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["abs"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"execute",value:function(t){if(1!==t.length)throw"Error: Expected one argument, got "+t.length;return Math.abs(t[0])}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.function.abstract":11}],20:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.function.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["avg"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"execute",value:function(t){if(t.length<1)throw"Error: Expected at least one argument, got "+t.length;for(var e=0,r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["ceil"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"execute",value:function(t){if(1!==t.length)throw"Error: Expected one argument, got "+t.length;return Math.ceil(t[0])}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.function.abstract":11}],22:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.function.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["floor"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"execute",value:function(t){if(1!==t.length)throw"Error: Expected one argument, got "+t.length;return Math.floor(t[0])}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.function.abstract":11}],23:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.function.abstract"))&&t.__esModule?t:{default:t};function n(t){return(t=>{if(Array.isArray(t))return i(t)})(t)||(t=>{if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)})(t)||((t,e)=>{var r;if(t)return"string"==typeof t?i(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0})(t)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function s(t,e,r){e=f(e);var i=t,e=l()?Reflect.construct(e,r||[],f(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=s(this,e)).identifiers=["max"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&d(i,t),i=e,(t=[{key:"execute",value:function(t){if(t.length<1)throw"Error: Expected at least one argument, got "+t.length;return Math.max.apply(Math,n(t))}}])&&a(i.prototype,t),r&&a(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.function.abstract":11}],24:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.function.abstract"))&&t.__esModule?t:{default:t};function n(t){return(t=>{if(Array.isArray(t))return i(t)})(t)||(t=>{if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)})(t)||((t,e)=>{var r;if(t)return"string"==typeof t?i(t,e):"Map"===(r="Object"===(r={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0})(t)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function s(t,e,r){e=f(e);var i=t,e=l()?Reflect.construct(e,r||[],f(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(l=function(){return!!t})()}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=s(this,e)).identifiers=["min"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&d(i,t),i=e,(t=[{key:"execute",value:function(t){if(t.length<1)throw"Error: Expected at least one argument, got "+t.length;return Math.min.apply(Math,n(t))}}])&&a(i.prototype,t),r&&a(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.function.abstract":11}],25:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.function.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["round"],t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"execute",value:function(t){if(1!==t.length)throw"Error: Expected one argument, got "+t.length;return Math.round(t[0])}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.function.abstract":11}],26:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.operator.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["+"],t.precedence=100,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return t+e}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.operator.abstract":12}],27:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.operator.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["/"],t.precedence=200,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return t/e}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.operator.abstract":12}],28:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.operator.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["^"],t.precedence=300,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return Math.pow(t,e)}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.operator.abstract":12}],29:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.operator.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["%"],t.precedence=200,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return t%e}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.operator.abstract":12}],30:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.operator.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["*"],t.precedence=200,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return t*e}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.operator.abstract":12}],31:[function(t,e,r){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;t=(t=t("../abstract/front.calculator.symbol.operator.abstract"))&&t.__esModule?t:{default:t};function n(t,e){for(var r=0;r(t=((t,e)=>{if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);if("object"!=o(r=r.call(t,e||"default")))return r;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string"),"symbol"==o(t)?t:t+""))(i.key),i)}}function a(t,e,r){e=l(e);var i=t,e=s()?Reflect.construct(e,r||[],l(t).constructor):e.apply(t,r);if(!e||"object"!=o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=i))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function s(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(s=function(){return!!t})()}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.default=(t=>{function e(){var t;if(this instanceof e)return(t=a(this,e)).identifiers=["-"],t.precedence=100,t.operatesUnary=!0,t;throw new TypeError("Cannot call a class as a function")}var r,i=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),t&&f(i,t),i=e,(t=[{key:"operate",value:function(t,e){return t-e}}])&&n(i.prototype,t),r&&n(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i})(t.default)},{"../abstract/front.calculator.symbol.operator.abstract":12}]},{},[1]),[].includes||(Array.prototype.includes=function(t,e){var r=Object(this),i=parseInt(r.length)||0;if(0!==i){var o,e=parseInt(e)||0;for(0<=e?o=e:(o=i+e)<0&&(o=0);o{var r="forminatorLoader",i={action:"",type:"",id:"",render_id:"",is_preview:"",instant_preview:"",preview_data:[],nonce:!1,last_submit_data:{},extra:{}};function e(t,e){this.element=t,this.$el=l(this.element),this.settings=l.extend({},i,e),this._defaults=i,this._name=r,this.frontInitCalled=!1,this.scriptsQue=[],this.frontOptions=null,this.leadFrontOptions=null,this.init()}l.extend(e.prototype,{init:function(){var t=decodeURI(a.location.search).replace(/(^\?)/,"").split("&").map(function(t){return this[(t=t.split("="))[0]]=t[1],this}.bind({}))[0];t.action=this.settings.action,t.type=this.settings.type,t.id=this.settings.id,t.render_id=this.settings.render_id,t.is_preview=this.settings.is_preview,t.instant_preview=this.settings.instant_preview,t.preview_data=JSON.stringify(this.settings.preview_data),t.last_submit_data=this.settings.last_submit_data,t.extra=this.settings.extra,t.nonce=this.settings.nonce,void 0!==this.settings.has_lead&&(t.has_lead=this.settings.has_lead,t.leads_id=this.settings.leads_id),this.load_ajax(t),this.handleDiviPopup()},load_ajax:function(o){var n=this;l.ajax({type:"POST",url:f.ForminatorFront.ajaxUrl,data:o,cache:!1,beforeSend:function(){l(a).trigger("before.load.forminator",o.id)},success:function(t){if(t.success){var e=t.data;if(l(a).trigger("response.success.load.forminator",o.id,t),!e.is_ajax_load)return!1;var r,i=[];(i=void 0===e.pagination_config&&void 0!==e.options.pagination_config?e.options.pagination_config:i)&&(f.Forminator_Cform_Paginations=f.Forminator_Cform_Paginations||[],f.Forminator_Cform_Paginations[o.id]=i),n.frontOptions=e.options||null,void 0===f.Forminator_Cform_Paginations&&n.frontOptions.pagination_config&&(f.Forminator_Cform_Paginations=f.Forminator_Cform_Paginations||[],f.Forminator_Cform_Paginations[o.id]=n.frontOptions.pagination_config),void 0!==e.lead_options&&(n.leadFrontOptions=e.lead_options||null,void 0===f.Forminator_Cform_Paginations)&&n.leadFrontOptions.pagination_config&&(f.Forminator_Cform_Paginations=f.Forminator_Cform_Paginations||[],f.Forminator_Cform_Paginations[o.leads_id]=n.leadFrontOptions.pagination_config),e.html&&(i=e.style||null,r=e.script||null,n.render_html(e.html,i,r)),e.styles&&n.maybe_append_styles(e.styles),e.scripts&&n.maybe_append_scripts(e.scripts),!e.scripts&&n.frontOptions&&n.init_front()}else l(a).trigger("response.error.load.forminator",o.id,t)},error:function(){l(a).trigger("request.error.load.forminator",o.id)}}).always(function(){l(a).trigger("after.load.forminator",o.id)})},render_html:function(t,e,r){var i=this.settings.id,o=this.settings.render_id,n="",a=null,a=((a=l(t).find(".forminator-response-message")).length&&(n=a.get(0).outerHTML),(a=this.$el.find(".forminator-poll-response-message")).length&&(n=a.get(0).outerHTML),this.$el.parent().hasClass("forminator-guttenberg")?this.$el.parent().html(t):this.$el.replaceWith(t),l("#forminator-module-"+i+"[data-forminator-render="+o+"]"));a.hide(),this.$el.parent().has("#forminator-instant-preview")||a.hide(),n&&(l("#forminator-module-"+i+"[data-forminator-render="+o+"] .forminator-response-message").replaceWith(n),l("#forminator-module-"+i+"[data-forminator-render="+o+"] .forminator-poll-response-message").replaceWith(n)),e&&(l("style#forminator-module-styles-"+i).length&&l("style#forminator-module-styles-"+i).remove(),l("body").append(e)),r&&l("body").append(r)},maybe_append_styles:function(t){for(var e in t){var r;t.hasOwnProperty(e)&&!l("link#"+e).length&&((r=l("")).attr("rel","stylesheet"),r.attr("id",e),r.attr("type","text/css"),r.attr("media","all"),r.attr("href",t[e].src),l("head").append(r))}},maybe_append_scripts:function(t){var e,r=[],i=l("body").find(".hustle-ui").length,o=l("body").find("script[src^='https://www.paypal.com/sdk/js']").attr("src");for(e in t)if(t.hasOwnProperty(e)){var n=t[e].on,a=t[e].load;if("window"===n){if(f[a]&&"forminator-google-recaptcha"!==e&&0===i)continue}else if("$"===n&&l.fn[a])continue;n={};n.src=t[e].src,n.async=t[e].async??!0,n.src!==o&&(r.push(n),this.scriptsQue.push(e))}if(this.scriptsQue.length)for(var s in r)r.hasOwnProperty(s)&&this.load_script(r[s]);else this.init_front()},load_script:function(t){var e,r=this,i=a.createElement("script"),o=a.getElementsByTagName("body")[0];i.type="text/javascript",i.src=t.src,i.async=t.async,i.defer=!0,i.onload=function(){r.script_on_load()},0===l('script[src="'+i.src+'"]').length?f.parent!==f&&t.src.includes("paypal.com")?((e=f.parent.document.createElement("script")).type="text/javascript",e.src=t.src,e.async=t.async,e.defer=!0,e.onload=function(){r.script_on_load()},0===l(f.parent.document).find('script[src="'+e.src+'"]').length?f.parent.document.body.appendChild(e):r.script_on_load()):o.appendChild(i):r.script_on_load()},script_on_load:function(){this.scriptsQue.pop(),this.scriptsQue.length||this.init_front()},init_front:function(){var t,e,r,i;this.frontInitCalled||(this.frontInitCalled=!0,i=this.settings.id,t=this.settings.render_id,e=this.frontOptions||null,r=this.leadFrontOptions||null,e&&l("#forminator-module-"+i+'[data-forminator-render="'+t+'"]').forminatorFront(e),void 0!==this.settings.has_lead&&r&&(i=this.settings.leads_id,l("#forminator-module-"+i+'[data-forminator-render="'+t+'"]').forminatorFront(r)),this.init_window_vars())},init_window_vars:function(){var t;"undefined"!=typeof ForminatorValidationErrors&&void 0!==(t=jQuery(ForminatorValidationErrors.selector).data("forminatorFrontSubmit"))&&t.show_messages(ForminatorValidationErrors.errors),"undefined"!=typeof ForminatorFormHider&&void 0!==(t=jQuery(ForminatorFormHider.selector).data("forminatorFront"))&&t.hide()},handleDiviPopup:function(){var e=this;"undefined"!=typeof DiviArea&&DiviArea.addAction("show_area",function(t){0!==t.find("#"+e.element.id).length&&(e.frontInitCalled=!1,e.init_front(),forminator_render_hcaptcha())})}}),l.fn[r]=function(t){return this.each(function(){l.data(this,r)||l.data(this,r,new e(this,t))})}})(jQuery,window,document),((s,l)=>{var r="forminatorFrontStripe",i={type:"stripe",paymentEl:null,paymentRequireSsl:!1,generalMessages:{}};function e(t,e){this.element=t,this.$el=s(this.element),this.settings=s.extend({},i,e),this._defaults=i,this._name=r,this._stripeData=null,this._stripe=null,this._elements=null,this._paymentElement=null,this._beforeSubmitCallback=null,this._form=null,this.intent=!0,this.billingDetails={},this.init()}s.extend(e.prototype,{init:function(){var i,t;this.settings.paymentEl&&void 0!==this.settings.paymentEl.data()&&((i=this)._stripeData=this.settings.paymentEl.data(),this._form=this.$el,0{i.intent=!1,i._beforeSubmitCallback=r;r=(await this._elements.submit()).error;r?void 0!==r.message&&i.show_error(r.message):"blik"===i._stripeData.paymentMethodType?i.updateAmount():i._stripe.createPaymentMethod({elements:i._elements,params:{billing_details:this.billingDetails}}).then(function(t){var e;t.error?(e=t.error.message||l.ForminatorFront.cform.payment_failed,i.show_error(e)):(e=i.getObjectValue(t,"paymentMethod"),i._stripeData.paymentMethod=i.getObjectValue(e,"id"),i._stripeData.paymentMethodType=i.getObjectValue(e,"type"),i.$el.find("#forminator-stripe-paymentmethod").val(""),i.$el.find("#forminator-stripe-subscriptionid").val(""),i.updateAmount())})}),this.$el.on("forminator:form:submit:stripe:3dsecurity",function(t,e,r){i.validate3d(t,e,r)}),this.$el.on("forminator:form:submit:stripe:redirect",this.paymentMethodRedirect.bind(this)),this.$el.find("input.forminator-input, select.forminator-select2").each(function(){s(this).on("change",function(t,e){if("forminator_emulate_trigger"===e)return!0;i.updateBillingDetails(t)})}))},paymentMethodRedirect:function(t,e,r,i){var o=this;o.$el.find("#forminator-stripe-subscriptionid").val(i);let n=l.open(e,"PaymentMethodPopup","width=800,height=600,scrollbars=yes"),a=setInterval(async()=>{var{error:t,paymentIntent:e}=await o._stripe.retrievePaymentIntent(r);if(t)clearInterval(a);else if("requires_capture"===e.status||"succeeded"===e.status)clearInterval(a),n.close(),o._beforeSubmitCallback&&o._beforeSubmitCallback.call();else if("requires_payment_method"===e.status||"canceled"===e.status){let t="";t="canceled"===e.status?l.ForminatorFront.cform.payment_cancelled:l.ForminatorFront.cform.payment_failed,clearInterval(a),n.close(),o.$el.find("#forminator-stripe-paymentmethod").val(""),o.show_error(t)}},3e3)},validate3d:function(t,e,r){var i=this;r?this._stripe.confirmPayment({clientSecret:e,elements:i._elements,redirect:"if_required",confirmParams:{return_url:this.getStripeData("returnUrl")}}).then(function(t){i.$el.find("#forminator-stripe-subscriptionid").val(r),i._beforeSubmitCallback&&i._beforeSubmitCallback.call()}):this._stripe.retrievePaymentIntent(e).then(function(t){!["requires_action","requires_confirmation","requires_source_action"].includes(t.paymentIntent.status)&&"blik"!==i.getStripeData("paymentMethodType")||i._stripe.confirmPayment({clientSecret:e,elements:i._elements,redirect:"if_required"}).then(function(t){t.error?i.show_error(t.error.message):i._beforeSubmitCallback&&i._beforeSubmitCallback.call()})})},getForm:function(t){t=s(t.target);return t=t.hasClass("forminator-custom-form")?t:t.closest("form.forminator-custom-form")},updateAmount:function(t){t&&t.preventDefault();var t=new FormData(this.$el[0]),i=this,r=new FormData,t=(t.forEach(function(t,e){"action"!==e&&r.append(e,t)}),r.append("action","forminator_update_payment_amount"),r.append("paymentPlan",this.getStripeData("paymentPlan")),r.append("payment_method",this.getStripeData("paymentMethod")),r.append("payment_method_type",this.getStripeData("paymentMethodType")),r.append("paymentid",""),this.intent&&(r.append("stripe-intent",!0),r.append("stripe_first_payment_intent",this._paymentElement?0:1)),this.getStripeData("receipt")),e=this.getStripeData("receiptEmail"),o=(t&&e&&(t=this.get_field_value(e)||"",r.append("receipt_email",t)),this._form.find(".forminator-response-message"));s.ajax({type:"POST",url:l.ForminatorFront.ajaxUrl,data:r,cache:!1,contentType:!1,processData:!1,beforeSend:function(){void 0!==i.settings.has_loader&&i.settings.has_loader&&!i.intent&&(o.html("

"+i.settings.loader_label+"

"),i.focus_to_element(o),o.removeAttr("aria-hidden").prop("tabindex","-1").removeClass("forminator-success forminator-error").addClass("forminator-loading forminator-show")),i._form.find("button").attr("disabled",!0)},success:function(t){var e,r;!0===t.success?void 0!==t.data?(e=void 0!==t.data.paymentid,r=void 0!==t.data.paymentPlan,e&&(i.$el.find("#forminator-stripe-paymentid").val(t.data.paymentid),i.$el.find("#forminator-stripe-paymentmethod").val(i._stripeData.paymentMethod),i._stripeData.paymentid=t.data.paymentid,i._stripeData.secret=t.data.paymentsecret,i.intent)&&i.mountStripeField(t.data.paymentsecret),t.data.paymentmethod_failed&&i.$el.find("#forminator-stripe-paymentmethod").val(""),r&&(i._stripeData.paymentPlan=t.data.paymentPlan),i.intent?i.unfrozeForm(o):i.handlePayment()):i.show_error("Invalid Payment Intent ID"):i.intent?(void 0!==t.data.paymentPlan&&(i._stripeData.paymentPlan=t.data.paymentPlan),i.unfrozeForm(o)):(i.show_error(t.data.message),t.data.errors.length&&i.show_messages(t.data.errors),(e=i._form.find(".forminator-g-recaptcha")).length&&(r=(e=s(e.get(0))).data("forminator-recapchta-widget"),"invisible"===e.data("size"))&&l.grecaptcha.reset(r))},error:function(t){t=400===t.status?l.ForminatorFront.cform.upload_error:l.ForminatorFront.cform.error;i.show_error(t)}}).always(function(){i.intent||i.$el.find("#forminator-stripe-paymentmethod").val(""),i._paymentElement||i.mountStripeField()})},show_error:function(t){var e=this._form.find(".forminator-response-message");e.html("

"+t+"

"),this.unfrozeForm(e)},unfrozeForm:function(t){this._form.find("button").removeAttr("disabled"),this.intent||(t.removeAttr("aria-hidden").prop("tabindex","-1").removeClass("forminator-loading forminator-accessible").addClass("forminator-error forminator-show"),this.focus_to_element(t)),this.enable_form()},enable_form:function(){var t;void 0!==this.settings.has_loader&&this.settings.has_loader&&(t=this._form.find(".forminator-response-message"),this._form.removeClass("forminator-fields-disabled"),t.removeClass("forminator-loading"))},focus_to_element:function(t){t.show(),s("html,body").animate({scrollTop:t.offset().top-(s(l).height()-t.outerHeight(!0))/2},500,function(){t.attr("tabindex")||t.attr("tabindex",-1),t.focus()})},show_messages:function(t){var o,n=this,a=n.$el.data("forminatorFrontCondition");return void 0!==a&&(this.$el.find(".forminator-error-message").remove(),o=0,t.forEach(function(t){var e,r,i=Object.keys(t),t=Object.values(t),i=a.get_form_field(i);i.length&&(0===o&&(n.$el.trigger("forminator.front.pagination.focus.input",[i]),n.focus_to_element(i)),s(i).hasClass("forminator-input-time")&&(0===(r=(e=s(i).closest(".forminator-field:not(.forminator-field--inner)")).children(".forminator-error-message")).length&&(e.append(''),r=e.children(".forminator-error-message")),r.html(t)),0===(r=(e=0===(e=s(i).closest(".forminator-field--inner")).length&&0===(e=s(i).closest(".forminator-field")).length&&1<(e=s(i).find(".forminator-field")).length?e.first():e).find(".forminator-error-message")).length&&(e.append(''),r=e.find(".forminator-error-message")),s(i).attr("aria-invalid","true"),r.html(t),e.addClass("forminator-has_error"),o++)})),this},isRelevantField:function(t,e,r,i,o){return!t||(t=s(t.target).attr("name"),!!e&&(r&&t===r||i&&t===i||e&&(t===e||t.startsWith(e+"-"))||o&&(t===o||t.startsWith(o+"-"))))},updateBillingDetails:function(t){if(!this.getStripeData("billing")||!this._paymentElement)return!0;var e=this.getStripeData("billingName"),r=this.getStripeData("billingEmail"),i=this.getStripeData("billingPhone"),o=this.getStripeData("billingAddress"),n={};if(!this.isRelevantField(t,e,r,i,o))return!0;t=this.get_field_value(e)," "!==(t=t||(this.get_field_value(e+"-first-name")||"")+" "+(this.get_field_value(e+"-last-name")||""))&&(n.name=t),e=this.get_field_value(r)||"",e&&(n.email=e),t=this.get_field_value(i)||"",t&&(n.phone=t),r={},e=this.get_field_value(o+"-street_address")||"",e&&(r.line1=e),i=this.get_field_value(o+"-address_line")||"",i&&(r.line2=i),t=this.get_field_value(o+"-city")||"",t&&(r.city=t),e=this.get_field_value(o+"-state")||"";e&&(r.state=e);i=this.get_form_field(o+"-country").find(":selected").data("country-code"),i&&(r.country=i),t=this.get_field_value(o+"-zip")||"";t&&(r.postal_code=t),Object.keys(r).length&&(n.address=r),Object.keys(n).length&&(this.billingDetails=n,this._paymentElement.update({defaultValues:{billingDetails:n}}))},handlePayment:function(){var t=s(".forminator-number--field, .forminator-currency, .forminator-calculation");t.inputmask&&t.inputmask("remove"),this._beforeSubmitCallback&&this._beforeSubmitCallback.call()},mountStripeField:function(t=null){"subscription"===t&&(t=null),this._paymentElement&&this._paymentElement.unmount();var e=this.getStripeData("fieldId"),r=this.getStripeData("key"),i={...this.getStripeData("paymentOptions")};if(null===r)return!1;this._stripe=Stripe(r);var r={...this.getStripeData("elementsOptions")},o=(t?(delete r.paymentMethodTypes,r.clientSecret=t):(r.mode="setup",r.currency=this.getStripeData("currency")||"usd"),this._elements=this._stripe.elements(r),this._paymentElement=this._elements.create("payment",i),this._paymentElement.mount("#payment-element-"+e),this);this._paymentElement.on("ready",function(t){o.updateBillingDetails()}),this._paymentElement.on("change",function(t){t="blik"===t.value.type;o._stripeData.paymentMethodType=t?"blik":""})},hideCardError:function(){var t=this.$el.find(".forminator-card-message"),e=t.find(".forminator-error-message");0===e.length&&(t.append(''),e=t.find(".forminator-error-message")),t.closest(".forminator-field").removeClass("forminator-has_error"),e.html("")},showCardError:function(t,e){var r=this.$el.find(".forminator-card-message"),i=r.find(".forminator-error-message");0===i.length&&(r.append(''),i=r.find(".forminator-error-message")),r.closest(".forminator-field").addClass("forminator-has_error"),r.closest(".forminator-field").addClass("forminator-is_filled"),i.html(t),e&&this.focus_to_element(r.closest(".forminator-field"))},getStripeData:function(t){return void 0!==this._stripeData&&void 0!==this._stripeData[t]?this._stripeData[t]:null},getObjectValue:function(t,e){return void 0!==t[e]?t[e]:null},get_form_field:function(t){var e=this.$el.find("#"+t+"-field");return e=0===e.length&&t&&0===(e=this.$el.find("input[name="+t+"]")).length&&0===(e=this.$el.find("textarea[name="+t+"]")).length&&0===(e=this.$el.find('input[name="'+t+'[]"]')).length&&0===(e=this.$el.find('select[name="'+t+'"]')).length&&0===(e=this.$el.find('select[name="'+t+'[]"]')).length?this.$el.find("#"+t):e},get_field_value:function(t){var t=this.get_form_field(t),e="",r=null;return this.field_is_radio(t)?(r=t.filter(":checked")).length&&(e=r.val()):this.field_is_checkbox(t)?t.each(function(){s(this).is(":checked")&&(e=s(this).val())}):e=!this.field_is_select(t)&&this.field_has_inputMask(t)?parseFloat(t.inputmask("unmaskedvalue")):t.val(),e},field_has_inputMask:function(t){var e=!1;return t.each(function(){if(void 0!==s(this).attr("data-inputmask"))return!(e=!0)}),e},field_is_radio:function(t){var e=!1;return t.each(function(){if("radio"===s(this).attr("type"))return!(e=!0)}),e},field_is_checkbox:function(t){var e=!1;return t.each(function(){if("checkbox"===s(this).attr("type"))return!(e=!0)}),e},field_is_select:function(t){return t.is("select")}}),s.fn[r]=function(t){return this.each(function(){s.data(this,r)||s.data(this,r,new e(this,t))})}})(jQuery,window,document),((f,s,i)=>{var r="forminatorFront",o={form_type:"custom-form",rules:{},messages:{},conditions:{},inline_validation:!1,print_value:!1,chart_design:"bar",chart_options:{},forminator_fields:[],general_messages:{calculation_error:"Failed to calculate field.",payment_require_ssl_error:"SSL required to submit this form, please check your URL.",payment_require_amount_error:"PayPal amount must be greater than 0.",form_has_error:"Please correct the errors before submission."},payment_require_ssl:!1};function e(t,e){this.element=t,this.$el=f(this.element),this.forminator_selector="#"+f(this.element).attr("id")+'[data-forminator-render="'+f(this.element).data("forminator-render")+'"]',this.forminator_loader_selector='div[data-forminator-render="'+f(this.element).data("forminator-render")+'"][data-form="'+f(this.element).attr("id")+'"]',this.settings=f.extend({},o,e),void 0!==this.settings.messages&&(this.settings.messages=this.maybeParseStringToJson(this.settings.messages,"object")),void 0!==this.settings.rules&&(this.settings.rules=this.maybeParseStringToJson(this.settings.rules,"object")),void 0!==this.settings.calendar&&(this.settings.calendar=this.maybeParseStringToJson(this.settings.calendar,"array")),this._defaults=o,this._name=r,this.form_id=0,this.template_type="",this.init(),this.handleDiviPopup()}function t(){f(".forminator-custom-form").find(".forminator-label").on("click",function(t){t.preventDefault();t=f(this);t.next("#"+t.attr("for")).focus()})}f.extend(e.prototype,{init:function(){var e=this;switch(0').find(".forminator-quiz-start").trigger("click").remove()}),this.$el.on("click",".forminator-quiz-start",function(t){t.preventDefault(),a.$el.find(".forminator-quiz-intro").hide(),a.$el.find(".forminator-pagination").removeClass("forminator-hidden");t={totalSteps:a.$el.find(".forminator-pagination").length-1,step:0,quiz:!0};a.settings.text_next&&(t.next_button=a.settings.text_next),a.settings.text_prev&&(t.prev_button=a.settings.text_prev),a.settings.submit_class&&(t.submitButtonClass=a.settings.submit_class),f(a.element).forminatorFrontPagination(t)}),"end"!==t&&this.$el.find(".forminator-submit-rightaway").on("click",function(){a.$el.submit(),f(this).closest(".forminator-question").find(".forminator-submit-rightaway").addClass("forminator-has-been-disabled").attr("disabled","disabled")}),a.settings.hasLeads&&("beginning"===t&&a.$el.css({height:0,opacity:0,overflow:"hidden",visibility:"hidden","pointer-events":"none",margin:0,padding:0,border:0}),"end"===t)&&(a.$el.closest("div").find("#forminator-module-"+a.settings.leads_id).css({height:0,opacity:0,overflow:"hidden",visibility:"hidden","pointer-events":"none",margin:0,padding:0,border:0}),f("#forminator-quiz-leads-"+e+" .forminator-lead-form-skip").hide()),this.$el.on("click",".forminator-social--icon a",function(t){t.preventDefault();var t=f(this).data("social"),e=f(this).closest(".forminator-social--icons").data("url"),r=f(this).closest(".forminator-social--icons").data("message"),e={facebook:"https://www.facebook.com/sharer/sharer.php?u="+e+""e="+(r=encodeURIComponent(r)),twitter:"https://twitter.com/intent/tweet?&url="+e+"&text="+r,google:"https://plus.google.com/share?url="+e,linkedin:"https://www.linkedin.com/shareArticle?mini=true&url="+e+"&title="+r};if(void 0!==e[t])return r=s.open(e[t],t,"height="+f(s).height()+",width="+f(s).width()),s.focus&&r.focus(),!1}),this.$el.on("change",".forminator-answer input",function(t){var e=!!f(this).closest(".forminator-pagination").length,r=e?f(this).closest(".forminator-pagination"):a.$el,i=r.find(".forminator-answer input:checked").length,o=r.find(".forminator-question").length,r=f(this).closest(".forminator-question"),n=r.data("multichoice");a.$el.find(".forminator-button:not(.forminator-button-back)").each(function(){var t=i input").prop("checked",!1)})})},small_form:function(){var t,e=f(this.element),r=e.width();783import(s.ForminatorFront.cform.intlTelInput_utils_script),strictMode:!0},void 0!==i&&"standard"===i&&(e.allowDropdown=!1),void 0!==i&&"international"===i&&(e.autoHideDialCode=!1,e.separateDialCode=!0),o=s.intlTelInput(t,e),void 0!==i&&"standard"===i&&f(this).on("blur",function(){""===f(t).val()&&(o.setCountry(r),n.validate().element(f(t)))}),a?(f(this).closest(".forminator-field").find("div.iti").addClass("forminator-input-with-phone"),f(this).closest(".forminator-field").find("div.iti").hasClass("iti--allow-dropdown")&&f(this).closest(".forminator-field").find(".forminator-label").addClass("iti--allow-dropdown")):f(this).closest(".forminator-field").find("div.iti").addClass("forminator-phone"),a)&&!f(this).parent().hasClass("forminator-input--wrap")&&f(this).wrap('
')})},reint_intlTelInput:function(){var r=this;r.$el.on("after:forminator:form:submit",function(t,e){r.init_intlTelInput_validation(r.forminator_selector)})},init_fui:function(t){var t=f(t),e=t.find(".forminator-input"),r=t.find(".forminator-textarea"),i=t.find(".forminator-select2"),o=t.find(".forminator-multiselect"),n=t.find(".forminator-stripe-element"),a=(t.find(".forminator-slider"),t.find(".forminator-rating")),s=t.find(".forminator-checkbox"),l=t.find(".forminator-radio");t.attr("data-design"),t.attr("data-design"),t.attr("data-design"),t.attr("data-design");e.length&&e.each(function(){FUI.inputStates(this)}),s.length&&s.each(function(){FUI.checkboxStates(this)}),l.length&&l.each(function(){FUI.radioStates(this)}),r.length&&r.each(function(){FUI.textareaStates(this)}),"function"==typeof FUI.select2&&FUI.select2(i.length),"function"==typeof FUI.slider&&FUI.slider(),o.length&&FUI.multiSelectStates(o),a.length&&"function"==typeof FUI.rating&&FUI.rating(a),t.hasClass("forminator-design--material")&&(e.length&&e.each(function(){FUI.inputMaterial(this)}),r.length&&r.each(function(){FUI.textareaMaterial(this)}),n.length)&&n.each(function(){var t,e;f(this).hasClass("forminator-stripe-payment-element")||(e=(t=f(this).closest(".forminator-field")).find(".forminator-label")).length&&(t.addClass("forminator-stripe-floating"),e.addClass("forminator-floating--input"))})},responsive_captcha:function(t){f(t).find(".forminator-g-recaptcha").each(function(){var t=f(this).data("badge");f(this).is(":visible")&&"inline"===t&&(t=(t=f(this).parent().width())<302?t/302:1,f(this).css("transform","scale("+t+")"),f(this).css("-webkit-transform","scale("+t+")"),f(this).css("transform-origin","0 0"),f(this).css("-webkit-transform-origin","0 0"))})},init_pagination:function(t){var t=f(t).find(".forminator-pagination").length,e=s.location.hash,r=!1,i=0;0]*>/g,""),i=f("