From e922a9fd1c01edf431f8db689c806d11f3600546 Mon Sep 17 00:00:00 2001 From: "David Z. Williams" Date: Fri, 3 Nov 2017 10:44:55 -0400 Subject: [PATCH] Release build (v1.7.10). --- dist/flexio-node.js | 6 +++--- dist/flexio-node.min.js | 6 +++--- dist/flexio.js | 6 +++--- dist/flexio.min.js | 6 +++--- examples/examples.bundle.js | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/dist/flexio-node.js b/dist/flexio-node.js index 9487c73..e7d85db 100644 --- a/dist/flexio-node.js +++ b/dist/flexio-node.js @@ -1,5 +1,5 @@ /*! - * Flex.io Javascript SDK v1.7.9 (https://github.com/flexiodata/flexio-sdk-js) + * Flex.io Javascript SDK v1.7.10 (https://github.com/flexiodata/flexio-sdk-js) * (c) 2017 Gold Prairie LLC */ (function webpackUniversalModuleDefinition(root, factory) { @@ -897,7 +897,7 @@ var cfg = { }; exports.default = { - version: "1.7.9", + version: "1.7.10", task: task, @@ -9645,7 +9645,7 @@ exports.default = function () { contentType: content_type, buffer: arraybuffer, get blob() { - return new Blob([this.buffer]); + return new Blob([this.buffer], { "type": content_type }); }, get text() { return _util2.default.arrayBufferToString(this.buffer); diff --git a/dist/flexio-node.min.js b/dist/flexio-node.min.js index 8a6f0e6..b71fdce 100644 --- a/dist/flexio-node.min.js +++ b/dist/flexio-node.min.js @@ -1,11 +1,11 @@ /*! - * Flex.io Javascript SDK v1.7.9 (https://github.com/flexiodata/flexio-sdk-js) + * Flex.io Javascript SDK v1.7.10 (https://github.com/flexiodata/flexio-sdk-js) * (c) 2017 Gold Prairie LLC */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("http"),require("https"),require("url"),require("assert"),require("stream"),require("tty"),require("util"),require("fs"),require("net"),require("zlib")):"function"==typeof define&&define.amd?define(["http","https","url","assert","stream","tty","util","fs","net","zlib"],e):"object"==typeof exports?exports.Flexio=e(require("http"),require("https"),require("url"),require("assert"),require("stream"),require("tty"),require("util"),require("fs"),require("net"),require("zlib")):t.Flexio=e(t.http,t.https,t.url,t.assert,t.stream,t.tty,t.util,t.fs,t.net,t.zlib)}(this,function(t,e,r,n,o,u,i,a,s,c){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=96)}([function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(13),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={debug:function(t){if(!0===o.default.getConfig().debug&&window){var t="flexio-sdk-js: "+t;return window.console?console.log(t):alert(t),this}},isNodeJs:function(){return!1},arrayBufferToString:function(t){if(this.isNodeJs())return Buffer.from(t).toString("utf-8");if("TextDecoder"in window)return new TextDecoder("utf-8").decode(t);var e,r=new Uint8Array(t),n="",o=r.length;for(e=0;e-1&&t%1==0&&t-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=r},function(t,e,r){var n=r(111),o=r(9),u=Object.prototype,i=u.hasOwnProperty,a=u.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!a.call(t,"callee")};t.exports=s},function(t,e,r){(function(t){var n=r(5),o=r(112),u="object"==typeof e&&e&&!e.nodeType&&e,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===u,s=a?n.Buffer:void 0,c=s?s.isBuffer:void 0,f=c||o;t.exports=f}).call(e,r(38)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";function n(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=r(3),u=r(122),i={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(123):"undefined"!=typeof process&&(t=r(128)),t}(),transformRequest:[function(t,e){return u(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){a.headers[t]={}}),o.forEach(["post","put","patch"],function(t){a.headers[t]=o.merge(i)}),t.exports=a},function(t,e,r){"use strict";var n=r(62);t.exports=function(t,e,r,o,u){var i=new Error(t);return n(i,e,r,o,u)}},function(t,e,r){function n(t,e){return(a(t)?o:i)(t,u(e,3))}var o=r(27),u=r(150),i=r(199),a=r(0);t.exports=n},function(t,e,r){function n(t){var e=this.__data__=new o(t);this.size=e.size}var o=r(28),u=r(158),i=r(159),a=r(160),s=r(161),c=r(162);n.prototype.clear=u,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=s,n.prototype.set=c,t.exports=n},function(t,e,r){var n=r(10),o=r(5),u=n(o,"Map");t.exports=u},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=300&&t.statusCode<400){if(++this._redirectCount>this._options.maxRedirects)return this.emit("error",new Error("Max redirects exceeded."));var r,n=this._options.headers;if(307!==t.statusCode&&!(this._options.method in p)){this._options.method="GET",this._bufferedWrites=[];for(r in n)/^content-/i.test(r)&&delete n[r]}if(!this._isRedirect)for(r in n)/^host$/i.test(r)&&delete n[r];var u=o.resolve(this._currentUrl,e);c("redirecting to",u),Object.assign(this._options,o.parse(u)),this._isRedirect=!0,this._performRequest()}else t.responseUrl=this._currentUrl,this.emit("response",t),delete this._options,delete this._bufferedWrites},n.prototype.abort=function(){this._currentRequest.abort()},n.prototype.flushHeaders=function(){this._currentRequest.flushHeaders()},n.prototype.setNoDelay=function(t){this._currentRequest.setNoDelay(t)},n.prototype.setSocketKeepAlive=function(t,e){this._currentRequest.setSocketKeepAlive(t,e)},n.prototype.setTimeout=function(t,e){this._currentRequest.setTimeout(t,e)},n.prototype.write=function(t,e,r){this._currentRequest.write(t,e,r),this._bufferedWrites.push({data:t,encoding:e})},n.prototype.end=function(t,e,r){this._currentRequest.end(t,e,r),t&&this._bufferedWrites.push({data:t,encoding:e})},Object.keys(f).forEach(function(t){var r=l[t]=t.substr(0,t.length-1),i=f[t],a=e[r]=Object.create(i);a.request=function(r,i){return"string"==typeof r?(r=o.parse(r),r.maxRedirects=e.maxRedirects):r=Object.assign({maxRedirects:e.maxRedirects,protocol:t},r),u.equal(r.protocol,t,"protocol mismatch"),c("options",r),new n(r,i)},a.get=function(t,e){var r=a.request(t,e);return r.end(),r}})},function(t,e){t.exports=require("url")},function(t,e,r){function n(t){var r,n=0;for(r in t)n=(n<<5)-n+t.charCodeAt(r),n|=0;return e.colors[Math.abs(n)%e.colors.length]}function o(t){function r(){if(r.enabled){var t=r,n=+new Date,o=n-(c||n);t.diff=o,t.prev=c,t.curr=n,c=n;for(var u=new Array(arguments.length),i=0;ip))return!1;var h=f.get(t);if(h&&f.get(e))return h==e;var v=-1,_=!0,y=r&s?new o:void 0;for(f.set(t,e),f.set(e,t);++v1),e}),a(t,f(t),r),c&&(r=o(r,7,s));for(var l=e.length;l--;)u(r,e[l]);return r});t.exports=l},function(t,e,r){function n(t){return i(t)?o(t,!0):u(t)}var o=r(57),u=r(231),i=r(11);t.exports=n},function(t,e,r){var n=r(45),o=r(48),u=r(46),i=r(78),a=Object.getOwnPropertySymbols,s=a?function(t){for(var e=[];t;)n(e,u(t)),t=o(t);return e}:i;t.exports=s},function(t,e,r){function n(t){return o(t,i,u)}var o=r(77),u=r(92),i=r(91);t.exports=n},function(t,e){function r(t,e,r,n){var o=-1,u=null==t?0:t.length;for(n&&u&&(r=t[++o]);++o1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&u(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var n=800,o=16,u=Date.now;t.exports=r},function(t,e,r){function n(t,e,r){if(!a(r))return!1;var n=typeof e;return!!("number"==n?u(r)&&i(e,r.length):"string"==n&&e in r)&&o(r[e],t)}var o=r(23),u=r(11),i=r(25),a=r(6);t.exports=n},function(t,e){function r(t,e){for(var r=-1,n=Array(t);++r-1&&t%1==0&&t-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=r},function(t,e,r){var n=r(111),o=r(9),u=Object.prototype,i=u.hasOwnProperty,a=u.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&i.call(t,"callee")&&!a.call(t,"callee")};t.exports=s},function(t,e,r){(function(t){var n=r(5),o=r(112),u="object"==typeof e&&e&&!e.nodeType&&e,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===u,s=a?n.Buffer:void 0,c=s?s.isBuffer:void 0,f=c||o;t.exports=f}).call(e,r(38)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";function n(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=r(3),u=r(122),i={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(123):"undefined"!=typeof process&&(t=r(128)),t}(),transformRequest:[function(t,e){return u(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){a.headers[t]={}}),o.forEach(["post","put","patch"],function(t){a.headers[t]=o.merge(i)}),t.exports=a},function(t,e,r){"use strict";var n=r(62);t.exports=function(t,e,r,o,u){var i=new Error(t);return n(i,e,r,o,u)}},function(t,e,r){function n(t,e){return(a(t)?o:i)(t,u(e,3))}var o=r(27),u=r(150),i=r(199),a=r(0);t.exports=n},function(t,e,r){function n(t){var e=this.__data__=new o(t);this.size=e.size}var o=r(28),u=r(158),i=r(159),a=r(160),s=r(161),c=r(162);n.prototype.clear=u,n.prototype.delete=i,n.prototype.get=a,n.prototype.has=s,n.prototype.set=c,t.exports=n},function(t,e,r){var n=r(10),o=r(5),u=n(o,"Map");t.exports=u},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=300&&t.statusCode<400){if(++this._redirectCount>this._options.maxRedirects)return this.emit("error",new Error("Max redirects exceeded."));var r,n=this._options.headers;if(307!==t.statusCode&&!(this._options.method in p)){this._options.method="GET",this._bufferedWrites=[];for(r in n)/^content-/i.test(r)&&delete n[r]}if(!this._isRedirect)for(r in n)/^host$/i.test(r)&&delete n[r];var u=o.resolve(this._currentUrl,e);c("redirecting to",u),Object.assign(this._options,o.parse(u)),this._isRedirect=!0,this._performRequest()}else t.responseUrl=this._currentUrl,this.emit("response",t),delete this._options,delete this._bufferedWrites},n.prototype.abort=function(){this._currentRequest.abort()},n.prototype.flushHeaders=function(){this._currentRequest.flushHeaders()},n.prototype.setNoDelay=function(t){this._currentRequest.setNoDelay(t)},n.prototype.setSocketKeepAlive=function(t,e){this._currentRequest.setSocketKeepAlive(t,e)},n.prototype.setTimeout=function(t,e){this._currentRequest.setTimeout(t,e)},n.prototype.write=function(t,e,r){this._currentRequest.write(t,e,r),this._bufferedWrites.push({data:t,encoding:e})},n.prototype.end=function(t,e,r){this._currentRequest.end(t,e,r),t&&this._bufferedWrites.push({data:t,encoding:e})},Object.keys(f).forEach(function(t){var r=l[t]=t.substr(0,t.length-1),i=f[t],a=e[r]=Object.create(i);a.request=function(r,i){return"string"==typeof r?(r=o.parse(r),r.maxRedirects=e.maxRedirects):r=Object.assign({maxRedirects:e.maxRedirects,protocol:t},r),u.equal(r.protocol,t,"protocol mismatch"),c("options",r),new n(r,i)},a.get=function(t,e){var r=a.request(t,e);return r.end(),r}})},function(t,e){t.exports=require("url")},function(t,e,r){function n(t){var r,n=0;for(r in t)n=(n<<5)-n+t.charCodeAt(r),n|=0;return e.colors[Math.abs(n)%e.colors.length]}function o(t){function r(){if(r.enabled){var t=r,n=+new Date,o=n-(c||n);t.diff=o,t.prev=c,t.curr=n,c=n;for(var u=new Array(arguments.length),i=0;ip))return!1;var h=f.get(t);if(h&&f.get(e))return h==e;var v=-1,_=!0,y=r&s?new o:void 0;for(f.set(t,e),f.set(e,t);++v1),e}),a(t,f(t),r),c&&(r=o(r,7,s));for(var l=e.length;l--;)u(r,e[l]);return r});t.exports=l},function(t,e,r){function n(t){return i(t)?o(t,!0):u(t)}var o=r(57),u=r(231),i=r(11);t.exports=n},function(t,e,r){var n=r(45),o=r(48),u=r(46),i=r(78),a=Object.getOwnPropertySymbols,s=a?function(t){for(var e=[];t;)n(e,u(t)),t=o(t);return e}:i;t.exports=s},function(t,e,r){function n(t){return o(t,i,u)}var o=r(77),u=r(92),i=r(91);t.exports=n},function(t,e){function r(t,e,r,n){var o=-1,u=null==t?0:t.length;for(n&&u&&(r=t[++o]);++o1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&u(r[0],r[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++n0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var n=800,o=16,u=Date.now;t.exports=r},function(t,e,r){function n(t,e,r){if(!a(r))return!1;var n=typeof e;return!!("number"==n?u(r)&&i(e,r.length):"string"==n&&e in r)&&o(r[e],t)}var o=r(23),u=r(11),i=r(25),a=r(6);t.exports=n},function(t,e){function r(t,e){for(var r=-1,n=Array(t);++r * @license MIT */ -t.exports=function(t){return null!=t&&(r(t)||n(t)||!!t._isBuffer)}},function(t,e,r){"use strict";function n(t){this.defaults=t,this.interceptors={request:new i,response:new i}}var o=r(39),u=r(3),i=r(141),a=r(142),s=r(144),c=r(145);n.prototype.request=function(t){"string"==typeof t&&(t=u.merge({url:arguments[0]},arguments[1])),t=u.merge(o,this.defaults,{method:"get"},t),t.method=t.method.toLowerCase(),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url));var e=[a,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)r=r.then(e.shift(),e.shift());return r},u.forEach(["delete","get","head","options"],function(t){n.prototype[t]=function(e,r){return this.request(u.merge(r||{},{method:t,url:e}))}}),u.forEach(["post","put","patch"],function(t){n.prototype[t]=function(e,r,n){return this.request(u.merge(n||{},{method:t,url:e,data:r}))}}),t.exports=n},function(t,e,r){"use strict";var n=r(3);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},function(t,e,r){"use strict";var n=r(3),o=r(61),u=r(63),i=r(124),a=r(125),s=r(40),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||r(126);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;n.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("test"===process.env.NODE_ENV||"undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||a(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var _=t.auth.username||"",y=t.auth.password||"";p.Authorization="Basic "+c(_+":"+y)}if(d.open(t.method.toUpperCase(),u(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?i(d.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?d.response:d.responseText,u={data:n,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:r,config:t,request:d};o(e,f,u),d=null}},d.onerror=function(){f(s("Network Error",t,null,d)),d=null},d.ontimeout=function(){f(s("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=r(127),m=(t.withCredentials||a(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;m&&(p[t.xsrfHeaderName]=m)}if("setRequestHeader"in d&&n.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(t,e,r){"use strict";var n=r(3);t.exports=function(t){var e,r,o,u={};return t?(n.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e&&(u[e]=u[e]?u[e]+", "+r:r)}),u):u}},function(t,e,r){"use strict";var n=r(3);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,r){"use strict";function n(){this.message="String contains an invalid character"}function o(t){for(var e,r,o=String(t),i="",a=0,s=u;o.charAt(0|a)||(s="=",a%1);i+=s.charAt(63&e>>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return i}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,r){"use strict";var n=r(3);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,u,i){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(u)&&a.push("domain="+u),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,r){"use strict";var n=r(3),o=r(61),u=r(63),i=r(64),a=r(65),s=r(66).http,c=r(66).https,f=r(67),l=r(139),p=r(140),d=r(40),h=r(62);t.exports=function(t){return new Promise(function(e,r){var v,_=t.data,y=t.headers,g=!1;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+p.version),_&&!n.isStream(_)){if(Buffer.isBuffer(_));else if(n.isArrayBuffer(_))_=new Buffer(new Uint8Array(_));else{if(!n.isString(_))return r(d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));_=new Buffer(_,"utf-8")}y["Content-Length"]=_.length}var m=void 0;if(t.auth){m=(t.auth.username||"")+":"+(t.auth.password||"")}var b=f.parse(t.url),x=b.protocol||"http:";if(!m&&b.auth){var T=b.auth.split(":");m=(T[0]||"")+":"+(T[1]||"")}m&&delete y.Authorization;var O="https:"===x,E=O?t.httpsAgent:t.httpAgent,j={hostname:b.hostname,port:b.port,path:u(b.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method,headers:y,agent:E,auth:m},w=t.proxy;if(!w){var P=x.slice(0,-1)+"_proxy",A=process.env[P]||process.env[P.toUpperCase()];if(A){var S=f.parse(A);if(w={host:S.hostname,port:S.port},S.auth){var N=S.auth.split(":");w.auth={username:N[0],password:N[1]}}}}if(w&&(j.hostname=w.host,j.host=w.host,j.headers.host=b.hostname+(b.port?":"+b.port:""),j.port=w.port,j.path=x+"//"+b.hostname+(b.port?":"+b.port:"")+j.path,w.auth)){var C=new Buffer(w.auth.username+":"+w.auth.password,"utf8").toString("base64");j.headers["Proxy-Authorization"]="Basic "+C}var I;0===t.maxRedirects?I=O?a:i:(t.maxRedirects&&(j.maxRedirects=t.maxRedirects),I=O?c:s);var R=I.request(j,function(n){if(!g){clearTimeout(v),v=null;var u=n;switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":u=u.pipe(l.createUnzip()),delete n.headers["content-encoding"]}var i=n.req||R,a={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:t,request:i};if("stream"===t.responseType)a.data=u,o(e,r,a);else{var s=[];u.on("data",function(e){s.push(e),t.maxContentLength>-1&&Buffer.concat(s).length>t.maxContentLength&&r(d("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,i))}),u.on("error",function(e){g||r(h(e,t,null,i))}),u.on("end",function(){var n=Buffer.concat(s);"arraybuffer"!==t.responseType&&(n=n.toString("utf8")),a.data=n,o(e,r,a)})}}});R.on("error",function(e){g||r(h(e,t,null,R))}),t.timeout&&!v&&(v=setTimeout(function(){R.abort(),r(d("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",R)),g=!0},t.timeout)),t.cancelToken&&t.cancelToken.promise.then(function(t){g||(R.abort(),r(t),g=!0)}),n.isStream(_)?_.pipe(R):R.end(_)})}},function(t,e){t.exports=require("assert")},function(t,e){t.exports=require("stream")},function(t,e,r){"undefined"!=typeof process&&"renderer"===process.type?t.exports=r(132):t.exports=r(134)},function(t,e,r){function n(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var r=this.useColors;if(t[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+t[0]+(r?"%c ":" ")+"+"+e.humanize(this.diff),r){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var o=0,u=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(u=o))}),t.splice(u,0,n)}}function u(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function i(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function a(){var t;try{t=e.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}e=t.exports=r(68),e.log=u,e.formatArgs=o,e.save=i,e.load=a,e.useColors=n,e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(a())},function(t,e){function r(t){if(t=String(t),!(t.length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return r*f;case"days":case"day":case"d":return r*c;case"hours":case"hour":case"hrs":case"hr":case"h":return r*s;case"minutes":case"minute":case"mins":case"min":case"m":return r*a;case"seconds":case"second":case"secs":case"sec":case"s":return r*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function n(t){return t>=c?Math.round(t/c)+"d":t>=s?Math.round(t/s)+"h":t>=a?Math.round(t/a)+"m":t>=i?Math.round(t/i)+"s":t+"ms"}function o(t){return u(t,c,"day")||u(t,s,"hour")||u(t,a,"minute")||u(t,i,"second")||t+" ms"}function u(t,e,r){if(!(t0)return r(t);if("number"===u&&!1===isNaN(t))return e.long?o(t):n(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,r){function n(){return"colors"in e.inspectOpts?Boolean(e.inspectOpts.colors):c.isatty(l)}function o(t){var r=this.namespace;if(this.useColors){var n=this.color,o=" [3"+n+";1m"+r+" ";t[0]=o+t[0].split("\n").join("\n"+o),t.push("[3"+n+"m+"+e.humanize(this.diff)+"")}else t[0]=(new Date).toUTCString()+" "+r+" "+t[0]}function u(){return p.write(f.format.apply(f,arguments)+"\n")}function i(t){null==t?delete process.env.DEBUG:process.env.DEBUG=t}function a(){return process.env.DEBUG}function s(t){t.inspectOpts={};for(var r=Object.keys(e.inspectOpts),n=0;n-1}var o=r(29);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(29);t.exports=n},function(t,e,r){function n(){this.__data__=new o,this.size=0}var o=r(28);t.exports=n},function(t,e){function r(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}t.exports=r},function(t,e){function r(t){return this.__data__.get(t)}t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e,r){function n(t,e){var r=this.__data__;if(r instanceof o){var n=r.__data__;if(!u||n.length"),n=e.indexOf("{");r>=0&&rs*{","{"))}return"exports.flexio_handler = function"+e}},b=function(){var t=v.TASK_TYPE_EXECUTE,e=Array.from(arguments),r=(0,c.default)(e,"[0]",""),n=void 0,o={type:t,params:{}};"python"==r||"javascript"==r?n=(0,c.default)(e,"[1]",""):(r="javascript",n=(0,c.default)(e,"[0]","")),(0,l.default)(n)&&((0,a.default)(r)&&(r="javascript"),n=g(n)),(0,u.default)(o,"params.lang",r);var i=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/;return n.match(i)?(0,u.default)(o,"params.file",n):(0,u.default)(o,"params.code",y(n)),o},x=function(){var t=Array.from(arguments),e=(0,c.default)(t,"[0]","");return e=m(e),b("javascript",e)},T=function(){var t=Array.from(arguments);return b("python",(0,c.default)(t,"[0]",""))};e.execute=b,e.javascript=x,e.python=T;e.default=b},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),u=n(o),i=r(1),a=n(i),s=r(2),c=function(t){var e=s.TASK_TYPE_FILTER;return(0,u.default)(t)?a.default.debug.call(this,"The `filter` parameter is required"):{type:e,params:{where:t}}};e.default=c},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(87),u=n(o),i=r(1),a=(n(i),r(2)),s=function(t){var e=a.TASK_TYPE_LIMIT;return t=(0,u.default)(t,10),{type:e,params:{value:t}}};e.default=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(function(t){t&&t.__esModule}(n),r(2)),u=function(t){return{type:o.TASK_TYPE_LIST,params:{path:t}}};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),u=n(o),i=r(19),a=n(i),s=r(1),c=n(s),f=r(2),l=function(t,e,r){var n=f.TASK_TYPE_RENDER,o={format:"png",width:800,height:600,scrollbars:!1};return(0,a.default)(e)&&(e="png"),(0,a.default)(t)?c.default.debug.call(this,"The `url` parameter is required"):{type:n,params:(0,u.default)({},o,r,{url:t,format:e})}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),u=n(o),i=r(20),a=n(i),s=r(18),c=n(s),f=r(4),l=n(f),p=r(1),d=n(p),h=r(2),v=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/,_=function(){var t=h.TASK_TYPE_REQUEST,e=Array.from(arguments),r=(0,l.default)(e,"[0]",""),n=(0,l.default)(e,"[1]",{}),o=void 0;if((0,c.default)((0,l.default)(e,"[0]",{})))n=(0,l.default)(e,"[0]",{});else{if(!(0,a.default)(r))return d.default.debug.call(this,"The first parameter is required and must be a string representing the `url` or `connection` identifier.");r.match(v)||(o=r,r=void 0),n=(0,u.default)({},{url:r,connection:o},n)}return n=(0,u.default)({method:"GET"},n),{type:t,params:n}};e.default=_},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),u=n(o),i=r(0),a=n(i),s=r(1),c=(n(s),r(2)),f=function(){var t=c.TASK_TYPE_SELECT,e=Array.from(arguments);return 1==e.length&&(0,a.default)((0,u.default)(e,"[0]"))&&(e=(0,u.default)(e,"[0]",[])),{type:t,params:{columns:e}}};e.default=f},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(87),u=n(o),i=r(1),a=(n(i),r(2)),s=function(t){var e=a.TASK_TYPE_SLEEP;return t=(0,u.default)(t,10),{type:e,params:{value:t}}};e.default=s},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),u=n(o),i=r(21),a=n(i),s=r(222),c=n(s),f=r(18),l=n(f),p=r(4),d=n(p),h=r(1),v=(n(h),r(2)),_=function(t){var e=v.TASK_TYPE_TRANSFORM,r=Array.from(arguments),n={operations:[]},o={},i=[],s=(0,d.default)(r,"[0]");return(0,l.default)(s)?(1==r.length&&(0,c.default)(s,"operations")?(o=(0,a.default)(s,["columns","operations"]),o=(0,u.default)(n,o)):(i=[].concat(r),o={operations:i}),{type:e,params:o}):{type:e,params:{columns:void 0,operations:i}}};e.default=_},function(t,e,r){function n(t,e){return o(t,e,function(e,r){return u(t,r)})}var o=r(218),u=r(82);t.exports=n},function(t,e,r){function n(t,e,r){for(var n=-1,a=e.length,s={};++n0&&r(f)?e>1?n(f,e-1,r,i,a):o(a,f):i||(a[a.length]=f)}return a}var o=r(45),u=r(221);t.exports=n},function(t,e,r){function n(t){return i(t)||u(t)||!!(a&&t&&t[a])}var o=r(14),u=r(36),i=r(0),a=o?o.isConcatSpreadable:void 0;t.exports=n},function(t,e,r){function n(t,e){return null!=t&&u(t,e,o)}var o=r(223),u=r(83);t.exports=n},function(t,e){function r(t,e){return null!=t&&o.call(t,e)}var n=Object.prototype,o=n.hasOwnProperty;t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(225),u=n(o),i=r(90),a=n(i),s=r(0),c=n(s),f=r(21),l=n(f),p=r(18),d=n(p),h=r(19),v=n(h),_=r(4),y=n(_),g=r(95),m=n(g),b=r(7),x=n(b),T=r(1),O=n(T),E=r(13),j=n(E);e.default=function(){var t=(0,x.default)({},{pipe:{name:"Javascript SDK Pipe",description:"This pipe was created using the Flex.io Javascript SDK",task:[]},processes:[],_params:{},loading:!1,saving:!1,running:!1,getJSON:function(){return(0,x.default)({},this.pipe)},getProcesses:function(){return[].concat(this.processes)},getLastProcess:function(){return(0,m.default)(this.processes)},addTask:function(t){return this.pipe.task.push(t),this},clearTasks:function(){return this.pipe.task=[],this},load:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,y.default)(r,"[0]"),o=(0,y.default)(r,"[1]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.load.apply(t,e)},50),this):(0,v.default)(n)?O.default.debug.call(this,"The `identifier` parameter is required. Either the pipe's eid or pipe's alias may be used."):(this.loading=!0,O.default.debug.call(this,"Loading Pipe `"+n+"`..."),j.default.http().get("/pipes/"+n).then(function(e){var r=(0,y.default)(e,"data",{});t.pipe=(0,x.default)({},r),t.loading=!1,O.default.debug.call(t,"Pipe Loaded."),"function"==typeof o&&o.call(t,null,r)}).catch(function(e){t.loading=!1,O.default.debug.call(t,"Pipe Load Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},save:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,y.default)(r,"[0]"),o=(0,y.default)(r,"[0]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.save.apply(t,e)},50),this):((0,d.default)(n)&&((0,x.default)(this.pipe,(0,l.default)(n,["name","description","ename"])),o=(0,y.default)(r,"[1]")),this.saving=!0,O.default.debug.call(this,"Saving Pipe `"+(0,y.default)(this.pipe,"name","Untitled Pipe")+"`..."),j.default.http().post("/pipes",this.pipe).then(function(e){var r=(0,y.default)(e,"data",{});t.pipe=(0,x.default)({},r),t.saving=!1,O.default.debug.call(t,"Pipe Saved."),"function"==typeof o&&o.call(t,null,t.pipe)}).catch(function(e){t.saving=!1,O.default.debug.call(t,"Pipe Save Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},run:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,y.default)(r,"[0]");if(!0===this.loading||!0===this.saving||!0===this.running)return setTimeout(function(){t.run.apply(t,e)},50),this;this.running=!0,O.default.debug.call(this,"Running Pipe `"+(0,y.default)(this.pipe,"name","Untitled Pipe")+"`...");var o=(0,x.default)({},this.pipe),u=(0,y.default)(this.pipe,"eid","");return u.length>0&&(o={parent_eid:u}),(0,x.default)(o,{process_mode:"R"}),j.default.http().post("/processes",o).then(function(e){var r=(0,y.default)(e,"data",{}),o=(0,y.default)(r,"eid","");t.processes.push(r),O.default.debug.call(t,"Created Process.");var u={responseType:"arraybuffer"};j.default.http().post("/processes/"+o+"/run",t.getParams(),u).then(function(e){t.running=!1,O.default.debug.call(t,"Process Complete.");var r=e.data,o=(0,y.default)(e,"headers.content-type","text/plain"),u={contentType:o,buffer:r,get blob(){return new Blob([this.buffer])},get text(){return O.default.arrayBufferToString(this.buffer)},get data(){try{return JSON.parse(O.default.arrayBufferToString(this.buffer))}catch(t){return null}}};"function"==typeof n&&n.call(t,null,u)})}).catch(function(e){O.default.debug.call(t,"Process Create Failed."),t.running=!1,"function"==typeof n&&n.call(t,e,null)}),this},params:function(t){return this._params=(0,x.default)({},this.getParams(),t),this},clearParams:function(t){return(0,c.default)(t)?this._params=(0,a.default)(this._params,t):(0,v.default)(t)&&(this._params={}),this},getParams:function(){return(0,x.default)({},this._params)}});return(0,u.default)(j.default.task,function(e,r){t[r]=function(){return t.addTask(e.apply(t,arguments))}}),t}},function(t,e,r){t.exports=r(226)},function(t,e,r){function n(t,e){return(a(t)?o:u)(t,i(e))}var o=r(89),u=r(84),i=r(227),a=r(0);t.exports=n},function(t,e,r){function n(t){return"function"==typeof t?t:o}var o=r(24);t.exports=n},function(t,e,r){function n(t,e,r,C,I,R){var k,M=e&O,q=e&E,Y=e&j;if(r&&(k=I?r(t,C,I,R):r(t)),void 0!==k)return k;if(!x(t))return t;var L=m(t);if(L){if(k=_(t),!M)return f(t,k)}else{var U=v(t),D=U==P||U==A;if(b(t))return c(t,M);if(U==S||U==w||D&&!I){if(k=q||D?{}:g(t),!M)return q?p(t,s(k,t)):l(t,a(k,t))}else{if(!N[U])return I?t:{};k=y(t,U,n,M)}}R||(R=new o);var B=R.get(t);if(B)return B;R.set(t,k);var z=Y?q?h:d:q?keysIn:T,F=L?void 0:z(t);return u(F||t,function(o,u){F&&(u=o,o=t[u]),i(k,u,n(o,e,r,u,t,R))}),k}var o=r(42),u=r(89),i=r(22),a=r(229),s=r(230),c=r(233),f=r(234),l=r(235),p=r(236),d=r(76),h=r(93),v=r(79),_=r(237),y=r(238),g=r(247),m=r(0),b=r(37),x=r(6),T=r(12),O=1,E=2,j=4,w="[object Arguments]",P="[object Function]",A="[object GeneratorFunction]",S="[object Object]",N={};N[w]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[S]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[P]=N["[object WeakMap]"]=!1,t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,u(e),t)}var o=r(15),u=r(12);t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,u(e),t)}var o=r(15),u=r(91);t.exports=n},function(t,e,r){function n(t){if(!o(t))return i(t);var e=u(t),r=[];for(var n in t)("constructor"!=n||!e&&s.call(t,n))&&r.push(n);return r}var o=r(6),u=r(26),i=r(232),a=Object.prototype,s=a.hasOwnProperty;t.exports=n},function(t,e){function r(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}t.exports=r},function(t,e,r){(function(t){function n(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}var o=r(5),u="object"==typeof e&&e&&!e.nodeType&&e,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===u,s=a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=n}).call(e,r(38)(t))},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++ro?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var u=Array(o);++n-1:!!f&&o(t,e,r)>-1}var o=r(257),u=r(11),i=r(20),a=r(261),s=r(264),c=Math.max;t.exports=n},function(t,e,r){function n(t,e,r){return e===e?i(t,e,r):o(t,u,r)}var o=r(258),u=r(259),i=r(260);t.exports=n},function(t,e){function r(t,e,r,n){for(var o=t.length,u=r+(n?1:-1);n?u--:++u>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return i}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,r){"use strict";var n=r(3);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,u,i){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(u)&&a.push("domain="+u),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,r){"use strict";var n=r(3),o=r(61),u=r(63),i=r(64),a=r(65),s=r(66).http,c=r(66).https,f=r(67),l=r(139),p=r(140),d=r(40),h=r(62);t.exports=function(t){return new Promise(function(e,r){var v,_=t.data,y=t.headers,g=!1;if(y["User-Agent"]||y["user-agent"]||(y["User-Agent"]="axios/"+p.version),_&&!n.isStream(_)){if(Buffer.isBuffer(_));else if(n.isArrayBuffer(_))_=new Buffer(new Uint8Array(_));else{if(!n.isString(_))return r(d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));_=new Buffer(_,"utf-8")}y["Content-Length"]=_.length}var m=void 0;if(t.auth){m=(t.auth.username||"")+":"+(t.auth.password||"")}var b=f.parse(t.url),x=b.protocol||"http:";if(!m&&b.auth){var T=b.auth.split(":");m=(T[0]||"")+":"+(T[1]||"")}m&&delete y.Authorization;var O="https:"===x,E=O?t.httpsAgent:t.httpAgent,j={hostname:b.hostname,port:b.port,path:u(b.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method,headers:y,agent:E,auth:m},w=t.proxy;if(!w){var P=x.slice(0,-1)+"_proxy",A=process.env[P]||process.env[P.toUpperCase()];if(A){var S=f.parse(A);if(w={host:S.hostname,port:S.port},S.auth){var N=S.auth.split(":");w.auth={username:N[0],password:N[1]}}}}if(w&&(j.hostname=w.host,j.host=w.host,j.headers.host=b.hostname+(b.port?":"+b.port:""),j.port=w.port,j.path=x+"//"+b.hostname+(b.port?":"+b.port:"")+j.path,w.auth)){var C=new Buffer(w.auth.username+":"+w.auth.password,"utf8").toString("base64");j.headers["Proxy-Authorization"]="Basic "+C}var I;0===t.maxRedirects?I=O?a:i:(t.maxRedirects&&(j.maxRedirects=t.maxRedirects),I=O?c:s);var R=I.request(j,function(n){if(!g){clearTimeout(v),v=null;var u=n;switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":u=u.pipe(l.createUnzip()),delete n.headers["content-encoding"]}var i=n.req||R,a={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:t,request:i};if("stream"===t.responseType)a.data=u,o(e,r,a);else{var s=[];u.on("data",function(e){s.push(e),t.maxContentLength>-1&&Buffer.concat(s).length>t.maxContentLength&&r(d("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,i))}),u.on("error",function(e){g||r(h(e,t,null,i))}),u.on("end",function(){var n=Buffer.concat(s);"arraybuffer"!==t.responseType&&(n=n.toString("utf8")),a.data=n,o(e,r,a)})}}});R.on("error",function(e){g||r(h(e,t,null,R))}),t.timeout&&!v&&(v=setTimeout(function(){R.abort(),r(d("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",R)),g=!0},t.timeout)),t.cancelToken&&t.cancelToken.promise.then(function(t){g||(R.abort(),r(t),g=!0)}),n.isStream(_)?_.pipe(R):R.end(_)})}},function(t,e){t.exports=require("assert")},function(t,e){t.exports=require("stream")},function(t,e,r){"undefined"!=typeof process&&"renderer"===process.type?t.exports=r(132):t.exports=r(134)},function(t,e,r){function n(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var r=this.useColors;if(t[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+t[0]+(r?"%c ":" ")+"+"+e.humanize(this.diff),r){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var o=0,u=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(u=o))}),t.splice(u,0,n)}}function u(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function i(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function a(){var t;try{t=e.storage.debug}catch(t){}return!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG),t}e=t.exports=r(68),e.log=u,e.formatArgs=o,e.save=i,e.load=a,e.useColors=n,e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(a())},function(t,e){function r(t){if(t=String(t),!(t.length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return r*f;case"days":case"day":case"d":return r*c;case"hours":case"hour":case"hrs":case"hr":case"h":return r*s;case"minutes":case"minute":case"mins":case"min":case"m":return r*a;case"seconds":case"second":case"secs":case"sec":case"s":return r*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function n(t){return t>=c?Math.round(t/c)+"d":t>=s?Math.round(t/s)+"h":t>=a?Math.round(t/a)+"m":t>=i?Math.round(t/i)+"s":t+"ms"}function o(t){return u(t,c,"day")||u(t,s,"hour")||u(t,a,"minute")||u(t,i,"second")||t+" ms"}function u(t,e,r){if(!(t0)return r(t);if("number"===u&&!1===isNaN(t))return e.long?o(t):n(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,r){function n(){return"colors"in e.inspectOpts?Boolean(e.inspectOpts.colors):c.isatty(l)}function o(t){var r=this.namespace;if(this.useColors){var n=this.color,o=" [3"+n+";1m"+r+" ";t[0]=o+t[0].split("\n").join("\n"+o),t.push("[3"+n+"m+"+e.humanize(this.diff)+"")}else t[0]=(new Date).toUTCString()+" "+r+" "+t[0]}function u(){return p.write(f.format.apply(f,arguments)+"\n")}function i(t){null==t?delete process.env.DEBUG:process.env.DEBUG=t}function a(){return process.env.DEBUG}function s(t){t.inspectOpts={};for(var r=Object.keys(e.inspectOpts),n=0;n-1}var o=r(29);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(29);t.exports=n},function(t,e,r){function n(){this.__data__=new o,this.size=0}var o=r(28);t.exports=n},function(t,e){function r(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}t.exports=r},function(t,e){function r(t){return this.__data__.get(t)}t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e,r){function n(t,e){var r=this.__data__;if(r instanceof o){var n=r.__data__;if(!u||n.length"),n=e.indexOf("{");r>=0&&rs*{","{"))}return"exports.flexio_handler = function"+e}},b=function(){var t=v.TASK_TYPE_EXECUTE,e=Array.from(arguments),r=(0,c.default)(e,"[0]",""),n=void 0,o={type:t,params:{}};"python"==r||"javascript"==r?n=(0,c.default)(e,"[1]",""):(r="javascript",n=(0,c.default)(e,"[0]","")),(0,l.default)(n)&&((0,a.default)(r)&&(r="javascript"),n=g(n)),(0,u.default)(o,"params.lang",r);var i=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/;return n.match(i)?(0,u.default)(o,"params.file",n):(0,u.default)(o,"params.code",y(n)),o},x=function(){var t=Array.from(arguments),e=(0,c.default)(t,"[0]","");return e=m(e),b("javascript",e)},T=function(){var t=Array.from(arguments);return b("python",(0,c.default)(t,"[0]",""))};e.execute=b,e.javascript=x,e.python=T;e.default=b},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),u=n(o),i=r(1),a=n(i),s=r(2),c=function(t){var e=s.TASK_TYPE_FILTER;return(0,u.default)(t)?a.default.debug.call(this,"The `filter` parameter is required"):{type:e,params:{where:t}}};e.default=c},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(87),u=n(o),i=r(1),a=(n(i),r(2)),s=function(t){var e=a.TASK_TYPE_LIMIT;return t=(0,u.default)(t,10),{type:e,params:{value:t}}};e.default=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(function(t){t&&t.__esModule}(n),r(2)),u=function(t){return{type:o.TASK_TYPE_LIST,params:{path:t}}};e.default=u},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),u=n(o),i=r(19),a=n(i),s=r(1),c=n(s),f=r(2),l=function(t,e,r){var n=f.TASK_TYPE_RENDER,o={format:"png",width:800,height:600,scrollbars:!1};return(0,a.default)(e)&&(e="png"),(0,a.default)(t)?c.default.debug.call(this,"The `url` parameter is required"):{type:n,params:(0,u.default)({},o,r,{url:t,format:e})}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),u=n(o),i=r(20),a=n(i),s=r(18),c=n(s),f=r(4),l=n(f),p=r(1),d=n(p),h=r(2),v=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/,_=function(){var t=h.TASK_TYPE_REQUEST,e=Array.from(arguments),r=(0,l.default)(e,"[0]",""),n=(0,l.default)(e,"[1]",{}),o=void 0;if((0,c.default)((0,l.default)(e,"[0]",{})))n=(0,l.default)(e,"[0]",{});else{if(!(0,a.default)(r))return d.default.debug.call(this,"The first parameter is required and must be a string representing the `url` or `connection` identifier.");r.match(v)||(o=r,r=void 0),n=(0,u.default)({},{url:r,connection:o},n)}return n=(0,u.default)({method:"GET"},n),{type:t,params:n}};e.default=_},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),u=n(o),i=r(0),a=n(i),s=r(1),c=(n(s),r(2)),f=function(){var t=c.TASK_TYPE_SELECT,e=Array.from(arguments);return 1==e.length&&(0,a.default)((0,u.default)(e,"[0]"))&&(e=(0,u.default)(e,"[0]",[])),{type:t,params:{columns:e}}};e.default=f},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(87),u=n(o),i=r(1),a=(n(i),r(2)),s=function(t){var e=a.TASK_TYPE_SLEEP;return t=(0,u.default)(t,10),{type:e,params:{value:t}}};e.default=s},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),u=n(o),i=r(21),a=n(i),s=r(222),c=n(s),f=r(18),l=n(f),p=r(4),d=n(p),h=r(1),v=(n(h),r(2)),_=function(t){var e=v.TASK_TYPE_TRANSFORM,r=Array.from(arguments),n={operations:[]},o={},i=[],s=(0,d.default)(r,"[0]");return(0,l.default)(s)?(1==r.length&&(0,c.default)(s,"operations")?(o=(0,a.default)(s,["columns","operations"]),o=(0,u.default)(n,o)):(i=[].concat(r),o={operations:i}),{type:e,params:o}):{type:e,params:{columns:void 0,operations:i}}};e.default=_},function(t,e,r){function n(t,e){return o(t,e,function(e,r){return u(t,r)})}var o=r(218),u=r(82);t.exports=n},function(t,e,r){function n(t,e,r){for(var n=-1,a=e.length,s={};++n0&&r(f)?e>1?n(f,e-1,r,i,a):o(a,f):i||(a[a.length]=f)}return a}var o=r(45),u=r(221);t.exports=n},function(t,e,r){function n(t){return i(t)||u(t)||!!(a&&t&&t[a])}var o=r(14),u=r(36),i=r(0),a=o?o.isConcatSpreadable:void 0;t.exports=n},function(t,e,r){function n(t,e){return null!=t&&u(t,e,o)}var o=r(223),u=r(83);t.exports=n},function(t,e){function r(t,e){return null!=t&&o.call(t,e)}var n=Object.prototype,o=n.hasOwnProperty;t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(225),u=n(o),i=r(90),a=n(i),s=r(0),c=n(s),f=r(21),l=n(f),p=r(18),d=n(p),h=r(19),v=n(h),_=r(4),y=n(_),g=r(95),m=n(g),b=r(7),x=n(b),T=r(1),O=n(T),E=r(13),j=n(E);e.default=function(){var t=(0,x.default)({},{pipe:{name:"Javascript SDK Pipe",description:"This pipe was created using the Flex.io Javascript SDK",task:[]},processes:[],_params:{},loading:!1,saving:!1,running:!1,getJSON:function(){return(0,x.default)({},this.pipe)},getProcesses:function(){return[].concat(this.processes)},getLastProcess:function(){return(0,m.default)(this.processes)},addTask:function(t){return this.pipe.task.push(t),this},clearTasks:function(){return this.pipe.task=[],this},load:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,y.default)(r,"[0]"),o=(0,y.default)(r,"[1]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.load.apply(t,e)},50),this):(0,v.default)(n)?O.default.debug.call(this,"The `identifier` parameter is required. Either the pipe's eid or pipe's alias may be used."):(this.loading=!0,O.default.debug.call(this,"Loading Pipe `"+n+"`..."),j.default.http().get("/pipes/"+n).then(function(e){var r=(0,y.default)(e,"data",{});t.pipe=(0,x.default)({},r),t.loading=!1,O.default.debug.call(t,"Pipe Loaded."),"function"==typeof o&&o.call(t,null,r)}).catch(function(e){t.loading=!1,O.default.debug.call(t,"Pipe Load Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},save:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,y.default)(r,"[0]"),o=(0,y.default)(r,"[0]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.save.apply(t,e)},50),this):((0,d.default)(n)&&((0,x.default)(this.pipe,(0,l.default)(n,["name","description","ename"])),o=(0,y.default)(r,"[1]")),this.saving=!0,O.default.debug.call(this,"Saving Pipe `"+(0,y.default)(this.pipe,"name","Untitled Pipe")+"`..."),j.default.http().post("/pipes",this.pipe).then(function(e){var r=(0,y.default)(e,"data",{});t.pipe=(0,x.default)({},r),t.saving=!1,O.default.debug.call(t,"Pipe Saved."),"function"==typeof o&&o.call(t,null,t.pipe)}).catch(function(e){t.saving=!1,O.default.debug.call(t,"Pipe Save Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},run:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,y.default)(r,"[0]");if(!0===this.loading||!0===this.saving||!0===this.running)return setTimeout(function(){t.run.apply(t,e)},50),this;this.running=!0,O.default.debug.call(this,"Running Pipe `"+(0,y.default)(this.pipe,"name","Untitled Pipe")+"`...");var o=(0,x.default)({},this.pipe),u=(0,y.default)(this.pipe,"eid","");return u.length>0&&(o={parent_eid:u}),(0,x.default)(o,{process_mode:"R"}),j.default.http().post("/processes",o).then(function(e){var r=(0,y.default)(e,"data",{}),o=(0,y.default)(r,"eid","");t.processes.push(r),O.default.debug.call(t,"Created Process.");var u={responseType:"arraybuffer"};j.default.http().post("/processes/"+o+"/run",t.getParams(),u).then(function(e){t.running=!1,O.default.debug.call(t,"Process Complete.");var r=e.data,o=(0,y.default)(e,"headers.content-type","text/plain"),u={contentType:o,buffer:r,get blob(){return new Blob([this.buffer],{type:o})},get text(){return O.default.arrayBufferToString(this.buffer)},get data(){try{return JSON.parse(O.default.arrayBufferToString(this.buffer))}catch(t){return null}}};"function"==typeof n&&n.call(t,null,u)})}).catch(function(e){O.default.debug.call(t,"Process Create Failed."),t.running=!1,"function"==typeof n&&n.call(t,e,null)}),this},params:function(t){return this._params=(0,x.default)({},this.getParams(),t),this},clearParams:function(t){return(0,c.default)(t)?this._params=(0,a.default)(this._params,t):(0,v.default)(t)&&(this._params={}),this},getParams:function(){return(0,x.default)({},this._params)}});return(0,u.default)(j.default.task,function(e,r){t[r]=function(){return t.addTask(e.apply(t,arguments))}}),t}},function(t,e,r){t.exports=r(226)},function(t,e,r){function n(t,e){return(a(t)?o:u)(t,i(e))}var o=r(89),u=r(84),i=r(227),a=r(0);t.exports=n},function(t,e,r){function n(t){return"function"==typeof t?t:o}var o=r(24);t.exports=n},function(t,e,r){function n(t,e,r,C,I,R){var k,M=e&O,q=e&E,Y=e&j;if(r&&(k=I?r(t,C,I,R):r(t)),void 0!==k)return k;if(!x(t))return t;var L=m(t);if(L){if(k=_(t),!M)return f(t,k)}else{var U=v(t),D=U==P||U==A;if(b(t))return c(t,M);if(U==S||U==w||D&&!I){if(k=q||D?{}:g(t),!M)return q?p(t,s(k,t)):l(t,a(k,t))}else{if(!N[U])return I?t:{};k=y(t,U,n,M)}}R||(R=new o);var B=R.get(t);if(B)return B;R.set(t,k);var z=Y?q?h:d:q?keysIn:T,F=L?void 0:z(t);return u(F||t,function(o,u){F&&(u=o,o=t[u]),i(k,u,n(o,e,r,u,t,R))}),k}var o=r(42),u=r(89),i=r(22),a=r(229),s=r(230),c=r(233),f=r(234),l=r(235),p=r(236),d=r(76),h=r(93),v=r(79),_=r(237),y=r(238),g=r(247),m=r(0),b=r(37),x=r(6),T=r(12),O=1,E=2,j=4,w="[object Arguments]",P="[object Function]",A="[object GeneratorFunction]",S="[object Object]",N={};N[w]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[S]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[P]=N["[object WeakMap]"]=!1,t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,u(e),t)}var o=r(15),u=r(12);t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,u(e),t)}var o=r(15),u=r(91);t.exports=n},function(t,e,r){function n(t){if(!o(t))return i(t);var e=u(t),r=[];for(var n in t)("constructor"!=n||!e&&s.call(t,n))&&r.push(n);return r}var o=r(6),u=r(26),i=r(232),a=Object.prototype,s=a.hasOwnProperty;t.exports=n},function(t,e){function r(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}t.exports=r},function(t,e,r){(function(t){function n(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}var o=r(5),u="object"==typeof e&&e&&!e.nodeType&&e,i=u&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===u,s=a?o.Buffer:void 0,c=s?s.allocUnsafe:void 0;t.exports=n}).call(e,r(38)(t))},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++ro?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var u=Array(o);++n-1:!!f&&o(t,e,r)>-1}var o=r(257),u=r(11),i=r(20),a=r(261),s=r(264),c=Math.max;t.exports=n},function(t,e,r){function n(t,e,r){return e===e?i(t,e,r):o(t,u,r)}var o=r(258),u=r(259),i=r(260);t.exports=n},function(t,e){function r(t,e,r,n){for(var o=t.length,u=r+(n?1:-1);n?u--:++u1)for(var r=1;r-1&&t%1==0&&t-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=r},function(t,e,r){var n=r(107),o=r(9),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,f=n(function(){return arguments}())?n:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=f},function(t,e,r){(function(t){var n=r(5),o=r(108),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,f=a?n.Buffer:void 0,s=f?f.isBuffer:void 0,c=s||o;t.exports=c}).call(e,r(39)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";(function(e){function n(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=r(3),i=r(118),u={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(62):void 0!==e&&(t=r(62)),t}(),transformRequest:[function(t,e){return i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){a.headers[t]={}}),o.forEach(["post","put","patch"],function(t){a.headers[t]=o.merge(u)}),t.exports=a}).call(e,r(20))},function(t,e,r){function n(t,e){return(a(t)?o:u)(t,i(e,3))}var o=r(28),i=r(135),u=r(184),a=r(0);t.exports=n},function(t,e,r){function n(t){var e=this.__data__=new o(t);this.size=e.size}var o=r(29),i=r(143),u=r(144),a=r(145),f=r(146),s=r(147);n.prototype.clear=i,n.prototype.delete=u,n.prototype.get=a,n.prototype.has=f,n.prototype.set=s,t.exports=n},function(t,e,r){var n=r(10),o=r(5),i=n(o,"Map");t.exports=i},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++ep))return!1;var d=c.get(t);if(d&&c.get(e))return d==e;var v=-1,y=!0,g=r&f?new o:void 0;for(c.set(t,e),c.set(e,t);++v=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),i.alloc(+t)}function y(t,e){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(t).length;default:if(n)return q(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,r);case"utf8":case"utf-8":return j(this,e,r);case"ascii":return C(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function _(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e)return e&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){function i(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}var u=1,a=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;u=2,a/=2,f/=2,r/=2}var s;if(o){var c=-1;for(s=r;sa&&(r=a-f),s=r;s>=0;s--){for(var l=!0,p=0;po&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var u=0;u239?4:i>223?3:i>191?2:1;if(o+a<=r){var f,s,c,l;switch(a){case 1:i<128&&(u=i);break;case 2:f=t[o+1],128==(192&f)&&(l=(31&i)<<6|63&f)>127&&(u=l);break;case 3:f=t[o+1],s=t[o+2],128==(192&f)&&128==(192&s)&&(l=(15&i)<<12|(63&f)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:f=t[o+1],s=t[o+2],c=t[o+3],128==(192&f)&&128==(192&s)&&128==(192&c)&&(l=(15&i)<<18|(63&f)<<12|(63&s)<<6|63&c)>65535&&l<1114112&&(u=l)}}null===u?(u=65533,a=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=a}return S(n)}function S(t){var e=t.length;if(e<=Z)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,r,n,o,u){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function M(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o>>8*(n?o:1-o)}function B(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o>>8*(n?o:3-o)&255}function L(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(t,e,r,n,o){return o||L(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),W.write(t,e,r,n,23,4),r+4}function k(t,e,r,n,o){return o||L(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),W.write(t,e,r,n,52,8),r+8}function F(t){if(t=K(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function K(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function q(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],u=0;u55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(u+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(t){for(var e=[],r=0;r>8,o=r%256,i.push(o),i.push(n);return i}function $(t){return X.toByteArray(F(t))}function V(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function J(t){return t!==t}/*! +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Flexio=e():t.Flexio=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=92)}([function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0});var o=r(13),i=function(t){return t&&t.__esModule?t:{default:t}}(o);e.default={debug:function(t){if(!0===i.default.getConfig().debug&&window){var t="flexio-sdk-js: "+t;return window.console?console.log(t):alert(t),this}},isNodeJs:function(){return!1},arrayBufferToString:function(t){if(this.isNodeJs())return n.from(t).toString("utf-8");if("TextDecoder"in window)return new TextDecoder("utf-8").decode(t);var e,r=new Uint8Array(t),o="",i=r.length;for(e=0;e1)for(var r=1;r-1&&t%1==0&&t-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=r},function(t,e,r){var n=r(107),o=r(9),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,f=n(function(){return arguments}())?n:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=f},function(t,e,r){(function(t){var n=r(5),o=r(108),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,f=a?n.Buffer:void 0,s=f?f.isBuffer:void 0,c=s||o;t.exports=c}).call(e,r(39)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";(function(e){function n(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=r(3),i=r(118),u={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(62):void 0!==e&&(t=r(62)),t}(),transformRequest:[function(t,e){return i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){a.headers[t]={}}),o.forEach(["post","put","patch"],function(t){a.headers[t]=o.merge(u)}),t.exports=a}).call(e,r(20))},function(t,e,r){function n(t,e){return(a(t)?o:u)(t,i(e,3))}var o=r(28),i=r(135),u=r(184),a=r(0);t.exports=n},function(t,e,r){function n(t){var e=this.__data__=new o(t);this.size=e.size}var o=r(29),i=r(143),u=r(144),a=r(145),f=r(146),s=r(147);n.prototype.clear=i,n.prototype.delete=u,n.prototype.get=a,n.prototype.has=f,n.prototype.set=s,t.exports=n},function(t,e,r){var n=r(10),o=r(5),i=n(o,"Map");t.exports=i},function(t,e,r){function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++ep))return!1;var d=c.get(t);if(d&&c.get(e))return d==e;var v=-1,y=!0,g=r&f?new o:void 0;for(c.set(t,e),c.set(e,t);++v=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function v(t){return+t!=t&&(t=0),i.alloc(+t)}function y(t,e){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(t).length;default:if(n)return q(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,r);case"utf8":case"utf-8":return j(this,e,r);case"ascii":return C(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function _(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function b(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e)return e&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){function i(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}var u=1,a=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;u=2,a/=2,f/=2,r/=2}var s;if(o){var c=-1;for(s=r;sa&&(r=a-f),s=r;s>=0;s--){for(var l=!0,p=0;po&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var u=0;u239?4:i>223?3:i>191?2:1;if(o+a<=r){var f,s,c,l;switch(a){case 1:i<128&&(u=i);break;case 2:f=t[o+1],128==(192&f)&&(l=(31&i)<<6|63&f)>127&&(u=l);break;case 3:f=t[o+1],s=t[o+2],128==(192&f)&&128==(192&s)&&(l=(15&i)<<12|(63&f)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:f=t[o+1],s=t[o+2],c=t[o+3],128==(192&f)&&128==(192&s)&&128==(192&c)&&(l=(15&i)<<18|(63&f)<<12|(63&s)<<6|63&c)>65535&&l<1114112&&(u=l)}}null===u?(u=65533,a=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=a}return S(n)}function S(t){var e=t.length;if(e<=Z)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,r,n,o,u){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function M(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o>>8*(n?o:1-o)}function B(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o>>8*(n?o:3-o)&255}function L(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(t,e,r,n,o){return o||L(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),W.write(t,e,r,n,23,4),r+4}function k(t,e,r,n,o){return o||L(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),W.write(t,e,r,n,52,8),r+8}function F(t){if(t=K(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function K(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function q(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],u=0;u55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(u+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(t){for(var e=[],r=0;r>8,o=r%256,i.push(o),i.push(n);return i}function $(t){return X.toByteArray(F(t))}function V(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function J(t){return t!==t}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -14,4 +14,4 @@ var X=r(189),W=r(190),Q=r(191);e.Buffer=i,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50, * @author Feross Aboukhadijeh * @license MIT */ -t.exports=function(t){return null!=t&&(r(t)||n(t)||!!t._isBuffer)}},function(t,e,r){"use strict";function n(t){this.defaults=t,this.interceptors={request:new u,response:new u}}var o=r(40),i=r(3),u=r(126),a=r(127),f=r(129),s=r(130);n.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(o,this.defaults,{method:"get"},t),t.method=t.method.toLowerCase(),t.baseURL&&!f(t.url)&&(t.url=s(t.baseURL,t.url));var e=[a,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)r=r.then(e.shift(),e.shift());return r},i.forEach(["delete","get","head","options"],function(t){n.prototype[t]=function(e,r){return this.request(i.merge(r||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){n.prototype[t]=function(e,r,n){return this.request(i.merge(n||{},{method:t,url:e,data:r}))}}),t.exports=n},function(t,e,r){"use strict";var n=r(3);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},function(t,e,r){"use strict";var n=r(63);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},function(t,e,r){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t}},function(t,e,r){"use strict";function n(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(3);t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(o.isURLSearchParams(e))i=e.toString();else{var u=[];o.forEach(e,function(t,e){null!==t&&void 0!==t&&(o.isArray(t)&&(e+="[]"),o.isArray(t)||(t=[t]),o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),u.push(n(e)+"="+n(t))}))}),i=u.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,r){"use strict";var n=r(3);t.exports=function(t){var e,r,o,i={};return t?(n.forEach(t.split("\n"),function(t){o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e&&(i[e]=i[e]?i[e]+", "+r:r)}),i):i}},function(t,e,r){"use strict";var n=r(3);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},function(t,e,r){"use strict";function n(){this.message="String contains an invalid character"}function o(t){for(var e,r,o=String(t),u="",a=0,f=i;o.charAt(0|a)||(f="=",a%1);u+=f.charAt(63&e>>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return u}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,r){"use strict";var n=r(3);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,u){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===u&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,r){"use strict";function n(){this.handlers=[]}var o=r(3);n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=n},function(t,e,r){"use strict";function n(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=r(3),i=r(128),u=r(64),a=r(40);t.exports=function(t){return n(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return n(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return u(e)||(n(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,r){"use strict";var n=r(3);t.exports=function(t,e,r){return n.forEach(r,function(r){t=r(t,e)}),t}},function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;t(function(t){r.reason||(r.reason=new o(t),e(r.reason))})}var o=r(65);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(e){t=e}),cancel:t}},t.exports=n},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.transform=e.sleep=e.select=e.request=e.render=e.python=e.list=e.limit=e.javascript=e.filter=e.execute=e.email=e.echo=e.convert=e.output=e.input=void 0;var o=r(134),i=n(o),u=r(192),a=n(u),f=r(193),s=n(f),c=r(194),l=n(c),p=r(195),h=n(p),d=r(196),v=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(d),y=r(197),g=n(y),_=r(198),b=n(_),m=r(199),T=n(m),E=r(200),x=n(E),w=r(201),O=n(w),A=r(202),P=n(A),j=r(203),S=n(j),C=r(204),N=n(C);e.input=i.default,e.output=a.default,e.convert=s.default,e.echo=l.default,e.email=h.default,e.execute=v.execute,e.filter=g.default,e.javascript=v.javascript,e.limit=b.default,e.list=T.default,e.python=v.python,e.render=x.default,e.request=O.default,e.select=P.default,e.sleep=S.default,e.transform=N.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(41),i=n(o),u=r(4),a=n(u),f=r(1),s=n(f),c=r(2),l=r(81),p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(l),h=function(){var t=c.TASK_TYPE_INPUT,e=Array.from(arguments),r=(0,a.default)(e,"[0]",""),n=void 0,o=void 0;if(0==e.length)return s.default.debug.call(this,"The input task requires at least 1 parameter");switch(r){default:r=p.CONNECTION_TYPE_HTTP,o=[].concat(e);break;case p.CONNECTION_TYPE_AMAZONS3:case p.CONNECTION_TYPE_DROPBOX:case p.CONNECTION_TYPE_ELASTICSEARCH:case p.CONNECTION_TYPE_GOOGLEDRIVE:case p.CONNECTION_TYPE_GOOGLESHEETS:case p.CONNECTION_TYPE_HTTP:case p.CONNECTION_TYPE_MYSQL:case p.CONNECTION_TYPE_POSTGRES:case p.CONNECTION_TYPE_SFTP:n=(0,a.default)(e,"[1]",""),o=(0,a.default)(e,"[2]",[]);break;case p.CONNECTION_TYPE_RSS:n=r,o=(0,a.default)(e,"[1]",[])}return o=(0,i.default)(o,function(t){return{path:t}}),{type:t,metadata:{connection_type:r},params:{connection:n,items:o}}};e.default=h},function(t,e,r){function n(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):f(t)}var o=r(136),i=r(174),u=r(25),a=r(0),f=r(181);t.exports=n},function(t,e,r){function n(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(r){return r===t||o(r,t,e)}}var o=r(137),i=r(173),u=r(76);t.exports=n},function(t,e,r){function n(t,e,r,n){var f=r.length,s=f,c=!n;if(null==t)return!s;for(t=Object(t);f--;){var l=r[f];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++f-1}var o=r(30);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(30);t.exports=n},function(t,e,r){function n(){this.__data__=new o,this.size=0}var o=r(29);t.exports=n},function(t,e){function r(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}t.exports=r},function(t,e){function r(t){return this.__data__.get(t)}t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e,r){function n(t,e){var r=this.__data__;if(r instanceof o){var n=r.__data__;if(!i||n.length0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function o(t){return 3*t.length/4-n(t)}function i(t){var e,r,o,i,u,a=t.length;i=n(t),u=new l(3*a/4-i),r=i>0?a-4:a;var f=0;for(e=0;e>16&255,u[f++]=o>>8&255,u[f++]=255&o;return 2===i?(o=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,u[f++]=255&o):1===i&&(o=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,u[f++]=o>>8&255,u[f++]=255&o),u}function u(t){return s[t>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}function a(t,e,r){for(var n,o=[],i=e;if?f:u+16383));return 1===n?(e=t[r-1],o+=s[e>>2],o+=s[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=s[e>>10],o+=s[e>>4&63],o+=s[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=o,e.toByteArray=i,e.fromByteArray=f;for(var s=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h>1,c=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-c)-1,h>>=-c,c+=a;c>0;i=256*i+t[e+l],l+=p,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=n;c>0;u=256*u+t[e+l],l+=p,c-=8);if(0===i)i=1-s;else{if(i===f)return u?NaN:1/0*(h?-1:1);u+=Math.pow(2,n),i-=s}return(h?-1:1)*u*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var u,a,f,s=8*i-o-1,c=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),e+=u+l>=1?p/f:p*Math.pow(2,1-l),e*f>=2&&(u++,f/=2),u+l>=c?(a=0,u=c):u+l>=1?(a=(e*f-1)*Math.pow(2,o),u+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,o),u=0));o>=8;t[r+h]=255&a,h+=d,a/=256,o-=8);for(u=u<0;t[r+h]=255&u,h+=d,u/=256,s-=8);t[r+h-d]|=128*v}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=n(o),u=r(1),a=n(u),f=r(2),s=r(81),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(s),l=function(){var t=f.TASK_TYPE_OUTPUT,e=Array.from(arguments),r=(0,i.default)(e,"[0]",""),n=void 0,o=void 0;if(0==e.length)return a.default.debug.call(this,"The output task requires at least 1 parameter");switch(r){case c.CONNECTION_TYPE_AMAZONS3:case c.CONNECTION_TYPE_ELASTICSEARCH:case c.CONNECTION_TYPE_GOOGLESHEETS:case c.CONNECTION_TYPE_MYSQL:case c.CONNECTION_TYPE_POSTGRES:n=(0,i.default)(e,"[1]","");break;case c.CONNECTION_TYPE_DROPBOX:case c.CONNECTION_TYPE_GOOGLEDRIVE:case c.CONNECTION_TYPE_SFTP:n=(0,i.default)(e,"[1]",""),o=(0,i.default)(e,"[2]","/")}return{type:t,metadata:{connection_type:r},params:{connection:n,location:o}}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(18),i=n(o),u=r(49),a=n(u),f=r(21),s=n(f),c=r(1),l=(n(c),r(2)),p=function(t,e){var r=l.TASK_TYPE_CONVERT,n={type:r,params:{}},o={format:"delimited",delimiter:"{comma}",header:!0,qualifier:"{double-quote}"},u={format:"delimited",delimiter:"{tab}",header:!0,qualifier:"{none}"};return(0,s.default)(t)?"csv"==t?(0,a.default)(n,"params.input",o):"tsv"==t?(0,a.default)(n,"params.input",u):(0,a.default)(n,"params.input.format",t):(0,i.default)(t)&&(0,a.default)(n,"params.input",t),(0,s.default)(e)?"csv"==e?(0,a.default)(n,"params.output",o):"tsv"==e?(0,a.default)(n,"params.output",u):(0,a.default)(n,"params.output.format",e):(0,i.default)(e)&&(0,a.default)(n,"params.output",e),n};e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(function(t){t&&t.__esModule}(n),r(2)),i=function(t){return{type:o.TASK_TYPE_ECHO,params:{msg:t}}};e.default=i},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(0),i=n(o),u=r(19),a=n(u),f=r(1),s=n(f),c=r(2),l=function(t,e,r,n,o){var u=c.TASK_TYPE_EMAIL_SEND;return(0,a.default)(t)?s.default.debug.call(this,"The `to` parameter is required"):(0,a.default)(e)?s.default.debug.call(this,"The `subject` parameter is required"):(0,a.default)(r)?s.default.debug.call(this,"The `body_text` parameter is required"):((0,i.default)(t)||(t=[t]),(0,a.default)(n)&&(n=r),"body"!=o&&"attachment"!=o&&(o="none"),{type:u,params:{to:t,subject:e,body_text:r,body_html:n,data:o}})};e.default=l},function(t,e,r){"use strict";(function(t,n){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.python=e.javascript=e.execute=void 0;var i=r(49),u=o(i),a=r(19),f=o(a),s=r(4),c=o(s),l=r(35),p=o(l),h=r(21),d=o(h),v=r(1),y=(o(v),r(2)),g=function(){return void 0!==t},_=function(t){try{return g()?n(t,"utf8").toString("base64"):btoa(unescape(encodeURIComponent(t)))}catch(t){return t}},b=function(t){var e;try{e=t.toString(),e=e.substring(e.indexOf("{")+1,e.lastIndexOf("}"))}catch(t){e=""}return e},m=function(t){if((0,d.default)(t))return t;if((0,p.default)(t)){var e;if(0==t.length)return"exports.flexio_handler = function(input, output) "+(e=b(t));if(e=t.toString(),"function"==e.substring(0,8))e=e.slice(8);else{var r=e.indexOf("=>"),n=e.indexOf("{");r>=0&&rs*{","{"))}return"exports.flexio_handler = function"+e}},T=function(){var t=y.TASK_TYPE_EXECUTE,e=Array.from(arguments),r=(0,c.default)(e,"[0]",""),n=void 0,o={type:t,params:{}};"python"==r||"javascript"==r?n=(0,c.default)(e,"[1]",""):(r="javascript",n=(0,c.default)(e,"[0]","")),(0,p.default)(n)&&((0,f.default)(r)&&(r="javascript"),n=b(n)),(0,u.default)(o,"params.lang",r);var i=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/;return n.match(i)?(0,u.default)(o,"params.file",n):(0,u.default)(o,"params.code",_(n)),o},E=function(){var t=Array.from(arguments),e=(0,c.default)(t,"[0]","");return e=m(e),T("javascript",e)},x=function(){var t=Array.from(arguments);return T("python",(0,c.default)(t,"[0]",""))};e.execute=T,e.javascript=E,e.python=x;e.default=T}).call(e,r(20),r(80).Buffer)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),i=n(o),u=r(1),a=n(u),f=r(2),s=function(t){var e=f.TASK_TYPE_FILTER;return(0,i.default)(t)?a.default.debug.call(this,"The `filter` parameter is required"):{type:e,params:{where:t}}};e.default=s},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(83),i=n(o),u=r(1),a=(n(u),r(2)),f=function(t){var e=a.TASK_TYPE_LIMIT;return t=(0,i.default)(t,10),{type:e,params:{value:t}}};e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(function(t){t&&t.__esModule}(n),r(2)),i=function(t){return{type:o.TASK_TYPE_LIST,params:{path:t}}};e.default=i},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=n(o),u=r(19),a=n(u),f=r(1),s=n(f),c=r(2),l=function(t,e,r){var n=c.TASK_TYPE_RENDER,o={format:"png",width:800,height:600,scrollbars:!1};return(0,a.default)(e)&&(e="png"),(0,a.default)(t)?s.default.debug.call(this,"The `url` parameter is required"):{type:n,params:(0,i.default)({},o,r,{url:t,format:e})}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=n(o),u=r(21),a=n(u),f=r(18),s=n(f),c=r(4),l=n(c),p=r(1),h=n(p),d=r(2),v=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/,y=function(){var t=d.TASK_TYPE_REQUEST,e=Array.from(arguments),r=(0,l.default)(e,"[0]",""),n=(0,l.default)(e,"[1]",{}),o=void 0;if((0,s.default)((0,l.default)(e,"[0]",{})))n=(0,l.default)(e,"[0]",{});else{if(!(0,a.default)(r))return h.default.debug.call(this,"The first parameter is required and must be a string representing the `url` or `connection` identifier.");r.match(v)||(o=r,r=void 0),n=(0,i.default)({},{url:r,connection:o},n)}return n=(0,i.default)({method:"GET"},n),{type:t,params:n}};e.default=y},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=n(o),u=r(0),a=n(u),f=r(1),s=(n(f),r(2)),c=function(){var t=s.TASK_TYPE_SELECT,e=Array.from(arguments);return 1==e.length&&(0,a.default)((0,i.default)(e,"[0]"))&&(e=(0,i.default)(e,"[0]",[])),{type:t,params:{columns:e}}};e.default=c},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(83),i=n(o),u=r(1),a=(n(u),r(2)),f=function(t){var e=a.TASK_TYPE_SLEEP;return t=(0,i.default)(t,10),{type:e,params:{value:t}}};e.default=f},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=n(o),u=r(22),a=n(u),f=r(210),s=n(f),c=r(18),l=n(c),p=r(4),h=n(p),d=r(1),v=(n(d),r(2)),y=function(t){var e=v.TASK_TYPE_TRANSFORM,r=Array.from(arguments),n={operations:[]},o={},u=[],f=(0,h.default)(r,"[0]");return(0,l.default)(f)?(1==r.length&&(0,s.default)(f,"operations")?(o=(0,a.default)(f,["columns","operations"]),o=(0,i.default)(n,o)):(u=[].concat(r),o={operations:u}),{type:e,params:o}):{type:e,params:{columns:void 0,operations:u}}};e.default=y},function(t,e,r){function n(t,e){return o(t,e,function(e,r){return i(t,r)})}var o=r(206),i=r(77);t.exports=n},function(t,e,r){function n(t,e,r){for(var n=-1,a=e.length,f={};++n0&&r(c)?e>1?n(c,e-1,r,u,a):o(a,c):u||(a[a.length]=c)}return a}var o=r(45),i=r(209);t.exports=n},function(t,e,r){function n(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=r(14),i=r(37),u=r(0),a=o?o.isConcatSpreadable:void 0;t.exports=n},function(t,e,r){function n(t,e){return null!=t&&i(t,e,o)}var o=r(211),i=r(78);t.exports=n},function(t,e){function r(t,e){return null!=t&&o.call(t,e)}var n=Object.prototype,o=n.hasOwnProperty;t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(213),i=n(o),u=r(86),a=n(u),f=r(0),s=n(f),c=r(22),l=n(c),p=r(18),h=n(p),d=r(19),v=n(d),y=r(4),g=n(y),_=r(91),b=n(_),m=r(7),T=n(m),E=r(1),x=n(E),w=r(13),O=n(w);e.default=function(){var t=(0,T.default)({},{pipe:{name:"Javascript SDK Pipe",description:"This pipe was created using the Flex.io Javascript SDK",task:[]},processes:[],_params:{},loading:!1,saving:!1,running:!1,getJSON:function(){return(0,T.default)({},this.pipe)},getProcesses:function(){return[].concat(this.processes)},getLastProcess:function(){return(0,b.default)(this.processes)},addTask:function(t){return this.pipe.task.push(t),this},clearTasks:function(){return this.pipe.task=[],this},load:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,g.default)(r,"[0]"),o=(0,g.default)(r,"[1]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.load.apply(t,e)},50),this):(0,v.default)(n)?x.default.debug.call(this,"The `identifier` parameter is required. Either the pipe's eid or pipe's alias may be used."):(this.loading=!0,x.default.debug.call(this,"Loading Pipe `"+n+"`..."),O.default.http().get("/pipes/"+n).then(function(e){var r=(0,g.default)(e,"data",{});t.pipe=(0,T.default)({},r),t.loading=!1,x.default.debug.call(t,"Pipe Loaded."),"function"==typeof o&&o.call(t,null,r)}).catch(function(e){t.loading=!1,x.default.debug.call(t,"Pipe Load Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},save:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,g.default)(r,"[0]"),o=(0,g.default)(r,"[0]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.save.apply(t,e)},50),this):((0,h.default)(n)&&((0,T.default)(this.pipe,(0,l.default)(n,["name","description","ename"])),o=(0,g.default)(r,"[1]")),this.saving=!0,x.default.debug.call(this,"Saving Pipe `"+(0,g.default)(this.pipe,"name","Untitled Pipe")+"`..."),O.default.http().post("/pipes",this.pipe).then(function(e){var r=(0,g.default)(e,"data",{});t.pipe=(0,T.default)({},r),t.saving=!1,x.default.debug.call(t,"Pipe Saved."),"function"==typeof o&&o.call(t,null,t.pipe)}).catch(function(e){t.saving=!1,x.default.debug.call(t,"Pipe Save Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},run:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,g.default)(r,"[0]");if(!0===this.loading||!0===this.saving||!0===this.running)return setTimeout(function(){t.run.apply(t,e)},50),this;this.running=!0,x.default.debug.call(this,"Running Pipe `"+(0,g.default)(this.pipe,"name","Untitled Pipe")+"`...");var o=(0,T.default)({},this.pipe),i=(0,g.default)(this.pipe,"eid","");return i.length>0&&(o={parent_eid:i}),(0,T.default)(o,{process_mode:"R"}),O.default.http().post("/processes",o).then(function(e){var r=(0,g.default)(e,"data",{}),o=(0,g.default)(r,"eid","");t.processes.push(r),x.default.debug.call(t,"Created Process.");var i={responseType:"arraybuffer"};O.default.http().post("/processes/"+o+"/run",t.getParams(),i).then(function(e){t.running=!1,x.default.debug.call(t,"Process Complete.");var r=e.data,o=(0,g.default)(e,"headers.content-type","text/plain"),i={contentType:o,buffer:r,get blob(){return new Blob([this.buffer])},get text(){return x.default.arrayBufferToString(this.buffer)},get data(){try{return JSON.parse(x.default.arrayBufferToString(this.buffer))}catch(t){return null}}};"function"==typeof n&&n.call(t,null,i)})}).catch(function(e){x.default.debug.call(t,"Process Create Failed."),t.running=!1,"function"==typeof n&&n.call(t,e,null)}),this},params:function(t){return this._params=(0,T.default)({},this.getParams(),t),this},clearParams:function(t){return(0,s.default)(t)?this._params=(0,a.default)(this._params,t):(0,v.default)(t)&&(this._params={}),this},getParams:function(){return(0,T.default)({},this._params)}});return(0,i.default)(O.default.task,function(e,r){t[r]=function(){return t.addTask(e.apply(t,arguments))}}),t}},function(t,e,r){t.exports=r(214)},function(t,e,r){function n(t,e){return(a(t)?o:i)(t,u(e))}var o=r(85),i=r(79),u=r(215),a=r(0);t.exports=n},function(t,e,r){function n(t){return"function"==typeof t?t:o}var o=r(25);t.exports=n},function(t,e,r){function n(t,e,r,N,R,I){var Y,U=e&x,M=e&w,B=e&O;if(r&&(Y=R?r(t,N,R,I):r(t)),void 0!==Y)return Y;if(!T(t))return t;var L=b(t);if(L){if(Y=y(t),!U)return c(t,Y)}else{var D=v(t),k=D==P||D==j;if(m(t))return s(t,U);if(D==S||D==A||k&&!R){if(Y=M||k?{}:_(t),!U)return M?p(t,f(Y,t)):l(t,a(Y,t))}else{if(!C[D])return R?t:{};Y=g(t,D,n,U)}}I||(I=new o);var F=I.get(t);if(F)return F;I.set(t,Y);var K=B?M?d:h:M?keysIn:E,z=L?void 0:K(t);return i(z||t,function(o,i){z&&(i=o,o=t[i]),u(Y,i,n(o,e,r,i,t,I))}),Y}var o=r(42),i=r(85),u=r(23),a=r(217),f=r(218),s=r(221),c=r(222),l=r(223),p=r(224),h=r(71),d=r(89),v=r(74),y=r(225),g=r(226),_=r(235),b=r(0),m=r(38),T=r(6),E=r(12),x=1,w=2,O=4,A="[object Arguments]",P="[object Function]",j="[object GeneratorFunction]",S="[object Object]",C={};C[A]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[S]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[P]=C["[object WeakMap]"]=!1,t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(15),i=r(12);t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(15),i=r(87);t.exports=n},function(t,e,r){function n(t){if(!o(t))return u(t);var e=i(t),r=[];for(var n in t)("constructor"!=n||!e&&f.call(t,n))&&r.push(n);return r}var o=r(6),i=r(27),u=r(220),a=Object.prototype,f=a.hasOwnProperty;t.exports=n},function(t,e){function r(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}t.exports=r},function(t,e,r){(function(t){function n(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}var o=r(5),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,f=a?o.Buffer:void 0,s=f?f.allocUnsafe:void 0;t.exports=n}).call(e,r(39)(t))},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++ro?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n-1:!!c&&o(t,e,r)>-1}var o=r(245),i=r(11),u=r(21),a=r(249),f=r(252),s=Math.max;t.exports=n},function(t,e,r){function n(t,e,r){return e===e?u(t,e,r):o(t,i,r)}var o=r(246),i=r(247),u=r(248);t.exports=n},function(t,e){function r(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return u}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=o},function(t,e,r){"use strict";var n=r(3);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,u){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===u&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,r){"use strict";function n(){this.handlers=[]}var o=r(3);n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=n},function(t,e,r){"use strict";function n(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=r(3),i=r(128),u=r(64),a=r(40);t.exports=function(t){return n(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return n(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return u(e)||(n(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,r){"use strict";var n=r(3);t.exports=function(t,e,r){return n.forEach(r,function(r){t=r(t,e)}),t}},function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;t(function(t){r.reason||(r.reason=new o(t),e(r.reason))})}var o=r(65);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(e){t=e}),cancel:t}},t.exports=n},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.transform=e.sleep=e.select=e.request=e.render=e.python=e.list=e.limit=e.javascript=e.filter=e.execute=e.email=e.echo=e.convert=e.output=e.input=void 0;var o=r(134),i=n(o),u=r(192),a=n(u),f=r(193),s=n(f),c=r(194),l=n(c),p=r(195),h=n(p),d=r(196),v=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(d),y=r(197),g=n(y),_=r(198),b=n(_),m=r(199),T=n(m),E=r(200),x=n(E),w=r(201),O=n(w),A=r(202),P=n(A),j=r(203),S=n(j),C=r(204),N=n(C);e.input=i.default,e.output=a.default,e.convert=s.default,e.echo=l.default,e.email=h.default,e.execute=v.execute,e.filter=g.default,e.javascript=v.javascript,e.limit=b.default,e.list=T.default,e.python=v.python,e.render=x.default,e.request=O.default,e.select=P.default,e.sleep=S.default,e.transform=N.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(41),i=n(o),u=r(4),a=n(u),f=r(1),s=n(f),c=r(2),l=r(81),p=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(l),h=function(){var t=c.TASK_TYPE_INPUT,e=Array.from(arguments),r=(0,a.default)(e,"[0]",""),n=void 0,o=void 0;if(0==e.length)return s.default.debug.call(this,"The input task requires at least 1 parameter");switch(r){default:r=p.CONNECTION_TYPE_HTTP,o=[].concat(e);break;case p.CONNECTION_TYPE_AMAZONS3:case p.CONNECTION_TYPE_DROPBOX:case p.CONNECTION_TYPE_ELASTICSEARCH:case p.CONNECTION_TYPE_GOOGLEDRIVE:case p.CONNECTION_TYPE_GOOGLESHEETS:case p.CONNECTION_TYPE_HTTP:case p.CONNECTION_TYPE_MYSQL:case p.CONNECTION_TYPE_POSTGRES:case p.CONNECTION_TYPE_SFTP:n=(0,a.default)(e,"[1]",""),o=(0,a.default)(e,"[2]",[]);break;case p.CONNECTION_TYPE_RSS:n=r,o=(0,a.default)(e,"[1]",[])}return o=(0,i.default)(o,function(t){return{path:t}}),{type:t,metadata:{connection_type:r},params:{connection:n,items:o}}};e.default=h},function(t,e,r){function n(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):f(t)}var o=r(136),i=r(174),u=r(25),a=r(0),f=r(181);t.exports=n},function(t,e,r){function n(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(r){return r===t||o(r,t,e)}}var o=r(137),i=r(173),u=r(76);t.exports=n},function(t,e,r){function n(t,e,r,n){var f=r.length,s=f,c=!n;if(null==t)return!s;for(t=Object(t);f--;){var l=r[f];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++f-1}var o=r(30);t.exports=n},function(t,e,r){function n(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}var o=r(30);t.exports=n},function(t,e,r){function n(){this.__data__=new o,this.size=0}var o=r(29);t.exports=n},function(t,e){function r(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}t.exports=r},function(t,e){function r(t){return this.__data__.get(t)}t.exports=r},function(t,e){function r(t){return this.__data__.has(t)}t.exports=r},function(t,e,r){function n(t,e){var r=this.__data__;if(r instanceof o){var n=r.__data__;if(!i||n.length0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function o(t){return 3*t.length/4-n(t)}function i(t){var e,r,o,i,u,a=t.length;i=n(t),u=new l(3*a/4-i),r=i>0?a-4:a;var f=0;for(e=0;e>16&255,u[f++]=o>>8&255,u[f++]=255&o;return 2===i?(o=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,u[f++]=255&o):1===i&&(o=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,u[f++]=o>>8&255,u[f++]=255&o),u}function u(t){return s[t>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}function a(t,e,r){for(var n,o=[],i=e;if?f:u+16383));return 1===n?(e=t[r-1],o+=s[e>>2],o+=s[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=s[e>>10],o+=s[e>>4&63],o+=s[e<<2&63],o+="="),i.push(o),i.join("")}e.byteLength=o,e.toByteArray=i,e.fromByteArray=f;for(var s=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h>1,c=-7,l=r?o-1:0,p=r?-1:1,h=t[e+l];for(l+=p,i=h&(1<<-c)-1,h>>=-c,c+=a;c>0;i=256*i+t[e+l],l+=p,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=n;c>0;u=256*u+t[e+l],l+=p,c-=8);if(0===i)i=1-s;else{if(i===f)return u?NaN:1/0*(h?-1:1);u+=Math.pow(2,n),i-=s}return(h?-1:1)*u*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var u,a,f,s=8*i-o-1,c=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),e+=u+l>=1?p/f:p*Math.pow(2,1-l),e*f>=2&&(u++,f/=2),u+l>=c?(a=0,u=c):u+l>=1?(a=(e*f-1)*Math.pow(2,o),u+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,o),u=0));o>=8;t[r+h]=255&a,h+=d,a/=256,o-=8);for(u=u<0;t[r+h]=255&u,h+=d,u/=256,s-=8);t[r+h-d]|=128*v}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=n(o),u=r(1),a=n(u),f=r(2),s=r(81),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(s),l=function(){var t=f.TASK_TYPE_OUTPUT,e=Array.from(arguments),r=(0,i.default)(e,"[0]",""),n=void 0,o=void 0;if(0==e.length)return a.default.debug.call(this,"The output task requires at least 1 parameter");switch(r){case c.CONNECTION_TYPE_AMAZONS3:case c.CONNECTION_TYPE_ELASTICSEARCH:case c.CONNECTION_TYPE_GOOGLESHEETS:case c.CONNECTION_TYPE_MYSQL:case c.CONNECTION_TYPE_POSTGRES:n=(0,i.default)(e,"[1]","");break;case c.CONNECTION_TYPE_DROPBOX:case c.CONNECTION_TYPE_GOOGLEDRIVE:case c.CONNECTION_TYPE_SFTP:n=(0,i.default)(e,"[1]",""),o=(0,i.default)(e,"[2]","/")}return{type:t,metadata:{connection_type:r},params:{connection:n,location:o}}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(18),i=n(o),u=r(49),a=n(u),f=r(21),s=n(f),c=r(1),l=(n(c),r(2)),p=function(t,e){var r=l.TASK_TYPE_CONVERT,n={type:r,params:{}},o={format:"delimited",delimiter:"{comma}",header:!0,qualifier:"{double-quote}"},u={format:"delimited",delimiter:"{tab}",header:!0,qualifier:"{none}"};return(0,s.default)(t)?"csv"==t?(0,a.default)(n,"params.input",o):"tsv"==t?(0,a.default)(n,"params.input",u):(0,a.default)(n,"params.input.format",t):(0,i.default)(t)&&(0,a.default)(n,"params.input",t),(0,s.default)(e)?"csv"==e?(0,a.default)(n,"params.output",o):"tsv"==e?(0,a.default)(n,"params.output",u):(0,a.default)(n,"params.output.format",e):(0,i.default)(e)&&(0,a.default)(n,"params.output",e),n};e.default=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(function(t){t&&t.__esModule}(n),r(2)),i=function(t){return{type:o.TASK_TYPE_ECHO,params:{msg:t}}};e.default=i},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(0),i=n(o),u=r(19),a=n(u),f=r(1),s=n(f),c=r(2),l=function(t,e,r,n,o){var u=c.TASK_TYPE_EMAIL_SEND;return(0,a.default)(t)?s.default.debug.call(this,"The `to` parameter is required"):(0,a.default)(e)?s.default.debug.call(this,"The `subject` parameter is required"):(0,a.default)(r)?s.default.debug.call(this,"The `body_text` parameter is required"):((0,i.default)(t)||(t=[t]),(0,a.default)(n)&&(n=r),"body"!=o&&"attachment"!=o&&(o="none"),{type:u,params:{to:t,subject:e,body_text:r,body_html:n,data:o}})};e.default=l},function(t,e,r){"use strict";(function(t,n){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.python=e.javascript=e.execute=void 0;var i=r(49),u=o(i),a=r(19),f=o(a),s=r(4),c=o(s),l=r(35),p=o(l),h=r(21),d=o(h),v=r(1),y=(o(v),r(2)),g=function(){return void 0!==t},_=function(t){try{return g()?n(t,"utf8").toString("base64"):btoa(unescape(encodeURIComponent(t)))}catch(t){return t}},b=function(t){var e;try{e=t.toString(),e=e.substring(e.indexOf("{")+1,e.lastIndexOf("}"))}catch(t){e=""}return e},m=function(t){if((0,d.default)(t))return t;if((0,p.default)(t)){var e;if(0==t.length)return"exports.flexio_handler = function(input, output) "+(e=b(t));if(e=t.toString(),"function"==e.substring(0,8))e=e.slice(8);else{var r=e.indexOf("=>"),n=e.indexOf("{");r>=0&&rs*{","{"))}return"exports.flexio_handler = function"+e}},T=function(){var t=y.TASK_TYPE_EXECUTE,e=Array.from(arguments),r=(0,c.default)(e,"[0]",""),n=void 0,o={type:t,params:{}};"python"==r||"javascript"==r?n=(0,c.default)(e,"[1]",""):(r="javascript",n=(0,c.default)(e,"[0]","")),(0,p.default)(n)&&((0,f.default)(r)&&(r="javascript"),n=b(n)),(0,u.default)(o,"params.lang",r);var i=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/;return n.match(i)?(0,u.default)(o,"params.file",n):(0,u.default)(o,"params.code",_(n)),o},E=function(){var t=Array.from(arguments),e=(0,c.default)(t,"[0]","");return e=m(e),T("javascript",e)},x=function(){var t=Array.from(arguments);return T("python",(0,c.default)(t,"[0]",""))};e.execute=T,e.javascript=E,e.python=x;e.default=T}).call(e,r(20),r(80).Buffer)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(19),i=n(o),u=r(1),a=n(u),f=r(2),s=function(t){var e=f.TASK_TYPE_FILTER;return(0,i.default)(t)?a.default.debug.call(this,"The `filter` parameter is required"):{type:e,params:{where:t}}};e.default=s},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(83),i=n(o),u=r(1),a=(n(u),r(2)),f=function(t){var e=a.TASK_TYPE_LIMIT;return t=(0,i.default)(t,10),{type:e,params:{value:t}}};e.default=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=(function(t){t&&t.__esModule}(n),r(2)),i=function(t){return{type:o.TASK_TYPE_LIST,params:{path:t}}};e.default=i},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=n(o),u=r(19),a=n(u),f=r(1),s=n(f),c=r(2),l=function(t,e,r){var n=c.TASK_TYPE_RENDER,o={format:"png",width:800,height:600,scrollbars:!1};return(0,a.default)(e)&&(e="png"),(0,a.default)(t)?s.default.debug.call(this,"The `url` parameter is required"):{type:n,params:(0,i.default)({},o,r,{url:t,format:e})}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=n(o),u=r(21),a=n(u),f=r(18),s=n(f),c=r(4),l=n(c),p=r(1),h=n(p),d=r(2),v=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/,y=function(){var t=d.TASK_TYPE_REQUEST,e=Array.from(arguments),r=(0,l.default)(e,"[0]",""),n=(0,l.default)(e,"[1]",{}),o=void 0;if((0,s.default)((0,l.default)(e,"[0]",{})))n=(0,l.default)(e,"[0]",{});else{if(!(0,a.default)(r))return h.default.debug.call(this,"The first parameter is required and must be a string representing the `url` or `connection` identifier.");r.match(v)||(o=r,r=void 0),n=(0,i.default)({},{url:r,connection:o},n)}return n=(0,i.default)({method:"GET"},n),{type:t,params:n}};e.default=y},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(4),i=n(o),u=r(0),a=n(u),f=r(1),s=(n(f),r(2)),c=function(){var t=s.TASK_TYPE_SELECT,e=Array.from(arguments);return 1==e.length&&(0,a.default)((0,i.default)(e,"[0]"))&&(e=(0,i.default)(e,"[0]",[])),{type:t,params:{columns:e}}};e.default=c},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(83),i=n(o),u=r(1),a=(n(u),r(2)),f=function(t){var e=a.TASK_TYPE_SLEEP;return t=(0,i.default)(t,10),{type:e,params:{value:t}}};e.default=f},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=n(o),u=r(22),a=n(u),f=r(210),s=n(f),c=r(18),l=n(c),p=r(4),h=n(p),d=r(1),v=(n(d),r(2)),y=function(t){var e=v.TASK_TYPE_TRANSFORM,r=Array.from(arguments),n={operations:[]},o={},u=[],f=(0,h.default)(r,"[0]");return(0,l.default)(f)?(1==r.length&&(0,s.default)(f,"operations")?(o=(0,a.default)(f,["columns","operations"]),o=(0,i.default)(n,o)):(u=[].concat(r),o={operations:u}),{type:e,params:o}):{type:e,params:{columns:void 0,operations:u}}};e.default=y},function(t,e,r){function n(t,e){return o(t,e,function(e,r){return i(t,r)})}var o=r(206),i=r(77);t.exports=n},function(t,e,r){function n(t,e,r){for(var n=-1,a=e.length,f={};++n0&&r(c)?e>1?n(c,e-1,r,u,a):o(a,c):u||(a[a.length]=c)}return a}var o=r(45),i=r(209);t.exports=n},function(t,e,r){function n(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=r(14),i=r(37),u=r(0),a=o?o.isConcatSpreadable:void 0;t.exports=n},function(t,e,r){function n(t,e){return null!=t&&i(t,e,o)}var o=r(211),i=r(78);t.exports=n},function(t,e){function r(t,e){return null!=t&&o.call(t,e)}var n=Object.prototype,o=n.hasOwnProperty;t.exports=r},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(213),i=n(o),u=r(86),a=n(u),f=r(0),s=n(f),c=r(22),l=n(c),p=r(18),h=n(p),d=r(19),v=n(d),y=r(4),g=n(y),_=r(91),b=n(_),m=r(7),T=n(m),E=r(1),x=n(E),w=r(13),O=n(w);e.default=function(){var t=(0,T.default)({},{pipe:{name:"Javascript SDK Pipe",description:"This pipe was created using the Flex.io Javascript SDK",task:[]},processes:[],_params:{},loading:!1,saving:!1,running:!1,getJSON:function(){return(0,T.default)({},this.pipe)},getProcesses:function(){return[].concat(this.processes)},getLastProcess:function(){return(0,b.default)(this.processes)},addTask:function(t){return this.pipe.task.push(t),this},clearTasks:function(){return this.pipe.task=[],this},load:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,g.default)(r,"[0]"),o=(0,g.default)(r,"[1]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.load.apply(t,e)},50),this):(0,v.default)(n)?x.default.debug.call(this,"The `identifier` parameter is required. Either the pipe's eid or pipe's alias may be used."):(this.loading=!0,x.default.debug.call(this,"Loading Pipe `"+n+"`..."),O.default.http().get("/pipes/"+n).then(function(e){var r=(0,g.default)(e,"data",{});t.pipe=(0,T.default)({},r),t.loading=!1,x.default.debug.call(t,"Pipe Loaded."),"function"==typeof o&&o.call(t,null,r)}).catch(function(e){t.loading=!1,x.default.debug.call(t,"Pipe Load Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},save:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,g.default)(r,"[0]"),o=(0,g.default)(r,"[0]");return!0===this.loading||!0===this.saving||!0===this.running?(setTimeout(function(){t.save.apply(t,e)},50),this):((0,h.default)(n)&&((0,T.default)(this.pipe,(0,l.default)(n,["name","description","ename"])),o=(0,g.default)(r,"[1]")),this.saving=!0,x.default.debug.call(this,"Saving Pipe `"+(0,g.default)(this.pipe,"name","Untitled Pipe")+"`..."),O.default.http().post("/pipes",this.pipe).then(function(e){var r=(0,g.default)(e,"data",{});t.pipe=(0,T.default)({},r),t.saving=!1,x.default.debug.call(t,"Pipe Saved."),"function"==typeof o&&o.call(t,null,t.pipe)}).catch(function(e){t.saving=!1,x.default.debug.call(t,"Pipe Save Failed."),"function"==typeof o&&o.call(t,e,null)}),this)},run:function(){var t=this,e=arguments,r=Array.from(arguments),n=(0,g.default)(r,"[0]");if(!0===this.loading||!0===this.saving||!0===this.running)return setTimeout(function(){t.run.apply(t,e)},50),this;this.running=!0,x.default.debug.call(this,"Running Pipe `"+(0,g.default)(this.pipe,"name","Untitled Pipe")+"`...");var o=(0,T.default)({},this.pipe),i=(0,g.default)(this.pipe,"eid","");return i.length>0&&(o={parent_eid:i}),(0,T.default)(o,{process_mode:"R"}),O.default.http().post("/processes",o).then(function(e){var r=(0,g.default)(e,"data",{}),o=(0,g.default)(r,"eid","");t.processes.push(r),x.default.debug.call(t,"Created Process.");var i={responseType:"arraybuffer"};O.default.http().post("/processes/"+o+"/run",t.getParams(),i).then(function(e){t.running=!1,x.default.debug.call(t,"Process Complete.");var r=e.data,o=(0,g.default)(e,"headers.content-type","text/plain"),i={contentType:o,buffer:r,get blob(){return new Blob([this.buffer],{type:o})},get text(){return x.default.arrayBufferToString(this.buffer)},get data(){try{return JSON.parse(x.default.arrayBufferToString(this.buffer))}catch(t){return null}}};"function"==typeof n&&n.call(t,null,i)})}).catch(function(e){x.default.debug.call(t,"Process Create Failed."),t.running=!1,"function"==typeof n&&n.call(t,e,null)}),this},params:function(t){return this._params=(0,T.default)({},this.getParams(),t),this},clearParams:function(t){return(0,s.default)(t)?this._params=(0,a.default)(this._params,t):(0,v.default)(t)&&(this._params={}),this},getParams:function(){return(0,T.default)({},this._params)}});return(0,i.default)(O.default.task,function(e,r){t[r]=function(){return t.addTask(e.apply(t,arguments))}}),t}},function(t,e,r){t.exports=r(214)},function(t,e,r){function n(t,e){return(a(t)?o:i)(t,u(e))}var o=r(85),i=r(79),u=r(215),a=r(0);t.exports=n},function(t,e,r){function n(t){return"function"==typeof t?t:o}var o=r(25);t.exports=n},function(t,e,r){function n(t,e,r,N,R,I){var Y,U=e&x,M=e&w,B=e&O;if(r&&(Y=R?r(t,N,R,I):r(t)),void 0!==Y)return Y;if(!T(t))return t;var L=b(t);if(L){if(Y=y(t),!U)return c(t,Y)}else{var D=v(t),k=D==P||D==j;if(m(t))return s(t,U);if(D==S||D==A||k&&!R){if(Y=M||k?{}:_(t),!U)return M?p(t,f(Y,t)):l(t,a(Y,t))}else{if(!C[D])return R?t:{};Y=g(t,D,n,U)}}I||(I=new o);var F=I.get(t);if(F)return F;I.set(t,Y);var K=B?M?d:h:M?keysIn:E,z=L?void 0:K(t);return i(z||t,function(o,i){z&&(i=o,o=t[i]),u(Y,i,n(o,e,r,i,t,I))}),Y}var o=r(42),i=r(85),u=r(23),a=r(217),f=r(218),s=r(221),c=r(222),l=r(223),p=r(224),h=r(71),d=r(89),v=r(74),y=r(225),g=r(226),_=r(235),b=r(0),m=r(38),T=r(6),E=r(12),x=1,w=2,O=4,A="[object Arguments]",P="[object Function]",j="[object GeneratorFunction]",S="[object Object]",C={};C[A]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[S]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[P]=C["[object WeakMap]"]=!1,t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(15),i=r(12);t.exports=n},function(t,e,r){function n(t,e){return t&&o(e,i(e),t)}var o=r(15),i=r(87);t.exports=n},function(t,e,r){function n(t){if(!o(t))return u(t);var e=i(t),r=[];for(var n in t)("constructor"!=n||!e&&f.call(t,n))&&r.push(n);return r}var o=r(6),i=r(27),u=r(220),a=Object.prototype,f=a.hasOwnProperty;t.exports=n},function(t,e){function r(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}t.exports=r},function(t,e,r){(function(t){function n(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}var o=r(5),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,f=a?o.Buffer:void 0,s=f?f.allocUnsafe:void 0;t.exports=n}).call(e,r(39)(t))},function(t,e){function r(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++ro?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n-1:!!c&&o(t,e,r)>-1}var o=r(245),i=r(11),u=r(21),a=r(249),f=r(252),s=Math.max;t.exports=n},function(t,e,r){function n(t,e,r){return e===e?u(t,e,r):o(t,i,r)}var o=r(246),i=r(247),u=r(248);t.exports=n},function(t,e){function r(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i1)for(var n=1;n-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){var r=n(295),a=n(10),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(5),a=n(296),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===i,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||a;e.exports=d}).call(t,n(40)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(t){function r(e,t){!a.isUndefined(e)&&a.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a=n(3),i=n(306),o={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(63):void 0!==t&&(e=n(63)),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),a.isFormData(e)||a.isArrayBuffer(e)||a.isBuffer(e)||a.isStream(e)||a.isFile(e)||a.isBlob(e)?e:a.isArrayBufferView(e)?e.buffer:a.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):a.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],function(e){s.headers[e]={}}),a.forEach(["post","put","patch"],function(e){s.headers[e]=a.merge(o)}),e.exports=s}).call(t,n(14))},function(e,t,n){function r(e,t){return(s(e)?a:o)(e,i(t,3))}var a=n(28),i=n(323),o=n(372),s=n(0);e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new a(e);this.size=t.size}var a=n(29),i=n(331),o=n(332),s=n(333),l=n(334),c=n(335);r.prototype.clear=i,r.prototype.delete=o,r.prototype.get=s,r.prototype.has=l,r.prototype.set=c,e.exports=r},function(e,t,n){var r=n(11),a=n(5),i=r(a,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tp))return!1;var f=d.get(e);if(f&&d.get(t))return f==t;var g=-1,_=!0,b=n&l?new a:void 0;for(d.set(e,t),d.set(t,e);++g=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),i.alloc(+e)}function _(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function h(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,a);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){function i(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}var c;if(a){var d=-1;for(c=n;cs&&(n=s-l),c=n;c>=0;c--){for(var u=!0,p=0;pa&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o239?4:i>223?3:i>191?2:1;if(a+s<=n){var l,c,d,u;switch(s){case 1:i<128&&(o=i);break;case 2:l=e[a+1],128==(192&l)&&(u=(31&i)<<6|63&l)>127&&(o=u);break;case 3:l=e[a+1],c=e[a+2],128==(192&l)&&128==(192&c)&&(u=(15&i)<<12|(63&l)<<6|63&c)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:l=e[a+1],c=e[a+2],d=e[a+3],128==(192&l)&&128==(192&c)&&128==(192&d)&&(u=(15&i)<<18|(63&l)<<12|(63&c)<<6|63&d)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),a+=s}return M(r)}function M(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,a,o){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(r?a:1-a)}function B(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(r?a:3-a)&255}function F(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,r,a){return a||F(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(e,t,n,r,23,4),n+4}function G(e,t,n,r,a){return a||F(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,n,r,52,8),n+8}function q(e){if(e=$(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function $(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var n,r=e.length,a=null,i=[],o=0;o55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){for(var t=[],n=0;n>8,a=n%256,i.push(a),i.push(r);return i}function W(e){return Z.toByteArray(q(e))}function K(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function Q(e){return e!==e}/*! +!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=93)}([function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var a=n(7),i=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default={debug:function(e){if(!0===i.default.getConfig().debug&&window){var e="flexio-sdk-js: "+e;return window.console?console.log(e):alert(e),this}},isNodeJs:function(){return!1},arrayBufferToString:function(e){if(this.isNodeJs())return r.from(e).toString("utf-8");if("TextDecoder"in window)return new TextDecoder("utf-8").decode(e);var t,n=new Uint8Array(e),a="",i=n.length;for(t=0;t1)for(var n=1;n-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){var r=n(295),a=n(10),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(5),a=n(296),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===i,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,d=c||a;e.exports=d}).call(t,n(40)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";(function(t){function r(e,t){!a.isUndefined(e)&&a.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a=n(3),i=n(306),o={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(63):void 0!==t&&(e=n(63)),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),a.isFormData(e)||a.isArrayBuffer(e)||a.isBuffer(e)||a.isStream(e)||a.isFile(e)||a.isBlob(e)?e:a.isArrayBufferView(e)?e.buffer:a.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):a.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],function(e){s.headers[e]={}}),a.forEach(["post","put","patch"],function(e){s.headers[e]=a.merge(o)}),e.exports=s}).call(t,n(14))},function(e,t,n){function r(e,t){return(s(e)?a:o)(e,i(t,3))}var a=n(28),i=n(323),o=n(372),s=n(0);e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new a(e);this.size=t.size}var a=n(29),i=n(331),o=n(332),s=n(333),l=n(334),c=n(335);r.prototype.clear=i,r.prototype.delete=o,r.prototype.get=s,r.prototype.has=l,r.prototype.set=c,e.exports=r},function(e,t,n){var r=n(11),a=n(5),i=r(a,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tp))return!1;var f=d.get(e);if(f&&d.get(t))return f==t;var g=-1,_=!0,b=n&l?new a:void 0;for(d.set(e,t),d.set(t,e);++g=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),i.alloc(+e)}function _(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return O(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return w(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function h(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,a);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){function i(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}var c;if(a){var d=-1;for(c=n;cs&&(n=s-l),c=n;c>=0;c--){for(var u=!0,p=0;pa&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o239?4:i>223?3:i>191?2:1;if(a+s<=n){var l,c,d,u;switch(s){case 1:i<128&&(o=i);break;case 2:l=e[a+1],128==(192&l)&&(u=(31&i)<<6|63&l)>127&&(o=u);break;case 3:l=e[a+1],c=e[a+2],128==(192&l)&&128==(192&c)&&(u=(15&i)<<12|(63&l)<<6|63&c)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:l=e[a+1],c=e[a+2],d=e[a+3],128==(192&l)&&128==(192&c)&&128==(192&d)&&(u=(15&i)<<18|(63&l)<<12|(63&c)<<6|63&d)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),a+=s}return M(r)}function M(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,a,o){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(r?a:1-a)}function B(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(r?a:3-a)&255}function F(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,r,a){return a||F(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(e,t,n,r,23,4),n+4}function G(e,t,n,r,a){return a||F(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,n,r,52,8),n+8}function q(e){if(e=$(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function $(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var n,r=e.length,a=null,i=[],o=0;o55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){for(var t=[],n=0;n>8,a=n%256,i.push(a),i.push(r);return i}function W(e){return Z.toByteArray(q(e))}function K(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function Q(e){return e!==e}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -9,13 +9,13 @@ var Z=n(377),Y=n(378),X=n(379);t.Buffer=i,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50, * (c) 2014-2017 Evan You * Released under the MIT License. */ -function r(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function i(e){return!0===e}function o(e){return!1===e}function s(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===Ja.call(e)}function d(e){return"[object RegExp]"===Ja.call(e)}function u(e){var t=parseFloat(e);return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}function _(e,t){return ni.call(e,t)}function b(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function v(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function h(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;nbo)){_i("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var r=ho.slice(),a=vo.slice();ke(),Fe(r),Pe(a),Ui&&mi.devtools&&Ui.emit("flush")}function Pe(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Ie(r,"updated")}}function Be(e){e._inactive=!1,ho.push(e)}function Fe(e){for(var t=0;tCo&&vo[n].id>e.id;)n--;vo.splice(n+1,0,e)}else vo.push(e);So||(So=!0,qi(Le))}}function Ge(e){wo.clear(),qe(e,wo)}function qe(e,t){var n,r,a=Array.isArray(e);if((a||l(e))&&Object.isExtensible(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(a)for(n=e.length;n--;)qe(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)qe(e[r[n]],t)}}function $e(e,t,n){Oo.get=function(){return this[t][n]},Oo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Oo)}function ze(e){e._watchers=[];var t=e.$options;t.props&&He(e,t.props),t.methods&&Ye(e,t.methods),t.data?Ve(e):L(e._data={},!0),t.computed&&Ke(e,t.computed),t.watch&&t.watch!==Ii&&Xe(e,t.watch)}function je(e,t){c(e.$options[t])||_i('component option "'+t+'" should be an object.',e)}function He(e,n){var r=e.$options.propsData||{},a=e._props={},i=e.$options._propKeys=[],o=!e.$parent;Ki.shouldConvert=o;for(var s in n)!function(o){i.push(o);var s=Z(o,n,r,e);"production"!==t.env.NODE_ENV?((ti(o)||mi.isReservedAttr(o))&&_i('"'+o+'" is a reserved attribute and cannot be used as component prop.',e),P(a,o,s,function(){e.$parent&&!_o&&_i("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+o+'"',e)})):P(a,o,s),o in e||$e(e,"_props",o)}(s);Ki.shouldConvert=!0}function Ve(e){var n=e.$options.data;n=e._data="function"==typeof n?We(n,e):n||{},c(n)||(n={},"production"!==t.env.NODE_ENV&&_i("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var r=Object.keys(n),a=e.$options.props,i=e.$options.methods,o=r.length;o--;){var s=r[o];"production"!==t.env.NODE_ENV&&i&&_(i,s)&&_i('Method "'+s+'" has already been defined as a data property.',e),a&&_(a,s)?"production"!==t.env.NODE_ENV&&_i('The data property "'+s+'" is already declared as a prop. Use prop default value instead.',e):N(s)||$e(e,"_data",s)}L(n,!0)}function We(e,t){try{return e.call(t)}catch(e){return M(e,t,"data()"),{}}}function Ke(e,n){"production"!==t.env.NODE_ENV&&je(e,"computed");var r=e._computedWatchers=Object.create(null),a=Fi();for(var i in n){var o=n[i],s="function"==typeof o?o:o.get;"production"!==t.env.NODE_ENV&&null==s&&_i('Getter is missing for computed property "'+i+'".',e),a||(r[i]=new No(e,s||S,S,Mo)),i in e?"production"!==t.env.NODE_ENV&&(i in e.$data?_i('The computed property "'+i+'" is already defined in data.',e):e.$options.props&&i in e.$options.props&&_i('The computed property "'+i+'" is already defined as a prop.',e)):Qe(e,i,o)}}function Qe(e,n,r){var a=!Fi();"function"==typeof r?(Oo.get=a?Ze(n):r,Oo.set=S):(Oo.get=r.get?a&&!1!==r.cache?Ze(n):r.get:S,Oo.set=r.set?r.set:S),"production"!==t.env.NODE_ENV&&Oo.set===S&&(Oo.set=function(){_i('Computed property "'+n+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,n,Oo)}function Ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),zi.target&&t.depend(),t.value}}function Ye(e,n){"production"!==t.env.NODE_ENV&&je(e,"methods");var r=e.$options.props;for(var a in n)"production"!==t.env.NODE_ENV&&(null==n[a]&&_i('Method "'+a+'" has an undefined value in the component definition. Did you reference the function correctly?',e),r&&_(r,a)&&_i('Method "'+a+'" has already been defined as a prop.',e),a in e&&N(a)&&_i('Method "'+a+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.')),e[a]=null==n[a]?S:v(n[a],e)}function Xe(e,n){"production"!==t.env.NODE_ENV&&je(e,"watch");for(var r in n){var a=n[r];if(Array.isArray(a))for(var i=0;i=0||n.indexOf(e[a])<0)&&r.push(e[a]);return r}return e}function Ot(e){"production"===t.env.NODE_ENV||this instanceof Ot||_i("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Mt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=h(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Dt(e){e.mixin=function(e){return this.options=K(this.options,e),this}}function At(e){e.cid=0;var n=1;e.extend=function(e){e=e||{};var r=this,a=r.cid,i=e._Ctor||(e._Ctor={});if(i[a])return i[a];var o=e.name||r.options.name;"production"!==t.env.NODE_ENV&&(/^[a-zA-Z][\w-]*$/.test(o)||_i('Invalid component name: "'+o+'". Component names can only contain alphanumeric characters and the hyphen, and must start with a letter.'));var s=function(e){this._init(e)};return s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.cid=n++,s.options=K(r.options,e),s.super=r,s.options.props&&Rt(s),s.options.computed&&It(s),s.extend=r.extend,s.mixin=r.mixin,s.use=r.use,ui.forEach(function(e){s[e]=r[e]}),o&&(s.options.components[o]=s),s.superOptions=r.options,s.extendOptions=e,s.sealedOptions=y({},s.options),i[a]=s,s}}function Rt(e){var t=e.options.props;for(var n in t)$e(e.prototype,"_props",n)}function It(e){var t=e.options.computed;for(var n in t)Qe(e.prototype,n,t[n])}function kt(e){ui.forEach(function(n){e[n]=function(e,r){return r?("production"!==t.env.NODE_ENV&&"component"===n&&mi.isReservedTag(e)&&_i("Do not use built-in or reserved HTML elements as component id: "+e),"component"===n&&c(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===n&&"function"==typeof r&&(r={bind:r,update:r}),this.options[n+"s"][e]=r,r):this.options[n+"s"][e]}})}function Lt(e){return e&&(e.Ctor.options.name||e.tag)}function Pt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Bt(e,t,n){for(var r in e){var a=e[r];if(a){var i=Lt(a.componentOptions);i&&!n(i)&&(a!==t&&Ft(a),e[r]=null)}}}function Ft(e){e&&e.componentInstance.$destroy()}function Ut(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)r=r.componentInstance._vnode,r.data&&(t=Gt(r.data,t));for(;a(n=n.parent);)n.data&&(t=Gt(t,n.data));return qt(t.staticClass,t.class)}function Gt(e,t){return{staticClass:$t(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function qt(e,t){return a(e)||a(t)?$t(e,zt(t)):""}function $t(e,t){return e?t?e+" "+t:e:t||""}function zt(e){return Array.isArray(e)?jt(e):l(e)?Ht(e):"string"==typeof e?e:""}function jt(e){for(var t,n="",r=0,i=e.length;r-1?ss[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ss[e]=/HTMLUnknownElement/.test(t.toString())}function Kt(e){if("string"==typeof e){var n=document.querySelector(e);return n||("production"!==t.env.NODE_ENV&&_i("Cannot find element: "+e),document.createElement("div"))}return e}function Qt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Zt(e,t){return document.createElementNS(ns[e],t)}function Yt(e){return document.createTextNode(e)}function Xt(e){return document.createComment(e)}function Jt(e,t,n){e.insertBefore(t,n)}function en(e,t){e.removeChild(t)}function tn(e,t){e.appendChild(t)}function nn(e){return e.parentNode}function rn(e){return e.nextSibling}function an(e){return e.tagName}function on(e,t){e.textContent=t}function sn(e,t,n){e.setAttribute(t,n)}function ln(e,t){var n=e.data.ref;if(n){var r=e.context,a=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?g(i[n],a):i[n]===a&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(a)<0&&i[n].push(a):i[n]=[a]:i[n]=a}}function cn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&dn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function dn(e,t){if("input"!==e.tag)return!0;var n,r=a(n=e.data)&&a(n=n.attrs)&&n.type,i=a(n=t.data)&&a(n=n.attrs)&&n.type;return r===i||ls(r)&&ls(i)}function un(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,a(i)&&(o[i]=r);return o}function pn(e,t){(e.data.directives||t.data.directives)&&mn(e,t)}function mn(e,t){var n,r,a,i=e===us,o=t===us,s=fn(e.data.directives,e.context),l=fn(t.data.directives,t.context),c=[],d=[];for(n in l)r=s[n],a=l[n],r?(a.oldValue=r.value,_n(a,"update",t,e),a.def&&a.def.componentUpdated&&d.push(a)):(_n(a,"bind",t,e),a.def&&a.def.inserted&&c.push(a));if(c.length){var u=function(){for(var n=0;n=0&&" "===(_=e.charAt(g));g--);_&&vs.test(_)||(d=!0)}}else void 0===i?(f=a+1,i=e.slice(0,a).trim()):t();if(void 0===i?i=e.slice(0,a).trim():0!==f&&t(),o)for(a=0;a=Fo}function Ln(e){return 34===e||39===e}function Pn(e){var t=1;for($o=qo;!kn();)if(e=In(),Ln(e))Bn(e);else if(91===e&&t++,93===e&&t--,0===t){zo=qo;break}}function Bn(e){for(var t=e;!kn()&&(e=In())!==t;);}function Fn(e,n,r){jo=r;var a=n.value,i=n.modifiers,o=e.tag,s=e.attrsMap.type;if("production"!==t.env.NODE_ENV){var l=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];"input"===o&&l&&jo(':\nv-model does not support dynamic input types. Use v-if branches instead.'),"input"===o&&"file"===s&&jo("<"+e.tag+' v-model="'+a+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.')}if(e.component)return Dn(e,a,i),!1;if("select"===o)qn(e,a,i);else if("input"===o&&"checkbox"===s)Un(e,a,i);else if("input"===o&&"radio"===s)Gn(e,a,i);else if("input"===o||"textarea"===o)$n(e,a,i);else{if(!mi.isReservedTag(o))return Dn(e,a,i),!1;"production"!==t.env.NODE_ENV&&jo("<"+e.tag+' v-model="'+a+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.")}return!0}function Un(e,t,n){var r=n&&n.number,a=On(e,"value")||"null",i=On(e,"true-value")||"true",o=On(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+a+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),wn(e,ys,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+a+")":a)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+An(t,"$$c")+"}",null,!0)}function Gn(e,t,n){var r=n&&n.number,a=On(e,"value")||"null";a=r?"_n("+a+")":a,Cn(e,"checked","_q("+t+","+a+")"),wn(e,ys,An(t,a),null,!0)}function qn(e,t,n){var r=n&&n.number,a='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",i="var $$selectedVal = "+a+";";i=i+" "+An(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),wn(e,"change",i,null,!0)}function $n(e,t,n){var r=e.attrsMap.type,a=n||{},i=a.lazy,o=a.number,s=a.trim,l=!i&&"range"!==r,c=i?"change":"range"===r?hs:"input",d="$event.target.value";s&&(d="$event.target.value.trim()"),o&&(d="_n("+d+")");var u=An(t,d);l&&(u="if($event.target.composing)return;"+u),Cn(e,"value","("+t+")"),wn(e,c,u,null,!0),(s||o)&&wn(e,"blur","$forceUpdate()")}function zn(e){var t;a(e[hs])&&(t=wi?"change":"input",e[t]=[].concat(e[hs],e[t]||[]),delete e[hs]),a(e[ys])&&(t=Ri?"click":"change",e[t]=[].concat(e[ys],e[t]||[]),delete e[ys])}function jn(e,t,n,r,a){if(n){var i=t,o=Ho;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&Hn(e,t,r,o)}}Ho.addEventListener(e,t,ki?{capture:r,passive:a}:r)}function Hn(e,t,n,r){(r||Ho).removeEventListener(e,t,n)}function Vn(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},a=e.data.on||{};Ho=t.elm,zn(n),se(n,a,jn,Hn,t.context)}}function Wn(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,o=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};a(l.__ob__)&&(l=t.data.domProps=y({},l));for(n in s)r(l[n])&&(o[n]="");for(n in l)if(i=l[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),i!==s[n]))if("value"===n){o._value=i;var c=r(i)?"":String(i);Kn(o,t,c)&&(o.value=c)}else o[n]=i}}function Kn(e,t,n){return!e.composing&&("option"===t.tag||Qn(e,n)||Zn(e,n))}function Qn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Zn(e,t){var n=e.value,r=e._vModifiers;return a(r)&&r.number?m(n)!==m(t):a(r)&&r.trim?n.trim()!==t.trim():n!==t}function Yn(e){var t=Xn(e.style);return e.staticStyle?y(e.staticStyle,t):t}function Xn(e){return Array.isArray(e)?E(e):"string"==typeof e?xs(e):e}function Jn(e,t){var n,r={};if(t)for(var a=e;a.componentInstance;)a=a.componentInstance._vnode,a.data&&(n=Yn(a.data))&&y(r,n);(n=Yn(e.data))&&y(r,n);for(var i=e;i=i.parent;)i.data&&(n=Yn(i.data))&&y(r,n);return r}function er(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var o,s,l=t.elm,c=i.staticStyle,d=i.normalizedStyle||i.style||{},u=c||d,p=Xn(t.data.style)||{};t.data.normalizedStyle=a(p.__ob__)?y({},p):p;var m=Jn(t,!0);for(s in u)r(m[s])&&Ns(l,s,"");for(s in m)(o=m[s])!==u[s]&&Ns(l,s,null==o?"":o)}}function tr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function nr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function rr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,Ds(e.name||"v")),y(t,e),t}return"string"==typeof e?Ds(e):void 0}}function ar(e){Fs(function(){Fs(e)})}function ir(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),tr(e,t))}function or(e,t){e._transitionClasses&&g(e._transitionClasses,t),nr(e,t)}function sr(e,t,n){var r=lr(e,t),a=r.type,i=r.timeout,o=r.propCount;if(!a)return n();var s=a===Rs?Ls:Bs,l=0,c=function(){e.removeEventListener(s,d),n()},d=function(t){t.target===e&&++l>=o&&c()};setTimeout(function(){l0&&(n=Rs,d=o,u=i.length):t===Is?c>0&&(n=Is,d=c,u=l.length):(d=Math.max(o,c),n=d>0?o>c?Rs:Is:null,u=n?n===Rs?i.length:l.length:0),{type:n,timeout:d,propCount:u,hasTransform:n===Rs&&Us.test(r[ks+"Property"])}}function cr(e,t){for(;e.length explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&_i(" explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function fr(e){return"number"==typeof e&&!isNaN(e)}function gr(e){if(r(e))return!1;var t=e.fns;return a(t)?gr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function _r(e,t){!0!==t.data.show&&ur(t)}function br(e,t,n){vr(e,t,n),(wi||Mi)&&setTimeout(function(){vr(e,t,n)},0)}function vr(e,n,r){var a=n.value,i=e.multiple;if(i&&!Array.isArray(a))return void("production"!==t.env.NODE_ENV&&_i('