PageSourceSearch

https://fantasticforms.com/static/js/6492.7f2cf976.chunk.js

js fantasticforms.com collected 2026-09-25 22:49:32 UTC 22,694 bytes, 3 lines download raw bytes

1/*! For license information please see 6492.7f2cf976.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[6492],{1089(e,s,t){t.d(s,{$C:()=>l,PE:()=>u,Sj:()=>x,Yq:()=>o,cn:()=>i,dc:()=>f,lW:()=>m,r6:()=>c,sg:()=>p,xv:()=>d});var a=t(89379),n=t(58387),r=t(89359);function i(){for(var e=arguments.length,s=new Array(e),t=0;t<e;t++)s[t]=arguments[t];return(0,r.QP)((0,n.$)(s))}function o(e,s){if(!e)return"";return new Date(e).toLocaleDateString("en-US",(0,a.A)({year:"numeric",month:"short",day:"numeric"},s?{timeZone:s}:{}))}function c(e,s){if(!e)return"";return new Date(e).toLocaleDateString("en-US",(0,a.A)({year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"},s?{timeZone:s}:{}))}function l(){return Math.random().toString(36).substring(2,9)}function d(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return e?e.length>s?e.substring(0,s)+"...":e:""}async function m(e){try{return await navigator.clipboard.writeText(e),!0}catch(s){return console.error("Failed to copy:",s),!1}}function u(e,s){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";const a=new Blob(["string"===typeof e?e:JSON.stringify(e,null,2)],{type:t}),n=URL.createObjectURL(a),r=document.createElement("a");r.href=n,r.download=s,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)}function p(e,s){let t;return function(){for(var a=arguments.length,n=new Array(a),r=0;r<a;r++)n[r]=arguments[r];clearTimeout(t),t=setTimeout(()=>{clearTimeout(t),e(...n)},s)}}function x(e,s){return"".concat(window.location.origin,"/f/").concat(s||e)}function f(e,s){const t=s||e;return'<div id="ff-'.concat(t,'"></div>\n<script src="').concat(window.location.origin,'/embed.js" data-form-id="').concat(t,'"><\/script>')}},13390(e,s,t){t.d(s,{$:()=>u,r:()=>m});var a=t(89379),n=t(53986),r=t(65043),i=t(16851),o=t(10917),c=t(1089),l=t(70579);const d=["className","variant","size","asChild"],m=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),u=r.forwardRef((e,s)=>{let{className:t,variant:r,size:o,asChild:u=!1}=e,p=(0,n.A)(e,d);const x=u?i.DX:"button";return(0,l.jsx)(x,(0,a.A)({className:(0,c.cn)(m({variant:r,size:o,className:t})),ref:s},p))});u.displayName="Button"},51654(e,s,t){t.d(s,{d:()=>d});var a=t(89379),n=t(53986),r=t(65043),i=t(77943),o=t(1089),c=t(70579);const l=["className"],d=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,l);return(0,c.jsx)(i.bL,(0,a.A)((0,a.A)({className:(0,o.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",t)},r),{},{ref:s,children:(0,c.jsx)(i.zi,{className:(0,o.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}))});d.displayName=i.bL.displayName},59938(e,s,t){t.d(s,{J:()=>u});var a=t(89379),n=t(53986),r=t(65043),i=t(65131),o=t(10917),c=t(1089),l=t(70579);const d=["className"],m=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,d);
2return(0,l.jsx)(i.b,(0,a.A)({ref:s,className:(0,c.cn)(m(),t)},r))});u.displayName=i.b.displayName},65131(e,s,t){t.d(s,{b:()=>m});var a=t(89379),n=t(65043),r=t(53986),i=(t(97950),t(16851)),o=t(70579);const c=["asChild"];var l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,s)=>{const t=(0,i.TL)("Primitive.".concat(s)),l=n.forwardRef((e,n)=>{const{asChild:i}=e,l=(0,r.A)(e,c),d=i?t:s;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(d,(0,a.A)((0,a.A)({},l),{},{ref:n}))});return l.displayName="Primitive.".concat(s),(0,a.A)((0,a.A)({},e),{},{[s]:l})},{});var d=n.forwardRef((e,s)=>(0,o.jsx)(l.label,(0,a.A)((0,a.A)({},e),{},{ref:s,onMouseDown:s=>{var t;s.target.closest("button, input, select, textarea")||(null===(t=e.onMouseDown)||void 0===t||t.call(e,s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}})));d.displayName="Label";var m=d},66492(e,s,t){t.r(s),t.d(s,{default:()=>C});var a=t(89379),n=t(65043),r=t(45685),i=t(79722),o=t(13390),c=t(92264),l=t(59938),d=t(51654),m=t(91140),u=t(84370),p=t(56328),x=t(65469);const f=(0,t(77784).A)("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);var h=t(70764),g=t(77819),v=t(22024),b=t(68899),N=t(36210),y=t(64702),w=t(4980),j=t(70579);const A="https://fantasticforms.com",k=()=>{const e=localStorage.getItem("ff_token");return e?{Authorization:"Bearer ".concat(e)}:{}},_=[{value:"us",label:"United States (api.intercom.io)"},{value:"eu",label:"Europe (api.eu.intercom.io)"},{value:"au",label:"Australia (api.au.intercom.io)"}];function C(){const[e,s]=(0,n.useState)([]),[t,C]=(0,n.useState)(!0);(0,n.useEffect)(()=>{(async()=>{try{const e=await w._0.getAll(),t=(Array.isArray(e)?e:(null===e||void 0===e?void 0:e.forms)||[]).map(e=>{var s;const t=(null===e||void 0===e||null===(s=e.settings)||void 0===s?void 0:s.intercom)||{};return(0,a.A)((0,a.A)({},e),{},{_i:{tokenInput:"",region:t.region||"us",enabled:!!t.enabled,configured:!!t.access_token,maskedToken:t.access_token?"\u2026".concat(t.access_token.slice(-6)):null,workspaceName:t.workspace_name||null,workspaceAppId:t.workspace_app_id||null,customAttributes:t.custom_attributes||[],lastError:t.last_error||null,saving:!1,testing:!1}})});s(t)}catch(e){console.error(e),p.oR.error("Failed to load Intercom settings")}finally{C(!1)}})()},[]);const R=(e,t)=>s(s=>s.map(s=>s.id===e?(0,a.A)((0,a.A)({},s),{},{_i:(0,a.A)((0,a.A)({},s._i),t)}):s));return t?(0,j.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-zinc-50",children:(0,j.jsx)(y.A,{size:48})}):(0,j.jsxs)("div",{className:"min-h-screen bg-zinc-50","data-testid":"intercom-page",children:[(0,j.jsx)("header",{className:"bg-white border-b border-zinc-200",children:(0,j.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center gap-4",children:[(0,j.jsx)(r.N_,{to:"/integrations",className:"p-2 hover:bg-zinc-100 rounded-lg",children:(0,j.jsx)(x.A,{className:"w-5 h-5"})}),(0,j.jsxs)("div",{className:"flex items-center gap-3",children:[(0,j.jsx)("div",{className:"w-8 h-8 bg-[#1F8DED] rounded-lg flex items-center justify-center",children:(0,j.jsx)(f,{className:"w-4 h-4 text-white"})}),(0,j.jsx)("h1",{className:"text-xl font-bold text-zinc-900",children:"Intercom"})]})]})}),(0,j.jsxs)("main",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8 space-y-8",children:[(0,j.jsxs)(m.Zp,{children:[(0,j.jsx)(m.aR,{children:(0,j.jsx)(m.ZB,{className:"text-base",children:"How it works"})}),(0,j.jsxs)(m.Wu,{className:"space-y-4",children:[(0,j.jsxs)("ol",{className:"text-sm text-zinc-700 space-y-2 list-decimal list-inside",children:[(0,j.jsxs)("li",{children:["In Intercom, go to"," ",(0,j.jsxs)("a",{href:"https://app.intercom.com/a/apps/_/developer-hub",target:"_blank",rel:"noopener noreferrer",className:"underline inline-flex items-center gap-0.5",children:["Settings \u2192 Developers \u2192 Developer Hub ",(0,j.jsx)(h.A,{className:"w-3 h-3"})]}),". Click ",(0,j.jsx)("strong",{children:"New app"}),", give it a name, then open ",(0,j.jsx)("strong",{children:"Authentication"})," and copy the ",(0,j.jsx)("strong",{children:"Access Token"}),"."]}),(0,j.jsxs)("li",{children:["Under ",(0,j.jsx)("strong",{children:"Permissions"})," \u2192 enable ",(0,j.jsx)("em",{children:"Read and write contacts"}),"."]}),(0,j.jsxs)("li",{children:["Pick your ",(0,j.jsx)("strong",{children:"workspace region"})," below. If you log into ",(0,j.jsx)("code",{className:"bg-zinc-100 px-1 rounded text-xs",children:"app.intercom.com"})," \u2192 US. If ",(0,j.jsx)("code",{className:"bg-zinc-100 px-1 rounded text-xs",children:"app.eu.intercom.com"})," \u2192 EU. If ",(0,j.jsx)("code",{className:"bg-zinc-100 px-1 rounded text-xs",children:"app.au.intercom.com"})," \u2192 AU."]}),(0,j.jsxs)("li",{children:["Paste the access token below, click ",(0,j.jsx)("strong",{children:"Test"}),", then ",(0,j.jsx)("strong",{children:"Save"}),"."]}),(0,j.jsxs)("li",{children:["Each new submission searches Intercom by email \u2014 if a Contact already exists, we update it; otherwise we create a new ",(0,j.jsx)("code",{className:"bg-zinc-100 px-1 rounded text-xs",children:"role: user"})," contact."]})]}),(0,j.jsxs)("p",{className:"text-xs text-zinc-500",children:["Form labels matching Intercom ",(0,j.jsx)("strong",{children:"custom data attributes"})," (case-insensitive) are sent automatically. Name and phone are auto-extracted from Full Name and Phone questions."]})]})]}),(0,j.jsxs)("section",{className:"space-y-3","data-testid":"forms-section",children:[(0,j.jsxs)("div",{className:"flex items-center justify-between",children:[(0,j.jsx)("h2",{className:"text-base font-semibold text-zinc-900",children:"Your forms"}),(0,j.jsxs)("span",{className:"text-xs text-zinc-500",children:[e.length," ",1===e.length?"form":"forms"]})]}),0===e.length?(0,j.jsx)(m.Zp,{children:(0,j.jsxs)(m.Wu,{className:"py-10 text-center text-sm text-zinc-500",children:["No forms yet. ",(0,j.jsx)(r.N_,{to:"/dashboard",className:"text-zinc-900 underline",children:"Go to dashboard"}),"."]})}):(0,j.jsx)("div",{className:"space-y-3",children:e.map(e=>(0,j.jsx)(m.Zp,{"data-testid":"form-row-".concat(e.id),children:(0,j.jsxs)(m.Wu,{className:"p-5 space-y-3",children:[(0,j.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,j.jsxs)("div",{className:"min-w-0",children:[(0,j.jsx)("p",{className:"font-medium text-zinc-900 truncate",children:e.title||"Untitled form"}),e._i.configured?(0,j.jsxs)("p",{className:"text-xs text-zinc-500 mt-0.5",children:["Connected",e._i.workspaceName?(0,j.jsxs)(j.Fragment,{children:[" to ",(0,j.jsx)("strong",{children:e._i.workspaceName})]}):null," ","\xb7 region ",(0,j.jsx)("code",{className:"px-1 bg-zinc-100 rounded",children:e._i.region})," ","\xb7 token ",(0,j.jsx)("code",{className:"px-1 bg-zinc-100 rounded",children:e._i.maskedToken})]}):(0,j.jsx)("p",{className:"text-xs text-zinc-400 mt-0.5",children:"Not connected"}),e._i.lastError&&(0,j.jsxs)("p",{className:"text-xs text-red-600 mt-1 inline-flex items-center gap-1",children:[(0,j.jsx)(g.A,{className:"w-3 h-3"})," Last sync failed: ",e._i.lastError]})]}),e._i.configured&&(0,j.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,j.jsx)("span",{className:"text-xs text-zinc-500",children:e._i.enabled?"Active":"Paused"}),(0,j.jsx)(d.d,{checked:e._i.enabled,onCheckedChange:s=>(async(e,s)=>{if(e._i.configured){R(e.id,{saving:!0});try{await i.A.put("".concat(A,"/api/intercom/forms/").concat(e.id),{enabled:s},{headers:(0,a.A)((0,a.A)({},k()),{},{"Content-Type":"application/json"})}),R(e.id,{enabled:s}),p.oR.success(s?"Intercom sync resumed":"Intercom sync paused")}catch(r){var t,n;p.oR.error((null===r||void 0===r||null===(t=r.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.detail)||"Failed to update"),R(e.id,{enabled:!s}
2)}finally{R(e.id,{saving:!1})}}else p.oR.error("Save a connection first, then toggle it on.")})(e,s),"data-testid":"intercom-toggle-".concat(e.id)})]})]}),(0,j.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:[(0,j.jsxs)("div",{children:[(0,j.jsxs)(l.J,{className:"text-xs text-zinc-500",children:["Access token",e._i.configured?" (paste new to replace)":""]}),(0,j.jsx)(c.p,{placeholder:"dG9rOg...",value:e._i.tokenInput,onChange:s=>R(e.id,{tokenInput:s.target.value}),"data-testid":"intercom-token-".concat(e.id),className:"font-mono text-xs",type:"password",autoComplete:"off"})]}),(0,j.jsxs)("div",{children:[(0,j.jsx)(l.J,{className:"text-xs text-zinc-500",children:"Workspace region"}),(0,j.jsxs)(u.l6,{value:e._i.region,onValueChange:s=>R(e.id,{region:s}),children:[(0,j.jsx)(u.bq,{className:"text-xs","data-testid":"intercom-region-".concat(e.id),children:(0,j.jsx)(u.yv,{})}),(0,j.jsx)(u.gC,{children:_.map(e=>(0,j.jsx)(u.eb,{value:e.value,className:"text-xs",children:e.label},e.value))})]})]})]}),(0,j.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,j.jsxs)(o.$,{variant:"outline",size:"sm",onClick:()=>(async e=>{const s=(e._i.tokenInput||"").trim();if(s){R(e.id,{testing:!0});try{const{data:t}=await i.A.post("".concat(A,"/api/intercom/test"),{access_token:s,region:e._i.region},{headers:(0,a.A)((0,a.A)({},k()),{},{"Content-Type":"application/json"})}),n=(t.custom_attributes||[]).filter(e=>e.is_custom).length;p.oR.success("Connected to ".concat(t.workspace_name||"Intercom workspace"," \u2014 ").concat(n," custom attributes discovered")),R(e.id,{customAttributes:t.custom_attributes||[],workspaceName:t.workspace_name||null,workspaceAppId:t.workspace_app_id||null})}catch(r){var t,n;p.oR.error((null===r||void 0===r||null===(t=r.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.detail)||"Could not reach Intercom")}finally{R(e.id,{testing:!1})}}else p.oR.error("Paste your Intercom access token first")})(e),disabled:e._i.testing||e._i.saving,"data-testid":"intercom-test-".concat(e.id),children:[e._i.testing?(0,j.jsx)(v.A,{className:"w-4 h-4 animate-spin"}):(0,j.jsx)(b.A,{className:"w-4 h-4 mr-1"}),"Test"]}),(0,j.jsxs)(o.$,{size:"sm",onClick:()=>(async e=>{const s=(e._i.tokenInput||"").trim();if(s){R(e.id,{saving:!0});try{const{data:t}=await i.A.put("".concat(A,"/api/intercom/forms/").concat(e.id),{enabled:!0,access_token:s,region:e._i.region},{headers:(0,a.A)((0,a.A)({},k()),{},{"Content-Type":"application/json"})});p.oR.success("Connected \u2014 new submissions will upsert Intercom Contacts"),R(e.id,{enabled:!0,configured:!0,maskedToken:t.access_token_masked||null,region:t.region||e._i.region,workspaceName:t.workspace_name||null,workspaceAppId:t.workspace_app_id||null,customAttributes:t.custom_attributes||[],tokenInput:"",lastError:null})}catch(r){var t,n;p.oR.error((null===r||void 0===r||null===(t=r.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.detail)||"Failed to save Intercom connection")}finally{R(e.id,{saving:!1})}}else p.oR.error("Paste your Intercom access token first")})(e),disabled:e._i.saving||e._i.testing,"data-testid":"intercom-save-".concat(e.id),children:[e._i.saving?(0,j.jsx)(v.A,{className:"w-4 h-4 animate-spin"}):(0,j.jsx)(N.A,{className:"w-4 h-4 mr-1"}),e._i.configured?"Replace":"Save"]}),e._i.configured&&(0,j.jsx)(o.$,{variant:"ghost",size:"sm",onClick:()=>(async e=>{if(window.confirm("Disconnect Intercom? New submissions will no longer sync.")){R(e.id,{saving:!0});try{await i.A.put("".concat(A,"/api/intercom/forms/").concat(e.id),{enabled:!1},{headers:(0,a.A)((0,a.A)({},k()),{},{"Content-Type":"application/json"})}),p.oR.success("Disconnected"),R(e.id,{enabled:!1,configured:!1,maskedToken:null,workspaceName:null,workspaceAppId:null,customAttributes:[],tokenInput:"",lastError:null})}catch(s){p.oR.error("Failed to disconnect")}finally{R(e.id,{saving:!1})}}})(e),disabled:e._i.saving,"data-testid":"intercom-disconnect-".concat(e.id),children:"Disconnect"})]})]})},e.id))})]})]})]})}},68899(e,s,t){t.d(s,{A:()=>a});const a=(0,t(77784).A)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])},70764(e,s,t){t.d(s,{A:()=>a});const a=(0,t(77784).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},77819(e,s,t){t.d(s,{A:()=>a});const a=(0,t(77784).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},84370(e,s,t){t.d(s,{bq:()=>y,eb:()=>k,gC:()=>A,l6:()=>b,yv:()=>N});var a=t(89379),n=t(53986),r=t(65043),i=t(70962),o=t(36210),c=t(92382),l=t(15711),d=t(1089),m=t(70579);const u=["className","children"],p=["className"],x=["className"],f=["className","children","position"],h=["className"],g=["className","children"],v=["className"],b=i.bL,N=(i.YJ,i.WT),y=r.forwardRef((e,s)=>{let{className:t,children:r}=e,o=(0,n.A)(e,u);return(0,m.jsxs)(i.l9,(0,a.A)((0,a.A)({ref:s,className:(0,d.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t)},o),{},{children:[r,(0,m.jsx)(i.In,{asChild:!0,children:(0,m.jsx)(c.A,{className:"h-4 w-4 opacity-50"})})]}))});y.displayName=i.l9.displayName;const w=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,p);return(0,m.jsx)(i.PP,(0,a.A)((0,a.A)({ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t)},r),{},{children:(0,m.jsx)(l.A,{className:"h-4 w-4"})}))});w.displayName=i.PP.displayName;const j=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,x);return(0,m.jsx)(i.wn,(0,a.A)((0,a.A)({ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t)},r),{},{children:(0,m.jsx)(c.A,{className:"h-4 w-4"})}))});j.displayName=i.wn.displayName;const A=r.forwardRef((e,s)=>{let{className:t,children:r,position:o="popper"}=e,c=(0,n.A)(e,f);return(0,m.jsx)(i.ZL,{children:(0,m.jsxs)(i.UC,(0,a.A)((0,a.A)({ref:s,className:(0,d.cn)("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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]:sli
2de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]","popper"===o&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o},c),{},{children:[(0,m.jsx)(w,{}),(0,m.jsx)(i.LM,{className:(0,d.cn)("p-1","popper"===o&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,m.jsx)(j,{})]}))})});A.displayName=i.UC.displayName;r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,h);return(0,m.jsx)(i.JU,(0,a.A)({ref:s,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",t)},r))}).displayName=i.JU.displayName;const k=r.forwardRef((e,s)=>{let{className:t,children:r}=e,c=(0,n.A)(e,g);return(0,m.jsxs)(i.q7,(0,a.A)((0,a.A)({ref:s,className:(0,d.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t)},c),{},{children:[(0,m.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,m.jsx)(i.VF,{children:(0,m.jsx)(o.A,{className:"h-4 w-4"})})}),(0,m.jsx)(i.p4,{children:r})]}))});k.displayName=i.q7.displayName;r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,v);return(0,m.jsx)(i.wv,(0,a.A)({ref:s,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",t)},r))}).displayName=i.wv.displayName},91140(e,s,t){t.d(s,{BT:()=>g,Wu:()=>v,ZB:()=>h,Zp:()=>x,aR:()=>f});var a=t(89379),n=t(53986),r=t(65043),i=t(1089),o=t(70579);const c=["className"],l=["className"],d=["className"],m=["className"],u=["className"],p=["className"],x=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,c);return(0,o.jsx)("div",(0,a.A)({ref:s,className:(0,i.cn)("rounded-xl border bg-card text-card-foreground shadow",t)},r))});x.displayName="Card";const f=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,l);return(0,o.jsx)("div",(0,a.A)({ref:s,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",t)},r))});f.displayName="CardHeader";const h=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,d);return(0,o.jsx)("div",(0,a.A)({ref:s,className:(0,i.cn)("font-semibold leading-none tracking-tight",t)},r))});h.displayName="CardTitle";const g=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,m);return(0,o.jsx)("div",(0,a.A)({ref:s,className:(0,i.cn)("text-sm text-muted-foreground",t)},r))});g.displayName="CardDescription";const v=r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,u);return(0,o.jsx)("div",(0,a.A)({ref:s,className:(0,i.cn)("p-6 pt-0",t)},r))});v.displayName="CardContent";r.forwardRef((e,s)=>{let{className:t}=e,r=(0,n.A)(e,p);return(0,o.jsx)("div",(0,a.A)({ref:s,className:(0,i.cn)("flex items-center p-6 pt-0",t)},r))}).displayName="CardFooter"},92264(e,s,t){t.d(s,{p:()=>l});var a=t(89379),n=t(53986),r=t(65043),i=t(1089),o=t(70579);const c=["className","type"],l=r.forwardRef((e,s)=>{let{className:t,type:r}=e,l=(0,n.A)(e,c);return(0,o.jsx)("input",(0,a.A)({type:r,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:s},l))});l.displayName="Input"}}]);
3//# sourceMappingURL=6492.7f2cf976.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.