PageSourceSearch

https://www.oruphones.com/_next/static/chunks/pages/faqs-4fa0394e2814f553.js

js oruphones.com collected 2026-10-07 13:22:00 UTC 4,082 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61188],{95121:function(e,s,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/faqs",function(){return l(84238)}])},84238:function(e,s,l){"use strict";l.r(s),l.d(s,{__N_SSG:function(){return j}});var n=l(85893),t=l(94535),a=l(82687),r=l(98778),i=l(88860),o=l(77881),c=l(86581),u=l(84162),d=l(18562),x=l(15265),p=l(10760),h=l(2962),m=l(41664),f=l.n(m),v=l(67294),j=!0;s.default=e=>{let{faqs:s}=e,l=(0,o.Z)("lg"),[m,j]=(0,v.useState)(""),[b,N]=(0,v.useState)(()=>s||[]),g=(0,v.useRef)(),[w,y]=(0,v.useState)(null),_=e=>{y(s=>s===e?null:e)};console.log("faqData : ",b);let S=(0,v.useCallback)((e,s)=>{var l,n;let t=s.toLowerCase();return((null===(l=e.question)||void 0===l?void 0:l.toLowerCase().includes(t))?2:0)+((null===(n=e.answer)||void 0===n?void 0:n.toLowerCase().includes(t))?1:0)},[]),C=e=>e.includes("\n")?(0,n.jsx)(n.Fragment,{children:e.split("\n").map((e,s)=>(0,n.jsxs)(v.Fragment,{children:[e,(0,n.jsx)("br",{})]},s))}):e;return(0,v.useEffect)(()=>(g.current=setTimeout(()=>{let e=m.toLowerCase();return e?N((null==s?void 0:s.map(s=>({...s,relevance:S(s,e)})).filter(e=>e.relevance>0).sort((e,s)=>s.relevance-e.relevance))||[]):N(s||[])},100),()=>clearTimeout(g.current)),[s,m,S]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.PB,{title:"Resolve Queries About Second-Hand Mobile Devices | ORUphones",description:"FAQs on Second-hand Mobile Devices, Refurbished phones, and Verified used phones. ORUphones is here to help you make wise decisions for your next purchase."}),(0,n.jsx)(t.Z,{}),(0,n.jsx)("h1",{className:"sr-only",children:"Frequently Asked Questions About Buying and Selling Used Phones | ORUphones"}),(0,n.jsxs)("div",{className:"px-5 2xl:container",children:[l&&(0,n.jsxs)("span",{className:"my-4 flex text-brand-gray",children:[(0,n.jsx)(f(),{href:"/",className:"underline",children:"Home Page"}),(0,n.jsxs)("span",{className:"flex",children:[(0,n.jsx)(u.default,{}),(0,n.jsx)("span",{children:"Faq"})]})]}),(0,n.jsxs)("div",{className:"mt-8",children:[(0,n.jsx)("h2",{className:"py-4 text-center text-[28px] font-bold",children:"Frequently Asked Questions"}),(0,n.jsxs)("form",{className:"m-auto flex w-full gap-2 pb-16  lg:w-6/12",onSubmit:function(e){e.preventDefault(),clearTimeout(g.current);let l=m.toLowerCase();return l?N((null==s?void 0:s.map(e=>({...e,relevance:S(e,l)})).filter(e=>e.relevance>0).sort((e,s)=>s.relevance-e.relevance))||[]):N(s||[])},children:[(0,n.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,n.jsx)(i.I,{type:"text",placeholder:"Search for topics or Keywords",className:"rounded-full pr-8",value:m,onChange:e=>j(e.target.value)}),""===m?(0,n.jsx)("button",{type:"submit",className:"absolute right-0.5 top-1/2 aspect-square -translate-y-1/2 rounded-full p-2 hover:bg-accent",children:(0,n.jsx)(c.Mt,{viewBox:"0 0 20 20"})}):(0,n.jsx)("div",{className:"absolute right-0.5 top-1/2 aspect-square -translate-y-1/2 rounded-full p-2 hover:cursor-pointer",onClick:()=>j(""),children:(0,n.jsx)(d.default,{size:l?20:18})})]}),(0,n.jsx)(r.z,{type:"submit",variant:"outline",className:"rounded-full",children:"Search"})]})]}),(0,n.jsx)(a.UQ,{type:"single",collapsible:!0,className:"mb-16 w-full justify-between gap-x-5 gap-y-3 space-y-2 max-sm:grid-cols-1",children:null==b?void 0:b.map((e,s)=>{let l=w===s;return(0,n.jsxs)(a.Qd,{value:"item-".concat(s),onClick:()=>_(s),className:"h-max overflow-hidden rounded-2xl border-2 border-brand-vl_gray",children:[(0,n.jsxs)(a.o4,{shouldShow:!0,className:"w-full bg-brand-vl_gray px-4 py-4 text-left text-xs font-medium lg:text-base",children:[(0,n.jsx)("span",{className:"truncate",children:e.question}),(0,n.jsx)("div",{className:"relative",children:l?(0,n.jsx)(p.default,{size:18,className:"transition-opacity duration-300"}):(0,n.jsx)(x.default,{size:18,className:"transition-opacity duration-300"})})]}),(0,n.jsx)(a.vF,{className:"px-4 pt-4 text-[12px] lg:text-[16px]",children:C(e.answer)})]},"item-".concat(s))})})]})]})}}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=95121)}),_N_E=e.O()}]);

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.