vue-giveworks-form
Version:
This plugin provides Vue.js component for the open [http://giveworks.net](Giveworks Platform).
7 lines • 134 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-31efe3b5"],{"00c4":function(t,e,n){"use strict";n("d657")},"012c":function(t,e,n){(function(e){t.exports=e()})((function(){var t,e=function(t,e,n){for(var r=n,i=0,a=t.length;i<a;i++)r=e(r,t[i],i,t);return r},n=function(t,n){return e(t,(function(t,e,r,i){return n(e,r,i)?t.concat(e):t}),[])},r=function(t,n){return e(t,(function(t,e,r,i){return t.concat(n(e,r,i))}),[])},i=function(t,n){return e(t,(function(t,e,r,i){return!0===t||e===n}),!1)},a=!{toString:null}.propertyIsEnumerable("toString"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(t){var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);if(!a)return n;for(var r=0,i=o.length;r<i;r++)Object.prototype.hasOwnProperty.call(t,o[r])&&n.push(o[r]);return n},c=function(t){return"[object Array]"===Object.prototype.toString.call(t)},u=function(t){return t<10?"0"+t:t},l=function(){var t=new Date;return t.getUTCFullYear()+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},f={map:r,reduce:e,filter:n,includes:i,keys:s,isArray:c,isoDate:l},d={intRange:function(t,e){return void 0===t&&(t=1),void 0===e&&(e=1/0),function(n){return"number"===typeof n&&parseInt(""+n,10)===n&&n>=t&&n<=e}},stringWithLength:function(t){return"string"===typeof t&&!!t.length}},p={},h=f.filter,m=f.reduce,g=f.keys,v=f.isArray,b=f.includes,y=d.intRange,w=d.stringWithLength;function x(){return x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},x.apply(this,arguments)}p.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:w},appVersion:{defaultValue:function(){return null},message:"should be a string",validate:function(t){return null===t||w(t)}},appType:{defaultValue:function(){return null},message:"should be a string",validate:function(t){return null===t||w(t)}},autoNotify:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}},beforeSend:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:function(t){return"function"===typeof t||v(t)&&h(t,(function(t){return"function"===typeof t})).length===t.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(t,e){return t&&"object"===typeof t&&w(t.notify)&&(!1===e.autoCaptureSessions||w(t.sessions))&&0===h(g(t),(function(t){return!b(["notify","sessions"],t)})).length}},autoCaptureSessions:{defaultValue:function(t,e){return void 0===e.endpoints||!!e.endpoints&&!!e.endpoints.sessions},message:"should be true|false",validate:function(t){return!0===t||!1===t}},notifyReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(t){return null===t||v(t)&&h(t,(function(t){return"string"===typeof t})).length===t.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(t){return"string"===typeof t&&t.length}},maxBreadcrumbs:{defaultValue:function(){return 20},message:"should be a number ≤40",validate:function(t){return y(0,40)(t)}},autoBreadcrumbs:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return"boolean"===typeof t}},user:{defaultValue:function(){return null},message:"(object) user should be an object",validate:function(t){return"object"===typeof t}},metaData:{defaultValue:function(){return null},message:"should be an object",validate:function(t){return"object"===typeof t}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(t){return!t||t&&m(["debug","info","warn","error"],(function(e,n){return e&&"function"===typeof t[n]}),!0)}},filters:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(t){return v(t)&&t.length===h(t,(function(t){return"string"===typeof t||t&&"function"===typeof t.test})).length}}},p.mergeDefaults=function(t,e){if(!t||!e)throw new Error("opts and schema objects are required");return m(g(e),(function(n,r){return n[r]=void 0!==t[r]?t[r]:e[r].defaultValue(t[r],t),n}),{})},p.validate=function(t,e){if(!t||!e)throw new Error("opts and schema objects are required");var n=m(g(e),(function(n,r){return e[r].validate(t[r],t)?n:n.concat({key:r,message:e[r].message,value:t[r]})}),[]);return{valid:!n.length,errors:n}};var k=p.schema,O=f.map,S=d.stringWithLength,j={releaseStage:{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"},message:"should be set",validate:S},logger:x({},k.logger,{defaultValue:function(){return"undefined"!==typeof console&&"function"===typeof console.debug?C():void 0}})},C=function(){var t={},e=console["log"];return O(["debug","info","warn","error"],(function(n){var r=console[n];t[n]="function"===typeof r?r.bind(console,"[bugsnag]"):e.bind(console,"[bugsnag]")})),t},_=f.isoDate,E=function(){function t(t,e,n,r){void 0===t&&(t="[anonymous]"),void 0===e&&(e={}),void 0===n&&(n="manual"),void 0===r&&(r=_()),this.type=n,this.name=t,this.metaData=e,this.timestamp=r}var e=t.prototype;return e.toJSON=function(){return{type:this.type,name:this.name,timestamp:this.timestamp,metaData:this.metaData}},t}(),A=E,N=function(t,e,n){var r=t.length,i=0,a=function(){if(i>=r)return n(null,!1);e(t[i],(function(t,e){return t?n(t,!1):!0===e?n(null,!0):(i++,void a())}))};a()},$=function(t){return t.app&&"string"===typeof t.app.releaseStage?t.app.releaseStage:t.config.releaseStage},B=R;function R(t){switch(Object.prototype.toString.call(t)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return t instanceof Error}}var P=B,T=function(t,e){return function(n,r){if("function"!==typeof n)return r(null,!1);try{if(2!==n.length){var i=n(t);return i&&"function"===typeof i.then?i.then((function(e){return setTimeout((function(){return r(null,L(t,e))}),0)}),(function(t){setTimeout((function(){return e(t),r(null,!1)}))})):r(null,L(t,i))}n(t,(function(n,i){if(n)return e(n),r(null,!1);r(null,L(t,i))}))}catch(a){e(a),r(null,!1)}}},L=function(t,e){return t.isIgnored()||!1===e},q={};(function(e,n){"use strict";"function"===typeof t&&t.amd?t("stackframe",[],n):"object"===typeof q?q=n():e.StackFrame=n()})(this,(function(){"use strict";function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}function e(t){return t.charAt(0).toUpperCase()+t.substring(1)}function n(t){return function(){return this[t]}}var r=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],a=["fileName","functionName","source"],o=["args"],s=r.concat(i,a,o);function c(t){if(t instanceof Object)for(var n=0;n<s.length;n++)t.hasOwnProperty(s[n])&&void 0!==t[s[n]]&&this["set"+e(s[n])](t[s[n]])}c.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof c)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new c(t)}},toString:function(){var e=this.getFunctionName()||"{anonymous}",n="("+(this.getArgs()||[]).join(",")+")",r=this.getFileName()?"@"+this.getFileName():"",i=t(this.getLineNumber())?":"+this.getLineNumber():"",a=t(this.getColumnNumber())?":"+this.getColumnNumber():"";return e+n+r+i+a}};for(var u=0;u<r.length;u++)c.prototype["get"+e(r[u])]=n(r[u]),c.prototype["set"+e(r[u])]=function(t){return function(e){this[t]=Boolean(e)}}(r[u]);for(var l=0;l<i.length;l++)c.prototype["get"+e(i[l])]=n(i[l]),c.prototype["set"+e(i[l])]=function(e){return function(n){if(!t(n))throw new TypeError(e+" must be a Number");this[e]=Number(n)}}(i[l]);for(var f=0;f<a.length;f++)c.prototype["get"+e(a[f])]=n(a[f]),c.prototype["set"+e(a[f])]=function(t){return function(e){this[t]=String(e)}}(a[f]);return c}));var I={};(function(e,n){"use strict";"function"===typeof t&&t.amd?t("error-stack-parser",["stackframe"],n):"object"===typeof I?I=n(q):e.ErrorStackParser=n(e.StackFrame)})(this,(function(t){"use strict";var e=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(t){if("undefined"!==typeof t.stacktrace||"undefined"!==typeof t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/,n=e.exec(t.replace(/[\(\)]/g,""));return[n[1],n[2]||void 0,n[3]||void 0]},parseV8OrIE:function(e){var r=e.stack.split("\n").filter((function(t){return!!t.match(n)}),this);return r.map((function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=e.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),a=this.extractLocation(r?r[1]:i.pop()),o=i.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(a[0])>-1?void 0:a[0];return new t({functionName:o,fileName:s,lineNumber:a[1],columnNumber:a[2],source:e})}),this)},parseFFOrSafari:function(e){var n=e.stack.split("\n").filter((function(t){return!t.match(r)}),this);return n.map((function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(n),i=r&&r[1]?r[1]:void 0,a=this.extractLocation(e.replace(n,""));return new t({functionName:i,fileName:a[0],lineNumber:a[1],columnNumber:a[2],source:e})}),this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),i=[],a=2,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new t({fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),i=[],a=0,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new t({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera11:function(n){var r=n.stack.split("\n").filter((function(t){return!!t.match(e)&&!t.match(/^Error created at/)}),this);return r.map((function(e){var n,r=e.split("@"),i=this.extractLocation(r.pop()),a=r.shift()||"",o=a.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;a.match(/\(([^\)]*)\)/)&&(n=a.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t({functionName:o,args:s,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})}),this)}}}));var D=I,z=function(t){return!!t&&(!!t.stack||!!t.stacktrace||!!t["opera#sourceloc"])&&"string"===typeof(t.stack||t.stacktrace||t["opera#sourceloc"])&&t.stack!==t.name+": "+t.message},M="browserjs",F={};function H(){return H=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},H.apply(this,arguments)}(function(e,n){"use strict";"function"===typeof t&&t.amd?t("stack-generator",["stackframe"],n):"object"===typeof F?F=n(q):e.StackGenerator=n(e.StackFrame)})(this,(function(t){return{backtrace:function(e){var n=[],r=10;"object"===typeof e&&"number"===typeof e.maxStackSize&&(r=e.maxStackSize);var i=arguments.callee;while(i&&n.length<r&&i["arguments"]){for(var a=new Array(i["arguments"].length),o=0;o<a.length;++o)a[o]=i["arguments"][o];/function(?:\s+([\w$]+))+\s*\(/.test(i.toString())?n.push(new t({functionName:RegExp.$1||void 0,args:a})):n.push(new t({args:a}));try{i=i.caller}catch(s){break}}return n}}}));var U=f.reduce,V=f.filter,K=function(){function t(t,e,n,r,i){void 0===n&&(n=[]),void 0===r&&(r=J()),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=Y(t,"[no error class]"),this.errorMessage=Y(e,"[no error message]"),this.groupingHash=void 0,this.metaData={},this.request=void 0,this.severity=this._handledState.severity,this.stacktrace=U(n,(function(t,e){var n=W(e);try{return"{}"===JSON.stringify(n)?t:t.concat(n)}catch(r){return t}}),[]),this.user=void 0,this.session=void 0,this.originalError=i}var e=t.prototype;return e.ignore=function(){this._ignored=!0},e.isIgnored=function(){return this._ignored},e.updateMetaData=function(t){var e,n;return t?null===(arguments.length<=1?void 0:arguments[1])?this.removeMetaData(t):null===(arguments.length<=2?void 0:arguments[2])?this.removeMetaData(t,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])&&(e={},e[arguments.length<=1?void 0:arguments[1]]=arguments.length<=2?void 0:arguments[2],n=e),n?(this.metaData[t]||(this.metaData[t]={}),this.metaData[t]=H({},this.metaData[t],n),this):this):this},e.removeMetaData=function(t,e){return"string"!==typeof t?this:e?this.metaData[t]?(delete this.metaData[t][e],this):this:(delete this.metaData[t],this)},e.toJSON=function(){return{payloadVersion:"4",exceptions:[{errorClass:this.errorClass,message:this.errorMessage,stacktrace:this.stacktrace,type:M}],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}},t}(),W=function(t){var e={file:t.fileName,method:X(t.functionName),lineNumber:t.lineNumber,columnNumber:t.columnNumber,code:void 0,inProject:void 0};return e.lineNumber>-1&&!e.file&&!e.method&&(e.file="global code"),e},X=function(t){return/^global code$/i.test(t)?"global code":t},J=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},Y=function(t,e){return"string"===typeof t&&t?t:e};K.getStacktrace=function(t,e,n){if(void 0===e&&(e=0),void 0===n&&(n=0),z(t))return D.parse(t).slice(e);try{throw t}catch(r){if(z(r))return D.parse(t).slice(1+n);try{return V(F.backtrace(),(function(t){return-1===(t.functionName||"").indexOf("StackGenerator$$")})).slice(1+n)}catch(r){return[]}}},K.ensureReport=function(t,e,n){if(void 0===e&&(e=0),void 0===n&&(n=0),t.__isBugsnagReport)return t;try{var r=K.getStacktrace(t,e,1+n);return new K(t.name,t.message,r,void 0,t)}catch(i){return new K(t.name,t.message,[],void 0,t)}};var G=K,Z=function(t,e){var n="000000000"+t;return n.substr(n.length-e)},Q="object"===typeof window?window:self,tt=0;for(var et in Q)Object.hasOwnProperty.call(Q,et)&&tt++;var nt=navigator.mimeTypes?navigator.mimeTypes.length:0,rt=Z((nt+navigator.userAgent.length).toString(36)+tt.toString(36),4),it=function(){return rt},at=0,ot=4,st=36,ct=Math.pow(st,ot);function ut(){return Z((Math.random()*ct<<0).toString(st),ot)}function lt(){return at=at<ct?at:0,at++,at-1}function ft(){var t="c",e=(new Date).getTime().toString(st),n=Z(lt().toString(st),ot),r=it(),i=ut()+ut();return t+e+n+r+i}ft.fingerprint=it;var dt=ft,pt=f.isoDate,ht=function(){function t(){this.id=dt(),this.startedAt=pt(),this._handled=0,this._unhandled=0}var e=t.prototype;return e.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},e.trackError=function(t){this[t._handledState.unhandled?"_unhandled":"_handled"]+=1},t}(),mt=ht;function gt(){return gt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},gt.apply(this,arguments)}var vt=f.map,bt=f.includes,yt=f.isArray,wt="Usage error.",xt="Bugsnag usage error.",kt=function(){function t(e){if(!e||!e.name||!e.version||!e.url)throw new Error("`notifier` argument is required");this.notifier=e,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=t,this.BugsnagReport=G,this.BugsnagBreadcrumb=A,this.BugsnagSession=mt;var n=this,r=this.notify;this.notify=function(){return r.apply(n,arguments)}}var e=t.prototype;return e.setOptions=function(t){this._opts=gt({},this._opts,t)},e.configure=function(t){void 0===t&&(t=p.schema);var e=p.mergeDefaults(this._opts,t),n=p.validate(e,t);if(!0===!n.valid)throw new Error(jt(n.errors));return"function"===typeof e.beforeSend&&(e.beforeSend=[e.beforeSend]),e.appVersion&&(this.app.version=e.appVersion),e.appType&&(this.app.type=e.appType),e.metaData&&(this.metaData=e.metaData),e.user&&(this.user=e.user),e.logger&&this.logger(e.logger),this.config=gt({},this.config,e),this._configured=!0,this},e.use=function(t){if(!this._configured)throw new Error("client not configured");t.configSchema&&this.configure(t.configSchema);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=t.init.apply(t,[this].concat(n));return t.name&&(this._plugins["~"+t.name+"~"]=i),this},e.getPlugin=function(t){return this._plugins["~"+t+"~"]},e.delivery=function(t){return this._delivery=t(this),this},e.logger=function(t,e){return this._logger=t,this},e.sessionDelegate=function(t){return this._sessionDelegate=t,this},e.startSession=function(){return this._sessionDelegate?this._sessionDelegate.startSession(this):(this._logger.warn("No session implementation is installed"),this)},e.leaveBreadcrumb=function(t,e,n,r){if(!this._configured)throw new Error("client not configured");if(t=t||void 0,n="string"===typeof n?n:void 0,r="string"===typeof r?r:void 0,e="object"===typeof e&&null!==e?e:void 0,"string"===typeof t||e){var i=new A(t,e,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}},e.notify=function(t,e,n){var r=this;if(void 0===e&&(e={}),void 0===n&&(n=function(){}),!this._configured)throw new Error("client not configured");var i=$(this),a=Ot(t,e,this._logger),o=a.err,s=a.errorFramesToSkip,c=a._opts;c&&(e=c),"object"===typeof e&&null!==e||(e={});var u=G.ensureReport(o,s,2);if(u.app=gt({},{releaseStage:i},u.app,this.app),u.context=u.context||e.context||this.context||void 0,u.device=gt({},u.device,this.device,e.device),u.request=gt({},u.request,this.request,e.request),u.user=gt({},u.user,this.user,e.user),u.metaData=gt({},u.metaData,this.metaData,e.metaData),u.breadcrumbs=this.breadcrumbs.slice(0),this._session&&(this._session.trackError(u),u.session=this._session),void 0!==e.severity&&(u.severity=e.severity,u._handledState.severityReason={type:"userSpecifiedSeverity"}),yt(this.config.notifyReleaseStages)&&!bt(this.config.notifyReleaseStages,i))return this._logger.warn("Report not sent due to releaseStage/notifyReleaseStages configuration"),n(null,u);var l=u.severity,f=[].concat(e.beforeSend).concat(this.config.beforeSend),d=function(t){r._logger.error("Error occurred in beforeSend callback, continuing anyway…"),r._logger.error(t)};N(f,T(u,d),(function(t,e){if(t&&d(t),e)return r._logger.debug("Report not sent due to beforeSend callback"),n(null,u);r.config.autoBreadcrumbs&&r.leaveBreadcrumb(u.errorClass,{errorClass:u.errorClass,errorMessage:u.errorMessage,severity:u.severity},"error"),l!==u.severity&&(u._handledState.severityReason={type:"userCallbackSetSeverity"}),r._delivery.sendReport({apiKey:u.apiKey||r.config.apiKey,notifier:r.notifier,events:[u]},(function(t){return n(t,u)}))}))},t}(),Ot=function(t,e,n){var r,i,a=3,o=function(t){var e=Ct(t);return n.warn(wt+" "+e),new Error(xt+" "+e)},s=0;switch(typeof t){case"string":"string"===typeof e?(r=o("string/string"),i={metaData:{notifier:{notifyArgs:[t,e]}}}):(r=new Error(String(t)),s=a);break;case"number":case"boolean":r=new Error(String(t));break;case"function":r=o("function");break;case"object":null!==t&&(P(t)||t.__isBugsnagReport)?r=t:null!==t&&St(t)?(r=new Error(t.message||t.errorMessage),r.name=t.name||t.errorClass,s=a):r=o(null===t?"null":"unsupported object");break;default:r=o("nothing")}return{err:r,errorFramesToSkip:s,_opts:i}},St=function(t){return("string"===typeof t.name||"string"===typeof t.errorClass)&&("string"===typeof t.message||"string"===typeof t.errorMessage)},jt=function(t){return"Bugsnag configuration error\n"+vt(t,(function(t){return'"'+t.key+'" '+t.message+" \n got "+_t(t.value)})).join("\n\n")},Ct=function(t){return"notify() expected error/opts parameters, got "+t},_t=function(t){return"object"===typeof t?JSON.stringify(t):String(t)},Et=kt,At=function(t,e,n,r){var i=r&&r.filterKeys?r.filterKeys:[],a=r&&r.filterPaths?r.filterPaths:[];return JSON.stringify(Mt(t,i,a),e,n)},Nt=20,$t=25e3,Bt=8,Rt="...";function Pt(t){return t instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(t))}function Tt(t){return"[Throws: "+(t?t.message:"?")+"]"}function Lt(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return!0;return!1}function qt(t,e){for(var n=0,r=t.length;n<r;n++)if(0===e.indexOf(t[n]))return!0;return!1}function It(t,e){for(var n=0,r=t.length;n<r;n++){if("string"===typeof t[n]&&t[n]===e)return!0;if(t[n]&&"function"===typeof t[n].test&&t[n].test(e))return!0}return!1}function Dt(t){return"[object Array]"===Object.prototype.toString.call(t)}function zt(t,e){try{return t[e]}catch(n){return Tt(n)}}function Mt(t,e,n){var r=[],i=0;function a(t,o){function s(){return o.length>Bt&&i>$t}if(i++,o.length>Nt)return Rt;if(s())return Rt;if(null===t||"object"!==typeof t)return t;if(Lt(r,t))return"[Circular]";if(r.push(t),"function"===typeof t.toJSON)try{i--;var c=a(t.toJSON(),o);return r.pop(),c}catch(g){return Tt(g)}var u=Pt(t);if(u){i--;var l=a({name:t.name,message:t.message},o);return r.pop(),l}if(Dt(t)){for(var f=[],d=0,p=t.length;d<p;d++){if(s()){f.push(Rt);break}f.push(a(t[d],o.concat("[]")))}return r.pop(),f}var h={};try{for(var m in t)if(Object.prototype.hasOwnProperty.call(t,m))if(qt(n,o.join("."))&&It(e,m))h[m]="[Filtered]";else{if(s()){h[m]=Rt;break}h[m]=a(zt(t,m),o.concat(m))}}catch(v){}return r.pop(),h}return a(t,[])}var Ft={},Ht=["events.[].app","events.[].metaData","events.[].user","events.[].breadcrumbs","events.[].request","events.[].device"],Ut=["device","app","user"];Ft.report=function(t,e){var n=At(t,null,null,{filterPaths:Ht,filterKeys:e});if(n.length>1e6&&(delete t.events[0].metaData,t.events[0].metaData={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetaData was removed"},n=At(t,null,null,{filterPaths:Ht,filterKeys:e}),n.length>1e6))throw new Error("payload exceeded 1MB limit");return n},Ft.session=function(t,e){var n=At(t,null,null,{filterPaths:Ut,filterKeys:e});if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var Vt={},Kt=f.isoDate;Vt=function(t,e){return void 0===e&&(e=window),{sendReport:function(n,r){void 0===r&&(r=function(){});var i=Wt(t.config,"notify","4",e),a=new e.XDomainRequest;a.onload=function(){r(null)},a.open("POST",i),setTimeout((function(){try{a.send(Ft.report(n,t.config.filters))}catch(e){t._logger.error(e),r(e)}}),0)},sendSession:function(n,r){void 0===r&&(r=function(){});var i=Wt(t.config,"sessions","1",e),a=new e.XDomainRequest;a.onload=function(){r(null)},a.open("POST",i),setTimeout((function(){try{a.send(Ft.session(n,t.config.filters))}catch(e){t._logger.error(e),r(e)}}),0)}}};var Wt=function(t,e,n,r){return Xt(t.endpoints[e],r.location.protocol)+"?apiKey="+encodeURIComponent(t.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(Kt())},Xt=Vt._matchPageProtocol=function(t,e){return"http:"===e?t.replace(/^https:/,"http:"):t},Jt=f.isoDate,Yt=function(t,e){return void 0===e&&(e=window),{sendReport:function(n,r){void 0===r&&(r=function(){});try{var i=t.config.endpoints.notify,a=new e.XMLHttpRequest;a.onreadystatechange=function(){a.readyState===e.XMLHttpRequest.DONE&&r(null)},a.open("POST",i),a.setRequestHeader("Content-Type","application/json"),a.setRequestHeader("Bugsnag-Api-Key",n.apiKey||t.config.apiKey),a.setRequestHeader("Bugsnag-Payload-Version","4"),a.setRequestHeader("Bugsnag-Sent-At",Jt()),a.send(Ft.report(n,t.config.filters))}catch(o){t._logger.error(o)}},sendSession:function(n,r){void 0===r&&(r=function(){});try{var i=t.config.endpoints.sessions,a=new e.XMLHttpRequest;a.onreadystatechange=function(){a.readyState===e.XMLHttpRequest.DONE&&r(null)},a.open("POST",i),a.setRequestHeader("Content-Type","application/json"),a.setRequestHeader("Bugsnag-Api-Key",t.config.apiKey),a.setRequestHeader("Bugsnag-Payload-Version","1"),a.setRequestHeader("Bugsnag-Sent-At",Jt()),a.send(Ft.session(n,t.config.filters))}catch(o){t._logger.error(o)}}}},Gt={init:function(t,e){void 0===e&&(e=window),t.config.beforeSend.unshift((function(t){t.context||(t.context=e.location.pathname)}))}};function Zt(){return Zt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Zt.apply(this,arguments)}var Qt=f.isoDate,te={init:function(t,e){void 0===e&&(e=navigator);var n={locale:e.browserLanguage||e.systemLanguage||e.userLanguage||e.language,userAgent:e.userAgent};t.device=Zt({},n,t.device),t.config.beforeSend.unshift((function(t){t.device=Zt({},t.device,{time:Qt()})}))}};function ee(){return ee=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ee.apply(this,arguments)}var ne={init:function(t,e){void 0===e&&(e=window),t.config.beforeSend.unshift((function(t){t.request&&t.request.url||(t.request=ee({},t.request,{url:e.location.href}))}))}};function re(){return re=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},re.apply(this,arguments)}var ie=f.isArray,ae=f.includes,oe={init:function(t){return t.sessionDelegate(se)}},se={startSession:function(t){var e=t;e._session=new t.BugsnagSession;var n=$(e);return ie(e.config.notifyReleaseStages)&&!ae(e.config.notifyReleaseStages,n)?(e._logger.warn("Session not sent due to releaseStage/notifyReleaseStages configuration"),e):e.config.endpoints.sessions?(e._delivery.sendSession({notifier:e.notifier,device:e.device,app:re({},{releaseStage:n},e.app),sessions:[{id:e._session.id,startedAt:e._session.startedAt,user:e.user}]}),e):(e._logger.warn("Session not sent due to missing endpoints.sessions configuration"),e)}};function ce(){return ce=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ce.apply(this,arguments)}var ue={init:function(t){t.config.collectUserIp||t.config.beforeSend.push((function(t){t.user&&"undefined"===typeof t.user.id&&delete t.user.id,t.user=ce({id:"[NOT COLLECTED]"},t.user),t.request=ce({clientIp:"[NOT COLLECTED]"},t.request)}))},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}}}},le={},fe=f.map,de=f.reduce,pe=f.filter;le.init=function(t){var e=/^dev(elopment)?$/.test(t.config.releaseStage),n=!1===t.config.consoleBreadcrumbsEnabled,r=(!1===t.config.autoBreadcrumbs||e)&&!0!==t.config.consoleBreadcrumbsEnabled;n||r||fe(he,(function(e){var n=console[e];console[e]=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t.leaveBreadcrumb("Console output",de(i,(function(t,e,n){var r="[Unknown value]";try{r=String(e)}catch(i){}if("[object Object]"===r)try{r=JSON.stringify(e)}catch(i){}return t["["+n+"]"]=r,t}),{severity:0===e.indexOf("group")?"log":e}),"log"),n.apply(console,i)},console[e]._restore=function(){console[e]=n}}))},le.configSchema={consoleBreadcrumbsEnabled:{defaultValue:function(){},validate:function(t){return!0===t||!1===t||void 0===t},message:"should be true|false"}};var he=pe(["log","debug","info","warn","error"],(function(t){return"undefined"!==typeof console&&"function"===typeof console[t]})),me=f.map,ge=f.reduce,ve=f.filter,be=200,ye=5e5,we={init:function(t,e,n){if(void 0===e&&(e=document),void 0===n&&(n=window),t.config.trackInlineScripts){var r=n.location.href,i="",a=!1,o=function(){return e.documentElement.outerHTML};i=o();var s=e.onreadystatechange;e.onreadystatechange=function(){"interactive"===e.readyState&&(i=o(),a=!0);try{s.apply(this,arguments)}catch(t){}};var c=null,u=function(t){c=t},l=function(){var t=e.currentScript||c;if(!t&&!a){var n=e.scripts||e.getElementsByTagName("script");t=n[n.length-1]}return t},f=function(t){a&&i||(i=o());var e=["\x3c!-- DOC START --\x3e"].concat(i.split("\n")),n=t-1,r=Math.max(n-3,0),s=Math.min(n+3,e.length);return ge(e.slice(r,s),(function(t,e,n){return t[r+1+n]=e.length<=be?e:e.substr(0,be),t}),{})};t.config.beforeSend.unshift((function(t){t.stacktrace=ve(t.stacktrace,(function(t){return!/__trace__$/.test(t.method)}));var e=t.stacktrace[0];if(!e||!e.file||e.file.replace(/#.*$/,"")===r.replace(/#.*$/,"")){var n=l();if(n){var i=n.innerHTML;t.updateMetaData("script","content",i.length<=ye?i:i.substr(0,ye))}e&&e.lineNumber&&(e.code=f(e.lineNumber))}}));var d=me(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],(function(t){return xe(n,t,(function(t){return h(t,(function(t){return{get:function(){return t[0]},replace:function(e){t[0]=e}}}))}))})),p=d[0];me(["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(t){n[t]&&n[t].prototype&&n[t].prototype.hasOwnProperty&&n[t].prototype.hasOwnProperty("addEventListener")&&(xe(n[t].prototype,"addEventListener",(function(t){return h(t,ke)})),xe(n[t].prototype,"removeEventListener",(function(t){return h(t,ke,!0)})))}))}function h(t,e,n){return void 0===n&&(n=!1),function(){var r=Array.prototype.slice.call(arguments);try{var i=e(r),a=i.get();if(n&&t.apply(this,r),"function"!==typeof a)return t.apply(this,r);if(a.__trace__)i.replace(a.__trace__);else{var o=l();a.__trace__=function(){u(o),p((function(){u(null)}),0);var t=a.apply(this,arguments);return u(null),t},a.__trace__.__trace__=a.__trace__,i.replace(a.__trace__)}}catch(s){}if(t.apply)return t.apply(this,r);switch(r.length){case 1:return t(r[0]);case 2:return t(r[0],r[1]);default:return t()}}}},configSchema:{trackInlineScripts:{validate:function(t){return!0===t||!1===t},defaultValue:function(){return!0},message:"should be true|false"}}};function xe(t,e,n){var r=t[e];if(!r)return r;var i=n(r);return t[e]=i,r}function ke(t){var e=!!t[1]&&"function"===typeof t[1].handleEvent;return{get:function(){return e?t[1].handleEvent:t[1]},replace:function(n){e?t[1].handleEvent=n:t[1]=n}}}var Oe={init:function(t,e){if(void 0===e&&(e=window),"addEventListener"in e){var n=!1===t.config.interactionBreadcrumbsEnabled,r=!1===t.config.autoBreadcrumbs&&!0!==t.config.interactionBreadcrumbsEnabled;n||r||e.addEventListener("click",(function(n){var r,i;try{r=Se(n.target),i=je(n.target,e)}catch(a){r="[hidden]",i="[hidden]",t._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}t.leaveBreadcrumb("UI click",{targetText:r,targetSelector:i},"user")}),!0)}},configSchema:{interactionBreadcrumbsEnabled:{defaultValue:function(){},validate:function(t){return!0===t||!1===t||void 0===t},message:"should be true|false"}}},Se=function(t){var e=t.textContent||t.innerText||"";return e||"submit"!==t.type&&"button"!==t.type||(e=t.value),e=e.replace(/^\s+|\s+$/g,""),Ce(e,140)};function je(t,e){var n=[t.tagName];if(t.id&&n.push("#"+t.id),t.className&&t.className.length&&n.push("."+t.className.split(" ").join(".")),!e.document.querySelectorAll||!Array.prototype.indexOf)return n.join("");try{if(1===e.document.querySelectorAll(n.join("")).length)return n.join("")}catch(i){return n.join("")}if(t.parentNode.childNodes.length>1){var r=Array.prototype.indexOf.call(t.parentNode.childNodes,t)+1;n.push(":nth-child("+r+")")}return 1===e.document.querySelectorAll(n.join("")).length?n.join(""):t.parentNode?je(t.parentNode,e)+" > "+n.join(""):n.join("")}function Ce(t,e){var n="(...)";return t&&t.length<=e?t:t.slice(0,e-n.length)+n}var _e,Ee,Ae,Ne={init:function(t,e){if(void 0===e&&(e=window),"addEventListener"in e){var n=!1===t.config.navigationBreadcrumbsEnabled,r=!1===t.config.autoBreadcrumbs&&!0!==t.config.navigationBreadcrumbsEnabled;if(!n&&!r){var i=function(e){return function(){return t.leaveBreadcrumb(e,{},"navigation")}};e.addEventListener("pagehide",i("Page hidden"),!0),e.addEventListener("pageshow",i("Page shown"),!0),e.addEventListener("load",i("Page loaded"),!0),e.document.addEventListener("DOMContentLoaded",i("DOMContentLoaded"),!0),e.addEventListener("load",(function(){return e.addEventListener("popstate",i("Navigated back"),!0)})),e.addEventListener("hashchange",(function(n){var r=n.oldURL?{from:$e(n.oldURL,e),to:$e(n.newURL,e),state:Pe(e)}:{to:$e(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")}),!0),e.history.replaceState&&Re(t,e.history,"replaceState",e),e.history.pushState&&Re(t,e.history,"pushState",e),t.leaveBreadcrumb("Bugsnag loaded",{},"navigation")}}},configSchema:{navigationBreadcrumbsEnabled:{defaultValue:function(){},validate:function(t){return!0===t||!1===t||void 0===t},message:"should be true|false"}}},$e=function(t,e){var n=e.document.createElement("A");return n.href=t,""+n.pathname+n.search+n.hash},Be=function(t,e,n,r){var i=$e(t.location.href,t);return{title:n,state:e,prevState:Pe(t),to:r||i,from:i}},Re=function(t,e,n,r){var i=e[n];e[n]=function(a,o,s){t.leaveBreadcrumb("History "+n,Be(r,a,o,s),"navigation"),"function"===typeof t.refresh&&t.refresh(),t.config.autoCaptureSessions&&t.startSession(),i.apply(e,[a,o].concat(void 0!==s?s:[]))}},Pe=function(t){try{return t.history.state}catch(e){}},Te={},Le="request",qe="BS~~S",Ie="BS~~U",De="BS~~M",ze=f.includes,Me=function(){return[_e.config.endpoints.notify,_e.config.endpoints.sessions]};Te.name="networkBreadcrumbs",Te.init=function(t,e,n){void 0===e&&(e=Me),void 0===n&&(n=window);var r=!1===t.config.networkBreadcrumbsEnabled,i=!1===t.config.autoBreadcrumbs&&!0!==t.config.networkBreadcrumbsEnabled;r||i||(_e=t,Ee=n,Ae=e,Fe(),Ve())},Te.configSchema={networkBreadcrumbsEnabled:{defaultValue:function(){},validate:function(t){return!0===t||!1===t||void 0===t},message:"should be true|false"}};var Fe=function(){if("addEventListener"in Ee.XMLHttpRequest.prototype){var t=Ee.XMLHttpRequest.prototype.open;Ee.XMLHttpRequest.prototype.open=function(e,n){this[Ie]=n,this[De]=e,this[qe]&&(this.removeEventListener("load",He),this.removeEventListener("error",Ue)),this.addEventListener("load",He),this.addEventListener("error",Ue),this[qe]=!0,t.apply(this,arguments)}}};function He(){if(!ze(Ae(),this[Ie])){var t={status:this.status,request:this[De]+" "+this[Ie]};this.status>=400?_e.leaveBreadcrumb("XMLHttpRequest failed",t,Le):_e.leaveBreadcrumb("XMLHttpRequest succeeded",t,Le)}}function Ue(){ze(Ae,this[Ie])||_e.leaveBreadcrumb("XMLHttpRequest error",{request:this[De]+" "+this[Ie]},Le)}var Ve=function(){if("fetch"in Ee&&!Ee.fetch.polyfill){var t=Ee.fetch;Ee.fetch=function(){var e,n=arguments,r=arguments[0],i=arguments[1],a=null;return r&&"object"===typeof r?(a=r.url,i&&"method"in i?e=i.method:r&&"method"in r&&(e=r.method)):(a=r,i&&"method"in i&&(e=i.method)),void 0===e&&(e="GET"),new Promise((function(r,i){t.apply(void 0,n).then((function(t){Ke(t,e,a),r(t)}))["catch"]((function(t){We(e,a),i(t)}))}))}}},Ke=function(t,e,n){var r={status:t.status,request:e+" "+n};t.status>=400?_e.leaveBreadcrumb("fetch() failed",r,Le):_e.leaveBreadcrumb("fetch() succeeded",r,Le)},We=function(t,e){_e.leaveBreadcrumb("fetch() error",{request:t+" "+e},Le)},Xe=d.intRange,Je={init:function(t){var e=0;t.config.beforeSend.push((function(n){if(e>=t.config.maxEvents)return n.ignore();e++})),t.refresh=function(){e=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(t){return Xe(1,100)(t)}}}},Ye={};function Ge(){return Ge=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ge.apply(this,arguments)}var Ze=f.map;Ye={init:function(t){t.config.beforeSend.push((function(t){t.stacktrace=Ze(t.stacktrace,(function(t){return Ge({},t,{file:Qe(t.file)})}))}))}};var Qe=Ye._strip=function(t){return"string"===typeof t?t.replace(/\?.*$/,"").replace(/#.*$/,""):t},tn={init:function(t,e){function n(e,n,i,a,o){if(0===i&&/Script error\.?/.test(e))t._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,c={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(o)o.name&&o.message?s=new t.BugsnagReport(o.name,o.message,en(t.BugsnagReport.getStacktrace(o),n,i,a),c,o):(s=new t.BugsnagReport("window.onerror",String(o),en(t.BugsnagReport.getStacktrace(o,1),n,i,a),c,o),s.updateMetaData("window onerror",{error:o}));else if("object"!==typeof e||null===e||n&&"string"===typeof n||i||a||o)s=new t.BugsnagReport("window.onerror",String(e),en(t.BugsnagReport.getStacktrace(o,1),n,i,a),c,e),s.updateMetaData("window onerror",{event:e});else{var u=e.type?"Event: "+e.type:"window.onerror",l=e.message||e.detail||"";s=new t.BugsnagReport(u,l,t.BugsnagReport.getStacktrace(new Error,1).slice(1),c,e),s.updateMetaData("window onerror",{event:e,extraParameters:n})}t.notify(s)}"function"===typeof r&&r.apply(this,arguments)}void 0===e&&(e=window);var r=e.onerror;e.onerror=n}},en=function(t,e,n,r){var i=t[0];return i?(i.fileName||"string"!==typeof e||i.setFileName(e),!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)),t):t},nn=function(t){return"number"===typeof t&&"NaN"!==String.call(t)},rn={},an=f.reduce;rn.init=function(t,e){void 0===e&&(e=window);var n=function(e){var n=e.reason,r=!1;try{e.detail&&e.detail.reason&&(n=e.detail.reason,r=!0)}catch(s){}var i,a={severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}};if(n&&z(n))i=new t.BugsnagReport(n.name,n.message,D.parse(n),a,n),r&&(i.stacktrace=an(i.stacktrace,sn(n),[]));else{var o='Rejection reason was not an Error. See "Promise" tab for more detail.';i=new t.BugsnagReport(n&&n.name?n.name:"UnhandledRejection",n&&n.message?n.message:o,[],a,n),i.updateMetaData("promise","rejection reason",on(n))}t.notify(i)};"addEventListener"in e?e.addEventListener("unhandledrejection",n):e.onunhandledrejection=function(t,e){n({detail:{reason:t,promise:e}})},n};var on=function(t){return null===t||void 0===t?"undefined (or null)":P(t)?(e={},e[Object.prototype.toString.call(t)]={name:t.name,message:t.message,code:t.code,stack:t.stack},e):t;var e},sn=function(t){return function(e,n){return n.file===t.toString()?e:(n.method&&(n.method=n.method.replace(/^\s+/,"")),e.concat(n))}},cn={};function un(){return un=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},un.apply(this,arguments)}var ln="Bugsnag JavaScript",fn="6.5.2",dn="https://github.com/bugsnag/bugsnag-js",pn=un({},p.schema,j);return cn=function(t){"string"===typeof t&&(t={apiKey:t});var e="";t.endpoints&&t.endpoints.notify&&!t.endpoints.sessions&&(e+="notify endpoint is set but sessions endpoint is not. No sessions will be sent.");var n=new Et({name:ln,version:fn,url:dn});return n.setOptions(t),n.delivery(window.XDomainRequest?Vt:Yt),n.configure(pn),e&&n._logger.warn(e),n.use(te),n.use(Gt),n.use(ne),n.use(Je),n.use(oe),n.use(ue),n.use(Ye),!1!==n.config.autoNotify&&(n.use(tn),n.use(rn)),n.use(Ne),n.use(Oe),n.use(Te),n.use(le),n.use(we),n._logger.debug("Loaded!"),n.config.autoCaptureSessions?n.startSession():n},cn.Bugsnag={Client:Et,Report:G,Session:mt,Breadcrumb:A},cn["default"]=cn,cn}))},"0a06":function(t,e,n){"use strict";var r=n("c532"),i=n("30b5"),a=n("f6b4"),o=n("5270"),s=n("4a7b");function c(t){this.defaults=t,this.interceptors={request:new a,response:new a}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[o,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,i){return this.request(r.merge(i||{},{method:t,url:e,data:n}))}})),t.exports=c},"0ab3":function(t,e,n){"use strict";var r=n("2018"),i=n("c681"),a=n("bc02"),o=n("f924"),s=n("c084"),c=n("e5ce"),u=n("ef2b"),l=n("5471"),f={props:{shadow:{type:[String,Boolean],default:!1,validate(t){return!0===t||["shadow-sm","shadow","shadow-lg"].indexOf("shadow-"+t)>-1}}},computed:{shadowClassName(){return!0===this.shadow?"shadow":"shadow-"+this.shadow}}},d=f;const p="is-empty",h="has-focus",m="has-changed",g="custom";function v(t,e,n){e.context.$el.classList.add(n)}function b(t,e,n){e.context.$el.classList.remove(n)}function y(t,e){(Object(c["a"])(t.value)||"SELECT"===t.tagName&&-1===t.selectedIndex)&&v(t,e,p)}var w={inheritAttrs:!1,mixins:[i["a"],a["a"],d],props:{activity:{type:Boolean,default:!1},custom:{type:Boolean,default:!1},defaultValue:{default:null},value:{default:null},group:{type:Boolean,default:!0},label:[Number,String],error:[Boolean,String],errors:{type:Object,default(){return{}}},feedback:[String,Array],bindEvents:{type:Array,default(){return["focus","blur","change","click","keypress","keyup","keydown","progress","paste"]}},defaultControlClass:{type:String,default:"form-control"},labelClass:[Object,String],hideLabel:Boolean,invalid:Boolean,valid:Boolean,spacing:String,size:{type:String,default:"md",validate:t=>-1!==["sm","md","lg"].indexOf(t)},inline:Boolean,helpText:[Number,String],pill:Boolean,icon:[Array,String]},directives:{bindEvents:{bind(t,e,n){function r(t,e){v(t,n,m),!Object(c["a"])(e)||t.selectedIndex&&t.selectedIndex>-1?b(t,n,p):t.classList.contains(m)||v(t,n,p),"SELECT"===t.tagName&&t.querySelector('[value=""]')&&(t.querySelector('[value=""]').selected=!e)}n.context.$watch("value",t=>{r(n.context.$el,t)}),t.addEventListener("blur",e=>{t.classList.contains(p)&&b(t,n,m),b(t,n,h)}),t.addEventListener("change",t=>{r(t.target,t.target.value)}),t.addEventListener("focus",e=>{v(t,n,h)}),Object(o["a"])(n.context.bindEvents,e=>{t.addEventListener(e,t=>{n.context.$emit(e,t)})}),t.selectedIndex>=0&&t.setAttribute("data-selected-index",t.selectedIndex)},inserted(t,e,n){y(t,n),"number"===typeof t.selectedIndex&&t.selectedIndex},update(t,e,n){y(t,n)}}},methods:{blur(){this.getInputField()&&this.getInputField().blur()},focus(){this.getInputField()&&this.getInputField().focus()},getInputField(){return this.$el.querySelector(".form-control, input, select, textarea")},getFieldErrors(){let t=this.error||this.errors;return Object(u["a"])(this.errors)&&(t=this.errors[this.$attrs.name||this.$attrs.id]),!t||Object(s["a"])(t)||Object(u["a"])(t)?t:[t]},onInput(t){this.$emit("input",this.currentValue=t.target.value)}},computed:{controlAttributes(){return Object.keys(this.$attrs).concat([["class",this.controlClasses]]).reduce((t,e)=>(Object(s["a"])(e)?t[e[0]]=e[1]:t[e]=this[e]||this.$attrs[e],t),{})},controlClass(){return this.custom?this.customControlClass:this.defaultControlClass+(this.plaintext?"-plaintext":"")},controlSizeClass(){return Object(r["a"])(this.size,this.controlClass)},customControlClass(){return"custom-control"},formGroupClasses(){const t=Object(r["a"])(Object(l["a"])(this.$options.name),this.custom?g:"");return this.mergeClasses(t,Object(r["a"])(this.size,t),{"has-activity":this.activity,"is-valid":!(!this.valid&&!this.validFeedback),"is-invalid":!(!this.invalid&&!this.invalidFeedback)},this.shadowClassName)},controlClasses(){return this.mergeClasses(this.icon?"form-control-icon":null,this.controlClass,this.colorableClasses,this.controlSizeClass,this.pill?"rounded rounded-pill":null,this.spacing||"",this.valid||this.validFeedback?"is-valid":"",this.invalid||this.invalidFeedback?"is-invalid":"")},hasDefaultSlot(){return!!this.$slots.default},invalidFeedback(){if(this.error)return this.error;const t=this.getFieldErrors();return Object(s["a"])(t)?t.filter(t=>t&&"string"===typeof t).join("<br>"):t},validFeedback(){return Object(s["a"])(this.feedback)?this.feedback.join("<br>"):this.feedback}},mounted(){null===this.value&&null!==this.defaultValue&&this.$emit("input",this.defaultValue)},data(){return{currentValue:this.value||this.defaultValue}}};e["a"]=w},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0f2b":function(t,e,n){"use strict";e["a"]=function(t,e="px"){return isFinite(t)?t+e:t}},1757:function(t,e,n){"use strict";var r=n("bc3a"),i=n.n(r),a=n("ca14");class o{constructor(t){this.setAttribute(t)}getAttribute(t){return this.hasOwnProperty(t)?this[t]:null}getAttributes(){const t={};return Object.getOwnPropertyNames(this).forEach(e=>{t[e]=this.getAttribute(e)}),t}getPublicAttributes(){return Object.keys(this.getAttributes()).filter(t=>!t.match(/^\$/)).reduce((t,e)=>(t[e]=this.getAttribute(e),t),{})}setAttribute(t,e){Object(a["k"])(t)?this.setAttributes(t):this[t]=e}setAttributes(t){for(const e in t)this.setAttribute(e,t[e])}}class s extends o{constructor(t){t instanceof Error&&(t=Object.assign({error:t},t.response)),super(Object(a["e"])({date:new Date},t))}get data(){return this.$data}set data(t){this.$data=t}get error(){return this.$error}set error(t){this.$error=t}get request(){return this.$request}set request(t){this.$request=t}get date(){return this.$date}set date(t){this.$date=t}get success(){return this.status>=200&&this.status<300}get failed(){return!this.success}}const c={transformRequest:[],transformResponse:[]};class u extends o{constructor(t,e,n){super({options:{},data:{},headers:{},params:{},url:e,method:t}),Object(a["k"])(n)&&this.setAttribute(n)}send(t){return this.sentAt=new Date,this.setAttributes(t),new Promise((t,e)=>{i()(this.options).then(e=>t(this.response=new s(e)),t=>e(this.response=new s(t)))})}set cancel(t){this.$cancel=t}get cancel(){return this.$cancel||(()=>{throw new Error("The request has not been sent yet.")})}get options(){const t=Object(a["o"])(c,t=>"array"===typeof t?!!t.length:"object"===typeof t?!!Object.entries(t).length:!!t),e=Object(a["c"])({cancelToken:new i.a.CancelToken(t=>(this.cancel=t,t))},t,this.getPublicAttributes());return this.data instanceof FormData&&(e.data=this.data),e}set options(t){this.setAttribute(t)}get response(){return this.$response}set response(t){this.$response=t}get error(){return this.$error}set error(t){this.$error=t}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 c}static set defaults(t){Object.assign(c,t)}static transformRequest(t){c.transformRequest.push(t)}static transformResponse(t){c.transformResponse.push(t)}static get(t,e){return this.make("get",t).send(e)}static post(t,e){return this.make("post",t,e).send()}static put(t,e){return this.make("put",t,e).send()}static patch(t,e){return this.make("path",t,e).send()}static delete(t,e){return this.make("delete",t,e).send()}static make(t,e,n){return new this(t,e,n)}}e["a"]=u},"1a98":function(t,e,n){"use strict";function r(t){return"number"===typeof t||!!t&&"[object Number]"===t.toString()}n.d(e,"a",(function(){return r}))},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},2018:function(t,e,n){"use strict";var r=n("e7a6");e["a"]=r["a"]},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),a={"Content-Type":"application/x-www-form-urlencoded"};function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}var c={adapter:s(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(a)})),t.exports=c}).call(this,n("4362"))},2618:function(t,e,n){},2760:function(t,e,n){"use strict";n("599a")},2848:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"form-group":!!t.group}},[t._t("default")],2)},i=[],a={name:"FormGroup",props:{group:{type:Boolean,default:!0}}},o=a,s=(n("7c5d"),n("2877")),c=Object(s["a"])(o,r,i,!1,null,null,null),u=c.exports;e["default"]=u},"289b":function(t,e,n){},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,a){var o=new Error(t);return r(o,e,n,i,a)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"30b5":function(t,e,n){"use strict";var r=n("c532");function i(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,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var o=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(i(e)+"="+i(t))})))})),a=o.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},3259:function(t,e,n){"use strict";n.r(e),n.d(e,"AlertClose",(function(){return f})),n.d(e,"AlertHeading",(function(){return d["default"]})),n.d(e,"AlertLink",(function(){return T}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"alert",class:t.mergeClasses(t.variantClass,{show:t.isVisible,fade:t.fade}),attrs:{role:"alert"}},[t.dismissible?n("alert-close",{on:{click:function(e){return t.dismiss()}}}):t._e(),t.title||t.heading?n("alert-heading",[t._v(" "+t._s(t.title||t.heading)+" ")]):t._e(),t._t("default"),"number"===typeof t.show?n("progress-bar",{staticClass:"my-3",attrs:{variant:t.variant,height:5,value:t.dismissCount,max:t.show}}):t._e()],2)},i=[],a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.onClick}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v(" × ")])])},o=[],s={name:"AlertClose",methods:{onClick(t){this.$emit("click",t)}}},c=s,u=n("2877"),l=Object(u["a"])(c,a,o,!1,null,null,null),f=l.exports,d=n("426a"),p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"progress",style:{height:t.formattedHeight}},[n("div",{staticClass:"progress-bar",class:t.mergeClasses(t.progressClasses,t.variantClass),style:t.styles,attrs:{role:"progressbar","aria-valuenow":t.offsetValue,"aria-valuemin":t.min,"aria-valuemax":t.max}},[t.label?n("span",[!0!==t.label?[t._v(" "+t._s(t.label)+" ")]:t._e(),t._v(" "+t._s(t.offsetValue)+"% ")],2):n("span",[t._t("default")],2)])])},h=[],m=n("0f2b"),g=n("485b"),v=n("bc02"),b={name:"ProgressBar",mixins:[g["a"],v["a"]],props:{color:String,value:{type:Number,required:!0},height:[Number,String],label:[String,Boolean],striped:Boolean,animated:Boolean,min:{type:Number,default:0},max:{type:Number,default:100}},computed:{variantClassPrefix(){return"bg"},offsetValue(){return this.value/this.max*100},formattedHeight(){return this.height?Object(m["a"])(this.height):null},progressClasses(){return{"progress-bar-striped":this.striped,"progress-bar-animated":this.animated}},styles(){return{width:this.offsetValue+"%",background:this.color+" !important"}}}},y=b,w=(n("78cf"),Object(u["a"])(y,p,h,!1,null,null,null)),x=w.exports,k=x;function O(t,e="0s"){let n=getComputedStyle(t).transitionDuration||getComputedStyle(t).animationDuration;"0s"===n&&(n=e);const r=parseFloat(n,10)||0,i=n.match(/m?s/);switch(i&&i[0]){case"s":return 1e3*r;default:return r}}function S(t,e){return new Promise((n,r)=>{try{const r=O(t,e);setTimeout(()=>{n(r)},r)}catch(i){r(i)}})}var j=S,C={name:"Alert",components:{AlertClose:f,AlertHeading:d["default"],ProgressBar:k},mixins:[g["a"],v["a"]],props:{dismissible:Boolean,heading:String,title:String,fade:{type:Boolean,default:!0},show:{type:[Number,Boolean],default:!0}},data(){return{dismissCount:this.show,isVisible:this.show}},mounted(){if("number"===typeof this.show){const t=this.$el.querySelector(".progress-bar");this.$emit("dismiss-countdown",this.dismissCount=this.show);const e=setInterval(()=>{this.$emit("dismiss-countdown",this.dismissCount-=1),this.dismissCount||(clearInterval(e),j(t).then(t=>this.dismiss()))},1e3)}},methods:{dismiss(){this.isVisible=!1,j(this.$el).then(t=>{this.$emit("dismiss")})}}},_=C,E=Object(u["a"])(_,r,i,!1,null,null,null),A=E.exports,N=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"alert-link"},[t._t("default")],2)},$=[],B={name:"AlertLink"},R=B,P=Object(u["a"])(R,N,$,!1,null,null,null),T=P.exports;e["default"]=A},"353a":function(t,e,n){t.exports=n("012c")},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3bf5":function(t,e,n){"use strict";e["a"]={computed:{colorableClasses(){const t={};for(let e in this.$attrs)(e.match(/^bg|text|border|bg-gradient-/)&&this.$attrs[e]||void 0===this.$attrs[e])&&(t[e]=!0);return t}}}},"3f1c":function(t,e,n){"use strict";n("2618")},"426a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"alert-heading"},[t._t("default")],2)},i=[],a={name:"AlertHeading"},o=a,s=n("2877"),c=Object(s["a"])(o,r,i,!1,null,null,null);e["default"]=c.exports},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("df7c")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var i=n.config.validateStatus;!i||i(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},"46d8":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form-group",{class:t.formGroupClasses,attrs:{group:t.group}},[t._t("label",[t.label?n("form-label",{ref:"label",class:t.labelClass,attrs:{for:t.$attrs.id},domProps:{innerHTML:t._s(t.label)}}):t._e()]),n("div",{staticClass:"form-group-inner"},[t._t("control",[t._t("icon",[t.icon?n("div",{staticClass:" mx-2 pl-1"},[n("font-awesome-icon",{staticClass:"position-absolute h-100",class:{"text-secondary":!t.currentValue,"text-dark":!!t.currentValue},attrs:{icon:t.icon},on:{click:function(e){return t.focus()}}})],1):t._e()]),n("input",t._b({directives:[{name:"bind-events",rawName:"v-bind-events"}],ref:"field",domProps:{value:t.currentValue},on:{input:t.onInput}},"input",t.controlAttributes,!1))]),t._t("activity",[n("transition",{attrs:{name:"slide-fade"}},[t.activity?n("activity-indicator",{key:"test",ref:"activity",attrs:{type:"dots",size:t.size}}):t._e()],1)])],2),t._t("feedback",[t.validFeedback?n("form-feedback",{attrs:{label:t.validFeedback,valid:""}}):t.invalidFeedback?n("form-feedback",{attrs:{label:t.invalidFeedback,invalid:""}}):t._e()]),t._t("help",[t.helpText?n("help-text",{ref:"help",domProps:{innerHTML:t._s(t.helpText)}}):t._e()])],2)},i=[],a=n("5138"),o=n("2848"),s=n("f9e9"),c=n("a892"),u=n("c681"),l=n("a633"),f=n("0ab3"),d=n("ad3d"),p={name:"InputField",components:{HelpText:a["a"],FormGroup:o["default"],FormLabel:s["a"],FormFeedback:c["default"],FontAwesomeIcon:d["a"],ActivityIndicator:l["default"]},mixins:[u["a"],f["a"]]},h=p,m=(n("7aa6"),n("2877")),g=Object(m["a"])(h,r,i,!1,null,null,null),v=g.exports;e["default"]=v},"485b":function(t,e,n){"use strict";var r=n("e7a6"),i=n("5471"),a={props:{variant:{type:String,default:"primary"}},computed:{variantClassPrefix(){return Object(i["a"])(this.$options.name)},variantClass(){return Object(r["a"])(this.variant,this.variantClassPrefix)}}};e["a"]=a},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},i=["url","method","params","data"],a=["headers","auth","proxy"],o=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,(function(t){"undefined"!==typeof e[t]&&(n[t]=e[t])})),r.forEach(a,(function(i){r.isObject(e[i])?n[i]=r.deepMerge(t[i],e[i]):"undefined"!==typeof e[i]?n[i]=e[i]:r.isObject(t[i])?n[i]=r.deepMerge(t[i]):"undefined"!==typeof t[i]&&(n[i]=t[i])})),r.forEach(o,(function(r){"undefined"!==typeof e[r]?n[r]=e[r]:"undefined"!==typeof t[r]&&(n[r]=t[r])}));var s=i.concat(a).concat(o),c=Object.keys(e).filter((function(t){return-1===s.indexOf(t)}));return r.forEach(c,(function(r){"undefined"!==typeof e[r]?n[r]=e[r]:"undefined"!==typeof t[r]&&(n[r]=t[r])})),n}},"4bf2":function(t,e,n){},"4bfd":function(t,e,n){"use strict";var r=n("e7a6"),i=n("5471"),a={props:{size:{type:String,default:"md",validate:t=>-1!==["sm","md","lg"].indexOf(t)}},computed:{sizeableClassPrefix(){return Object(i["a"])(this.$options.name)},sizeableClass(){return Object(r["a"])(this.size,this.sizeableClassPrefix)}}};e["a"]=a},5138:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("small",{staticClass:"form-text",class:t.classes},[t._t("default")],2)},i=[],a=n("ca14"),o=n("3bf5"),s=n("836f"),c={name:"HelpText",mixins:[o["a"],s["a"]],computed:{classes(){return Object(a["e"])({},this.screenreaderClasses,this.colorableClasses)}}},u=c,l=n("2877"),f=Object(l["a"])(u,r,i,!1,null,null,null),d=f.exports;e["a"]=d},5270:function(t,e,n){"use strict";var r=n("c532"),i=n("c401"),a=n("2e67"),o=n("2444");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||o.adapter;return e(t).then((function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},5471:function(t,e,n){"use strict";function r(t){return t&&t.replace?t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").replace(/_/g,"-").toLowerCase():null}n.d(e,"a",(function(){return r}))},"599a":function(t,e,n){},"650a":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("ff01");function i(t){return Object(r["a"])(t)?parseFloat(t):t}},"6f37":function(t,e,n){"use strict";function r(t){return"undefined"===typeof t}n.d(e,"a",(function(){return r}))},"78cf":function(t,e,n){"use strict";n("289b")},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aa6":function(t,e,n){"use strict";n("cc77")},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,a,o){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.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(){}}}()},"7c5d":function(t,e,n){"use strict";n("ccfa")},"836f":function(t,e,n){"use strict";e["a"]={props:{srOnly:Boolean,srOnlyFocusable:Boolean},computed:{screenreaderClasses(){return{"sr-only":this.srOnly,"sr-only-focusable":this.srOnlyFocusable}}}}},"83b9":function(t,e,n){"use strict";var r=n("d925"),i=n("e683");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},"850f":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("1757"),i=n("ca14");class a{constructor(t={},e={}){this.$request=null,this.$key=this.key(),this.$files=this.files(),this.$properties=this.properties(),Object(i["d"])(e,(t,e)=>{this[e]=t}),this.initialize(t)}initialize(t){return this.$exists=!1,this.$changed={},this.$attributes={},this.fill(t),this.$initialized=!0,this}endpoint(){}uri(){return[this.endpoint()||"",this.exists()?this.id():null].filter(t=>!!t).concat([].slice.call(arguments)).map(t=>(Object.entries(this.attributes).forEach(([e,n])=>{t=t.toString().replace(new RegExp(":"+e),n)}),t)).join("/")}id(){return this.get(this.key())}key(){return"id"}properties(){return[]}files(){return[]}fill(t){return this.setAttributes(t),this}get(t){return Object(i["g"])(t)?this.getAttributes().filter((e,n)=>-1!==t.indexOf(n)):this.getAttribute(t)}set(t,e){return Object(i["g"])(t)||Object(i["k"])(t)?this.setAttributes(t):this.setAttribute(t,e),this}get attributes(){return this.$attributes}getAttributes(){return this.attributes}getChangedAttributes(){return Object.keys(this.$changed)}getOriginalValue(t){return this.$changed[t]||this.$attributes[t]}getRequest(){return this.$request}getUnchangedAttributes(){return Object.keys(this.$attributes).filter(t=>!(t in this.$changed))}getAttribute(t,e){return this.$attributes[t]||e}set attributes(t){return this.$attributes=t}setAttributes(t){(Object(i["g"])(t)||Object(i["k"])(t))&&Object(i["d"])(t,(t,e)=>{this.setAttribute(e,t)})}setAttribute(t,e){this.handleAttributeChange(t,e),Object(i["m"])(e)?delete this.$attributes[t]:this.$attributes[t]=e}revert(){Object(i["d"])(this.$changed,(t,e)=>{Object(i["m"])(t)?delete this.$attributes[e]:this.$attributes[e]=t}),this.$changed={}}exists(){return!!this.$exists}hasChanged(t){return t?!Object(i["m"])(this.$changed[t]):this.getChangedAttributes().length>0}hasFiles(){function t(e,n=0){return Object.keys(e).reduce((r,a)=>{const o=e[a];return Object(i["g"])(o)?r+t(o,n):o instanceof File||o instanceof FileList?r+1:r},n)}return 0!==t(this.toJSON())}handleAttributeChange(t,e){this.$initialized&&(this.$changed[t]===e?delete this.$changed[t]:t in this.$changed||(this.$changed[t]=this.getAttribute(t))),this.handlePrimaryKeyChange(t,e)}handlePrimaryKeyChange(t,e){this.$key===t&&(this.$exists=!Object(i["m"])(e)&&!Object(i["j"])(e))}save(t={},e={}){return this.fill(t),new Promise((t,n)=>{const r=this.hasFiles()?this.toFormData():this.toJSON(),i=e.method||(!this.exists()||this.hasFiles()?"post":"put");this.$request=this.constructor.request(i,e.uri||this.uri(),e),this.hasFiles()&&(this.$request.headers["Content-Type"]="multipart/form-data"),this.$request.send({data:r}).then(e=>{t(this.fill(e.data))},n)})}delete(t={}){return new Promise((e,n)=>{this.exists()||n(new Error("The model must have a primary key before it can be delete.")),this.$request=this.constructor.request("delete",t.uri||this.uri(),t),this.$request.send().then(t=>{e(t)},n)})}cancel(){return this.$request&&this.$request.cancel(),this}toFormData(){const t=new FormData;return Object(i["d"])(this.toJSON(),(e,n)=>{Object(i["g"])(e)?Object(i["d"])(e,e=>{e instanceof Blob||!Object(i["k"])(e)&&!Object(i["g"])(e)||(e=JSON.stringify(e)),t.append(n.replace(/(.+)(\[.+\]?)$/,"$1")+"[]",e)}):e instanceof Blob||!Object(i["k"])(e)?Object(i["j"])(e)||t.append(n,e):t.append(n,JSON.stringify(e))}),t}toJSON(){return Object(i["o"])(this.$attributes,(t,e)=>!this.$properties.length||e===this.key()||-1!==this.$properties.indexOf(e))}toString(){return JSON.stringify(this.toJSON())}toJson(){return this.toJSON()}static search(t={},e={}){const n=new this;return e=Object.assign({params:t},e),new Promise((t,r)=>{n.$request=this.request("get",e.uri||n.uri(),e),n.$request.send().then(e=>{t(e)},t=>{r(t)})})}static find(t,e={}){return new Promise((n,r)=>{const i=new this;i.fill("object"===typeof t?t:{[(new this).key()]:t}),i.$request=this.request("get",e.uri||i.uri(),e),i.$request.send().then(t=>{n(i.initialize(t.data))},t=>{r(t)})})}static request(t,e,n={}){return r["a"].make(t,e,n)}}var o=a;class s extends o{endpoint(){return"page"}}},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},9719:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.to?n("router-link",{class:t.classes,attrs:{to:t.to,disabled:t.disabled,role:"button"},on:{click:t.onClick}},[t._t("default")],2):t.href?n("a",{class:t.classes,attrs:{href:t.href,disabled:t.disabled,role:"button"},on:{click:t.onClick}},[t._t("default")],2):t.label?n("label",{class:t.classes,attrs:{disabled:t.disabled,role:"button"},on:{click:t.onClick}},[t._t("default")],2):n("button",{class:t.classes,attrs:{type:t.type,disabled:t.disabled},on:{click:t.onClick}},[t._t("default")],2)},i=[],a=n("485b"),o=n("4bfd"),s=n("c681"),c=n("bc02"),u=n("5471"),l={name:"Btn",mixins:[a["a"],o["a"],s["a"],c["a"]],props:{active:Boolean,block:Boolean,disabled:Boolean,href:String,label:Boolean,outline:Boolean,to:[Object,String],type:String},computed:{variantClassPrefix(){return Object(u["a"])(this.$options.name)+(this.outline?"-outline":"")},classes(){return this.mergeClasses("btn",this.variantClass,this.sizeableClass,this.colorableClasses,this.block?"btn-block":"",this.active?"active":"")}},methods:{onClick(t){this.disabled?t.preventDefault():this.$emit("click",t)}}},f=l,d=(n("3f1c"),n("2877")),p=Object(d["a"])(f,r,i,!1,null,null,null),h=p.exports;e["default"]=h},"9d01":function(t,e,n){"use strict";n("4bf2")},a633:function(t,e,n){"use strict";n.r(e);var r,i,a,o,s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.center?n("div",{staticClass:"center-wrapper",class:{"position-relative":t.relative,"position-fixed":t.fixed},style:t.style},[n("div",{staticClass:"center-content d-flex flex-column align-items-center"},[n(t.component,{tag:"component",attrs:{size:t.size,prefix:t.prefix}}),t.label?n("div",{staticClass:"activity-indicator-label",domProps:{innerHTML:t._s(t.label)}}):t._e()],1)]):n("div",{staticClass:"d-flex flex-column justify-content-center align-items-center",style:t.style},[n(t.component,{tag:"component",attrs:{size:t.size,prefix:t.prefix}}),t.label?n("div",{staticClass:"activity-indicator-label",domProps:{innerHTML:t._s(t.label)}}):t._e()],1)},c=[],u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"activity-indicator",class:t.classes},t._l(t.nodes,(function(t){return n("div",{key:t})})),0)},l=[],f=n("5471"),d={props:{nodes:{type:Number,default:3},size:{type:String,default:""},prefix:{type:String,default:"activity-indicator-"}},computed:{classes:function(){const t={},e=Object(f["a"])(this.$options.name);return t[e]=!!e,t[this.prefix+this.size.replace(this.prefix,"")]=!!this.size,t}}},p=d,h=n("2877"),m=Object(h["a"])(p,u,l,!1,null,null,null),g=m.exports,v=n("0f2b"),b={name:"ActivityIndicatorDots",extends:g},y=b,w=(n("e75e"),Object(h["a"])(y,r,i,!1,null,null,null)),x=w.exports,k=n("ca14"),O={name:"ActivityIndicatorSpinner",extends:g,props:Object(k["e"])({},g.props,{nodes:{type:Number,default:12}})},S=O,j=(n("9d01"),Object(h["a"])(S,a,o,!1,null,null,null)),C=j.exports,_={name:"ActivityIndicator",components:{ActivityIndicatorDots:x,ActivityIndicatorSpinner:C},extends:g,props:{center:Boolean,fixed:Boolean,label:String,relative:Boolean,type:{type:String,default:"dots"},height:[String,Number],maxHeight:[String,Number],minHeight:[String,Number],width:[String,Number],maxWidth:[String,Number],minWidth:[String,Number]},computed:{style(){return{width:Object(v["a"])(this.width),maxWidth:Object(v["a"])(this.maxWidth),minWidth:Object(v["a"])(this.minWidth),height:Object(v["a"])(this.height),maxHeight:Object(v["a"])(this.maxHeight),minHeight:Object(v["a"])(this.minHeight)}},component(){return Object(f["a"])(this.prefix+this.type.replace(this.prefix,""))}}},E=_,A=(n("00c4"),Object(h["a"])(E,s,c,!1,null,null,null)),N=A.exports;e["default"]=N},a892:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.label&&"string"!==typeof t.label?t._e():n("div",{class:t.classes},[t._t("default",[t._v(t._s(t.label))])],2)},i=[],a=n("3bf5"),o={name:"FormFeedback",mixins:[a["a"]],props:{label:[Boolean,String],invalid:Boolean,valid:Boolean},computed:{classes(){return{"invalid-feedback":this.invalid,"valid-feedback":this.valid&&!this.invalid}}}},s=o,c=n("2877"),u=Object(c["a"])(s,r,i,!1,null,null,null),l=u.exports;e["default"]=l},ad3d:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return k}));var r=n("ecee"),i="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{};function a(t,e){return e={exports:{}},t(e,e.exports),e.exports}var o=a((function(t){(function(e){var n=function(t,e,r){if(!u(e)||f(e)||d(e)||p(e)||c(e))return e;var i,a=0,o=0;if(l(e))for(i=[],o=e.length;a<o;a++)i.push(n(t,e[a],r));else for(var s in i={},e)Object.prototype.hasOwnProperty.call(e,s)&&(i[t(s,r)]=n(t,e[s],r));return i},r=function(t,e){e=e||{};var n=e.separator||"_",r=e.split||/(?=[A-Z])/;return t.split(r).join(n)},i=function(t){return h(t)?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""})),t.substr(0,1).toLowerCase()+t.substr(1))},a=function(t){var e=i(t);return e.substr(0,1).toUpperCase()+e.substr(1)},o=function(t,e){return r(t,e).toLowerCase()},s=Object.prototype.toString,c=function(t){return"function"===typeof t},u=function(t){return t===Object(t)},l=function(t){return"[object Array]"==s.call(t)},f=function(t){return"[object Date]"==s.call(t)},d=function(t){return"[object RegExp]"==s.call(t)},p=function(t){return"[object Boolean]"==s.call(t)},h=function(t){return t-=0,t===t},m=function(t,e){var n=e&&"process"in e?e.process:e;return"function"!==typeof n?t:function(e,r){return n(e,t,r)}},g={camelize:i,decamelize:o,pascalize:a,depascalize:o,camelizeKeys:function(t,e){return n(m(i,e),t)},decamelizeKeys:function(t,e){return n(m(o,e),t,e)},pascalizeKeys:function(t,e){return n(m(a,e),t)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=g:e.humps=g})(i)})),s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},f=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)};function d(t){return t.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.indexOf(":"),r=o.camelize(e.slice(0,n)),i=e.slice(n+1).trim();return t[r]=i,t}),{})}function p(t){return t.split(/\s+/).reduce((function(t,e){return t[e]=!0,t}),{})}function h(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce((function(t,e){return Array.isArray(e)?t=t.concat(e):t.push(e),t}),[])}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=(e.children||[]).map(m.bind(null,t)),a=Object.keys(e.attributes||{}).reduce((function(t,n){var r=e.attributes[n];switch(n){case"class":t["class"]=p(r);break;case"style":t["style"]=d(r);break;default:t.attrs[n]=r}return t}),{class:{},style:{},attrs:{}}),o=r.class,s=void 0===o?{}:o,c=r.style,f=void 0===c?{}:c,g=r.attrs,v=void 0===g?{}:g,b=l(r,["class","style","attrs"]);return"string"===typeof e?e:t(e.tag,u({class:h(a.class,s),style:u({},a.style,f),attrs:u({},a.attrs,v)},b,{props:n}),i)}var g=!1;try{g=!0}catch(O){}function v(){var t;!g&&console&&"function"===typeof console.error&&(t=console).error.apply(t,arguments)}function b(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?c({},t,e):{}}function y(t){var e,n=(e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-li":t.listItem,"fa-inverse":t.inverse,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip},c(e,"fa-"+t.size,null!==t.size),c(e,"fa-rotate-"+t.rotation,null!==t.rotation),c(e,"fa-pull-"+t.pull,null!==t.pull),c(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(n).map((function(t){return n[t]?t:null})).filter((function(t){return t}))}function w(t,e){var n=0===(t||"").length?[]:[t];return n.concat(e).join(" ")}function x(t){return null===t?null:"object"===("undefined"===typeof t?"undefined":s(t))&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"===typeof t?{prefix:"fas",iconName:t}:void 0}var k={name:"FontAwesomeIcon",functional:!0,props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:String,default:null,validator:function(t){return["horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,i=n.icon,a=n.mask,o=n.symbol,s=n.title,c=x(i),l=b("classes",y(n)),f=b("transform","string"===typeof n.transform?r["d"].transform(n.transform):n.transform),d=b("mask",x(a)),p=Object(r["b"])(c,u({},l,f,d,{symbol:o,title:s}));if(!p)return v("Could not find one or more icon(s)",c,d);var h=p.abstract,g=m.bind(null,t);return g(h[0],{},e.data)}};Boolean,Boolean}).call(this,n("c8ba"))},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),a=n("30b5"),o=n("83b9"),s=n("c345"),c=n("3934"),u=n("2d83");t.exports=function(t){return new Promise((function(e,l){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",m=t.auth.password||"";d.Authorization="Basic "+btoa(h+":"+m)}var g=o(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),a(g,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?p.response:p.responseText,a={data:r,status:p.status,statusText:p.statusText,headers:n,config:t,request:p};i(e,l,a),p=null}},p.onabort=function(){p&&(l(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){l(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),l(u(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var v=n("7aac"),b=(t.withCredentials||c(g))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}if("setRequestHeader"in p&&r.forEach(d,(function(t,e){"undefined"===typeof f&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){p&&(p.abort(),l(t),p=null)})),void 0===f&&(f=null),p.send(f)}))}},b78d:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.mergeClasses(t.custom?"custom-radio":"",t.controlClass,t.inline?t.inlineClass:"")},[n("input",t._b({directives:[{name:"bind-events",rawName:"v-bind-events"}],ref:"field",attrs:{id:t.$attrs.id||t.hash,type:"radio"},domProps:{value:t.value,checked:t.checkedValue===t.value},on:{change:t.update}},"input",t.controlAttributes,!1)),n("label",{class:t.mergeClasses(t.computedLabelClass,t.labelClass),attrs:{for:t.$attrs.id||t.hash}},[t._t("default",[t._v(t._s(t.label))]),t._t("feedback",[t.validFeedback?n("form-feedback",{attrs:{valid:""},domProps:{innerHTML:t._s(t.validFeedback)}}):t._e(),t.invalidFeedback?n("form-feedback",{attrs:{invalid:""},domProps:{innerHTML:t._s(t.invalidFeedback)}}):t._e()])],2),t._t("help",[t.helpText?n("help-text",{domProps:{innerHTML:t._s(t.helpText)}}):t._e()])],2)},i=[],a=n("5138");function o(t){let e=0;for(let n=0;n<t.length;n++)e+=Math.pow(31*t.charCodeAt(n),t.length-n),e&=e;return e}var s=o,c=n("a892"),u=n("2018"),l=n("c681"),f=n("0ab3"),d=n("bc02"),p={name:"RadioField",components:{HelpText:a["a"],FormFeedback:c["default"]},mixins:[l["a"],f["a"],d["a"]],model:{prop:"checkedValue",event:"change"},props:{bindEvents:{type:Array,default(){return["focus","blur","input","click","keyup","keydown","progress"]}},checked:Boolean,checkedValue:[Boolean,Number,String,Object],defaultControlClass:{type:String,default:"form-check"},inline:Boolean},computed:{controlClasses(){return this.mergeClasses(this.spacing||"",this.inputClass,this.valid||this.validFeedback?"is-valid":"",this.invalid||this.invalidFeedback?"is-invalid":"")},hash(){return s(this._uid.toString())},computedLabelClass(){return Object(u["a"])("label",this.controlClass)},inputClass(){return Object(u["a"])("input",this.controlClass)},inlineClass(){return this.inline?Object(u["a"])("inline",this.controlClass):""}},methods:{update(t){this.$emit("change",t.target.value),this.$emit("input",t)}}},h=p,m=n("2877"),g=Object(m["a"])(h,r,i,!1,null,null,null),v=g.exports;e["default"]=v},b7b9:function(t,e,n){"use strict";function r(t){return null===t}n.d(e,"a",(function(){return r}))},bc02:function(t,e,n){"use strict";var r=n("ca14"),i={methods:{mergeClasses(){let t={};return Object(r["d"])([].slice.call(arguments),e=>{Object(r["k"])(e)?Object(r["e"])(t,e):Object(r["g"])(e)?t=t.concat(e):e&&(t[e]=!0)}),t}}};e["a"]=i},bc3a:function(t,e,n){t.exports=n("cee4")},be6f:function(t,e,n){},c084:function(t,e,n){"use strict";function r(t){return Array.isArray(t)}n.d(e,"a",(function(){return r}))},c345:function(t,e,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,o={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(o[e]&&i.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},c401:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function o(t){return"undefined"===typeof t}function s(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function f(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function h(t){return"[object Date]"===i.call(t)}function m(t){return"[object File]"===i.call(t)}function g(t){return"[object Blob]"===i.call(t)}function v(t){return"[object Function]"===i.call(t)}function b(t){return p(t)&&v(t.pipe)}function y(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function k(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function O(){var t={};function e(e,n){"object"===typeof t[n]&&"object"===typeof e?t[n]=O(t[n],e):t[n]=e}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],e);return t}function S(){var t={};function e(e,n){"object"===typeof t[n]&&"object"===typeof e?t[n]=S(t[n],e):t[n]="object"===typeof e?S({},e):e}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],e);return t}function j(t,e,n){return k(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}t.exports={isArray:a,isArrayBuffer:c,isBuffer:s,isFormData:u,isArrayBufferView:l,isString:f,isNumber:d,isObject:p,isUndefined:o,isDate:h,isFile:m,isBlob:g,isFunction:v,isStream:b,isURLSearchParams:y,isStandardBrowserEnv:x,forEach:k,merge:O,deepMerge:S,extend:j,trim:w}},c681:function(t,e,n){"use strict";var r=n("3bf5");e["a"]=r["a"]},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},ca14:function(t,e,n){"use strict";n.d(e,"a",(function(){return r["a"]})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return j["a"]})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return P})),n.d(e,"g",(function(){return S["a"]})),n.d(e,"h",(function(){return T})),n.d(e,"i",(function(){return $})),n.d(e,"j",(function(){return L["a"]})),n.d(e,"k",(function(){return o["a"]})),n.d(e,"l",(function(){return E})),n.d(e,"m",(function(){return q["a"]})),n.d(e,"n",(function(){return I})),n.d(e,"o",(function(){return D})),n.d(e,"p",(function(){return F})),n.d(e,"q",(function(){return H}));var r=n("fea0");function i(t,e,n=[]){const r=[...t];while(r.length)n.push(r.splice(0,e));return n}function a(...t){return Object.assign(...t)}var o=n("ef2b");function s(t,...e){if(!e.length)return t;const n=e.shift();if(Object(o["a"])(t)&&Object(o["a"])(n))for(const r in n)Object(o["a"])(n[r])?(t[r]||a(t,{[r]:{}}),s(t[r],n[r])):a(t,{[r]:n[r]});return s(t,...e)}var c=function(){return Date.now()},u=c;function l(t){return"symbol"===typeof t}var f=NaN,d=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,m=/^0o[0-7]+$/i,g=parseInt;function v(t){if("number"==typeof t)return t;if(l(t))return f;if(Object(o["a"])(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Object(o["a"])(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(d,"");var n=h.test(t);return n||m.test(t)?g(t.slice(2),n?2:8):p.test(t)?f:+t}var b=v,y="Expected a function",w=Math.max,x=Math.min;function k(t,e,n){var r,i,a,s,c,l,f=0,d=!1,p=!1,h=!0;if("function"!=typeof t)throw new TypeError(y);function m(e){var n=r,a=i;return r=i=void 0,f=e,s=t.apply(a,n),s}function g(t){return f=t,c=setTimeout(O,e),d?m(t):s}function v(t){var n=t-l,r=t-f,i=e-n;return p?x(i,a-r):i}function k(t){var n=t-l,r=t-f;return void 0===l||n>=e||n<0||p&&r>=a}function O(){var t=u();if(k(t))return S(t);c=setTimeout(O,v(t))}function S(t){return c=void 0,h&&r?m(t):(r=i=void 0,s)}function j(){void 0!==c&&clearTimeout(c),f=0,r=l=i=c=void 0}function C(){return void 0===c?s:S(u())}function _(){var t=u(),n=k(t);if(r=arguments,i=this,l=t,n){if(void 0===c)return g(l);if(p)return c=setTimeout(O,e),m(l)}return void 0===c&&(c=setTimeout(O,e)),s}return e=b(e)||0,Object(o["a"])(n)&&(d=!!n.leading,p="maxWait"in n,a=p?w(b(n.maxWait)||0,e):a,h="trailing"in n?!!n.trailing:h),_.cancel=j,_.flush=C,_}var O=k,S=n("c084");var j=n("f924");function C(t){return t&&t.length?t[0]:void 0}function _(t){return e=>{for(const n in t){if(Object(o["a"])(t[n]))return!!e[n]&&_(t[n])(e[n]);if(!e||e[n]!==t[n])return!1}return!0}}function E(t){return"string"===typeof t}function A(t,e){return(E(e)?e.split("."):Object(S["a"])(e)?e:[e]).reduce((t,e)=>t[e],t)}function N(t){return e=>A(e,t)}function $(t){return t instanceof Function}function B(t,e){return n=>A(n,t)===e}function R(t){return Object(o["a"])(t)?t=_(t):Object(S["a"])(t)?t=B(t[0],t[1]):$(t)||(t=N(t)),t}n("650a");function P(t,e){return C(Object.keys(t).filter(n=>R(e)(t[n])))}function T(t){return!0===t||!1===t}n("e5ce");var L=n("b7b9"),q=(n("1a98"),n("ff01"),n("6f37"));n("5471");function I(t,e){const n={};return Object(j["a"])(t,(t,r)=>{n[e(t,r)]=t}),n}function D(t,e){const n={};return Object(j["a"])(t,(t,r)=>{R(e)(t)&&(n[r]=t)}),n}var z="Expected a function";function M(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError(z);return Object(o["a"])(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),O(t,e,{leading:r,maxWait:e,trailing:i})}var F=M;n("0f2b");function H(t,e){return(...n)=>$(e)?e(t,...n):n}},cc77:function(t,e,n){},ccfa:function(t,e,n){},cee4:function(t,e,n){"use strict";var r=n("c532"),i=n("1d2b"),a=n("0a06"),o=n("4a7b"),s=n("2444");function c(t){var e=new a(t),n=i(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var u=c(s);u.Axios=a,u.create=function(t){return c(o(u.defaults,t))},u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),t.exports=u,t.exports.default=u},d657:function(t,e,n){},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}function i(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var o=a>=0?arguments[a]:t.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,r="/"===o.charAt(0))}return e=n(i(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),o="/"===a(t,-1);return t=n(i(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&o&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,c=0;c<o;c++)if(i[c]!==a[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(a.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),47===e){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,a=0,o=t.length-1;o>=0;--o){var s=t.charCodeAt(o);if(47!==s)-1===r&&(i=!1,r=o+1),46===s?-1===e?e=o:1!==a&&(a=1):-1!==e&&(a=-1);else if(!i){n=o+1;break}}return-1===e||-1===r||0===a||1===a&&e===r-1&&e===n+1?"":t.slice(e,r)};var a="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e5ce:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("b7b9"),i=n("c084"),a=n("ef2b"),o=n("6f37");function s(t){return Object(i["a"])(t)?0===t.length:Object(a["a"])(t)?0===Object.keys(t).length:""===t||Object(r["a"])(t)||Object(o["a"])(t)}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e75e:function(t,e,n){"use strict";n("be6f")},e7a6:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("ca14");function i(t,e,n="-"){const i=(t,r)=>{const i=(r||t).replace(new RegExp(`^${e}${n}?`),"");return[e,i].filter(t=>!!t).join(n)};return Object(r["h"])(t)?t:Object(r["k"])(t)?Object(r["n"])(t,i):i(t)}},ecee:function(t,e,n){"use strict";(function(t){
/*!
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function u(t,e){return d(t)||h(t,e)||g()}function l(t){return f(t)||p(t)||m()}function f(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function d(t){if(Array.isArray(t))return t}function p(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function h(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),e&&n.length===e)break}catch(c){i=!0,a=c}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw a}}return n}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(e,"b",(function(){return ce})),n.d(e,"a",(function(){return H})),n.d(e,"e",(function(){return ue})),n.d(e,"c",(function(){return ae})),n.d(e,"d",(function(){return se}));var v=function(){},b={},y={},w={mark:v,measure:v};try{"undefined"!==typeof window&&(b=window),"undefined"!==typeof document&&(y=document),"undefined"!==typeof MutationObserver&&MutationObserver,"undefined"!==typeof performance&&(w=performance)}catch(le){}var x=b.navigator||{},k=x.userAgent,O=void 0===k?"":k,S=b,j=y,C=w,_=(S.document,!!j.documentElement&&!!j.head&&"function"===typeof j.addEventListener&&"function"===typeof j.createElement),E=~O.indexOf("MSIE")||~O.indexOf("Trident/"),A="___FONT_AWESOME___",N=16,$="fa",B="svg-inline--fa",R="data-fa-i2svg",P=(function(){try{}catch(le){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),T=P.concat([11,12,13,14,15,16,17,18,19,20]),L={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},q=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",L.GROUP,L.SWAP_OPACITY,L.PRIMARY,L.SECONDARY].concat(P.map((function(t){return"".concat(t,"x")}))).concat(T.map((function(t){return"w-".concat(t)}))),S.FontAwesomeConfig||{});function I(t){var e=j.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}function D(t){return""===t||"false"!==t&&("true"===t||t)}if(j&&"function"===typeof j.querySelector){var z=[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];z.forEach((function(t){var e=u(t,2),n=e[0],r=e[1],i=D(I(n));void 0!==i&&null!==i&&(q[r]=i)}))}var M={familyPrefix:$,replacementClass:B,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},F=c({},M,q);F.autoReplaceSvg||(F.observeMutations=!1);var H=c({},F);S.FontAwesomeConfig=H;var U=S||{};U[A]||(U[A]={}),U[A].styles||(U[A].styles={}),U[A].hooks||(U[A].hooks={}),U[A].shims||(U[A].shims=[]);var V=U[A],K=[],W=function t(){j.removeEventListener("DOMContentLoaded",t),X=1,K.map((function(t){return t()}))},X=!1;_&&(X=(j.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(j.readyState),X||j.addEventListener("DOMContentLoaded",W));var J,Y="pending",G="settled",Z="fulfilled",Q="rejected",tt=function(){},et="undefined"!==typeof t&&"undefined"!==typeof t.process&&"function"===typeof t.process.emit,nt="undefined"===typeof setImmediate?setTimeout:setImmediate,rt=[];function it(){for(var t=0;t<rt.length;t++)rt[t][0](rt[t][1]);rt=[],J=!1}function at(t,e){rt.push([t,e]),J||(J=!0,nt(it,0))}function ot(t,e){function n(t){ut(e,t)}function r(t){ft(e,t)}try{t(n,r)}catch(le){r(le)}}function st(t){var e=t.owner,n=e._state,r=e._data,i=t[n],a=t.then;if("function"===typeof i){n=Z;try{r=i(r)}catch(le){ft(a,le)}}ct(a,r)||(n===Z&&ut(a,r),n===Q&&ft(a,r))}function ct(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"===typeof e||"object"===r(e))){var i=e.then;if("function"===typeof i)return i.call(e,(function(r){n||(n=!0,e===r?lt(t,r):ut(t,r))}),(function(e){n||(n=!0,ft(t,e))})),!0}}catch(le){return n||ft(t,le),!0}return!1}function ut(t,e){t!==e&&ct(t,e)||lt(t,e)}function lt(t,e){t._state===Y&&(t._state=G,t._data=e,at(pt,t))}function ft(t,e){t._state===Y&&(t._state=G,t._data=e,at(ht,t))}function dt(t){t._then=t._then.forEach(st)}function pt(t){t._state=Z,dt(t)}function ht(e){e._state=Q,dt(e),!e._handled&&et&&t.process.emit("unhandledRejection",e._data,e)}function mt(e){t.process.emit("rejectionHandled",e)}function gt(t){if("function"!==typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof gt===!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],ot(t,this)}gt.prototype={constructor:gt,_state:Y,_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(tt),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,this._state===Q&&et&&at(mt,this)),this._state===Z||this._state===Q?at(st,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},gt.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new gt((function(e,n){var r=[],i=0;function a(t){return i++,function(n){r[t]=n,--i||e(r)}}for(var o,s=0;s<t.length;s++)o=t[s],o&&"function"===typeof o.then?o.then(a(s),n):r[s]=o;i||e(r)}))},gt.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new gt((function(e,n){for(var r,i=0;i<t.length;i++)r=t[i],r&&"function"===typeof r.then?r.then(e,n):e(r)}))},gt.resolve=function(t){return t&&"object"===r(t)&&t.constructor===gt?t:new gt((function(e){e(t)}))},gt.reject=function(t){return new gt((function(e,n){n(t)}))};var vt=N,bt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function yt(t){if(t&&_){var e=j.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=j.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return j.head.insertBefore(e,r),t}}var wt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function xt(){var t=12,e="";while(t-- >0)e+=wt[62*Math.random()|0];return e}function kt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Ot(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(kt(t[n]),'" ')}),"").trim()}function St(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function jt(t){return t.size!==bt.size||t.x!==bt.x||t.y!==bt.y||t.rotate!==bt.rotate||t.flipX||t.flipY}function Ct(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)"),c={transform:"".concat(a," ").concat(o," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:c,path:u}}function _t(t){var e=t.transform,n=t.width,r=void 0===n?N:n,i=t.height,a=void 0===i?N:i,o=t.startCentered,s=void 0!==o&&o,c="";return c+=s&&E?"translate(".concat(e.x/vt-r/2,"em, ").concat(e.y/vt-a/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/vt,"em), calc(-50% + ").concat(e.y/vt,"em)) "):"translate(".concat(e.x/vt,"em, ").concat(e.y/vt,"em) "),c+="scale(".concat(e.size/vt*(e.flipX?-1:1),", ").concat(e.size/vt*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) "),c}var Et={x:0,y:0,width:"100%",height:"100%"};function At(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Nt(t){return"g"===t.tag?t.children:[t]}function $t(t){var e=t.children,n=t.attributes,r=t.main,i=t.mask,a=t.maskId,o=t.transform,s=r.width,u=r.icon,l=i.width,f=i.icon,d=Ct({transform:o,containerWidth:l,iconWidth:s}),p={tag:"rect",attributes:c({},Et,{fill:"white"})},h=u.children?{children:u.children.map(At)}:{},m={tag:"g",attributes:c({},d.inner),children:[At(c({tag:u.tag,attributes:c({},u.attributes,d.path)},h))]},g={tag:"g",attributes:c({},d.outer),children:[m]},v="mask-".concat(a||xt()),b="clip-".concat(a||xt()),y={tag:"mask",attributes:c({},Et,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,g]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:Nt(f)},y]};return e.push(w,{tag:"rect",attributes:c({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Et)}),{children:e,attributes:n}}function Bt(t){var e=t.children,n=t.attributes,r=t.main,i=t.transform,a=t.styles,o=St(a);if(o.length>0&&(n["style"]=o),jt(i)){var s=Ct({transform:i,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:c({},s.outer),children:[{tag:"g",attributes:c({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:c({},r.icon.attributes,s.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}function Rt(t){var e=t.children,n=t.main,r=t.mask,i=t.attributes,a=t.styles,o=t.transform;if(jt(o)&&n.found&&!r.found){var s=n.width,u=n.height,l={x:s/u/2,y:.5};i["style"]=St(c({},a,{"transform-origin":"".concat(l.x+o.x/16,"em ").concat(l.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}function Pt(t){var e=t.prefix,n=t.iconName,r=t.children,i=t.attributes,a=t.symbol,o=!0===a?"".concat(e,"-").concat(H.familyPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:c({},i,{id:o}),children:r}]}]}function Tt(t){var e=t.icons,n=e.main,r=e.mask,i=t.prefix,a=t.iconName,o=t.transform,s=t.symbol,u=t.title,l=t.maskId,f=t.titleId,d=t.extra,p=t.watchable,h=void 0!==p&&p,m=r.found?r:n,g=m.width,v=m.height,b="fak"===i,y=b?"":"fa-w-".concat(Math.ceil(g/v*16)),w=[H.replacementClass,a?"".concat(H.familyPrefix,"-").concat(a):"",y].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),x={children:[],attributes:c({},d.attributes,{"data-prefix":i,"data-icon":a,class:w,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},k=b&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};h&&(x.attributes[R]=""),u&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||xt())},children:[u]});var O=c({},x,{prefix:i,iconName:a,main:n,mask:r,maskId:l,transform:o,symbol:s,styles:c({},k,d.styles)}),S=r.found&&n.found?$t(O):Bt(O),j=S.children,C=S.attributes;return O.children=j,O.attributes=C,s?Pt(O):Rt(O)}function Lt(t){var e=t.content,n=t.width,r=t.height,i=t.transform,a=t.title,o=t.extra,s=t.watchable,u=void 0!==s&&s,l=c({},o.attributes,a?{title:a}:{},{class:o.classes.join(" ")});u&&(l[R]="");var f=c({},o.styles);jt(i)&&(f["transform"]=_t({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f["transform"]);var d=St(f);d.length>0&&(l["style"]=d);var p=[];return p.push({tag:"span",attributes:l,children:[e]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var qt=function(){},It=(H.measurePerformance&&C&&C.mark&&C.measure,function(t,e){return function(n,r,i,a){return t.call(e,n,r,i,a)}}),Dt=function(t,e,n,r){var i,a,o,s=Object.keys(t),c=s.length,u=void 0!==r?It(e,r):e;for(void 0===n?(i=1,o=t[s[0]]):(i=0,o=n);i<c;i++)a=s[i],o=u(o,t[a],a,t);return o};function zt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,a=Object.keys(e).reduce((function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!==typeof V.hooks.addPack||i?V.styles[t]=c({},V.styles[t]||{},a):V.hooks.addPack(t,a),"fas"===t&&zt("fa",e)}var Mt=V.styles,Ft=V.shims,Ht=function(){var t=function(t){return Dt(Mt,(function(e,n,r){return e[r]=Dt(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in Mt;Dt(Ft,(function(t,n){var r=n[0],i=n[1],a=n[2];return"far"!==i||e||(i="fas"),t[r]={prefix:i,iconName:a},t}),{})};Ht();V.styles;function Ut(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Vt(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,i=t.children,a=void 0===i?[]:i;return"string"===typeof t?kt(t):"<".concat(e," ").concat(Ot(r),">").concat(a.map(Vt).join(""),"</").concat(e,">")}var Kt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return t.flipX=!0,t;if(r&&"v"===i)return t.flipY=!0,t;if(i=parseFloat(i),isNaN(i))return t;switch(r){case"grow":t.size=t.size+i;break;case"shrink":t.size=t.size-i;break;case"left":t.x=t.x-i;break;case"right":t.x=t.x+i;break;case"up":t.y=t.y-i;break;case"down":t.y=t.y+i;break;case"rotate":t.rotate=t.rotate+i;break}return t}),e):e};function Wt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}Wt.prototype=Object.create(Error.prototype),Wt.prototype.constructor=Wt;var Xt={fill:"currentColor"},Jt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},Yt=(c({},Xt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),c({},Jt,{attributeName:"opacity"}));c({},Xt,{cx:"256",cy:"364",r:"28"}),c({},Jt,{attributeName:"r",values:"28;14;28;28;14;28;"}),c({},Yt,{values:"1;0;1;1;0;1;"}),c({},Xt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),c({},Yt,{values:"1;0;0;0;0;1;"}),c({},Xt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),c({},Yt,{values:"0;0;1;1;0;0;"}),V.styles;function Gt(t){var e=t[0],n=t[1],r=t.slice(4),i=u(r,1),a=i[0],o=null;return o=Array.isArray(a)?{tag:"g",attributes:{class:"".concat(H.familyPrefix,"-").concat(L.GROUP)},children:[{tag:"path",attributes:{class:"".concat(H.familyPrefix,"-").concat(L.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(H.familyPrefix,"-").concat(L.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:e,height:n,icon:o}}V.styles;var Zt='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';function Qt(){var t=$,e=B,n=H.familyPrefix,r=H.replacementClass,i=Zt;if(n!==t||r!==e){var a=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var te=function(){function t(){i(this,t),this.definitions={}}return o(t,[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(e){t.definitions[e]=c({},t.definitions[e]||{},i[e]),zt(e,i[e]),Ht()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],i=r.prefix,a=r.iconName,o=r.icon;t[i]||(t[i]={}),t[i][a]=o})),t}}]),t}();function ee(){H.autoAddCss&&!oe&&(yt(Qt()),oe=!0)}function ne(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Vt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(_){var e=j.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function re(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return Ut(ae.definitions,n,r)||Ut(V.styles,n,r)}function ie(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(e||{}).icon?e:re(e||{}),i=n.mask;return i&&(i=(i||{}).icon?i:re(i||{})),t(r,c({},n,{mask:i}))}}var ae=new te,oe=!1,se={transform:function(t){return Kt(t)}},ce=ie((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?bt:n,i=e.symbol,a=void 0!==i&&i,o=e.mask,s=void 0===o?null:o,u=e.maskId,l=void 0===u?null:u,f=e.title,d=void 0===f?null:f,p=e.titleId,h=void 0===p?null:p,m=e.classes,g=void 0===m?[]:m,v=e.attributes,b=void 0===v?{}:v,y=e.styles,w=void 0===y?{}:y;if(t){var x=t.prefix,k=t.iconName,O=t.icon;return ne(c({type:"icon"},t),(function(){return ee(),H.autoA11y&&(d?b["aria-labelledby"]="".concat(H.replacementClass,"-title-").concat(h||xt()):(b["aria-hidden"]="true",b["focusable"]="false")),Tt({icons:{main:Gt(O),mask:s?Gt(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:k,transform:c({},bt,r),symbol:a,title:d,maskId:l,titleId:h,extra:{attributes:b,styles:w,classes:g}})}))}})),ue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?bt:n,i=e.title,a=void 0===i?null:i,o=e.classes,s=void 0===o?[]:o,u=e.attributes,f=void 0===u?{}:u,d=e.styles,p=void 0===d?{}:d;return ne({type:"text",content:t},(function(){return ee(),Lt({content:t,transform:c({},bt,r),title:a,extra:{attributes:f,styles:p,classes:["".concat(H.familyPrefix,"-layers-text")].concat(l(s))}})}))}}).call(this,n("c8ba"))},ef2b:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("b7b9"),i=n("c084");function a(t){return"object"===typeof t&&!Object(r["a"])(t)&&!Object(i["a"])(t)}},f53d:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"giveworks-form"},[this.$route.params.slug&&this.$route.query.apiKey?n("div",{staticClass:"container"},[n("giveworks-form",{attrs:{env:this.$route.query.env,mode:this.$route.query.mode,"page-id":this.$route.params.slug,source:this.$route.params.source||this.$route.query.source,session:this.$route.params.session||this.$route.query.session,"tracking-id":this.$route.query.trackingId||this.$route.query.tracking_id||this.$route.query.tid,"api-key":this.$route.query.apiKey}})],1):n("div",{staticClass:"container"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-lg-6"},[n("alert",{attrs:{variant:"danger"}},[n("h3",[t._v("Invalid Url")]),n("p",[t._v("To test a page make sure you have a slug and API key defined.")]),n("p",[n("code",[n("pre",{staticClass:"p-2 bg-light text-danger"},[t._v("/ffff/tell_congress_to_end_bi")])])])]),n("form",{on:{submit:function(e){return e.preventDefault(),t.onSubmit(e)}}},[n("p",[t._v("* Indicates required fields.")]),n("input-field",{attrs:{label:"Site Short Name*",placeholder:"Site Short Name*","help-text":"Example: 'ffff'",custom:""},model:{value:t.form.short,callback:function(e){t.$set(t.form,"short",e)},expression:"form.short"}}),n("input-field",{attrs:{label:"Page ID or Slug*",placeholder:"Page ID or Slug*","help-text":"Example: 'tell_congress_to_end_bi'",custom:""},model:{value:t.form.slug,callback:function(e){t.$set(t.form,"slug",e)},expression:"form.slug"}}),n("input-field",{attrs:{label:"API Key*",placeholder:"API Key* ","help-text":"The Giveworks API for site.",custom:""},model:{value:t.form.apiKey,callback:function(e){t.$set(t.form,"apiKey",e)},expression:"form.apiKey"}}),n("input-field",{attrs:{label:"Source Code",placeholder:"Source Code","help-text":"Source codes are optional.",custom:""},model:{value:t.form.source,callback:function(e){t.$set(t.form,"source",e)},expression:"form.source"}}),n("input-field",{attrs:{label:"Session Id",placeholder:"Session Id","help-text":"Sessions are optional.",custom:""},model:{value:t.form.session,callback:function(e){t.$set(t.form,"session",e)},expression:"form.session"}}),n("input-field",{attrs:{label:"Tracking Id",placeholder:"Tracking Id","help-text":"Tracking ID's are optional.",custom:""},model:{value:t.form.trackingId,callback:function(e){t.$set(t.form,"trackingId",e)},expression:"form.trackingId"}}),n("div",{staticClass:"card mb-3"},[n("div",{staticClass:"card-body"},[n("strong",[t._v("Server")]),n("radio-field",{attrs:{label:"Production",value:"production"},model:{value:t.form.mode,callback:function(e){t.$set(t.form,"mode",e)},expression:"form.mode"}}),n("radio-field",{attrs:{label:"Staging",value:"staging"},model:{value:t.form.mode,callback:function(e){t.$set(t.form,"mode",e)},expression:"form.mode"}}),n("radio-field",{attrs:{label:"Development",value:"development"},model:{value:t.form.mode,callback:function(e){t.$set(t.form,"mode",e)},expression:"form.mode"}})],1)]),n("btn",{attrs:{disabled:!t.form.short||!t.form.slug||!t.form.apiKey,size:"lg",block:""}},[t._v(" Go To Page ")])],1)],1)])])])},i=[],a=n("9719"),o=n("3259"),s=function(){var t=this,e=this,n=e.$createElement,r=e._self._c||n;return r("div",{staticClass:"giveworks-form"},[e.error?r("div",[r("div",{staticClass:"center-wrapper"},[r("div",{staticClass:"center-content"},[r("http-error-response",{attrs:{error:e.error}})],1)])]):e.page.id?r("form",{staticClass:"container",class:e.classes,attrs:{novalidate:"novalidate"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[r(e.pageTypeComponent,{ref:"type",tag:"component",attrs:{orientation:e.orientation,page:e.page,source:e.source,"tracking-id":e.trackingId,redirect:e.redirect,"http-options":e.httpOptions},on:{error:e.onError,init:function(t){return e.$emit("init")},submit:function(){var e,n=[],r=arguments.length;while(r--)n[r]=arguments[r];return(e=t).$emit.apply(e,["submit"].concat(n))},"submit-success":function(){var e,n=[],r=arguments.length;while(r--)n[r]=arguments[r];return(e=t).$emit.apply(e,["submit-success"].concat(n))},"submit-failed":function(){var e,n=[],r=arguments.length;while(r--)n[r]=arguments[r];return(e=t).$emit.apply(e,["submit-failed"].concat(n))},"submit-complete":function(){var e,n=[],r=arguments.length;while(r--)n[r]=arguments[r];return(e=t).$emit.apply(e,["submit-complete"].concat(n))}}})],1):r("div",[r("activity-indicator",{attrs:{size:"lg",center:""}})],1)])},c=[],u=n("850f"),l=function(t){let e;switch(t||window.location.hostname){case"staging":case"dev5.giveworks.net":e="https://dev5.giveworks.net";break;case"production":case"giveworks.net":case"secure.giveworks.net":e="https://secure.giveworks.net";break;default:e="https://giveworks.test"}return{baseURL:e+"/api/public/v1/"}},f=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-left"},[n("alert",{style:{width:t.widthUnit,"min-width":t.minWidthUnit,"max-width":t.maxWidthUnit},attrs:{variant:"danger",heading:"Error: "+t.status}},[t._v(" "+t._s(t.formattedMessage)+" ")])],1)},d=[],p=n("0f2b"),h={name:"HttpErrorResponse",components:{Alert:()=>n.e("vue-interface").then(n.bind(null,"3259"))},props:{minWidth:String,maxWidth:String,width:String,error:{type:[Object,Error],required:!0}},computed:{widthUnit(){return Object(p["a"])(this.width)},minWidthUnit(){return Object(p["a"])(this.minWidth)},maxWidthUnit(){return Object(p["a"])(this.maxWidth)},status(){return this.error.status||400},formattedMessage(){return this.error.data&&this.error.data.errors?Object.keys(this.error.data.errors).reduce((t,e)=>t.concat([this.error.data.errors[e]]),[]).join("<br>"):this.error.data&&this.error.data.message?this.error.data.message:this.error.message}}},m=h,g=n("2877"),v=Object(g["a"])(m,f,d,!1,null,null,null),b=v.exports,y=(n("1757"),n("353a"),n("ca14")),w={name:"GiveworksForm",components:{HttpErrorResponse:b,Signup:()=>n.e("signup-type").then(n.bind(null,"0dce")),Survey:()=>n.e("survey-type").then(n.bind(null,"cc21")),Petition:()=>n.e("petition-type").then(n.bind(null,"4053")),Donation:()=>n.e("donation-type").then(n.bind(null,"9ceb")),ActivityIndicator:()=>n.e("vue-interface").then(n.bind(null,"a633"))},props:{apiKey:{type:String,required:!0},data:[Boolean,Object],mode:{type:String,default:"production"},orientation:{type:String,default:"vertical",validator:t=>-1!==["vertical","horizontal"].indexOf(t)},pageId:[Number,String],redirect:{type:[Boolean,String],default:void 0},source:[String,Number],session:[String,Number],trackingId:[String,Number],onSubmitSuccess:Function},data(){return{error:null,wasValidated:!1,page:this.data||{}}},computed:{classes(){return{"was-validated":this.wasValidated,"text-sm":this.width<100}},httpOptions(){return Object.assign({},l(this.mode),{headers:Object(y["o"])({Accept:"application/json",Authorization:"Bearer "+this.apiKey,"Session-Id":this.session||new URLSearchParams(location.search).get("sessionid")},t=>!!t)})},pageTypeComponent(){return this.page.special}},mounted(){const t="e66068bbbefd6ad235c13b0c178480da";Promise.all([Promise.resolve().then(n.t.bind(null,"353a",7)),n.e("chunk-2d0b8ecd").then(n.t.bind(null,"3181",7))]).then(([{default:e},{default:n}])=>{e({apiKey:t,releaseStage:this.mode,notifyReleaseStages:["production"]}).use(n,this.$root.constructor)}).finally(()=>{!this.page.id&&this.apiKey?u["a"].find(this.pageId,this.httpOptions).then(t=>{this.page=t.toJson()},t=>{this.error=t}):this.apiKey||(this.error=new Error('Missing required prop: "api-key"'),this.error.status=500),window.addEventListener("resize",this.onResize())})},destroyed(){window.removeEventListener("resize",this.onResize)},methods:{submit(t){this.$refs.type.submit(t).then(this.$refs.type.onSubmitSuccess,this.$refs.type.onSubmitError).then(()=>{this.wasValidated=!0},t=>{console.warn(t),this.$emit("error",t)})},onResize(){return this.width=this.$el.offsetWidth,this.onResize},onError(t){this.error=t}}},x=w,k=(n("2760"),Object(g["a"])(x,s,c,!1,null,null,null)),O=k.exports,S=n("46d8"),j=n("b78d"),C={components:{Btn:a["default"],Alert:o["default"],InputField:S["default"],RadioField:j["default"],GiveworksForm:O},data(){return{form:Object.assign({mode:"production",source:this.$route.query.source||null,slug:null,short:null,apiKey:null},this.$store.state.form)}},watch:{form:{deep:!0,handler(t){this.$store.commit("form",t)}}},methods:{onSubmit(){this.$router.push({name:"index",query:{mode:this.form.mode,apiKey:this.form.apiKey,trackingId:this.form.trackingId},params:Object(y["o"])({apiKey:null,slug:this.form.slug,short:this.form.short,source:this.form.source,session:this.form.session},t=>!!t)})}}},_=C,E=Object(g["a"])(_,r,i,!1,null,null,null);e["default"]=E.exports},f6b4:function(t,e,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},f924:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("650a");function i(t,e){for(const n in t)e(t[n],Object(r["a"])(n))}},f9e9:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{class:t.classes},[t._t("default")],2)},i=[],a=n("ca14"),o=n("3bf5"),s=n("836f"),c={name:"FormLabel",mixins:[o["a"],s["a"]],computed:{classes(){return Object(a["e"])({},this.screenreaderClasses,this.colorableClasses)}}},u=c,l=n("2877"),f=Object(l["a"])(u,r,i,!1,null,null,null),d=f.exports;e["a"]=d},fea0:function(t,e,n){"use strict";function r(t){return t=t.toLowerCase().replace(/(?:(^.)|([-_\s]+.))/g,(function(t){return t.charAt(t.length-1).toUpperCase()})),t.charAt(0).toLowerCase()+t.substring(1)}n.d(e,"a",(function(){return r}))},ff01:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("c084"),i=n("1a98");function a(t){return Object(i["a"])(t)||!!t&&!Object(r["a"])(t)&&!!t.toString().match(/^-?[\d.,]+$/)}}}]);
//# sourceMappingURL=chunk-31efe3b5.084714fc.js.map