PageSourceSearch

https://standup-and-prosper.com/app/js/app.abfee4de.js

js standup-and-prosper.com collected 2026-10-03 20:48:29 UTC 165,484 bytes, 3 lines download raw bytes

vendor: 5,899 bytes, lines 1-2
1/*! For license information please see app.abfee4de.js.LICENSE.txt */
2(()=>{"use strict";var t,e,r,n={1579:(t,e,r)=>{r.d(e,{A:()=>n});const n={version:{releaseDate:"2026-09-14T07:49:34.589Z",buildNumber:"2846028981",buildRef:"master",buildCommit:"0f1b91f7"},deployment:{fdqn:"standup-and-prosper.com",logTarget:"Standup"}}},489:(t,e,r)=>{r.d(e,{A:()=>n});const n={plans:{EARLY_ADOPTER:"EARLY_ADOPTER",STANDUP:"STANDUP",SUPPORT_MONTH:"SUPPORT_MONTH",SUPPORT_YEAR:"SUPPORT_YEAR",PROSPER_MONTH:"PROSPER_MONTH",PROSPER_YEAR:"PROSPER_YEAR",ENTERPRISE:"ENTERPRISE"},paidFeatureValues:{maxAllowedStandupQuestions:10,advancedScheduling:!0,timezoneAwareReminders:!0,customMessages:!0,reportSortOrder:!0,requiredQuestions:!0,publishEarly:!0,questionPool:!0,allowApiAccess:!0,useWebhook:!0,allowCopyForwardAnswers:!0,editorsAndReviewers:!0,regexTemplates:!0,customRetentionPeriod:!0,holidays:!0,allowEditsAfterCompletion:!0}}},8158:(t,e,r)=>{r.d(e,{A:()=>m}),r(4334),r(1273),r(4941),r(1639),r(878);var n,o=r(5476),a=r(7482),i=r(5410),c=r(4816),s=r(489);function u(t){return u="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},u(t)}function l(){l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function h(t,e,r,o){var a=e&&e.prototype instanceof f?e:f,i=Object.create(a.prototype),c=new I(o||[]);return n(i,"_invoke",{value:A(t,r,c)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=h;var p={};function f(){}function v(){}function m(){}var y={};s(y,a,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(T([])));w&&w!==e&&r.call(w,a)&&(y=w);var b=m.prototype=f.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function o(n,a,i,c){var s=d(t[n],t,a);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==u(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){l.value=t,i(l)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function A(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=E(i,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=d(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=d(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return v.prototype=m,n(b,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:v,configurable:!0}),v.displayName=s(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(k.prototype),s(k.prototype,i,(function(){return this})),t.AsyncIterator=k,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new k(h(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(b),s(b,c,"Generator"),s(b,a,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function h(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function d(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){h(a,n,o,i,c,"next",t)}function c(t){h(a,n,o,i,c,"throw",t)}i(void 0)}))}}"production"===a.A&&o.Ay.init("phc_5t3EJzo00nV7cJ9RpP2zcwXGSF07BO0igulcyfR5r0v",{api_host:"https://live.standup-and-prosper.com",ui_host:"https://eu.posthog.com",person_profiles:"identified_only",disable_external_dependency_loading:!0,persistence:"localStorage",disable_session_recording:!0,session_recording:{maskAllInputs:!0,maskInputFn:function(t,e){var r,n,o,a=["email","password"];return-1!==a.indexOf(null==e||null===(r=e.attributes.type)||void 0===r?void 0:r.value)||-1!==a.indexOf(null==e||null===(n=e.attributes.id)||void 0===n?void 0:n.value)||null!=e&&null!==(o=e.className)&&void 0!==o&&o.match(/fs-exclude|ph-no-capture|sensitive/)||e.closest(".fs-exclude, .ph-no-capture, .sensitive")?"•".repeat(t.length):t},maskTextSelector:".fs-exclude, .ph-no-capture, .sensitive"}});var p=new Promise((function(t){return n=t})),f=!1,v=Math.random()<.4;const m={constructor:function(){this.sessionId_str=null,this.userContinuationId_str=null,this.uiVersion_str=null},setKeys:function(t,e){this.userContinuationId_str=t.userContinuationId,this.sessionId_str=t.sessionId,this.uiVersion_str=e},fullStoryIdentify:function(t){var e,r,n,i,u,l,h=c.A.state.profile.userId,d=c.A.state.profile.displayName,p=c.A.state.profile.email,f=c.A.state.cache.currentTeam,m=Object.keys((null===(e=c.A.state.cache.currentTeam)||void 0===e||null===(r=e.features)||void 0===r?void 0:r.setInfo)||{})[0];if((v=t||!(null!=f&&null!==(n=f.features)&&void 0!==n&&n.internal)&&(v||(null==m?void 0:m.startsWith(s.A.plans.SUPPORT_MONTH))||(null==m?void 0:m.startsWith(s.A.plans.SUPPORT_YEAR))||(null==m?void 0:m.startsWith(s.A.plans.PROSPER_MONTH))||(null==m?void 0:m.startsWith(s.A.plans.PROSPER_YEAR))||(null==m?void 0:m.startsWith(s.A.plans.ENTERPRISE))||(null==m?void 0:m.startsWith(s.A.plans.EARLY_ADOPTER))||(null===(i=c.A.state.cache.currentTeam)||void 0===i||null===(u=i.features)||void 0===u||null===(l=u.billingAlert)||void 0===l?void 0:l.locked)||"INSTALLER"===c.A.state.profile.tokenType))&&"TAYNSFH7T"!==c.A.state.profile.teamId&&("T024H30VD"!==c.A.state.profile.teamId||"U024H3101"===h)){this.identifyAnonymous();var y={accountId:c.A.state.profile.teamId};c.A.state.profile.enterpriseId&&(y.enterpriseId=c.A.state.profile.enterpriseId),d&&(y.displayName="".concat(d.split(" ")[0]," (").concat(h,")")),p&&(y.email="anonymous@".concat(p.split("@")[1])),o.Ay.identify(h,Object.assign({userId:h,environment:a.A,uiVersion:this.uiVersion_str,accountId:c.A.state.profile.teamId,enterpriseId:c.A.state.profile.enterpriseId},y),{referrerData:c.A.state.permanentCache.referrerData||{}}),o.Ay.group("accountId",c.A.state.profile.teamId,{}),o.Ay.group("enterpriseId",c.A.state.profile.enterpriseId,{}),o.Ay.group("environment",a.A,{}),o.Ay.group("ui_version",this.uiVersion_str,{}),o.Ay.register({accountId:c.A.state.profile.teamId,uiVersion:this.uiVersion})}},identifyAnonymous:function(){if(!f&&v){f=!0,o.Ay.startSessionRecording();try{o.Ay.capture("session_started",Object.assign({userContinuationId:this.userContinuationId_str,sessionId:this.sessionId_str,uiVersion:this.uiVersion_str},c.A.state.permanentCache.referrerData))}catch(t){}n()}}
vendor: 5,518 bytes, line 2
2,setAccountId:function(){return d(l().mark((function t(){var e,r;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.A.state.profile.teamId,r=c.A.state.profile.enterpriseId,t.next=4,p;case 4:try{e&&(o.Ay.capture("Account Set",{accountId:e,enterpriseId:r,$set:{accountId:e,enterpriseId:r}}),o.Ay.register({accountId:e}),o.Ay.group("accountId",e,{}),o.Ay.group("enterpriseId",r,{}))}catch(t){}case 5:case"end":return t.stop()}}),t)})))()},event:function(t,e){return d(l().mark((function r(){return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i.A.debug({title:"Event - ".concat(t),type:"EVENT",category:t,event:e}),r.next=3,p;case 3:try{o.Ay.capture(t,e||{})}catch(t){}case 4:case"end":return r.stop()}}),r)})))()}}},5410:(t,e,r)=>{r.d(e,{A:()=>w}),r(3855);var n=r(8414),o=r.n(n),a=r(4106),i=r.n(a),c=r(5476),s=r(7482),u=r(4816),l=r(1579),h=r(4641);function d(){d=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof f?e:f,i=Object.create(a.prototype),c=new I(o||[]);return n(i,"_invoke",{value:A(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function f(){}function v(){}function m(){}var y={};s(y,a,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(T([])));w&&w!==e&&r.call(w,a)&&(y=w);var b=m.prototype=f.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==p(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function A(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=E(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function T(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return v.prototype=m,n(b,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:v,configurable:!0}),v.displayName=s(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(k.prototype),s(k.prototype,i,(function(){return this})),t.AsyncIterator=k,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new k(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},x(b),s(b,c,"Generator"),s(b,a,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function p(t){return p="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},p(t)}function f(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function v(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){f(a,n,o,i,c,"next",t)}function c(t){f(a,n,o,i,c,"throw",t)}i(void 0)}))}}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==p(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===p(o)?o:String(o)),n)}var o}var y="standup-and-prosper_sessionId",g="https://relay.rhosys.ch/v1/logs";const w=new(function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.storageProvider=localStorage,this.messagesToPost=[],window.setInterval((function(){return e.flush()}),15e3)}var e,r,n,a;return e=t,r=[{key:"initialize",value:function(){var t=o().v4();try{this.sessionKey=JSON.parse(this.storageProvider.getItem(y)||null)||{userContinuationId:t}}catch(e){this.sessionKey={userContinuationId:t}}this.sessionKey.sessionId=t;try{this.storageProvider.setItem(y,JSON.stringify(this.sessionKey));var e=window.location.hostname.split(".").reverse().slice(0,2).reverse().join("."),r="SP=".concat(this.sessionKey.userContinuationId,"|").concat(this.sessionKey.sessionId,"; expires=").concat(h.c9.utc().plus({years:1}).toHTTP(),"; path=/; domain=").concat(e,"; SameSite=Lax");document.cookie=r}catch(t){this.error({title:"Failed to initialize logger correctly",error:t})}}},{key:"critical",value:function(t){arguments.length>
21&&void 0!==arguments[1]&&!arguments[1]?console.debug(t):console.error(t),this.logInternal(t,"CRITICAL")}},{key:"error",value:function(t){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?console.debug(t):console.error(t),this.logInternal(t,"ERROR")}},{key:"warn",value:function(t){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?console.debug(t):console.warn(t),this.logInternal(t,"WARN")}},{key:"log",value:function(t){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?console.debug(t):console.info(t),this.logInternal(t,"INFO")}},{key:"info",value:function(t){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?console.debug(t):console.info(t),this.logInternal(t,"INFO")}},{key:"track",value:function(t){arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?console.debug(t):console.info(t),this.logInternal(t,"TRACK")}},{key:"debug",value:function(t){(arguments.length>1&&void 0!==arguments[1]&&arguments[1]||"production"!==s.A)&&console.debug(t),this.logInternal(t,"DEBUG")}},{key:"logInternal",value:(a=v(d().mark((function t(e){var r,n,o,a,h,f,v,m,y=arguments;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=y.length>1&&void 0!==y[1]?y[1]:"INFO",e){t.next=4;break}return console.error("Sumo Logic Logger requires that you pass a value to log."),t.abrupt("return");case 4:if(h=p(e),f=e,"undefined"!==h&&("string"!==h||""!==e)){t.next=11;break}return console.error("Sumo Logic Logger requires that you pass a value to log."),t.abrupt("return");case 11:if("string"!==h){t.next=15;break}f={title:e},t.next=18;break;case 15:if("object"!==h||0!==Object.keys(e).length){t.next=18;break}return console.error("Sumo Logic Logger requires that you pass a non-empty JSON object to log."),t.abrupt("return");case 18:if(v={timestamp:(new Date).toISOString(),user:u.A.state.profile.userId||"unknown",team:u.A.state.profile.teamId||u.A.state.profile.enterpriseId||"unknown",enterprise:u.A.state.profile.enterpriseId||null,url:window.location.href,sessionUrl:c.Ay.get_session_replay_url({withTimestamp:!0,timestampLookBack:30}),route:this.getRoute?this.getRoute():"unknown",version:l.A.version,userAgent:(null===(r=window.navigator)||void 0===r||null===(n=r.userAgentData)||void 0===n?void 0:n.brands)||(null===(o=window.navigator)||void 0===o?void 0:o.userAgent),environment:s.A||"local",level:a,sessionId:this.sessionKey,referrerData:u.A.state.permanentCache.referrerData,message:f},m=function(t,e){return e instanceof URL?e.toString():e},"production"!==v.environment){t.next=35;break}t.prev=21,this.messagesToPost.push(this.truncateToken(i()(v,m))),t.next=35;break;case 25:return t.prev=25,t.t0=t.catch(21),t.prev=27,t.next=30,this.flush();case 30:t.next=35;break;case 32:t.prev=32,t.t1=t.catch(27),this.messagesToPost.push(i()({timestamp:(new Date).toISOString(),level:"ERROR",message:{title:"Failed to queue logging message due to error",retryError:t.t1,error:{message:t.t0.message,code:t.t0.code,stack:t.t0.stack}}}));case 35:this.messagesToPost.length>25&&this.flush();case 36:case"end":return t.stop()}}),t,this,[[21,25],[27,32]])}))),function(t){return a.apply(this,arguments)})},{key:"nextMessagesAsPayload",value:function(){var t=this.messagesToPost.reduce((function(t,e){return"".concat(t).concat(e,"\n")}),"");return this.messagesToPost=[],t}},{key:"flush",value:(n=v(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==this.messagesToPost.length){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,fetch(g,{method:"POST",body:this.nextMessagesAsPayload(),headers:{"Content-Type":"text/plain","X-Sumo-Name":"Website","X-Sumo-Category":"Standup"}});case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),console.error("Failed to send log",this.messagesToPost,t.t0.message,t.t0);case 10:case"end":return t.stop()}}),t,this,[[2,7]])}))),function(){return n.apply(this,arguments)})},{key:"flushOnUnload",value:function(){try{if(navigator.sendBeacon&&this.messagesToPost.length>0){var t=this.nextMessagesAsPayload(),e=new Blob([t],{type:"text/plain"});navigator.sendBeacon(g,e)}}catch(t){console.log("Failed to flush the log relay successfully",t)}}},{key:"truncateToken",value:function(t){return t.replace(/(eyJ[a-zA-Z0-9_-]{5,}\.eyJ[a-zA-Z0-9_-]{5,})\.[a-zA-Z0-9_-]*/gi,(function(t,e){return"".concat(e,".<sig>")}))}}],r&&m(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}())},8444:(t,e,r)=>{r.r(e),r.d(e,{default:()=>i});var n=r(5471),o=n.Ay.observable({xs:!1,sm:!1,md:!1,lg:!1,xl:!1});function a(){n.Ay.set(o,"xs",!!window.matchMedia("(max-width: 575.98px)").matches),n.Ay.set(o,"sm",!!window.matchMedia("(min-width: 576px) and (max-width: 767.98px)").matches),n.Ay.set(o,"md",!!window.matchMedia("(min-width: 768px) and (max-width: 991.98px)").matches),n.Ay.set(o,"lg",!!window.matchMedia("(min-width: 992px) and (max-width: 1199.98px)").matches),n.Ay.set(o,"xl",!!window.matchMedia("(min-width: 1200px)").matches)}document.addEventListener("DOMContentLoaded",(function(){try{a()}catch(t){}})),window.addEventListener("resize",a);const i=o},7482:(t,e,r)=>{r.d(e,{A:()=>n});const n=window&&window.location?"standup-and-prosper.com"===window.location.hostname?"production":"tst.standup-and-prosper.com"===window.location.hostname&&window.location.pathname.includes("/PR")?"pull-request":"tst.standup-and-prosper.com"===window.location.hostname?"test":"development":null},5293:(t,e,r)=>{r.d(e,{A:()=>s});var n=r(8414),o=r.n(n),a=r(4816);function i(t){return i="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},i(t)}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==i(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===i(o)?o:String(o)),n)}var o}const s=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r;return e=t,r=[{key:"createAlert",value:function(t,e){var r={message:t,details:e,alertType:arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",timeoutInMs:arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,persistent:arguments.length>4&&void 0!==arguments[4]&&arguments[4],alertId:o().v4()};a.A.commit("setAlert",r)}},{key:"removeAlert",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];a.A.commit("removeAlert",{type:t,force:e})}},{key:"removeSpecificAlert",value:function(t){a.A.commit("removeSpecificAlert",t)}}],r&&c(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}())},3747:(t,e,r)=>{r(8133);var n=r(5471),o=r(173),a=r(6452),i=r.n(a),c=r(6283),s=r.n(c),u=r(5681),l=r.n(u),h=r(9713),d=r(5293),p=r(5410),f=r(8276),v=r.n(f),m=r(4816),y=r(4641),g=function(){return r.e(240).then(r.bind(r,198))},w=function(){return r.e(957).then(r.bind(r,7258))},b=function(){return r.e(164).then(r.bind(r,2218))},x=function(){return r.e(672).then(r.bind(r,7696))},k=function(){return Promise.all([r.e(262),r.e(485),r.e(635),r.e(739)]).then(r.bind(r,5978))},A=function(){return Promise.all([r.e(262),r.e(806),r.e(528)]).then(r.bind(r,1316))},E=function(){return Promise.all([r.e(262),r.e(485),r.e(93)]).then(r.bind(r,1520))},S=function(){return r.e(305).then(r.bind(r,3644))},L=function(){return r.e(193).then(r.bind(r,5869))},I=function(){return r.e(113).then(r.bind(r,6613))},T=function(){return r.e(742).then(r.bind(r,9274))},P=function(){return Promise.all([r.e(635),r.e(472)]).then(r.bind(r,312))},O=function(){return Promise.all([r.e(686),r.e(635),r.e(381)]).then(r.bind(r,2431))},_=function(){return r.e(884).then(r.bind(r,1024))},N=function(){return r.e(840).then(r.bind(r,5627))},C=function(){return r.e(955).then(r.bind(r,7148))},j=function(){return r.e(537).then(r.bind(r,4640))};function R(t){function e(t,e,r){return m.A.state.profile.teamId&&m.A.state.profile.teamId!==m.A.state.profile.enterpriseId?r():m.A.state.profile.isEnterpriseInstallation?r({name:"Enterprise",replace:!0}):(p.A.log({title:"No TeamId set and is not enterprise installation, redirecting to unauthorized screen"}),r({name:"Unauthorized",replace:!0}))}var r=v()([t.loggedInGuard(),e,function(t,e,r){var n,o,a;return null!==(n=m.A.state.cache.currentTeam)&&void 0!==n&&null!==(o=n.features)&&void 0!==o&&null!==(a=o.billingAlert)&&void 0!==a&&a.locked?r({name:"Settings",query:{unlock:!0}}):r()}]);function n(e,r,n){var o=new URL(window.location.href).searchParams.has("bypass"),a=new URL(window.location.href).searchParams.has("login");return o||!a&&y.c9.utc()<y.c9.fromISO("2024-08-31")?n():t.loggedInGuard()(e,r,n)}return[{path:"/support",name:"Support",component:g,beforeEnter:n},{path:"/privacy",name:"Privacy",component:w},{path:"/terms",name:"Terms",component:b},{path:"/disclosure",name:"Disclosure",component:x},{path:"/unauthorized",name:"Unauthorized",component:L},{path:"/logout",name:"Logout",component:I},{path:"/select-account",name:"Enterprise",component:T,beforeEnter:t.loggedInGuard()},{path:"/standups",name:"Standups",component:E,beforeEnter:r},{path:"/standups/:standupId/reports",name:"StandupReport",component:A,props:!0,beforeEnter:r},{path:"/edit/:standupId?",name:"EditStandup",component:k,props:!0,beforeEnter:r},{path:"/standups/:standupId/issue-link/:ticketId",name:"Issue link warning",component:S,props:!0,beforeEnter:r},{path:"/settings",name:"Settings",component:P,props:!0,beforeEnter:v()([n,e])},{path:"/admin",name:"Admin",component:_,props:!0,beforeEnter:t.loggedInGuard()},{path:"/audit",name:"Audit",component:N,props:!0,beforeEnter:t.loggedInGuard()},{path:"/api",name:"ApiExplorer",component:O,props:!0,beforeEnter:r,alias:["/get-*","/post-*","/patch-*","/put-*","/delete-*","/overview","/auth"]},{path:"/unsubscribe",name:"AutoUnsubscribe",meta:{name:"Unsubscribe"},component:j,beforeEnter:t.loggedInGuard()},{path:"/uninstall",name:"Uninstall",meta:{name:"Uninstall"},component:C,beforeEnter:t.loggedInGuard()},{path:"*",redirect:"/standups"}]}var U=r(8158);function F(t){return F="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},F(t)}function D(){D=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==F(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);
vendor: 4,780 bytes, line 2
2if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function G(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function M(t){return function(){var e=this,r=arguments;
2return new Promise((function(n,o){var a=t.apply(e,r);function i(t){G(a,n,o,i,c,"next",t)}function c(t){G(a,n,o,i,c,"throw",t)}i(void 0)}))}}function Y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==F(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===F(o)?o:String(o)),n)}var o}var z=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r;return e=t,r=[{key:"getMixin",value:function(t,e){return n.Ay.extend({created:function(){var e=this;return M(D().mark((function r(){return D().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.routeInitializationPromiseResolver=null,e.routeInitializationPromise=new Promise((function(t){return e.routeInitializationPromiseResolver=t})),!e.onCreated){r.next=12;break}return r.prev=3,r.next=6,e.onCreated();case 6:r.next=11;break;case 8:r.prev=8,r.t0=r.catch(3),t.critical({title:"OnCreatedComponentMixinProvider: Error in vue component's onCreated function",exception:r.t0,component:e.$options.name});case 11:t.debug({title:"Component loaded",component:e.$options.name||e.$options._componentTag},!1);case 12:e.routeInitializationPromiseResolver();case 13:case"end":return r.stop()}}),r,null,[[3,8]])})))()},beforeRouteEnter:function(t,r,n){n(function(){var t=M(D().mark((function t(r){return D().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.routeInitializationPromise;case 2:e();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}})}}],r&&Y(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function H(t){return H="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},H(t)}function q(){q=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==H(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);
vendor: 5,223 bytes, line 2
2if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function B(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==H(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==H(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===H(o)?o:String(o)),n)}var o}function V(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function W(t){return function(){var e=this,r=arguments;
2return new Promise((function(n,o){var a=t.apply(e,r);function i(t){V(a,n,o,i,c,"next",t)}function c(t){V(a,n,o,i,c,"throw",t)}i(void 0)}))}}var K={"Content-Type":"application/json"},$=new Set(["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","Load failed","<HTML DOCUMENT></HTML>"]);function J(t){return"NetworkError"===(null==t?void 0:t.code)||"Network Error"===t.message||"ERR_NETWORK"===t.code||"ECONNABORTED"===t.code||"ECONNRESET"===t.code||!t.status||t.status>=500||"string"==typeof t.message&&$.has(t.message)||"string"==typeof t.data&&$.has(t.data)}function X(t){return Z.apply(this,arguments)}function Z(){return(Z=W(q().mark((function t(e){var r,n,o,a;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=null,n=q().mark((function t(n){var o;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e();case 3:return o=t.sent,t.abrupt("return",{v:o});case 7:if(t.prev=7,t.t0=t.catch(0),t.t0.retryCount=n,r=t.t0,!J(t.t0)){t.next=15;break}return t.next=14,new Promise((function(t){return setTimeout(t,10*Math.pow(2,n))}));case 14:return t.abrupt("return",0);case 15:throw t.t0;case 16:case"end":return t.stop()}}),t,null,[[0,7]])})),a=0;case 3:if(!(a<5)){t.next=13;break}return t.delegateYield(n(a),"t0",5);case 5:if(0!==(o=t.t0)){t.next=8;break}return t.abrupt("continue",10);case 8:if(!o){t.next=10;break}return t.abrupt("return",o.v);case 10:a++,t.next=3;break;case 13:throw r;case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Q(t,e,r){p.A.debug(Object.assign({title:"Platform HTTP Request"},e,{status:null==r?void 0:r.status}))}function tt(t,e,r){var n,o,a,i=(null==r?void 0:r.status)||(null==r||null===(n=r.data)||void 0===n?void 0:n.status);i||J(r)||p.A.error({title:"No Status is defined from logError in UI, but this an logged error so why is there no status",logObject:e,error:r}),401===i&&t.trackUnauthorizedRequest(),402===i?a="Platform Response Error - 402 Payment required for this endpoint.":422===i&&"InstallationRequired"===(null==r||null===(o=r.data)||void 0===o?void 0:o.errorCode)&&(t.forceInstallation(),a="Platform Response Error 422 likely invalid bot token saved, need a new on, so force login"),J(r)&&(r.originalCode=null==r?void 0:r.code,r.code="NetworkError",m.A.commit("trackHttpError",{error:r,url:null==r?void 0:r.url}),m.A.state.cache.errorTracking.networkErrors>1&&(p.A.warn({title:"Networking error detected",error:r,count:m.A.state.cache.errorTracking.networkErrors},!1),m.A.state.cache.errorTracking.networkErrors<8&&(d.A.createAlert("Network connectivity issue","Standup & Prosper is having trouble connecting with our other robots, please check your network connection.<br><br>Automatically reloading the page in 3 seconds...","danger",6e3,!0),setTimeout((function(){return window.location.reload()}),4e3))));var c=null!=r&&r.message?{online:navigator.onLine,method:null==r?void 0:r.method,url:null==r?void 0:r.url,data:null==r?void 0:r.data,status:i,headers:null==r?void 0:r.headers,message:null==r?void 0:r.message,code:null==r?void 0:r.code,stack:null==r?void 0:r.stack}:r;p.A.log(Object.assign({title:"Platform HTTP Error"},e,{exception:c,additionalMessage:a}),!1)}var et=function(){function t(e,r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.authManager=n}var e,r,n,o,a,i,c,s;return e=t,r=[{key:"get",value:(s=W(q().mark((function t(e,r){var n,o=this;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,X((function(){return o.executeFetch("GET",e,null,r)}));case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)}))),function(t,e){return s.apply(this,arguments)})},{key:"delete",value:(c=W(q().mark((function t(e,r){var n,o=this;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,X((function(){return o.executeFetch("DELETE",e,null,r)}));case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)}))),function(t,e){return c.apply(this,arguments)})},{key:"post",value:(i=W(q().mark((function t(e,r,n){var o,a=this;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,X((function(){return a.executeFetch("POST",e,r,n)}));case 2:return o=t.sent,t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(t,e,r){return i.apply(this,arguments)})},{key:"put",value:(a=W(q().mark((function t(e,r,n){var o,a=this;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,X((function(){return a.executeFetch("PUT",e,r,n)}));case 2:return o=t.sent,t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(t,e,r){return a.apply(this,arguments)})},{key:"patch",value:(o=W(q().mark((function t(e,r,n){var o,a=this;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,X((function(){return a.executeFetch("PATCH",e,r,n)}));case 2:return o=t.sent,t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)}))),function(t,e,r){return o.apply(this,arguments)})},{key:"executeFetch",value:(n=W(q().mark((function t(e,r,n,o){var a,i,c,s,u,l,h,f,v,y,g,w;return q().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.toString(),t.prev=1,t.next=4,this.authManager.getToken({requireValidSession:!0});case 4:i=t.sent,t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),tt(this.authManager,{url:a,headers:o,method:e},t.t0),t.t0;case 11:if(i){t.next=16;break}return t.next=14,this.authManager.trackUnauthorizedRequest();case 14:throw p.A.track({title:"PlatformClient request with no token present, We should validate when a user is on a screen, if they have not used the UI in a long time, have no token, and the last time the navigation guard was run was a long time ago, then we would have run the guard and it would have failed, so we should force the user to reload the page, anyway.",source:e,data:n,url:a,headers:o}),{status:401};case 16:return t.prev=16,c=Object.assign({},K,o,{Authorization:"Bearer ".concat(i)}),s={method:e,headers:c},n&&(s.body=JSON.stringify(n)),t.next=22,fetch(a,s);case 22:if((u=t.sent).ok){t.next=36;break}return l=null,t.prev=25,t.next=28,u.text();case 28:h=t.sent,l=JSON.parse(h),t.next=34;break;case 32:t.prev=32,t.t1=t.catch(25);case 34:throw{message:"HTTP ".concat(u.status),method:e,url:a,status:u.status,data:l,headers:Object.fromEntries(u.headers.entries())};case 36:return f={},v=null,t.prev=38,t.next=41,u.text();
2case 41:f=t.sent,f=JSON.parse(f),t.next=48;break;case 45:t.prev=45,t.t2=t.catch(38),v=t.t2;case 48:return m.A.commit("trackHttpSuccess",a),Q(this.authManager,{url:a,headers:o,method:e},{status:u.status}),t.abrupt("return",{url:a,headers:Object.fromEntries(u.headers.entries()),status:u.status,data:f,bodyTransformationError:v});case 53:if(t.prev=53,t.t3=t.catch(16),!(w=null===t.t3||void 0===t.t3||null===(y=t.t3.stack)||void 0===y||null===(g=y.match(/chrome-extension:[/][/](\w+)[/]/))||void 0===g?void 0:g[1])){t.next=60;break}throw p.A.info({title:"Fetch failed due to a chrome extension - ".concat(e," - ").concat(a),method:e,url:a,data:n,headers:o,fetchError:t.t3,extensionErrorId:w}),d.A.createAlert("Network connection failed","An extension you have installed in your browser has a bug that is blocking Standup & Prosper network requests. Obviously I don't have access to your extensions so all I have is an id. Please disable the browser extension with id: ".concat(w),"danger"),Error.create({extensionErrorId:w},"BROWSER_EXTENSION_ERROR");case 60:throw t.t3.url||(t.t3.url=a),t.t3.method||(t.t3.method=e),tt(this.authManager,{url:a,headers:o,method:e},t.t3),t.t3;case 64:case"end":return t.stop()}}),t,this,[[1,7],[16,53],[25,32],[38,45]])}))),function(t,e,r,o){return n.apply(this,arguments)})}],r&&B(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),rt=(r(3855),r(5476));function nt(t){return"%".concat("00".concat(t.charCodeAt(0).toString(16)).slice(-2))}function ot(t){return function(t){return decodeURIComponent(Array.from(atob(t),nt).join(""))}(t.replace(/-/g,"+").replace(/_/g,"/"))}function at(t){return at="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},at(t)}function it(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==at(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==at(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===at(o)?o:String(o)),n)}var o}const ct=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r;return e=t,(r=[{key:"decode",value:function(t){try{return t&&JSON.parse(ot(t.split(".")[1]))}catch(t){return null}}},{key:"decodeFull",value:function(t){try{return t&&{header:JSON.parse(ot(t.split(".")[0])),payload:JSON.parse(ot(t.split(".")[1]))}}catch(t){return null}}}])&&it(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}());var st=r(7408);function ut(t){return ut="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},ut(t)}function lt(){lt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==ut(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);
vendor: 4,782 bytes, line 2
2if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function ht(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function dt(t){return function(){var e=this,r=arguments;
2return new Promise((function(n,o){var a=t.apply(e,r);function i(t){ht(a,n,o,i,c,"next",t)}function c(t){ht(a,n,o,i,c,"throw",t)}i(void 0)}))}}function pt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==ut(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===ut(o)?o:String(o)),n)}var o}function ft(){try{var t=new URL(window.location.href),e={source:t.searchParams.get("utm_source"),medium:t.searchParams.get("utm_medium"),name:t.searchParams.get("utm_campaign"),content:t.searchParams.get("utm_content")};t.searchParams.delete("utm_source"),t.searchParams.delete("utm_medium"),t.searchParams.delete("utm_campaign"),t.searchParams.delete("utm_content"),window.history.replaceState({},document.title,t.toString()),m.A.commit("setReferrerData",e)}catch(t){}}var vt=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.alertHandler=e,this.loginClient=new st.zF({authenticationServiceUrl:"https://security.standup-and-prosper.com",applicationId:"app_cGTmT53Ez2nhg41dtKTE9b"},p.A),this.loginHooks=[],this.initialized=!1}var e,r,n,o,a,i,c,s,u;return e=t,r=[{key:"addLoginHook",value:function(t){this.loginHooks.push(t)}},{key:"trackUnauthorizedRequest",value:(u=dt(lt().mark((function t(){return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(m.A.state.cache.invalidTokenCalls>=1)){t.next=7;break}return p.A.log({title:"total allowed unauthorized requests exceeded, resetting the token.",count:m.A.state.cache.invalidTokenCalls,source:"authManager.trackUnauthorizedRequest"}),m.A.commit("setInvalidTokenCalls",0),t.next=5,this.logout();case 5:return setTimeout((function(){return window.location.reload()}),200),t.abrupt("return");case 7:p.A.log({title:"Tracking unauthorized request",count:m.A.state.cache.invalidTokenCalls,source:"authManager.trackUnauthorizedRequest"}),m.A.commit("setInvalidTokenCalls",m.A.state.cache.invalidTokenCalls+1);case 9:case"end":return t.stop()}}),t,this)}))),function(){return u.apply(this,arguments)})},{key:"loggedInGuard",value:function(){var t=this;return function(){var e=dt(lt().mark((function e(r,n,o){var a,i,c,s,u,l,h,d;return lt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p.A.debug({title:"LoggedInGuard"}),ft(),a=window.location.href.indexOf("#"),i=-1!==a?window.location.href.substring(0,a):window.location.href,c={redirectUri:"".concat(i,"#").concat(r.fullPath)},e.prev=5,e.next=8,t.ensureLoggedIn(c);case 8:if(s=e.sent,null===(u=s)||void 0===u||!u.redirectUri){e.next=13;break}return o(!1),window.location.replace(s.redirectUri),e.abrupt("return");case 13:e.next=30;break;case 15:if(e.prev=15,e.t0=e.catch(5),"access_denied"!==e.t0.errorCode){e.next=21;break}return p.A.warn({title:"User denied access to login",to:r,from:n,next:o,options:c,location:window.location,error:e.t0}),o({name:"Unauthorized",replace:!0}),e.abrupt("return");case 21:if(p.A.warn({title:"Failed to log the user in",to:r,from:n,next:o,options:c,location:window.location,error:e.t0}),"AuthressSdkNetworkError"!==e.t0.code){e.next=26;break}return t.alertHandler.createAlert("Login unsuccessful",'You are offline.<br><br>Automatically retrying...<br><br><small>If you continue to experience issues, please contact <a href="mailto:[email protected]">[email protected]</a>.</small>',"danger",4e3,!0),o(!1),e.abrupt("return");case 26:return t.alertHandler.createAlert("Login unsuccessful",'Slack failed to respond with a valid authentication token.<br>This can occur if Slack is currently having a status incident. <br><br>Automatically retrying...<br><br><small>If you continue to experience issues, please contact <a href="mailto:[email protected]">[email protected]</a>.</small>',"danger",4e3,!0),o(!1),setTimeout(dt(lt().mark((function a(){return lt().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,t.alertHandler.removeAlert("danger",!0),a.next=4,t.logout();case 4:return p.A.warn({title:"Retrying user login after a force logout",to:r,from:n,next:o,options:c,location:window.location,error:e.t0}),a.next=7,t.ensureLoggedIn(c);case 7:a.next=13;break;case 9:a.prev=9,a.t0=a.catch(0),p.A.error({title:"Failed to log the user in on retry",to:r,from:n,next:o,options:c,location:window.location,error:e.t0,innerError:a.t0}),t.alertHandler.createAlert("Login unsuccessful",'Slack failed to respond with a valid authentication token.<br>This can occur if Slack is currently having a status incident. Please try again by using the Log in button in the navigation bar.<br><br>If you continue to experience issues, please contact <a href="mailto:[email protected]">[email protected]</a>.',"danger",1e4,!0);case 13:case"end":return a.stop()}}),a,null,[[0,9]])}))),4e3),e.abrupt("return");case 30:return e.prev=30,e.next=33,t.getToken({requireValidSession:!0});case 33:l=e.sent,e.next=41;break;case 36:return e.prev=36,e.t1=e.catch(30),"TokenTimeout"===e.t1.code?p.A.info({title:"Timeout waiting for token for loggedInGuard, redirecting user to the Unauthorized screen, this can happen if the tab is still running while the user is redirected to Slack for login. In this situation we should just ignore it. If the LocalStorage has a AuthenticationRequestNonce set, why did it not get exchanged? Investigate. Perhaps Authress did not exchange the token correctly.",to:r,from:n,next:o,options:c,location:window.location,token:l,result:s,AuthenticationRequestNonce:localStorage.getItem("AuthenticationRequestNonce"),AuthenticationCredentialsStorage:localStorage.getItem("AuthenticationCredentialsStorage"),cookies:document.cookie}):p.A.track({title:"No token found, it is probably a timeout but we should validate this. If it is always a timeout then remove the warning. - ".concat(e.t1.code," - ").concat(e.t1.message),to:r,from:n,next:o,options:c,location:window.location,token:l,result:s,AuthenticationRequestNonce:localStorage.getItem("AuthenticationRequestNonce"),AuthenticationCredentialsStorage:localStorage.getItem("AuthenticationCredentialsStorage"),cookies:document.cookie}),o({name:"Unauthorized",replace:!0}),e.abrupt("return");case 41:e.prev=41,h=ct.decode(l),e.next=51;break;case 45:return e.prev=45,e.t2=e.catch(41),p.A.error({title:"Failed to decode user id token",to:r,from:n,next:o,options:c,location:window.location,error:e.t2,token:l,result:s}),t.alertHandler.createAlert("Login unsuccessful",'The login response from Slack during log in was invali
2d.<br><br>This can occur if Slack is currently having a status incident or the permission access was disallowed during login. Please try again by using the Log in button in the navigation bar.<br><br>If you continue to experience issues, please contact <a href="mailto:[email protected]">[email protected]</a>.',"danger",1e4,!0),o({name:"Unauthorized",replace:!0}),e.abrupt("return");case 51:if(h){e.next=56;break}return o(!1),e.next=55,t.logout();case 55:return e.abrupt("return");case 56:return e.prev=56,e.next=59,t.getTransformedUserData(h);case 59:if(d=e.sent,m.A.commit("updateProfile",d),t.initialized){e.next=65;break}return e.next=64,Promise.all(t.loginHooks.map((function(t){return t()})));case 64:t.initialized=!0;case 65:return f=void 0,(f=new URL(window.location.href)).search="",window.history.replaceState({},document.title,f.toString()),o(),e.abrupt("return");case 70:if(e.prev=70,e.t3=e.catch(56),p.A.error({title:"Failed to set profile from user identity.",to:r,from:n,next:o,options:c,location:window.location,error:e.t3}),"Unauthorized"!==n.name){e.next=78;break}return o(!1),e.next=77,t.logout();case 77:return e.abrupt("return");case 78:t.alertHandler.createAlert("Login unsuccessful",'The login response from Slack during log in was invalid.<br><br>This can occur if Slack is currently having a status incident or the permission access was disallowed during login. Please try again by using the Log in button in the navigation bar.<br><br>If you continue to experience issues, please contact <a href="mailto:[email protected]">[email protected]</a>.',"danger",1e4,!0),o({name:"Unauthorized",replace:!0});case 80:case"end":return e.stop()}var f}),e,null,[[5,15],[30,36],[41,45],[56,70]])})));return function(t,r,n){return e.apply(this,arguments)}}()}},{key:"ensureTransformedUserData",value:(s=dt(lt().mark((function t(){var e,r,n;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.getToken({requireValidSession:!1});case 3:if(e=t.sent,r=ct.decode(e)){t.next=7;break}return t.abrupt("return",null);case 7:return t.next=9,this.getTransformedUserData(r);case 9:return n=t.sent,t.abrupt("return",n);case 13:return t.prev=13,t.t0=t.catch(0),p.A.warn({title:"Could not ensureTransformedUserData",error:t.t0,currentToken:e,identity:r}),t.abrupt("return",null);case 17:case"end":return t.stop()}}),t,this,[[0,13]])}))),function(){return s.apply(this,arguments)})},{key:"getTransformedUserData",value:(c=dt(lt().mark((function t(e){var r,n,o,a,i,c,s,u,l,h,d,p,f,v,m,g,w,b,x,k,A,E,S,L,I,T,P,O,_,N,C,j;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loginClient.getUserIdentity();case 2:return C=t.sent,"https://avatars.slack-edge.com/"===(j={expiresAt:y.c9.local().plus({seconds:e.exp-e.iat}).toISO(),userId:(null===(r=C.data)||void 0===r||null===(n=r.user)||void 0===n?void 0:n.id)||(null===(o=C.data)||void 0===o?void 0:o.sub),picture:(null===(a=C.data)||void 0===a||null===(i=a.user)||void 0===i?void 0:i.image_32)||(null===(c=C.data)||void 0===c||null===(s=c.user)||void 0===s||null===(u=s.profile)||void 0===u?void 0:u.image_32)||(null===(l=C.data)||void 0===l?void 0:l["https://slack.com/user_image_32"])||C.picture,displayName:(null===(h=C.data)||void 0===h||null===(d=h.user)||void 0===d?void 0:d.name)||(null===(p=C.data)||void 0===p?void 0:p.name),email:null===(f=C.data)||void 0===f?void 0:f.email,teamId:C.sub.split("|")[1]||(null===(v=C.data)||void 0===v?void 0:v["https://slack.com/team_id"]),teamName:(null===(m=C.data)||void 0===m||null===(g=m.team)||void 0===g?void 0:g.name)||(null===(w=C.data)||void 0===w||null===(b=w.team)||void 0===b?void 0:b.domain)||(null===(x=C.context)||void 0===x||null===(k=x.team)||void 0===k?void 0:k.name)||(null===(A=C.context)||void 0===A||null===(E=A.enterprise)||void 0===E?void 0:E.name)||(null===(S=C.data)||void 0===S?void 0:S["https://slack.com/team_name"]),teamPicture:null===(L=C.data)||void 0===L?void 0:L["https://slack.com/team_image_34"],teamDomain:null===(I=C.data)||void 0===I||null===(T=I.team)||void 0===T?void 0:T.domain,enterpriseId:null===(P=C.context)||void 0===P||null===(O=P.enterprise)||void 0===O?void 0:O.id,isEnterpriseInstallation:!(null===(_=C.context)||void 0===_||null===(N=_.enterprise)||void 0===N||!N.id),tokenType:"con_j1mVQTpzuouNH3vWxJDzYB"===e.azp?"IDENTITY":"INSTALLER"}).picture&&j.teamPicture&&(j.picture=j.teamPicture),t.abrupt("return",j);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"ensureLoggedIn",value:(i=dt(lt().mark((function t(e){var r,n,o,a,i,c,s;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new URL(window.location.href),n=r.searchParams.get("team"),(o=new URL(e.redirectUri)).searchParams.delete("team"),a=(null==e?void 0:e.force)||n,t.prev=5,t.next=8,this.loginClient.userSessionExists();case 8:if(!(i=t.sent)||a){t.next=11;break}return t.abrupt("return",{});case 11:return c=n||e.teamId||!e.disableCachedTeamId&&m.A.state.profile.teamId||!e.disableCachedTeamId&&m.A.state.permanentCache.lastUsedTeamId||"",t.next=14,this.loginClient.getUserIdentity();case 14:return s=t.sent,p.A.log({title:"Redirecting to authentication because the user is not logged in",isUserLoggedIn:i,options:e,loginType:m.A.state.cache.loginType,teamId:c,cookies:document.cookie,currentUserData:s,AuthenticationCredentialsStorage:localStorage.AuthenticationCredentialsStorage}),p.A.flush(),t.next=19,this.loginClient.authenticate({force:a,redirectUrl:null==o?void 0:o.toString(),connectionId:m.A.getters.isDev?null!=e&&e.install||"Authress"!==m.A.state.cache.loginType?"con_xjTb8frDwAutszVih9zkU9":"13ThhaNyre8Ux6cdKzHzmm":null!=e&&e.install||"Authress"!==m.A.state.cache.loginType?"con_9sTcZka9SkJdFdd7qUk5Md":"con_j1mVQTpzuouNH3vWxJDzYB",connectionProperties:{team:null==c?void 0:c.replace(/^slack[|]/i,""),scope:null!=e&&e.install||"Authress"!==m.A.state.cache.loginType?"app_mentions:read,channels:read,chat:write,chat:write.public,chat:write.customize,commands,groups:read,im:history,im:read,im:write,mpim:read,users:read":"email openid profile"}});case 19:return t.abrupt("return",{});case 22:throw t.prev=22,t.t0=t.catch(5),"Network Error"===t.t0.message||"NetworkError"===t.t0.code||"Load failed"===t.t0.message||"Failed to fetch"===t.t0.message||"AuthressSdkNetworkError"===t.t0.code?p.A.warn({title:"Failed to ensureLoggedIn due to a network error",options:e,error:t.t0}):p.A.error({title:"Failed to ensureLoggedIn",options:e,error:t.t0}),t.t0;case 26:case"end":return t.stop()}}),t,this,[[5,22]])}))),function(t){return i.apply(this,arguments)})},{key:"logout",value:(a=dt(lt().mark((function t(){var e,r,n=arguments;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{clearEverything:!1,redirectUrl:null},p.A.log({title:"User logging out, clearing session"}),m.A.commit("removeLogin",null==e?void 0:e.clearEverything),m.A.commit("setGlobalLoader",!0),(r=new URL(window.location)).pathname="/",r.hash="",t.prev=7,t.next=10,rt.Ay.reset();case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(7),p.A.log({title:"Failed to reset posthog",level:"ERROR",error:t.t0});case 15:return t.next=17,this.loginClient.logout((null==e?void 0:e.redirectUrl)||r.toString());case 17:setTimeout((function(){window.location.pathname.match("/app")&&(p.A.warn({title:"This path should not be hit anymore because logout should always work correctly. We needed this code when the login domain was security.teaminator.io, but now that it is updated, if we get here something else is wrong and we should investigate.",options:e,window:window.location.href,reloadLocation:r.toString()}),window.location.assign("/"))}),3e3),m.A.commit("setGlobalLoader",!1);case 19:case"end":return t.stop()}}),t,this,[[7,12]])}))),function(){return a.apply(this,arguments)})},{key:"getToken",value:(o=dt(lt().mark((function t(){var e,r,n=arguments;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{timeoutInMillis:1e4,requireValidSession:!1},t.prev=1,t.next=4,this.loginClient.ensureToken({timeoutInMillis:(null==e?void 0:e.timeoutInMillis)||1e4});case 4:if(r=t.sent){t.next=9;break}if(null==e||!e.requireValidSession){t.next=8;break}throw Error.create("NoTokenFoundFromAuthress");case 8:p.A.info({title:"No token found from Authress, review the session and cookie data and look for why this might have happened, we probably should just redirect the user to the unauthorized page.",options:e,location:window.location,store:m.A.
2state,AuthenticationRequestNonce:localStorage.getItem("AuthenticationRequestNonce"),AuthenticationCredentialsStorage:localStorage.getItem("AuthenticationCredentialsStorage"),cookies:document.cookie});case 9:return t.abrupt("return",r);case 12:if(t.prev=12,t.t0=t.catch(1),p.A.info({title:"Failed to wait for token",error:t.t0,options:e}),null==e||!e.requireValidSession){t.next=17;break}throw t.t0;case 17:return t.abrupt("return",null);case 18:case"end":return t.stop()}}),t,this,[[1,12]])}))),function(){return o.apply(this,arguments)})},{key:"forceInstallation",value:(n=dt(lt().mark((function t(){var e,r,n,o,a=this;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=m.A.state.profile.teamId,p.A.info({title:"Forcing log out and retrying log in with installation"}),m.A.commit("removeLogin"),m.A.commit("setGlobalLoader",!0),m.A.commit("setLoginProvider","Authress"),t.next=7,this.loginClient.logout(null);case 7:r=lt().mark((function t(r){return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a.ensureLoggedIn({force:!0,redirectUri:window.location.href,teamId:e,install:!0});case 3:return t.abrupt("return",{v:void 0});case 6:return t.prev=6,t.t0=t.catch(0),p.A.warn({title:"Failed to force user login with Installation",error:t.t0,iteration:r}),t.next=11,new Promise((function(t){return setTimeout(t,20*Math.pow(2,r))}));case 11:case"end":return t.stop()}}),t,null,[[0,6]])})),o=0;case 9:if(!(o<20)){t.next=17;break}return t.delegateYield(r(o),"t0",11);case 11:if(!(n=t.t0)){t.next=14;break}return t.abrupt("return",n.v);case 14:o++,t.next=9;break;case 17:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})}],r&&pt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),mt=r(8055),yt=r.n(mt),gt=r(943),wt=r.n(gt),bt=r(489);function xt(t){return xt="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},xt(t)}function kt(){kt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==xt(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&
vendor: 4,487 bytes, line 2
2(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function At(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function Et(t){return function(){var e=this,r=arguments;
2return new Promise((function(n,o){var a=t.apply(e,r);function i(t){At(a,n,o,i,c,"next",t)}function c(t){At(a,n,o,i,c,"throw",t)}i(void 0)}))}}function St(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==xt(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==xt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===xt(o)?o:String(o)),n)}var o}var Lt="https://api.standup-and-prosper.com",It=function(){function t(e,r,n,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logger=e,this.httpClient=n,this.authManager=o,this.apiDocumentationUrl="".concat(Lt,"/.well-known/openapi.json"),this.serializedStandupUpdatePromise=Promise.resolve()}var e,r,n,o,a,i,c,s,u,l,h,d,p,f,v,y,g,w,b,x,k,A,E,S,L,I,T,P,O,_,N,C,j,R,U,F;return e=t,r=[{key:"ensureTeam",value:(F=Et(kt().mark((function t(){var e,r,n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.authManager.ensureTransformedUserData();case 2:if("IDENTITY"!==(null==(e=t.sent)?void 0:e.tokenType)&&(null!=e&&e.tokenType||"IDENTITY"!==m.A.state.profile.tokenType)){t.next=17;break}return t.prev=4,t.next=7,this.fetchTeam();case 7:return t.abrupt("return");case 10:if(t.prev=10,t.t0=t.catch(4),422!==t.t0.status){t.next=15;break}throw this.logger.log({title:"Failed ensure team exists with IDENTITY token, forcing installation",error:t.t0,state:m.A.state,profile:e}),Error("ForceInstallation");case 15:throw this.logger.error({title:"Failed ensure team exists with IDENTITY token for an unexpected reason",error:t.t0,state:m.A.state,profile:e}),t.t0;case 17:return r="".concat(Lt,"/v1/teams"),t.prev=18,t.next=21,this.httpClient.post(r);case 21:n=t.sent,o=n.data,m.A.commit("setTeam",o),t.next=32;break;case 26:if(t.prev=26,t.t1=t.catch(18),422!==t.t1.status){t.next=31;break}throw this.logger.track({title:"Failed ensure team exists with INSTALLATION token, but installation was already attempted and did not work. Validate that the account is actually DISABLED. If it is not then there is a problem. If it is DISABLED, then at least this error is consistent, because a DISABLED team is likely the result of a Workspace that uninstalled the bot.",error:t.t1,state:m.A.state}),Error("ForceInstallation");case 31:this.logger.error({title:"Failed to persist integration information for team, on installation for an unknown reason.",error:t.t1,state:m.A.state,profile:e});case 32:case"end":return t.stop()}}),t,this,[[4,10],[18,26]])}))),function(){return F.apply(this,arguments)})},{key:"fetchTeam",value:(U=Et(kt().mark((function t(){var e,r,n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=null===(e=m.A.state.profile)||void 0===e?void 0:e.teamId){t.next=3;break}return t.abrupt("return");case 3:return t.prev=3,n="".concat(Lt,"/v1/teams/").concat(r),t.next=7,this.httpClient.get(n);case 7:o=t.sent,a=o.data,m.A.commit("setTeam",a),t.next=16;break;case 12:throw t.prev=12,t.t0=t.catch(3),this.logger.log({title:"Failed to fetch current team data",error:t.t0,store:m.A.state}),t.t0;case 16:case"end":return t.stop()}}),t,this,[[3,12]])}))),function(){return U.apply(this,arguments)})},{key:"fetchTeamStatistics",value:(R=Et(kt().mark((function t(){var e;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getTeamStatistics(!1);case 2:(e=t.sent)&&m.A.commit("setTeamStats",e);case 4:case"end":return t.stop()}}),t,this)}))),function(){return R.apply(this,arguments)})},{key:"getTeamStatistics",value:(j=Et(kt().mark((function t(e){var r,n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=m.A.state.profile.teamId,n=new URL("".concat(Lt,"/v1/teams/").concat(r,"/statistics")),e&&n.searchParams.set("includeFullResponse",!0),t.next=6,this.httpClient.get(n.toString());case 6:return o=t.sent,t.abrupt("return",o.data);case 10:return t.prev=10,t.t0=t.catch(0),this.logger.log({title:"Failed to fetch current team stats",error:t.t0,store:m.A.
2state}),t.abrupt("return",null);case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return j.apply(this,arguments)})},{key:"requestBilling",value:(C=Et(kt().mark((function t(){var e,r;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=m.A.state.profile.teamId,r="".concat(Lt,"/v1/teams/").concat(e,"/feature-requests"),t.next=5,this.httpClient.post(r);case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),this.logger.log({title:"Failed to request billing for workspace.",error:t.t0,store:m.A.state});case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return C.apply(this,arguments)})},{key:"getTeamsByEmail",value:(N=Et(kt().mark((function t(e){var r,n,o,a=arguments;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{type:"summary"},(n=new URL("".concat(Lt,"/v1/teams"))).searchParams.append("email",e),n.searchParams.append("type",r.type),t.next=6,this.httpClient.get(n);case 6:return o=t.sent,t.abrupt("return",o.data.teams);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return N.apply(this,arguments)})}
2,{key:"fetchStandup",value:(_=Et(kt().mark((function t(e){var r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=m.A.state.profile.teamId,t.prev=1,t.next=4,this.getTeamStandup(r,e);case 4:n=t.sent,m.A.commit("setStandup",n),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(1);case 10:case"end":return t.stop()}}),t,this,[[1,8]])}))),function(t){return _.apply(this,arguments)})},{key:"fetchStandups",value:(O=Et(kt().mark((function t(){var e,r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=m.A.state.profile.teamId,t.prev=1,t.next=4,this.getTeamStandups(e);case 4:r=t.sent,n={},r.map((function(t){n[t.standupId]=t})),m.A.commit("setStandups",n),t.next=12;break;case 10:t.prev=10,t.t0=t.catch(1);case 12:case"end":return t.stop()}}),t,this,[[1,10]])}))),function(){return O.apply(this,arguments)})},{key:"getTeamStandup",value:(P=Et(kt().mark((function t(e,r){var n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="".concat(Lt,"/v1/teams/").concat(e,"/standups/").concat(r),t.prev=1,t.next=4,this.httpClient.get(n);case 4:return o=t.sent,t.abrupt("return",o.data);case 8:if(t.prev=8,t.t0=t.catch(1),404!==t.t0.status&&403!==t.t0.status){t.next=13;break}return this.logger.info({title:"Failed to fetch standup, because the user does not have access or it does not exist - ".concat(e," - ").concat(r),error:t.t0}),t.abrupt("return",null);case 13:throw"ECONNABORTED"!==t.t0.code&&401!==t.t0.status&&this.logger.error({title:"Failed to fetch standup - ".concat(e," - ").concat(r),error:t.t0}),t.t0;case 15:case"end":return t.stop()}}),t,this,[[1,8]])}))),function(t,e){return P.apply(this,arguments)})},{key:"getTeamStandups",value:(T=Et(kt().mark((function t(e){var r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="".concat(Lt,"/v1/teams/").concat(e,"/standups"),t.prev=1,t.next=4,this.httpClient.get(r);case 4:return n=t.sent,t.abrupt("return",n.data.standups);case 8:throw t.prev=8,t.t0=t.catch(1),"ECONNABORTED"!==t.t0.code&&401!==t.t0.status&&this.logger.error({title:"Failed to fetch standups for team - ".concat(e),error:t.t0}),t.t0;case 12:case"end":return t.stop()}}),t,this,[[1,8]])}))),function(t){return T.apply(this,arguments)})},{key:"createStandup",value:(I=Et(kt().mark((function t(e){var r,n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=m.A.state.profile.teamId,n="".concat(Lt,"/v1/teams/").concat(r,"/standups"),t.next=4,this.serializedStandupUpdatePromise;case 4:return o=this.httpClient.post(n,e),this.serializedStandupUpdatePromise=o.catch((function(){})),t.next=8,o;case 8:return a=t.sent,t.next=11,this.fetchStandups();case 11:return t.abrupt("return",a.data);case 12:case"end":return t.stop()}}),t,this)}))),function(t){return I.apply(this,arguments)})},{key:"updateStandup",value:(L=Et(kt().mark((function t(e,r){var n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=m.A.state.profile.teamId,o="".concat(Lt,"/v1/teams/").concat(n,"/standups/").concat(e),t.next=4,this.serializedStandupUpdatePromise;case 4:return a=this.httpClient.put(o,r),this.serializedStandupUpdatePromise=a.catch((function(){})),t.next=8,a;case 8:this.fetchStandups();case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return L.apply(this,arguments)})},{key:"disableFeature",value:(S=Et(kt().mark((function t(e,r){var n,o,a,i,c;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializedStandupUpdatePromise;case 2:return t.prev=2,n=m.A.state.profile.teamId,o="".concat(Lt,"/v1/teams/").concat(n,"/standups/").concat(e,"/features/").concat(r),a=this.httpClient.delete(o),this.serializedStandupUpdatePromise=a.catch((function(){})),t.next=9,a;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(2),this.logger.log({title:"Failed to delete feature for standup",error:t.t0,standupId:e,featureId:r});case 14:(i=m.A.state.cache.standups[e])&&(delete(c=yt()(i)).features[r],m.A.commit("setStandup",c));case 16:case"end":return t.stop()}}),t,this,[[2,11]])}))),function(t,e){return S.apply(this,arguments)})},{key:"enableFeature",value:(E=Et(kt().mark((function t(e,r,n){var o,a,i,c,s,u,l;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializedStandupUpdatePromise;case 2:return t.prev=2,o=m.A.state.profile.teamId,a="".concat(Lt,"/v1/teams/").concat(o,"/standups/").concat(e,"/features"),i=this.httpClient.patch(a,{featureId:r,featureValue:n}),this.serializedStandupUpdatePromise=i.catch((function(){})),t.next=9,i;case 9:if(c=t.sent,(s=m.A.state.cache.standups[e])&&((u=yt()(s)).features[r]=n,m.A.commit("setStandup",u)),202!==c.status){t.next=14;break}return t.abrupt("return",{result:"ALREADY_TRIALED"});case 14:return t.abrupt("return",{result:"ENABLED"});case 17:if(t.prev=17,t.t0=t.catch(2),422!==t.t0.status||"FeatureAlreadyTrialed"!==(null===(l=t.t0.data)||void 0===l?void 0:l.errorCode)){t.next=22;break}throw this.logger.log({title:"Failed to enable trial feature for standup because it was already activated",error:t.t0,standupId:e,featureId:r,featureValue:n}),Error.create("TRIAL_ALREADY_ENDED");case 22:if(403!==t.t0.status){t.next=25;break}throw this.logger.warn({title:"Failed to enable trial feature for standup because the user does not have access to do that.",error:t.t0,standupId:e,featureId:r,featureValue:n}),Error.create("USER_ACCESS_TRIAL_FORBIDDEN");case 25:if(404!==t.t0.status){t.next=28;break}throw this.logger.warn({title:"Failed to enable trial feature for standup because the standup no longer exists, just tell the user that they do not have access.",error:t.t0,standupId:e,featureId:r,featureValue:n}),Error.create("USER_ACCESS_TRIAL_FORBIDDEN");case 28:throw this.logger.warn({title:"Unexpected error when attempting to enable trail feature. Determine the problem and create explicit handling for each one - ".concat(t.t0.code," - ").concat(t.t0.message),error:t.t0,standupId:e,featureId:r,featureValue:n}),Error.create("UNEXPECTED_ERROR");case 30:case"end":return t.stop()}}),t,this,[[2,17]])}))),function(t,e,r){return E.apply(this,arguments)})}
2,{key:"joinStandup",value:(A=Et(kt().mark((function t(e){var r,n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializedStandupUpdatePromise;case 2:return r=m.A.state.profile.teamId,n=this.httpClient.patch("".concat(Lt,"/v1/teams/").concat(r,"/standups/").concat(e,"/users"),{}),this.serializedStandupUpdatePromise=n.catch((function(){})),t.next=7,n;case 7:(o=yt()(m.A.state.cache.standups))[e].users.push({userId:m.A.state.profile.userId}),m.A.commit("setStandups",o),this.fetchStandups();case 11:case"end":return t.stop()}}),t,this)}))),function(t){return A.apply(this,arguments)})},{key:"removeUserFromStandup",value:(k=Et(kt().mark((function t(e,r){var n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializedStandupUpdatePromise;case 2:return n=m.A.state.profile.teamId,o=this.httpClient.delete("".concat(Lt,"/v1/teams/").concat(n,"/standups/").concat(e,"/users/").concat(r),{}),this.serializedStandupUpdatePromise=o.catch((function(){})),t.next=7,o;case 7:(a=yt()(m.A.state.cache.standups))[e].users=a[e].users.filter((function(t){return t.userId!==r})),m.A.commit("setStandups",a),this.fetchStandups();case 11:case"end":return t.stop()}}),t,this)}))),function(t,e){return k.apply(this,arguments)})},{key:"deleteStandup",value:(x=Et(kt().mark((function t(e){var r,n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializedStandupUpdatePromise;case 2:return r=m.A.state.profile.teamId,n="".concat(Lt,"/v1/teams/").concat(r,"/standups/").concat(e),t.prev=4,o=this.httpClient.delete(n),this.serializedStandupUpdatePromise=o.catch((function(){})),t.next=9,o;case 9:t.next=15;break;case 11:if(t.prev=11,t.t0=t.catch(4),404===t.t0.status){t.next=15;break}throw t.t0;case 15:a={},Object.keys(m.A.state.cache.standups).filter((function(t){return t!==e})).map((function(t){return a[t]=m.A.state.cache.standups[t]})),m.A.commit("setStandups",a);case 18:case"end":return t.stop()}}),t,this,[[4,11]])}))),function(t){return x.apply(this,arguments)})},{key:"testWebhook",value:(b=Et(kt().mark((function t(e){var r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=m.A.state.profile.teamId,n="".concat(Lt,"/v1/teams/").concat(r,"/standups/").concat(e,"/webhook-payloads"),t.next=4,this.httpClient.post(n);case 4:case"end":return t.stop()}}),t,this)}))),function(t){return b.apply(this,arguments)})},{key:"getStandupThreads",value:(w=Et(kt().mark((function t(e,r){var n,o,a,i,c=arguments;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=c.length>2&&void 0!==c[2]?c[2]:100,o=c.length>3?c[3]:void 0,a=new URL("".concat(Lt,"/v1/teams/").concat(e,"/standups/").concat(r,"/threads")),n&&a.searchParams.set("limit",n),o&&a.searchParams.set("latestScheduledDate","string"==typeof o?o:o.toISO()),t.prev=5,t.next=8,this.httpClient.get(a);case 8:return i=t.sent,t.abrupt("return",i.data||{});case 12:if(t.prev=12,t.t0=t.catch(5),404!==t.t0.status){t.next=17;break}return this.logger.log({title:"Standup could not be found when loading threads, probably deleted",teamId:e,standupId:r}),t.abrupt("return",{threads:[]});case 17:if(403!==t.t0.status){t.next=20;break}return this.logger.log({title:"User does not have access to Standup to load threads",teamId:e,standupId:r}),t.abrupt("return",{threads:[]});case 20:if(402!==t.t0.status){t.next=23;break}return this.logger.log({title:"Failed to get threads for standup because the account is on the community plan",teamId:e,standupId:r,status,limit:n,latestScheduledDate:o,error:t.t0}),t.abrupt("return",{threads:[]});case 23:throw this.logger.warn({title:"Failed to get threads for standup",teamId:e,standupId:r,status,limit:n,latestScheduledDate:o,error:t.t0}),t.t0;case 25:case"end":return t.stop()}}),t,this,[[5,12]])}))),function(t,e){return w.apply(this,arguments)})},{key:"getApiKeys",value:(g=Et(kt().mark((function t(e){var r,n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=m.A.state.profile.teamId,n="".concat(Lt,"/v1/teams/").concat(r,"/standups/").concat(e,"/access-keys"),t.prev=2,t.next=5,this.httpClient.get(n);case 5:return o=t.sent,t.abrupt("return",o.data.keys);case 9:return t.prev=9,t.t0=t.catch(2),401!==t.t0.status&&403!==t.t0.status&&404!==t.t0.status&&"ECONNABORTED"!==t.t0.code&&this.logger.error({title:"Failed to get standup access keys",error:t.t0,standupId:this.standupId,teamId:r}),t.abrupt("return",[]);case 13:case"end":return t.stop()}}),t,this,[[2,9]])}
2))),function(t){return g.apply(this,arguments)})},{key:"requestKey",value:(y=Et(kt().mark((function t(e){var r,n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=m.A.state.profile.teamId,n="".concat(Lt,"/v1/teams/").concat(r,"/standups/").concat(e,"/access-keys"),t.prev=2,t.next=5,this.httpClient.post(n);case 5:return o=t.sent,t.abrupt("return",o.data);case 9:throw t.prev=9,t.t0=t.catch(2),this.logger.warn({title:"Failed to generate standup access key",error:t.t0,standupId:this.standupId,teamId:r}),t.t0;case 13:case"end":return t.stop()}}),t,this,[[2,9]])}))),function(t){return y.apply(this,arguments)})},{key:"deleteKey",value:(v=Et(kt().mark((function t(e,r){var n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=m.A.state.profile.teamId,o="".concat(Lt,"/v1/teams/").concat(n,"/standups/").concat(e,"/access-keys/").concat(r),t.prev=2,t.next=5,this.httpClient.delete(o);case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),this.logger.error({title:"Failed to delete standup access key",error:t.t0,standupId:this.standupId,teamId:n});case 10:case"end":return t.stop()}}),t,this,[[2,7]])}))),function(t,e){return v.apply(this,arguments)})},{key:"adminRemoveBillingPlan",value:(f=Et(kt().mark((function t(e){var r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={operation:"PLAN_CHANGE",plan:null},t.next=3,this.httpClient.patch("".concat(Lt,"/v1/teams/").concat(e,"/usage"),r);case 3:return n=t.sent,t.abrupt("return",n);case 5:case"end":return t.stop()}}),t,this)}))),function(t){return f.apply(this,arguments)})},{key:"adminUpgradeBillingPlan",value:(p=Et(kt().mark((function t(e,r){var n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={operation:"PLAN_CHANGE",plan:bt.A.plans.SUPPORT_MONTH,fallbackUserId:r},t.next=3,this.httpClient.patch("".concat(Lt,"/v1/teams/").concat(e,"/usage"),n);case 3:return o=t.sent,t.abrupt("return",o);case 5:case"end":return t.stop()}}),t,this)}))),function(t,e){return p.apply(this,arguments)})},{key:"fetchChannels",value:(d=Et(kt().mark((function t(){var e,r,n,o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=m.A.state.profile.teamId,t.prev=1,t.next=4,this.httpClient.get("".concat(Lt,"/v1/teams/").concat(e,"/channels"));case 4:if(r=t.sent,n=r.data.channels){t.next=9;break}return this.logger.error({title:"How is the channels object null? As a result failed to get user channels.",response:r}),t.abrupt("return");case 9:o={},n.map((function(t){o[t.id]={id:t.id,name:t.name,membersUrl:t.links.members.href,private:t.private}})),m.A.commit("setChannels",o),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(1),422!==t.t0.status&&401!==t.t0.status&&"ECONNABORTED"!==t.t0.code?this.logger.error({title:"Failed to fetch user channels",error:t.t0}):this.logger.warn({title:"Failed to fetch user channels",error:t.t0});case 17:case"end":return t.stop()}}),t,this,[[1,14]])}))),function(){return d.apply(this,arguments)})},{key:"fetchMember",value:(h=Et(kt().mark((function t(e){var r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!m.A.getters.memberMap[e]){t.next=2;break}return t.abrupt("return",m.A.getters.memberMap[e]);case 2:return r=m.A.state.profile.teamId,t.prev=3,t.next=6,this.httpClient.get("".concat(Lt,"/v1/teams/").concat(r,"/users/").concat(e));case 6:return n=t.sent,m.A.commit("setMember",{memberId:e,member:n.data}),t.abrupt("return",n.data);case 11:if(t.prev=11,t.t0=t.catch(3),this.logger.log({title:"Failed to fetch channel member",memberId:e,error:t.t0}),401!==t.t0.status){t.next=16;break}return t.abrupt("return",null);case 16:if(404!==t.t0.status){t.next=19;break}return m.A.commit("setMember",{memberId:e}),t.abrupt("return",null);case 19:this.logger.error({title:"Failed to fetch channel member",memberId:e,error:t.t0});case 20:return t.abrupt("return",null);case 21:case"end":return t.stop()}}),t,this,[[3,11]])}))),function(t){return h.apply(this,arguments)})},{key:"fetchChannelMembers",value:(l=Et(kt().mark((function t(e){var r,n,o,a,i,c,s;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,r=m.A.state.cache.channels[e].membersUrl,n={},o=0;case 4:if(!(o<10&&r)){t.next=15;break}return t.next=7,this.httpClient.get(r);case 7:c=t.sent,s=c.data.detailedMembers.reduce((function(t,e){return t[e.id]=e,t}),{}),n=Object.assign(n,s),m.A.commit("setChannelMembers",{channelId:e,members:s,append:!0}),r=null===(a=c.data.links)||void 0===a||null===(i=a.next)||void 0===i?void 0:i.href;case 12:o++,t.next=4;break;case 15:m.A.commit("setChannelMembers",{channelId:e,members:n}),t.next=21;break;case 18:t.prev=18,t.t0=t.catch(0),this.logger.log({title:"Failed to fetch channel members",error:t.t0});case 21:case"end":return t.stop()}}
2),t,this,[[0,18]])}))),function(t){return l.apply(this,arguments)})},{key:"getCurrentSlackStatus",value:(u=Et(kt().mark((function t(){var e,r;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.httpClient.get("".concat(Lt,"/livecheck"));case 3:return r=t.sent,t.abrupt("return",null===(e=r.data)||void 0===e?void 0:e.slackStatus);case 7:if(t.prev=7,t.t0=t.catch(0),"NetworkError"!==(null===t.t0||void 0===t.t0?void 0:t.t0.code)&&"ECONNABORTED"!==(null===t.t0||void 0===t.t0?void 0:t.t0.code)&&401!==(null===t.t0||void 0===t.t0?void 0:t.t0.status)){t.next=11;break}return t.abrupt("return",null);case 11:return this.logger.error({title:"Failed to get current service status, is there a problem with that as well?",error:t.t0}),t.abrupt("return",null);case 13:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return u.apply(this,arguments)})},{key:"getAccountInvoices",value:(s=Et(kt().mark((function t(){var e,r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=m.A.state.profile.teamId){t.next=3;break}return t.abrupt("return",[]);case 3:return t.prev=3,r=new URL("".concat(Lt,"/v1/teams/").concat(encodeURIComponent(e),"/invoices")),t.next=7,this.httpClient.get(r);case 7:return n=t.sent,t.abrupt("return",n.data.invoices);case 11:if(t.prev=11,t.t0=t.catch(3),401!==t.t0.status&&403!==t.t0.status&&404!==t.t0.status){t.next=15;break}return t.abrupt("return",[]);case 15:return this.logger.error({title:"Failed to get invoices for account",error:t.t0,accountId:e}),t.abrupt("return",[]);case 17:case"end":return t.stop()}}),t,this,[[3,11]])}))),function(){return s.apply(this,arguments)})},{key:"adminRevalidateCard",value:(c=Et(kt().mark((function t(e){var r,n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,(n=new URL(window.location.href)).path="/app/",n.hash="#/settings?tab=billing&confirmed=true",o=new URL("".concat(Lt,"/v1/teams/").concat(encodeURIComponent(e),"/payment-sources")),t.next=7,this.httpClient.patch(o,{redirectUrl:n.toString()});case 7:if(a=t.sent,null===(r=a.data.followup)||void 0===r||!r.redirectUrl){t.next=10;break}throw Error("CardNeedsFollowup");case 10:t.next=16;break;case 12:throw t.prev=12,t.t0=t.catch(0),this.logger.log({title:"Attempted to revalidate card but it still failed",teamId:e,error:t.t0}),t.t0;case 16:case"end":return t.stop()}}),t,this,[[0,12]])}))),function(t){return c.apply(this,arguments)})},{key:"createSupportTicket",value:(i=Et(kt().mark((function t(e){var r,n,o,a,i;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r="tkt_".concat(wt()("abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ346789").generate()),n=m.A.state.profile.teamId,o=m.A.state.profile,a={teamId:n,profile:o,ticketId:r,ticket:e},this.logger.log({title:"Support ticket created - ".concat(r),ticketData:a}),i=new URL("".concat(Lt,"/v1/support-tickets")),t.next=8,this.authManager.getToken({timeoutInMillis:3e3,requireValidSession:!1});case 8:if(!t.sent){t.next=19;break}return t.prev=9,t.next=12,this.httpClient.post(i,a);case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(9),this.logger.error({title:"Failed to create support ticket: ".concat(r," - ").concat(JSON.stringify(e)),ticketData:a});case 17:t.next=20;break;case 19:this.logger.error({title:"Anonymous support ticket created - ".concat(r),ticketData:a,store:m.A.state});case 20:return t.abrupt("return",r);case 21:case"end":return t.stop()}}),t,this,[[9,14]])}))),function(t){return i.apply(this,arguments)})},{key:"getTeamHolidayConfiguration",value:(a=Et(kt().mark((function t(){var e,r,n;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=m.A.state.profile.teamId){t.next=3;break}return t.abrupt("return",{holidays:[]});case 3:return t.prev=3,r=new URL("".concat(Lt,"/v1/teams/").concat(encodeURIComponent(e),"/holidays")),t.next=7,this.httpClient.get(r);case 7:return n=t.sent,t.abrupt("return",n.data);case 11:if(t.prev=11,t.t0=t.catch(3),401!==t.t0.status&&403!==t.t0.status&&404!==t.t0.status){t.next=15;break}return t.abrupt("return",{holidays:[]});case 15:return this.logger.error({title:"Failed to get holidays for account",error:t.t0,teamId:e}),t.abrupt("return",{holidays:[]});case 17:case"end":return t.stop()}}),t,this,[[3,11]])}))),function(){return a.apply(this,arguments)})},{key:"saveTeamHolidays",value:(o=Et(kt().mark((function t(e){var r,n,o,a;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.holidayMap,n=m.A.state.profile.teamId){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,o=new URL("".concat(Lt,"/v1/teams/").concat(encodeURIComponent(n),"/holidays")),a={holidays:r},t.next=9,this.httpClient.put(o,a);case 9:t.next=21;break;case 11:if(t.prev=11,t.t0=t.catch(4),401!==t.t0.status&&402!==t.t0.status){t.next=16;break}throw this.logger.info({title:"Failed to save holidays for account due to missing access",error:t.t0,teamId:n}),t.t0;case 16:if(403!==t.t0.status&&404!==t.t0.status){t.next=19;break}throw this.logger.warn({title:"Failed to save holidays for account due to missing access",error:t.t0,teamId:n}),t.t0;case 19:throw this.logger.error({title:"Failed to get holidays for account",error:t.t0,teamId:n}),t.t0;case 21:case"end":return t.stop()}}),t,this,[[4,11]])}))),function(t){return o.apply(this,arguments)})},{key:"postTheStandupResponseToMe",value:(n=Et(kt().mark((function t(e,r,n){var o;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new URL("".concat(Lt,"/v1/teams/").concat(e,"/standups/").concat(r,"/threads/").concat(n,"/debug")),t.next=3,this.httpClient.post(o,{teamId:e,threadId:n});case 3:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return n.apply(this,arguments)})}],r&&St(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Tt(t){return Tt="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},Tt(t)}function Pt(){Pt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==Tt(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);
vendor: 4,782 bytes, line 2
2if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function Ot(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function _t(t){return function(){var e=this,r=arguments;
2return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ot(a,n,o,i,c,"next",t)}function c(t){Ot(a,n,o,i,c,"throw",t)}i(void 0)}))}}function Nt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t){if("object"!==Tt(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==Tt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===Tt(o)?o:String(o)),n)}var o}var Ct="https://billing.rhosys.ch",jt=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logger=e,this.platformClient=r}var e,r,n,o,a,i,c,s,u,l;return e=t,r=[{key:"loadStripe",value:function(){var t="https://js.stripe.com/v3/";if(!Array.from(document.getElementsByTagName("script")).some((function(e){return e.src===t}))&&"undefined"==typeof Stripe){var e=document.createElement("script");e.setAttribute("src",t),document.head.appendChild(e)}}},{key:"createAccount",value:(l=_t(Pt().mark((function t(e){var r,n;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=new URL("".concat(Ct,"/v1/accounts")),t.next=4,this.platformClient.post(r,{email:e});case 4:return n=t.sent,t.abrupt("return",n.data);case 8:throw t.prev=8,t.t0=t.catch(0),this.logger.warn({title:"Error creating new account",exception:t.t0}),t.t0;case 12:case"end":return t.stop()}}),t,this,[[0,8]])}))),function(t){return l.apply(this,arguments)})},{key:"getAccount",value:(u=_t(Pt().mark((function t(){var e,r;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=new URL("".concat(Ct,"/v1/accounts")),t.prev=1,t.next=4,this.platformClient.get(e);case 4:return r=t.sent,t.abrupt("return",r.data);case 8:if(t.prev=8,t.t0=t.catch(1),403!==t.t0.status&&404!==t.t0.status){t.next=12;break}return t.abrupt("return",null);case 12:throw this.logger.warn({title:"Failed to get account",error:t.t0}),t.t0;case 14:case"end":return t.stop()}}),t,this,[[1,8]])}))),function(){return u.apply(this,arguments)})},{key:"addStripePaymentSource",value:(s=_t(Pt().mark((function t(e,r){var n,o,a,i,c,s,u=arguments;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.length>2&&void 0!==u[2]?u[2]:{type:"STRIPE"},a=new URL("".concat(Ct,"/v1/accounts/").concat(e,"/payment-sources")),i={paymentSourceId:r,redirectUrl:"https://standup-and-prosper.com/app/#/settings?tab=billing&linkBillingAccount=true",authorizationChargeCurrency:"USD",paymentSourceType:null==o?void 0:o.type},t.next=5,this.platformClient.put(a,i);case 5:c=t.sent,null!==(n=c.data.followup)&&void 0!==n&&n.redirectUrl&&window.location.assign(null===(s=c.data.followup)||void 0===s?void 0:s.redirectUrl);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return s.apply(this,arguments)})},{key:"removeStripePaymentSource",value:(c=_t(Pt().mark((function t(e,r){var n,o;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=new URL("".concat(Ct,"/v1/accounts/").concat(e,"/payment-sources/").concat(r)),t.next=3,this.platformClient.delete(n);case 3:return o=t.sent,t.abrupt("return",o.data);case 5:case"end":return t.stop()}}),t,this)}))),function(t,e){return c.apply(this,arguments)})},{key:"setStripePaymentSourceAsDefault",value:(i=_t(Pt().mark((function t(e,r){var n,o;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=new URL("".concat(Ct,"/v1/accounts/").concat(e)),t.next=3,this.platformClient.patch(n,{paymentAccount:{defaultPaymentMethodId:r}});case 3:return o=t.sent,t.abrupt("return",o.data);case 5:case"end":return t.stop()}}),t,this)}))),function(t,e){return i.apply(this,arguments)})},{key:"revalidateCard",value:(a=_t(Pt().mark((function t(e,r){var n,o,a,i,c;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,(o=new URL(window.location.href)).path="/app/",o.hash="#/settings?tab=billing&confirmed=true",a=new URL("".concat(Ct,"/v1/accounts/").concat(encodeURIComponent(e),"/payment-sources/").concat(encodeURIComponent(r||""))),t.next=7,this.platformClient.patch(a,{redirectUrl:o.toString()});case 7:i=t.sent,null!==(n=i.data.followup)&&void 0!==n&&n.redirectUrl&&window.location.assign(null===(c=i.data.followup)||void 0===c?void 0:c.redirectUrl),t.next=15;break;case 11:throw t.prev=11,t.t0=t.catch(0),this.logger.log({title:"Attempted to revalidate card but it still failed",accountId:e,paymentSourceId:r,error:t.t0}),t.t0;case 15:case"end":return t.stop()}}),t,this,[[0,11]])}))),function(t,e){return a.apply(this,arguments)})},{key:"setPaymentAccount",value:(o=_t(Pt().mark((function t(e,r,n){var o,a,i,c,s,u,l,h=arguments;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=h.length>3&&void 0!==h[3]?h[3]:bt.A.plans.STANDUP,a=h.length>4?h[4]:void 0,i=h.length>5?h[5]:void 0,c=Object.values(bt.A.plans).find((function(t){return null==o?void 0:o.startsWith(t)}))){t.next=6;break}throw Error("UnknownFeatureSet");case 6:if(o!==bt.A.plans.STANDUP){t.next=9;break}return this.logger.error({title:"There is no feature set found for this plan, this is the no-plan configuration, when this is selected the delete payment account should be triggered.",teamIdentityUrl:e,teamId:r,accountId:n,quantity:a}),t.abrupt("return",null);case 9:return s=new URL("".concat(Ct,"/v1/accounts/").concat(n,"/payment-targets")),u={operation:"ADD",paymentTarget:{type:"STANDUP",featureSet:c,identityUrl:e,identityId:r,quantity:a,currency:"USD"}},i&&(u.promoCode=i),t.next=14,this.platformClient.patch(s,u);
vendor: 5,570 bytes, line 2
2case 14:return l=t.sent,t.abrupt("return",l);case 16:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return o.apply(this,arguments)})},{key:"deletePaymentAccount",value:(n=_t(Pt().mark((function t(e,r,n){var o,a,i;return Pt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new URL("".concat(Ct,"/v1/accounts/").concat(n,"/payment-targets")),a={operation:"REMOVE",paymentTarget:{type:"STANDUP",identityId:r,identityUrl:e}},t.next=4,this.platformClient.patch(o,a);case 4:return i=t.sent,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t,this)}))),function(t,e,r){return n.apply(this,arguments)})}],r&&Nt(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Rt(t){return Rt="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},Rt(t)}function Ut(){Ut=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==Rt(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function Ft(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}r(9313);const Dt={name:"ActivityButton",props:{action:{type:Function,required:!1,default:function(){}},disabled:{type:Boolean,required:!1,default:!1},event:{type:String,required:!1,default:null},variant:{type:String,required:!1,default:"secondary"},tabindex:{type:String,required:!1,default:void 0}},inject:["logger","fullStory"],data:function(){return{inProgress:!1,completed:!1,width:null,height:null}},computed:{innerDisabled:function(){return this.inProgress||this.disabled},computedHeight:function(){return this.height&&"".concat(this.height,"px")},computedWidth:function(){return this.width&&"".concat(this.width,"px")}},methods:{onClick:function(){var t,e=this;return(t=Ut().mark((function t(){var r,n,o,a,i;return Ut().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.width=e.$refs.button.clientWidth,e.height=e.$refs.button.clientHeight,r=new Promise((function(t){return setTimeout(t,10)})).then((function(){return"RACE"})),e.sendEvent(),n=!1,!e.action){t.next=21;break}return t.prev=6,o=e.action(),t.next=10,Promise.race([r,o]);case 10:return"RACE"===t.sent&&(e.inProgress=!0),t.next=14,o;case 14:n=t.sent,t.next=21;break;case 17:t.prev=17,t.t0=t.catch(6),i=null===(a=e.action.name)||void 0===a?void 0:a.replace(/^bound\s+/i,""),e.logger.error({title:"Button action error - ".concat(e.$route.name||"<No - Route>"," - ").concat(i),error:t.t0,buttonName:i,props:e.$data});case 21:e.inProgress=!1,n&&(e.completed=!0,setTimeout((function(){e.completed=!1}),1e3));case 23:case"end":return t.stop()}}),t,null,[[6,17]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){Ft(a,n,o,i,c,"next",t)}function c(t){Ft(a,n,o,i,c,"throw",t)}i(void 0)}))})()},sendEvent:function(){var t,e=this.$route.name;if(this.event)t=this.event;else{if(!this.action||!this.action.name||"anonymous"===this.action.name||"action"===this.action.name)return;t=this.action.name.replace("bound ","")}this.fullStory.event(t,{event_category_str:e})}}};var Gt=r(1656);const Mt=(0,Gt.A)(Dt,(function(){var t=this,e=t._self._c;return e("b-button",{attrs:{tabindex:t.tabindex,disabled:t.innerDisabled,variant:t.variant},on:{click:t.onClick}},[t.inProgress?e("div",{style:{width:t.computedWidth,height:t.computedHeight}},[e("fa",{attrs:{icon:"spinner",spin:""}})],1):e("div",{ref:"button"},[t.completed?e("div",{staticClass:"text-primary",style:{width:t.computedWidth,height:t.computedHeight}},[e("fa",{attrs:{icon:"check"}})],1):t._t("default")],2)])}),[],!1,null,null,null).exports,Yt={name:"LoaderComponent",props:{size:{type:String,required:!1,default:function(){return"large"},validator:function(t){return t.match(/^\d+px$/)||["large","medium","small","full"].includes(t)}}},computed:{spinnerSize:function(){if(this.size.match(/^\d+px$/))return this.size;var t="";switch(this.size){case"small":t="19px";break;case"medium":t="38px";break;case"large":default:t="76px";break;case"full":t="100%"}return t},pageCenter:function(){return"large"===this.size},styles:function(){return{height:this.spinnerSize}}}},zt=(0,Gt.A)(Yt,(function(){var t=this;
2return(0,t._self._c)("img",{class:t.pageCenter?"centered":"inline",style:t.styles,attrs:{src:r(3126),alt:"loading"}})}),[],!1,null,"2cc31c96",null).exports,Ht={name:"StaticSpinner",props:{pageLoader:{type:Boolean,required:!1,default:function(){return!1}}}},qt=(0,Gt.A)(Ht,(function(){var t=this,e=t._self._c;return e("div",{class:{fixed:t.pageLoader,centered:!t.pageLoader}},[e("fa",{staticClass:"spinner",attrs:{icon:"spinner",size:"3x",spin:""}})],1)}),[],!1,null,"029aa96f",null).exports,Bt={name:"BookmarkableLink",props:{},methods:{handleClick:function(t){if("T915CUBD0"===this.$store.state.profile.teamId){for(var e=t.target,r=null;e&&e!==document.body;){if(e.id&&e.id.startsWith("focus-")){r=e.id;break}e=e.parentElement}if(r){var n,o=r.substring(6),a=window.location.hash.split("?"),i=a[0],c=a[1]||"",s=new URLSearchParams(c),u=null===(n=this.$route.query.focus)||void 0===n?void 0:n.startsWith("advanced");s.set("focus",u?"advanced.".concat(o):o);var l,h=s.toString();l=h?"".concat(i,"?").concat(h):i,window.location.hash=l}}}}},Vt=(0,Gt.A)(Bt,(function(){var t=this;return(0,t._self._c)("div",{on:{click:function(e){return e.preventDefault(),t.handleClick.apply(null,arguments)}}},[t._t("default")],2)}),[],!1,null,"578234fe",null).exports;var Wt=r(7114),Kt=r.n(Wt),$t=r(1579),Jt=r(3654),Xt=r(6429);function Zt(t){return Zt="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},Zt(t)}function Qt(){Qt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,o){var a=e&&e.prototype instanceof d?e:d,i=Object.create(a.prototype),c=new S(o||[]);return n(i,"_invoke",{value:x(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var h={};function d(){}function p(){}function f(){}var v={};s(v,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(L([])));y&&y!==e&&r.call(y,a)&&(v=y);var g=f.prototype=d.prototype=Object.create(v);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var s=l(t[n],t,a);if("throw"!==s.type){var u=s.arg,h=u.value;return h&&"object"==Zt(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return o("throw",t,i,c)}))}c(s.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=k(i,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:I}}function I(){return{value:void 0,done:!0}}return p.prototype=f,n(g,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:p,configurable:!0}),p.displayName=s(f,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),s(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(g),s(g,c,"Generator"),s(g,a,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}function te(t,e,r,n,o,a,i){try{var c=t[a](i),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function ee(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){te(a,n,o,i,c,"next",t)}function c(t){te(a,n,o,i,c,"throw",t)}i(void 0)}))}}r(8444);var re="true"===new URL(window.location).searchParams.get("dev");(re||"false"===new URL(window.location).searchParams.get("dev"))&&m.A.commit("setAppVersionAsDev",re),new URL(window.location).searchParams.get("install")&&m.A.commit("setLoginProvider","true"===new URL(window.location).searchParams.get("install")?"Installer":"Authress"),m.A.commit("setInitiatingStartPage",window.location.href),n.Ay.use(o.Ay),n.Ay.use(i(),{fieldsBagName:"veeFields"}),n.Ay.use(s()),l().config.autoSetContainer=!0,n.Ay.use(l()),n.Ay.use(h.Ay$),n.Ay.component("t-button",Mt),n.Ay.component("loader",zt),n.Ay.component("static-loader",qt),n.Ay.component("BookmarkableLink",Vt),n.Ay.use(Kt(),{}),n.Ay.component("fa",Jt.gc),Xt.Yv.add(r(7612).mw),Xt.Yv.add(r(7256).mw),Xt.Yv.add(r(382).mw),Xt.Yv.add(r(3385).mw),Xt.Yv.add(r(2456).mw),Xt.Yv.add(r(1144).mw),Xt.Yv.add(r(3122).mw),Xt.Yv.add(r(9281).mw),Xt.Yv.add(r(4978).mw),Xt.Yv.add(r(8760).mw),Xt.Yv.add(r(4190).mw),Xt.Yv.add(r(1590).mw),Xt.Yv.add(r(5894).mw),Xt.Yv.add(r(3949).mw),Xt.Yv.add(r(138).mw),Xt.Yv.add(r(3714).mw),Xt.Yv.add(r(1617).mw),Xt.Yv.add(r(4035).mw),Xt.Yv.add(r(7028).mw),Xt.Yv.add(r(9505).mw),Xt.Yv.add(r(3465).mw),Xt.Yv.add(r(9221).mw),Xt.Yv.add(r(6286).mw),Xt.Yv.add(r(1482).mw),Xt.Yv.add(r(6997).mw),Xt.Yv.add(r(4917).mw),Xt.Yv.add(r(6913).mw),Xt.Yv.add(r(9179).mw),Xt.Yv.add(r(4330).mw),Xt.Yv.add(r(2378).mw),Xt.Yv.add(r(7125).mw),Xt.Yv.add(r(2357).mw),Xt.Yv.add(r(7671).mw),Xt.Yv.add(r(6843).mw),Xt.Yv.add(r(2412).mw),Xt.Yv.add(r(5355).mw),Xt.Yv.add(r(1914).mw),Xt.Yv.add(r(9569).mw),Xt.Yv.add(r(49).mw),Xt.Yv.add(r(1558).mw),Xt.Yv.add(r(7716).mw);var ne=function(){return r.e(792).then(r.bind(r,3057))};!function(){p.A.initialize(),n.Ay.mixin((new z).getMixin(p.A,(function(){})));var t=new vt(d.A),e=new et(p.A,d.A,t),r=new It(p.A,m.A,e,t),a=new jt(p.A,e),i=new o.Ay({routes:R(t),store:m.A,linkActiveClass:"active"});t.addLoginHook(ee(Qt().mark((function e(){var n,o,a;return Qt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.ensureTeam();case 3:U.A.setKeys(p.A.sessionKey,$t.A.version.buildCommit),U.A.fullStoryIdentify(),U.A.setAccountId(),null!==(n=m.A.state.cache.currentTeam)&&void 0!==n&&null!==(o=n.features)&&void 0!==o&&null!==(a=o.billingAlert)&&void 0!==a&&a.locked&&i.replace({name:"Settings",query:{unlock:!0}}).catch((function(){})),e.next=18;break;case 9:if(e.prev=9,e.t0=e.catch(0),"ForceInstallation"!==e.t0.message){e.next=14;break}return t.forceInstallation(),e.abrupt("return");case 14:return p.A.error({title:"Failed to execute login hook, we have no idea what happened so forcing the user to logout.",error:e.t0,store:m.A}),p.A.flush(),e.next=18,t.logout();case 18:case"end":return e.stop()}}),e,null,[[0,9]])})))),p.A.getRoute=function(){return{fullPath:i.currentRoute.fullPath,hash:i.currentRoute.hash,params:i.currentRoute.params,name:i.currentRoute.name,path:i.currentRoute.path,query:i.currentRoute.query}},p.A.log({title:"Version",version:$t.A.version},!0),function(t,e,r,n,o,a){e.config.errorHandler=function(e,r){var n=r||{},o={id:n.id,attributes:n.$attrs,refs:n.$refs,props:n.$props,tag:n.tag},a=e||{};"ECONNABORTED"!==a.code?t.error({title:"VueException - ".concat(a.message," - ").concat(a.filename,"@").concat(a.lineNumber,":").concat(a.columnNumber),online:navigator.onLine,details:'There is a single logged property in this message called: "error"',error:a,stack:a.stack||"(unknown stack)",vueComponent:o}):t.log({title:"VueWarning - ".concat(a.message," - ").concat(a.filename,"@").concat(a.lineNumber,":").concat(a.columnNumber),online:navigator.onLine,details:'There is a single logged property in this message called: "error"',error:a,stack:a.stack||"(unknown stack)",vueComponent:o})}
2,e.config.warnHandler=function(e){t.warn({title:"VueWarning",warning:e})},n.onError((function(e){var n,i,c;if(null!==(n=e.message)&&void 0!==n&&n.match(/loading.*chunk [\w.]* failed./i))return null!==(i=o.state.cache.errorTracking.chunkLoadingError)&&void 0!==i&&i.releaseDate&&(null===(c=o.state.cache.errorTracking.chunkLoadingError)||void 0===c?void 0:c.releaseDate)===(null==a?void 0:a.releaseDate)?(t.warn({title:"VueRouterException - ChunkLoadFailure",error:e,version:a,currentChunkError:o.state.cache.errorTracking.chunkLoadingError}),void(confirm("This site failed to load due to an issue with your network connection. The site may not fully work correctly. To ensure a complete load, check your network configuration. For advanced debugging, review the network tab and inspector logs.\n\nPress OK to force a reload of the site.\nPress Cancel to continue to use as is.")&&r.location.reload(!0))):(o.commit("trackChunkLoadingError",a),t.warn({title:"ChunkLoadFailure",online:navigator.onLine,error:e,version:a,currentChunkError:o.state.cache.errorTracking.chunkLoadingError}),void r.location.reload(!0));t.error({title:"VueRouterException",error:e,version:a,errorTracking:o.state.cache.errorTracking})}));var i=r.onerror;r.onerror=function(e,n,o,a,c){var s=arguments;return null!=e&&e.match("Possible side-effect in debug-evaluate")||null!=e&&e.match("googletag")||null!=n&&n.match("chrome-extension")?null:(t.error({title:"GlobalException - ".concat((null==c?void 0:c.message)||"Undefined Error Message"),online:navigator.onLine,exception:{message:e,url:n,line_num:o,col_num:a,error:c}}),void(i&&"function"==typeof i&&i.apply(r,s)))};var c=r.onunhandledrejection;r.onunhandledrejection=function(e){var n,i,s,u,l,h,d,p,f,v={message:null==e?void 0:e.message,arguments:null==e?void 0:e.arguments,type:null==e?void 0:e.type,code:null==e?void 0:e.code,reason:null==e?void 0:e.reason,name:null==e?void 0:e.name};if((null!=v&&v.message||null!=v&&v.code||null!=v&&v.reason||null!=v&&v.name)&&!(null!=e&&null!==(n=e.stack)&&void 0!==n&&n.match("chrome-extension")||null!==(i=v.reason)&&void 0!==i&&null!==(s=i.stack)&&void 0!==s&&s.match("chrome-extension")||null!==(u=v.reason)&&void 0!==u&&null!==(l=u.sourceURL)&&void 0!==l&&l.match(/^user-script/)||"string"==typeof v.reason&&v.reason.match("Object Not Found Matching Id"))){var m,y;if("ChunkLoadError"===(null===(h=v.reason)||void 0===h?void 0:h.name))return null!==(m=o.state.cache.errorTracking.chunkLoadingError)&&void 0!==m&&m.releaseDate&&(null===(y=o.state.cache.errorTracking.chunkLoadingError)||void 0===y?void 0:y.releaseDate)===(null==a?void 0:a.releaseDate)?(t.warn({title:"VueRouterException - ChunkLoadFailure",online:navigator.onLine,error:e,version:a,currentChunkError:o.state.cache.errorTracking.chunkLoadingError}),void(confirm("This site failed to load due to an issue with your network connection. The site may not fully work correctly. To ensure a complete load, check your network configuration. For advanced debugging, review the network tab and inspector logs.\n\nPress OK to force a reload of the site.\nPress Cancel to continue to use as is.")&&r.location.reload(!0))):(o.commit("trackChunkLoadingError",a),t.warn({title:"ChunkLoadFailure",online:navigator.onLine,error:e,version:a,currentChunkError:o.state.cache.errorTracking.chunkLoadingError}),void r.location.reload(!0));var g="error";"Not implemented on this platform"===(null===(d=v.reason)||void 0===d?void 0:d.message)&&(g="track"),null!==(p=v.reason)&&void 0!==p&&null!==(f=p.stack)&&void 0!==f&&f.match("HTMLImageElement.onload")&&(g="track"),t[g]({title:"GlobalPromiseRejection - ".concat(v.reason||""),summary:v,online:navigator.onLine,rejectedPromise:null==e?void 0:e.promise,exception:e}),c&&"function"==typeof c&&c.apply(r,arguments)}}}(p.A,n.Ay,window,i,m.A,$t.A.version),window.onbeforeunload=function(){p.A.flushOnUnload()},new n.Ay({router:i,store:m.A,provide:{alertHandler:d.A,fullStory:U.A,sessionStore:m.A,logger:p.A,authManager:t,standupManager:r,billingClient:a},created:function(){var t=this;i.afterEach((function(e){document.title=t.getDocumentTitle(e),window.scrollTo(0,0),d.A.removeAlert("danger",!1),d.A.removeAlert("warning",!1)})),document.title=this.getDocumentTitle(this.$route)},watch:{$route:function(t){var e="true"===t.query.dev||"true"===new URL(window.location).searchParams.get("dev");(e||"false"===t.query.dev||"false"===new URL(window.location).searchParams.get("dev"))&&m.A.commit("setAppVersionAsDev",e)}
2},methods:{getDocumentTitle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t&&t.name?"Standup - ".concat(t.name):"Standup"}},render:function(t){return t(ne)}}).$mount("#app")}()},1278:(t,e,r)=>{if(window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.hostname.match("standup.teaminator.io")){var n=new URL(window.location);n.hostname="standup-and-prosper.com",window.location.replace(n.toString())}else!function(){var t=setTimeout((function(){return document.getElementById("loading-note").innerText="Taking longer than expected... Please stand by"}),7500),e=setTimeout((function(){document.getElementById("loading-note").innerHTML='If you still see this message, please try reloading the page or contact us at <a href="mailto:[email protected]">[email protected]</a>'}),6e4);try{r(3747);var n=document.getElementById("loading-nav");n&&(n.outerHTML="");var o=document.getElementById("loading-error");o&&(o.outerHTML="")}catch(t){console.error("App did not load",t);var a=document.getElementById("initial-loader");a&&(a.outerHTML="");var i=document.getElementById("loading-error");i&&(i.style.display="")}clearTimeout(t),clearTimeout(e)}()},4816:(t,e,r)=>{r.d(e,{A:()=>p});var n=r(4641),o=r(5471),a=r(406),i=r(8055),c=r.n(i),s=r(5353),u=r(489);o.Ay.use(s.Ay);var l=[(0,a.A)({key:"standup",paths:["settings","profile","cache","dev","permanentCache","hiddenNotifications"]})],h={alert:null,globalLoader:!1,initiatingStartPage:null,profile:{},hiddenNotifications:{StandupReportCopyWarning:null},cache:{loginType:"Authress",redirectOnEnterpriseLogin:!0,invalidTokenCalls:0,currentTeam:null,channels:{},channelMembers:{},fallbackMembers:{},users:{},standups:{},stats:null,errorTracking:{chunkLoadingError:null,networkErrors:0}},permanentCache:{referrerData:null,lastUsedTeamId:null},dev:!1};function d(){return c()(h)}const p=new s.Ay.Store({strict:!1,plugins:l,state:d(),mutations:{hidePageNotification:function(t,e){o.Ay.set(t.hiddenNotifications,e,n.c9.utc().toISO())},setLoginProvider:function(t,e){t.cache.loginType=e},setInitiatingStartPage:function(t,e){t.initiatingStartPage=e},updateProfile:function(t,e){t.profile=e},updateEnterpriseRedirect:function(t,e){t.cache.redirectOnEnterpriseLogin=e},setAlert:function(t,e){t.alert=e},removeAlert:function(t,e){var r;!e.force&&null!==(r=t.alert)&&void 0!==r&&r.persistent||(e.type?t.alert&&t.alert.alertType===e.type&&(t.alert=null):t.alert=null)},removeSpecificAlert:function(t,e){t.alert===e&&(t.alert=null)},setTeam:function(t,e){t.cache.currentTeam=e,t.permanentCache.lastUsedTeamId=null==e?void 0:e.teamId},setChannels:function(t,e){t.cache.channels=e||{},Object.keys(t.cache.channels).map((function(e){t.cache.channelMembers[e]||o.Ay.set(t.cache.channelMembers,e,null)}))},setChannelMembers:function(t,e){var r=e.channelId,n=e.members,a=e.append,i=t.cache.channelMembers[r],c=Object.values(a?Object.assign({},i,n):n).reduce((function(t,e){return t[e.id]=e,t}),{}),s=Object.keys(i||{}),u=Object.keys(c);i&&s.length===u.length&&u.every((function(t){return i[t]}))||o.Ay.set(t.cache.channelMembers,r,c)},setMember:function(t,e){var r=e.memberId,n=e.member;t.cache.fallbackMembers||(t.cache.fallbackMembers={}),n?t.cache.fallbackMembers[r]=n:delete t.cache.fallbackMembers[r]},setTeamStats:function(t,e){t.cache.stats=e},removeLogin:function(t,e){var r=t.dev,n=d(),o=t.permanentCache;Object.keys(n).forEach((function(e){t[e]=n[e]})),t.permanentCache=o,e&&(t.permanentCache.lastUsedTeamId=null),t.dev=r,t.cache.loginType="Authress"},setStandup:function(t,e){t.cache.standups[e.standupId]=e},setStandups:function(t,e){t.cache.standups=e||{}},setAppVersionAsDev:function(t,e){t.dev=e},trackHttpSuccess:function(t){t.cache.errorTracking.networkErrors=0},trackChunkLoadingError:function(t,e){t.cache.errorTracking.chunkLoadingError=e},trackHttpError:function(t,e){"Network Error"!==e.error.message&&"NetworkError"!==e.error.code||t.cache.errorTracking.networkErrors++},setInvalidTokenCalls:function(t,e){t.cache.invalidTokenCalls=e||0},setReferrerData:function(t,e){t.permanentCache.referrerData=Object.values(e||{}).some((function(t){return t}))?e:t.permanentCache.referrerData},setGlobalLoader:function(t,e){t.globalLoader=e}}
2,getters:{memberMap:function(t){var e=c()(t.cache.fallbackMembers||{});return Object.values(t.cache.channelMembers||{}).map((function(t){Object.assign(e,t)})),e},isDev:function(t){return t.dev},teamHasPaidPlan:function(t){return function(e){var r,n,o=(null==e?void 0:e.currentPlan)||Object.keys((null===(r=t.cache.currentTeam)||void 0===r||null===(n=r.features)||void 0===n?void 0:n.setInfo)||{})[0]||"";return o.startsWith(u.A.plans.SUPPORT_MONTH)||o.startsWith(u.A.plans.SUPPORT_YEAR)||o.startsWith(u.A.plans.PROSPER_MONTH)||o.startsWith(u.A.plans.PROSPER_YEAR)||o.startsWith(u.A.plans.ENTERPRISE)}},getStandupFeatures:function(t){return function(e){var r,n,o,a;if(e)return(null===(o=t.cache.standups)||void 0===o||null===(a=o[e])||void 0===a?void 0:a.features)||{};var i=Object.keys((null===(r=t.cache.currentTeam)||void 0===r||null===(n=r.features)||void 0===n?void 0:n.setInfo)||{})[0]||"";return i.startsWith(u.A.plans.SUPPORT_MONTH)||i.startsWith(u.A.plans.SUPPORT_YEAR)||i.startsWith(u.A.plans.EARLY_ADOPTER)||i.startsWith(u.A.plans.PROSPER_MONTH)||i.startsWith(u.A.plans.PROSPER_YEAR)||i.startsWith(u.A.plans.ENTERPRISE)?u.A.paidFeatureValues:{}}}}})},3126:(t,e,r)=>{t.exports=r.p+"img/spinner.6473d5f5.svg"}},o={};function a(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={id:t,loaded:!1,exports:{}};return n[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=n,t=[],a.O=(e,r,n,o)=>{if(!r){var i=1/0;for(l=0;l<t.length;l++){for(var[r,n,o]=t[l],c=!0,s=0;s<r.length;s++)(!1&o||i>=o)&&Object.keys(a.O).every((t=>a.O[t](r[s])))?r.splice(s--,1):(c=!1,o<i&&(i=o));if(c){t.splice(l--,1);var u=n();void 0!==u&&(e=u)}}return e}o=o||0;for(var l=t.length;l>0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[r,n,o]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.f={},a.e=t=>Promise.all(Object.keys(a.f).reduce(((e,r)=>(a.f[r](t,e),e)),[])),a.u=t=>"js/"+({93:"standups",113:"logout",164:"terms",193:"unauthorized",240:"support",305:"issue-link",381:"api",472:"settings",528:"reports",537:"autoUnsubscribe",672:"disclosure",739:"edit",742:"enterprise",792:"main",840:"audit",884:"admin",955:"uninstall",957:"privacy"}[t]||t)+"."+{93:"95165415",113:"1869ceb5",164:"255c5dd7",193:"c723067a",240:"1d6f8683",262:"69c2005b",305:"05e7747c",381:"a7542b76",472:"33d43da2",485:"89af5007",528:"274ff3ab",537:"97fca8b5",635:"04f0ef2c",672:"0149c8b8",686:"7f9f96eb",739:"48feb2fd",742:"6f114078",792:"dbcceffb",806:"7d825170",840:"d2f1c18e",884:"05316b1c",955:"4132deb6",957:"ced3f642"}[t]+".js",a.miniCssF=t=>"css/"+{93:"standups",164:"terms",240:"support",305:"issue-link",381:"api",472:"settings",528:"reports",672:"disclosure",739:"edit",792:"main",840:"audit",957:"privacy"}[t]+"."+{93:"f38acdf0",164:"b1b4b99e",240:"ad0aad19",305:"e4c90c83",381:"040c5741",472:"124e6693",528:"0dbb89a9",672:"b1b4b99e",739:"f0841dd0",792:"9a81e7dc",840:"85aa7389",957:"45f3bc08"}[t]+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),e={},r="StandupAndProsperUI:",a.l=(t,n,o,i)=>{if(e[t])e[t].push(n);else{var c,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var h=u[l];if(h.getAttribute("src")==t||h.getAttribute("data-webpack")==r+o){c=h;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.setAttribute("data-webpack",r+o),c.src=t),e[t]=[n];var d=(r,n)=>{c.onerror=c.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((t=>t(n))),r)return r(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),s&&document.head.appendChild(c)}},a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),a.p="/app/",(()=>{if("undefined"!=typeof document){var t={524:0};a.f.miniCss=(e,r)=>{t[e]?r.push(t[e]):0!==t[e]&&{93:1,164:1,240:1,305:1,381:1,472:1,528:1,672:1,739:1,792:1,840:1,957:1}[e]&&r.push(t[e]=(t=>new Promise(((e,r)=>{var n=a.miniCssF(t),o=a.p+n;if(((t,e)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(i=r[n]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===t||o===e))return i}var a=document.getElementsByTagName("style");for(n=0;n<a.length;n++){var i;if((o=(i=a[n]).getAttribute("data-href"))===t||o===e)return i}})(n,o))return e();((t,e,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",a.nc&&(i.nonce=a.nc),i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&r.type,c=r&&r.target&&r.target.href||e,s=new Error("Loading CSS chunk "+t+" failed.\n("+a+": "+c+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=a,s.request=c,i.parentNode&&i.parentNode.removeChild(i),o(s)}},i.href=e,document.head.appendChild(i)})(t,o,0,e,r)})))(e).then((()=>{t[e]=0}),(r=>{throw delete t[e],r})))}}})(),(()=>{var t={524:0};a.f.j=(e,r)=>{var n=a.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=t[e]=[r,o]));r.push(n[2]=o);var i=a.p+a.u(e),c=new Error;a.l(i,(r=>{if(a.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,n[1](c)}}),"chunk-"+e,e)}},a.O.j=e=>0===t[e];var e=(e,r)=>{var n,o,[i,c,s]=r,u=0;if(i.some((e=>0!==t[e]))){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);if(s)var l=s(a)}for(e&&e(r);u<i.length;u++)o=i[u],a.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return a.O(l)},r=self.webpackChunkStandupAndProsperUI=self.webpackChunkStandupAndProsperUI||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})();var i=a.O(void 0,[865],(()=>a(1278)));i=a.O(i)})();
3//# sourceMappingURL=app.abfee4de.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.