1"use strict";(self.webpackChunkawesomescreenshot_website=self.webpackChunkawesomescreenshot_website||[]).push([[53],{93053:(e,r,t)=>{t.d(r,{Z:()=>A});t(91324);var n=t(45777),i=(t(85624),t(71577)),s=t(67294),a=t(96974),l=t(30817),c=t(11011),o=(t(28897),t(85986)),u=(t(15285),t(71257)),m=(t(79133),t(32787)),d=(t(50626),t(48086)),p=t(56262),f=t(4976),h=t(47481),y=t(61401),j=t(85893);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function x(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function v(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?x(Object(t),!0).forEach((function(r){g(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function g(e,r,t){return r=function(e){var r=function(e,r){if("object"!==b(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===b(r)?r:String(r)}(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function w(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,s,a,l=[],c=!0,o=!1;try{if(s=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=s.call(t)).done)&&(l.push(n.value),l.length!==r);c=!0);}catch(e){o=!0,i=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(o)throw i}}return l}}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return N(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return N(e,r)}(e,r)||function(){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 N(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var O=(0,p.$j)((function(e){return{userInfo:e.user.info}}),{})((function(e){var r=e.userInfo,t=e.closeModal,n=w((0,s.useState)(!1),2),a=n[0],l=n[1],c=w((0,s.useState)(!1),2),p=c[0],y=c[1];return(0,j.jsxs)("div",{className:"contact-us-panel",children:[(0,j.jsx)("div",{className:"title",children:p?null:"Contact us"}),(0,j.jsx)("div",{className:"content",children:p?(0,j.jsxs)("div",{className:"sent-message",style:{textAlign:"center"},children:[(0,j.jsx)("div",{children:(0,j.jsx)(h.OO,{})}),(0,j.jsx)("div",{className:"title",children:"Thank you for getting in touch with us!"}),(0,j.jsx)("div",{className:"content",children:"Our sales will reach out to you ASAP."})]}):(0,j.jsxs)(u.Z,{onFinish:function(e){var t="";for(var n in e)t+="<b>"+n+"</b>: "+e[n]+"<br/>";var i={email:e["Work Email"]||r.mail,name:null==r?void 0:r.fullName,subject:"[Enterprise contact]",content:t};l(!0),(0,f.hz1)(i).then((function(){l(!1),y(!0)})).catch((function(){l(!1),d.ZP.error("Submission failed. Please retry or send an email to [email protected].")}))},children:[(0,j.jsx)("div",{className:"label",children:"First Name"}),(0,j.jsx)(u.Z.Item,{name:"First Name",rules:[{required:!0,message:"First name is required."}],children:(0,j.jsx)(m.Z,{size:"large"})}),(0,j.jsx)("div",{className:"label",children:"Last Name"}),(0,j.jsx)(u.Z.Item,{name:"Last Name",rules:[{required:!0,message:"Last name is required."}],children:(0,j.jsx)(m.Z,{size:"large"})}),(0,j.jsx)("div",{className:"label",children:"Work Email"}),(0,j.jsx)(u.Z.Item,{name:"Work Email",rules:[{required:!0,message:"Work Email is required."},{type:"email",message:"Please input a valid email address."}],children:(0,j.jsx)(m.Z,{size:"large"})}),(0,j.jsx)("div",{className:"label",children:"Job Title"}),(0,j.jsx)(u.Z.Item,{name:"Job Title",rules:[{required:!0,message:"Job Title is required."}],children:(0,j.jsx)(m.Z,{size:"large"})}),(0,j.jsx)("div",{className:"label",children:"Company Name"}),(0,j.jsx)(u.Z.Item,{name:"Company Name",rules:[{required:!0,message:"Company Name is required."}],children:(0,j.jsx)(m.Z,{size:"large"})}),(0,j.jsx)("div",{className:"label",children:"Expected Number of Users"}),(0,j.jsx)(u.Z.Item,{name:"Expected Number of Users",rules:[{required:!0,message:"Expected Number of Users is required."}],children:(0,j.jsx)(o.Z,{min:0,style:{width:"100%"},size:"large"})}),(0,j.jsx)("div",{className:"label",children:"How Can We Help?"}),(0,j.jsx)(u.Z.Item,{name:"What can we help",rules:[{required:!0,message:"Please write what can we help."}],children:(0,j.jsx)(m.Z.TextArea,{autoSize:{minRows:4}})}),(0,j.jsxs)("div",{className:"btn-area",children:[(0,j.jsx)(i.Z,{onClick:t,children:"Cancel"}),(0,j.jsx)(i.Z,{type:"primary",htmlType:"submit",loading:a,children:"Submit"})]})]})})]})}));function S(e){return(0,j.jsx)(y.Z,{visible:e.visible,onCancel:e.onCancel,width:500,children:(0,j.jsx)(O,v(v({},e),{},{closeModal:e.onCancel}))})}const k=(0,s.memo)(S);var P=t(11572),Z=(t(87057),t(54353));function C(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,s,a,l=[],c=!0,o=!1;try{if(s=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=s.call(t)).done)&&(l.push(n.value),l.length!==r);c=!0);}catch(e){o=!0,i=e}
1finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(o)throw i}}return l}}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return I(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return I(e,r)}(e,r)||function(){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 I(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}const A=function(e){var r=C((0,s.useState)((function(){return e.currentTeamNum})),2),t=(r[0],r[1]),o=C((0,s.useState)(!1),2),u=o[0],m=o[1],d=e.plan,p=(0,a.s0)(),f=(0,l.Z)().get("promotionCode");return(0,s.useEffect)((function(){t(e.currentTeamNum)}),[e.currentTeamNum]),(0,j.jsxs)("div",{className:"plan-item workspace ".concat(d.type),children:[(0,j.jsxs)("div",{className:"info-box",children:[(0,j.jsx)("div",{className:"discount-tip"}),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"type",children:d.displayName}),(0,j.jsx)("div",{className:"price",children:(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("div",{className:"price-num",children:"workspace-enterprise"===d.type?(0,j.jsxs)("div",{children:[(0,j.jsx)(h.OO,{}),(0,j.jsx)("div",{className:"enterprice-tip",children:"Custom pricing"})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("div",{className:"price-num-text",children:["month"===e.purchaseType?"$"+d.price:"$"+d.price_y,"year"===e.purchaseType&&d.price>0&&(0,j.jsxs)("div",{className:"year-price",children:["$",d.price]})]}),(0,j.jsx)("span",{className:"price-duration",children:"Per member / month"})]})})})}),d.tip&&(0,j.jsx)("div",{className:"plan-tip",children:d.tip}),(0,j.jsx)("div",{className:"button-area workspace",children:"workspace-enterprise"===d.type?(0,j.jsx)(P.Z,{render:function(e,r,t){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(i.Z,{type:"primary",className:"choose-btn",onClick:r,children:"Contact us"}),(0,j.jsx)(k,{visible:e,onCancel:t})]})}}):(0,j.jsx)(i.Z,{type:"primary",className:"choose-btn",onClick:function(r){if(e.upgradeInfo&&""===e.upgradeInfo.CurrentPlan.PlanName){var t=window.location,n=t.origin,i=t.pathname;window.location.href="/user/login?redirect=".concat(n).concat(i)}else"workspace-premium"===r&&(e.upgradeInfo?e.isTeamPlan?m(!0):p("/workspace/create?premium=true".concat(f?"&promotionCode="+f:"")):e.handlePay()),"workspace-lite"===r&&e.upgradeInfo&&(e.isTeamPlan?m(!0):p("/workspace/create".concat(f?"?promotionCode="+f:"")))}.bind(null,d.type),disabled:e.isBillingPage&&"workspace-lite"===d.type,children:"workspace-lite"===d.type?e.isBillingPage?"Your Plan":"Get Started":"workspace-premium"===d.type?e.isBillingPage?"Choose Plan":"Get Started":"Contant Us"})})]})]}),(0,j.jsx)("div",{className:"sep"}),(0,j.jsxs)("div",{className:"feature-box",children:[(0,j.jsxs)("div",{className:"large-feature-list",children:["workspace-enterprise"!==d.type?(0,j.jsx)("div",{className:"feature-title",children:"In Workspace"}):(0,j.jsxs)("div",{className:"feature-title",children:["Everything in Workspace Premium,"," ",(0,j.jsx)("b",{style:{fontWeight:"700"},children:"plus"})]}),d.features.map((function(e){return(0,j.jsxs)("div",{className:"large-feature-item",children:[(0,j.jsx)("div",{className:"icon",children:(r=e.name,"video"===r?(0,j.jsx)(h.dG,{}):"image"===r?(0,j.jsx)(h.K,{}):"member"===r?(0,j.jsx)(h.O$,{}):"enterprise"===r?(0,j.jsx)(h.Wv,{}):"domain"===r?(0,j.jsx)(h.R7,{}):"sso"===r?(0,j.jsx)(h.uz,{}):void 0)}),e.displayName," ","workspace-premium"===d.type&&"member"===e.name&&(0,j.jsx)(n.Z,{title:"As your team grows, you can add more members. Pricing is calculated on a per member basis.",children:(0,j.jsx)("div",{style:{marginLeft:"5px",display:"inline-block"},children:(0,j.jsx)(h.AM,{style:{fontSize:"16px"}})})})]},e.name);var r}))]}),"workspace-premium"===d.type&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"plus",children:"Plus, every member will get"}),(0,j.jsx)(Z.Z,{})]})]}),(0,j.jsx)(c.Z,{visible:u,onCancel:function(){m(!1)}})]})}}}]);
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.