PageSourceSearch

https://jigyasa.fun/assets/TestimonialsSection-Bw-j5R53.js

js jigyasa.fun collected 2026-10-02 01:56:09 UTC 7,407 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c570eab6-8dcd-5401-9ec2-aa7ba296e12b")}catch(e){}}();
3import{a as e,t}from"./jsx-runtime-CMgEUHpv.js";import{V as n}from"./dist-CAHjj65Z.js";import{t as r}from"./classnames-PxzWHlFm.js";import{t as i}from"./Typography-DJfjxaJy.js";import{t as a}from"./useWebThemeContext-BJu9VsBR.js";import{t as o}from"./ChevronDownIcon-B_shkkzD.js";import{t as s}from"./MarkDownRender-D4I8PP9R.js";import{t as c}from"./Image-B1Otrzxn.js";import{t as l}from"./disclosure-Z-IQsoqQ.js";var u=e(n());function d({title:e,titleId:t,...n},r){return u.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?u.createElement(`title`,{id:t},e):null,u.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m4.5 15.75 7.5-7.5 7.5 7.5`}))}var f=u.forwardRef(d);function p({title:e,titleId:t,...n},r){return u.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,"data-slot":`icon`,ref:r,"aria-labelledby":t},n),e?u.createElement(`title`,{id:t},e):null,u.createElement(`path`,{fillRule:`evenodd`,d:`M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z`,clipRule:`evenodd`}))}var m=u.forwardRef(p),h=e(r(),1),g=t(),_=({faqSection:e,isFirstQuestionOpen:t})=>(0,g.jsx)(`div`,{className:`w-full`,children:(0,g.jsx)(`dl`,{className:`mt-10`,children:e.faqs.map((n,r)=>(0,g.jsx)(l,{as:`div`,className:(0,h.default)(`py-6`,r!==e.faqs.length-1&&`border-b`),defaultOpen:t&&r===0,style:{borderColor:e.faq_border_color},children:({open:t})=>(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(`dt`,{children:(0,g.jsxs)(l.Button,{className:`flex w-full items-start justify-between text-left text-gray-600`,children:[(0,g.jsx)(i,{as:`span`,size:`lg`,weight:`semibold`,fontFamily:e.faq_font_family,color:e.faq_question_color,children:(0,g.jsx)(s,{children:n.question})}),(0,g.jsx)(`span`,{style:{color:e.faq_button_color},className:`ml-6 flex h-7 items-center`,children:t?(0,g.jsx)(f,{className:`h-5 w-5`,"aria-hidden":`true`}):(0,g.jsx)(o,{className:`h-5 w-5`,"aria-hidden":`true`})})]})}),(0,g.jsx)(l.Panel,{as:`dd`,className:`mt-2 pr-12`,children:(0,g.jsx)(i,{as:`div`,size:`sm`,weight:`regular`,fontFamily:e.faq_font_family,color:e.faq_answer_color,children:(0,g.jsx)(s,{children:n.answer})})})]})},n.question))})}),v=({faq_section:e,isFirstQuestionOpen:t})=>(0,g.jsx)(`div`,{style:{backgroundColor:e.bg_color},className:`flex flex-col p-16 px-4 pb-24`,children:(0,g.jsxs)(`div`,{className:`mx-auto w-full max-w-5xl`,children:[(0,g.jsxs)(`div`,{className:`mb-2 flex w-full flex-col items-center space-y-2`,children:[e.overline&&(0,g.jsx)(i,{as:`span`,size:e.overline_font_size,weight:`bold`,fontFamily:e.overline_font_family,color:e.overline_color,className:(0,h.default)({"w-full":!0,"text-center":e.text_align===`center`,"text-left":e.text_align===`left`,"text-right":e.text_align===`right`}),children:(0,g.jsx)(s,{children:e.overline})}),(0,g.jsx)(i,{as:`h1`,size:e.headline_font_size,weight:`bold`,fontFamily:e.headline_font_family,color:e.headline_color,className:(0,h.default)({"w-full":!0,"text-center":e.text_align===`center`,"text-left":e.text_align===`left`,"text-right":e.text_align===`right`}),children:(0,g.jsx)(s,{children:e.headline})})]}),(0,g.jsx)(_,{faqSection:e,isFirstQuestionOpen:t})]})}),y=({publication:e,className:t})=>{let{classes:n}=a();return(0,g.jsx)(`div`,{className:(0,h.default)(n.radius,n.shadow,`overflow-hidden`,t),children:e.logo.thumb.url&&(0,g.jsx)(c,{src:e.logo.thumb.url,alt:e.name,maxWidth:200,aspectRatio:`square`})})},b=({message:e,pictureUrl:t,name:n,description:r,testimonialsSection:o})=>{let{isEnabled:c}=a(),l=()=>(0,g.jsx)(m,{style:{color:o.card_accent_color},className:(0,h.default)({"h-5 w-5":!0})});return(0,g.jsxs)(`div`,{style:{backgroundColor:o.card_bg_color,borderColor:o.card_border_color},className:(0,h.default)({"col-span-1 flex w-full max-w-none flex-col space-y-4 rounded rounded-lg p-8 sm:max-w-xs":!0,"shadow-sm":!c&&o.card_shadow_size===`sm`,"shadow-md":!c&&o.card_shadow_size===`md`,"shadow-lg":!c&&o.card_shadow_size===`lg`},c&&`border`),children:[!c&&(0,g.jsxs)(`div`,{className:`flex space-x-1`,children:[l(),l(),l(),l(),l()]}),(0,g.jsxs)(`figure`,{className:`flex flex-grow flex-col`,children:[(0,g.jsx)(`blockquote`,{className:`flex-grow text-gray-950`,children:(0,g.jsx)(i,{as:`div`,size:`md`,weight:`medium`,fontFamily:o.card_font_family,color:o.card_text_color,className:(0,h.default)({"w-full":!0}),children:(0,g.jsx)(s,{children:`“${e}”`})})}),(0,g.jsxs)(`figcaption`,{className:`mt-8 flex gap-x-2`,children:[(0,g.jsx)(`img`,{className:`h-10 w-10 rounded-full bg-gray-50`,src:t,alt:``}),(0,g.jsxs)(`div`,{className:`flex flex-col`,children:[(0,g.jsx)(i,{as:`span`,size:`sm`,weight:`bold`,fontFamily:o.card_font_family,color:o.card_text_color,className:(0,h.default)({"w-full":!0}),children:(0,g.jsx)(s,{children:n})}),(0,g.jsx)(i,{as:`span`,size:`xs`,weight:`light`,fontFamily:o.card_font_family,color:o.card_text_color,className:(0,h.default)({"w-full":!0}),children:(0,g.jsx)(s,{children:r})})]})]})]})]})},x=(e,t)=>{let n=t.filter(t=>e.includes(t.testimonial_id)),r=t.filter(t=>!e.includes(t.testimonial_id));return[...n.sort((t,n)=>e.indexOf(t.testimonial_id)-e.indexOf(n.testimonial_id)),...r]},S=({isUpgradePage:e=!1,testimonialsSection:t,testimonials:n,redirectActionChild:r})=>{let a=x(t?.testimonials,n);return(0,g.jsx)(`div`,{style:{backgroundColor:t?.bg_color},className:(0,h.default)({"flex flex-col p-16 px-4 pb-28":!0}),children:(0,g.jsxs)(`div`,{className:`mx-auto w-full max-w-5xl`,children:[(0,g.jsxs)(`div`,{className:`mb-2 flex w-full flex-col items-center space-y-2`,children:[t?.overline&&(0,g.jsx)(i,{as:`span`,size:t?.overline_font_size,weight:`bold`,fontFamily:t?.overline_font_family,color:t?.overline_color,className:(0,h.default)({"w-full":!0,"text-center":t?.text_align===`center`,"text-left":t?.text_align===`left`,"text-right":t?.text_align===`right`}),children:(0,g.jsx)(s,{children:t?.overline})}),(0,g.jsx)(i,{as:`h1`,size:t?.headline_font_size,weight:`bold`,color:t?.headline_color,fontFamily:t?.headline_font_family,className:(0,h.default)({"w-full":!0,"text-center":t?.text_align===`center`,"text-left":t?.text_align===`left`,"text-right":t?.text_align===`right`}),children:(0,g.jsx)(s,{children:t?.headline})})]}),(0,g.jsx)(`div`,{className:(0,h.default)({"mt-12 flex flex-wrap gap-8":!0,"justify-center":t?.text_align===`center`,"justify-start":t?.text_align===`left`,"justify-end":t?.text_align===`right`}),children:a?.map(e=>(0,g.jsx)(b,{message:e.message,pictureUrl:e.picture_url,name:e.name,description:e.description,testimonialsSection:t},e.id))}),e&&r]})})};export{y as n,v as r,S as t};
4//# sourceMappingURL=TestimonialsSection-Bw-j5R53.js.map
5//# debugId=c570eab6-8dcd-5401-9ec2-aa7ba296e12b

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.