(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6760,5557,2921,7525],{603:function(e,t,n){Promise.resolve().then(n.bind(n,8219)),Promise.resolve().then(n.bind(n,6281))},8219:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var r=n(7437),i=n(2265);function o(e){let{text:t,label:n}=e,[o,a]=(0,i.useState)(!1);async function l(){try{var e,n;if(null===(n=navigator)||void 0===n?void 0:null===(e=n.clipboard)||void 0===e?void 0:e.writeText)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}a(!0),setTimeout(()=>a(!1),2e3)}catch(e){a(!1)}}return(0,r.jsx)("button",{type:"button",onClick:l,"aria-label":n?"Copy ".concat(n):"Copy template",className:"inline-flex items-center gap-1.5 rounded-lg border border-blue-200 bg-white px-3 py-1.5 text-sm font-semibold text-blue-600 shadow-sm transition hover:bg-blue-50",children:o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.3 3.29 6.8-6.8a1 1 0 0 1 1.4 0Z",clipRule:"evenodd"})}),"Copied"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M7 3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H7Z"}),(0,r.jsx)("path",{d:"M3 7a2 2 0 0 1 1-1.73V15a2 2 0 0 0 2 2h7.73A2 2 0 0 1 12 18H6a3 3 0 0 1-3-3V7Z"})]}),"Copy template"]})})}},6281:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var r=n(7437),i=n(2265);function o(e){let{children:t,title:n,id:o,active:a=!1}=e,[l,d]=(0,i.useState)(a);return(0,r.jsxs)("div",{className:"relative rounded-lg bg-white/70 shadow shadow-black/[0.03] before:pointer-events-none before:absolute before:inset-0 before:rounded-[inherit] before:border before:border-transparent before:[background:linear-gradient(theme(colors.gray.100),theme(colors.gray.200))_border-box] before:[mask-composite:exclude_!important] before:[mask:linear-gradient(white_0_0)_padding-box,_linear-gradient(white_0_0)]",children:[(0,r.jsx)("h2",{children:(0,r.jsxs)("button",{className:"flex w-full items-center justify-between px-4 py-3 text-left font-semibold",onClick:e=>{e.preventDefault(),d(e=>!e)},"aria-expanded":l,"aria-controls":"accordion-text-".concat(o),children:[(0,r.jsx)("span",{children:n}),(0,r.jsx)("span",{className:"ml-8 flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-white shadow-sm",children:(0,r.jsx)("svg",{className:"origin-center transform fill-gray-400 transition duration-200 ease-out ".concat(l&&"!rotate-180"),xmlns:"http://www.w3.org/2000/svg",width:10,height:6,fill:"none",children:(0,r.jsx)("path",{d:"m2 .586 3 3 3-3L9.414 2 5.707 5.707a1 1 0 0 1-1.414 0L.586 2 2 .586Z",clipRule:"evenodd"})})})]})}),(0,r.jsx)("div",{id:"accordion-text-".concat(o),role:"region","aria-labelledby":"accordion-title-".concat(o),className:"grid overflow-hidden text-sm text-gray-600 transition-all duration-300 ease-in-out ".concat(l?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:(0,r.jsx)("div",{className:"overflow-hidden",children:(0,r.jsx)("div",{className:"px-4 pb-3",children:t})})})]})}}},function(e){e.O(0,[2971,7023,1744],function(){return e(e.s=603)}),_N_E=e.O()}]);