PageSourceSearch

https://app.noki.ai/static/js/6320.27491be3.chunk.js

js noki.ai collected 2026-10-05 12:20:12 UTC 52,858 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknoki_web=self.webpackChunknoki_web||[]).push([[6320],{82733:function(e,n,t){t.d(n,{FT:function(){return u},Y$:function(){return s},ZQ:function(){return p},jy:function(){return d},nj:function(){return v},wU:function(){return c}});var r=t(74165),i=t(15861),o=t(95451),a=t(72224),l=t(43120),s=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.Py)(o.a4,"/billing/".concat((0,a.Ze)(),"/portal-session-url"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),c=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(n){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.Py)(o.a4,"/billing/".concat((0,a.Ze)(),"/checkout-session"),{priceId:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),d=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(n){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.Py)(o.HT,"/billing/".concat((0,a.Ze)(),"/checkout-session/").concat(n,"/status"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),u=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(){var n,t=arguments;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.length>0&&void 0!==t[0]?t[0]:null,e.abrupt("return",(0,l.Py)(o.a4,"billing/".concat((0,a.Ze)(),"/upgrade-trial-to-paid"),{setupIntentId:n}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.Py)(o.a4,"billing/".concat((0,a.Ze)(),"/create-stripe-setup-intent")));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.Py)(o.a4,"billing/".concat((0,a.Ze)(),"/reactivate-subscription")));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},34314:function(e,n,t){var r=t(4942),i=(t(72791),t(48481)),o=t(25256),a=t(29464),l=t(90977),s=t(4567),c=t(68870),d=t(96739),u=t(50225),v=t(59434),p=t(13967),f=t(80184),h=(0,u.Z)(i.Z)((function(e){var n,t=e.theme,i=e.appTheme,o=e.drawerWidth;return n={"& .MuiDrawer-paper":{borderRadius:"20px 0px 0px 20px",background:"#2D2C5A"}},(0,r.Z)(n,t.breakpoints.down("sm"),{width:"80%","& .MuiDrawer-paper":{width:"80%",background:"light"===i&&"#fff"}}),(0,r.Z)(n,t.breakpoints.between("sm","md"),{width:"50%","& .MuiDrawer-paper":{width:"50%",background:"light"===i&&"#fff"}}),(0,r.Z)(n,t.breakpoints.up("md"),{width:o||"35%","& .MuiDrawer-paper":{width:o||"35%",background:"light"===i&&"#fff"}}),(0,r.Z)(n,t.breakpoints.up("lg"),{width:o||"25%","& .MuiDrawer-paper":{width:o||"25%",background:"light"===i&&"#fff"}}),n}));n.Z=function(e){var n=e.open,t=e.setOpen,r=e.width,i=e.anchor,u=void 0===i?"right":i,x=e.appBar,E=void 0===x||x,m=e.padding,g=void 0===m?"15px":m,b=e.title,S=void 0===b?"":b,w=e.children,A=(0,v.v9)((function(e){return e.app})),T=(0,p.Z)(),j=function(e){return function(n){(!n||"keydown"!==n.type||"Tab"!==n.key&&"Shift"!==n.key)&&t(e)}};return(0,f.jsxs)(h,{anchor:u,open:n,onClose:j(!1),onOpen:j(!0),appTheme:A.theme,drawerWidth:r,sx:{zIndex:1500},theme:T,children:[E&&(0,f.jsx)(o.Z,{sx:{position:"relative",background:"dark"===A.theme?"#202529":"#237FEA"},children:(0,f.jsxs)(a.Z,{children:[(0,f.jsx)(l.Z,{edge:"start",color:"primary",onClick:j(!1),"aria-label":"close",children:(0,f.jsx)(d.Z,{})}),(0,f.jsx)(s.Z,{sx:{ml:2,flex:1},variant:"h6",component:"div",children:S})]})}),(0,f.jsx)(c.Z,{style:{padding:g},children:w})]})}},78964:function(e,n,t){t.d(n,{N:function(){return T}});var r=t(74165),i=t(15861),o=t(29439),a=t(72791),l=t(57689),s=t(59434),c=t(75985),d=t(82733),u="/store/add_payment_method",v="/store/upgrade_success",p="/store/upgrade_failed",f="No subscription found",h="Payment failed. Please update your payment method to continue.",x="Failed to upgrade subscription",E="PAYMENT_METHOD_REQUIRED",m=function(e,n){var t=n.clientSecret,r=n.setupIntentId,i=n.subscriptionId;e(u,{state:{clientSecret:t,setupIntentId:r,subscriptionId:i,fromUpgrade:!0}})},g=function(e){var n,t,r=null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.setupIntent;return r?{clientSecret:r.client_secret,setupIntentId:r.id,subscriptionId:null===(t=r.metadata)||void 0===t?void 0:t.subscriptionId,status:r.status}:null},b=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(n){var t,i;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.nj)();case 2:if(t=e.sent,i=g(t)){e.next=6;break}throw new Error("Invalid setup intent response");case 6:if("requires_payment_method"!==i.status){e.next=9;break}return m(n,i),e.abrupt("return",!0);case 9:return e.abrupt("return",!1);case 10:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),S=function(e,n){if(n.success){var t={};return n.paymentMethod&&(t.paymentMethod=n.paymentMethod),n.subscription&&(t.subscription=n.subscription),function(e){e(v,{state:{success:!0}})}(e),!0}var r;return!(!n.paymentFailed&&n.success)&&(function(e,n){var t=n.message,r=n.failedDate;e(p,{replace:!0,state:{message:t,failedDate:r}})}(e,{message:n.message||h,failedDate:null!==(r=n.subscription)&&void 0!==r&&r.current_period_start?new Date(1e3*r.current_period_start):new Date}),!0)},w=function(e,n,t){var r;console.error("Upgrade error:",t);var i=null===t||void 0===t||null===(r=t.response)||void 0===r?void 0:r.data;if((null===i||void 0===i?void 0:i.errorCode)!==E){var o=function(e){return(null===e||void 0===e?void 0:e.message)||(null===e||void 0===e?void 0:e.errorMessage)||x}(i);n.error(o)}else{var a,l;m(e,{clientSecret:null===(a=i.setupIntent)||void 0===a?void 0:a.clientSecret,setupIntentId:null===(l=i.setupIntent)||void 0===l?void 0:l.id,subscriptionId:i.subscriptionId})}},A=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(n){var t,i,o,a,l,s,c;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.subscriptionId,i=n.UPGRADE_PRO_SUBSCRIPTION,o=n.navigate,a=n.setUpgradeProSubscriptionLoading,l=n.toast,t){e.next=4;break}return l.error(f),e.abrupt("return");case 4:return e.prev=4,a(!0),e.next=8,i();case 8:if(s=e.sent,null===(c=null===s||void 0===s?void 0:s.data)||void 0===c||!c.requiresPaymentMethod){e.next=16;break}return e.next=13,b(o);case 13:if(!e.sent){e.next=16;break}return e.abrupt("return");case 16:S(o,c),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(4),w(o,l,e.t0);case 22:return e.prev=22,a(!1),e.finish(22);case 25:case"end":return e.stop()}}),e,null,[[4,19,22,25]])})));return function(n){return e.apply(this,arguments)}}(),T=function(){var e=(0,a.useState)(!1),n=(0,o.Z)(e,2),t=n[0],u=n[1],v=(0,l.s0)(),p=(0,s.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.subscription)||void 0===n?void 0:n.currentSubscription})),f=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(){var n,t,i,o;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(!0),e.prev=1,o=null===p||void 0===p||null===(n=p.subscriptions)||void 0===n||null===(t=n[0])||void 0===t||null===(i=t.obj_data)||void 0===i?void 0:i.id,e.next=5,A({subscriptionId:o,UPGRADE_PRO_SUBSCRIPTION:d.FT,navigate:v,setUpgradeProSubscriptionLoading:u,toast:c.Am});case 5:return e.prev=5,u(!1),e.finish(5);case 8:case"end":return e.stop()}}),e,null,[[1,,5,8]])}
1)));return function(){return e.apply(this,arguments)}}();return{handleUpgradeProSubscription:f,upgradeProSubscriptionLoading:t}}},83950:function(e,n,t){t.r(n),t.d(n,{default:function(){return le}});var r=t(74165),i=t(1413),o=t(15861),a=t(72791),l=t(13967),s=t(95193),c=t(29439),d=t(59434),u=t(57689),v=t(68870),p=t(4567),f=t(81153),h=t(4841),x=t(5849),E=t(17527),m=t(71037),g=t(15262),b=(t(59413),t(73727),t(58595)),S=t(96739),w=t(5574),A=t(65661),T=t(90977),j=t(4899),Z=t(80184),k=function(e){var n=e.dialogProps,t=e.handleClose,r=function(){t()};return(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)(w.Z,{open:null===n||void 0===n?void 0:n.open,onClose:r,maxWidth:"lg",fullWidth:!0,sx:{padding:0,margin:0},PaperProps:{sx:{width:"90%",height:"80%",maxHeight:"80%",borderRadius:"7px"}},children:[(0,Z.jsx)(A.Z,{className:"p-2 px-3",children:(0,Z.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,Z.jsx)("div",{children:" "}),(0,Z.jsx)(T.Z,{onClick:r,children:(0,Z.jsx)(S.Z,{})})]})}),(0,Z.jsx)(j.Z,{sx:{padding:0,margin:0,borderBottomRightRadius:"4px",borderBottomLeftRadius:"4px",overflow:"hidden",height:"100%"},children:(0,Z.jsx)("iframe",{src:null===n||void 0===n?void 0:n.link,style:{height:"100%",width:"100%",border:"none"}})})]})})},P=t(75985),R=t(82733),I=t(39230),_=t(763),F=t(4942),L=function(){return function(e){var n;return n={},(0,F.Z)(n,"free",[e("PLANS.FREE.FREE_1"),e("PLANS.FREE.FREE_2"),e("PLANS.FREE.FREE_3"),e("PLANS.FREE.FREE_4")]),(0,F.Z)(n,"lite",[e("PLANS.LITE.LITE_1"),e("PLANS.LITE.LITE_2"),e("PLANS.LITE.LITE_4")]),(0,F.Z)(n,"advanced",[e("PLANS.ADVANCE.ADVANCE_1"),e("PLANS.ADVANCE.ADVANCE_2"),e("PLANS.ADVANCE.ADVANCE_3"),e("PLANS.ADVANCE.ADVANCE_4")]),(0,F.Z)(n,"pro",[e("PLANS.PRO.PRO_1"),e("PLANS.PRO.PRO_2"),e("PLANS.PRO.PRO_3"),e("PLANS.PRO.PRO_4")]),(0,F.Z)(n,"premium",[e("PLANS.PREMIUM.PREMIUM_1"),e("PLANS.PREMIUM.PREMIUM_2"),e("PLANS.PREMIUM.PREMIUM_3"),e("PLANS.PREMIUM.PREMIUM_4")]),(0,F.Z)(n,"enterprise",[e("PLANS.ENTERPRISE.ENTERPRISE_1")]),n}((0,I.useTranslation)().t)},C=t(56888),O=t(42161),N=t(69371),U=(t(53527),function(e){var n=e.setShowCompareFeatures,t=e.type,r=void 0===t?"":t,i=e.handleClose,o=(0,I.useTranslation)(),a=(0,d.v9)((function(e){return e.app.theme})),l=[{feature:o.t("FEATURES.INTUITIVE_CARE_DASHBOARD"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.REAL_TIME_TRANSCRIPTION"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.SPEAKER_DIFFERENTIATION"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.SUPPORTS_ACCENTS_SLANG"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.AUTO_CLEAN_BACKGROUND_NOISE"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.AI_CLINICAL_NOTE_GENERATION"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.TEXT_NOTE_EDIT"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.SINGLE_CLICK_NOTE_COPY"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.MOBILE_APPLICATION_IOS"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.DESKTOP_APPLICATION"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.SUPPORTS_TABLET"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.COMMUNITY"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.EMAIL_CHAT"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.PRIORITY_SLA_DOC"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CUSTOMER_SUPPORT"),Free:!1,Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.DEDICATED_ACCOUNT_PARTNER"),Free:!1,Lite:!1,Advanced:!1,Pro:!1,Enterprise:!0},{feature:o.t("FEATURES.AI_HALLUCINATION_FILTER"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.HIPPA_SOC2_COMPLIANT"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.EASY_SIGNUP"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.PROPRIETARY_HEALTHCARE_AI"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.EDUCATION_RESOURCES"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CUSTOMER_TRAINING"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CUSTOM_NOTE_TEMPLATES"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.ADDITIONAL_TEMPLATES"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CUSTOMIZE_TEMPLATES"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.MULTIPLE_LANGUAGES"),Free:!0,Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.MOBILE_MIC_SWITCHING"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.MULTIPLE_CONVERSATIONS"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CONTEXTUALIZE_HISTORY"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.AUTO_TEMPLATE_SELECTION"),Free:!1,Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CLINICAL_DECISION_SUPPORT"),Free:o.t("FEATURES.FREE_2"),Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.AI_VOICE_ASSISTANT"),Free:o.t("FEATURES.FREE_3"),Lite:!0,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.ICD_CPT_CODES"),Free:o.t("FEATURES.FREE_4"),Lite:!1,Advanced:!0,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.EHR_INTEGRATION"),Free:!1,Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.SUPPORTS_INTERPRETERS"),Free:!1,Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.SPECIALTY_TEMPLATES"),Free:!1,Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.RLHF_FINE_TUNING"),Free:!1,Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.BETA_AVAILABILITY"),Free:!1,Lite:!1,Advanced:!1,Pro:!0,Enterprise:!0},{feature:o.t("FEATURES.CENTRALIZED_MANAGEMENT"),Free:!1,Lite:!1,Advanced:!1,Pro:!1,Enterprise:!0},{feature:o.t("FEATURES.API_AVAILABILITY"),Free:!1,Lite:!1,Advanced:!1,Pro:!1,Enterprise:!0},{feature:o.t("FEATURES.CUSTOM_INTEGRATIONS"),Free:!1,Lite:!1,Advanced:!1,Pro:!1,Enterprise:!0}],s={free:o.t("FEATURES.FREE"),lite:o.t("FEATURES.LITE"),advanced:o.t("FEATURES.ADVANCED"),pro:o.t("FEATURES.PRO"),premium:o.t("FEATURES.PREMIUM"),enterprise:o.t("FEATURES.ENTERPRISE")};return(0,Z.jsxs)("div",{style:{height:"calc(100dvh - 30px)"},className:"d-flex flex-column",children:[(0,Z.jsxs)("p",{className:"d-flex justify-content-between align-items-center",children:[(0,Z.jsx)("span",{className:"compare-feature-header",children:n?o.t("common.COMPARE_FEATURES"):"".concat(o.t("common.KEY_FEATURES")," - ").concat(s[r])}),(0,Z.jsx)("span",{style:{cursor:"pointer",color:"dark"===a?"white":"black"},onClick:function(){return n?n(!1):i()},children:(0,Z.jsx)(S.Z,{})})]}),(0,Z.jsx)("div",{className:"flex-grow-1 overflow-auto",children:(0,Z.jsxs)("table",{className:"plans-table",children:[(0,Z.jsx)("thead",{children:(0,Z.jsxs)("tr",{children:[(0,Z.jsx)("th",{style:{width:""!=r&&"70%"}}),""==r&&(0,Z.jsx)("th",{className:"compare-feature-header",children:o.t("FEATURES.FREE")}),""==r&&(0,Z.jsx)("th",{className:"compare-feature-header",children:o.t("FEATURES.LITE")}),""==r&&(0,Z.jsx)("th",{className:"compare-feature-header",children:o.t("FEATURES.ADVANCED")}),""==r&&(0,Z.jsx)("th",{className:"compare-feature-header",children:o.t("FEATURES.PRO")}),""==r&&(0,Z.jsx)("th",{className:"compare-feature-header",children:o.t("FEATURES.ENTERPRISE")})]})}),(0,Z.jsx)("tbody",{children:l.map((function(e,n){return(0,Z.jsxs)("tr",{children:[(0,Z.jsx)("td",{style:{width:""!=r&&"70%",color:"dark"===a?"white":"black"},children:e.feature}),(""==r||"free"===r)&&(0,Z.jsx)("td",{style:{color:"dark"===a?"white":"black"},children:"string"===typeof e.Free?e.Free:e.Free&&(0,Z.jsx)(N.Z,{})}),(""==r||"lite"===r)&&(0,Z.jsx)("td",{style:{color:"dark"===a?"white":"black"},children:"string"===typeof e.Lite?e.Lite:e.Lite&&(0,Z.jsx)(N.Z,{})}),(""==r||"advanced"===r)&&(0,Z.jsx)("td",{style:{color:"dark"===a?"white":"black"},children:e.Advanced?(0,Z.jsx)(N.Z,{}):""}),(""==r||"pro"===r)&&(0,Z.jsx)("td",{style:{color:"dark"===a?"white":"black"},children:e.Pro?(0,Z.jsx)(N.Z,{}):""}),(""==r||"enterprise"===r)&&(0,Z.jsx)("td",{style:{color:"dark"===a?"white":"black"},children:e.Enterprise?(0,Z.jsx)(N.Z,{}):""})]},n)}))})]})}),!n&&(0,Z.jsx)("div",{className:"pt-2",children:(0,Z.jsx)(x.Z,{onClick:i,fullWidth:!0,sx:{backgroundColor:"dark"==a?"white":"#5d5fef",textTransform:"none",margin:"0 1vw",color:"dark"!=a&&"white","&:hover":{backgroundColor:"dark"==a?"white":"#5d5fef"}},children:o.t("common.CLOSE")})})]})}),y=t(34314),D="Left",M="Right",B="Up",W="Down",z={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},G={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]}
1,Y="mousemove",H="mouseup",V="touchend",K="touchmove",$="touchstart";function X(e,n){if(0===n)return e;var t=Math.PI/180*n;return[e[0]*Math.cos(t)+e[1]*Math.sin(t),e[1]*Math.cos(t)-e[0]*Math.sin(t)]}function q(e,n){var t=function(n){var t="touches"in n;t&&n.touches.length>1||e((function(e,i){i.trackMouse&&!t&&(document.addEventListener(Y,r),document.addEventListener(H,a));var o=t?n.touches[0]:n,l=X([o.clientX,o.clientY],i.rotationAngle);return i.onTouchStartOrOnMouseDown&&i.onTouchStartOrOnMouseDown({event:n}),Object.assign(Object.assign(Object.assign({},e),G),{initial:l.slice(),xy:l,start:n.timeStamp||0})}))},r=function(n){e((function(e,t){var r="touches"in n;if(r&&n.touches.length>1)return e;if(n.timeStamp-e.start>t.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;var i=r?n.touches[0]:n,o=X([i.clientX,i.clientY],t.rotationAngle),a=(0,c.Z)(o,2),l=a[0],s=a[1],d=l-e.xy[0],u=s-e.xy[1],v=Math.abs(d),p=Math.abs(u),f=(n.timeStamp||0)-e.start,h=Math.sqrt(v*v+p*p)/(f||1),x=[d/(f||1),u/(f||1)],E=function(e,n,t,r){return e>n?t>0?M:D:r>0?W:B}(v,p,d,u),m="number"===typeof t.delta?t.delta:t.delta[E.toLowerCase()]||z.delta;if(v<m&&p<m&&!e.swiping)return e;var g={absX:v,absY:p,deltaX:d,deltaY:u,dir:E,event:n,first:e.first,initial:e.initial,velocity:h,vxvy:x};g.first&&t.onSwipeStart&&t.onSwipeStart(g),t.onSwiping&&t.onSwiping(g);var b=!1;return(t.onSwiping||t.onSwiped||t["onSwiped".concat(E)])&&(b=!0),b&&t.preventScrollOnSwipe&&t.trackTouch&&n.cancelable&&n.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:g,swiping:!0})}))},i=function(n){e((function(e,t){var r;if(e.swiping&&e.eventData){if(n.timeStamp-e.start<t.swipeDuration){r=Object.assign(Object.assign({},e.eventData),{event:n}),t.onSwiped&&t.onSwiped(r);var i=t["onSwiped".concat(r.dir)];i&&i(r)}}else t.onTap&&t.onTap({event:n});return t.onTouchEndOrOnMouseUp&&t.onTouchEndOrOnMouseUp({event:n}),Object.assign(Object.assign(Object.assign({},e),G),{eventData:r})}))},o=function(){document.removeEventListener(Y,r),document.removeEventListener(H,a)},a=function(e){o(),i(e)},l=function(e,n){var o=function(){};if(e&&e.addEventListener){var a=Object.assign(Object.assign({},z.touchEventOptions),n.touchEventOptions),l=[[$,t,a],[K,r,Object.assign(Object.assign({},a),n.preventScrollOnSwipe?{passive:!1}:{})],[V,i,a]];l.forEach((function(n){var t=(0,c.Z)(n,3),r=t[0],i=t[1],o=t[2];return e.addEventListener(r,i,o)})),o=function(){return l.forEach((function(n){var t=(0,c.Z)(n,2),r=t[0],i=t[1];return e.removeEventListener(r,i)}))}}return o},s={ref:function(n){null!==n&&e((function(e,t){if(e.el===n)return e;var r={};return e.el&&e.el!==n&&e.cleanUpTouch&&(e.cleanUpTouch(),r.cleanUpTouch=void 0),t.trackTouch&&n&&(r.cleanUpTouch=l(n,t)),Object.assign(Object.assign(Object.assign({},e),{el:n}),r)}))}};return n.trackMouse&&(s.onMouseDown=t),[s,l]}function J(e){var n,t=e.trackMouse,r=a.useRef(Object.assign({},G)),i=a.useRef(Object.assign({},z)),o=a.useRef(Object.assign({},i.current));for(n in o.current=Object.assign({},i.current),i.current=Object.assign(Object.assign({},z),e),z)void 0===i.current[n]&&(i.current[n]=z[n]);var l=a.useMemo((function(){return q((function(e){return r.current=e(r.current,i.current)}),{trackMouse:t})}),[t]),s=(0,c.Z)(l,2),d=s[0],u=s[1];return r.current=function(e,n,t,r){return n.trackTouch&&e.el?e.cleanUpTouch?n.preventScrollOnSwipe!==t.preventScrollOnSwipe||n.touchEventOptions.passive!==t.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,n)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,n)}):(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0}))}(r.current,i.current,o.current,u),d}var Q=t(84298),ee=t(70647),ne=t(24518),te=t(78964),re=t(95450),ie=function(){var e,n,t,g,S,w,A,j,F,N,D,M,B=L(),W=(0,u.TH)(),z=(0,d.v9)((function(e){var n;return!0===(null===W||void 0===W||null===(n=W.state)||void 0===n?void 0:n.fromWelcome)?"dark":e.app.theme})),G=(0,a.useRef)(),Y=(0,re.Z)(),H=(0,a.useState)(),V=(0,c.Z)(H,2),K=V[0],$=V[1],X=(0,d.v9)((function(e){return e.license.plan_status})),q=((0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.license)||void 0===n?void 0:n.package})),(0,d.I0)()),ie=(0,a.useState)(!1),oe=(0,c.Z)(ie,2),ae=(oe[0],oe[1],(0,a.useState)(!1)),le=(0,c.Z)(ae,2),se=le[0],ce=le[1],de=(0,a.useState)(!1),ue=(0,c.Z)(de,2),ve=ue[0],pe=(ue[1],(0,a.useState)(!1)),fe=(0,c.Z)(pe,2),he=fe[0],xe=fe[1],Ee=(0,a.useState)(""),me=(0,c.Z)(Ee,2),ge=me[0],be=me[1],Se=(0,a.useState)({open:!1,link:"",loading:!1}),we=(0,c.Z)(Se,2),Ae=we[0],Te=we[1],je=(0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.subscription)||void 0===n?void 0:n.currentSubscription})),Ze=(0,I.useTranslation)(),ke=(0,u.s0)(),Pe=(0,a.useState)("m"),Re=(0,c.Z)(Pe,2),Ie=Re[0],_e=(Re[1],(0,d.v9)((function(e){var n,t;return null===e||void 0===e||null===(n=e.license)||void 0===n||null===(t=n.package)||void 0===t?void 0:t.license})),null===je||void 0===je||null===(e=je.subscriptions)||void 0===e||null===(n=e[0])||void 0===n||null===(t=n.obj_data)||void 0===t||null===(g=t.plan)||void 0===g||null===(S=g.interval)||void 0===S||null===(w=S[0])||void 0===w||w.toLowerCase(),(0,C.tR)()),Fe=(_e.isTrialing,_e.isTrialExpired),Le=(_e.trialEndDate,_e.isProTrial),Ce={background:"dark"===z?"#fff":"#0E0D2B"," -webkit-background-clip":"text",backgroundClip:"text","-webkit-text-fill-color":"transparent"},Oe=(0,l.Z)(),Ne=((0,s.Z)(Oe.breakpoints.between("sm","lg")),(0,a.useState)(!1)),Ue=(0,c.Z)(Ne,2),ye=(Ue[0],Ue[1]),De=(0,a.useState)(!1),Me=(0,c.Z)(De,2),Be=(Me[0],Me[1]),We=((0,s.Z)("(orientation: portrait)"),(0,s.Z)("(max-width:500px)")),ze=((0,a.useRef)(null),(0,a.useRef)(null)),Ge=(0,te.N)(),Ye=Ge.handleUpgradeProSubscription,He=Ge.upgradeProSubscriptionLoading,Ve=J({onSwipedLeft:function(){return $e()},onSwipedRight:function(){return Ke()},preventDefaultTouchmoveEvent:!0,trackMouse:!0}),Ke=function(){if(ze.current){var e=ze.current,n=Math.max(e.scrollLeft-.6*window.innerWidth);e.scrollTo({left:n,behavior:"smooth"}),nn(n)}},$e=function(){if(ze.current){var e=ze.current,n=Math.min(e.scrollLeft+.6*window.innerWidth,e.scrollWidth-e.clientWidth);e.scrollTo({left:n,behavior:"smooth"}),nn(n)}};(0,a.useEffect)((function(){(0,ee.AR)(q)}),[]);var Xe=(0,a.useMemo)((function(){return function(){var e=null;return function(n){if(n!==e&&(0!==n||null!==e)){for(var t=null===e?n:e-n,r=0;r<Math.abs(t);r++)setTimeout((function(){t>0?$e():Ke()}),0);e=n}}}()}),[K]);(0,a.useEffect)((function(){ve&&G.current&&setTimeout((function(){G.current.scrollIntoView({behavior:"smooth",block:"start"})}),0)}),[ve]);var qe=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(){var n,t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,ce(!0),e.next=4,(0,m.GET_PLANS_LIST)();case 4:t=e.sent,$(Y?null===t||void 0===t||null===(n=t.products)||void 0===n?void 0:n.filter((function(e){return"enterprise"===(null===e||void 0===e?void 0:e.code)})):null===t||void 0===t?void 0:t.products),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:return e.prev=11,ce(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])}
1)));return function(){return e.apply(this,arguments)}}();(0,a.useEffect)((function(){var e;K||qe(),!0===(null===W||void 0===W||null===(e=W.state)||void 0===e?void 0:e.fromWelcome)&&q((0,Q.rm)("dark"))}),[]);var Je=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(n){var t,i,o;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===W||void 0===W||!W.pathname.includes("/store")){e.next=11;break}if(!((null===je||void 0===je||null===(t=je.subscriptions)||void 0===t?void 0:t.length)>0&&null!==C.cT&&void 0!==C.cT&&C.cT.includes(X))){e.next=8;break}return e.next=4,(0,R.Y$)();case 4:o=e.sent,window.open(null===o||void 0===o||null===(i=o.data)||void 0===i?void 0:i.url,"_blank"),e.next=9;break;case 8:ke("/store/checkout",{state:{priceId:n}});case 9:e.next=12;break;case 11:ke("/checkout",{state:{priceId:n,fromWelcome:!0}});case 12:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Qe=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(){var n,t,o;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Te((0,i.Z)((0,i.Z)({},Ae),{},{loading:!0})),e.prev=1,e.next=4,(0,R.Y$)();case 4:null!==(t=e.sent)&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&n.url&&window.open(null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.url,"_ blank"),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),P.Am.warning("Could not fetch transactions, please retry."),Te((0,i.Z)((0,i.Z)({},Ae),{},{open:!1,loading:!1}));case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}(),en={marginBottom:0,margin:"0 auto"},nn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze.current.scrollLeft;if(ze.current){var n=ze.current,t=n.scrollWidth-n.clientWidth;ye(e>0),Be(e<t)}};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ne.Z,{open:He}),he&&(0,Z.jsx)(y.Z,{open:he,setOpen:xe,appBar:!1,width:"40vw",children:(0,Z.jsx)(U,{handleClose:function(){return xe(!1)},type:ge},he)}),(null===Ae||void 0===Ae?void 0:Ae.open)&&(0,Z.jsx)(k,{dialogProps:Ae,handleClose:function(){Te({open:!1,link:"",loading:!1})}})||null,(0,Z.jsx)(v.Z,{sx:!0!==(null===W||void 0===W||null===(A=W.state)||void 0===A?void 0:A.fromWelcome)||ve?{backgroundColor:!0===(null===W||void 0===W||null===(F=W.state)||void 0===F?void 0:F.fromWelcome)&&"#1A193E"}:{width:"100%",height:"100dvh",position:"relative",overflow:"hidden",backgroundColor:"#1A193E",display:!(null!==W&&void 0!==W&&null!==(j=W.state)&&void 0!==j&&j.fromWelcome)&&"flex",alignItems:"center",justifyContent:"center","&::before":{content:'""',position:"absolute",height:"600px",width:"500px",background:"radial-gradient(ellipse at center, rgba(200, 82, 223, 0.3), transparent 70%)",top:"-120px",left:"-120px",zIndex:1,userSelect:"none",pointerEvents:"none"},"&::after":{content:"url(".concat(E.Z,")"),position:"absolute",height:"600px",width:"500px",bottom:"-150px",right:0,zIndex:1,userSelect:"none",pointerEvents:"none"}},children:(0,Z.jsxs)(v.Z,{display:"flex",alignItems:"center",flexDirection:"column",gap:3,zIndex:999,marginTop:ve?"0px":"clamp(1.5vh, 1.5vw, 1.5vw)",style:{width:"100%"},children:[(0,Z.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",marginLeft:null!==W&&void 0!==W&&null!==(N=W.state)&&void 0!==N&&N.fromWelcome?"-15vw":"",flexDirection:"column"},children:(0,Z.jsxs)(p.Z,{variant:"h2",sx:{background:"linear-gradient(159.39deg, #D5B0F3 3.81%, #805CBB 51.07%, #6753A7 98.33%)","-webkit-background-clip":"text",backgroundClip:"text","-webkit-text-fill-color":"transparent",fontWeight:500,fontSize:"clamp(2.5vh, 2.5vw, 2.5vw)",marginBottom:"0px",paddingBottom:"0px",flex:1,textAlign:"center"},children:[" ",(null===W||void 0===W||null===(D=W.state)||void 0===D?void 0:D.fromWelcome)&&(0,Z.jsx)(T.Z,{"aria-label":"back",onClick:function(){ke(-1)},sx:{color:"white",marginRight:"15vw",marginTop:"-0.15vw"},children:(0,Z.jsx)(O.Z,{sx:{fontSize:"clamp(2vh, 2vw, 2vw)"}})}),Ze.t("store.DISCOVER_OUR_SUBSCRIPTIONS")]})}),se?(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)("div",{className:"d-flex gap-4 px-3",children:null===(M=[1,2])||void 0===M?void 0:M.map((function(e,n){return(0,Z.jsx)("div",{className:"w-100 border rounded rounded-4 p-3",style:{minWidth:"clamp(30vh, 15vw, 20vw
1)"},children:(0,Z.jsxs)(b.N,{spacing:0,children:[(0,Z.jsx)(b.O,{col:12,rows:1,height:35,style:en}),(0,Z.jsx)(b.O,{col:4,rows:1,height:60,style:en}),(0,Z.jsx)(b.O,{col:12,rows:1,height:35,style:en}),(0,Z.jsx)(b.O,{col:12,rows:2,height:70,style:en})]})},n)}))})}):(0,Z.jsx)(v.Z,(0,i.Z)((0,i.Z)({sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%"}},Ve),{},{children:(0,Z.jsx)(f.ZP,{ref:ze,id:"plans-container",container:!0,spacing:3,justifyContent:"center",sx:{flexWrap:"nowrap",overflow:"hidden",padding:"10px","-ms-overflow-style":"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},children:null===K||void 0===K?void 0:K.slice().filter((function(e){return["premium","enterprise"].includes(null===e||void 0===e?void 0:e.code)})).sort((function(e,n){var t={premium:1,enterprise:2};return(t[null===e||void 0===e?void 0:e.code]||999)-(t[null===n||void 0===n?void 0:n.code]||999)})).map((function(e,n){var t,r,o,a,l,s,c,d,u,E,m,g,b,S,w=null===e||void 0===e||null===(t=e.prices)||void 0===t?void 0:t.find((function(e){var n,t,r,i;return"m"===Ie?"month"===(null===e||void 0===e||null===(n=e.obj_data)||void 0===n||null===(t=n.recurring)||void 0===t?void 0:t.interval):"year"===(null===e||void 0===e||null===(r=e.obj_data)||void 0===r||null===(i=r.recurring)||void 0===i?void 0:i.interval)}));return We&&!(0,_.isEmpty)(null===je||void 0===je?void 0:je.subscriptions)&&(null===je||void 0===je||null===(r=je.subscriptions)||void 0===r||null===(o=r[0])||void 0===o||null===(a=o.obj_data)||void 0===a||null===(l=a.plan)||void 0===l?void 0:l.id)===(null===w||void 0===w||null===(s=w.obj_data)||void 0===s?void 0:s.id)&&null!==C.cT&&void 0!==C.cT&&C.cT.includes(X)&&Xe(n-1),(0,Z.jsx)(f.ZP,{item:!0,sx:{minWidth:"clamp(30vh, 20%, 25%)",maxWidth:"clamp(30vh, 20%, 25%)"},children:(0,Z.jsxs)(h.Z,{sx:{position:"relative",padding:"clamp(1.5vh, 1.5vw, 1.5vw)",backgroundColor:"dark"===z?"#2D2C5A":"#fff",border:"2px solid #805CBB",borderRadius:"24px",height:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,Z.jsxs)(v.Z,{children:[(0,Z.jsxs)(f.ZP,{container:!0,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:2,children:[(0,Z.jsx)(v.Z,{sx:{position:"relative",width:"100%",textAlign:"center"},children:(0,Z.jsx)(p.Z,{sx:{color:"#B6B6FF",fontSize:"1.31vw",fontWeight:"600"},children:Ze.t("store.".concat(e.name))})}),null!==(c=["enterprise"])&&void 0!==c&&c.includes(null===e||void 0===e?void 0:e.code)?(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)(p.Z,{sx:{textAlign:"center",fontSize:".7vw",color:"dark"===z&&!0===(null===W||void 0===W||null===(m=W.state)||void 0===m?void 0:m.fromWelcome)&&"#fff"},children:Ze.t("store.MESSAGE")})}):(0,Z.jsx)(f.ZP,{item:!0,children:(0,Z.jsxs)("div",{children:[(0,Z.jsx)(p.Z,{sx:{color:"#B6B6FF",fontWeight:"600",background:"linear-gradient(159.39deg, #D5B0F3 3.81%, #805CBB 51.07%, #6753A7 98.33%)"," -webkit-background-clip":"text",backgroundClip:"text","-webkit-text-fill-color":"transparent",fontSize:"clamp(2vh, 2vw, 2vw)",".supscript":(0,i.Z)({fontSize:"clamp(1.5vh, 1.5vw, 1.5vw)",color:"#fff"},Ce),".subscript":(0,i.Z)({fontSize:"clamp(0.87vw, 0.87vw, 0.87vw)",color:"#fff"},Ce)},children:"enterprise"!==(null===e||void 0===e?void 0:e.code)?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("sup",{className:"supscript",children:"$"}),"\xa0",w?("m"===Ie?(null===w||void 0===w||null===(d=w.obj_data)||void 0===d?void 0:d.unit_amount)/100:(null===w||void 0===w||null===(u=w.obj_data)||void 0===u?void 0:u.unit_amount)/100/12).toFixed(2):"N/A",(0,Z.jsx)("sub",{className:"subscript",children:"/".concat("m")})]}):Ze.t("store.CONTACT_US")}),(0,Z.jsx)("span",{className:"fss text-center",style:{color:"dark"===z?"#fff":"#000"},children:"y"===Ie&&null!==w&&void 0!==w&&null!==(E=w.obj_data)&&void 0!==E&&E.unit_amount?(0,Z.jsx)(Z.Fragment,{children:Ze.t("store.BILLING_ANNUALLY")}):(0,Z.jsx)(Z.Fragment,{children:"\xa0"})})]})})]}),(null!==e&&void 0!==e&&null!==(g=e.obj_data)&&void 0!==g&&null!==(b=g.marketing_features)&&void 0!==b&&b.length,(0,Z.jsx)(f.ZP,{container:!0,flexDirection:"column",justifyContent:"center",gap:"4px",mt:"0.75rem",color:"dark"===z?"#fff":"rgba(0, 0, 0, 0.87) ",children:(0,Z.jsxs)(f.ZP,{item:!0,children:[(0,Z.jsxs)(p.Z,{sx:{fontSize:".8vw",lineHeight:"1.63vw",fontWeight:"400"},children:[Ze.t("store.INCLUDES")," :"]}),null===B||void 0===B||null===(S=B[e.code])||void 0===S?void 0:S.map((function(e){return(0,Z.jsx)(p.Z,{sx:{fontSize:".7vw",lineHeight:"1.63vw",fontWeight:"400"},children:e})})),(0,Z.jsx)(p.Z,{sx:{fontSize:"0.87vw",color:"#9a82c2",textDecoration:"underline",cursor:"pointer",marginBottom:"1rem"},onClick:function(){be(e.code),xe(!0)},children:Ze.t("common.CHECK_FEATURES")})]})}))]}),(0,Z.jsx)(v.Z,{sx:{mt:"auto",pt:2},children:(0,Z.jsxs)(f.ZP,{container:!0,flexDirection:"column",gap:1,children:[!("premium"===(null===e||void 0===e?void 0:e.code)&&Le&&!Fe)&&("premium"===(null===e||void 0===e?void 0:e.code)||!Le&&!Fe||"enterprise"===(null===e||void 0===e?void 0:e.code))&&(0,Z.jsx)(f.ZP,{item:!0,width:"100%",children:(0,Z.jsx)(x.Z,{variant:"contained",sx:{width:"100%",padding:"15px 20px"},onClick:function(){var n,t,r,i,o;if("enterprise"===(null===e||void 0===e?void 0:e.code))window.open("https://www.noki.ai/contact","_blank");else if((0,_.isEmpty)(null===je||void 0===je?void 0:je.subscriptions)||(null===je||void 0===je||null===(n=je.subscriptions)||void 0===n||null===(t=n[0])||void 0===t||null===(r=t.obj_data)||void 0===r||null===(i=r.plan)||void 0===i?void 0:i.id)!==(null===w||void 0===w||null===(o=w.obj_data)||void 0===o?void 0:o.id)){var a;Je(null===w||void 0===w||null===(a=w.obj_data)||void 0===a?void 0:a.id)}else{var l,s,c,d;if("past_due"===(null===je||void 0===je||null===(l=je.subscriptions)||void 0===l||null===(s=l[0])||void 0===s||null===(c=s.obj_data)||void 0===c?void 0:c.status)||null!==C.cT&&void 0!==C.cT&&C.cT.includes(X))Qe();else Je(null===w||void 0===w||null===(d=w.obj_data)||void 0===d?void 0:d.id)}},className:(0,C.Y1)({plan:e,priceData:w,currentSubscription:je,currentPlanStatus:X,activeStatus:C.cT}),children:(0,Z.jsx)(p.Z,{sx:{width:"100%",fontSize:".75vw",textTransform:"none"},children:(0,C.Lp)({plan:e,priceData:w,currentSubscription:je,currentPlanStatus:X,activeStatus:C.cT,translationKey:Ze.t})})})}),"premium"===(null===e||void 0===e?void 0:e.code)&&Le&&!Fe&&(0,Z.jsx)(f.ZP,{item:!0,width:"100%",children:(0,Z.jsx)(x.Z,{variant:"outlined",onClick:Ye,disabled:He,sx:{width:"100%",padding:"13px 20px",borderColor:"dark"===z?"#B6B6FF":"#805CBB",borderWidth:"2px",color:"dark"===z?"#B6B6FF":"#805CBB","&:hover":{borderColor:"dark"===z?"#D5B0F3":"#6753A7",borderWidth:"2px",backgroundColor:"dark"===z?"rgba(182, 182, 255, 0.08)":"rgba(128, 92, 187, 0.08)"},"&.Mui-disabled":{borderColor:"dark"===z?"rgba(182, 182, 255, 0.3)":"rgba(128, 92, 187, 0.3)",color:"dark"===z?"rgba(182, 182, 255, 0.5)":"rgba(128, 92, 187, 0.5)"}},children:(0,Z.jsx)(p.Z,{sx:{width:"100%",fontSize:".75vw",textTransform:"none"},children:He?Ze.t("common.PROCESSING"):Ze.t("store.UPGRADE_TO_PRO")})})})]})})]})},null===e||void 0===e?void 0:e.name)}))})}))]})})]})},oe=(t(88789),t(95717)),ae=(t(53037),t(28688),function(){var e,n,t,g,S,w,A,j=L(),F=(0,u.TH)(),N=(0,d.v9)((function(e){var n;return!0===(null===F||void 0===F||null===(n=F.state)||void 0===n?void 0:n.fromWelcome)?"dark":e.app.theme})),D=(0,a.useRef)(),M=(0,re.Z)(),B=(0,a.useState)(),W=(0,c.Z)(B,2),z=W[0],G=W[1],Y=(0,d.v9)((function(e){return e.license.plan_status})),H=(0,a.useRef)(null),V=(0,d.I0)(),K=(0,a.useState)(!1),$=(0,c.Z)(K,2),X=($[0],$[1],(0,a.useState)(!1)),q=(0,
1c.Z)(X,2),J=q[0],ie=q[1],ae=(0,a.useState)(!1),le=(0,c.Z)(ae,2),se=le[0],ce=(le[1],(0,a.useState)(!1)),de=(0,c.Z)(ce,2),ue=de[0],ve=de[1],pe=(0,a.useState)(""),fe=(0,c.Z)(pe,2),he=fe[0],xe=fe[1],Ee=(0,a.useState)({open:!1,link:"",loading:!1}),me=(0,c.Z)(Ee,2),ge=me[0],be=me[1],Se=(0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.subscription)||void 0===n?void 0:n.currentSubscription})),we=(0,I.useTranslation)(),Ae=(0,u.s0)(),Te=(0,a.useState)("m"),je=(0,c.Z)(Te,2),Ze=je[0],ke=(je[1],(0,d.v9)((function(e){var n,t;return null===e||void 0===e||null===(n=e.license)||void 0===n||null===(t=n.package)||void 0===t?void 0:t.license}))),Pe=((0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.license)||void 0===n?void 0:n.package})),(0,C.tR)()),Re=Pe.isTrialExpired,Ie=Pe.isProTrial,_e=(0,te.N)(),Fe=_e.handleUpgradeProSubscription,Le=_e.upgradeProSubscriptionLoading,Ce={background:"dark"===N?"#fff":"#0E0D2B"," -webkit-background-clip":"text",backgroundClip:"text","-webkit-text-fill-color":"transparent"},Oe=((0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.auth)||void 0===n?void 0:n.currentUserSettings})),(0,l.Z)()),Ne=(0,s.Z)(Oe.breakpoints.between("sm","lg")),Ue=(0,s.Z)("(orientation: landscape)"),ye=(0,s.Z)("(max-width:500px)");(0,a.useEffect)((function(){se&&D.current&&setTimeout((function(){D.current.scrollIntoView({behavior:"smooth",block:"start"})}),0)}),[se]),(0,a.useEffect)((function(){(0,ee.AR)(V)}),[]);var De=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(){var n,t;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,ie(!0),e.next=4,(0,m.GET_PLANS_LIST)();case 4:t=e.sent,G(M?null===t||void 0===t||null===(n=t.products)||void 0===n?void 0:n.filter((function(e){return"enterprise"===(null===e||void 0===e?void 0:e.code)})):null===t||void 0===t?void 0:t.products),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),console.error(e.t0);case 11:return e.prev=11,ie(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])}
1)));return function(){return e.apply(this,arguments)}}();(0,a.useEffect)((function(){var e;z||De(),!0===(null===F||void 0===F||null===(e=F.state)||void 0===e?void 0:e.fromWelcome)&&V((0,Q.rm)("dark"))}),[]);var Me=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(n){var t,i,o,a,l,s;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===F||void 0===F||!F.pathname.includes("/store")){e.next=17;break}if(!((null===Se||void 0===Se||null===(t=Se.subscriptions)||void 0===t?void 0:t.length)>0&&null!==C.cT&&void 0!==C.cT&&C.cT.includes(Y))){e.next=14;break}return e.prev=2,e.next=5,(0,R.Y$)();case 5:null!==(o=e.sent)&&void 0!==o&&null!==(i=o.data)&&void 0!==i&&i.url&&((l=window.open(null===o||void 0===o||null===(a=o.data)||void 0===a?void 0:a.url,"_blank"))&&!l.closed&&"undefined"!=typeof l.closed||(window.location.href=null===o||void 0===o||null===(s=o.data)||void 0===s?void 0:s.url)),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),P.Am.info("Could not fetch Stripe Portal session, please retry.");case 12:e.next=15;break;case 14:Ae("/store/checkout",{state:{priceId:n}});case 15:e.next=18;break;case 17:Ae("/checkout",{state:{priceId:n,fromWelcome:!0}});case 18:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(n){return e.apply(this,arguments)}}(),Be=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(){var n,t,o,a,l;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return be((0,i.Z)((0,i.Z)({},ge),{},{loading:!0})),e.prev=1,e.next=4,(0,R.Y$)();case 4:null!==(t=e.sent)&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&n.url&&((a=window.open(null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.url,"_blank"))&&!a.closed&&"undefined"!=typeof a.closed||(window.location.href=null===t||void 0===t||null===(l=t.data)||void 0===l?void 0:l.url)),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),P.Am.warning("Could not fetch transactions, please retry."),be((0,i.Z)((0,i.Z)({},ge),{},{open:!1,loading:!1}));case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}(),We={marginBottom:0,margin:"0 auto"};(0,a.useEffect)((function(){if((null===z||void 0===z?void 0:z.length)>0&&H.current){var e=z.findIndex((function(e){return(null===e||void 0===e?void 0:e.code)===(null===ke||void 0===ke?void 0:ke.toLowerCase())})),n=-1!==e?e-1:0;H.current.slickGoTo(n)}}),[z,ke]);var ze={dots:!1,arrows:!0,infinite:!1,speed:600,slidesToShow:Ne?2:1,adaptiveHeight:!1,slidesToScroll:1,className:"w-100 h-100 d-flex justify-content-center align-items-center py-2"};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(ne.Z,{open:Le}),ue&&(0,Z.jsx)(y.Z,{open:ue,setOpen:ve,appBar:!1,width:"40vw",children:(0,Z.jsx)(U,{handleClose:function(){return ve(!1)},type:he},ue)}),(null===ge||void 0===ge?void 0:ge.open)&&(0,Z.jsx)(k,{dialogProps:ge,handleClose:function(){be({open:!1,link:"",loading:!1})}})||null,(0,Z.jsx)(v.Z,{sx:!0!==(null===F||void 0===F||null===(e=F.state)||void 0===e?void 0:e.fromWelcome)||se?{backgroundColor:!0===(null===F||void 0===F||null===(t=F.state)||void 0===t?void 0:t.fromWelcome)&&"#1A193E"}:{width:"100%",height:"100dvh",position:"relative",overflow:"hidden",backgroundColor:"#1A193E",display:!(null!==F&&void 0!==F&&null!==(n=F.state)&&void 0!==n&&n.fromWelcome)&&"flex",alignItems:"center",justifyContent:"center",fontFamily:"Nunito","&::before":{content:'""',position:"absolute",height:"600px",width:"500px",background:"radial-gradient(ellipse at center, rgba(200, 82, 223, 0.3), transparent 70%)",top:"-120px",left:"-120px",zIndex:1,userSelect:"none",pointerEvents:"none"},"&::after":{content:"url(".concat(E.Z,")"),position:"absolute",height:"600px",width:"500px",bottom:"-150px",right:0,zIndex:1,userSelect:"none",pointerEvents:"none"}},children:(0,Z.jsxs)(v.Z,{display:"flex",alignItems:"center",flexDirection:"column",gap:3,zIndex:999,marginTop:"clamp(1.5vh, 1.5vw, 1.5vw)",style:{width:"100%"},children:[(0,Z.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",marginLeft:null!==F&&void 0!==F&&null!==(g=F.state)&&void 0!==g&&g.fromWelcome?"-15vw":"",flexDirection:"column"},children:(0,Z.jsxs)(p.Z,{variant:"h2",sx:{background:"linear-gradient(159.39deg, #D5B0F3 3.81%, #805CBB 51.07%, #6753A7 98.33%)","-webkit-background-clip":"text",backgroundClip:"text","-webkit-text-fill-color":"transparent",fontWeight:500,fontSize:"clamp(3vh, 3vw, 3vw))",marginBottom:"0px",paddingBottom:"0px",flex:1,textAlign:"center"},children:[" ",(null===F||void 0===F||null===(S=F.state)||void 0===S?void 0:S.fromWelcome)&&(0,Z.jsx)(T.Z,{"aria-label":"back",onClick:function(){Ae(-1)},sx:{color:"white",marginRight:ye?"4vw":"15vw",marginTop:"-0.15vw",marginLeft:ye&&"4vw"},children:(0,Z.jsx)(O.Z,{sx:{fontSize:"clamp(2vh, 2vw, 2vw)"}})}),we.t("store.DISCOVER_OUR_SUBSCRIPTIONS")]})}),J?(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)("div",{className:"d-flex gap-4 px-3",children:null===(w=[1,2])||void 0===w?void 0:w.map((function(e,n){return(0,Z.jsx)("div",{className:"w-100 border rounded rounded-4 p-3",style:{minWidth:"clamp(30vh, 15vw, 20vw
1)"},children:(0,Z.jsxs)(b.N,{spacing:0,children:[(0,Z.jsx)(b.O,{col:12,rows:1,height:35,style:We}),(0,Z.jsx)(b.O,{col:4,rows:1,height:60,style:We}),(0,Z.jsx)(b.O,{col:12,rows:1,height:35,style:We}),(0,Z.jsx)(b.O,{col:12,rows:2,height:70,style:We})]})},n)}))})}):(0,Z.jsxs)("div",{className:"d-flex justify-content-center align-items-center",style:{position:"relative",minHeight:"500px",width:"80%",margin:"0 auto"},children:[(0,Z.jsx)("style",{children:"\n                  .slick-prev,\n                  .slick-next {\n                    font-size: 0;\n                    line-height: 0;\n                    position: absolute;\n                    top: 50%;\n                    display: block;\n                    width: 30px;\n                    height: 30px;\n                    padding: 0;\n                    transform: translate(0, -50%);\n                    cursor: pointer;\n                    color: transparent;\n                    border: none;\n                    outline: none;\n                    background: transparent;\n                    z-index: 2;\n                  }\n\n                  .slick-prev:before,\n                  .slick-next:before {\n                    font-size: 30px;\n                    opacity: 0.75;\n                    color: ".concat("dark"===N?"white !important":"#5C5FEF !important","; \n                  }\n\n                  .slick-prev {\n                    left: -40px;\n                  }\n\n                  .slick-next {\n                    right: -40px;\n                  }\n             ")}),(0,Z.jsx)(oe.Z,(0,i.Z)((0,i.Z)({ref:H},ze),{},{children:null===z||void 0===z||null===(A=z.slice().filter((function(e){return["premium","enterprise"].includes(null===e||void 0===e?void 0:e.code)})).sort((function(e,n){var t={premium:1,enterprise:2};return(t[null===e||void 0===e?void 0:e.code]||999)-(t[null===n||void 0===n?void 0:n.code]||999)})))||void 0===A?void 0:A.map((function(e,n){var t,r,o,a,l,s,c,d,u,E,m=null===e||void 0===e||null===(t=e.prices)||void 0===t?void 0:t.find((function(e){var n,t,r,i;return"m"===Ze?"month"===(null===e||void 0===e||null===(n=e.obj_data)||void 0===n||null===(t=n.recurring)||void 0===t?void 0:t.interval):"year"===(null===e||void 0===e||null===(r=e.obj_data)||void 0===r||null===(i=r.recurring)||void 0===i?void 0:i.interval)}));return(0,Z.jsx)(v.Z,{sx:{position:"relative",padding:"0 5px",margin:"20px auto"},children:(0,Z.jsxs)(h.Z,{sx:{padding:"clamp(1.5vh, 1.5vw, 1.5vw)",height:"480px",backgroundColor:"dark"===N?"#2D2C5A":"#fff",border:"2px solid #805CBB",borderRadius:"24px",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,Z.jsxs)(v.Z,{children:[(0,Z.jsxs)(f.ZP,{container:!0,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:2,children:[(0,Z.jsx)(p.Z,{sx:{color:"#B6B6FF",fontSize:"1.5vh",fontWeight:"600"},children:we.t("store.".concat(e.name))}),null!==(r=["enterprise"])&&void 0!==r&&r.includes(null===e||void 0===e?void 0:e.code)?(0,Z.jsx)(p.Z,{sx:{textAlign:"center",fontSize:Ne&&Ue?"1.4vh":Ne?"1.2vh":"1.5vh",color:"dark"===N&&!0===(null===F||void 0===F||null===(c=F.state)||void 0===c?void 0:c.fromWelcome)&&"#fff"},children:we.t("store.MESSAGE")}):(0,Z.jsx)(f.ZP,{item:!0,children:(0,Z.jsxs)("div",{children:[(0,Z.jsxs)(p.Z,{sx:{color:"#B6B6FF",fontWeight:"600",background:"linear-gradient(159.39deg, #D5B0F3 3.81%, #805CBB 51.07%, #6753A7 98.33%)"," -webkit-background-clip":"text",backgroundClip:"text","-webkit-text-fill-color":"transparent",fontSize:"clamp(2vh, 2vw, 2vw)",".supscript":(0,i.Z)({fontSize:"clamp(1.5vh, 1.5vw, 1.5vw)",color:"#fff"},Ce),".subscript":(0,i.Z)({fontSize:"clamp(0.87vw, 0.87vw, 0.87vw)",color:"#fff"},Ce)},children:[(0,Z.jsx)("sup",{className:"supscript",children:"$"}),"\xa0",null!==(o=["free","enterprise"])&&void 0!==o&&o.includes(null===e||void 0===e?void 0:e.code)?"0":(0,Z.jsxs)(Z.Fragment,{children:[m?("m"===Ze?(null===m||void 0===m||null===(a=m.obj_data)||void 0===a?void 0:a.unit_amount)/100:(null===m||void 0===m||null===(l=m.obj_data)||void 0===l?void 0:l.unit_amount)/100/12).toFixed(2):"N/A",(0,Z.jsx)("sub",{className:"subscript",style:{fontSize:"1.5vh"},children:"/m"})]})]}),(0,Z.jsx)("span",{className:"fss text-center",style:{fontSize:ye?"1.5vh":"",color:"dark"===N?"#fff":"#000"},children:"y"===Ze&&null!==m&&void 0!==m&&null!==(s=m.obj_data)&&void 0!==s&&s.unit_amount?(0,Z.jsx)(Z.Fragment,{children:we.t("store.BILLING_ANNUALLY")}):(0,Z.jsx)(Z.Fragment,{children:"\xa0"})})]})})]}),(null!==e&&void 0!==e&&null!==(d=e.obj_data)&&void 0!==d&&null!==(u=d.marketing_features)&&void 0!==u&&u.length,(0,Z.jsx)(f.ZP,{container:!0,flexDirection:"column",justifyContent:"center",gap:"4px",mt:"0.75rem",color:"dark"===N?"#fff":"rgba(0, 0, 0, 0.87)",children:(0,Z.jsxs)(f.ZP,{item:!0,children:[(0,Z.jsxs)(p.Z,{sx:{fontSize:Ne&&Ue?"1.5vh":Ne?"1.2vh":"1.5vh",lineHeight:Ne?"1.3rem":"1.4rem",fontWeight:"400"},children:[we.t("store.INCLUDES")," :"]}),null===j||void 0===j||null===(E=j[e.code])||void 0===E?void 0:E.map((function(e){return(0,Z.jsx)(p.Z,{sx:{fontSize:Ne?"1.2vh":"1.5vh",lineHeight:Ne?"1.3rem":"1.2rem",fontWeight:"400"},children:e})})),(0,Z.jsx)(p.Z,{sx:{fontSize:Ne?"1.2vw":"1.5vh",color:"#9a82c2",textDecoration:"underline",cursor:"pointer"},onClick:function(){xe(e.code),ve(!0)},children:we.t("common.CHECK_FEATURES")})]})}))]}),(0,Z.jsx)(v.Z,{sx:{mt:"auto",pt:2},children:(0,Z.jsxs)(f.ZP,{container:!0,flexDirection:"column",gap:1,children:[!("premium"===(null===e||void 0===e?void 0:e.code)&&Ie&&!Re)&&("premium"===(null===e||void 0===e?void 0:e.code)||!Ie&&!Re||"enterprise"===(null===e||void 0===e?void 0:e.code))&&(0,Z.jsx)(f.ZP,{item:!0,width:"100%",children:(0,Z.jsx)(x.Z,{variant:"contained",sx:{width:"100%",padding:"15px 20px",fontSize:ye?"1.5vh":"1.2vh"},onClick:function(){var n,t,r,i,o;if("enterprise"===(null===e||void 0===e?void 0:e.code))window.open("https://www.noki.ai/contact","_blank");else if((0,_.isEmpty)(null===Se||void 0===Se?void 0:Se.subscriptions)||(null===Se||void 0===Se||null===(n=Se.subscriptions)||void 0===n||null===(t=n[0])||void 0===t||null===(r=t.obj_data)||void 0===r||null===(i=r.plan)||void 0===i?void 0:i.id)!==(null===m||void 0===m||null===(o=m.obj_data)||void 0===o?void 0:o.id)){var a;Me(null===m||void 0===m||null===(a=m.obj_data)||void 0===a?void 0:a.id)}else{var l,s,c,d;if("past_due"===(null===Se||void 0===Se||null===(l=Se.subscriptions)||void 0===l||null===(s=l[0])||void 0===s||null===(c=s.obj_data)||void 0===c?void 0:c.status)||null!==C.cT&&void 0!==C.cT&&C.cT.includes(Y))Be();else Me(null===m||void 0===m||null===(d=m.obj_data)||void 0===d?void 0:d.id)}},className:(0,C.Y1)({plan:e,priceData:m,currentSubscription:Se,currentPlanStatus:Y,activeStatus:C.cT}),children:(0,Z.jsx)(p.Z,{sx:{width:"100%",fontSize:Ne?"1.2vw":"1.5vh",textTransform:"none"},children:(0,C.Lp)({plan:e,priceData:m,currentSubscription:Se,currentPlanStatus:Y,activeStatus:C.cT,translationKey:we.t})})})}),"premium"===(null===e||void 0===e?void 0:e.code)&&Ie&&!Re&&(0,Z.jsx)(f.ZP,{item:!0,width:"100%",children:(0,Z.jsx)(x.Z,{variant:"outlined",onClick:Fe,disabled:Le,sx:{width:"100%",padding:"10px 15px",fontSize:ye?"1.5vh":"1.2vh",borderColor:"dark"===N?"#B6B6FF":"#805CBB",borderWidth:"2px",color:"dark"===N?"#B6B6FF":"#805CBB","&:hover":{borderColor:"dark"===N?"#D5B0F3":"#6753A7",borderWidth:"2px",backgroundColor:"dark"===N?"rgba(182, 182, 255, 0.08)":"rgba(128, 92, 187, 0.08)"},"&.Mui-disabled":{borderColor:"dark"===N?"rgba(182, 182, 255, 0.3)":"rgba(128, 92, 187, 0.3)",color:"dark"===N?"rgba(182, 182, 255, 0.5)":"rgba(128, 92, 187, 0.5)"}},children:(0,Z.jsx)(p.Z,{sx:{width:"100%",fontSize:Ne?"1.2vw":"1.5vh",textTransform:"none"},children:Le?we.t("common.PROCESSING"):we.t("store.UPGRADE_TO_PRO")})})})]})})]})},null===e||void 0===e?void 0:e.code)}))}))]})]})})]})}),le=function(){var e=(0,l.Z)(),n=(0,s.Z)("(max-width:500px)"),t=(0,s.Z)(e.breakpoints.between("sm","lg")),c=(0,d.v9)((function(e){var n,t;return null===e||void 0===e||null===(n=e.auth)||void 0===n||null===(t=n.personData)||void 0===t?void 0:t.id})),v=(0,d.I0)(),p=(0,u.s0)(),f=(0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.auth)||void 0===n?void 0:n.userRoles})),h=(0,d.v9)((function(e){var n;return null===e||void 0===e||null===(n=e.auth)||void 0===n?void 0:n.rolesLoaded})),x=null===f||void 0===f?void 0:f.some((function(e){return"admin"===e.code&&e.is_active})),E=(0,re.Z)();(0,a.useEffect)((function(){h&&E&&!x&&p("/home/dashboard",{replace:!0})}),[h,E,x]);var b=function(){var e=(0,o.Z)((0,r.Z)().mark((function e(){var n,t,o,a,l,s,d,u,p;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,m.GET_USER_SETTINGS)(c);case 3:s=e.sent,d=(0,i.Z)({},null===s||void 0===s||null===(n=s.data)||void 0===n||null===(t=n.entry)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.resource),u=null===d||void 0===d||null===(a=d.extension)||void 0===a||null===(l=a.find((function(e){return"http://enliv.com/settings/data"===(null===e||void 0===e?void 0:e.url)})))||void 0===l?void 0:l.valueString,p=null===JSON||void 0===JSON?void 0:JSON.parse(u),v((0,g.p7)({resource:(0,i.Z)({},d),display:(0,i.Z)({},p)})),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){b()}),[]),n||t?(0,Z.jsx)(ae,{}):(0,Z.jsx)(ie,{})}},24518:function(e,n,t){t(72791);var r=t(18060),i=t(80184);n.Z=function(e){var n=e.open;return(0,i.jsx)(r.Z,{sx:{color:"rgba(0, 0, 0, 0.5)",zIndex:function(e){return e.zIndex.drawer+2},justifyContent:"center",alignItems:"center"},open:n})}}}]);
2//# sourceMappingURL=6320.27491be3.chunk.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.