(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9939],{2691:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return t(27093)}])},18751:function(e,n,t){"use strict";t.d(n,{w:function(){return o}});var i=t(85893),l=t(9008),r=t.n(l);function o(e){var n,t,l,o=e.customTitle,a=e.isCustomRobots,s=e.customDescription,c=e.customOgImage,d=e.data,u=e.url,m=e.children,v=null!=c?c:null==d?void 0:null===(t=d.seoImage)||void 0===t?void 0:null===(n=t.asset)||void 0===n?void 0:n.url,h=a?(null==d?void 0:d.robots)||a:"index, follow, max-image-preview:large",f=null!=o?o:null==d?void 0:d.seoTitle;f+=" | Loom";var x=null!=s?s:null==d?void 0:d.seoDescription;return(0,i.jsxs)(r(),{children:[(0,i.jsx)("title",{children:f}),(0,i.jsx)("meta",{content:f,property:"og:title"}),(0,i.jsx)("meta",{content:f,property:"twitter:title"}),x&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{content:x,name:"description"}),(0,i.jsx)("meta",{content:x,property:"og:description"}),(0,i.jsx)("meta",{content:x,property:"twitter:description"})]}),v&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{content:v,property:"og:image"}),(0,i.jsx)("meta",{content:v,name:"twitter:image"}),x&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{name:"twitter:image:alt",content:x}),(0,i.jsx)("meta",{property:"og:image:alt",content:x})]})]}),(0,i.jsx)("meta",{name:"twitter:site",content:"@loom"}),(0,i.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,i.jsx)("meta",{content:u,property:"og:url"}),(0,i.jsx)("meta",{content:u,property:"twitter:url"}),(0,i.jsx)("meta",{content:h,name:"robots"}),(0,i.jsx)("link",{href:null!==(l=null==d?void 0:d.canonicalUrl)&&void 0!==l?l:u,rel:"canonical"}),(0,i.jsx)("meta",{property:"twitter:domain",content:"www.loom.com"}),m]})}},19482:function(e,n,t){"use strict";t.d(n,{v:function(){return c}});var i=t(85893),l=t(93967),r=t.n(l),o=t(70741),a=t(82333),s=t(4243);function c(e){var n=e.header,t=e.faqs;return(0,i.jsxs)("section",{className:r()((0,s.b)("blue-10").bg,"py-fluid-md mb-fluid-md"),children:[n&&(0,i.jsx)(a.B,{bLineLength:"2xl",className:"px-fluid-base order-last md:order-none mb-fluid-md",hAlign:"center",hFont:"lg",header:n,themeColor:"blue-10",vAlign:"center"}),(0,i.jsx)(o.s,{answerType:"default",className:"px-fluid-base max-w-screen-xl mx-auto",items:t,themeColor:"blue-10"})]})}},53194:function(e,n,t){"use strict";t.d(n,{u:function(){return c}});var i=t(72253),l=t(14932),r=t(47702),o=t(85893),a=t(78488),s=t(20082);function c(e){var n=e.children,t=e.markdown,c=(0,r._)(e,["children","markdown"]);return n?"string"!=typeof n?(0,o.jsx)(s.J,(0,l._)((0,i._)({},c),{content:n})):t?(0,o.jsx)(a.b,(0,l._)((0,i._)({},c),{children:n})):(0,o.jsx)("p",(0,l._)((0,i._)({},c),{children:n})):null}},70741:function(e,n,t){"use strict";t.d(n,{s:function(){return u}});var i=t(85893),l=t(64225),r=t(40416),o=t(93967),a=t.n(o),s=t(29572),c=t(20082),d=t(4243);function u(e){var n=e.className,t=e.themeColor,o=void 0===t?"grey-text":t,u=e.items,m=e.answerType,v=void 0===m?"default":m,h=e.numerals,f=e.hLevel,x=null!=f?f:"span";return(0,i.jsx)("div",{className:n,children:null==u?void 0:u.map(function(e,n){var t=(0,d.b)(o),u={"icon-list":(0,i.jsx)(s.Z,{bFont:"sm",className:"thd-list-numerals mx-auto grid md:grid-cols-2 lg:grid-cols-3 gap-fluid-sm",list:e.answer,numerals:h,showIcons:"hideOnMobile",themeColor:o}),default:(0,i.jsx)(c.J,{content:e.answer,themeColor:o})}[v];return(0,i.jsxs)("details",{className:a()(null==t?void 0:t.bgInner,null==t?void 0:t.bodyText,"thd-details py-fluid-sm thd-rounded-int mb-lg"),style:{"--button-color-fr":null==t?void 0:t.buttonFg,"--focus-color-bg":"transparent","--focus-color-fg":"initial"},children:[(null==e?void 0:e.question)&&(0,i.jsx)("summary",{className:"px-fluid-base thd-summary thd-focus-thick thd-heading-xs list-none",children:(0,i.jsxs)("div",{className:"flex justify-between items-center",children:[(0,i.jsx)(x,{children:e.question}),(0,i.jsx)("div",{className:"chevron",children:(0,i.jsx)(l.JO$,{icon:(0,i.jsx)(r.r,{})})})]})}),(0,i.jsx)("div",{className:a()(t.border,"thd-body-md border-t mt-32 px-fluid-base pt-32"),children:u})]},n)})})}},82333:function(e,n,t){"use strict";t.d(n,{B:function(){return b}});var i=t(85893),l=t(93967),r=t.n(l),o=t(67294),a=t(30587),s=t(51695),c=t(81882),d=t(23528),u=t(1384),m=t(20082),v=t(53194),h=t(73694),f=t(4243),x=t(61367),p=function(e){var n=e.ellipsisLines,t=e.headerTextGradient,i={};return t&&Object.assign(i,{backgroundImage:"-webkit-linear-gradient(".concat(t,")"),WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}),n&&Object.assign(i,{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n}),i};function g(e,n){var t=(0,x.h)(e);return"string"==typeof t?void 0:null==t?void 0:t[n]}function b(e){var n,t,l,x,b,y,j,N=e.bAlign,w=e.bFont,T=e.bColor,P=e.bLineLength,L=e.bLineLengthStart,C=e.bLineLengthEnd,_=e.bMaxWidth,U=e.bClassName,k=e.chip,A=e.className,I=e.eColor,F=e.ellipsisLines,S=e.eLevel,M=e.eStyle,E=e.gap,O=void 0===E?"lg":E,R=e.hAlign,D=e.header,Y=e.hAppend,B=e.hFont,W=e.hColor,H=e.hClassName,z=e.hLayout,q=e.hLevel,G=e.hLineLength,J=e.iconAlignment,K=void 0===J?"left":J,V=e.hLineLengthStart,X=e.hLineLengthEnd,Z=e.hLink,$=e.headerTextGradient,Q=e.icon,ee=e.iconClassName,en=e.iconColor,et=e.id,ei=e.lineLength,el=e.nested,er=e.number,eo=e.showIcons,ea=e.subhead,es=e.themeColor,ec=void 0===es?"grey-light":es,ed=e.themeColorMode,eu=e.vAlign,em=e.iconBg,ev=e.iconSize,eh=e.scaleIcons,ef=e.showMarkdown,ex=e.cta,ep="object"!=typeof D||null===D||Array.isArray(D)||(0,o.isValidElement)(D)?void 0:D,eg="string"==typeof D||(0,o.isValidElement)(D)?D:null==ep?void 0:ep.heading,eb=null==ep?void 0:ep.subhead,ey="string"==typeof eb||Array.isArray(eb)?eb:ea,ej=(0,a.ZP)("(min-width: 1064px)"),eN=Z?(0,i.jsx)(u.U,{href:null==Z?void 0:Z.link,children:null==Z?void 0:Z.copy}):void 0,ew={pill:(null==ep?void 0:ep.eyebrow)&&(0,i.jsx)(c.t,{cStyle:"overline",className:"mb-fixed-lg",tag:ep.eyebrow,themeColor:ec,themeColorMode:ed}),overline:(null==ep?void 0:ep.eyebrow)&&(0,i.jsx)(null!=S?S:"p",{className:r()(null===(n=(0,f.b)(null!=I?I:ec))||void 0===n?void 0:n.bodyText,"thd-overline mb-fixed-sm"),children:ep.eyebrow}),small:(null==ep?void 0:ep.eyebrow)&&(0,i.jsx)("p",{className:r()(null===(t=(0,f.b)(null!=I?I:ec))||void 0===t?void 0:t.bodyText,"thd-heading-xs mb-fixed-sm"),children:ep.eyebrow})}[void 0===M?"overline":M],eT=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:r()("flex items-center gap-x-fixed-md",ey&&er&&O),children:[er,(eN||D)&&(0,i.jsxs)(null!=q?q:"h2",{className:r()(null!=W?W:null===(l=(0,f.b)(ec))||void 0===l?void 0:l.headerText,V&&G?"".concat(V,":thd-max-").concat(G):!V&&G?"thd-max-".concat(G):void 0,X?"".concat(X,":max-w-none"):void 0,g(null!=B?B:"sm","heading"),ey&&!er&&O,H,$?"mb-[-1em] pb-[1em]":void 0),style:p({ellipsisLines:F,headerTextGradient:$}),children:[k&&(0,i.jsx)("div",{className:"hidden md:block text-base",children:(0,i.jsx)("p",{className:"absolute -mt-[2em] thd-overline text-thd-color-blue-50",children:k})}),ef?(0,i.jsx)(m.J,{content:Array.isArray(D)?D:void 0}):null!=eN?eN:eg,Y]})]}),ey&&(0,i.jsx)(v.u,{className:r()(N?null===(x=(0,h.l)(N))||void 0===x?void 0:x.h:void 0,U,T,null===(b=(0,f.b)(ec))||void 0===b?void 0:b.bodyText,g(void 0===w?"sm":w,"body"),N?(0,h.l)(N).h:void 0,L&&P?"".concat(L,":thd-max-").concat(P):!L&&P?"thd-max-".concat(P):void 0,C?"".concat(C,":max-w-none"):void 0,_||void 0),children:ey}),ex?(0,i.jsx)("div",{className:"flex justify-start pt-30",children:(0,i.jsx)(s.h,{buttonType:ex.buttonType,color:ex.color,cta:ex,size:ex.size,type:ex.type})}):null]});return(0,i.jsxs)("header",{className:r()(A,R?null===(y=(0,h.l)(R))||void 0===y?void 0:y.h:void 0,eu?null===(j=(0,h.l)(eu))||void 0===j?void 0:j.v:void 0,ei?"thd-max-".concat(ei):void 0,_||void 0,null!=z?z:void 0,void 0!==el&&el?void 0:"mb-fluid-sm"),id:null!=et?et:void 0,children:[ew,Q?(0,i.jsxs)("div",{className:r()(Q&&"flex ".concat("right"===K&&"gap-[1em] items-center")),children:[ej&&"left"===K&&(0,i.jsx)(d.o,{className:A,iconClassName:ee,item:Q,showIcons:eo,themeColor:en}),(0,i.jsx)("div",{children:eT}),ej&&"right"===K&&(0,i.jsx)(d.o,{className:"mr-none",iconBg:em,iconClassName:ee,iconColor:en,iconSize:ev,item:Q,scaleIcons:eh,showIcons:eo,themeColor:en})]}):eT]})}},73694:function(e,n,t){"use strict";function i(e){var n,t;switch(null==e?void 0:e.toLowerCase()){default:t="text-left",n=void 0;break;case"start":t="text-left",n="flex-start";break;case"center":t="flex flex-col text-center items-center mx-auto",n="flex flex-col justify-center";break;case"center-end":t="flex flex-col md:text-center md:items-center mx-auto",n="flex flex-col justify-center";break;case"center-start":t="flex flex-col text-center items-center mx-auto lg:text-left lg:items-start lg:mx-0",n="flex flex-col justify-start lg:justify-center";break;case"split":t="lg:grid lg:grid-cols-2 lg:justify-between gap-fluid-md space-between mb-md md:mb-lg lg:mb-0",n=void 0}return{v:n,h:t}}t.d(n,{l:function(){return i}})},9818:function(e,n,t){"use strict";t.d(n,{i:function(){return o}});var i=t(82729),l=t(12870);function r(){var e=(0,i._)(["\n asset-> {\n url,\n metadata {\n dimensions {\n height,\n width,\n aspectRatio\n }\n }\n }\n"]);return r=function(){return e},e}var o=t.n(l)()(r())},77331:function(e,n,t){"use strict";t.d(n,{k:function(){return s}});var i=t(82729),l=t(12870),r=t.n(l),o=t(9818);function a(){var e=(0,i._)(["\n image {\n altText,\n ","\n }\n"]);return a=function(){return e},e}var s=r()(a(),o.i)},22316:function(e,n,t){"use strict";t.d(n,{M:function(){return s}});var i=t(82729),l=t(12870),r=t.n(l),o=t(9818);function a(){var e=(0,i._)(["\n meta {\n title,\n seoTitle,\n slug {\n current\n },\n canonicalUrl,\n robots,\n seoDescription,\n seoImage {\n ","\n }\n }"]);return a=function(){return e},e}var s=r()(a(),o.i)},1329:function(e,n,t){"use strict";t.d(n,{l:function(){return s}});var i=t(82729),l=t(12870),r=t.n(l),o=t(77331);function a(){var e=(0,i._)(["\ntitle,\n heading,\n subheading,\n headingSize,\n logoAlignment,\n logoSize,\n colorTheme,\n cta,\n logos[]-> {\n ...,\n ","\n }"]);return a=function(){return e},e}var s=r()(a(),o.k)},27093:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return ej},default:function(){return eN}});var i=t(24043),l=t(85893),r=t(82729),o=t(34764),a=t(22316),s=t(9818),c=t(1329);function d(){var e=(0,r._)(['\n*[_type == "pricingPage"][0] {\n heroHeader,\n educationNote,\n planCards[]->{\n ...\n },\n planCta,\n faqs[]-> {\n ...\n },\n showAiModule,\n aiHeader,\n aiImage {\n altText,\n ',"\n },\n aiFeatures[],\n faqHeading,\n faqList,\n pricingTables,\n socialProofModule-> {\n ","\n },\n endOfPageModule-> {\n cta,\n heading,\n download\n },\n ","\n}\n"]);return d=function(){return e},e}var u=(0,o.Z)(d(),s.i,c.l,a.M),m=t(18751),v=t(31099),h=t(6489),f=t(64225),x=t(93967),p=t.n(x),g=t(45697),b=t.n(g),y=t(20082),j=t(4243);function N(e){var n=e.note,t=e.themeColor;return(0,l.jsx)("div",{className:"max-w-screen-lg mx-auto my-fluid-sm px-fluid-base",children:(0,l.jsxs)("div",{className:p()((0,j.b)(t).headerText,"bg-thd-color-blue-20 thd-body-sm mb-lg mx-auto px-lg py-lg rounded-md w-content flex"),children:[(0,l.jsx)(f.JO$,{className:p()((0,j.b)(t).icon,"mr-em block"),color:(0,j.b)(t).icon,icon:(0,l.jsx)(h.L,{}),size:"2em"}),(0,l.jsx)(y.J,{content:n})]})})}N.propTypes={note:b().oneOfType([b().object,b().array])};var w=t(72253),T=t(14932),P=t(82333),L=t(51695),C=t(81986),_=t(21855),U=t(40175),k=t.n(U);function A(e){var n=e.image,t=e.header,i=e.list;return(0,l.jsx)("section",{className:"lg:px-fluid-base lg:mb-fluid-md",children:(0,l.jsxs)("div",{className:p()((0,j.b)("blue-90").bg,"grid md:grid-cols-2 gap-4xl max-w-screen-3xl md:mx-auto lg:thd-rounded-ext md:items-center px-fluid-base py-fluid-md lg:p-fluid-lg"),children:[(0,l.jsx)(C.d,(0,T._)((0,w._)({},n),{className:"thd-rounded-int w-full",image:n,layout:"responsive"})),(0,l.jsxs)("div",{children:[(0,l.jsx)(P.B,{eStyle:"small",bFont:"lg",gap:"mb-md",hAppend:(0,l.jsx)("span",{className:"absolute -mt-[.025em] ml-[.125em]",children:(0,l.jsx)(f.TRl,{brand:"ai",variant:"symbol",maxWidth:".5em",symbolColor:"var(--thd-color-white)"})}),hFont:"xl",header:t.header,nested:!0,themeColor:"blue-90",vAlign:"center"}),i&&(0,l.jsx)("ul",{className:"mt-xl grid xl:grid-flow-col xl:grid-rows-3 gap-x-fluid-sm gap-y-lg",children:i.map(function(e){return(0,l.jsxs)("li",{className:"flex items-center mb-xs",children:[(0,l.jsx)("span",{className:"text-thd-color-white",children:(0,l.jsx)(f.JO$,{icon:(0,l.jsx)(_.U,{}),className:p()(k().iconWithAccent,"inline-block mr-md")})}),(0,l.jsx)("p",{className:"thd-body-md text-thd-color-white",children:null==e?void 0:e.heading}),(null==e?void 0:e.chip)&&(0,l.jsx)("span",{className:"thd-overline text-thd-color-white ml-sm",children:null==e?void 0:e.chip})]},e._key)})}),(0,l.jsx)(L.h,{className:"mt-3xl",color:"primary-dark",cta:t.cta,themeColor:"blue-90"})]})]})})}var I=t(19482),F=t(67294),S=t(13168),M=function(e){var n=(0,S._B)(e,0);return{totalPrice:0,avgPerUnitPrice:0,avgPerUnitPriceWithDiscount:0,formattedTotalPrice:n,formattedAvgPerUnitPrice:n,formattedAvgPerUnitPriceWithDiscount:n,formattedTotalPriceWithDiscount:n,hasFlatRateFirstTier:!0,breakdown:[{unitsInTier:0,unitsAvailableInTier:0,unitLimitLower:0,unitLimitUpper:0,totalPriceForTier:0,avgPerUnitPriceForTier:0}],formattedBreakdown:[{formattedUnitsInTier:"0",formattedUnitsAvailableInTier:"0",formattedUnitLimitLower:"0",formattedUnitLimitUpper:"0",formattedTotalPriceForTier:n,formattedAvgPerUnitPriceForTier:n}]}},E=t(63814),O=function(e,n){var t=(0,i._)(["MONTH","YEAR"].map(function(t){return e.find(function(e){return e.primaryCycle_interval===t&&"COMMERCIAL"===e.type&&"DEFAULT_PRICING"===e.activatedWithReason&&e.currency===n})}),2),l=t[0],r=t[1],o=(0,i._)([l,r].map(function(e){if(e){var n,t=e.items[0],i=t.tiers,l=t.chargeElement;return n=e.currency,i.map(function(e){var t,i=E.YN.MARGINAL_PER_UNIT,r=e.unitAmount;return e.flatAmount&&(i=E.YN.FIXED_COST,r=e.flatAmount),{starter:!1,pricingStrategy:i,unitDescription:l,unitLimitLower:e.floor,unitLimitUpper:e.ceiling,prices:[{currency:n,unitPrice:(t=r,"USD"===n&&t?t/100:t)}]}})}}),2);return{monthly:o[0],annual:o[1]}},R=function(e,n,t,i){if(i){var l,r,o=e[i];if(!(l=null==o?void 0:o.defaultPricingPlans))return;var a=O(l,t);if("MONTHLY"===n&&a.monthly)r=a.monthly.slice();else{if("ANNUAL"!==n||!a.annual)return;r=a.annual.slice()}}else{if(void 0===l)return;if("MONTHLY"===n&&l.monthly)r=l.monthly.slice();else{if("ANNUAL"!==n||!l.annual)return;r=l.annual.slice()}}return r},D=function(e,n){var t;return(null===(t=n.find(function(n){return n.currency===e}))||void 0===t?void 0:t.unitPrice)||0};function Y(e,n,t,i){var l=t[n];if(!l)throw Error("Matching price tier not found for ".concat(e,"."));var r=l.prices,o=l.unitLimitLower,a=l.unitLimitUpper,s=D(i,r.slice());return{totalPrice:s,avgPerUnitPrice:s/e,hasFlatRateFirstTier:!0,breakdown:[{unitsInTier:e,unitsAvailableInTier:(a||0)-e,unitLimitLower:o||1,unitLimitUpper:a||0,totalPriceForTier:s,avgPerUnitPriceForTier:s/e}]}}var B=function(e,n){return n*(1-e)};function W(e,n,t,i){var l=0,r=0,o=[],a=function(e){return D(i,e)};-1===n&&(n=t.length-1);var s=0,c=!0,d=!1,u=void 0;try{for(var m,v,h=t[Symbol.iterator]();!(c=(v=h.next()).done);c=!0){var f=v.value,x=f.unitLimitLower,p=f.unitLimitUpper,g=Math.max((x||0)-1,0),b=p||1e6,y=s===n?e-g:b-g;if(f.pricingStrategy===E.YN.FIXED_COST)r=a(f.prices.slice());else{var j=t[Math.min(s,t.length-1)];r=a(j.prices.slice())}var N=f.pricingStrategy===E.YN.FIXED_COST?r:y*r;if(l+=N,o.push({unitsInTier:y,unitsAvailableInTier:b-y,unitLimitLower:g||1,unitLimitUpper:b,totalPriceForTier:N,avgPerUnitPriceForTier:r}),++s>n)break}}catch(e){d=!0,u=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw u}}var w=l/e;return{totalPrice:l,avgPerUnitPrice:w,hasFlatRateFirstTier:(null===(m=t[0])||void 0===m?void 0:m.pricingStrategy)===E.YN.FIXED_COST,breakdown:o}}var H=function(e,n){return n.findIndex(function(n){var t=n.unitLimitLower,i=n.unitLimitUpper;return e>=(t||0)&&e<=(i||Infinity)})},z=function(e,n,t,i,l){return(0,F.useMemo)(function(){var e=function(e,n){var r=0;return[e===E.NL.FREE,e===E.NL.ENTERPRISE&&"MONTHLY"===l,e===E.NL.ENTERPRISE&&in].includes(!0)||(r=i),Math.min(r,n)};return null==n?void 0:n.map(function(n){return{ccpOfferingSKU:n.offeringSku,numUnits:e(n.planName,E.cx.UNIT_LIMIT),period:l}})},[n,l,i,t])},q=function(e,n,t,i){var l=[],r=!0,o=!1,a=void 0;try{for(var s,c=n[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var d=s.value,u=d.ccpOfferingSKU,m=d.numUnits,v=d.period;if(0===m)l.push(M(t));else{var h=R(e,v,t,u);h?l.push(function(e,n,t,i){var l,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US";if(!Number.isInteger(e)||e<1)throw Error("Number of units must be a positive non-zero integer, got ".concat(e,"."));if(!n||0===n.length)throw Error("Price tiers must not be null, undefined or an empty array, got ".concat(n,"."));n.sort(function(e,n){var t,i;return(null!==(t=e.unitLimitLower)&&void 0!==t?t:0)-(null!==(i=n.unitLimitLower)&&void 0!==i?i:0)});var o=H(e,n),a=n[o],s=n[n.length-1],c=e;if(void 0!==a){var d=a.pricingStrategy;l="MONTHLY"===i||d===E.YN.MARGINAL_PER_UNIT?W:Y}else s&&s.pricingStrategy===E.YN.MARGINAL_PER_UNIT?l=W:(o=H(c=(null==s?void 0:s.unitLimitUpper)||0,n),l=Y);var u=function(e){return(0,S.Px)(r,e)},m=function(e){return(0,S._B)(t,e)},v=l(c,o,n,t),h=v.totalPrice,f=v.avgPerUnitPrice,x=v.hasFlatRateFirstTier,p=v.breakdown,g=B(.75,f),b=B(.75,h);return{totalPrice:h,avgPerUnitPriceWithDiscount:g,formattedTotalPrice:m(h),formattedAvgPerUnitPriceWithDiscount:m(g),formattedTotalPriceWithDiscount:m(b),avgPerUnitPrice:f,formattedAvgPerUnitPrice:m(f),breakdown:p,hasFlatRateFirstTier:x,formattedBreakdown:p.map(function(e){var n=e.unitsInTier,i=e.unitLimitLower,l=e.unitLimitUpper,r=e.unitsAvailableInTier,o=e.totalPriceForTier,a=e.avgPerUnitPriceForTier;return{formattedUnitsInTier:u(n),formattedUnitsAvailableInTier:u(r),formattedUnitLimitLower:u(i),formattedUnitLimitUpper:u(l),formattedTotalPriceForTier:(0,S.yy)(t,o),formattedAvgPerUnitPriceForTier:(0,S.yy)(t,a)}})}}(m,h,t,v,i)):l.push(M(t))}}}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return l},G=(0,F.createContext)(void 0),J=function(){var e=(0,F.useContext)(G);if(!e)throw Error("usePriceFinderContext must be used within a PriceFinderContextProvider");return e},K=function(e){var n=J(),t=n.productPlans,i=n.defaultUnitCount,l=n.enterpriseMinimumCount,r=q(e,z("loom",t,void 0===l?E.cx.UNIT_MIN_ENTERPRISE:l,i,"MONTHLY"),E.QT,"en-US");return{unitCount:i,billingCycle:"MONTHLY",priceCalcs:r,currencyISOCode:E.QT,showCalculator:!0,prices:e}},V=function(e){return(0,l.jsx)(G.Provider,{value:e,children:e.children})},X=t(64840),Z=t(74711),$=function(){var e=J(),n=e.productPlans,t=e.enterpriseMinimumCount,r=void 0===t?E.cx.UNIT_MIN_ENTERPRISE:t,o=(0,i._)((0,X.O)(),2),a=o[0],s=a.unitCount,c=a.billingCycle,d=a.currencyISOCode,u=a.showCalculator,m=a.prices,v=o[1],h=q(m,z("loom",n,r,s,c),d,"en-US");(0,F.useEffect)(function(){v.updatePriceCalcs(h)},[s,c,d]);var f=!u||0===Object.keys(m).length;return(0,l.jsx)("div",{className:"gap-lg mx-auto flex flex-col lg:flex-row justify-center max-w-screen-3xl","data-testid":"pricing-cards",children:null==n?void 0:n.map(function(e,n){var t,i,r,o,a,s="ANNUAL"===c,d=null===(t=e.card)||void 0===t?void 0:t.plan.priceSection,u=(0,T._)((0,w._)({},null===(i=e.card)||void 0===i?void 0:i.plan),{formattedTotalPrice:s?null===(r=h[n])||void 0===r?void 0:r.formattedTotalPrice:null===(o=h[n])||void 0===o?void 0:o.formattedAvgPerUnitPrice,billingCycle:c,formattedBreakdown:null===(a=h[n])||void 0===a?void 0:a.formattedBreakdown,priceSection:d,useFallbackPrice:f});return(0,l.jsx)(Z.H,{layered:!!(n%2),plan:u,testId:"pricing-card",type:"pricing",themeColor:"grey-light"},n)})})},Q=function(){var e=(0,i._)((0,X.O)(),2),n=e[0],t=n.unitCount,r=n.billingCycle,o=n.showCalculator,a=n.prices,s=e[1],c=J(),d=c.isMonthlyBillingOnly,u=c.isAnnualBillingOnly,m=(0,i._)((0,F.useState)(t),2),v=m[0],h=m[1];(0,F.useEffect)(function(){""!==v&&v>0&&!Number.isNaN(v)&&s.updateUnitCount(v)},[v,s]);var x=function(e){s.updateBillingCycle(e.target.id)};return o&&0!==Object.keys(a).length?(0,l.jsx)("div",{className:"m-auto max-w-3xl mb-fixed-lg","data-testid":"pricing-calculator",children:(0,l.jsxs)("div",{className:"flex md:justify-center flex-wrap w-full",children:[(0,l.jsxs)("div",{className:"flex items-center w-full md:w-1/2 md:justify-center mb-fixed-md md:mb-0",children:[(0,l.jsx)("label",{htmlFor:"USERS",className:"font-bold mr-12",children:"Team size:"}),(0,l.jsx)(f.WiK,{label:"users",direction:"row",labelFor:"USERS",children:(0,l.jsx)(f.oil,(0,w._)({type:"number",id:"USERS",value:v,onChange:function(e){var n=e.target.value;if(""===n)return h("");if(!(n.length>6)){var t=parseInt(n,10);t<1||h(t)}},onBlur:function(){""===v&&h(t)},max:E.Zk},{}))})]}),!d&&!u&&(0,l.jsxs)("fieldset",{className:"flex items-center flex-wrap border-none w-full md:w-1/2 md:justify-center",children:[(0,l.jsx)("p",{className:"font-bold mr-12 inline",children:"Bill me:"}),(0,l.jsxs)(f.ggW,{gap:"small",children:[(0,l.jsx)(f.WiK,{label:"Monthly",direction:"row",labelFor:"MONTHLY",children:(0,l.jsx)(f.Y8K,(0,w._)({id:"MONTHLY",name:"billing",onChange:x,isChecked:"MONTHLY"===r},{}))}),(0,l.jsx)(f.WiK,{label:"Annually",direction:"row",labelFor:"ANNUAL",children:(0,l.jsx)(f.Y8K,(0,w._)({id:"ANNUAL",name:"billing",onChange:x,isChecked:"ANNUAL"===r},{}))}),(0,l.jsx)(f.DRh,{color:"grey8",backgroundColor:"var(--thd-color-blue-20)",children:"SAVE UP TO 17%"})]})]})]})}):null},ee=function(e){var n=K(e.prices);return(0,l.jsxs)(X.a,(0,T._)((0,w._)({},n),{children:[(0,l.jsx)(Q,{}),(0,l.jsx)($,{})]}))};function en(e){var n=e.heading,t=e.cards,i=e.prices,r=E.yN.map(function(e,n){return(0,T._)((0,w._)({},e),{card:t[n],price:i[e.offeringSku]})});return(0,l.jsxs)("section",{className:"pt-fluid-lg mb-fluid-sm px-fluid-base",children:[n&&(0,l.jsx)(P.B,{hAlign:"center-end",hFont:"lg",hLevel:"h1",header:n,vAlign:"center"}),(0,l.jsx)(F.Suspense,{children:(0,l.jsx)(V,{dataProductKey:"loom",productPlans:r,defaultUnitCount:100,children:(0,l.jsx)(ee,{prices:i})})})]})}var et=t(70131),ei=t(27079),el=t(96486),er=t.n(el);function eo(e){var n=e.headers,t=e.inView;return(0,l.jsx)("thead",{className:"thd-sticky thd-sticky-bar w-full transition ease-in-out duration-100",style:{"--shadow":t?"none":"var(--thd-gradient-nav)"},children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{scope:"col",className:"bg-thd-color-blue-10"}),null==n?void 0:n.map(function(e,n){var t,i,r,o,a,s,c,d,u,m,v,h,x;return(0,l.jsx)("th",{id:"features-col-".concat(er().kebabCase(null==e?void 0:null===(r=e.plan)||void 0===r?void 0:null===(i=r.header)||void 0===i?void 0:null===(t=i.eyebrow)||void 0===t?void 0:t.toLowerCase())),scope:"col",className:"bg-thd-color-blue-10",children:(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between p-md items-center w-full",children:[(null==e?void 0:null===(a=e.plan)||void 0===a?void 0:null===(o=a.header)||void 0===o?void 0:o.eyebrow)&&(0,l.jsxs)("p",{className:"thd-body-md font-bold ".concat((null==e?void 0:null===(c=e.plan)||void 0===c?void 0:null===(s=c.header)||void 0===s?void 0:s.eyebrow.includes("AI"))&&"xl:pr-[1em]"),children:[e.plan.header.eyebrow,(null==e?void 0:null===(u=e.plan)||void 0===u?void 0:null===(d=u.header)||void 0===d?void 0:d.eyebrow.includes("AI"))&&(0,l.jsx)("span",{className:"absolute ml-[.1em]",children:(0,l.jsx)(f.TRl,{brand:"ai",variant:"symbol",maxWidth:".65em",symbolColor:"var(--thd-color-black)"})})]}),(null==e?void 0:null===(v=e.plan)||void 0===v?void 0:null===(m=v.cta)||void 0===m?void 0:m.copy)&&(0,l.jsx)(L.h,{buttonType:"secondary",color:"primary-dark",cta:null==e?void 0:null===(h=e.plan)||void 0===h?void 0:h.cta,onClick:(null==e?void 0:null===(x=e.plan.cta)||void 0===x?void 0:x.trackEventName)?function(){var n,t,i;(0,ei._)("ui",{action:"click",actionSubject:null==e?void 0:null===(n=e.plan.cta)||void 0===n?void 0:n.trackEventName,attributes:{eventSource:"Pricing Sticky Nav: ".concat(null==e?void 0:null===(i=e.plan)||void 0===i?void 0:null===(t=i.header)||void 0===t?void 0:t.eyebrow)}})}:null,size:"sm",children:e.plan.cta.copy})]})},n)})]})})}var ea=t(91978),es=t(25935),ec=t(20276),ed=t.n(ec),eu=t(3573),em=t(78578);function ev(e){var n=e.tableData,t=n.table,r=n.section,o=n.sectionHeadingChip,a=Object.entries(ed()(t.rows.slice(1),function(e){return e.cells[0]})).map(function(e){var n=(0,i._)(e,2),t=n[0],l=n[1];return{title:t,id:"features-colgroup-".concat((0,em.l)(t)),key:(0,em.l)(t),rowLength:l.length,rows:l.map(function(e){return{title:e.cells[0],tooltip:e.cells[5],new:e.cells[6],cells:[{content:e.cells[1],columnId:"features-col-starter",isFlag:"y"===e.cells[1],tooltip:e.cells[7]},{content:e.cells[2],columnId:"features-col-business",isFlag:"y"===e.cells[2],tooltip:e.cells[8]},{content:e.cells[3],columnId:"features-col-business-ai",isFlag:"y"===e.cells[3],tooltip:e.cells[9]},{content:e.cells[4],columnId:"features-col-enterprise",isFlag:"y"===e.cells[4],tooltip:e.cells[10]}]}})}});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("tr",{children:(0,l.jsx)("th",{className:"text-left thd-body-md text-thd-color-black font-bold",colSpan:5,id:r,scope:"section",children:(0,l.jsxs)("div",{className:"flex gap-x-12",children:[o?(0,l.jsx)(f.DRh,{color:"grey8",className:"bg-thd-color-blue-20",children:o}):null,r]})})}),null==a?void 0:a.map(function(e,n){var t;return(0,l.jsx)("tr",{children:null==e?void 0:null===(t=e.rows)||void 0===t?void 0:t.map(function(n,t){return(0,l.jsxs)(F.Fragment,{children:[(0,l.jsx)("th",{className:"font-normal text-left text-thd-color-black",children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)("span",{children:[null==e?void 0:e.title,(null==n?void 0:n.new)&&(0,l.jsx)("span",{className:"thd-overline text-thd-color-blue-70 ml-sm",children:(null==n?void 0:n.new)==="y"?"New":null==n?void 0:n.new})]}),(null==n?void 0:n.tooltip)&&(0,l.jsx)(eu.M,{color:"primary",label:null==e?void 0:e.title,position:"inline-flex",tooltip:null==n?void 0:n.tooltip})]})}),n.cells.map(function(e,n){return(0,l.jsx)("td",{className:"text-center text-thd-color-black",children:e.content&&(0,l.jsxs)("div",{children:[(null==e?void 0:e.content)&&(null==e?void 0:e.isFlag)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"sr-only",children:"Included"}),(0,l.jsx)("div",{className:"text-thd-color-blue-70",children:(0,l.jsx)(f.JO$,{size:"1em",color:"primary",className:"iconWithAccent w-[1em] mx-auto",icon:(0,l.jsx)(ea.l,{})})})]}),(null==e?void 0:e.content)&&!(null==e?void 0:e.isFlag)&&(0,l.jsx)(l.Fragment,{children:(0,es.ZP)(e.content)}),(null==e?void 0:e.tooltip)&&(0,l.jsx)(eu.M,{label:(0,es.ZP)(e.content),position:"inline-flex",tooltip:e.tooltip})]})},n)})]},t)})},n)})]})}var eh=t(70581),ef=t.n(eh);function ex(e){var n=e.headers,t=e.table,r=(0,i._)((0,et.YD)({rootMargin:"-120px 0px 0px 0px"}),2),o=r[0],a=r[1];return(0,l.jsx)("section",{className:"thd-offset mb-fluid-lg hidden lg:block",id:"compare-plans",children:(0,l.jsxs)("div",{className:"px-fluid-base 3xl:px-0",children:[(0,l.jsx)("div",{className:"w-full",ref:o}),(0,l.jsxs)("table",{className:p()(ef().table,"mx-auto w-full max-w-screen-3xl table-fixed"),children:[(0,l.jsx)(eo,{headers:n,inView:a}),(0,l.jsx)("tbody",{children:null==t?void 0:t.map(function(e,n){return(0,l.jsx)(ev,{tableData:e},n)})})]})]})})}var ep=t(12441),eg=t(73794);function eb(e){var n,t=e.data;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(en,{cards:null==t?void 0:t.planCards,prices:null==t?void 0:t.prices,heading:null==t?void 0:t.heroHeader}),(null==t?void 0:t.showAiModule)&&(0,l.jsx)(A,{header:null==t?void 0:t.aiHeader,list:null==t?void 0:t.aiFeatures,image:null==t?void 0:t.aiImage}),(null==t?void 0:t.pricingTables)&&(0,l.jsx)(ex,{headers:null==t?void 0:t.planCards,table:null==t?void 0:t.pricingTables}),(null==t?void 0:t.educationNote)&&(0,l.jsx)(N,{note:null==t?void 0:t.educationNote,themeColor:"primary-light"}),(0,l.jsx)(I.v,{faqs:null==t?void 0:t.faqs,header:null==t?void 0:t.faqHeading}),(null==t?void 0:t.socialProofModule)&&(0,l.jsx)(ep.t,{data:null==t?void 0:t.socialProofModule,lineLength:"xl"}),(null==t?void 0:null===(n=t.endOfPageModule)||void 0===n?void 0:n.cta)&&(0,l.jsx)(eg.H,{cta:t.endOfPageModule.cta,hClassName:"thd-max-lg",heading:t.endOfPageModule.heading})]})}var ey=t(74356),ej=!0;function eN(e){var n=e.initialData,t=e.navData,r=e.accountNavData,o=e.footerNavData,a=e.draftMode,s=(0,i._)((0,ey.yR)(n,u),1)[0];return(0,l.jsxs)(v.A,{accountNavData:r,footerNavData:o,name:"Pricing",navData:t,preview:a,children:[(0,l.jsx)(m.w,{data:null==s?void 0:s.meta,url:"https://mulligan.indiedemos.com/pricing"}),(0,l.jsx)(eb,{data:s})]})}},70581:function(e){e.exports={table:"PricingSection_table__1bU95",tableBodyVariant:"PricingSection_tableBodyVariant__YnYyC"}}},function(e){e.O(0,[4067,4582,9236,6189,7717,944,2803,1099,467,505,9984,4711,2888,9774,179],function(){return e(e.s=2691)}),_N_E=e.O()}]);