PageSourceSearch

https://spritix.ai/_next/static/chunks/34b20a697cb6c0fe.js?dpl=41ebcee466f37209152e7719061b8ec0

js spritix.ai collected 2026-10-05 12:42:02 UTC 28,514 bytes, 7 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,868499,e=>{"use strict";var t=e.i(511075),r=e.i(380630),a=e.i(780600),o=e.i(226099),n=e.i(161158),i=e.i(291967),s=e.i(265323),l="AlertDialog",[d,c]=(0,a.createContextScope)(l,[n.createDialogScope]),u=(0,n.createDialogScope)(),p=e=>{let{__scopeAlertDialog:r,...a}=e,o=u(r);return(0,t.jsx)(n.Root,{...o,...a,modal:!0})};p.displayName=l;var f=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...o}=e,i=u(a);return(0,t.jsx)(n.Trigger,{...i,...o,ref:r})});f.displayName="AlertDialogTrigger";var g=e=>{let{__scopeAlertDialog:r,...a}=e,o=u(r);return(0,t.jsx)(n.Portal,{...o,...a})};g.displayName="AlertDialogPortal";var m=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...o}=e,i=u(a);return(0,t.jsx)(n.Overlay,{...i,...o,ref:r})});m.displayName="AlertDialogOverlay";var v="AlertDialogContent",[h,x]=d(v),b=(0,s.createSlottable)("AlertDialogContent"),y=r.forwardRef((e,a)=>{let{__scopeAlertDialog:s,children:l,...d}=e,c=u(s),p=r.useRef(null),f=(0,o.useComposedRefs)(a,p),g=r.useRef(null);return(0,t.jsx)(n.WarningProvider,{contentName:v,titleName:j,docsSlug:"alert-dialog",children:(0,t.jsx)(h,{scope:s,cancelRef:g,children:(0,t.jsxs)(n.Content,{role:"alertdialog",...c,...d,ref:f,onOpenAutoFocus:(0,i.composeEventHandlers)(d.onOpenAutoFocus,e=>{e.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,t.jsx)(b,{children:l}),(0,t.jsx)(A,{contentRef:p})]})})})});y.displayName=v;var j="AlertDialogTitle",w=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...o}=e,i=u(a);return(0,t.jsx)(n.Title,{...i,...o,ref:r})});w.displayName=j;var C="AlertDialogDescription",P=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...o}=e,i=u(a);return(0,t.jsx)(n.Description,{...i,...o,ref:r})});P.displayName=C;var k=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...o}=e,i=u(a);return(0,t.jsx)(n.Close,{...i,...o,ref:r})});k.displayName="AlertDialogAction";var R="AlertDialogCancel",N=r.forwardRef((e,r)=>{let{__scopeAlertDialog:a,...i}=e,{cancelRef:s}=x(R,a),l=u(a),d=(0,o.useComposedRefs)(r,s);return(0,t.jsx)(n.Close,{...l,...i,ref:d})});N.displayName=R;var A=({contentRef:e})=>{let t=`\`${v}\` requires a description for the component to be accessible for screen reader users.
2
3You can add a description to the \`${v}\` by passing a \`${C}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
5Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${v}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
6
7For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return r.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},D=e.i(975157),_=e.i(519455);function E({...e}){return(0,t.jsx)(p,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(f,{"data-slot":"alert-dialog-trigger",...e})}function z({...e}){return(0,t.jsx)(g,{"data-slot":"alert-dialog-portal",...e})}function O({className:e,...r}){return(0,t.jsx)(m,{"data-slot":"alert-dialog-overlay",className:(0,D.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...r})}function S({className:e,size:r="default",...a}){return(0,t.jsxs)(z,{children:[(0,t.jsx)(O,{}),(0,t.jsx)(y,{"data-slot":"alert-dialog-content","data-size":r,className:(0,D.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
7ded-lg border p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-lg",e),...a})]})}function T({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,D.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function L({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,D.cn)("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function F({className:e,...r}){return(0,t.jsx)(w,{"data-slot":"alert-dialog-title",className:(0,D.cn)("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function M({className:e,...r}){return(0,t.jsx)(P,{"data-slot":"alert-dialog-description",className:(0,D.cn)("text-muted-foreground text-sm",e),...r})}function H({className:e,variant:r="default",size:a="default",...o}){return(0,t.jsx)(_.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(k,{"data-slot":"alert-dialog-action",className:(0,D.cn)(e),...o})})}function G({className:e,variant:r="outline",size:a="default",...o}){return(0,t.jsx)(_.Button,{variant:r,size:a,asChild:!0,children:(0,t.jsx)(N,{"data-slot":"alert-dialog-cancel",className:(0,D.cn)(e),...o})})}e.s(["AlertDialog",()=>E,"AlertDialogAction",()=>H,"AlertDialogCancel",()=>G,"AlertDialogContent",()=>S,"AlertDialogDescription",()=>M,"AlertDialogFooter",()=>L,"AlertDialogHeader",()=>T,"AlertDialogTitle",()=>F,"AlertDialogTrigger",()=>I],868499)},808562,e=>{"use strict";var t=e.i(511075),r=e.i(380630),a=e.i(780600),o=e.i(83812),n=e.i(166738),i=e.i(291967),s=e.i(254856),l="Toggle",d=r.forwardRef((e,r)=>
7{let{pressed:a,defaultPressed:n,onPressedChange:d,...c}=e,[u,p]=(0,s.useControllableState)({prop:a,onChange:d,defaultProp:n??!1,caller:l});return(0,t.jsx)(o.Primitive.button,{type:"button","aria-pressed":u,"data-state":u?"on":"off","data-disabled":e.disabled?"":void 0,...c,ref:r,onClick:(0,i.composeEventHandlers)(e.onClick,()=>{e.disabled||p(!u)})})});d.displayName=l;var c=e.i(62799),u="ToggleGroup",[p,f]=(0,a.createContextScope)(u,[n.createRovingFocusGroupScope]),g=(0,n.createRovingFocusGroupScope)(),m=r.default.forwardRef((e,r)=>{let{type:a,...o}=e;if("single"===a)return(0,t.jsx)(x,{...o,ref:r});if("multiple"===a)return(0,t.jsx)(b,{...o,ref:r});throw Error(`Missing prop \`type\` expected on \`${u}\``)});m.displayName=u;var[v,h]=p(u),x=r.default.forwardRef((e,a)=>{let{value:o,defaultValue:n,onValueChange:i=()=>{},...l}=e,[d,c]=(0,s.useControllableState)({prop:o,defaultProp:n??"",onChange:i,caller:u});return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"single",value:r.default.useMemo(()=>d?[d]:[],[d]),onItemActivate:c,onItemDeactivate:r.default.useCallback(()=>c(""),[c]),children:(0,t.jsx)(w,{...l,ref:a})})}),b=r.default.forwardRef((e,a)=>{let{value:o,defaultValue:n,onValueChange:i=()=>{},...l}=e,[d,c]=(0,s.useControllableState)({prop:o,defaultProp:n??[],onChange:i,caller:u}),p=r.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),f=r.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(v,{scope:e.__scopeToggleGroup,type:"multiple",value:d,onItemActivate:p,onItemDeactivate:f,children:(0,t.jsx)(w,{...l,ref:a})})});m.displayName=u;var[y,j]=p(u),w=r.default.forwardRef((e,r)=>{let{__scopeToggleGroup:a,disabled:i=!1,rovingFocus:s=!0,orientation:l,dir:d,loop:u=!0,...p}=e,f=g(a),m=(0,c.useDirection)(d),v={role:"group",dir:m,...p};return(0,t.jsx)(y,{scope:a,rovingFocus:s,disabled:i,children:s?(0,t.jsx)(n.Root,{asChild:!0,...f,orientation:l,dir:m,loop:u,children:(0,t.jsx)(o.Primitive.div,{...v,ref:r})}):(0,t.jsx)(o.Primitive.div,{...v,ref:r})})}),C="ToggleGroupItem",P=r.default.forwardRef((e,a)=>{let o=h(C,e.__scopeToggleGroup),i=j(C,e.__scopeToggleGroup),s=g(e.__scopeToggleGroup),l=o.value.includes(e.value),d=i.disabled||e.disabled,c={...e,pressed:l,disabled:d},u=r.default.useRef(null);return i.rovingFocus?(0,t.jsx)(n.Item,{asChild:!0,...s,focusable:!d,active:l,ref:u,children:(0,t.jsx)(k,{...c,ref:a})}):(0,t.jsx)(k,{...c,ref:a})});P.displayName=C;var k=r.default.forwardRef((e,r)=>{let{__scopeToggleGroup:a,value:o,...n}=e,i=h(C,a),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l="single"===i.type?s:void 0;return(0,t.jsx)(d,{...l,...n,ref:r,onPressedChange:e=>{e?i.onItemActivate(o):i.onItemDeactivate(o)}})}),R=e.i(975157);let N=(0,e.i(294237).cva)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),A=r.createContext({size:"default",variant:"default",spacing:0});function D({className:e,variant:r,size:a,spacing:o=0,children:n,...i}){return(0,t.jsx)(m,{"data-slot":"toggle-group","data-variant":r,"data-size":a,"data-spacing":o,style:{"--gap":o},className:(0,R.cn)("group/toggle-group flex w-fit items-center gap-[--spacing(var(--gap))] rounded-md data-[spacing=default]:data-[variant=outline]:shadow-xs",e),...i,children:(0,t.jsx)(A.Provider,{value:{variant:r,size:a,spacing:o},children:n})})}function _({className:e,children:a,variant:o,size:n,...i}){let s=r.useContext(A);return(0,t.jsx)(P,{"data-slot":"toggle-group-item","data-variant":s.variant||o,"data-size":s.size||n,"data-spacing":s.spacing,className:(0,R.cn)(N({variant:s.variant||o,size:s.size||n}),"w-auto min-w-0 shrink-0 px-3 focus:z-10 focus-visible:z-10","data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-md data-[spacing=0]:last:rounded-r-md data-[spacing=0]:data-[variant=outline]:border-l-0 data-[spacing=0]:data-[variant=outline]:first:border-l",e),...i,children:a})}e.s(["ToggleGroup",()=>D,"ToggleGroupItem",()=>_],808562)},182258,458161,e=>{"use strict";var t=e.i(511075),r=e.i(528580),r=r,a=e.i(30673),o=e.i(949235),n=e.i(776639),i=e.i(975157);let s=[{id:"stripe",name:"Stripe",icon:"/stripe.webp"},{id:"paypal",name:"PayPal",icon:"/paypal.svg"}];function l({open:e,onOpenChange:l,onSelect:d,isLoading:c,loadingProvider:u}){let p=(0,o.useTranslations)("PricingPage.PaymentMethod");return(0,t.jsx)(n.Dialog,{open:e,onOpenChange:l,children:(0,t.jsxs)(n.DialogContent,{className:"sm:max-w-md",children:[(0,t.jsx)(n.DialogHeader,{children:(0,t.jsx)(n.DialogTitle,{children:p("title")})}),(0,t.jsx)("div",{className:"grid gap-3 py-4",children:s.map(e=>{let o=c&&u===e.id;return(0,t.jsxs)("button",{type:"button",onClick:()=>
7d(e.id),disabled:c,className:(0,i.cn)("flex min-h-18 items-center gap-4 rounded-lg border-2 p-4 text-left transition-all","hover:border-primary hover:bg-accent","disabled:cursor-not-allowed disabled:opacity-50"),children:[(0,t.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-lg bg-muted",children:o?(0,t.jsx)(r.default,{className:"size-6 animate-spin"}):(0,t.jsx)(a.default,{src:e.icon,alt:e.name,width:32,height:32,className:"size-8 object-contain"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("div",{className:"font-medium",children:e.name}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:p(`${e.id}Description`)})]})]},e.id)})})]})})}e.s(["PaymentMethodDialog",()=>l],182258);var d=e.i(861548),c=e.i(77607),u=e.i(380630);function p({mode:e="redirect",onCompleted:t,onCancelled:r,onClosed:a,onLaunched:o}={}){let n=(0,u.useRef)(null),i=(0,u.useRef)(null),s=(0,u.useRef)(null),l=(0,u.useRef)(!1),f=(0,u.useRef)({onCompleted:t,onCancelled:r,onClosed:a,onLaunched:o});f.current={onCompleted:t,onCancelled:r,onClosed:a,onLaunched:o};let g=(0,u.useCallback)(()=>{i.current?.close(),i.current=null,s.current&&(clearInterval(s.current),s.current=null),n.current=null},[]),m=(0,u.useCallback)(()=>{let e=n.current;e&&e.closed&&!l.current&&(l.current=!0,g(),f.current.onClosed?.())},[g]);return(0,u.useEffect)(()=>{let e=()=>m(),t=()=>{"visible"===document.visibilityState&&m()};return window.addEventListener("focus",e),document.addEventListener("visibilitychange",t),()=>{window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",t),g()}},[g,m]),{launchCheckout:(0,u.useCallback)(async t=>{if(!(0,d.shouldUseCheckoutPopup)(e)){let e=await t();return e?(f.current.onLaunched?.("redirect"),window.location.href=e,"launched"):"missing_url"}if(n.current&&!n.current.closed)return n.current.focus(),"existing";let r=crypto.randomUUID(),a=`${c.Routes.Payment}?checkout_mode=popup&checkout_state=launching&checkout_flow_id=${encodeURIComponent(r)}`,o=window.open(a,`checkout-${r}`,(0,d.getCheckoutPopupFeatures)());if(!o)return"popup_blocked";n.current=o,l.current=!1;try{o.opener=null}catch{}if("u">typeof BroadcastChannel){let e=new BroadcastChannel((0,d.getCheckoutPopupChannelName)(r));e.onmessage=e=>{if(!(0,d.isCheckoutPopupEvent)(e.data,r))return;l.current=!0;let t=e.data.type;g(),"completed"===t?f.current.onCompleted?.():f.current.onCancelled?.()},i.current=e}s.current=setInterval(m,500);try{let e=await t({mode:"popup",flowId:r});if(o.closed||l.current)return m(),"closed";if(!e)return l.current=!0,o.close(),g(),"missing_url";return f.current.onLaunched?.("popup"),o.location.replace(e),o.focus(),"launched"}catch(e){if(o.closed||l.current)return m(),"closed";throw l.current=!0,o.close(),g(),e}},[g,m,e])}}e.s(["useCheckoutPopup",()=>p],458161)},337822,e=>{"use strict";var t=e.i(511075),r=e.i(380630),a=e.i(291967),o=e.i(226099),n=e.i(780600),i=e.i(903070),s=e.i(599593),l=e.i(878223),d=e.i(450021),c=e.i(239043),u=e.i(107530),p=e.i(238716),f=e.i(83812),g=e.i(265323),m=e.i(254856),v=e.i(645751),h=e.i(729494),x="Popover",[b,y]=(0,n.createContextScope)(x,[c.createPopperScope]),j=(0,c.createPopperScope)(),[w,C]=b(x),P=e=>{let{__scopePopover:a,children:o,open:n,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,u=j(a),p=r.useRef(null),[f,g]=r.useState(!1),[v,h]=(0,m.useControllableState)({prop:n,defaultProp:i??!1,onChange:s,caller:x});return(0,t.jsx)(c.Root,{...u,children:(0,t.jsx)(w,{scope:a,contentId:(0,d.useId)(),triggerRef:p,open:v,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:r.useCallback(()=>g(!0),[]),onCustomAnchorRemove:r.useCallback(()=>g(!1),[]),modal:l,children:o})})};P.displayName=x;var k="PopoverAnchor";r.forwardRef((e,a)=>{let{__scopePopover:o,...n}=e,i=C(k,o),s=j(o),{onCustomAnchorAdd:l,onCustomAnchorRemove:d}=i;return r.useEffect(()=>(l(),()=>d()),[l,d]),(0,t.jsx)(c.Anchor,{...s,...n,ref:a})}).displayName=k;var R="PopoverTrigger",N=r.forwardRef((e,r)=>{let{__scopePopover:n,...i}=e,s=C(R,n),l=j(n),d=(0,o.useComposedRefs)(r,s.triggerRef),u=(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":M(s.open),...i,ref:d,onClick:(0,a.composeEventHandlers)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?u:(0,t.jsx)(c.Anchor,{asChild:!0,...l,children:u})});N.displayName=R;var A="PopoverPortal",[D,_]=b(A,{forceMount:void 0}),E=e=>{let{__scopePopover:r,forceMount:a,children:o,container:n}=e,i=C(A,r);return(0,t.jsx)(D,{scope:r,forceMount:a,children:(0,t.jsx)(p.Presence,{present:a||i.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:n,children:o})})})};E.displayName=A;var I="PopoverContent",z=r.forwardRef((e,r)=>{let a=_(I,e.__scopePopover),{forceMount:o=a.forceMount,...n}=e,i=C(I,e.__scopePopover);return(0,t.jsx)(p.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(S,{...n,ref:r}):(0,t.jsx)(T,{...n,ref:r})})});z.displayName=I;var O=(0,g.createSlot)("PopoverContent.RemoveScroll"),S=r.forwardRef((e,n
7)=>{let i=C(I,e.__scopePopover),s=r.useRef(null),l=(0,o.useComposedRefs)(n,s),d=r.useRef(!1);return r.useEffect(()=>{let e=s.current;if(e)return(0,v.hideOthers)(e)},[]),(0,t.jsx)(h.RemoveScroll,{as:O,allowPinchZoom:!0,children:(0,t.jsx)(L,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),d.current||i.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;d.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),T=r.forwardRef((e,a)=>{let o=C(I,e.__scopePopover),n=r.useRef(!1),i=r.useRef(!1);return(0,t.jsx)(L,{...e,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||o.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),L=r.forwardRef((e,r)=>{let{__scopePopover:a,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:d,disableOutsidePointerEvents:u,onEscapeKeyDown:p,onPointerDownOutside:f,onFocusOutside:g,onInteractOutside:m,...v}=e,h=C(I,a),x=j(a);return(0,s.useFocusGuards)(),(0,t.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:d,children:(0,t.jsx)(i.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:f,onFocusOutside:g,onDismiss:()=>h.onOpenChange(!1),children:(0,t.jsx)(c.Content,{"data-state":M(h.open),role:"dialog",id:h.contentId,...x,...v,ref:r,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),F="PopoverClose";function M(e){return e?"open":"closed"}r.forwardRef((e,r)=>{let{__scopePopover:o,...n}=e,i=C(F,o);return(0,t.jsx)(f.Primitive.button,{type:"button",...n,ref:r,onClick:(0,a.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})}).displayName=F,r.forwardRef((e,r)=>{let{__scopePopover:a,...o}=e,n=j(a);return(0,t.jsx)(c.Arrow,{...n,...o,ref:r})}).displayName="PopoverArrow";var H=e.i(975157);function G({...e}){return(0,t.jsx)(P,{"data-slot":"popover",...e})}function B({...e}){return(0,t.jsx)(N,{"data-slot":"popover-trigger",...e})}function $({className:e,align:r="center",sideOffset:a=4,...o}){return(0,t.jsx)(E,{children:(0,t.jsx)(z,{"data-slot":"popover-content",align:r,sideOffset:a,className:(0,H.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...o})})}e.s(["Popover",()=>G,"PopoverContent",()=>$,"PopoverTrigger",()=>B],337822)},537225,e=>{"use strict";var t=e.i(380630);function r(){let[e,r]=t.useState(!1);return t.useEffect(()=>{r(!0)},[]),e}e.s(["useMounted",()=>r])},861548,e=>{"use strict";var t=e.i(812681);function r(e){return"popup"===e&&(0,t.canUseDesktopPopup)()}function a(e){return r(e)?"popup":"redirect"}function o(e){return`checkout-popup:${e}`}function n(){return(0,t.getCenteredPopupFeatures)({maxWidth:560,maxHeight:760})}function i(e,t){if("u"<typeof BroadcastChannel)return;let r=new BroadcastChannel(o(e));r.postMessage({type:t,flowId:e}),r.close()}function s(e,t){return!!e&&"object"==typeof e&&e.flowId===t&&("completed"===e.type||"cancelled"===e.type)}e.s(["getCheckoutPopupChannelName",()=>o,"getCheckoutPopupFeatures",()=>n,"getEffectiveCheckoutMode",()=>a,"isCheckoutPopupEvent",()=>s,"notifyCheckoutPopup",()=>i,"shouldUseCheckoutPopup",()=>r])},732138,e=>{"use strict";var t=e.i(380630);function r(e){let r=(0,t.useRef)(null),a=(0,t.useRef)(e.onVisible);return a.current=e.onVisible,(0,t.useEffect)(()=>{let t=r.current;if(!t||!1===e.enabled||"u"<typeof IntersectionObserver)return;let o=!1,n=null,i=()=>{n&&clearTimeout(n),n=null},s=new IntersectionObserver(([t])=>{!o&&(t?.isIntersecting&&t.intersectionRatio>=(e.minimumRatio??.1)?n||(n=setTimeout(()=>{o=!0,n=null,s.disconnect(),a.current()},e.minimumDurationMs??1e3)):i())},{threshold:[0,e.minimumRatio??.1]});return s.observe(t),()=>{i(),s.disconnect()}},[e.enabled,e.key,e.minimumDurationMs,e.minimumRatio]),r}e.s(["usePlausibleImpression",()=>r])},409626,e=>{"use strict";let t=(0,e.i(667784).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",()=>t])},731283,e=>{"use strict";var t=e.i(409626);e.s(["CheckCircleIcon",()=>t.default])},352318,e=>{"use strict";var t=e.i(949235),r=e.i(945228);function a(){let e=(0,t.useTranslations)("PricePlans");return Object.fromEntries(Object.values(r.websiteConfig.price.plans).map(t=>{let r=e.has(t.id)?e.raw(t.id):null,a=Object.values(r?.features??{}).map(e=>"string"==typeof e?{label:e}:e&&"object"==typeof e&&"string"==typeof e.label?{label:e.label,detail
7:"string"==typeof e.detail?e.detail:void 0,emphasis:Array.isArray(e.emphasis)?e.emphasis.filter(e=>"string"==typeof e):void 0}:null).filter(e=>null!==e),o=Object.values(r?.limits??{}).filter(e=>"string"==typeof e);return[t.id,{...t,name:"string"==typeof r?.name?r.name:t.name??t.id,description:"string"==typeof r?.description?r.description:t.description,features:a.length>0?a:t.features,limits:o.length>0?o:t.limits}]}))}e.s(["usePricePlans",()=>a])},91975,e=>{"use strict";var t=e.i(511075),r=e.i(515246),a=e.i(949235),o=e.i(380630),n=e.i(754219),i=e.i(260165);let s=(0,i.createServerReference)("7ff90a281feb9a114127ba97b23b66e9af38db1f5f",i.callServer,void 0,i.findSourceMapURL,"createPortalAction");var l=e.i(519455),d=e.i(975157);function c({userId:e,returnUrl:i,variant:c="default",size:u="default",className:p,children:f}){let g=(0,a.useTranslations)("Dashboard.settings.billing.CustomerPortalButton"),[m,v]=(0,o.useState)(!1),h=async()=>{try{v(!0);let t=await s({userId:e,returnUrl:i});t?.data?.success&&t?.data?.data?.url?window.location.href=t?.data?.data?.url:(console.error("Create customer portal error, result:",t),n.toast.error(g("createCustomerPortalFailed")))}catch(e){console.error("Create customer portal error:",e),n.toast.error(g("createCustomerPortalFailed"))}finally{v(!1)}};return(0,t.jsx)(l.Button,{variant:c,size:u,className:(0,d.cn)(p,"cursor-pointer"),onClick:h,disabled:m,children:m?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Loa
7der2Icon,{className:"mr-2 size-4 animate-spin"}),g("loading")]}):f})}e.s(["CustomerPortalButton",()=>c],91975)},441239,e=>{"use strict";var t=e.i(511075),r=e.i(975157);function a({eyebrow:e,title:a,lead:o,align:n="center",className:i}){return(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-4","center"===n?"items-center text-center":"items-start text-left",i),children:[e?(0,t.jsx)("p",{className:"studio-type-eyebrow text-primary",children:e}):null,(0,t.jsx)("h2",{className:"text-balance font-bricolage-grotesque text-3xl font-semibold tracking-[-0.02em] text-foreground sm:text-4xl",children:a}),o?(0,t.jsx)("p",{className:(0,r.cn)("max-w-3xl text-balance text-lg leading-8 text-muted-foreground","center"===n&&"mx-auto"),children:o}):null]})}e.s(["BlockHeader",()=>a])},273443,e=>{"use strict";var t=e.i(511075),r=e.i(441211),a=e.i(628997),o=e.i(975157);function n({...e}){return(0,t.jsx)(r.Root,{"data-slot":"accordion",...e})}function i({className:e,...a}){return(0,t.jsx)(r.Item,{"data-slot":"accordion-item",className:(0,o.cn)("border-b last:border-b-0",e),...a})}function s({className:e,children:n,...i}){return(0,t.jsx)(r.Header,{className:"flex",children:(0,t.jsxs)(r.Trigger,{"data-slot":"accordion-trigger",className:(0,o.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...i,children:[n,(0,t.jsx)(a.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function l({className:e,children:a,...n}){return(0,t.jsx)(r.Content,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...n,children:(0,t.jsx)("div",{className:(0,o.cn)("pt-0 pb-4",e),children:a})})}e.s(["Accordion",()=>n,"AccordionContent",()=>l,"AccordionItem",()=>i,"AccordionTrigger",()=>s])},984280,e=>{"use strict";e.s(["HOME_FAQ_KEYS",0,["item-1","item-2","item-3","item-4","item-5","item-6","item-7"],"HOME_GALLERY_ITEMS",0,[{key:"idle",spriteSheet:"/gallery/luna/Luna-v2-idle-v1.png",spritePreview:"/gallery/luna/Luna-v2-idle-v1-preview.webp",gif:"/gallery/luna/Luna-v2-idle-v1.gif"},{key:"walk",spriteSheet:"/gallery/luna/Luna-v2-walk-v1.png",spritePreview:"/gallery/luna/Luna-v2-walk-v1-preview.webp",gif:"/gallery/luna/Luna-v2-walk-v1.gif"},{key:"run",spriteSheet:"/gallery/luna/Luna-v2-run-v1.png",spritePreview:"/gallery/luna/Luna-v2-run-v1-preview.webp",gif:"/gallery/luna/Luna-v2-run-v1.gif"},{key:"jump",spriteSheet:"/gallery/luna/Luna-v2-jump-v1.png",spritePreview:"/gallery/luna/Luna-v2-jump-v1-preview.webp",gif:"/gallery/luna/Luna-v2-jump-v1.gif"},{key:"attack",spriteSheet:"/gallery/luna/Luna-v2-attack-v1.png",spritePreview:"/gallery/luna/Luna-v2-attack-v1-preview.webp",gif:"/gallery/luna/Luna-v2-attack-v1.gif"}],"HOME_GALLERY_NORMALIZED",0,"https://cdn.spritix.ai/studio/9khAZ4mhW4j3pcgBcUVmVbz0Tw6RI6In/characters/9036d331-874b-4aeb-9482-5a0988595ab9/thumbnail-v1.png","HOME_GALLERY_ORIGIN",0,"/gallery/luna/luna-origin.png"])},26345,e=>{"use strict";var t=e.i(511075),r=e.i(949235),a=e.i(441239),o=e.i(273443);let n={home:{namespace:"HomePage.faqs",keys:e.i(984280).HOME_FAQ_KEYS},pricing:{namespace:"PricingPage.faqs",keys:["credits","validity","failure","refunds","subscription","payment"]}};function i({surface:e="home"}){let{namespace:i,keys:s}=n[e],l=(0,r.useTranslations)(i),d=s.map(e=>({id:e,question:l(`items.${e}.question`),answer:l(`items.${e}.answer`)}));return(0,t.jsx)("section",{id:"faqs",className:"scroll-mt-20 px-6 py-20",children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl",children:[(0,t.jsx)(a.BlockHeader,{eyebrow:l("eyebrow"),title:l("title"),lead:l("description")}),(0,t.jsx)("div",{className:"mt-12",children:(0,t.jsx)(o.Accordion,{type:"single",collapsible:!0,className:"w-full rounded-2xl border bg-card px-5 py-3 sm:px-8",children:d.map(e=>(0,t.jsxs)(o.AccordionItem,{value:e.id,className:"border-dashed",children:[(0,t.jsx)(o.AccordionTrigger,{className:"min-h-11 cursor-pointer text-base hover:no-underline",children:e.question}),(0,t.jsx)(o.AccordionContent,{children:(0,t.jsx)("p",{className:"max-w-3xl text-base leading-7 text-muted-foreground",children:e.answer})})]},e.id))})})]})})}e.s(["default",()=>i],26345)}]);

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.