"use strict";(globalThis.webpackChunkwp_cloudflare_page_cache=globalThis.webpackChunkwp_cloudflare_page_cache||[]).push([[21],{6214:(e,n,t)=>{t.d(n,{N:()=>s});var r=t(1609),o=t(2133),a=t(1071),l=t(3362),i=t(4848);function s(e){const n=e+"CollectionProvider",[t,s]=(0,o.A)(n),[c,d]=t(n,{collectionRef:{current:null},itemMap:new Map}),u=e=>{const{scope:n,children:t}=e,o=r.useRef(null),a=r.useRef(new Map).current;return(0,i.jsx)(c,{scope:n,itemMap:a,collectionRef:o,children:t})};u.displayName=n;const p=e+"CollectionSlot",f=(0,l.TL)(p),m=r.forwardRef(((e,n)=>{const{scope:t,children:r}=e,o=d(p,t),l=(0,a.s)(n,o.collectionRef);return(0,i.jsx)(f,{ref:l,children:r})}));m.displayName=p;const h=e+"CollectionItemSlot",b="data-radix-collection-item",C=(0,l.TL)(h),y=r.forwardRef(((e,n)=>{const{scope:t,children:o,...l}=e,s=r.useRef(null),c=(0,a.s)(n,s),u=d(h,t);return r.useEffect((()=>(u.itemMap.set(s,{ref:s,...l}),()=>{u.itemMap.delete(s)}))),(0,i.jsx)(C,{[b]:"",ref:c,children:o})}));return y.displayName=h,[{Provider:u,Slot:m,ItemSlot:y},function(n){const t=d(e+"CollectionConsumer",n);return r.useCallback((()=>{const e=t.collectionRef.current;if(!e)return[];const n=Array.from(e.querySelectorAll(`[${b}]`));return Array.from(t.itemMap.values()).sort(((e,t)=>n.indexOf(e.ref.current)-n.indexOf(t.ref.current)))}),[t.collectionRef,t.itemMap])},s]}Map},8309:(e,n,t)=>{t.d(n,{A:()=>r});const r=(0,t(9407).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},8834:(e,n,t)=>{t.d(n,{UC:()=>k,bL:()=>N,l9:()=>M,z3:()=>h});var r=t(1609),o=t(9957),a=t(2133),l=t(1351),i=t(8200),s=t(1071),c=t(2579),d=t(7971),u=t(1104),p=t(4848),f="Collapsible",[m,h]=(0,a.A)(f),[b,C]=m(f),y=r.forwardRef(((e,n)=>{const{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:i,onOpenChange:s,...d}=e,[m,h]=(0,l.i)({prop:o,defaultProp:a??!1,onChange:s,caller:f});return(0,p.jsx)(b,{scope:t,disabled:i,contentId:(0,u.B)(),open:m,onOpenToggle:r.useCallback((()=>h((e=>!e))),[h]),children:(0,p.jsx)(c.sG.div,{"data-state":_(m),"data-disabled":i?"":void 0,...d,ref:n})})}));y.displayName=f;var R="CollapsibleTrigger",v=r.forwardRef(((e,n)=>{const{__scopeCollapsible:t,...r}=e,a=C(R,t);return(0,p.jsx)(c.sG.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":_(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:n,onClick:(0,o.m)(e.onClick,a.onOpenToggle)})}));v.displayName=R;var x="CollapsibleContent",g=r.forwardRef(((e,n)=>{const{forceMount:t,...r}=e,o=C(x,e.__scopeCollapsible);return(0,p.jsx)(d.C,{present:t||o.open,children:({present:e})=>(0,p.jsx)(w,{...r,ref:n,present:e})})}));g.displayName=x;var w=r.forwardRef(((e,n)=>{const{__scopeCollapsible:t,present:o,children:a,...l}=e,d=C(x,t),[u,f]=r.useState(o),m=r.useRef(null),h=(0,s.s)(n,m),b=r.useRef(0),y=b.current,R=r.useRef(0),v=R.current,g=d.open||u,w=r.useRef(g),N=r.useRef(void 0);return r.useEffect((()=>{const e=requestAnimationFrame((()=>w.current=!1));return()=>cancelAnimationFrame(e)}),[]),(0,i.N)((()=>{const e=m.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const n=e.getBoundingClientRect();b.current=n.height,R.current=n.width,w.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),f(o)}}),[d.open,o]),(0,p.jsx)(c.sG.div,{"data-state":_(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!g,...l,ref:h,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:g&&a})}));function _(e){return e?"open":"closed"}var N=y,M=v,k=g}}]);