PageSourceSearch

https://syncable.biz/_next/static/chunks/0i0575bratdsh.js

js syncable.biz collected 2026-10-02 04:27:01 UTC 27,480 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1b4f858a-e14d-e41f-06df-fc8b26f9482e")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,748907,e=>{"use strict";var t=e.i(818113),i=e.i(117579);let r={props:{name:(0,t.n)("Name"),deductible:(0,t.n)("Deductible"),anonymous:(0,t.n)("Anonymous Allowed")},format:{n:e=>`${(0,i.formatNumber)(e)} organizations`}},a={props:{name:(0,t.n)("団体名"),deductible:(0,t.n)("寄付金控除対象"),anonymous:(0,t.n)("匿名で支援可")},format:{n:e=>`${(0,i.formatNumber)(e)}団体`}},n=(0,e.i(165145).createI18nHook)({en:r,ja:a});e.s(["useI18nForAssociateModel",0,n],748907)},889507,815099,e=>{"use strict";var t=e.i(191788);let i={global:{},campaign:new Map},r=t.default.createContext(i),a=t.default.createContext(()=>{}),n=()=>(0,t.useContext)(r);e.s(["RemoteConfigDispatchContext",0,a,"RemoteConfigStateContext",0,r,"initialState",0,i,"reducer",0,(e,t)=>{switch(t.type){case"set-global":return{...e,global:t.payload};case"set-campaign":return{...e,campaign:new Map(t.payload.map(e=>[e.id,e]))}}},"useRemoteConfigDispatchContext",0,()=>(0,t.useContext)(a),"useRemoteConfigStateContext",0,n],815099),e.s(["useRemoteConfigCampaign",0,()=>{let{campaign:e}=n();return e},"useRemoteConfigGlobal",0,()=>{let{global:e}=n();return e}],889507)},288561,e=>{"use strict";var t=e.i(945249),i=e.i(715328),r=e.i(30647),a=e.i(134717),n=e.i(614187);e.s(["useAppUri",0,({path:e,query:s})=>{let{locale:o}=(0,i.useI18n)(),l=(0,a.apply)(s)((0,n.pipe)(r.asQueryString,e=>e?`?${e}`:""))||"",c="ja"===o?"":`/${o}`;return`${t.env.APP_URI}${c}${e}${l}`}])},517636,e=>{"use strict";var t=e.i(391398),i=e.i(958678),r=e.i(945249),a=e.i(288561);let n=`${r.env.APP_URI}/image/ogp.jpg`;e.s(["AppHead",0,()=>(0,t.jsxs)(i.default,{children:[(0,t.jsx)("title",{children:"Syncable"},"title"),(0,t.jsx)("link",{rel:"preconnect",href:r.env.API_ENDPOINT,crossOrigin:"use-credentials"},`preconnect.${r.env.API_ENDPOINT}`)]}),"Head",0,({title:e,url:r,query:s,image:o,description:l,serviceSuffixAfterTitle:c,noIndex:u,children:d})=>{let p=e&&(c?`${e} | Syncable`:e),g=(0,a.useAppUri)({path:r||"",query:s}),h=void 0!==r?g:void 0;return(0,t.jsxs)(i.default,{children:[p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:p},"title"),(0,t.jsx)("meta",{property:"og:title",content:p},"og:title"),(0,t.jsx)("meta",{name:"twitter:title",content:p},"twitter:title")]}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{name:"description",content:l},"description"),(0,t.jsx)("meta",{property:"og:description",content:l},"og:description"),(0,t.jsx)("meta",{name:"twitter:description",content:l},"twitter:description")]}),(0,t.jsx)("meta",{property:"og:type",content:"website"},"og:type"),h&&(0,t.jsx)("meta",{property:"og:url",content:h},"og:url"),!0===o?(0,t.jsx)("meta",{property:"og:image",content:n},"og:image"):o&&(0,t.jsx)("meta",{property:"og:image",content:o},"og:image"),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),u&&(0,t.jsx)("meta",{name:"robots",content:"noindex"},"robots"),d]})}])},497778,e=>{"use strict";var t=e.i(391398),i=e.i(412081),r=e.i(314771);e.s(["Heading",0,({type:e="dark",size:a="lg",fontWeight:n="bold",...s})=>(0,t.jsx)(i.Heading,{lineHeight:"base",wordBreak:"break-word",fontSize:r.headingSizeMap[a],color:r.textColorMap[e],fontWeight:n,...s})])},614187,e=>{"use strict";e.s(["pipe",0,function(...e){return t=>e.reduce((e,t)=>t(e),t)}])},660924,e=>{"use strict";var t=e.i(391398),i=e.i(497778),r=e.i(405712);let a=({children:e})=>(0,t.jsx)(t.Fragment,{children:e});e.s(["WithHeading",0,({children:e,text:n,reversed:s,size:o,type:l,fontWeight:c,headingProps:u,vStackAs:d,vStackSize:p,vStackFontWeight:g,as:h="h1",render:f=a,...m})=>(0,t.jsxs)(r.VStack,{align:"stretch",as:d,size:p,fontWeight:g,...m,children:[s?e:null,(0,t.jsx)(f,{children:(0,t.jsx)(i.Heading,{as:h,size:o,type:l,fontWeight:c,alignSelf:"flex-start",...u,children:n})}),s?null:e]})])},98076,e=>{"use strict";var t=e.i(391398),i=e.i(958678),r=e.i(288561);e.s(["Canonical",0,({path:e,query:a})=>{let n=(0,r.useAppUri)({path:e,query:a});return(0,t.jsx)(i.default,{children:(0,t.jsx)("link",{rel:"canonical",href:n},"canonical")})}])},38242,e=>{"use strict";var t=e.i(391398),i=e.i(191788),r=e.i(774171);let a=(0,i.forwardRef)(function(e,i){let{templateAreas:a,column:n,row:s,autoFlow:o,autoRows:l,templateRows:c,autoColumns:u,templateColumns:d,inline:p,...g}=e;return(0,t.jsx)(r.chakra.div,{...g,ref:i,css:[{display:p?"inline-grid":"grid",gridTemplateAreas:a,gridAutoColumns:u,gridColumn:n,gridRow:s,gridAutoFlow:o,gridAutoRows:l,gridTemplateRows:c,gridTemplateColumns:d},e.css]})});a.displayName="Grid",e.s(["Grid",0,a])},964875,e=>{"use strict";var t=e.i(391398),i=e.i(191788),r=e.i(709169),a=e.i(797423),n=e.i(38242);let s=(0,i.forwardRef)(function(e,i){var s,o,l;let{columns:c,minChildWidth:u,...d}=e,p=(0,r.useChakraContext)(),g=u?(s=u,o=p,(0,a.mapObject)(s,e=>
2{let t=o.tokens.getVar(`sizes.${e}`,"number"==typeof e?`${e}px`:e);return null===e?null:`repeat(auto-fit, minmax(${t}, 1fr))`})):(l=c,(0,a.mapObject)(l,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`));return(0,t.jsx)(n.Grid,{ref:i,templateColumns:g,...d})});s.displayName="SimpleGrid",e.s(["SimpleGrid",0,s])},102619,e=>{"use strict";var t=e.i(391398),i=e.i(191788),r=e.i(774171),a=e.i(81979);let n=(0,i.forwardRef)(function(e,i){let{rel:n,className:s,...o}=e;return(0,t.jsx)(r.chakra.a,{...o,ref:i,className:(0,a.cx)("chakra-linkbox__overlay",s),css:[{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}},e.css]})}),s=(0,i.forwardRef)(function(e,i){let{className:n,...s}=e;return(0,t.jsx)(r.chakra.div,{ref:i,position:"relative",...s,className:(0,a.cx)("chakra-linkbox",n),css:[{"& a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}},e.css]})});e.s(["LinkBox",0,s,"LinkOverlay",0,n])},147701,e=>{"use strict";var t=e.i(391398),i=e.i(191788),r=e.i(102619);let a=i.default.forwardRef(({children:e,as:i="article",...a},n)=>(0,t.jsx)(r.LinkBox,{as:i,ref:n,display:"flex",flexDirection:"column",borderRadius:"base",bgColor:"white",shadow:"md",transitionProperty:"common",transitionTimingFunction:"ease-in-out",transitionDuration:"normal",_hover:{shadow:"lg"},_active:{shadow:"md"},...a,children:e}));e.s(["Card",0,a])},530436,e=>{"use strict";var t=e.i(391398),i=e.i(964875);e.s(["CardGrid",0,({...e})=>(0,t.jsx)(i.SimpleGrid,{columns:{base:2,sm:2,md:2,lg:4},gap:{base:4,sm:4,md:6,lg:8},...e})])},780007,e=>{"use strict";var t=e.i(484439);e.s(["useApiPreloader",0,e=>(0,t.usePreloader)(e,{crossOrigin:"use-credentials",rel:"prefetch"})])},317450,e=>{"use strict";var t=e.i(391398),i=e.i(191788),r=e.i(49062),a=e.i(811770),n=e.i(574526),s=e.i(587405);e.s(["SearchInputGroup",0,({value:e,placeholder:o,inputProps:l,setValue:c,onSubmit:u,...d})=>{let[p,g]=(0,i.useState)(""),{style:h,...f}=l??{},m={"--focus-color":"brand.500",...h};return(0,t.jsx)("form",{onSubmit:t=>{t.preventDefault(),u?.(e||p)},children:(0,t.jsx)(a.InputGroup,{...d,endAddon:(0,t.jsx)(n.IconButton,{type:"submit",borderEndRadius:"full",borderStartRadius:"0",colorPalette:"brand","aria-label":"search",h:"full",children:(0,t.jsx)(s.FiSearch,{color:"#fff",style:{width:"16px",height:"16px"}})}),endAddonProps:{p:0,border:"none",bg:"transparent"},children:(0,t.jsx)(r.Input,{bgColor:"white",placeholder:o,borderEndWidth:"0",borderEndRadius:"0",borderStartRadius:"full",style:m,value:e,onChange:e=>{let{value:t}=e.target;g(t),c?.(t)},...f})})})}])},515852,256278,e=>{"use strict";var t=e.i(391398),i=e.i(512423),r=e.i(897347),a=e.i(478487),n=e.i(118666),s=e.i(209587),o=e.i(497778),l=e.i(555682),c=e.i(405712),u=e.i(314771),d=e.i(869778),p=e.i(818113);let g={title:(0,p.n)("Organizations"),description:(0,p.ns)("Explore organizations to support."),exploreBySocialChallengeTitle:(0,p.n)("Find organizations by social challenges"),exploreBySocialChallengeDescription:({n:e})=>[`You can search from the ${e} non-profit organizations listed on Syncable.`,"On each organization's page, you can make a donation or launch a campaign to raise funds."],label:{searchByAll:(0,p.n)("Search by all organizations"),searchByCategory:(0,p.n)("Social Challenges")},search:{keyword:{placeholder:(0,p.n)("Search by name")},sort:{title:(0,p.n)("Sort"),latest:(0,p.n)("Latest")},filter:{title:(0,p.n)("Filter"),isDeductible:(0,p.n)("Deductible"),isAnonymousDonationAllowed:(0,p.n)("Anonymous support allowed")},activityArea:{title:(0,p.n)("Area"),all:(0,p.n)("All")},empty:(0,p.n)("No organizations matching your criteria were found.")},socialChallenge:{other:(0,p.n)("Other challenges")},invitation:{title:(0,p.n)("Would you like to register your organization with Syncable and encourage support?"),description:(0,p.n)("When you register your organization on Syncable, you not only get a publicity page for your organization,","but you can also solicit support via credit cards, birthday campaigns, and more."),buttonTitle:(0,p.n)("For organizations wishing to join us")}},h={title:(0,p.n)("団体を探す"),description:(0,p.ns)("支援したい団体を探しましょう。"),exploreBySocialChallengeTitle:(0,p.n)("社会課題から団体を探す"),exploreBySocialChallengeDescription:({n:e})=>[`Syncableに掲載されているNPO${e}団体から団体を探すことができます。`,"各団体ページでは、団体への支援やキャンペーンの作成などが行えます。"],label:{searchByAll:(0,p.n)("すべての団体から探す"),searchByCategory:(0,p.n)("社会課題から探す")},search:{keyword:{placeholder:(0,p.n)("団体名で探す")},sort:{title:(0,p.n)("並べ替え"),latest:(0,p.n)("新着順")},filter:{title:(0,p.n)("絞り込み"),isDeductible:(0,p.n)("寄付金控除対象"),isAnonymousDonationAllowed:(0,p.n)("匿名で支援可")},activityArea:{title:(0,p.n)("活動地域"),all:(0,p.n)("全て")},empty:(0,p.n)("条件に一致する団体がありませんでした")},socialChallenge:{other:(0,p.n)("その他の社会課題")},invitation:{title:(0,p.n)("あなたの団体もSyncableに登録して支援を呼びかけませんか?"),description:(0,p.n)("シンカブルで団体登録すると団体の広報ページだけではなく","クレジットカード支援やバースデードネーションなどを募ることができます。"),buttonTitle:(0,p.n)("登録希望の団体の方へ")}},f=(0,e.i(165145).createI18nHook)({en:g,ja:h});e.s(["useI18nForAssociateListPage",0,f],256278);var m=e.i(889507);e.s(["AssociateInvitationBanner",0,({...e})=>{let p={page:f()},g=(0,m.useRemoteConfigGlobal)()["associate-lp-url-banner"]||d.url.associate;return(0,t.jsxs)(l.VPadding,{bgColor:"brand.50",size:"lg",px:{base:4,sm:4,md:8,lg:12},bgImage:{base:"url(/image/invitation-banner-v.svg)",sm:"url(/image/invitation-banner-h.svg)"},bgRepeat:"no-repeat",bgSize:"contain",bgPos:"bottom",children:[(0,t.jsxs)(c.VStack,{align:"center",maxW:"2xl",m:"auto",children:[(0,t.jsx)(o.Heading,{as:"h2",size:"sm",children:p.page.invitation.title()}),(0,t.jsxs)(c.VStack,{size:"xl",children:[(0,t.jsx)(r.Flex,{direction:"column",align:"center",children:p.page.invitation.description().map((e,i)=>(0,t.jsx)(n.Text,{type:"light",children:e},i))}),(0,t.jsx)(s.LinkButton,{size:"lg",fontSize:u.textSizeMap.lg,href:g,isExternal:!0,leftIcon:(0,t.jsx)(a.HiOutlineLightBulb,{size:"1.25rem",style:{marginBottom:"3px"}}),children:p.page.invitation.buttonTitle()})]})]}),(0,t.jsx)(i.Box,{h:48,display:{base:"block",sm:"none"}})]})}],515852)},196354,e=>{"use strict";e.s(["SURVEY_QUESTION_INPUT_TYPE",0,{INPUT:"input",SELECT:"select",CHECKBOX:"checkbox",READONLY_TEXT:"readonly_text"}])},158972,e=>{"use strict";var t=e.i(191788),i=e.i(545311),r=e.i(810790),a=e.i(134717),n=e.i(791729),s=e.i(105114);let{useAssociateState:o}=n.associateStore;e.s(["useAssociateWithReference",0,()=>{let{getAssociateCoreWithRelationById:e,getAssociateMemberCoreWithRelationById:n}=(0,s.useAssociateWithRelation)(),{relation:{getUserIdForAssociateMemberCore:l,getManyCampaignIdForAssociateCore:c}}=o(),{getUserCoreWithRelationById:u}=(0,r.useUserWithRelation)(),{getCampaignCoreWithRelationById:d}=(0,i.useCampaignWithRelation)(),p=(0,t.useCallback)(e=>(0,a.apply)(l(e))(u),[l,u]),g=(0,t.useCallback)(e=>({...e,user:p(e.id)}),[p]),h=(0,t.useCallback)(e=>
2(0,a.apply)(c(e))((0,a.map)(d)),[c,d]),f=(0,t.useCallback)(e=>(0,a.apply)(n(e))(g),[n,g]),m=(0,t.useCallback)(e=>({...e,member:(0,a.apply)(e?.member)((0,a.map)(g)),campaign:h(e.id)}),[g,h]);return{getAssociateCoreWithReferenceById:(0,t.useCallback)(t=>(0,a.apply)(e(t))(m),[e,m]),getAssociateMemberCoreWithReferenceById:f}}])},119760,189318,644514,795262,e=>{"use strict";var t=e.i(337075),i=e.i(730925);e.s(["getInitialFocus",0,function(e){let{root:t,getInitialEl:r,filter:a,enabled:n=!0}=e;if(!n)return;let s=null;if((s="function"==typeof r?r():r)||(s=t?.querySelector("[data-autofocus],[autofocus]")),!s){let e=(0,i.getTabbables)(t);s=a?e.filter(a)[0]:e[0]}return s||t||void 0},"isValidTabEvent",0,function(e){let r=e.currentTarget;if(!r)return!1;let[a,n]=(0,i.getTabbableEdges)(r);return!((0,t.isActiveElement)(a)&&e.shiftKey||(0,t.isActiveElement)(n)&&!e.shiftKey)&&(!!a||!!n)}],119760);var r=e.i(95963),a=e.i(90816),n=e.i(241446),s=e.i(982188),o=e.i(3887),l=e.i(430541);function c(e=0,t=0,i=0,r=0){if("function"==typeof DOMRect)return new DOMRect(e,t,i,r);let a={x:e,y:t,width:i,height:r,top:t,right:e+i,bottom:t+r,left:e};return{...a,toJSON:()=>a}}var u=e=>({variable:e,reference:`var(${e})`}),d={arrowSize:u("--arrow-size"),arrowSizeHalf:u("--arrow-size-half"),arrowBg:u("--arrow-background"),transformOrigin:u("--transform-origin"),arrowOffset:u("--arrow-offset")},p={name:"rects",fn:({rects:e})=>({data:e})};function g(e){let[t,i]=e.split("-");return{side:t,align:i,hasAlign:null!=i}}e.s(["getPlacementDetails",0,g,"getPlacementSide",0,function(e){return e.split("-")[0]}],189318);var h={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function f(e,t){let i=e.devicePixelRatio||1;return Math.round(t*i)/i}function m(e,t){return null!=e&&.5>Math.abs(e-t)}function y(e){return"function"==typeof e?e():"clipping-ancestors"===e?"clippingAncestors":e}e.s(["getPlacement",0,function(e,i,u={}){let{defer:x,...b}=u,v=x?n.raf:e=>e(),j=[];return j.push(v(()=>{let n="function"==typeof e?e():e,u="function"==typeof i?i():i;j.push(function(e,i,n={}){var u,x,b,v,j;let w,A,S,C=(u=n.getAnchorElement?.()??e,x=n.getAnchorRect,{contextElement:(0,t.isHTMLElement)(u)?u:u?.contextElement,getBoundingClientRect:()=>{let e=x?.(u);return e||!u?function(e){if(!e)return c();let{x:t,y:i,width:r,height:a}=e;return c(t,i,r,a)}(e):u.getBoundingClientRect()}});if(!i||!C)return;let P=Object.assign({},h,n),z=i.querySelector("[data-part=arrow]"),k=[function(e,t){if(!(0,o.isNull)(t.offset??t.gutter))return(0,r.offset)(({placement:i})=>{let r=(e?.clientHeight||0)/2,a=t.offset?.mainAxis??t.gutter,{hasAlign:n}=g(i),o=n?void 0:t.shift,l=t.offset?.crossAxis??o;return(0,s.compact)({crossAxis:l,mainAxis:"number"==typeof a?a+r:a??r,alignmentAxis:t.shift})})}(z,P),function(e){if(!e.flip)return;let t=y(e.boundary);return(0,r.flip)({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:!0===e.flip?void 0:e.flip})}(P),function(e){if(!e.slide&&!e.overlap)return;let t=y(e.boundary);return(0,r.shift)({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:(0,r.limitShift)()})}(P),(b=i.ownerDocument,S=z||b.createElement("div"),(0,r.arrow)({element:S,padding:P.arrowPadding})),(e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:i}){if(!i.arrow)return{};let{x:r,y:a}=i.arrow,n=t.split("-")[0];return Object.assign(e.style,{left:null!=r?`${r}px`:"",top:null!=a?`${a}px`:"",[n]:`calc(100% + ${d.arrowOffset.reference})`}),{}}}})(z),(v={gutter:P.gutter,offset:P.offset,overlap:P.overlap},{name:"transformOrigin",fn(e){let{elements:t,middlewareData:i,placement:r,rects:a,y:n}=e,s=r.split("-")[0],o=i.arrow?.x||0,l=i.arrow?.y||0,c=z?.clientWidth||0,u=z?.clientHeight||0,p=o+c/2,g=l+u/2,h=Math.abs(i.shift?.y||0),f=a.reference.height/2,m=u/2,y=v.offset?.mainAxis??v.gutter,x="number"==typeof y?y+m:y??m,b=h>x,j={top:`${p}px calc(100% + ${x}px)`,bottom:`${p}px ${-x}px`,left:`calc(100% + ${x}px) ${g}px`,right:`${-x}px ${g}px`}[s],w=`${p}px ${a.reference.y+f-n}px`,A=!!v.overlap&&"y"==("top"===s||"bottom"===s?"y":"x")&&b;return t.floating.style.setProperty(d.transformOrigin.variable,A?w:j),{data:{transformOrigin:A?w:j}}}}),function(e){let t,i,a,n;if(!1!==e.sizeMiddleware||e.sameWidth||e.fitViewport)return(0,r.size)({padding:e.overflowPadding,apply({elements:e,rects:r,availableHeight:s,availableWidth:o}){let l=e.floating,c=Math.round(r.reference.width),u=Math.round(r.reference.height);o=Math.floor(o),s=Math.floor(s),m(t,c)||(l.style.setProperty("--reference-width",`${c}px`),t=c),m(i,u)||(l.style.setProperty("--reference-height",`${u}px`),i=u),m(a,o)||(l.style.setProperty("--available-width",`${o}
2px`),a=o),m(n,s)||(l.style.setProperty("--available-height",`${s}px`),n=s)}})}(P),function(e){if(e.hideWhenDetached)return(0,r.hide)({strategy:"referenceHidden",boundary:y(e.boundary)??"clippingAncestors"})}(P),p],{placement:I,strategy:T,onComplete:$,onPositioned:R}=P,E=!1,D=async()=>{if(!C||!i)return;let e=await (0,r.computePosition)(C,i,{placement:I,middleware:k,strategy:T});$?.(e);let n=(0,t.getWindow)(i),s=f(n,e.x),o=f(n,e.y);if(i.style.transform=`translate3d(${s}px, ${o}px, 0)`,m(w,s)||(i.style.setProperty("--x",`${s}px`),w=s),m(A,o)||(i.style.setProperty("--y",`${o}px`),A=o),P.hideWhenDetached&&(e.middlewareData.hide?.referenceHidden?(i.style.setProperty("visibility","hidden"),i.style.setProperty("pointer-events","none")):(i.style.removeProperty("visibility"),i.style.removeProperty("pointer-events"))),!E){let e=i.firstElementChild;e&&(i.style.setProperty("--z-index",(0,a.getComputedStyle)(e).zIndex),E=!0)}},O=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:D,floatingElement:i}),R?.({placed:!0})):await D()},W=(j=P.listeners)?!0===j?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:j:{},_=P.listeners?(0,r.autoUpdate)(C,i,O,W):l.noop;return O(),()=>{_?.(),R?.({placed:!1})}}(n,u,b))})),()=>{j.forEach(e=>e?.())}}],644514);var x={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};e.s(["getPlacementStyles",0,function(e={}){let{placement:t,sameWidth:i,fitViewport:r,strategy:a="absolute"}=e;return{arrow:{position:"absolute",width:d.arrowSize.reference,height:d.arrowSize.reference,[d.arrowSizeHalf.variable]:`calc(${d.arrowSize.reference} / 2)`,[d.arrowOffset.variable]:`calc(${d.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?x[t.split("-")[0]]:void 0,background:d.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:a,isolation:"isolate",minWidth:i?void 0:"max-content",width:i?"var(--reference-width)":void 0,maxWidth:r?"var(--available-width)":void 0,maxHeight:r?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}],795262)},134429,e=>{"use strict";var t=e.i(191788),i=e.i(330666),r=e.i(196354),a=e.i(730837),n=e.i(158972);e.s(["useAssociateWithAttrs",0,()=>{let e=(0,a.useI18nForAssociateEnum)(),{getAssociateCoreWithReferenceById:s}=(0,n.useAssociateWithReference)();return{getAssociateCoreWithAttrsById:(0,t.useCallback)(t=>{let a=s(t);if(!a||!a.info)return;let{displayType:n,associateType:o}=a.info,l=e.associateType(n||o);return{entity:a,attrs:{type:l,fullName:`${l} ${a.name}`,isDeductible:(0,i.associateIsDeductible)(a.id,o),surveyQuestions:a.surveyQuestion?a.surveyQuestion.sort((e,t)=>e.order-t.order).map(({surveyChoice:e,...t})=>({...t,surveyChoices:e?e.sort((e,t)=>e.order-t.order):[],initialValue:t.inputType!==r.SURVEY_QUESTION_INPUT_TYPE.CHECKBOX&&"",formName:`questionId-${t.id}`})):[]}}},[e,s])}}],134429)},280653,e=>{"use strict";var t=e.i(391398),i=e.i(587405),r=e.i(552370),a=e.i(458840),n=e.i(354590),s=e.i(475107),o=e.i(577805),l=e.i(54016),c=e.i(553754),u=e.i(30647);e.s(["AnonymousTag",0,({children:e,link:d=!0,...p})=>{let g=(0,u.asUrl)((0,o.associateListEndpoint)(),{...s.associateListDefaultQuery,is_anonymous:!0}),h=(0,l.usePrefetcher)(c.fetchAssociates,g);return d?(0,t.jsx)(a.LinkTag,{href:{...n.path.associates(),query:{is_anonymous:!0}},leftIcon:(0,t.jsx)(i.FiTag,{}),...h.events.hover,...p,children:e}):(0,t.jsx)(r.Tag,{leftIcon:(0,t.jsx)(i.FiTag,{}),...p,children:e})}])},723021,e=>{"use strict";var t=e.i(391398),i=e.i(191788),r=e.i(118666),a=e.i(405712),n=e.i(990916),s=e.i(260661),o=e.i(317450),l=e.i(412687),c=e.i(422962),u=e.i(181945),d=e.i(730837),p=t,g=e.i(174004),h=e.i(993678),f=e.i(577805),m=e.i(475107),y=e.i(256278),x=e.i(780007),b=e.i(530436),v=e.i(821654),j=e.i(512423),w=e.i(681956),A=e.i(147701),S=e.i(992575),C=e.i(467199),P=e.i(173970),z=e.i(384891),k=e.i(354590),I=e.i(187387),T=e.i(280653),$=e.i(748907),R=e.i(134429),E=e.i(715328),D=e.i(890253),O=e.i(79538);
2let W=i.default.memo(({as:e,name:i,associateUid:n,associateType:s,mainVisualSrc:o,isDeductible:l,isAnonymousDonationAllowed:c,deductibleText:u,anonymousDonationAllowedText:d,logoSrc:p,summary:g,...h})=>{let f=(0,I.useI18nForAppImageUi)(),m={mainVisual:f.explanation("mainVisual"),Avatar:f.explanation("avatar")};return(0,t.jsx)(A.Card,{...h,children:(0,t.jsxs)(a.VStack,{flex:1,gap:0,children:[(0,t.jsx)(v.AspectRatio,{ratio:1.5,w:"100%",bgColor:"gray.100",borderTopRightRadius:"base",borderTopLeftRadius:"base",overflow:"hidden",children:(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)(C.CardImage,{alt:m.mainVisual(i),src:o,fill:!0,style:{objectFit:"contain"}}),(0,t.jsx)(j.Box,{position:"relative",children:(0,t.jsx)(w.HStack,{position:"absolute",left:0,bottom:0,background:"linear-gradient(rgba(49, 51, 51, 0), rgba(49, 51, 51, 0.8) 80%)",width:"100%",p:{base:2,sm:2,md:3},children:(0,t.jsx)(S.Avatar,{src:p,alt:m.Avatar(i),size:"md"})})})]})}),(0,t.jsx)(z.Padding,{flex:1,children:(0,t.jsxs)(a.VStack,{flex:1,justify:"space-between",size:"md",children:[(0,t.jsxs)(a.VStack,{size:"xs",align:"flex-start",children:[(0,t.jsxs)(a.VStack,{gap:0,align:"flex-start",children:[(0,t.jsx)(r.Text,{size:"sm",type:"lighter",fontWeight:"semibold",children:s}),(0,t.jsx)(P.LinkOverlay,{href:k.path.associate({uid:n}),children:(0,t.jsx)(r.Text,{as:e,fontWeight:"bold",lineClamp:3,children:i})})]}),l?(0,t.jsx)(O.DeductibleTag,{children:u}):null,c?(0,t.jsx)(T.AnonymousTag,{children:d}):null]}),(0,t.jsx)(r.Text,{size:"sm",type:"light",lineClamp:3,children:g})]})})]})})}),_=({associateId:e,as:i="h2",...r})=>{let{locale:a}=(0,E.useI18n)(),n=(0,d.useI18nForAssociateEnum)(),s=(0,$.useI18nForAssociateModel)(),{getAssociateCoreWithAttrsById:o}=(0,R.useAssociateWithAttrs)(),l=o(e),c=(0,D.useNextDataPreloader)(a,[{type:"path",value:"associate"},{type:"param",value:l?.entity.associateUid||""}],"path");
2if(!l)return null;let{entity:u,attrs:p}=l,{info:g,meta:h,mainVisual:f,logo:m,profile:y,...x}=u;if(!g||!h||!y)return null;let{name:b}=x,{displayType:v,associateType:j}=g,w=n.associateType(v||j),A=u.donationSetting?.donationSettingDetail?.isAnonymousDonationAllowed??!1;return(0,t.jsx)(W,{as:i,name:b,associateUid:x.associateUid,associateType:w,mainVisualSrc:f?.file,logoSrc:m?.file,isDeductible:p.isDeductible,isAnonymousDonationAllowed:A,deductibleText:s.props.deductible(),anonymousDonationAllowedText:s.props.anonymous(),summary:y.summary,...c.events.hover,...r})},B=({associateIds:e,as:i,...r})=>(0,t.jsx)(b.CardGrid,{...r,children:e.map(e=>(0,t.jsx)(_,{associateId:e,as:i},e))}),F=({render:e=({children:e})=>(0,p.jsx)(p.Fragment,{children:e}),defaultQuery:t,fixedQuery:i,...r})=>{let a=(0,y.useI18nForAssociateListPage)(),{url:n,data:s,query:o,setQuery:l}=(({defaultQuery:e,fixedQuery:t}={})=>{let{query:i,setQuery:r}=(0,m.useAssociateListQuery)({defaultQuery:e});return{...(0,f.useAssociateListData)(i,{fixedQuery:t}),query:i,setQuery:r}})({defaultQuery:t,fixedQuery:i}),{preloader:c}=(0,x.useApiPreloader)(n);return(0,p.jsxs)(e,{data:s,query:o,setQuery:l,...r,children:[c,s?s.results.length?(0,p.jsx)(B,{associateIds:s.results}):(0,p.jsx)(g.BlankMessage,{children:a.search.empty()}):(0,p.jsx)(h.SkeltonCardGrid,{n:i?.rowsPerPage||t?.rowsPerPage||o?.rowsPerPage})]})},N=({children:e,data:p,query:g,setQuery:h,hash:f,pageQuery:m,nPageButtons:y,buttonProps:x,placeholder:b,sortTitle:v="sort",sortLatestText:j="latest",filterTitle:w="filter",filterIsDeductibleText:A="deductible",filterIsAnonymousDonationAllowedText:S="anonymous",activityAreaTitle:C="area",activityAreaAllText:P="all",onCount:z=e=>`${e}`,...k})=>{let I={enum:(0,d.useI18nForAssociateEnum)()},[T,$]=(0,i.useState)("");(0,i.useEffect)(()=>{$(g?.name||"")},[$,g?.name]);let R=p?.count,E=[...g?.is_deductible?["is-deductible"]:[],...g?.is_anonymous?["is-anonymous"]:[]],D=g?.sortBy||"-opened_at",O=g?.activity_areas?String(g.activity_areas):"0";return(0,t.jsxs)(a.VStack,{size:"xl",align:"stretch",...k,children:[(0,t.jsxs)(a.VStack,{size:"sm",align:"stretch",children:[(0,t.jsx)(o.SearchInputGroup,{placeholder:b,value:T,setValue:$,onSubmit:e=>{""===e?h(({name:e,page:t,...i})=>({...i,...m})):h(({page:t,...i})=>({...i,...m,name:e}))}}),(0,t.jsxs)(n.Wrap,{alignSelf:"flex-start",size:"xs",children:[(0,t.jsx)(s.WrapItem,{children:(0,t.jsx)(l.SingleMenu,{type:"radio",items:[{title:P,value:"0"},...u.AssociateActivityAreaIds.map(e=>({title:I.enum.associateActivityArea(e),value:String(e)}))],onChange:e=>{if("0"===e)return void h(({page:e,activity_areas:t,...i})=>({...i,...m}));let t=(0,u.ensureAssociateActivityAreaId)(e);void 0!==t?h(({page:e,...i})=>({...i,...m,activity_areas:t})):h(({page:e,activity_areas:t,...i})=>({...i,...m}))},value:O,closeOnSelect:!1,id:"associate-list-control-activity-area",isLazy:!0,listProps:{h:80,overflowY:"scroll"},children:`${C} : ${g?.activity_areas===void 0?P:I.enum.associateActivityArea(g.activity_areas)}`})}),(0,t.jsx)(s.WrapItem,{children:(0,t.jsx)(l.SingleMenu,{type:"radio",items:[{title:j,value:"-opened_at"}],onChange:e=>{h(({page:t,...i})=>({...i,...m,sortBy:e}))},value:D,closeOnSelect:!1,id:"associate-list-control-sort",isLazy:!0,children:j})}),(0,t.jsx)(s.WrapItem,{children:(0,t.jsx)(l.SingleMenu,{type:"checkbox",items:[{title:A,value:"is-deductible"},{title:S,value:"is-anonymous"}],onChange:e=>{h(({page:t,is_deductible:i,is_anonymous:r,...a})=>({...a,...m,...e.includes("is-deductible")?{is_deductible:!0}:{},...e.includes("is-anonymous")?{is_anonymous:!0}:{}}))},value:E,closeOnSelect:!1,id:"associate-list-control-filter",isLazy:!0,children:w})})]})]}),(0,t.jsxs)(a.VStack,{size:"xs",align:"stretch",children:[(0,t.jsx)(r.Text,{size:"xs",type:"lighter",children:void 0!==R?z(R):"-"}),(0,t.jsx)(c.WithPager,{data:p,query:g,hash:f,pageQuery:m,nPageButtons:y,buttonProps:{scroll:!0,...x},children:e})]})]})};e.s(["AssociateListWithControl",0,({...e})=>(0,t.jsx)(F,{render:N,...e})],723021)}]);
3
4//# debugId=1b4f858a-e14d-e41f-06df-fc8b26f9482e
5//# sourceMappingURL=0okeezhdk9eb2.js.map

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.