1"use strict";(self["webpackChunkmy_ine_com"]=self["webpackChunkmy_ine_com"]||[]).push([[2882],{17935:function(t,e,i){i.d(e,{A:function(){return c}});var n=i(95976),r={width:"368",height:"300",viewBox:"0 0 368 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function o(t,e){return(0,n.uX)(),(0,n.CE)("svg",r,e[0]||(e[0]=[(0,n.Fv)('<g style="mix-blend-mode:screen;" opacity=".18" filter="url(#filter0_f_341_12394)"><ellipse cx="134" cy="107.905" rx="56" ry="55" fill="#fff"></ellipse></g><g opacity=".36" filter="url(#filter1_f_341_12394)"><circle cx="232.25" cy="138.531" r="53" fill="#190DA0"></circle></g><g style="mix-blend-mode:screen;" opacity=".43" filter="url(#filter2_f_341_12394)"><ellipse cx="148.625" cy="152.5" rx="66" ry="65.5" fill="#5B4B9B"></ellipse></g><g filter="url(#filter3_b_341_12394)"><rect x="116.5" y="64.5" width="130" height="130" rx="65" fill="url(#paint0_linear_341_12394)" fill-opacity=".7" stroke="url(#paint1_linear_341_12394)"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M182 111.25c-10.355 0-18.75 8.395-18.75 18.75s8.395 18.75 18.75 18.75 18.75-8.395 18.75-18.75-8.395-18.75-18.75-18.75zM159.083 130c0-12.657 10.261-22.917 22.917-22.917 12.657 0 22.917 10.26 22.917 22.917 0 12.657-10.26 22.917-22.917 22.917-12.656 0-22.917-10.26-22.917-22.917z" fill="#fff"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M182 119.583c1.151 0 2.083.933 2.083 2.084V130a2.082 2.082 0 11-4.166 0v-8.333c0-1.151.932-2.084 2.083-2.084zM179.917 138.333c0-1.15.932-2.083 2.083-2.083h.021a2.084 2.084 0 010 4.167H182a2.083 2.083 0 01-2.083-2.084z" fill="#fff"></path></g><g opacity=".6" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M268.95 163.05l-9.9 9.9M259.05 163.05l9.9 9.9"></path></g><g opacity=".3" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M254.888 190.112l-5.775 5.775M249.113 190.113l5.775 5.774"></path></g><g opacity=".4" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M124.018 56.982l-21.036 21.036M102.982 56.982l21.036 21.036"></path></g><defs><filter id="filter0_f_341_12394" x="26" y=".905" width="216" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="26" result="effect1_foregroundBlur_341_12394"></feGaussianBlur></filter><filter id="filter1_f_341_12394" x="97.25" y="3.531" width="270" height="270" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="41" result="effect1_foregroundBlur_341_12394"></feGaussianBlur></filter><filter id="filter2_f_341_12394" x=".625" y="5" width="296" height="295" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="41" result="effect1_foregroundBlur_341_12394"></feGaussianBlur></filter><filter id="filter3_b_341_12394" x="101" y="49" width="161" height="161" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feGaussianBlur in="BackgroundImage" stdDeviation="7.5"></feGaussianBlur><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_341_12394"></feComposite><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_341_12394" result="shape"></feBlend></filter><linearGradient id="paint0_linear_341_12394" x1="96.593" y1="50.176" x2="273.862" y2="97.642" gradientUnits="userSpaceOnUse"><stop stop-color="#3E3F49"></stop><stop offset="1" stop-color="#3E3F49" stop-opacity="0"></stop></linearGradient><linearGradient id="paint1_linear_341_12394" x1="131.25" y1="79.531" x2="222.25" y2="182.531" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".48"></stop><stop offset="1" stop-color="#1C5BFF" stop-opacity=".17"></stop></linearGradient></defs>',8)]))}var a=i(1169);const l={},s=(0,a.A)(l,[["render",o]]);var c=s}
1,18723:function(t,e,i){i.d(e,{A:function(){return c}});var n=i(95976),r={width:"367",height:"300",viewBox:"0 0 367 300",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function o(t,e){return(0,n.uX)(),(0,n.CE)("svg",r,e[0]||(e[0]=[(0,n.Fv)('<g style="mix-blend-mode:screen;" opacity=".18" filter="url(#filter0_f_341_12259)"><ellipse cx="133.5" cy="107.905" rx="56" ry="55" fill="#F28815"></ellipse></g><g opacity=".36" filter="url(#filter1_f_341_12259)"><circle cx="231.75" cy="138.531" r="53" fill="#190DA0"></circle></g><g style="mix-blend-mode:screen;" opacity=".43" filter="url(#filter2_f_341_12259)"><ellipse cx="148.125" cy="152.5" rx="66" ry="65.5" fill="#5B4B9B"></ellipse></g><g filter="url(#filter3_b_341_12259)"><rect x="116" y="64.5" width="130" height="130" rx="65" fill="url(#paint0_linear_341_12259)" fill-opacity=".7" stroke="url(#paint1_linear_341_12259)"></rect><path d="M177.288 109.683l-21.175 34.88a4.895 4.895 0 00-.67 2.453 4.888 4.888 0 00.656 2.457 4.973 4.973 0 001.809 1.809 5.04 5.04 0 002.48.681h42.35a5.044 5.044 0 002.481-.681 4.963 4.963 0 001.808-1.809 4.868 4.868 0 00-.014-4.91l-21.175-34.88a4.963 4.963 0 00-1.822-1.74 5.053 5.053 0 00-4.906 0 4.978 4.978 0 00-1.822 1.74v0zM181.562 122.362v9.867M181.562 142.096h.026" stroke="#F28815" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"></path></g><g opacity=".6" stroke="#F28815" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M268.45 163.05l-9.9 9.9M258.55 163.05l9.9 9.9"></path></g><g opacity=".3" stroke="#F28815" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M254.388 190.112l-5.775 5.775M248.613 190.113l5.775 5.774"></path></g><g opacity=".4" stroke="#F28815" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M123.518 56.982l-21.036 21.036M102.482 56.982l21.036 21.036"></path></g><defs><filter id="filter0_f_341_12259" x="25.5" y=".905" width="216" height="214" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="26" result="effect1_foregroundBlur_341_12259"></feGaussianBlur></filter><filter id="filter1_f_341_12259" x="96.75" y="3.531" width="270" height="270" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="41" result="effect1_foregroundBlur_341_12259"></feGaussianBlur></filter><filter id="filter2_f_341_12259" x=".125" y="5" width="296" height="295" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="41" result="effect1_foregroundBlur_341_12259"></feGaussianBlur></filter><filter id="filter3_b_341_12259" x="100.5" y="49" width="161" height="161" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feGaussianBlur in="BackgroundImage" stdDeviation="7.5"></feGaussianBlur><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_341_12259"></feComposite><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_341_12259" result="shape"></feBlend></filter><linearGradient id="paint0_linear_341_12259" x1="96.093" y1="50.176" x2="273.362" y2="97.642" gradientUnits="userSpaceOnUse"><stop stop-color="#3E3F49"></stop><stop offset="1" stop-color="#3E3F49" stop-opacity="0"></stop></linearGradient><linearGradient id="paint1_linear_341_12259" x1="130.75" y1="79.531" x2="221.75" y2="182.531" gradientUnits="userSpaceOnUse"><stop stop-color="#F28815" stop-opacity=".48"></stop><stop offset="1" stop-color="#1C5BFF" stop-opacity=".17"></stop></linearGradient></defs>',8)]))}var a=i(1169);const l={},s=(0,a.A)(l,[["render",o]]);var c=s}
1,22882:function(t,e,i){i.r(e),i.d(e,{default:function(){return z}});var n=i(95976),r=i(10160),o={class:"confirm-invitation"},a={key:0,class:"confirm-invitation__invitation"},l={class:"confirm-invitation__people"},s=["src"],c=["src"],u=["src","alt"],f={class:"confirm-invitation__member__letter confirm-invitation__member__quantity"},d={class:"confirm-invitation__messages"},p={key:1,class:"confirm-invitation__error"},h={class:"confirm-invitation__error__message"},v={key:2,class:"confirm-invitation__spinner-wrapper"};function m(t,e,i,m,g,_){var y=(0,n.g2)("DefaultCompanyAccountLogo"),b=(0,n.g2)("Title"),x=(0,n.g2)("ErrorInvites"),k=(0,n.g2)("InfoInvites"),w=(0,n.g2)("ActionLoader");return(0,n.uX)(),(0,n.CE)("section",o,[e[2]||(e[2]=(0,n.Lk)("h1",{class:"sr-only"},"Invite Confirmation",-1)),!t.invitation||g.error.type||g.isLoading?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("div",a,[(0,n.Lk)("div",l,[(0,n.Lk)("div",{class:"confirm-invitation__people__wrapper",style:(0,r.Tr)(_.getCircleDiameter)},[(0,n.Lk)("div",{class:"confirm-invitation__user confirm-invitation__ballon",style:(0,r.Tr)("".concat(_.getBallonPosition(0)," background-color: ").concat(_.randomColor(t.profile.first_name||"any").dark,";"))},[_.notDefault(t.currentAvatar)?((0,n.uX)(),(0,n.CE)("img",{key:0,src:t.currentAvatar,class:"confirm-invitation__user__image",alt:"Icon representing the user"},null,8,s)):_.notDefault(t.invitation.invited_by.avatar)?((0,n.uX)(),(0,n.CE)("img",{key:1,src:t.invitation.invited_by.avatar,class:"confirm-invitation__user__image",alt:"Icon representing the user"},null,8,c)):((0,n.uX)(),(0,n.CE)("span",{key:2,class:"confirm-invitation__user__letter",style:(0,r.Tr)("color: ".concat(_.randomColor(t.profile.first_name||"any").lighter))},(0,r.v_)(_.nameLetters(t.profile)),5))],4),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(_.members,function(t,e){return(0,n.uX)(),(0,n.CE)("div",{key:_.fullName(t),class:"confirm-invitation__member confirm-invitation__ballon",style:(0,r.Tr)("".concat(_.getBallonPosition(e+1)," background-color: ").concat(_.randomColor(t.first_name).dark,";"))},[_.notDefault(t.avatar)?((0,n.uX)(),(0,n.CE)("img",{key:0,class:"confirm-invitation__member__image",src:t.avatar,alt:_.fullName(t)},null,8,u)):((0,n.uX)(),(0,n.CE)("span",{key:1,class:"confirm-invitation__member__letter",style:(0,r.Tr)("color: ".concat(_.randomColor(t.first_name).lighter))},(0,r.v_)(_.nameLetters(t)),5))],4)}),128)),_.moreMembers?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"confirm-invitation__member confirm-invitation__ballon",style:(0,r.Tr)("".concat(_.getBallonPosition(5)," background-color: #111a27;"))},[(0,n.Lk)("span",f,"+"+(0,r.v_)(t.invitation.team.members_count-4),1)],4)):(0,n.Q3)("",!0),_.members.length<2?((0,n.uX)(),(0,n.CE)("div",{key:1,class:"confirm-invitation__account confirm-invitation__ballon",style:(0,r.Tr)("".concat(t.invitation.account.logo_url?"background-image: url('".concat(t.invitation.account.logo_url,"');"):""," background-color: ").concat(_.randomColor(t.invitation.account.name).light,"; ").concat(_.getBallonPosition(1),";"))},[t.invitation.account.logo_url?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(y,{key:0,class:"confirm-invitation__account__default"}))],4)):(0,n.Q3)("",!0)],4)]),(0,n.Lk)("div",d,[(0,n.bF)(b,{header:"Would you like to accept this invite?",tagline:_.invitationText},null,8,["tagline"])]),(0,n.Lk)("button",{class:"btn btn--primary confirm-invitation__btn",type:"submit",onClick:e[0]||(e[0]=function(){return _.acceptInvitation&&_.acceptInvitation.apply(_,arguments)})}," Accept invite ")])),g.error.type?((0,n.uX)(),(0,n.CE)("div",p,["error"===g.error.type?((0,n.uX)(),(0,n.Wv)(x,{key:0})):(0,n.Q3)("",!0),"info"===g.error.type?((0,n.uX)(),(0,n.Wv)(k,{key:1})):(0,n.Q3)("",!0),e[1]||(e[1]=(0,n.Lk)("h3",{class:"confirm-invitation__error__title"},"Something went wrong!",-1)),(0,n.Lk)("div",h,(0,r.v_)(g.error.message),1)])):(0,n.Q3)("",!0),g.isLoading?((0,n.uX)(),(0,n.CE)("div",v,[(0,n.bF)(w)])):(0,n.Q3)("",!0)])}var g=i(51449),_=i(99340),y=i(77114),b=i(91865),x=i(18723),k=i(17935),w=i(52059);function B(t){return B="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},B(t)}function F(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",r=i.toStringTag||"@@toStringTag";function o(i,n,r,o){var s=n&&n.prototype instanceof l?n:l,c=Object.create(s.prototype);return O(c,"_invoke",function(i,n,r){var o,l,s,c=0,u=r||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,i){return o=e,l=0,s=t,d.n=i,a}};function p(i,n){for(l=i,s=n,e=0;!f&&c&&!r&&e<u.length;e++){var r,o=u[e],p=d.p,h=o[2];i>3?(r=h===n)&&(s=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=t):o[0]<=p&&((r=i<2&&p<o[1])?(l=0,d.v=n,d.n=o[1]):p<h&&(r=i<3||o[0]>n||n>h)&&(o[4]=i,o[5]=n,d.n=h,l=0))}if(r||i>1)return a;throw f=!0,n}return function(r,u,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===u&&p(u,h),l=u,s=h;(e=l<2?t:s)||!f;){o||(l?l<3?(l>1&&(d.n=-1),p(l,s)):d.n=s:d.v=s);try{if(c=2,o){if(l||(r="next"),e=o[r]){if(!(e=e.call(o,s)))throw TypeError("iterator result is not an object");
1if(!e.done)return e;s=e.value,l<2&&(l=0)}else 1===l&&(e=o.return)&&e.call(o),l<2&&(s=TypeError("The iterator does not provide a '"+r+"' method"),l=1);o=t}else if((e=(f=d.n<0)?s:i.call(n,d))!==a)break}catch(e){o=t,l=1,s=e}finally{c=1}}return{value:e,done:f}}}(i,r,o),!0),c}var a={};function l(){}function s(){}function c(){}e=Object.getPrototypeOf;var u=[][n]?e(e([][n]())):(O(e={},n,function(){return this}),e),f=c.prototype=l.prototype=Object.create(u);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,O(t,r,"GeneratorFunction")),t.prototype=Object.create(f),t}return s.prototype=c,O(f,"constructor",c),O(c,"constructor",s),s.displayName="GeneratorFunction",O(c,r,"GeneratorFunction"),O(f),O(f,r,"Generator"),O(f,n,function(){return this}),O(f,"toString",function(){return"[object Generator]"}),(F=function(){return{w:o,m:d}})()}function O(t,e,i,n){var r=Object.defineProperty;try{r({},"",{})}catch(t){r=0}O=function(t,e,i,n){function o(e,i){O(t,e,function(t){return this._invoke(e,i,t)})}e?r?r(t,e,{value:i,enumerable:!n,configurable:!n,writable:!n}):t[e]=i:(o("next",0),o("throw",1),o("return",2))},O(t,e,i,n)}function A(t,e,i,n,r,o,a){try{var l=t[o](a),s=l.value}catch(t){return void i(t)}l.done?e(s):Promise.resolve(s).then(n,r)}function I(t){return function(){var e=this,i=arguments;return new Promise(function(n,r){var o=t.apply(e,i);function a(t){A(o,n,r,a,l,"next",t)}function l(t){A(o,n,r,a,l,"throw",t)}a(void 0)})}}function C(t,e){return j(t)||E(t,e)||G(t,e)||S()}function S(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function G(t,e){if(t){if("string"==typeof t)return M(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?M(t,e):void 0}}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function E(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,a,l=[],s=!0,c=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;s=!1}else for(;!(s=(n=o.call(i)).done)&&(l.push(n.value),l.length!==e);s=!0);}catch(t){c=!0,r=t}finally{try{if(!s&&null!=i.return&&(a=i.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}function j(t){if(Array.isArray(t))return t}function L(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function T(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?L(Object(i),!0).forEach(function(e){D(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):L(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function D(t,e,i){return(e=U(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function U(t){var e=P(t,"string");return"symbol"==B(e)?e:e+""}function P(t,e){if("object"!=B(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=B(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var X={name:"ConfirmInvitation",components:{Title:y.A,DefaultCompanyAccountLogo:T(T({},b.A),{},{name:"DefaultCompanyAccountLogo"}),ErrorInvites:T(T({},x.A),{},{name:"ErrorInvites"}),InfoInvites:T(T({},k.A),{},{name:"InfoInvites"}),ActionLoader:w.A},metaInfo:function(){return{title:"Invite Confirmation",meta:[{vmid:"robots",name:"robots",content:"noindex"}]}},data:function(){return{isLoading:!1,circleDiameter:[{width:"173px",height:"173px"},{width:"250px",height:"250px"},{width:"265px",height:"265px"}],positions:[[{left:"-25%",top:"-10%"},{right:"-30%",bottom:"-10%"}],[{left:"-25%",top:"-10%"},{right:"-30%",bottom:"-10%"},{left:"-25%",top:"0"}],[{left:"-7%",top:"0"},{right:"-10%",bottom:"25%",width:"115px",height:"115px"},{left:"20%",top:"60%",width:"100px",height:"100px"}],[{left:"15%",top:"-10%"},{right:"-15%",bottom:"30%",width:"115px",height:"115px"},{left:"-5%",top:"45%",width:"100px",height:"100px"},{left:"40%",top:"60%",width:"86px",height:"86px"}],[{left:"15%",top:"-10%"},{right:"-15%",bottom:"30%",width:"115px",height:"115px"},{left:"-5%",top:"45%",width:"100px",height:"100px"},{left:"70%",top:"75%",width:"86px",height:"86px"},{left:"40%",top:"50%",width:"75px",height:"75px"}],[{left:"15%",top:"-10%"},{right:"-15%",bottom:"30%",width:"115px",height:"115px"},{left:"-5%",top:"45%",width:"100px",height:"100px"},{left:"35%",top:"80%",width:"86px",height:"86px"},{left:"40%",top:"45%",width:"75px",height:"75px"},{left:"74%",top:"75%",width:"57px",height:"57px"}]],error:{type:null,message:null}}},computed:T(T({},(0,g.aH)({isAuthenticated:function(t){return t.auth.isAuthenticated},invitation:function(t){return t.business.invitationInfo},profile:function(t){return t.auth.userProfile},currentAvatar:function(t){return t.auth.currentAvatar}})),{},{isBusinessTeamManager:function(){return this.invitation.role===_.A.ROLES.TEAM_ADMIN},isAccoundOwner:function(){return this.invitation.role===_.A.ROLES.ACCOUNT_ADMIN},members:function(){var t,e;return(null===(t=this.invitation.team)||void 0===t||null===(e=t.members)||void 0===e?void 0:e.length)>1?this.invitation.team.members.slice(0,4):[]},moreMembers:function(){var t,e;return(null===(t=this.invitation.team)||void 0===t||null===(e=t.members)||void 0===e?void 0:e.length)>4||!1},userName:function(){var t=this.profile,e=t.first_name,i=t.last_name;return"".concat(e," ").concat(i)},colors:function(){var t=Object.values(_.A.PROFILE_COLORS);return t},getCircleDiameter:function(){var t=this.circleDiameter[this.circleDiameter.length-1];this.members.length||(t=this.circleDiameter[0]),this.members.length>0&&this.members.length<4&&(t=this.circleDiameter[1]);var e=Object.entries(t),i="";return e.map(function(t){var e=C(t,2),n=e[0],r=e[1];i+="".concat(n,": ").concat(r,";")}),i},invitationText:function(){var t,e;if(this.isAccoundOwner)return"Join as Account Owner on ".concat(null===(e=this.invitation.account)||void 0===e?void 0:e.name,"'s account.");var i=(null===(t=this.invitation.account)||void 0===t?void 0:t.members_count)||0,n="Join ".concat(this.fullName(this.invitation.invited_by));if(this.invitation.team){var r,o=(null===(r=this.invitation.team)||void 0===r?void 0:r.members_count)||0;o>1&&(n+=" and ".concat(o," others")),n+=" ".concat(this.isBusinessTeamManager?"as Team Manager":"as a member"," of ").concat(this.invitation.team.name," team.")}else{var a;i>1&&(n+=" and ".concat(i," others")),n+=" on ".concat(null===(a=this.invitation.account)||void 0===a?void 0:a.name," account.")}return n},successText:function(){var t,e,i,n,r;return this.invitation.team&&this.isBusinessTeamManager?"Congratulations! You joined the ".concat(null===(e=this.invitation.account)||void 0===e?void 0:e.name," ").concat(null===(i=this.invitation.team)||void 0===i?void 0:i.name," team as a manager."):this.invitation.team?"Congratulations! You joined the ".concat(null===(n=this.invitation.account)||void 0===n?void 0:n.name," ").concat(null===(r=this.invitation.team)||void 0===r?void 0:r.name," team."):"Congratulations! You're part of ".concat(null===(t=this.invitation.account)||void 0===t?void 0:t.name,"'s account.")}}),mounted:function(){var t=this;return I(F().m(function e(){var i;return F().w(function(e){while(1)switch(e.p=e.n){case 0:if(t.invitationId=null===(i=t.$route.params)||void 0===i?void 0:i.id,t.$store.dispatch("business/setBusinessInvitationId",""),t.isAuthenticated){e.n=1;break}return e.a(2,t.$router.push({name:"invitation-landing",params:{id:t.invitationId}}));
1case 1:return t.isLoading=!0,e.p=2,e.n=3,t.$store.dispatch("business/getInvitation",{id:t.invitationId});case 3:t.checkErrors(),t.isLoading=!1,e.n=5;break;case 4:e.p=4,e.v,t.error.type="error",t.error.message="This invite is no longer valid.",t.isLoading=!1;case 5:return e.a(2)}},e,null,[[2,4]])}))()},methods:{nameLetters:function(t){var e=t.first_name;return"".concat((null===e||void 0===e?void 0:e.substring(0,1))||"N")},fullName:function(t){var e=t.first_name,i=t.last_name;return"".concat(e," ").concat(i)},notDefault:function(t){return-1===(null===t||void 0===t?void 0:t.indexOf("default"))},randomColor:function(t){try{var e=this.colors[Math.floor(this.seededRandom(t)*this.colors.length)];return e}catch(i){return this.colors[0]}},getBallonPosition:function(t){try{var e,i,n,r,o=(null===(e=this.invitation.team)||void 0===e||null===(i=e.members)||void 0===i?void 0:i.length)>5?5:(null===(n=this.invitation.team)||void 0===n||null===(r=n.members)||void 0===r?void 0:r.length)||0,a=Object.entries(this.positions[o][t]),l="";return a.map(function(t){var e=C(t,2),i=e[0],n=e[1];l+="".concat(i,": ").concat(n,";")}),l}catch(s){this.$store.dispatch("app/Error",s)}},acceptInvitation:function(){var t=this;return I(F().m(function e(){var i,n;return F().w(function(e){while(1)switch(e.p=e.n){case 0:return i=t.profile.uaaId,e.p=1,t.isLoading=!0,e.n=2,t.$store.dispatch("business/acceptInvitation",{id:t.invitation.id,uaa_id:i});case 2:return e.n=3,t.$store.dispatch("business/getBusinessUser");case 3:t.$store.dispatch("app/setSuccess",t.successText),t.$router.push({name:"home"}),e.n=5;break;case 4:e.p=4,n=e.v,t.$store.dispatch("app/Error",n),t.isLoading=!1;case 5:return e.a(2)}},e,null,[[1,4]])}))()},seededRandom:function(t){var e=this.convertLetterToNumber(t),i=e*Math.PI;return e=i-(0|i),e>1&&(e=parseFloat("0.".concat(e))),e},convertLetterToNumber:function(t){for(var e=0,i=t.length,n=0;n<i;n++)e+=(t.charCodeAt(n)-64)*Math.pow(26,i-n-1);return Math.abs(e)},checkErrors:function(){var t,e,i,n,r,o;null!==(t=this.invitation)&&void 0!==t&&t.user_invite&&(null===(e=this.invitation)||void 0===e?void 0:e.user_invite.email)!==this.profile.email&&(this.error.type="error",this.error.message="You're currently signed in as ".concat(this.profile.email,". To accept this invitation, sign in using ").concat(null===(r=this.invitation)||void 0===r||null===(o=r.user_invite)||void 0===o?void 0:o.email,"."));null!==(i=this.invitation)&&void 0!==i&&i.user_invite&&null!==(n=this.invitation)&&void 0!==n&&n.user_invite.is_active&&(this.error.type="info",this.error.message="You've already accepted this invite, ".concat(this.profile.first_name,"."))}}},R=i(1169);const N=(0,R.A)(X,[["render",m],["__scopeId","data-v-7ce841bd"]]);var z=N},77114:function(t,e,i){i.d(e,{A:function(){return d}});var n=i(95976),r=i(10160),o={class:"ine-form__title-wrapper"},a=["innerHTML"],l={key:0,class:"ine-form__alert"};function s(t,e,i,s,c,u){return(0,n.uX)(),(0,n.CE)("div",o,[(0,n.Lk)("h2",{class:(0,r.C4)(["ine-form__title",!i.tagline&&"title--no-tagline"])},(0,r.v_)(i.header),3),(0,n.Lk)("p",{class:"ine-form__tagline",innerHTML:i.tagline},null,8,a),i.alert&&i.alert.length?((0,n.uX)(),(0,n.CE)("small",l,(0,r.v_)(i.alert),1)):(0,n.Q3)("",!0)])}var c={name:"Title",props:{header:{type:String,required:!0},tagline:{type:String,required:!1},alert:{type:String,required:!1}}},u=i(1169);const f=(0,u.A)(c,[["render",s],["__scopeId","data-v-1c9eddd1"]]);var d=f},91865:function(t,e,i){i.d(e,{A:function(){return c}});var n=i(95976),r={width:"58",height:"58",viewBox:"0 0 58 58",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function o(t,e){return(0,n.uX)(),(0,n.CE)("svg",r,e[0]||(e[0]=[(0,n.Fv)('<rect width="58" height="58" rx="29" fill="#D3C9FA"></rect><path d="M20.019 23.914l-.05.029v10.076L15 36.964v-15.97l.05-.028 4.969 2.948zM28.575 39.02v5.896l-.1.06L15 36.983v-.019l4.97-2.944v.015l8.505 5.045.1-.06z" fill="#A793F6"></path><path d="M41.949 36.924v.06l-13.374 7.933V39.02l8.404-4.986v-.06l4.97 2.949z" fill="#A793F6"></path><path d="M41.949 20.998v15.925l-4.97-2.948V23.943l4.97-2.945z" fill="#A793F6"></path><path d="M41.949 20.995v.003l-4.97 2.945-8.404-4.987V13.06l13.374 7.935z" fill="#A793F6"></path><path d="M28.575 13.06v5.896l-.1-.06-8.456 5.018-4.97-2.948L28.476 13l.1.06z" fill="#A793F6"></path>',6)]))}var a=i(1169);const l={},s=(0,a.A)(l,[["render",o]]);var c=s}}]);
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.