@stigg/embed-sdk 6.7.0 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/embed-sdk.js CHANGED
@@ -4859,7 +4859,7 @@ ${t.o5f}`,t.zBW=r.default`
4859
4859
  display: flex;
4860
4860
  flex-direction: column;
4861
4861
  align-items: center;
4862
- `,Wi=({plans:e,customer:t,currentSubscription:n,highlightedPlanId:r,selectedBillingPeriod:a,onBillingPeriodChanged:o,availableBillingPeriods:s,isCustomerOnTrial:l,onPlanSelected:u,paywallLocale:c,locale:d,shouldHidePlan:p,selectDefaultTierIndex:f,currentSubscriptionOverride:m,hideCompatibleAddons:g,showWatermark:y})=>{let v=Fi(e),b=e.some(e=>!!e.description),_=Hi(e,bn.Monthly),x=Hi(e,bn.Annually),S=function(e,t,n){return e.filter(e=>e.pricingType!==En.Paid||Ui(e,t)).filter(e=>!n||!n({plan:e}))}(e,a,p),w=Object(i.useCallback)((e,r,i)=>u({plan:e,customer:t,subscription:n,intentionType:r,selectedBillingPeriod:a,billableFeatures:i}),[t,a,n,u]),M=!!n&&n.plan.pricingType===En.Custom,E=Object(i.useMemo)(()=>S.some(e=>{var t;let n=e.pricePoints.filter(e=>e.billingPeriod===a),r=null==(t=e.paywallCalculatedPricePoints)?void 0:t.find(e=>e.billingPeriod===a);return n.length>1&&!(null==r||!r.additionalChargesMayApply)}),[a,S]),k=Object(i.useMemo)(()=>S.some(e=>!!$r(e,a,c,d,_).unit),[a,_,d,c,S]),C=Object(i.useMemo)(()=>!M&&S.some(e=>{let t=jr({plan:e,billingPeriod:a,currentSubscription:n,currentSubscriptionOverride:m});return Object.values(t).length>0}),[a,n,m,M,S]),D=S.some(e=>e.isCurrentCustomerPlan&&e.trialDaysLeft);return Object(h.jsx)(Vi,{className:"stigg-paywall-container",children:Object(h.jsxs)($i,{className:"stigg-paywall-layout",children:[Object(h.jsx)(ji,{onBillingPeriodChanged:o,selectedBillingPeriod:a,availableBillingPeriods:s,discountRate:v}),Object(h.jsx)(zi,{className:"stigg-paywall-plans-layout",children:S.map(e=>Object(h.jsx)(Oi,{withUnitPriceRow:k,withTiersRow:C,withTrialLeftRow:D,shouldShowDescriptionSection:b,hasMonthlyPrice:_,hasAnnuallyPrice:x,plan:e,withStartingAtRow:E,currentSubscription:n,currentSubscriptionOverride:m,billingPeriod:a,isHighlighted:e.id===r,isCustomerOnTrial:l,onPlanSelected:(t,n)=>w(e,t,n),paywallLocale:c,locale:d,customer:t,isCustomerInCustomPlan:M,selectDefaultTierIndex:f,hideCompatibleAddons:g},e.id))}),Object(h.jsx)(Bi,{source:"paywall",align:"end",style:{marginTop:16},showWatermark:y})]})})},Gi=new class{error(e,t,...n){console.error(e,t||{},n)}log(e,t){console.log(e,t||{})}debug(e,t){console.debug(e,t||{})}};function qi(e,t="px"){if(e)return`${e}${t}`}function Ki(e){if(!e)return"normal";switch(e){case wn.Normal:return"normal";case wn.Bold:return"bold";default:return"normal"}}function Qi(e,t){var n,r,i,a,o,s,l,u;let c=t||{h1:{fontSize:"32px",fontWeight:"bold",semanticElement:"h1"},h2:{fontSize:"24px",fontWeight:"normal",semanticElement:"h2"},h3:{fontSize:"16px",fontWeight:"normal",semanticElement:"h3"},body:{fontSize:"14px",fontWeight:"normal",semanticElement:"p"}};return{fontFamilyUrl:(null==e?void 0:e.fontFamily)||void 0,h1:{fontSize:qi(null==(n=null==e?void 0:e.h1)?void 0:n.fontSize)||c.h1.fontSize,fontWeight:Ki(null==(r=null==e?void 0:e.h1)?void 0:r.fontWeight)||c.h1.fontWeight,semanticElement:c.h1.semanticElement},h2:{fontSize:qi(null==(i=null==e?void 0:e.h2)?void 0:i.fontSize)||c.h2.fontSize,fontWeight:Ki(null==(a=null==e?void 0:e.h2)?void 0:a.fontWeight)||c.h2.fontWeight,semanticElement:c.h2.semanticElement},h3:{fontSize:qi(null==(o=null==e?void 0:e.h3)?void 0:o.fontSize)||c.h3.fontSize,fontWeight:Ki(null==(s=null==e?void 0:e.h3)?void 0:s.fontWeight)||c.h3.fontWeight,semanticElement:c.h3.semanticElement},body:{fontSize:qi(null==(l=null==e?void 0:e.body)?void 0:l.fontSize)||c.body.fontSize,fontWeight:Ki(null==(u=null==e?void 0:e.body)?void 0:u.fontWeight)||c.body.fontWeight,semanticElement:c.body.semanticElement}}}function Xi(e){if(e)switch(e){case yn.Left:return"left";case yn.Center:return"center";case yn.Right:return"right";default:return}}function Ji(e){let t=!0,n=(null==e?void 0:e.find(e=>e.status===Cn.InTrial))||null,r=null==n?void 0:n.plan,i=null!=n&&n.trialEndDate?function(e){return x.a.utc(e).diff(x.a.utc(),"days",!1)+1}(n.trialEndDate):void 0;return r||(t=!1,n=(null==e?void 0:e.find(e=>e.status===Cn.Active))||null,r=null==n?void 0:n.plan),{currentSubscription:n,currentPlan:r,isCustomerOnTrial:t,trialDaysLeft:i}}function Zi(e,t,n){var r,i;let{plans:a,currency:o,configuration:s,customer:l,activeSubscriptions:u,paywallCalculatedPricePoints:c}=e||{},{currentSubscription:d,currentPlan:h,isCustomerOnTrial:p,trialDaysLeft:f}=Ji(u),m=null==n?void 0:n({currentSubscription:d}),g=(null==d?void 0:d.scheduledUpdates)||[],y=null==(r=null==d?void 0:d.price)?void 0:r.billingPeriod,v=g.find(({subscriptionScheduleType:e})=>e===kn.Downgrade),b=g.find(({subscriptionScheduleType:e})=>e===kn.BillingPeriod),_=W()(a,e=>e.order).map(e=>{var t;let n=null==(t=null==l?void 0:l.eligibleForTrial)?void 0:t.find(t=>t.productId===e.product.id),r=null!=m&&m.planId?(null==m?void 0:m.planId)===e.id:e.id===(null==h?void 0:h.id);return ve(ye({},e),{paywallCalculatedPricePoints:null==c?void 0:c.filter(t=>t.planId===e.id),isTriable:!w()(e.defaultTrialConfig)&&(!n||n.eligible),isCurrentCustomerPlan:r,currentCustomerPlanBillingPeriod:y,isUpcomingPlan:!1,trialDaysLeft:f,isNextPlan:t=>{var n;let i=null==v?void 0:v.scheduleVariables,a=null==b?void 0:b.scheduleVariables,o=e.pricePoints.some(e=>e.billingPeriod===t);return v?(null==(n=v.targetPackage)?void 0:n.refId)===e.id&&(!o||i.billingPeriod===t):!(!b||!r)&&a.billingPeriod===t},paywallCurrency:o,scheduledUpdate:v||b})});if(a&&h){let e=h&&(null==(i=null==a?void 0:a.find(e=>e.id===(null==h?void 0:h.id)))?void 0:i.order);w()(e)||(_=_.map(t=>ve(ye({},t),{isLowerThanCurrentPlan:e>t.order})),t&&(_=_.filter(t=>t.order>=e)))}let x=s?function(e){let{palette:t,layout:n,customCss:r,typography:i}=e;return{customCss:r||void 0,palette:{primary:(null==t?void 0:t.primary)||void 0,backgroundPaper:(null==t?void 0:t.backgroundColor)||void 0,outlinedBorder:(null==t?void 0:t.borderColor)||void 0,backgroundHighlight:(null==t?void 0:t.currentPlanBackground)||void 0,text:{primary:(null==t?void 0:t.textColor)||void 0}},typography:Qi(i),layout:{ctaAlignment:Xi(null==n?void 0:n.alignment),headerAlignment:Xi(null==n?void 0:n.alignment),descriptionAlignment:Xi(null==n?void 0:n.alignment),planMaxWidth:qi(null==n?void 0:n.planWidth),planMinWidth:qi(null==n?void 0:n.planWidth),planMargin:qi(null==n?void 0:n.planMargin),planPadding:qi(null==n?void 0:n.planPadding)}}}(s):void 0;return{currentPlan:h,currentSubscription:d,currentSubscriptionOverride:m,isCustomerOnTrial:p,plans:_,paywallConfiguration:x}}var ea=a.a.createContext(null);ea.displayName="StiggContext";var ta=({apiKey:e,baseUri:t,baseEdgeUri:n,enableEdge:r,customerId:a,customerToken:o,resourceId:s,theme:l,locale:u,cacheTtlMs:c,useEntitlementPolling:d,entitlementPollingInterval:p,entitlementsFallback:f,stiggClient:m,children:g,offline:y,clientName:v="@stigg/react-sdk",clientVersion:b="7.12.0"})=>{let _=Object(i.useRef)(e),x={apiKey:e,customerId:a,customerToken:o,resourceId:s,baseUri:t,baseEdgeUri:n,enableEdge:r,entitlementsFallback:f,cacheTtlMs:c,useEntitlementPolling:d,entitlementPollingInterval:p,clientName:v,clientVersion:b,offline:y},[S,w]=Object(i.useState)(()=>({stigg:null!=m?m:Tn.initialize(ve(ye({},x),{lazyLoad:!0})),locale:u||"en-US",isInitialized:!1,theme:l,refreshData:()=>Me(null,null,(function*(){w(e=>ve(ye({},e),{customerPortalUpdatedAt:new Date})),yield S.stigg.refresh()}))}));return Object(i.useEffect)(()=>{let t=!0,n=e=>{t&&w(e)},r=()=>n(e=>ve(ye({},e),{updatedAt:new Date}));return Me(null,null,(function*(){let t=S.stigg;e!==_.current&&(Gi.log("Updating stigg client",{apiKey:e}),_.current=e,t=Tn.initialize(ye({},x)),n(e=>ve(ye({},e),{isInitialized:!1,updatedAt:new Date}))),yield t.waitForInitialization(),(e=>{n(t=>(t.stigg&&t.stigg.removeListener("entitlementsUpdated",r),e.addListener("entitlementsUpdated",r),ve(ye({},t),{stigg:e,isInitialized:!0,updatedAt:new Date})))})(t)})),()=>{t=!1,S.stigg.removeListener("entitlementsUpdated",r),S.stigg.clearCustomer()}},[e]),Object(i.useEffect)(()=>{let e=S.stigg;a?e.setCustomerId(a,o,s):e.clearCustomer()},[a,o,s]),Object(i.useEffect)(()=>{w(e=>ve(ye({},e),{theme:l}))},[l]),Object(h.jsx)(ea.Provider,{value:S,children:Object(h.jsx)(P.a,{baseColor:"#F5F6F9",highlightColor:"#e5e6ea",children:g})})};function na(e){let{optional:t}=e||{},n=Object(i.useContext)(ea);if(!n&&!t)throw new Error("Could not find Stigg context; You need to wrap your app in an <StiggProvider> component.");return n}function ra({productId:e,resourceId:t,showOnlyEligiblePlans:n,billingCountryCode:r,preferredBillingPeriod:a,currentSubscriptionOverrideFn:o}){let{stigg:s,locale:l}=na(),[u,c]=Object(i.useState)(bn.Annually),[d,h]=Object(i.useState)([]),[f,m]=Object(i.useState)(null),[g,y]=Object(i.useState)(!0);Object(i.useEffect)(()=>{Me(null,null,(function*(){try{y(!0),yield s.waitForInitialization();let n=yield s.getPaywall({productId:e,resourceId:t,billingCountryCode:r}),{availableBillingPeriods:i,defaultBillingPeriod:o}=function(e,t,n){let r,i=e.flatMap(e=>e.pricePoints).map(e=>e.billingPeriod),a=Object(p.countBy)(i),o=Object(p.uniq)(i);if(n&&o.includes(n))r=n;else if(t){let e=t.find(e=>e.status===Cn.Active);e&&e.prices.length>0&&(r=null==e?void 0:e.prices[0].billingPeriod)}return r||(r=(a[bn.Monthly]||0)>(a[bn.Annually]||0)?bn.Monthly:bn.Annually),{defaultBillingPeriod:r,availableBillingPeriods:o}}(n.plans,n.activeSubscriptions,a);m(n),h(i),c(o)}catch(e){Gi.error("Failed to load paywall "+(null==e?void 0:e.message),e)}finally{y(!1)}}))},[s,e,s.isCustomerLoaded,r,t,a]);let v=Zi(f,n,o);return ye({customer:(null==f?void 0:f.customer)||null,isLoading:g,selectedBillingPeriod:u,setSelectedBillingPeriod:c,availableBillingPeriods:d,locale:l,configuration:v.paywallConfiguration,showWatermark:s.getShowWatermark()},v)}var ia=e=>Object(h.jsx)("svg",ve(ye({width:15,height:11,viewBox:"0 0 15 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:Object(h.jsx)("path",{d:"M5.59 7.9899L2.125 4.5249C1.73524 4.13514 1.10365 4.13402 0.712509 4.52241V4.52241C0.319409 4.91274 0.318286 5.54819 0.710005 5.9399L5.59 10.8199L14.2948 2.11513C14.6843 1.72565 14.6843 1.09417 14.2948 0.704691V0.704691C13.9055 0.315381 13.2743 0.315184 12.8848 0.70425L5.59 7.9899Z",fill:"#B2BBD3"})})),aa=In.div`
4862
+ `,Wi=({plans:e,customer:t,currentSubscription:n,highlightedPlanId:r,selectedBillingPeriod:a,onBillingPeriodChanged:o,availableBillingPeriods:s,isCustomerOnTrial:l,onPlanSelected:u,paywallLocale:c,locale:d,shouldHidePlan:p,selectDefaultTierIndex:f,currentSubscriptionOverride:m,hideCompatibleAddons:g,showWatermark:y})=>{let v=Fi(e),b=e.some(e=>!!e.description),_=Hi(e,bn.Monthly),x=Hi(e,bn.Annually),S=function(e,t,n){return e.filter(e=>e.pricingType!==En.Paid||Ui(e,t)).filter(e=>!n||!n({plan:e}))}(e,a,p),w=Object(i.useCallback)((e,r,i)=>u({plan:e,customer:t,subscription:n,intentionType:r,selectedBillingPeriod:a,billableFeatures:i}),[t,a,n,u]),M=!!n&&n.plan.pricingType===En.Custom,E=Object(i.useMemo)(()=>S.some(e=>{var t;let n=e.pricePoints.filter(e=>e.billingPeriod===a),r=null==(t=e.paywallCalculatedPricePoints)?void 0:t.find(e=>e.billingPeriod===a);return n.length>1&&!(null==r||!r.additionalChargesMayApply)}),[a,S]),k=Object(i.useMemo)(()=>S.some(e=>!!$r(e,a,c,d,_).unit),[a,_,d,c,S]),C=Object(i.useMemo)(()=>!M&&S.some(e=>{let t=jr({plan:e,billingPeriod:a,currentSubscription:n,currentSubscriptionOverride:m});return Object.values(t).length>0}),[a,n,m,M,S]),D=S.some(e=>e.isCurrentCustomerPlan&&e.trialDaysLeft);return Object(h.jsx)(Vi,{className:"stigg-paywall-container",children:Object(h.jsxs)($i,{className:"stigg-paywall-layout",children:[Object(h.jsx)(ji,{onBillingPeriodChanged:o,selectedBillingPeriod:a,availableBillingPeriods:s,discountRate:v}),Object(h.jsx)(zi,{className:"stigg-paywall-plans-layout",children:S.map(e=>Object(h.jsx)(Oi,{withUnitPriceRow:k,withTiersRow:C,withTrialLeftRow:D,shouldShowDescriptionSection:b,hasMonthlyPrice:_,hasAnnuallyPrice:x,plan:e,withStartingAtRow:E,currentSubscription:n,currentSubscriptionOverride:m,billingPeriod:a,isHighlighted:e.id===r,isCustomerOnTrial:l,onPlanSelected:(t,n)=>w(e,t,n),paywallLocale:c,locale:d,customer:t,isCustomerInCustomPlan:M,selectDefaultTierIndex:f,hideCompatibleAddons:g},e.id))}),Object(h.jsx)(Bi,{source:"paywall",align:"end",style:{marginTop:16},showWatermark:y})]})})},Gi=new class{error(e,t,...n){console.error(e,t||{},n)}log(e,t){console.log(e,t||{})}debug(e,t){console.debug(e,t||{})}};function qi(e,t="px"){if(e)return`${e}${t}`}function Ki(e){if(!e)return"normal";switch(e){case wn.Normal:return"normal";case wn.Bold:return"bold";default:return"normal"}}function Qi(e,t){var n,r,i,a,o,s,l,u;let c=t||{h1:{fontSize:"32px",fontWeight:"bold",semanticElement:"h1"},h2:{fontSize:"24px",fontWeight:"normal",semanticElement:"h2"},h3:{fontSize:"16px",fontWeight:"normal",semanticElement:"h3"},body:{fontSize:"14px",fontWeight:"normal",semanticElement:"p"}};return{fontFamilyUrl:(null==e?void 0:e.fontFamily)||void 0,h1:{fontSize:qi(null==(n=null==e?void 0:e.h1)?void 0:n.fontSize)||c.h1.fontSize,fontWeight:Ki(null==(r=null==e?void 0:e.h1)?void 0:r.fontWeight)||c.h1.fontWeight,semanticElement:c.h1.semanticElement},h2:{fontSize:qi(null==(i=null==e?void 0:e.h2)?void 0:i.fontSize)||c.h2.fontSize,fontWeight:Ki(null==(a=null==e?void 0:e.h2)?void 0:a.fontWeight)||c.h2.fontWeight,semanticElement:c.h2.semanticElement},h3:{fontSize:qi(null==(o=null==e?void 0:e.h3)?void 0:o.fontSize)||c.h3.fontSize,fontWeight:Ki(null==(s=null==e?void 0:e.h3)?void 0:s.fontWeight)||c.h3.fontWeight,semanticElement:c.h3.semanticElement},body:{fontSize:qi(null==(l=null==e?void 0:e.body)?void 0:l.fontSize)||c.body.fontSize,fontWeight:Ki(null==(u=null==e?void 0:e.body)?void 0:u.fontWeight)||c.body.fontWeight,semanticElement:c.body.semanticElement}}}function Xi(e){if(e)switch(e){case yn.Left:return"left";case yn.Center:return"center";case yn.Right:return"right";default:return}}function Ji(e){let t=!0,n=(null==e?void 0:e.find(e=>e.status===Cn.InTrial))||null,r=null==n?void 0:n.plan,i=null!=n&&n.trialEndDate?function(e){return x.a.utc(e).diff(x.a.utc(),"days",!1)+1}(n.trialEndDate):void 0;return r||(t=!1,n=(null==e?void 0:e.find(e=>e.status===Cn.Active))||null,r=null==n?void 0:n.plan),{currentSubscription:n,currentPlan:r,isCustomerOnTrial:t,trialDaysLeft:i}}function Zi(e,t,n){var r,i;let{plans:a,currency:o,configuration:s,customer:l,activeSubscriptions:u,paywallCalculatedPricePoints:c}=e||{},{currentSubscription:d,currentPlan:h,isCustomerOnTrial:p,trialDaysLeft:f}=Ji(u),m=null==n?void 0:n({currentSubscription:d}),g=(null==d?void 0:d.scheduledUpdates)||[],y=null==(r=null==d?void 0:d.price)?void 0:r.billingPeriod,v=g.find(({subscriptionScheduleType:e})=>e===kn.Downgrade),b=g.find(({subscriptionScheduleType:e})=>e===kn.BillingPeriod),_=W()(a,e=>e.order).map(e=>{var t;let n=null==(t=null==l?void 0:l.eligibleForTrial)?void 0:t.find(t=>t.productId===e.product.id),r=null!=m&&m.planId?(null==m?void 0:m.planId)===e.id:e.id===(null==h?void 0:h.id);return ve(ye({},e),{paywallCalculatedPricePoints:null==c?void 0:c.filter(t=>t.planId===e.id),isTriable:!w()(e.defaultTrialConfig)&&(!n||n.eligible),isCurrentCustomerPlan:r,currentCustomerPlanBillingPeriod:y,isUpcomingPlan:!1,trialDaysLeft:f,isNextPlan:t=>{var n;let i=null==v?void 0:v.scheduleVariables,a=null==b?void 0:b.scheduleVariables,o=e.pricePoints.some(e=>e.billingPeriod===t);return v?(null==(n=v.targetPackage)?void 0:n.refId)===e.id&&(!o||i.billingPeriod===t):!(!b||!r)&&a.billingPeriod===t},paywallCurrency:o,scheduledUpdate:v||b})});if(a&&h){let e=h&&(null==(i=null==a?void 0:a.find(e=>e.id===(null==h?void 0:h.id)))?void 0:i.order);w()(e)||(_=_.map(t=>ve(ye({},t),{isLowerThanCurrentPlan:e>t.order})),t&&(_=_.filter(t=>t.order>=e)))}let x=s?function(e){let{palette:t,layout:n,customCss:r,typography:i}=e;return{customCss:r||void 0,palette:{primary:(null==t?void 0:t.primary)||void 0,backgroundPaper:(null==t?void 0:t.backgroundColor)||void 0,outlinedBorder:(null==t?void 0:t.borderColor)||void 0,backgroundHighlight:(null==t?void 0:t.currentPlanBackground)||void 0,text:{primary:(null==t?void 0:t.textColor)||void 0}},typography:Qi(i),layout:{ctaAlignment:Xi(null==n?void 0:n.alignment),headerAlignment:Xi(null==n?void 0:n.alignment),descriptionAlignment:Xi(null==n?void 0:n.alignment),planMaxWidth:qi(null==n?void 0:n.planWidth),planMinWidth:qi(null==n?void 0:n.planWidth),planMargin:qi(null==n?void 0:n.planMargin),planPadding:qi(null==n?void 0:n.planPadding)}}}(s):void 0;return{currentPlan:h,currentSubscription:d,currentSubscriptionOverride:m,isCustomerOnTrial:p,plans:_,paywallConfiguration:x}}var ea=a.a.createContext(null);ea.displayName="StiggContext";var ta=({apiKey:e,baseUri:t,baseEdgeUri:n,enableEdge:r,customerId:a,customerToken:o,resourceId:s,theme:l,locale:u,cacheTtlMs:c,useEntitlementPolling:d,entitlementPollingInterval:p,entitlementsFallback:f,stiggClient:m,children:g,offline:y,clientName:v="@stigg/react-sdk",clientVersion:b="7.14.0"})=>{let _=Object(i.useRef)(e),x={apiKey:e,customerId:a,customerToken:o,resourceId:s,baseUri:t,baseEdgeUri:n,enableEdge:r,entitlementsFallback:f,cacheTtlMs:c,useEntitlementPolling:d,entitlementPollingInterval:p,clientName:v,clientVersion:b,offline:y},[S,w]=Object(i.useState)(()=>({stigg:null!=m?m:Tn.initialize(ve(ye({},x),{lazyLoad:!0})),locale:u||"en-US",isInitialized:!1,theme:l,refreshData:()=>Me(null,null,(function*(){w(e=>ve(ye({},e),{customerPortalUpdatedAt:new Date})),yield S.stigg.refresh()}))}));return Object(i.useEffect)(()=>{let t=!0,n=e=>{t&&w(e)},r=()=>n(e=>ve(ye({},e),{updatedAt:new Date}));return Me(null,null,(function*(){let t=S.stigg;e!==_.current&&(Gi.log("Updating stigg client",{apiKey:e}),_.current=e,t=Tn.initialize(ye({},x)),n(e=>ve(ye({},e),{isInitialized:!1,updatedAt:new Date}))),yield t.waitForInitialization(),(e=>{n(t=>(t.stigg&&t.stigg.removeListener("entitlementsUpdated",r),e.addListener("entitlementsUpdated",r),ve(ye({},t),{stigg:e,isInitialized:!0,updatedAt:new Date})))})(t)})),()=>{t=!1,S.stigg.removeListener("entitlementsUpdated",r),S.stigg.clearCustomer()}},[e]),Object(i.useEffect)(()=>{let e=S.stigg;a?e.setCustomerId(a,o,s):e.clearCustomer()},[a,o,s]),Object(i.useEffect)(()=>{w(e=>ve(ye({},e),{theme:l}))},[l]),Object(h.jsx)(ea.Provider,{value:S,children:Object(h.jsx)(P.a,{baseColor:"#F5F6F9",highlightColor:"#e5e6ea",children:g})})};function na(e){let{optional:t}=e||{},n=Object(i.useContext)(ea);if(!n&&!t)throw new Error("Could not find Stigg context; You need to wrap your app in an <StiggProvider> component.");return n}function ra({productId:e,resourceId:t,showOnlyEligiblePlans:n,billingCountryCode:r,preferredBillingPeriod:a,currentSubscriptionOverrideFn:o}){let{stigg:s,locale:l}=na(),[u,c]=Object(i.useState)(bn.Annually),[d,h]=Object(i.useState)([]),[f,m]=Object(i.useState)(null),[g,y]=Object(i.useState)(!0);Object(i.useEffect)(()=>{Me(null,null,(function*(){try{y(!0),yield s.waitForInitialization();let n=yield s.getPaywall({productId:e,resourceId:t,billingCountryCode:r}),{availableBillingPeriods:i,defaultBillingPeriod:o}=function(e,t,n){let r,i=e.flatMap(e=>e.pricePoints).map(e=>e.billingPeriod),a=Object(p.countBy)(i),o=Object(p.uniq)(i);if(n&&o.includes(n))r=n;else if(t){let e=t.find(e=>e.status===Cn.Active);e&&e.prices.length>0&&(r=null==e?void 0:e.prices[0].billingPeriod)}return r||(r=(a[bn.Monthly]||0)>(a[bn.Annually]||0)?bn.Monthly:bn.Annually),{defaultBillingPeriod:r,availableBillingPeriods:o}}(n.plans,n.activeSubscriptions,a);m(n),h(i),c(o)}catch(e){Gi.error("Failed to load paywall "+(null==e?void 0:e.message),e)}finally{y(!1)}}))},[s,e,s.isCustomerLoaded,r,t,a]);let v=Zi(f,n,o);return ye({customer:(null==f?void 0:f.customer)||null,isLoading:g,selectedBillingPeriod:u,setSelectedBillingPeriod:c,availableBillingPeriods:d,locale:l,configuration:v.paywallConfiguration,showWatermark:s.getShowWatermark()},v)}var ia=e=>Object(h.jsx)("svg",ve(ye({width:15,height:11,viewBox:"0 0 15 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:Object(h.jsx)("path",{d:"M5.59 7.9899L2.125 4.5249C1.73524 4.13514 1.10365 4.13402 0.712509 4.52241V4.52241C0.319409 4.91274 0.318286 5.54819 0.710005 5.9399L5.59 10.8199L14.2948 2.11513C14.6843 1.72565 14.6843 1.09417 14.2948 0.704691V0.704691C13.9055 0.315381 13.2743 0.315184 12.8848 0.70425L5.59 7.9899Z",fill:"#B2BBD3"})})),aa=In.div`
4863
4863
  display: flex;
4864
4864
  flex-direction: column;
4865
4865
  align-items: center;
@@ -5193,7 +5193,7 @@ ${t.o5f}`,t.zBW=r.default`
5193
5193
  `;we(hn()),we(hn());var Pa=a.a.createContext(null);Pa.displayName="CheckoutContext";In.div`
5194
5194
  margin: auto;
5195
5195
  min-height: 760px;
5196
- max-width: 920px;
5196
+ max-width: ${"920px"};
5197
5197
  display: flex;
5198
5198
  position: relative;
5199
5199
  flex-direction: column;
@@ -5209,8 +5209,8 @@ ${t.o5f}`,t.zBW=r.default`
5209
5209
  padding: 16px 16px;
5210
5210
  ${Ca.md} {
5211
5211
  padding: 32px;
5212
- width: calc(100% - 64px);
5213
5212
  border-radius: 10px;
5213
+ width: ${"920px"};
5214
5214
  }
5215
5215
  `,In(A.a)`
5216
5216
  display: flex;
@@ -5364,7 +5364,7 @@ ${t.o5f}`,t.zBW=r.default`
5364
5364
  gap: 0;
5365
5365
  flex-direction: row;
5366
5366
  justify-content: space-between;
5367
- min-height: 80px;
5367
+ min-height: 104px;
5368
5368
  align-items: flex-start;
5369
5369
  padding-top: 16px;
5370
5370
  padding-bottom: 16px;
@@ -5734,7 +5734,7 @@ ${t.o5f}`,t.zBW=r.default`
5734
5734
  display: flex;
5735
5735
  flex-direction: column;
5736
5736
  gap: 16px;
5737
- `}).call(this,n(192))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&e.push(o)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(345),i=n(514);e.exports=function(e,t){return r(i(e,t),1)}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(116),i=n(357)((function(e,t,n){r(e,n,t)}));e.exports=i},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=o(n(1)),u=n(608),c=(0,n(609).createAnimation)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");t.default=function(e){var t=e.loading,n=void 0===t||t,i=e.color,a=void 0===i?"#000000":i,o=e.speedMultiplier,d=void 0===o?1:o,h=e.cssOverride,p=void 0===h?{}:h,f=e.size,m=void 0===f?35:f,g=s(e,["loading","color","speedMultiplier","cssOverride","size"]),y=r({background:"transparent !important",width:(0,u.cssValue)(m),height:(0,u.cssValue)(m),borderRadius:"100%",border:"2px solid",borderTopColor:a,borderBottomColor:"transparent",borderLeftColor:a,borderRightColor:a,display:"inline-block",animation:"".concat(c," ").concat(.75/d,"s 0s infinite linear"),animationFillMode:"both"},p);return n?l.createElement("span",r({style:y},g)):null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(613);function i(e){const{theme:t,name:n,props:i}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Object(r.a)(t.components[n].defaultProps,i):i}},function(e){e.exports=JSON.parse('{"a":"@stigg/embed-sdk","b":"6.7.0"}')},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(137),o=n(182),s=n(629),l=n(79),u=n(379);var c=n(183);var d={black:"#000",white:"#fff"};var h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var f={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const b=["mode","contrastThreshold","tonalOffset"],_={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function S(e,t,n,r){const i=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(c.d)(e.main,i):"dark"===t&&(e.dark=Object(c.b)(e.main,a)))}function w(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=Object(i.a)(e,b),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),w=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),M=e.error||function(e="light"){return"dark"===e?{main:f[500],light:f[300],dark:f[700]}:{main:f[700],light:f[400],dark:f[800]}}(t),E=e.info||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),k=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),C=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function D(e){return Object(c.c)(e,x.text.primary)>=n?x.text.primary:_.text.primary}const O=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=Object(r.a)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Object(a.a)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Object(a.a)(12,t?` (${t})`:"",JSON.stringify(e.main)));return S(e,"light",i,s),S(e,"dark",o,s),e.contrastText||(e.contrastText=D(e.main)),e},T={dark:x,light:_};return Object(o.a)(Object(r.a)({common:Object(r.a)({},d),mode:t,primary:O({color:u,name:"primary"}),secondary:O({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:M,name:"error"}),warning:O({color:C,name:"warning"}),info:O({color:E,name:"info"}),success:O({color:k,name:"success"}),grey:h,contrastThreshold:n,getContrastText:D,augmentColor:O,tonalOffset:s},T[t]),l)}const M=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},k='"Roboto", "Helvetica", "Arial", sans-serif';function C(e,t){const n="function"==typeof t?t(e):t,{fontFamily:a=k,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:h=16,allVariants:p,pxToRem:f}=n,m=Object(i.a)(n,M);const g=s/14,y=f||(e=>e/h*g+"rem"),v=(e,t,n,i,o)=>{return Object(r.a)({fontFamily:a,fontWeight:e,fontSize:y(t),lineHeight:n},a===k?{letterSpacing:(s=i/t,Math.round(1e5*s)/1e5)+"em"}:{},o,p);var s},b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(u,48,1.167,0),h4:v(u,34,1.235,.25),h5:v(u,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(u,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(u,16,1.5,.15),body2:v(u,14,1.43,.15),button:v(c,14,1.75,.4,E),caption:v(u,12,1.66,.4),overline:v(u,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Object(o.a)(Object(r.a)({htmlFontSize:h,pxToRem:y,fontFamily:a,fontSize:s,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d},b),m,{clone:!1})}function D(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var O=["none",D(0,2,1,-1,0,1,1,0,0,1,3,0),D(0,3,1,-2,0,2,2,0,0,1,5,0),D(0,3,3,-2,0,3,4,0,0,1,8,0),D(0,2,4,-1,0,4,5,0,0,1,10,0),D(0,3,5,-1,0,5,8,0,0,1,14,0),D(0,3,5,-1,0,6,10,0,0,1,18,0),D(0,4,5,-2,0,7,10,1,0,2,16,1),D(0,5,5,-3,0,8,10,1,0,3,14,2),D(0,5,6,-3,0,9,12,1,0,3,16,2),D(0,6,6,-3,0,10,14,1,0,4,18,3),D(0,6,7,-4,0,11,15,1,0,4,20,3),D(0,7,8,-4,0,12,17,2,0,5,22,4),D(0,7,8,-4,0,13,19,2,0,5,24,4),D(0,7,9,-4,0,14,21,2,0,5,26,4),D(0,8,9,-5,0,15,22,2,0,6,28,5),D(0,8,10,-5,0,16,24,2,0,6,30,5),D(0,8,11,-5,0,17,26,2,0,6,32,5),D(0,9,11,-5,0,18,28,2,0,7,34,6),D(0,9,12,-6,0,19,29,2,0,7,36,6),D(0,10,13,-6,0,20,31,3,0,8,38,7),D(0,10,13,-6,0,21,33,3,0,8,40,7),D(0,10,14,-6,0,22,35,3,0,8,42,7),D(0,11,14,-7,0,23,36,3,0,9,44,8),D(0,11,15,-7,0,24,38,3,0,9,46,8)],T=n(131);var P={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const L=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function I(e={},...t){const{mixins:n={},palette:c={},transitions:d={},typography:h={}}=e,p=Object(i.a)(e,L);if(e.vars)throw new Error(Object(a.a)(18));const f=w(c),m=Object(s.a)(e);let g=Object(o.a)(m,{mixins:(y=m.breakpoints,v=n,Object(r.a)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},v)),palette:f,shadows:O.slice(),typography:C(f,h),transitions:Object(T.a)(d),zIndex:Object(r.a)({},P)});var y,v;return g=Object(o.a)(g,p),g=t.reduce((e,t)=>Object(o.a)(e,t),g),g.unstable_sxConfig=Object(r.a)({},l.a,null==p?void 0:p.unstable_sxConfig),g.unstable_sx=function(e){return Object(u.a)({sx:e,theme:this})},g}t.a=I},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(137);function i(e){if("string"!=typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(81);function i(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function a(e,t,n={clone:!0}){const o=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(r=>{"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?o[r]=a(e[r],t[r],n):n.clone?o[r]=i(t[r])?function e(t){if(!i(t))return t;const n={};return Object.keys(t).forEach(r=>{n[r]=e(t[r])}),n}(t[r]):t[r]:o[r]=t[r])}),o}},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return d}));var r=n(137);function i(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:i}}function o(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=r[1]+"%",r[2]=r[2]+"%"),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:""+r.join(", "),`${t}(${r})`}function s(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),l=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),o({type:u,values:c})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/"+t:e.values[3]=t,o(e)}function c(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(9),o=n.n(a);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,a=e.size,o=void 0===a?24:a,u=l(e,["color","size"]);return i.a.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),i.a.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),i.a.createElement("polyline",{points:"19 12 12 19 5 12"}))}));u.propTypes={color:o.a.string,size:o.a.oneOfType([o.a.string,o.a.number])},u.displayName="ArrowDown",t.a=u},function(e,t,n){"use strict";var r=n(6),i=n(2),a=n(1),o=n(5),s=n(386),l=n(22),u=n(7),c=n(10),d=n(3),h=n(109),p=n(85);function f(e){return Object(p.a)("MuiCircularProgress",e)}Object(h.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(0);const g=["className","color","disableShrink","size","style","thickness","value","variant"];let y,v,b,_,x=e=>e;const S=Object(l.c)(y||(y=x`
5737
+ `}).call(this,n(192))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&e.push(o)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(345),i=n(514);e.exports=function(e,t){return r(i(e,t),1)}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(116),i=n(357)((function(e,t,n){r(e,n,t)}));e.exports=i},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return a(t,e),t},s=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var l=o(n(1)),u=n(608),c=(0,n(609).createAnimation)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");t.default=function(e){var t=e.loading,n=void 0===t||t,i=e.color,a=void 0===i?"#000000":i,o=e.speedMultiplier,d=void 0===o?1:o,h=e.cssOverride,p=void 0===h?{}:h,f=e.size,m=void 0===f?35:f,g=s(e,["loading","color","speedMultiplier","cssOverride","size"]),y=r({background:"transparent !important",width:(0,u.cssValue)(m),height:(0,u.cssValue)(m),borderRadius:"100%",border:"2px solid",borderTopColor:a,borderBottomColor:"transparent",borderLeftColor:a,borderRightColor:a,display:"inline-block",animation:"".concat(c," ").concat(.75/d,"s 0s infinite linear"),animationFillMode:"both"},p);return n?l.createElement("span",r({style:y},g)):null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(613);function i(e){const{theme:t,name:n,props:i}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Object(r.a)(t.components[n].defaultProps,i):i}},function(e){e.exports=JSON.parse('{"a":"@stigg/embed-sdk","b":"6.9.0"}')},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(137),o=n(182),s=n(629),l=n(79),u=n(379);var c=n(183);var d={black:"#000",white:"#fff"};var h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var f={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var y={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const b=["mode","contrastThreshold","tonalOffset"],_={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function S(e,t,n,r){const i=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(c.d)(e.main,i):"dark"===t&&(e.dark=Object(c.b)(e.main,a)))}function w(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=Object(i.a)(e,b),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),w=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),M=e.error||function(e="light"){return"dark"===e?{main:f[500],light:f[300],dark:f[700]}:{main:f[700],light:f[400],dark:f[800]}}(t),E=e.info||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),k=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),C=e.warning||function(e="light"){return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function D(e){return Object(c.c)(e,x.text.primary)>=n?x.text.primary:_.text.primary}const O=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=Object(r.a)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Object(a.a)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Object(a.a)(12,t?` (${t})`:"",JSON.stringify(e.main)));return S(e,"light",i,s),S(e,"dark",o,s),e.contrastText||(e.contrastText=D(e.main)),e},T={dark:x,light:_};return Object(o.a)(Object(r.a)({common:Object(r.a)({},d),mode:t,primary:O({color:u,name:"primary"}),secondary:O({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:M,name:"error"}),warning:O({color:C,name:"warning"}),info:O({color:E,name:"info"}),success:O({color:k,name:"success"}),grey:h,contrastThreshold:n,getContrastText:D,augmentColor:O,tonalOffset:s},T[t]),l)}const M=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},k='"Roboto", "Helvetica", "Arial", sans-serif';function C(e,t){const n="function"==typeof t?t(e):t,{fontFamily:a=k,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:h=16,allVariants:p,pxToRem:f}=n,m=Object(i.a)(n,M);const g=s/14,y=f||(e=>e/h*g+"rem"),v=(e,t,n,i,o)=>{return Object(r.a)({fontFamily:a,fontWeight:e,fontSize:y(t),lineHeight:n},a===k?{letterSpacing:(s=i/t,Math.round(1e5*s)/1e5)+"em"}:{},o,p);var s},b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(u,48,1.167,0),h4:v(u,34,1.235,.25),h5:v(u,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(u,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(u,16,1.5,.15),body2:v(u,14,1.43,.15),button:v(c,14,1.75,.4,E),caption:v(u,12,1.66,.4),overline:v(u,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Object(o.a)(Object(r.a)({htmlFontSize:h,pxToRem:y,fontFamily:a,fontSize:s,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d},b),m,{clone:!1})}function D(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var O=["none",D(0,2,1,-1,0,1,1,0,0,1,3,0),D(0,3,1,-2,0,2,2,0,0,1,5,0),D(0,3,3,-2,0,3,4,0,0,1,8,0),D(0,2,4,-1,0,4,5,0,0,1,10,0),D(0,3,5,-1,0,5,8,0,0,1,14,0),D(0,3,5,-1,0,6,10,0,0,1,18,0),D(0,4,5,-2,0,7,10,1,0,2,16,1),D(0,5,5,-3,0,8,10,1,0,3,14,2),D(0,5,6,-3,0,9,12,1,0,3,16,2),D(0,6,6,-3,0,10,14,1,0,4,18,3),D(0,6,7,-4,0,11,15,1,0,4,20,3),D(0,7,8,-4,0,12,17,2,0,5,22,4),D(0,7,8,-4,0,13,19,2,0,5,24,4),D(0,7,9,-4,0,14,21,2,0,5,26,4),D(0,8,9,-5,0,15,22,2,0,6,28,5),D(0,8,10,-5,0,16,24,2,0,6,30,5),D(0,8,11,-5,0,17,26,2,0,6,32,5),D(0,9,11,-5,0,18,28,2,0,7,34,6),D(0,9,12,-6,0,19,29,2,0,7,36,6),D(0,10,13,-6,0,20,31,3,0,8,38,7),D(0,10,13,-6,0,21,33,3,0,8,40,7),D(0,10,14,-6,0,22,35,3,0,8,42,7),D(0,11,14,-7,0,23,36,3,0,9,44,8),D(0,11,15,-7,0,24,38,3,0,9,46,8)],T=n(131);var P={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const L=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function I(e={},...t){const{mixins:n={},palette:c={},transitions:d={},typography:h={}}=e,p=Object(i.a)(e,L);if(e.vars)throw new Error(Object(a.a)(18));const f=w(c),m=Object(s.a)(e);let g=Object(o.a)(m,{mixins:(y=m.breakpoints,v=n,Object(r.a)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},v)),palette:f,shadows:O.slice(),typography:C(f,h),transitions:Object(T.a)(d),zIndex:Object(r.a)({},P)});var y,v;return g=Object(o.a)(g,p),g=t.reduce((e,t)=>Object(o.a)(e,t),g),g.unstable_sxConfig=Object(r.a)({},l.a,null==p?void 0:p.unstable_sxConfig),g.unstable_sx=function(e){return Object(u.a)({sx:e,theme:this})},g}t.a=I},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(137);function i(e){if("string"!=typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(81);function i(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function a(e,t,n={clone:!0}){const o=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(r=>{"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?o[r]=a(e[r],t[r],n):n.clone?o[r]=i(t[r])?function e(t){if(!i(t))return t;const n={};return Object.keys(t).forEach(r=>{n[r]=e(t[r])}),n}(t[r]):t[r]:o[r]=t[r])}),o}},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return d}));var r=n(137);function i(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:i}}function o(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=r[1]+"%",r[2]=r[2]+"%"),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:""+r.join(", "),`${t}(${r})`}function s(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(function(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),l=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),o({type:u,values:c})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/"+t:e.values[3]=t,o(e)}function c(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),a=n(9),o=n.n(a);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var u=Object(r.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,a=e.size,o=void 0===a?24:a,u=l(e,["color","size"]);return i.a.createElement("svg",s({ref:t,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),i.a.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),i.a.createElement("polyline",{points:"19 12 12 19 5 12"}))}));u.propTypes={color:o.a.string,size:o.a.oneOfType([o.a.string,o.a.number])},u.displayName="ArrowDown",t.a=u},function(e,t,n){"use strict";var r=n(6),i=n(2),a=n(1),o=n(5),s=n(386),l=n(22),u=n(7),c=n(10),d=n(3),h=n(109),p=n(85);function f(e){return Object(p.a)("MuiCircularProgress",e)}Object(h.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(0);const g=["className","color","disableShrink","size","style","thickness","value","variant"];let y,v,b,_,x=e=>e;const S=Object(l.c)(y||(y=x`
5738
5738
  0% {
5739
5739
  transform: rotate(0deg);
5740
5740
  }