vue-giveworks-form
Version:
This plugin provides Vue.js component for the open [http://giveworks.net](Giveworks Platform).
1 lines • 65.1 kB
JavaScript
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("axios")):"function"===typeof define&&define.amd?define(["axios"],t):"object"===typeof exports?exports["GiveworksForm"]=t(require("axios")):e["GiveworksForm"]=t(e["axios"])})("undefined"!==typeof self?self:this,(function(e){return function(e){function t(t){for(var n,r,o=t[0],s=t[1],a=0,u=[];a<o.length;a++)r=o[a],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&u.push(i[r][0]),i[r]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);f&&f(t);while(u.length)u.shift()()}var n={},r={2:0},i={2:0};function o(e){return s.p+"GiveworksForm.umd.min."+({0:"vendors~donation-type~vue-interface",1:"vendors~vue-credit-card-field~vue-interface",3:"contact-info-fieldset",4:"donation-type",5:"employment-info-fieldset",6:"go-to-webinar",7:"petition-type",8:"signup-type",9:"survey-type",10:"vendors~donation-type",11:"vendors~vue-credit-card-field",12:"vendors~vue-interface"}[e]||e)+".js"}function s(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.e=function(e){var t=[],n={1:1,4:1,11:1,12:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var i="css/"+({0:"vendors~donation-type~vue-interface",1:"vendors~vue-credit-card-field~vue-interface",3:"contact-info-fieldset",4:"donation-type",5:"employment-info-fieldset",6:"go-to-webinar",7:"petition-type",8:"signup-type",9:"survey-type",10:"vendors~donation-type",11:"vendors~vue-credit-card-field",12:"vendors~vue-interface"}[e]||e)+"."+{0:"31d6cfe0",1:"b2c407a3",3:"31d6cfe0",4:"6783790e",5:"31d6cfe0",6:"31d6cfe0",7:"31d6cfe0",8:"31d6cfe0",9:"31d6cfe0",10:"31d6cfe0",11:"69901a0a",12:"e064bf35",13:"31d6cfe0"}[e]+".css",o=s.p+i,a=document.getElementsByTagName("link"),u=0;u<a.length;u++){var c=a[u],f=c.getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(f===i||f===o))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){c=l[u],f=c.getAttribute("data-href");if(f===i||f===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var i=t&&t.target&&t.target.src||o,s=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=i,delete r[e],d.parentNode.removeChild(d),n(s)},d.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(d)})).then((function(){r[e]=0})));var a=i[e];if(0!==a)if(a)t.push(a[2]);else{var u=new Promise((function(t,n){a=i[e]=[t,n]}));t.push(a[2]=u);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,s.nc&&f.setAttribute("nonce",s.nc),f.src=o(e);var l=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(d);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",l.name="ChunkLoadError",l.type=r,l.request=o,n[1](l)}i[e]=void 0}};var d=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},s.m=e,s.c=n,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s.oe=function(e){throw console.error(e),e};var a=("undefined"!==typeof self?self:this)["webpackJsonpGiveworksForm"]=("undefined"!==typeof self?self:this)["webpackJsonpGiveworksForm"]||[],u=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var f=u;return s(s.s="fb15")}({"012c":function(e,t,n){(function(t){e.exports=t()})((function(){var e,t=function(e,t,n){for(var r=n,i=0,o=e.length;i<o;i++)r=t(r,e[i],i,e);return r},n=function(e,n){return t(e,(function(e,t,r,i){return n(t,r,i)?e.concat(t):e}),[])},r=function(e,n){return t(e,(function(e,t,r,i){return e.concat(n(t,r,i))}),[])},i=function(e,n){return t(e,(function(e,t,r,i){return!0===e||t===n}),!1)},o=!{toString:null}.propertyIsEnumerable("toString"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);if(!o)return n;for(var r=0,i=s.length;r<i;r++)Object.prototype.hasOwnProperty.call(e,s[r])&&n.push(s[r]);return n},u=function(e){return"[object Array]"===Object.prototype.toString.call(e)},c=function(e){return e<10?"0"+e:e},f=function(){var e=new Date;return e.getUTCFullYear()+"-"+c(e.getUTCMonth()+1)+"-"+c(e.getUTCDate())+"T"+c(e.getUTCHours())+":"+c(e.getUTCMinutes())+":"+c(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},l={map:r,reduce:t,filter:n,includes:i,keys:a,isArray:u,isoDate:f},d={intRange:function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1/0),function(n){return"number"===typeof n&&parseInt(""+n,10)===n&&n>=e&&n<=t}},stringWithLength:function(e){return"string"===typeof e&&!!e.length}},h={},p=l.filter,g=l.reduce,v=l.keys,m=l.isArray,b=l.includes,y=d.intRange,w=d.stringWithLength;function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}h.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:w},appVersion:{defaultValue:function(){return null},message:"should be a string",validate:function(e){return null===e||w(e)}},appType:{defaultValue:function(){return null},message:"should be a string",validate:function(e){return null===e||w(e)}},autoNotify:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},beforeSend:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:function(e){return"function"===typeof e||m(e)&&p(e,(function(e){return"function"===typeof e})).length===e.length}},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }. sessions is optional if autoCaptureSessions=false",validate:function(e,t){return e&&"object"===typeof e&&w(e.notify)&&(!1===t.autoCaptureSessions||w(e.sessions))&&0===p(v(e),(function(e){return!b(["notify","sessions"],e)})).length}},autoCaptureSessions:{defaultValue:function(e,t){return void 0===t.endpoints||!!t.endpoints&&!!t.endpoints.sessions},message:"should be true|false",validate:function(e){return!0===e||!1===e}},notifyReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||m(e)&&p(e,(function(e){return"string"===typeof e})).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"===typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 20},message:"should be a number ≤40",validate:function(e){return y(0,40)(e)}},autoBreadcrumbs:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return"boolean"===typeof e}},user:{defaultValue:function(){return null},message:"(object) user should be an object",validate:function(e){return"object"===typeof e}},metaData:{defaultValue:function(){return null},message:"should be an object",validate:function(e){return"object"===typeof e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&g(["debug","info","warn","error"],(function(t,n){return t&&"function"===typeof e[n]}),!0)}},filters:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(e){return m(e)&&e.length===p(e,(function(e){return"string"===typeof e||e&&"function"===typeof e.test})).length}}},h.mergeDefaults=function(e,t){if(!e||!t)throw new Error("opts and schema objects are required");return g(v(t),(function(n,r){return n[r]=void 0!==e[r]?e[r]:t[r].defaultValue(e[r],e),n}),{})},h.validate=function(e,t){if(!e||!t)throw new Error("opts and schema objects are required");var n=g(v(t),(function(n,r){return t[r].validate(e[r],e)?n:n.concat({key:r,message:t[r].message,value:e[r]})}),[]);return{valid:!n.length,errors:n}};var O=h.schema,j=l.map,k=d.stringWithLength,_={releaseStage:{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"},message:"should be set",validate:k},logger:S({},O.logger,{defaultValue:function(){return"undefined"!==typeof console&&"function"===typeof console.debug?E():void 0}})},E=function(){var e={},t=console["log"];return j(["debug","info","warn","error"],(function(n){var r=console[n];e[n]="function"===typeof r?r.bind(console,"[bugsnag]"):t.bind(console,"[bugsnag]")})),e},$=l.isoDate,x=function(){function e(e,t,n,r){void 0===e&&(e="[anonymous]"),void 0===t&&(t={}),void 0===n&&(n="manual"),void 0===r&&(r=$()),this.type=n,this.name=e,this.metaData=t,this.timestamp=r}var t=e.prototype;return t.toJSON=function(){return{type:this.type,name:this.name,timestamp:this.timestamp,metaData:this.metaData}},e}(),N=x,R=function(e,t,n){var r=e.length,i=0,o=function(){if(i>=r)return n(null,!1);t(e[i],(function(e,t){return e?n(e,!1):!0===t?n(null,!0):(i++,void o())}))};o()},q=function(e){return e.app&&"string"===typeof e.app.releaseStage?e.app.releaseStage:e.config.releaseStage},A=B;function B(e){switch(Object.prototype.toString.call(e)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return e instanceof Error}}var C=A,T=function(e,t){return function(n,r){if("function"!==typeof n)return r(null,!1);try{if(2!==n.length){var i=n(e);return i&&"function"===typeof i.then?i.then((function(t){return setTimeout((function(){return r(null,D(e,t))}),0)}),(function(e){setTimeout((function(){return t(e),r(null,!1)}))})):r(null,D(e,i))}n(e,(function(n,i){if(n)return t(n),r(null,!1);r(null,D(e,i))}))}catch(o){t(o),r(null,!1)}}},D=function(e,t){return e.isIgnored()||!1===t},L={};(function(t,n){"use strict";"function"===typeof e&&e.amd?e("stackframe",[],n):"object"===typeof L?L=n():t.StackFrame=n()})(this,(function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],o=["fileName","functionName","source"],s=["args"],a=r.concat(i,o,s);function u(e){if(e instanceof Object)for(var n=0;n<a.length;n++)e.hasOwnProperty(a[n])&&void 0!==e[a[n]]&&this["set"+t(a[n])](e[a[n]])}u.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof u)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new u(e)}},toString:function(){var t=this.getFunctionName()||"{anonymous}",n="("+(this.getArgs()||[]).join(",")+")",r=this.getFileName()?"@"+this.getFileName():"",i=e(this.getLineNumber())?":"+this.getLineNumber():"",o=e(this.getColumnNumber())?":"+this.getColumnNumber():"";return t+n+r+i+o}};for(var c=0;c<r.length;c++)u.prototype["get"+t(r[c])]=n(r[c]),u.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t)}}(r[c]);for(var f=0;f<i.length;f++)u.prototype["get"+t(i[f])]=n(i[f]),u.prototype["set"+t(i[f])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(i[f]);for(var l=0;l<o.length;l++)u.prototype["get"+t(o[l])]=n(o[l]),u.prototype["set"+t(o[l])]=function(e){return function(t){this[e]=String(t)}}(o[l]);return u}));var P={};(function(t,n){"use strict";"function"===typeof e&&e.amd?e("error-stack-parser",["stackframe"],n):"object"===typeof P?P=n(L):t.ErrorStackParser=n(t.StackFrame)})(this,(function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if("undefined"!==typeof e.stacktrace||"undefined"!==typeof e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/,n=t.exec(e.replace(/[\(\)]/g,""));return[n[1],n[2]||void 0,n[3]||void 0]},parseV8OrIE:function(t){var r=t.stack.split("\n").filter((function(e){return!!e.match(n)}),this);return r.map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/);n=r?n.replace(r[0],""):n;var i=n.split(/\s+/).slice(1),o=this.extractLocation(r?r[1]:i.pop()),s=i.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:s,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){var n=t.stack.split("\n").filter((function(e){return!e.match(r)}),this);return n.map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,s=r.length;o<s;o+=2){var a=n.exec(r[o]);a&&i.push(new e({fileName:a[2],lineNumber:a[1],source:r[o]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),i=[],o=0,s=r.length;o<s;o+=2){var a=n.exec(r[o]);a&&i.push(new e({functionName:a[3]||void 0,fileName:a[2],lineNumber:a[1],source:r[o]}))}return i},parseOpera11:function(n){var r=n.stack.split("\n").filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this);return r.map((function(t){var n,r=t.split("@"),i=this.extractLocation(r.pop()),o=r.shift()||"",s=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var a=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:s,args:a,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)}}}));var M=P,F=function(e){return!!e&&(!!e.stack||!!e.stacktrace||!!e["opera#sourceloc"])&&"string"===typeof(e.stack||e.stacktrace||e["opera#sourceloc"])&&e.stack!==e.name+": "+e.message},V="browserjs",H={};function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}(function(t,n){"use strict";"function"===typeof e&&e.amd?e("stack-generator",["stackframe"],n):"object"===typeof H?H=n(L):t.StackGenerator=n(t.StackFrame)})(this,(function(e){return{backtrace:function(t){var n=[],r=10;"object"===typeof t&&"number"===typeof t.maxStackSize&&(r=t.maxStackSize);var i=arguments.callee;while(i&&n.length<r&&i["arguments"]){for(var o=new Array(i["arguments"].length),s=0;s<o.length;++s)o[s]=i["arguments"][s];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:o})):n.push(new e({args:o}));try{i=i.caller}catch(a){break}}return n}}}));var I=l.reduce,K=l.filter,J=function(){function e(e,t,n,r,i){void 0===n&&(n=[]),void 0===r&&(r=X()),this.__isBugsnagReport=!0,this._ignored=!1,this._handledState=r,this.app=void 0,this.apiKey=void 0,this.breadcrumbs=[],this.context=void 0,this.device=void 0,this.errorClass=G(e,"[no error class]"),this.errorMessage=G(t,"[no error message]"),this.groupingHash=void 0,this.metaData={},this.request=void 0,this.severity=this._handledState.severity,this.stacktrace=I(n,(function(e,t){var n=W(t);try{return"{}"===JSON.stringify(n)?e:e.concat(n)}catch(r){return e}}),[]),this.user=void 0,this.session=void 0,this.originalError=i}var t=e.prototype;return t.ignore=function(){this._ignored=!0},t.isIgnored=function(){return this._ignored},t.updateMetaData=function(e){var t,n;return e?null===(arguments.length<=1?void 0:arguments[1])?this.removeMetaData(e):null===(arguments.length<=2?void 0:arguments[2])?this.removeMetaData(e,arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]):("object"===typeof(arguments.length<=1?void 0:arguments[1])&&(n=arguments.length<=1?void 0:arguments[1]),"string"===typeof(arguments.length<=1?void 0:arguments[1])&&(t={},t[arguments.length<=1?void 0:arguments[1]]=arguments.length<=2?void 0:arguments[2],n=t),n?(this.metaData[e]||(this.metaData[e]={}),this.metaData[e]=U({},this.metaData[e],n),this):this):this},t.removeMetaData=function(e,t){return"string"!==typeof e?this:t?this.metaData[e]?(delete this.metaData[e][t],this):this:(delete this.metaData[e],this)},t.toJSON=function(){return{payloadVersion:"4",exceptions:[{errorClass:this.errorClass,message:this.errorMessage,stacktrace:this.stacktrace,type:V}],severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,breadcrumbs:this.breadcrumbs,context:this.context,user:this.user,metaData:this.metaData,groupingHash:this.groupingHash,request:this.request,session:this.session}},e}(),W=function(e){var t={file:e.fileName,method:z(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber,code:void 0,inProject:void 0};return t.lineNumber>-1&&!t.file&&!t.method&&(t.file="global code"),t},z=function(e){return/^global code$/i.test(e)?"global code":e},X=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},G=function(e,t){return"string"===typeof e&&e?e:t};J.getStacktrace=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),F(e))return M.parse(e).slice(t);try{throw e}catch(r){if(F(r))return M.parse(e).slice(1+n);try{return K(H.backtrace(),(function(e){return-1===(e.functionName||"").indexOf("StackGenerator$$")})).slice(1+n)}catch(r){return[]}}},J.ensureReport=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),e.__isBugsnagReport)return e;try{var r=J.getStacktrace(e,t,1+n);return new J(e.name,e.message,r,void 0,e)}catch(i){return new J(e.name,e.message,[],void 0,e)}};var Z=J,Y=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},Q="object"===typeof window?window:self,ee=0;for(var te in Q)Object.hasOwnProperty.call(Q,te)&&ee++;var ne=navigator.mimeTypes?navigator.mimeTypes.length:0,re=Y((ne+navigator.userAgent.length).toString(36)+ee.toString(36),4),ie=function(){return re},oe=0,se=4,ae=36,ue=Math.pow(ae,se);function ce(){return Y((Math.random()*ue<<0).toString(ae),se)}function fe(){return oe=oe<ue?oe:0,oe++,oe-1}function le(){var e="c",t=(new Date).getTime().toString(ae),n=Y(fe().toString(ae),se),r=ie(),i=ce()+ce();return e+t+n+r+i}le.fingerprint=ie;var de=le,he=l.isoDate,pe=function(){function e(){this.id=de(),this.startedAt=he(),this._handled=0,this._unhandled=0}var t=e.prototype;return t.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},t.trackError=function(e){this[e._handledState.unhandled?"_unhandled":"_handled"]+=1},e}(),ge=pe;function ve(){return ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(this,arguments)}var me=l.map,be=l.includes,ye=l.isArray,we="Usage error.",Se="Bugsnag usage error.",Oe=function(){function e(t){if(!t||!t.name||!t.version||!t.url)throw new Error("`notifier` argument is required");this.notifier=t,this._configured=!1,this._opts={},this.config={},this._delivery={sendSession:function(){},sendReport:function(){}},this._logger={debug:function(){},info:function(){},warn:function(){},error:function(){}},this._plugins={},this._session=null,this.breadcrumbs=[],this.app={},this.context=void 0,this.device=void 0,this.metaData=void 0,this.request=void 0,this.user={},this.BugsnagClient=e,this.BugsnagReport=Z,this.BugsnagBreadcrumb=N,this.BugsnagSession=ge;var n=this,r=this.notify;this.notify=function(){return r.apply(n,arguments)}}var t=e.prototype;return t.setOptions=function(e){this._opts=ve({},this._opts,e)},t.configure=function(e){void 0===e&&(e=h.schema);var t=h.mergeDefaults(this._opts,e),n=h.validate(t,e);if(!0===!n.valid)throw new Error(_e(n.errors));return"function"===typeof t.beforeSend&&(t.beforeSend=[t.beforeSend]),t.appVersion&&(this.app.version=t.appVersion),t.appType&&(this.app.type=t.appType),t.metaData&&(this.metaData=t.metaData),t.user&&(this.user=t.user),t.logger&&this.logger(t.logger),this.config=ve({},this.config,t),this._configured=!0,this},t.use=function(e){if(!this._configured)throw new Error("client not configured");e.configSchema&&this.configure(e.configSchema);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=e.init.apply(e,[this].concat(n));return e.name&&(this._plugins["~"+e.name+"~"]=i),this},t.getPlugin=function(e){return this._plugins["~"+e+"~"]},t.delivery=function(e){return this._delivery=e(this),this},t.logger=function(e,t){return this._logger=e,this},t.sessionDelegate=function(e){return this._sessionDelegate=e,this},t.startSession=function(){return this._sessionDelegate?this._sessionDelegate.startSession(this):(this._logger.warn("No session implementation is installed"),this)},t.leaveBreadcrumb=function(e,t,n,r){if(!this._configured)throw new Error("client not configured");if(e=e||void 0,n="string"===typeof n?n:void 0,r="string"===typeof r?r:void 0,t="object"===typeof t&&null!==t?t:void 0,"string"===typeof e||t){var i=new N(e,t,n,r);return this.breadcrumbs.push(i),this.breadcrumbs.length>this.config.maxBreadcrumbs&&(this.breadcrumbs=this.breadcrumbs.slice(this.breadcrumbs.length-this.config.maxBreadcrumbs)),this}},t.notify=function(e,t,n){var r=this;if(void 0===t&&(t={}),void 0===n&&(n=function(){}),!this._configured)throw new Error("client not configured");var i=q(this),o=je(e,t,this._logger),s=o.err,a=o.errorFramesToSkip,u=o._opts;u&&(t=u),"object"===typeof t&&null!==t||(t={});var c=Z.ensureReport(s,a,2);if(c.app=ve({},{releaseStage:i},c.app,this.app),c.context=c.context||t.context||this.context||void 0,c.device=ve({},c.device,this.device,t.device),c.request=ve({},c.request,this.request,t.request),c.user=ve({},c.user,this.user,t.user),c.metaData=ve({},c.metaData,this.metaData,t.metaData),c.breadcrumbs=this.breadcrumbs.slice(0),this._session&&(this._session.trackError(c),c.session=this._session),void 0!==t.severity&&(c.severity=t.severity,c._handledState.severityReason={type:"userSpecifiedSeverity"}),ye(this.config.notifyReleaseStages)&&!be(this.config.notifyReleaseStages,i))return this._logger.warn("Report not sent due to releaseStage/notifyReleaseStages configuration"),n(null,c);var f=c.severity,l=[].concat(t.beforeSend).concat(this.config.beforeSend),d=function(e){r._logger.error("Error occurred in beforeSend callback, continuing anyway…"),r._logger.error(e)};R(l,T(c,d),(function(e,t){if(e&&d(e),t)return r._logger.debug("Report not sent due to beforeSend callback"),n(null,c);r.config.autoBreadcrumbs&&r.leaveBreadcrumb(c.errorClass,{errorClass:c.errorClass,errorMessage:c.errorMessage,severity:c.severity},"error"),f!==c.severity&&(c._handledState.severityReason={type:"userCallbackSetSeverity"}),r._delivery.sendReport({apiKey:c.apiKey||r.config.apiKey,notifier:r.notifier,events:[c]},(function(e){return n(e,c)}))}))},e}(),je=function(e,t,n){var r,i,o=3,s=function(e){var t=Ee(e);return n.warn(we+" "+t),new Error(Se+" "+t)},a=0;switch(typeof e){case"string":"string"===typeof t?(r=s("string/string"),i={metaData:{notifier:{notifyArgs:[e,t]}}}):(r=new Error(String(e)),a=o);break;case"number":case"boolean":r=new Error(String(e));break;case"function":r=s("function");break;case"object":null!==e&&(C(e)||e.__isBugsnagReport)?r=e:null!==e&&ke(e)?(r=new Error(e.message||e.errorMessage),r.name=e.name||e.errorClass,a=o):r=s(null===e?"null":"unsupported object");break;default:r=s("nothing")}return{err:r,errorFramesToSkip:a,_opts:i}},ke=function(e){return("string"===typeof e.name||"string"===typeof e.errorClass)&&("string"===typeof e.message||"string"===typeof e.errorMessage)},_e=function(e){return"Bugsnag configuration error\n"+me(e,(function(e){return'"'+e.key+'" '+e.message+" \n got "+$e(e.value)})).join("\n\n")},Ee=function(e){return"notify() expected error/opts parameters, got "+e},$e=function(e){return"object"===typeof e?JSON.stringify(e):String(e)},xe=Oe,Ne=function(e,t,n,r){var i=r&&r.filterKeys?r.filterKeys:[],o=r&&r.filterPaths?r.filterPaths:[];return JSON.stringify(Ve(e,i,o),t,n)},Re=20,qe=25e3,Ae=8,Be="...";function Ce(e){return e instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(e))}function Te(e){return"[Throws: "+(e?e.message:"?")+"]"}function De(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1}function Le(e,t){for(var n=0,r=e.length;n<r;n++)if(0===t.indexOf(e[n]))return!0;return!1}function Pe(e,t){for(var n=0,r=e.length;n<r;n++){if("string"===typeof e[n]&&e[n]===t)return!0;if(e[n]&&"function"===typeof e[n].test&&e[n].test(t))return!0}return!1}function Me(e){return"[object Array]"===Object.prototype.toString.call(e)}function Fe(e,t){try{return e[t]}catch(n){return Te(n)}}function Ve(e,t,n){var r=[],i=0;function o(e,s){function a(){return s.length>Ae&&i>qe}if(i++,s.length>Re)return Be;if(a())return Be;if(null===e||"object"!==typeof e)return e;if(De(r,e))return"[Circular]";if(r.push(e),"function"===typeof e.toJSON)try{i--;var u=o(e.toJSON(),s);return r.pop(),u}catch(v){return Te(v)}var c=Ce(e);if(c){i--;var f=o({name:e.name,message:e.message},s);return r.pop(),f}if(Me(e)){for(var l=[],d=0,h=e.length;d<h;d++){if(a()){l.push(Be);break}l.push(o(e[d],s.concat("[]")))}return r.pop(),l}var p={};try{for(var g in e)if(Object.prototype.hasOwnProperty.call(e,g))if(Le(n,s.join("."))&&Pe(t,g))p[g]="[Filtered]";else{if(a()){p[g]=Be;break}p[g]=o(Fe(e,g),s.concat(g))}}catch(m){}return r.pop(),p}return o(e,[])}var He={},Ue=["events.[].app","events.[].metaData","events.[].user","events.[].breadcrumbs","events.[].request","events.[].device"],Ie=["device","app","user"];He.report=function(e,t){var n=Ne(e,null,null,{filterPaths:Ue,filterKeys:t});if(n.length>1e6&&(delete e.events[0].metaData,e.events[0].metaData={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetaData was removed"},n=Ne(e,null,null,{filterPaths:Ue,filterKeys:t}),n.length>1e6))throw new Error("payload exceeded 1MB limit");return n},He.session=function(e,t){var n=Ne(e,null,null,{filterPaths:Ie,filterKeys:t});if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var Ke={},Je=l.isoDate;Ke=function(e,t){return void 0===t&&(t=window),{sendReport:function(n,r){void 0===r&&(r=function(){});var i=We(e.config,"notify","4",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",i),setTimeout((function(){try{o.send(He.report(n,e.config.filters))}catch(t){e._logger.error(t),r(t)}}),0)},sendSession:function(n,r){void 0===r&&(r=function(){});var i=We(e.config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",i),setTimeout((function(){try{o.send(He.session(n,e.config.filters))}catch(t){e._logger.error(t),r(t)}}),0)}}};var We=function(e,t,n,r){return ze(e.endpoints[t],r.location.protocol)+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(Je())},ze=Ke._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},Xe=l.isoDate,Ge=function(e,t){return void 0===t&&(t=window),{sendReport:function(n,r){void 0===r&&(r=function(){});try{var i=e.config.endpoints.notify,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",n.apiKey||e.config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",Xe()),o.send(He.report(n,e.config.filters))}catch(s){e._logger.error(s)}},sendSession:function(n,r){void 0===r&&(r=function(){});try{var i=e.config.endpoints.sessions,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",e.config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",Xe()),o.send(He.session(n,e.config.filters))}catch(s){e._logger.error(s)}}}},Ze={init:function(e,t){void 0===t&&(t=window),e.config.beforeSend.unshift((function(e){e.context||(e.context=t.location.pathname)}))}};function Ye(){return Ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ye.apply(this,arguments)}var Qe=l.isoDate,et={init:function(e,t){void 0===t&&(t=navigator);var n={locale:t.browserLanguage||t.systemLanguage||t.userLanguage||t.language,userAgent:t.userAgent};e.device=Ye({},n,e.device),e.config.beforeSend.unshift((function(e){e.device=Ye({},e.device,{time:Qe()})}))}};function tt(){return tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tt.apply(this,arguments)}var nt={init:function(e,t){void 0===t&&(t=window),e.config.beforeSend.unshift((function(e){e.request&&e.request.url||(e.request=tt({},e.request,{url:t.location.href}))}))}};function rt(){return rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rt.apply(this,arguments)}var it=l.isArray,ot=l.includes,st={init:function(e){return e.sessionDelegate(at)}},at={startSession:function(e){var t=e;t._session=new e.BugsnagSession;var n=q(t);return it(t.config.notifyReleaseStages)&&!ot(t.config.notifyReleaseStages,n)?(t._logger.warn("Session not sent due to releaseStage/notifyReleaseStages configuration"),t):t.config.endpoints.sessions?(t._delivery.sendSession({notifier:t.notifier,device:t.device,app:rt({},{releaseStage:n},t.app),sessions:[{id:t._session.id,startedAt:t._session.startedAt,user:t.user}]}),t):(t._logger.warn("Session not sent due to missing endpoints.sessions configuration"),t)}};function ut(){return ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ut.apply(this,arguments)}var ct={init:function(e){e.config.collectUserIp||e.config.beforeSend.push((function(e){e.user&&"undefined"===typeof e.user.id&&delete e.user.id,e.user=ut({id:"[NOT COLLECTED]"},e.user),e.request=ut({clientIp:"[NOT COLLECTED]"},e.request)}))},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}},ft={},lt=l.map,dt=l.reduce,ht=l.filter;ft.init=function(e){var t=/^dev(elopment)?$/.test(e.config.releaseStage),n=!1===e.config.consoleBreadcrumbsEnabled,r=(!1===e.config.autoBreadcrumbs||t)&&!0!==e.config.consoleBreadcrumbsEnabled;n||r||lt(pt,(function(t){var n=console[t];console[t]=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];e.leaveBreadcrumb("Console output",dt(i,(function(e,t,n){var r="[Unknown value]";try{r=String(t)}catch(i){}if("[object Object]"===r)try{r=JSON.stringify(t)}catch(i){}return e["["+n+"]"]=r,e}),{severity:0===t.indexOf("group")?"log":t}),"log"),n.apply(console,i)},console[t]._restore=function(){console[t]=n}}))},ft.configSchema={consoleBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}};var pt=ht(["log","debug","info","warn","error"],(function(e){return"undefined"!==typeof console&&"function"===typeof console[e]})),gt=l.map,vt=l.reduce,mt=l.filter,bt=200,yt=5e5,wt={init:function(e,t,n){if(void 0===t&&(t=document),void 0===n&&(n=window),e.config.trackInlineScripts){var r=n.location.href,i="",o=!1,s=function(){return t.documentElement.outerHTML};i=s();var a=t.onreadystatechange;t.onreadystatechange=function(){"interactive"===t.readyState&&(i=s(),o=!0);try{a.apply(this,arguments)}catch(e){}};var u=null,c=function(e){u=e},f=function(){var e=t.currentScript||u;if(!e&&!o){var n=t.scripts||t.getElementsByTagName("script");e=n[n.length-1]}return e},l=function(e){o&&i||(i=s());var t=["\x3c!-- DOC START --\x3e"].concat(i.split("\n")),n=e-1,r=Math.max(n-3,0),a=Math.min(n+3,t.length);return vt(t.slice(r,a),(function(e,t,n){return e[r+1+n]=t.length<=bt?t:t.substr(0,bt),e}),{})};e.config.beforeSend.unshift((function(e){e.stacktrace=mt(e.stacktrace,(function(e){return!/__trace__$/.test(e.method)}));var t=e.stacktrace[0];if(!t||!t.file||t.file.replace(/#.*$/,"")===r.replace(/#.*$/,"")){var n=f();if(n){var i=n.innerHTML;e.updateMetaData("script","content",i.length<=yt?i:i.substr(0,yt))}t&&t.lineNumber&&(t.code=l(t.lineNumber))}}));var d=gt(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],(function(e){return St(n,e,(function(e){return p(e,(function(e){return{get:function(){return e[0]},replace:function(t){e[0]=t}}}))}))})),h=d[0];gt(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],(function(e){n[e]&&n[e].prototype&&n[e].prototype.hasOwnProperty&&n[e].prototype.hasOwnProperty("addEventListener")&&(St(n[e].prototype,"addEventListener",(function(e){return p(e,Ot)})),St(n[e].prototype,"removeEventListener",(function(e){return p(e,Ot,!0)})))}))}function p(e,t,n){return void 0===n&&(n=!1),function(){var r=Array.prototype.slice.call(arguments);try{var i=t(r),o=i.get();if(n&&e.apply(this,r),"function"!==typeof o)return e.apply(this,r);if(o.__trace__)i.replace(o.__trace__);else{var s=f();o.__trace__=function(){c(s),h((function(){c(null)}),0);var e=o.apply(this,arguments);return c(null),e},o.__trace__.__trace__=o.__trace__,i.replace(o.__trace__)}}catch(a){}if(e.apply)return e.apply(this,r);switch(r.length){case 1:return e(r[0]);case 2:return e(r[0],r[1]);default:return e()}}}},configSchema:{trackInlineScripts:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}};function St(e,t,n){var r=e[t];if(!r)return r;var i=n(r);return e[t]=i,r}function Ot(e){var t=!!e[1]&&"function"===typeof e[1].handleEvent;return{get:function(){return t?e[1].handleEvent:e[1]},replace:function(n){t?e[1].handleEvent=n:e[1]=n}}}var jt={init:function(e,t){if(void 0===t&&(t=window),"addEventListener"in t){var n=!1===e.config.interactionBreadcrumbsEnabled,r=!1===e.config.autoBreadcrumbs&&!0!==e.config.interactionBreadcrumbsEnabled;n||r||t.addEventListener("click",(function(n){var r,i;try{r=kt(n.target),i=_t(n.target,t)}catch(o){r="[hidden]",i="[hidden]",e._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}e.leaveBreadcrumb("UI click",{targetText:r,targetSelector:i},"user")}),!0)}},configSchema:{interactionBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}}},kt=function(e){var t=e.textContent||e.innerText||"";return t||"submit"!==e.type&&"button"!==e.type||(t=e.value),t=t.replace(/^\s+|\s+$/g,""),Et(t,140)};function _t(e,t){var n=[e.tagName];if(e.id&&n.push("#"+e.id),e.className&&e.className.length&&n.push("."+e.className.split(" ").join(".")),!t.document.querySelectorAll||!Array.prototype.indexOf)return n.join("");try{if(1===t.document.querySelectorAll(n.join("")).length)return n.join("")}catch(i){return n.join("")}if(e.parentNode.childNodes.length>1){var r=Array.prototype.indexOf.call(e.parentNode.childNodes,e)+1;n.push(":nth-child("+r+")")}return 1===t.document.querySelectorAll(n.join("")).length?n.join(""):e.parentNode?_t(e.parentNode,t)+" > "+n.join(""):n.join("")}function Et(e,t){var n="(...)";return e&&e.length<=t?e:e.slice(0,t-n.length)+n}var $t,xt,Nt,Rt={init:function(e,t){if(void 0===t&&(t=window),"addEventListener"in t){var n=!1===e.config.navigationBreadcrumbsEnabled,r=!1===e.config.autoBreadcrumbs&&!0!==e.config.navigationBreadcrumbsEnabled;if(!n&&!r){var i=function(t){return function(){return e.leaveBreadcrumb(t,{},"navigation")}};t.addEventListener("pagehide",i("Page hidden"),!0),t.addEventListener("pageshow",i("Page shown"),!0),t.addEventListener("load",i("Page loaded"),!0),t.document.addEventListener("DOMContentLoaded",i("DOMContentLoaded"),!0),t.addEventListener("load",(function(){return t.addEventListener("popstate",i("Navigated back"),!0)})),t.addEventListener("hashchange",(function(n){var r=n.oldURL?{from:qt(n.oldURL,t),to:qt(n.newURL,t),state:Ct(t)}:{to:qt(t.location.href,t)};e.leaveBreadcrumb("Hash changed",r,"navigation")}),!0),t.history.replaceState&&Bt(e,t.history,"replaceState",t),t.history.pushState&&Bt(e,t.history,"pushState",t),e.leaveBreadcrumb("Bugsnag loaded",{},"navigation")}}},configSchema:{navigationBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}}},qt=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},At=function(e,t,n,r){var i=qt(e.location.href,e);return{title:n,state:t,prevState:Ct(e),to:r||i,from:i}},Bt=function(e,t,n,r){var i=t[n];t[n]=function(o,s,a){e.leaveBreadcrumb("History "+n,At(r,o,s,a),"navigation"),"function"===typeof e.refresh&&e.refresh(),e.config.autoCaptureSessions&&e.startSession(),i.apply(t,[o,s].concat(void 0!==a?a:[]))}},Ct=function(e){try{return e.history.state}catch(t){}},Tt={},Dt="request",Lt="BS~~S",Pt="BS~~U",Mt="BS~~M",Ft=l.includes,Vt=function(){return[$t.config.endpoints.notify,$t.config.endpoints.sessions]};Tt.name="networkBreadcrumbs",Tt.init=function(e,t,n){void 0===t&&(t=Vt),void 0===n&&(n=window);var r=!1===e.config.networkBreadcrumbsEnabled,i=!1===e.config.autoBreadcrumbs&&!0!==e.config.networkBreadcrumbsEnabled;r||i||($t=e,xt=n,Nt=t,Ht(),Kt())},Tt.configSchema={networkBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}};var Ht=function(){if("addEventListener"in xt.XMLHttpRequest.prototype){var e=xt.XMLHttpRequest.prototype.open;xt.XMLHttpRequest.prototype.open=function(t,n){this[Pt]=n,this[Mt]=t,this[Lt]&&(this.removeEventListener("load",Ut),this.removeEventListener("error",It)),this.addEventListener("load",Ut),this.addEventListener("error",It),this[Lt]=!0,e.apply(this,arguments)}}};function Ut(){if(!Ft(Nt(),this[Pt])){var e={status:this.status,request:this[Mt]+" "+this[Pt]};this.status>=400?$t.leaveBreadcrumb("XMLHttpRequest failed",e,Dt):$t.leaveBreadcrumb("XMLHttpRequest succeeded",e,Dt)}}function It(){Ft(Nt,this[Pt])||$t.leaveBreadcrumb("XMLHttpRequest error",{request:this[Mt]+" "+this[Pt]},Dt)}var Kt=function(){if("fetch"in xt&&!xt.fetch.polyfill){var e=xt.fetch;xt.fetch=function(){var t,n=arguments,r=arguments[0],i=arguments[1],o=null;return r&&"object"===typeof r?(o=r.url,i&&"method"in i?t=i.method:r&&"method"in r&&(t=r.method)):(o=r,i&&"method"in i&&(t=i.method)),void 0===t&&(t="GET"),new Promise((function(r,i){e.apply(void 0,n).then((function(e){Jt(e,t,o),r(e)}))["catch"]((function(e){Wt(t,o),i(e)}))}))}}},Jt=function(e,t,n){var r={status:e.status,request:t+" "+n};e.status>=400?$t.leaveBreadcrumb("fetch() failed",r,Dt):$t.leaveBreadcrumb("fetch() succeeded",r,Dt)},Wt=function(e,t){$t.leaveBreadcrumb("fetch() error",{request:e+" "+t},Dt)},zt=d.intRange,Xt={init:function(e){var t=0;e.config.beforeSend.push((function(n){if(t>=e.config.maxEvents)return n.ignore();t++})),e.refresh=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return zt(1,100)(e)}}}},Gt={};function Zt(){return Zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zt.apply(this,arguments)}var Yt=l.map;Gt={init:function(e){e.config.beforeSend.push((function(e){e.stacktrace=Yt(e.stacktrace,(function(e){return Zt({},e,{file:Qt(e.file)})}))}))}};var Qt=Gt._strip=function(e){return"string"===typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},en={init:function(e,t){function n(t,n,i,o,s){if(0===i&&/Script error\.?/.test(t))e._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var a,u={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(s)s.name&&s.message?a=new e.BugsnagReport(s.name,s.message,tn(e.BugsnagReport.getStacktrace(s),n,i,o),u,s):(a=new e.BugsnagReport("window.onerror",String(s),tn(e.BugsnagReport.getStacktrace(s,1),n,i,o),u,s),a.updateMetaData("window onerror",{error:s}));else if("object"!==typeof t||null===t||n&&"string"===typeof n||i||o||s)a=new e.BugsnagReport("window.onerror",String(t),tn(e.BugsnagReport.getStacktrace(s,1),n,i,o),u,t),a.updateMetaData("window onerror",{event:t});else{var c=t.type?"Event: "+t.type:"window.onerror",f=t.message||t.detail||"";a=new e.BugsnagReport(c,f,e.BugsnagReport.getStacktrace(new Error,1).slice(1),u,t),a.updateMetaData("window onerror",{event:t,extraParameters:n})}e.notify(a)}"function"===typeof r&&r.apply(this,arguments)}void 0===t&&(t=window);var r=t.onerror;t.onerror=n}},tn=function(e,t,n,r){var i=e[0];return i?(i.fileName||"string"!==typeof t||i.setFileName(t),!i.lineNumber&&nn(n)&&i.setLineNumber(n),i.columnNumber||(nn(r)?i.setColumnNumber(r):window.event&&nn(window.event.errorCharacter)&&i.setColumnNumber(window.event.errorCharacter)),e):e},nn=function(e){return"number"===typeof e&&"NaN"!==String.call(e)},rn={},on=l.reduce;rn.init=function(e,t){void 0===t&&(t=window);var n=function(t){var n=t.reason,r=!1;try{t.detail&&t.detail.reason&&(n=t.detail.reason,r=!0)}catch(a){}var i,o={severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}};if(n&&F(n))i=new e.BugsnagReport(n.name,n.message,M.parse(n),o,n),r&&(i.stacktrace=on(i.stacktrace,an(n),[]));else{var s='Rejection reason was not an Error. See "Promise" tab for more detail.';i=new e.BugsnagReport(n&&n.name?n.name:"UnhandledRejection",n&&n.message?n.message:s,[],o,n),i.updateMetaData("promise","rejection reason",sn(n))}e.notify(i)};"addEventListener"in t?t.addEventListener("unhandledrejection",n):t.onunhandledrejection=function(e,t){n({detail:{reason:e,promise:t}})},n};var sn=function(e){return null===e||void 0===e?"undefined (or null)":C(e)?(t={},t[Object.prototype.toString.call(e)]={name:e.name,message:e.message,code:e.code,stack:e.stack},t):e;var t},an=function(e){return function(t,n){return n.file===e.toString()?t:(n.method&&(n.method=n.method.replace(/^\s+/,"")),t.concat(n))}},un={};function cn(){return cn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cn.apply(this,arguments)}var fn="Bugsnag JavaScript",ln="6.5.2",dn="https://github.com/bugsnag/bugsnag-js",hn=cn({},h.schema,_);return un=function(e){"string"===typeof e&&(e={apiKey:e});var t="";e.endpoints&&e.endpoints.notify&&!e.endpoints.sessions&&(t+="notify endpoint is set but sessions endpoint is not. No sessions will be sent.");var n=new xe({name:fn,version:ln,url:dn});return n.setOptions(e),n.delivery(window.XDomainRequest?Ke:Ge),n.configure(hn),t&&n._logger.warn(t),n.use(et),n.use(Ze),n.use(nt),n.use(Xt),n.use(st),n.use(ct),n.use(Gt),!1!==n.config.autoNotify&&(n.use(en),n.use(rn)),n.use(Rt),n.use(jt),n.use(Tt),n.use(ft),n.use(wt),n._logger.debug("Loaded!"),n.config.autoCaptureSessions?n.startSession():n},un.Bugsnag={Client:xe,Report:Z,Session:ge,Breadcrumb:N},un["default"]=un,un}))},"0f2b":function(e,t,n){"use strict";t["a"]=function(e,t="px"){return isFinite(e)?e+t:e}},1757:function(e,t,n){"use strict";var r=n("cebe"),i=n.n(r),o=n("ca14");class s{constructor(e){this.setAttribute(e)}getAttribute(e){return this.hasOwnProperty(e)?this[e]:null}getAttributes(){const e={};return Object.getOwnPropertyNames(this).forEach(t=>{e[t]=this.getAttribute(t)}),e}getPublicAttributes(){return Object.keys(this.getAttributes()).filter(e=>!e.match(/^\$/)).reduce((e,t)=>(e[t]=this.getAttribute(t),e),{})}setAttribute(e,t){Object(o["k"])(e)?this.setAttributes(e):this[e]=t}setAttributes(e){for(const t in e)this.setAttribute(t,e[t])}}class a extends s{constructor(e){e instanceof Error&&(e=Object.assign({error:e},e.response)),super(Object(o["e"])({date:new Date},e))}get data(){return this.$data}set data(e){this.$data=e}get error(){return this.$error}set error(e){this.$error=e}get request(){return this.$request}set request(e){this.$request=e}get date(){return this.$date}set date(e){this.$date=e}get success(){return this.status>=200&&this.status<300}get failed(){return!this.success}}const u={transformRequest:[],transformResponse:[]};class c extends s{constructor(e,t,n){super({options:{},data:{},headers:{},params:{},url:t,method:e}),Object(o["k"])(n)&&this.setAttribute(n)}send(e){return this.sentAt=new Date,this.setAttributes(e),new Promise((e,t)=>{i()(this.options).then(t=>e(this.response=new a(t)),e=>t(this.response=new a(e)))})}set cancel(e){this.$cancel=e}get cancel(){return this.$cancel||(()=>{throw new Error("The request has not been sent yet.")})}get options(){const e=Object(o["o"])(u,e=>"array"===typeof e?!!e.length:"object"===typeof e?!!Object.entries(e).length:!!e),t=Object(o["c"])({cancelToken:new i.a.CancelToken(e=>(this.cancel=e,e))},e,this.getPublicAttributes());return this.data instanceof FormData&&(t.data=this.data),t}set options(e){this.setAttribute(e)}get response(){return this.$response}set response(e){this.$response=e}get error(){return this.$error}set error(e){this.$error=e}get passed(){return!!this.response&&!this.error}get failed(){return!!this.response&&!!this.error}static get transform(){return{request:this.transformRequest,response:this.transformResponse}}static get defaults(){return u}static set defaults(e){Object.assign(u,e)}static transformRequest(e){u.transformRequest.push(e)}static transformResponse(e){u.transformResponse.push(e)}static get(e,t){return this.make("get",e).send(t)}static post(e,t){return this.make("post",e,t).send()}static put(e,t){return this.make("put",e,t).send()}static patch(e,t){return this.make("path",e,t).send()}static delete(e,t){return this.make("delete",e,t).send()}static make(e,t,n){return new this(e,t,n)}}t["a"]=c},"1a98":function(e,t,n){"use strict";function r(e){return"number"===typeof e||!!e&&"[object Number]"===e.toString()}n.d(t,"a",(function(){return r}))},2760:function(e,t,n){"use strict";n("599a")},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(e,t){return u.call(t),f(e,t)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},"353a":function(e,t,n){e.exports=n("012c")},5471:function(e,t,n){"use strict";function r(e){return e&&e.replace?e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").replace(/_/g,"-").toLowerCase():null}n.d(t,"a",(function(){return r}))},"599a":function(e,t,n){},"650a":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("ff01");function i(e){return Object(r["a"])(e)?parseFloat(e):e}},"6f37":function(e,t,n){"use strict";function r(e){return"undefined"===typeof e}n.d(t,"a",(function(){return r}))},"850f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("1757"),i=n("ca14");class o{constructor