1import { createHotContext as __vite__createHotContext } from "/@vite/client";import.meta.hot = __vite__createHotContext("/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx");import __vite__cjsImport0_react_jsxDevRuntime from "/node_modules/.vite/deps/react_jsx-dev-runtime.js?v=ccc16c5c"; const jsxDEV = __vite__cjsImport0_react_jsxDevRuntime["jsxDEV"]; 2import * as RefreshRuntime from "/@react-refresh"; 3const inWebWorker = typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope; 4let prevRefreshReg; 5let prevRefreshSig; 6if (import.meta.hot && !inWebWorker) { 7 if (!window.$RefreshReg$) { 8 throw new Error( 9 "@vitejs/plugin-react can't detect preamble. Something is wrong." 10 ); 11 } 12 prevRefreshReg = window.$RefreshReg$; 13 prevRefreshSig = window.$RefreshSig$; 14 window.$RefreshReg$ = RefreshRuntime.getRefreshReg("/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx"); 15 window.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform; 16} 17import { Plus, Minus } from "/node_modules/.vite/deps/lucide-react.js?v=ccc16c5c"; 18import { faqs } from "/src/store/constants.ts"; 19export const FAQSection = ({ openFaq, toggleFaq }) => { 20 return /* @__PURE__ */ jsxDEV( 21 "section", 22 { 23 id: "faq", 24 className: "py-16 sm:py-24 border-t border-gray-100 bg-white", 25 children: /* @__PURE__ */ jsxDEV("div", { className: "w-full max-w-3xl mx-auto px-5 sm:px-6", children: [
26 /* @__PURE__ */ jsxDEV("div", { className: "text-center max-w-xl mx-auto mb-12 sm:mb-14", children: [ 27 /* @__PURE__ */ jsxDEV("p", { className: "text-[10px] uppercase tracking-[0.2em] font-semibold text-primary mb-3", children: "Frequently asked" }, void 0, false, { 28 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 29 lineNumber: 36, 30 columnNumber: 11 31 }, this), 32 /* @__PURE__ */ jsxDEV("h2", { className: "text-2xl sm:text-3xl font-semibold text-gray-900 tracking-tight", children: "Questions practices ask before they sign up" }, void 0, false, { 33 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 34 lineNumber: 39, 35 columnNumber: 11 36 }, this) 37 ] }, void 0, true, { 38 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 39 lineNumber: 35, 40 columnNumber: 9 41 }, this),
42 /* @__PURE__ */ jsxDEV("div", { className: "divide-y divide-gray-200 border-y border-gray-200", children: faqs.map((faq, index) => { 43 const isOpen = openFaq === index; 44 return /* @__PURE__ */ jsxDEV("div", { children: [ 45 /* @__PURE__ */ jsxDEV( 46 "button", 47 { 48 onClick: () => toggleFaq(index), 49 className: "w-full py-5 sm:py-6 flex items-start justify-between gap-4 text-left hover:opacity-80 transition cursor-pointer", 50 "aria-expanded": isOpen, 51 children: [ 52 /* @__PURE__ */ jsxDEV("span", { className: "text-[15px] sm:text-base font-medium text-gray-900 pr-2", children: faq.question }, void 0, false, { 53 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 54 lineNumber: 54, 55 columnNumber: 19 56 }, this), 57 /* @__PURE__ */ jsxDEV( 58 "span", 59 { 60 className: `flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full transition mt-0.5 ${isOpen ? "bg-primary text-primary-foreground" : "bg-gray-100 text-gray-500"}`, 61 children: isOpen ? /* @__PURE__ */ jsxDEV(Minus, { className: "h-3 w-3" }, void 0, false, { 62 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 63 lineNumber: 65, 64 columnNumber: 21 65 }, this) : /* @__PURE__ */ jsxDEV(Plus, { className: "h-3 w-3" }, void 0, false, { 66 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 67 lineNumber: 67, 68 columnNumber: 21 69 }, this) 70 }, 71 void 0, 72 false, 73 { 74 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 75 lineNumber: 57, 76 columnNumber: 19 77 }, 78 this 79 ) 80 ] 81 }, 82 void 0, 83 true, 84 { 85 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 86 lineNumber: 49, 87 columnNumber: 17 88 }, 89 this 90 ), 91 isOpen && /* @__PURE__ */ jsxDEV("div", { className: "pb-5 sm:pb-6 -mt-1 pr-10", children: /* @__PURE__ */ jsxDEV("p", { className: "text-sm text-gray-600 leading-relaxed", children: faq.answer }, void 0, false, { 92 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 93 lineNumber: 73, 94 columnNumber: 21 95 }, this) }, void 0, false, { 96 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 97 lineNumber: 72, 98 columnNumber: 17 99 }, this) 100 ] }, index, true, { 101 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 102 lineNumber: 48, 103 columnNumber: 15 104 }, this); 105 }) }, void 0, false, { 106 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 107 lineNumber: 44, 108 columnNumber: 9 109 }, this),
110 /* @__PURE__ */ jsxDEV("p", { className: "mt-10 text-center text-sm text-gray-500", children: [ 111 "Have a question we didn't cover?", 112 " ", 113 /* @__PURE__ */ jsxDEV( 114 "a", 115 { 116 href: "#contact-form", 117 className: "font-medium text-primary hover:text-primary/80 underline underline-offset-2", 118 children: "Get in touch" 119 }, 120 void 0, 121 false, 122 { 123 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 124 lineNumber: 86, 125 columnNumber: 11 126 }, 127 this 128 ) 129 ] }, void 0, true, { 130 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 131 lineNumber: 84, 132 columnNumber: 9 133 }, this) 134 ] }, void 0, true, { 135 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 136 lineNumber: 34, 137 columnNumber: 7 138 }, this) 139 }, 140 void 0, 141 false, 142 { 143 fileName: "/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", 144 lineNumber: 30, 145 columnNumber: 5 146 }, 147 this 148 ); 149}; 150_c = FAQSection; 151var _c; 152$RefreshReg$(_c, "FAQSection"); 153if (import.meta.hot && !inWebWorker) { 154 window.$RefreshReg$ = prevRefreshReg; 155 window.$RefreshSig$ = prevRefreshSig; 156} 157if (import.meta.hot && !inWebWorker) { 158 RefreshRuntime.__hmr_import(import.meta.url).then((currentExports) => { 159 RefreshRuntime.registerExportsForReactRefresh("/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", currentExports); 160 import.meta.hot.accept((nextExports) => { 161 if (!nextExports) return; 162 const invalidateMessage = RefreshRuntime.validateRefreshBoundaryAndEnqueueUpdate("/home/azureuser/GitHub/new_payer_agent_ui/payer_agent_ui/src/components/new_chatbot/ChatArea/HomePage/FAQSection.tsx", currentExports, nextExports); 163 if (invalidateMessage) import.meta.hot.invalidate(invalidateMess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TmFtZT1cInRleHQtWzEwcHhdIHVwcGVyY2FzZSB0cmFja2luZy1bMC4yZW1dIGZvbnQtc2VtaWJvbGQgdGV4dC1wcmltYXJ5IG1iLTNcIj5cbiAgICAgICAgICAgIEZyZXF1ZW50bHkgYXNrZWRcbiAgICAgICAgICA8L3A+XG4gICAgICAgICAgPGgyIGNsYXNzTmFtZT1cInRleHQtMnhsIHNtOnRleHQtM3hsIGZvbnQtc2VtaWJvbGQgdGV4dC1ncmF5LTkwMCB0cmFja2luZy10aWdodFwiPlxuICAgICAgICAgICAgUXVlc3Rpb25zIHByYWN0aWNlcyBhc2sgYmVmb3JlIHRoZXkgc2lnbiB1cFxuICAgICAgICAgIDwvaDI+XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZGl2aWRlLXkgZGl2aWRlLWdyYXktMjAwIGJvcmRlci15IGJvcmRlci1ncmF5LTIwMFwiPlxuICAgICAgICAgIHtmYXFzLm1hcCgoZmFxLCBpbmRleCkgPT4ge1xuICAgICAgICAgICAgY29uc3QgaXNPcGVuID0gb3BlbkZhcSA9PT0gaW5kZXg7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8ZGl2IGtleT17aW5kZXh9PlxuICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHRvZ2dsZUZhcShpbmRleCl9XG4gICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJ3LWZ1bGwgcHktNSBzbTpweS02IGZsZXggaXRlbXMtc3RhcnQganVzdGlmeS1iZXR3ZWVuIGdhcC00IHRleHQtbGVmdCBob3ZlcjpvcGFjaXR5LTgwIHRyYW5zaXRpb24gY3Vyc29yLXBvaW50ZXJcIlxuICAgICAgICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzTmFtZT1cInRleHQtWzE1cHhdIHNtOnRleHQtYmFzZSBmb250LW1lZGl1bSB0ZXh0LWdyYXktOTAwIHByLTJcIj5cbiAgICAgICAgICAgICAgICAgICAge2ZhcS5xdWVzdGlvbn1cbiAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17YGZsZXggaC02IHctNiBmbGV4LXNocmluay0wIGl0ZW1zLWNlbnRlciBqdXN0aWZ5LWNlbnRlciByb3VuZGVkLWZ1bGwgdHJhbnNpdGlvbiBtdC0wLjUgJHtcbiAgICAgICAgICAgICAgICAgICAgICBpc09wZW5cbiAgICAgICAgICAgICAgICAgICAgICAgID8gXCJiZy1wcmltYXJ5IHRleHQtcHJpbWFyeS1mb3JlZ3JvdW5kXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIDogXCJiZy1ncmF5LTEwMCB0ZXh0LWdyYXktNTAwXCJcbiAgICAgICAgICAgICAgICAgICAgfWB9XG4gICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHtpc09wZW4gPyAoXG4gICAgICAgICAgICAgICAgICAgICAgPE1pbnVzIGNsYXNzTmFtZT1cImgtMyB3LTNcIiAvPlxuICAgICAgICAgICAgICAgICAgICApIDogKFxuICAgICAgICAgICAgICAgICAgICAgIDxQbHVzIGNsYXNzTmFtZT1cImgtMyB3LTNcIiAvPlxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIHtpc09wZW4gJiYgKFxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJwYi01IHNtOnBiLTYgLW10LTEgcHItMTBcIj5cbiAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3NOYW1lPVwidGV4dC1zbSB0ZXh0LWdyYXktNjAwIGxlYWRpbmctcmVsYXhlZFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHtmYXEuYW5zd2VyfVxuICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICk7XG4gICAgICAgICAgfSl9XG4gICAgICAgIDwvZGl2PlxuXG4gICAgICAgIHsvKiBTb2Z0IGhhbmRvZmYgdG8gY29udGFjdCBmb3IgdW5hbnN3ZXJlZCBxdWVzdGlvbnMgKi99XG4gICAgICAgIDxwIGNsYXNzTmFtZT1cIm10LTEwIHRleHQtY2VudGVyIHRleHQtc20gdGV4dC1ncmF5LTUwMFwiPlxuICAgICAgICAgIEhhdmUgYSBxdWVzdGlvbiB3ZSBkaWRuJ3QgY292ZXI/e1wiIFwifVxuICAgICAgICAgIDxhXG4gICAgICAgICAgICBocmVmPVwiI2NvbnRhY3QtZm9ybVwiXG4gICAgICAgICAgICBjbGFzc05hbWU9XCJmb250LW1lZGl1bSB0ZXh0LXByaW1hcnkgaG92ZXI6dGV4dC1wcmltYXJ5LzgwIHVuZGVybGluZSB1bmRlcmxpbmUtb2Zmc2V0LTJcIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIEdldCBpbiB0b3VjaFxuICAgICAgICAgIDwvYT5cbiAgICAgICAgPC9wPlxuICAgICAgPC9kaXY+XG4gICAgPC9zZWN0aW9uPlxuICApO1xufTtcbiJdLCJmaWxlIjoiL2hvbWUvYXp1cmV1c2VyL0dpdEh1Yi9uZXdfcGF5ZXJfYWdlbnRfdWkvcGF5ZXJfYWdlbnRfdWkvc3JjL2NvbXBvbmVudHMvbmV3X2NoYXRib3QvQ2h
168hdEFyZWEvSG9tZVBhZ2UvRkFRU2VjdGlvbi50c3gifQ==
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.