1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3823],{48852:function(e,t,n){var l={"./asset-hyperlink.json":94381,"./blockquote.json":41198,"./document.json":99291,"./embedded-asset-block.json":26940,"./embedded-entry-block.json":30010,"./embedded-entry-inline.json":66414,"./embedded-resource-block.json":49083,"./embedded-resource-inline.json":36426,"./entry-hyperlink.json":60260,"./heading-1.json":73405,"./heading-2.json":19699,"./heading-3.json":6,"./heading-4.json":36879,"./heading-5.json":5230,"./heading-6.json":36773,"./hr.json":52419,"./hyperlink.json":58865,"./list-item.json":67378,"./ordered-list.json":52150,"./paragraph.json":63590,"./resource-hyperlink.json":15113,"./table-cell.json":29098,"./table-header-cell.json":2030,"./table-row.json":65225,"./table.json":53725,"./text.json":87195,"./unordered-list.json":35968};function r(e){return n(o(e))}function o(e){if(!n.o(l,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return l[e]}r.keys=function(){return Object.keys(l)},r.resolve=o,e.exports=r,r.id=48852},11082:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});let l=(0,n(47512).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},65418:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var l=n(57437),r=n(9077),o=n(96271),i=n(18946),s=n(11082),a=n(6951),d=n(51494),c=n(16699);function u(e){let t=(0,r.n)({includedAttributes:[e.attribute]}),n=(0,o.b)(),{items:u,refine:p}=(0,i.c)(e);return(0,l.jsxs)(a.h_,{children:[(0,l.jsxs)(a.$F,{className:"bg-white rounded-full h-12 py-3 px-6 text-purple-700 max-w-full text-left text-sm flex justify-between items-center overflow-hidden whitespace-nowrap focus:border-2 focus:border-green-400 data-[state=open]:border-green-400",children:[(0,d.h)(function(){var t,l,r,o;let i=null==n?void 0:null===(t=n.items)||void 0===t?void 0:t.find(t=>t.attribute===e.attribute);return null!==(o=null==i?void 0:null===(r=i.refinements)||void 0===r?void 0:null===(l=r[0])||void 0===l?void 0:l.label)&&void 0!==o?o:"Choose one"}()),(0,l.jsx)(s.Z,{className:"w-4 h-4"})]}),(0,l.jsxs)(a.AW,{className:"w-[--radix-dropdown-menu-trigger-width] shadow-xl rounded-[12px] border-none",children:[u.map((e,n)=>(0,l.jsx)(a.Xi,{className:"flex flex-col items-start bg-white focus:bg-gray-50 cursor-pointer",onClick:()=>{null==t||t.refine(),p(e.value)},children:(0,d.h)(e.label)},n)),(0,l.jsxs)(a.Xi,{className:"flex items-center gap-1 mt-1 text-purple-400 bg-gray-50 focus:bg-gray-50 cursor-pointer",onClick:()=>{t.refine()},children:[(0,l.jsx)(c.Z,{width:12,height:12})," Clear selection"]})]})]})}},68944:function(e,t,n){"use strict";var l=n(57437);n(2265),t.Z=e=>{let{...t}=e;return(0,l.jsxs)("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("rect",{width:"38",height:"38",rx:"10",fill:"#1CC283"}),(0,l.jsx)("path",{d:"M24.0002 21.5V24H14.0002V21.5H12.3335V24C12.3335 24.9167 13.0835 25.6667 14.0002 25.6667H24.0002C24.9168 25.6667 25.6668 24.9167 25.6668 24V21.5H24.0002ZM23.1668 18.1667L21.9918 16.9917L19.8335 19.1417V12.3333H18.1668V19.1417L16.0085 16.9917L14.8335 18.1667L19.0002 22.3333L23.1668 18.1667Z",fill:"#2A206A"})]})}},93144:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var l=n(57437),r=n(99485),o=n(11988);function i(e){var t;let{href:n,prefetch:i,replace:s,scroll:a,shallow:d,locale:c,...u}=e,p="string"==typeof n?n:n&&"object"==typeof n&&"pathname"in n?String(null!==(t=n.pathname)&&void 0!==t?t:""):"";if((0,o.iu)("string"==typeof n?n:p)){let e="string"==typeof n?n:p||"#";return(0,l.jsx)("a",{href:e,...u})}return(0,l.jsx)(r.default,{href:n,prefetch:i,replace:s,scroll:a,shallow:d,locale:c,...u})}},44137:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var l=n(57437),r=n(21343),o=n(61616),i=n(60066),s=n(65418),a=n(11210),d=n(31583),c=n(47204),u=n(62075),p=n(99485),f=n(61817),v=n(16699),x=n(50258),m=n(2265),h=n(11988),j=n(50188);let g=(0,a.default)(()=>Promise.resolve().then(n.bind(n,50188)),{loadableGenerated:{webpack:()=>[50188]},ssr:!1}),b=(0,a.default)(()=>Promise.all([n.e(1422),n.e(5993)]).then(n.bind(n,35993)),{loadableGenerated:{webpack:()=>[35993]},ssr:!1});function y(e){var t,n,a,y;if(null==e?void 0:e.collectionPage)return(0,l.jsx)(b,{...e});let{refine:w,query:N}=(0,r.l)(),[C,D]=(0,m.useState)(!1),[k,E]=(0,m.useState)(N||""),{items:R,showMore:S,isLastPage:L}=(0,o.a)();(0,m.useEffect)(()=>{k?w(k):w("")},[k]),(0,m.useEffect)(()=>{!C&&N&&N!==k&&E(N)},[N]);let _=null==e?void 0:e.featuredResource,I=(0,h.ZP)(null==_?void 0:_.link);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.T,{filters:"hideFromListing:false"}),(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"relative group flex flex-col md:flex-row py-[75px]",children:[I&&(0,l.jsx)(p.default,{href:I,className:"absolute z-10 top-0 left-0 right-0 bottom-0"}),(null==_?void 0:_.media)&&(0,l.jsx)("div",{className:"flex-shrink-0 w-full md:w-1/2",children:(0,l.jsx)("div",{className:"aspect-square overflow-hidden rounded-[12px]",children:(0,l.jsx)(c.Z,{__typename:"media",priority:!0,asset:null==_?void 0:null===(t=_.media)||void 0===t?void 0:t.asset,sizes:"(max-width: 768px) 100vw, 768px",responsive:!1,className:"w-full h-full object-cover object-center"})})}),(0,l.jsxs)("div",{className:"flex flex-col justify-center items-start gap-6 w-full md:w-1/2 md:pl-[50px] pt-[50px] md:pt-0",children:[(null==_?void 0:_.eyebrow)&&(0,l.jsx)("div",{className:"text-[10px] leading-[12px] text-primary pt-[5px] pb-[5px] px-[10px] rounded-[5px] shadow-sm font-medium bg-[#33E9C3]",children:null==_?void 0:_.eyebrow}),(null==_?void 0:_.title)&&(0,l.jsx)("h2",{className:"text-[32px]",children:_.title}),(null==_?void 0:null===(n=_.body)||void 0===n?void 0:n.json)&&(0,l.jsx)(u.Z,{content:_.body.json}),(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(null==e?void 0:e.featuredResourceAuthor)&&(0,l.jsx)("span",{className:"font-semibold",children:e.featuredResourceAuthor}),(null==e?void 0:e.featuredResourceDate)&&(()=>{try{let t=new Date(e.featuredResourceDate);if(isNaN(t.getTime()))return e.featuredResourceDate;let n=t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});return(null==e?void 0:e.featuredResourceAuthor)?", ".concat(n):n}catch(t){return", ".concat(e.featuredResourceDate)}})()]})]})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 pb-[75px]",children:null==e?void 0:null===(y=e.featuredItemsCollection)||void 0===y?void 0:null===(a=y.items)||void 0===a?void 0:a.map((e,t)=>(0,l.jsx)(j.HubCard,{data:{...e,size:"Short"}},t))})]})}),(0,l.jsx)("div",{className:"bg-gray-50 py-[75px]",id:"mq-is-filters",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:" grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("label",{className:"pl-[25px] text-sm pb-[12px] font-medium",children:"Filter by Solution"}),(0,l.jsx)(s.Z,{attribute:"keySolution"})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("label",{className:"pl-[25px] text-sm pb-[12px] font-medium",children:"Filter by Industries"}),(0,l.jsx)(s.Z,{attribute:"verticals"})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,l.jsx)("label",{className:"pl-[25px] text-sm pb-[12px] font-medium",children:"Filter by Type"}),(0,l.jsx)(s.Z,{attribute:"type"})]})]})})}),(0,l.jsx)("div",{className:"container pt-[75px]",children:(0,l.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6",id:"mq-is-results",children:[(0,l.jsx)("h2",{className:"text-[30px] font-semibold flex-grow",children:"Results"}),(0,l.jsxs)("div",{className:"relative mx-auto max-w-full w-full md:w-1/2",children:[(0,l.jsx)("div",{className:"absolute top-0 bottom-0 left-2 flex items-center",children:(0,l.jsx)(x.SearchIcon,{})}),(0,l.jsx)("input",{type:"text",className:"rounded-full bg-gray-50 text-base w-full max-w-full h-14 py-2 px-14 mx-auto block placeholder:text-[#49454F]",onChange:e=>{var t;C||D(!0),E(null==e?void 0:null===(t=e.currentTarget)||void 0===t?void 0:t.value)},onBlur:()=>{D(!1)},value:k,placeholder:"Search categories and more"}),(0,l.jsx)("div",{className:"absolute right-4 top-0 bottom-0 flex items-center",children:""===k?(0,l.jsx)(f.Z,{}):(0,l.jsx)(v.Z,{className:"cursor-pointer",onClick:()=>E("")})})]})]})}),(0,l.jsx)("div",{className:"container py-[75px]",children:(0,l.jsx)(g,{items:R})}),!L&&(0,l.jsx)("div",{className:"flex justify-center ",children:(0,l.jsx)(d.default,{variant:"button-contained",color:"Secondary",size:"Large",onClick:e=>{e.preventDefault(),S()},href:"",text:"Load More"})})]})}},50258:function(e,t,n){"use strict";n.r(t),n.d(t,{SearchIcon:function(){return a},default:function(){return d}});var l=n(57437),r=n(2265),o=n(21343),i=n(61817),s=n(16699);function a(){return(0,l.jsx)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M27.6 29L21.3 22.7C20.8 23.1 20.225 23.4167 19.575 23.65C18.925 23.8833 18.2333 24 17.5 24C15.6833 24 14.1458 23.3708 12.8875 22.1125C11.6292 20.8542 11 19.3167 11 17.5C11 15.6833 11.6292 14.1458 12.8875 12.8875C14.1458 11.6292 15.6833 11 17.5 11C19.3167 11 20.8542 11.6292 22.1125 12.8875C23.3708 14.1458 24 15.6833 24 17.5C24 18.2333 23.8833 18.925 23.65 19.575C23.4167 20.225 23.1 20.8 22.7 21.3L29 27.6L27.6 29ZM17.5 22C18.75 22 19.8125 21.5625 20.6875 20.6875C21.5625 19.8125 22 18.75 22 17.5C22 16.25 21.5625 15.1875 20.6875 14.3125C19.8125 13.4375 18.75 13 17.5 13C16.25 13 15.1875 13.4375 14.3125 14.3125C13.4375 15.1875 13 16.25 13 17.5C13 18.75 13.4375 19.8125 14.3125 20.6875C15.1875 21.5625 16.25 22 17.5 22Z",fill:"#49454F"})})}function d(e){let[t,n]=(0,r.useState)(!1),[d,c]=(0,r.useState)(""),{refine:u,query:p}=(0,o.l)();return(0,r.useEffect)(()=>
1{d?u(d):u("")},[d]),(0,r.useEffect)(()=>{!t&&p&&p!==d&&c(p)},[p]),(0,l.jsx)("div",{className:"container pt-12",children:(0,l.jsxs)("div",{className:"relative w-[720px] mx-auto max-w-full",children:[(0,l.jsx)("div",{className:"absolute top-0 bottom-0 left-2 flex items-center",children:(0,l.jsx)(a,{})}),(0,l.jsx)("input",{type:"text",className:"rounded-full w-full max-w-full h-14 py-4 px-14 mx-auto block placeholder:text-[#49454F]",onChange:e=>{var l;t||n(!0),c(null==e?void 0:null===(l=e.currentTarget)||void 0===l?void 0:l.value)},onBlur:()=>{n(!1)},value:d,onKeyDown:e=>{if("Enter"===e.key){let e=document.querySelector("#mq-is-results");if(e){let t=e.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:t-86,behavior:"smooth"})}}},placeholder:"Search categories and more"}),(0,l.jsx)("div",{className:"absolute right-4 top-0 bottom-0 flex items-center",children:""===d?(0,l.jsx)(i.Z,{}):(0,l.jsx)(s.Z,{className:"cursor-pointer",onClick:()=>c("")})})]})})}},62075:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var l=n(57437),r=n(66413),o=n(12467),i=n(47204),s=n(2265);function a(e){var t,n,r,o,s,a;let d=[...null!==(s=null==e?void 0:null===(n=e.links)||void 0===n?void 0:null===(t=n.entries)||void 0===t?void 0:t.inline)&&void 0!==s?s:[],...null!==(a=null==e?void 0:null===(o=e.links)||void 0===o?void 0:null===(r=o.entries)||void 0===r?void 0:r.block)&&void 0!==a?a:[]],c=null==d?void 0:d.find(t=>{var n,l,r,o;return(null==t?void 0:null===(n=t.sys)||void 0===n?void 0:n.id)===(null==e?void 0:null===(o=e.node)||void 0===o?void 0:null===(r=o.target)||void 0===r?void 0:null===(l=r.sys)||void 0===l?void 0:l.id)});return(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)(i.Z,{...c,blog:!0})})}function d(e){var t,n,r,o,s,a;let d=[...null!==(s=null==e?void 0:null===(n=e.links)||void 0===n?void 0:null===(t=n.assets)||void 0===t?void 0:t.inline)&&void 0!==s?s:[],...null!==(a=null==e?void 0:null===(o=e.links)||void 0===o?void 0:null===(r=o.assets)||void 0===r?void 0:r.block)&&void 0!==a?a:[]],c=null==d?void 0:d.find(t=>{var n,l,r,o;return(null==t?void 0:null===(n=t.sys)||void 0===n?void 0:n.id)===(null==e?void 0:null===(o=e.node)||void 0===o?void 0:null===(r=o.target)||void 0===r?void 0:null===(l=r.sys)||void 0===l?void 0:l.id)});return(0,l.jsx)("div",{className:"w-[50%]",children:(0,l.jsx)(i.Z,{asset:c,__typename:"media",disableCornerRadius:!0})})}let c={renderNode:{[o.BLOCKS.PARAGRAPH]:(e,t)=>(0,l.jsx)("p",{className:"whitespace-pre-wrap",children:t.map((e,t)=>{if("string"==typeof e){let t=e.split("\n");return t.map((e,n)=>(0,l.jsxs)(s.Fragment,{children:[e,n<t.length-1&&(0,l.jsx)("br",{})]},n))}return e})})}};function u(e){var t;let n={renderNode:{[o.BLOCKS.TABLE]:(e,t)=>{let n=[],i=[];return e.content.forEach(e=>{e.content.some(e=>e.nodeType===o.BLOCKS.TABLE_HEADER_CELL)?n.push((0,l.jsx)("tr",{children:e.content.map((e,t)=>(0,l.jsx)(l.Fragment,{children:(0,r.h)(e,c)}))})):i.push((0,l.jsx)("tr",{children:e.content.map((e,t)=>(0,l.jsx)(l.Fragment,{children:(0,r.h)(e,c)}))}))}),(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsxs)("table",{children:[n.length>0&&(0,l.jsx)("thead",{children:n}),i.length>0&&(0,l.jsx)("tbody",{children:i})]})})},[o.BLOCKS.UL_LIST]:(t,n)=>(null==e?void 0:e.variant)==="blog"?(0,l.jsx)("ul",{className:"list-disc pl-10",children:n}):(0,l.jsx)("ul",{className:"list-disc pl-10 my-4",children:n}),[o.BLOCKS.OL_LIST]:(e,t)=>(0,l.jsx)("ol",{className:"list-decimal pl-10 my-4",children:t}),[o.BLOCKS.HEADING_2]:(t,n)=>(null==e?void 0:e.variant)==="blog"?(0,l.jsx)("h2",{className:"text-h3",children:n}):(0,l.jsx)("h2",{children:n}),[o.BLOCKS.LIST_ITEM]:(e,t)=>(0,l.jsx)("li",{children:t}),[o.BLOCKS.EMBEDDED_ENTRY]:t=>(0,l.jsx)(a,{node:t.data,links:null==e?void 0:e.links}),[o.INLINES.EMBEDDED_ENTRY]:t=>(0,l.jsx)(a,{node:t.data,links:null==e?void 0:e.links},t.data.target.sys.id),[o.BLOCKS.EMBEDDED_ASSET]:t=>(0,l.jsx)(d,{node:t.data,links:null==e?void 0:e.links}),[o.BLOCKS.PARAGRAPH]:(t,n)=>{var r,o;let i=(null===(o=((null===(r=t.content[0])||void 0===r?void 0:r.value)||"").match(/^\s+/))||void 0===o?void 0:o[0])||"";return(0,l.jsxs)("div",{className:"".concat((null==e?void 0:e.variant)==="blog"?"mb-6":"mb-4"),children:[i.split("").map((e,t)=>(0,l.jsx)(s.Fragment,{children:"\xa0"},t)),n]})},[o.BLOCKS.HR]:(t,n)=>{let r=(null==e?void 0:e.parentColorScheme)==="Green"?"bg-purple-A100":"bg-green-500";return(0,l.jsx)("div",{className:"w-11 h-[3px] ".concat(r," mt-[50px] mb-5")})},[o.INLINES.HYPERLINK]:(e,t)=>{var n,r;let o=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.uri,s=null==o?void 0:o.includes("vimeo");return o&&s?(0,l.jsx)("span",{children:(0,l.jsx)(i.Z,{__typename:"Link",text:t,href:o,linkedContent:{__typename:"Media",assetUrl:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.uri},className:"inline"})}):(o&&(null==o?void 0:o.startsWith("http://"))&&(o=o.replace("http://","https://")),(null==o?void 0:o.startsWith("https://marqeta.com"))&&(o=o.replace("https://marqeta.com","https://www.marqeta.com")),/marqeta\.com\/blog\/\d{4}\/\d{2}\/\d{2}\//gi.test(o)&&(o=o.replace(/\/\d{4}\/\d{2}\/\d{2}\//gi,"/")),(0,l.jsx)("a",{href:o,className:"underline",children:t}))}},renderText:e=>""===e.trim()?(0,l.jsx)("br",{}
1):/\r?\n/.test(e)?e.split(/\r?\n/).reduce((e,t,n)=>0===n?[t]:[...e,(0,l.jsx)("br",{},"br-".concat(n)),t],[]):e,renderMark:{[o.MARKS.CODE]:e=>(0,l.jsx)("pre",{className:"bg-gray-50 text-purple-700 p-4 rounded overflow-x-auto",children:(0,l.jsx)("code",{className:"block whitespace-pre-wrap",children:e})})}};return(0,l.jsx)(l.Fragment,{children:(0,r.h)(e.content,{...n,...null!==(t=null==e?void 0:e.options)&&void 0!==t?t:{}})})}},88976:function(e,t,n){"use strict";n.d(t,{cn:function(){return o}});var l=n(98099),r=n(18543);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.m6)((0,l.W)(t))}},28631:function(e,t,n){"use strict";n.d(t,{Dx:function(){return el},VY:function(){return en},aV:function(){return et},dk:function(){return er},fC:function(){return J},h_:function(){return ee},x8:function(){return eo},xz:function(){return Q}});var l=n(2265),r=n(82159),o=n(39963),i=n(9883),s=n(52145),a=n(98571),d=n(6712),c=n(47126),u=n(18332),p=n(88889),f=n(26978),v=n(81697),x=n(93572),m=n(56551),h=n(98230),j=n(57437),g="Dialog",[b,y]=(0,i.b)(g),[w,N]=b(g),C=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:d=!0}=e,c=l.useRef(null),u=l.useRef(null),[p=!1,f]=(0,a.T)({prop:r,defaultProp:o,onChange:i});return(0,j.jsx)(w,{scope:t,triggerRef:c,contentRef:u,contentId:(0,s.M)(),titleId:(0,s.M)(),descriptionId:(0,s.M)(),open:p,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(e=>!e),[f]),modal:d,children:n})};C.displayName=g;var D="DialogTrigger",k=l.forwardRef((e,t)=>{let{__scopeDialog:n,...l}=e,i=N(D,n),s=(0,o.e)(t,i.triggerRef);return(0,j.jsx)(f.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":z(i.open),...l,ref:s,onClick:(0,r.M)(e.onClick,i.onOpenToggle)})});k.displayName=D;var E="DialogPortal",[R,S]=b(E,{forceMount:void 0}),L=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=N(E,t);return(0,j.jsx)(R,{scope:t,forceMount:n,children:l.Children.map(r,e=>(0,j.jsx)(p.z,{present:n||i.open,children:(0,j.jsx)(u.h,{asChild:!0,container:o,children:e})}))})};L.displayName=E;var _="DialogOverlay",I=l.forwardRef((e,t)=>{let n=S(_,e.__scopeDialog),{forceMount:l=n.forceMount,...r}=e,o=N(_,e.__scopeDialog);return o.modal?(0,j.jsx)(p.z,{present:l||o.open,children:(0,j.jsx)(A,{...r,ref:t})}):null});I.displayName=_;var O=(0,h.Z8)("DialogOverlay.RemoveScroll"),A=l.forwardRef((e,t)=>{let{__scopeDialog:n,...l}=e,r=N(_,n);return(0,j.jsx)(x.Z,{as:O,allowPinchZoom:!0,shards:[r.contentRef],children:(0,j.jsx)(f.WV.div,{"data-state":z(r.open),...l,ref:t,style:{pointerEvents:"auto",...l.style}})})}),F="DialogContent",Z=l.forwardRef((e,t)=>{let n=S(F,e.__scopeDialog),{forceMount:l=n.forceMount,...r}=e,o=N(F,e.__scopeDialog);return(0,j.jsx)(p.z,{present:l||o.open,children:o.modal?(0,j.jsx)(M,{...r,ref:t}):(0,j.jsx)(B,{...r,ref:t})})});Z.displayName=F;var M=l.forwardRef((e,t)=>{let n=N(F,e.__scopeDialog),i=l.useRef(null),s=(0,o.e)(t,n.contentRef,i);return l.useEffect(()=>{let e=i.current;if(e)return(0,m.Ry)(e)},[]),(0,j.jsx)(T,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,r.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,r.M)(e.onFocusOutside,e=>e.preventDefault())})}),B=l.forwardRef((e,t)=>{let n=N(F,e.__scopeDialog),r=l.useRef(!1),o=l.useRef(!1);return(0,j.jsx)(T,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var l,i;null===(l=e.onCloseAutoFocus)||void 0===l||l.call(e,t),t.defaultPrevented||(r.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var l,i;null===(l=e.onInteractOutside)||void 0===l||l.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let s=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),T=l.forwardRef((e,t)=>
1{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=e,u=N(F,n),p=l.useRef(null),f=(0,o.e)(t,p);return(0,v.EW)(),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.M,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,j.jsx)(d.XB,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":z(u.open),...a,ref:f,onDismiss:()=>u.onOpenChange(!1)})}),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(X,{titleId:u.titleId}),(0,j.jsx)($,{contentRef:p,descriptionId:u.descriptionId})]})]})}),P="DialogTitle",K=l.forwardRef((e,t)=>{let{__scopeDialog:n,...l}=e,r=N(P,n);return(0,j.jsx)(f.WV.h2,{id:r.titleId,...l,ref:t})});K.displayName=P;var V="DialogDescription",H=l.forwardRef((e,t)=>{let{__scopeDialog:n,...l}=e,r=N(V,n);return(0,j.jsx)(f.WV.p,{id:r.descriptionId,...l,ref:t})});H.displayName=V;var W="DialogClose",q=l.forwardRef((e,t)=>{let{__scopeDialog:n,...l}=e,o=N(W,n);return(0,j.jsx)(f.WV.button,{type:"button",...l,ref:t,onClick:(0,r.M)(e.onClick,()=>o.onOpenChange(!1))})});function z(e){return e?"open":"closed"}q.displayName=W;var G="DialogTitleWarning",[U,Y]=(0,i.k)(G,{contentName:F,titleName:P,docsSlug:"dialog"}),X=e=>{let{titleId:t}=e,n=Y(G),r="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return l.useEffect(()=>{t&&!document.getElementById(t)&&console.error(r)},[r,t]),null},$=e=>{let{contentRef:t,descriptionId:n}=e,r=Y("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(r.contentName,"}.");return l.useEffect(()=>{var e;let l=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&l&&!document.getElementById(n)&&console.warn(o)},[o,t,n]),null},J=C,Q=k,ee=L,et=I,en=Z,el=K,er=H,eo=q}}]);
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.