PageSourceSearch

https://member.colorusfsb.com/_next/static/chunks/pages/referral-s…/confirmation-6825ef13499a98c0.js

js colorusfsb.com collected 2026-10-09 04:09:52 UTC 14,406 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3687],{28031:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/referral-status/withdrawal/confirmation",function(){return r(71218)}])},71218:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r(85893),i=r(25472),a=r(67294),s=r(56024),o=r(89475),l=r(67707),u=r(53488),c=r(189),d=r(49175),m=r(18811),f=r(81978);function h(){var e,t,r;let h=(0,i.useRouter)(),{user:p}=(0,f.aC)(),g=(0,d.QT)(null==p?void 0:p.customer_id),b=(0,m.f4)(),x=(0,d.RO)(),[v,C]=(0,a.useState)(""),y=async()=>{let e=await b.mutateAsync({requestBody:{selected_task:"withdrawn",task_name:"withdrawn",task_status:"processing",member_id:null==p?void 0:p.customer_id,hide_from_cust:!0,open:!1,reason:v}});await x.mutateAsync({customerTaskId:e.id,requestBody:{selected_task:"withdrawn"}}),h.replace({pathname:"/referral-status/application-complete",query:{type:"withdraw"}})};return(0,n.jsxs)(s.W,{children:[(0,n.jsx)(o.F,{}),(0,n.jsxs)(l.C,{children:[(0,n.jsx)(l.C.Title,{title:"退会申請"}),(0,n.jsx)("p",{children:"退会ご希望の場合は、退会理由をご入力のうえ申請してください。 "}),(0,n.jsxs)("div",{className:"mt-4 w-full",children:[(0,n.jsx)("p",{className:"mb-4",children:"退会理由"}),(0,n.jsx)(u.F,{maxLength:500,minRows:4,placeholder:"入力してください(500文字以内)",value:v,onInputChange:e=>C(e.target.value)})]}),(0,n.jsxs)("div",{className:"space-x-8",children:[(0,n.jsx)(c.z,{size:"baseLonger",variant:"secondary",width:"48",onClick:()=>h.back(),children:"戻る"}),(0,n.jsx)(c.z,{isDisabled:!(null===(r=g.data)||void 0===r?void 0:null===(t=r.billing_details)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.id),size:"baseLonger",variant:"secondaryOutlined",width:"48",onClick:()=>y(),children:"退会申請する"})]})]})]})}},67707:function(e,t,r){"use strict";r.d(t,{C:function(){return s}});var n=r(85893),i=r(86010),a=r(93110);function s(e){let{rootClasses:t,children:r,itemSpacing:a}=e;return(0,n.jsx)("div",{className:(0,i.Z)("flex flex-col items-center space-y-20 sm:space-y-10",t,a),children:r})}s.Title=function(e){let{title:t}=e;return t?(0,n.jsx)(a.V,{className:"!mb-0",title:t}):null},s.Header=function(e){let{children:t}=e;return t},s.Body=function(e){let{children:t}=e;return t},s.Footer=function(e){let{children:t}=e;return t}},56024:function(e,t,r){"use strict";r.d(t,{W:function(){return a}});var n=r(85893),i=r(86010);function a(e){let{children:t,className:r,maxWidth:a="max-w-7xl"}=e;return(0,n.jsx)("div",{className:(0,i.Z)("m-auto mt-24 mb-40 flex flex-col items-center px-40 sm:mx-auto sm:mt-8 sm:max-w-[24rem] md:px-3",a,r),children:(0,n.jsx)("div",{className:"w-full",children:t})})}},93110:function(e,t,r){"use strict";r.d(t,{V:function(){return a}});var n=r(85893),i=r(86010);function a(e){let{title:t,className:r}=e;return(0,n.jsx)("h1",{className:(0,i.Z)("block text-center text-3xl font-bold text-neutral sm:text-xl",r),children:t})}},89475:function(e,t,r){"use strict";r.d(t,{F:function(){return s}});var n=r(85893),i=r(9008),a=r.n(i);function s(e){let{children:t,title:r}=e;return(0,n.jsxs)(a(),{children:[(0,n.jsx)("meta",{charSet:"UTF-8"}),(0,n.jsx)("meta",{content:"width=device-width, initial-scale=1",name:"viewport"}),(0,n.jsx)("title",{children:r?"".concat(r," | colorus81"):"colorus81"}),t]})}},53488:function(e,t,r){"use strict";r.d(t,{F:function(){return u}});var n=r(85893),i=r(86010),a=r(67294),s=r(39844),o=r(16093);let l={sm:"px-1 py-1 sm:text-xs",md:"py-2",lg:"px-4 py-4 sm:text-base"},u=(0,a.forwardRef)((e,t)=>{let{width:r="w-full",label:a,placeholder:u,name:c,cornerText:d,optionalText:m,invalidText:f,onInputChange:h,value:p,size:g="md",isRequired:b,isInvalid:x,isDisabled:v,leftAddOn:C,showErrorIcon:y=!0,minRows:k=10,maxLength:w,...T}=e;return(0,n.jsxs)("div",{className:(0,i.Z)(r),children:[a&&(0,n.jsxs)("div",{className:"mb-1 flex justify-between",children:[(0,n.jsx)("label",{className:(0,i.Z)("sr-only block text-sm font-medium text-gray-700",{"opacity-30":v,"!text-red-500":x}),htmlFor:c,children:a}),d&&(0,n.jsx)("span",{className:"text-sm text-gray-500",children:d}),b&&(0,n.jsx)("span",{className:"text-sm text-red-600",children:"required"})]}),(0,n.jsxs)("div",{className:"relative rounded-md shadow-sm",children:[C&&
1(0,n.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:C}),(0,n.jsx)(o.Z,{ref:t,className:(0,i.Z)("form-textarea block w-full rounded-xl border-neutralLight shadow-sm placeholder:text-neutralLight hover:border-primary focus:border-primary focus:ring-0 placeholder:sm:text-xs",{"pl-10":C,"border-none bg-[#e0e0e0] font-semibold text-neutral":v,"pr-10":x&&y,"input-disable-color":v},l[g]),disabled:v,id:c,minRows:k,name:c,placeholder:u,onChange:h,maxLength:w,...x?{"aria-invalid":"true","aria-describedby":"".concat(c,"-error")}:{},...x?{"aria-invalid":"true","aria-describedby":"".concat(c,"-error")}:{},...h&&{onChange:h,value:p},...T}),x&&y&&(0,n.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3",children:(0,n.jsx)(s.fd$,{"aria-hidden":"true",className:"h-5 w-5 text-red-500"})})]}),m&&(0,n.jsx)("p",{className:"mt-4 text-sm text-gray-500",children:m}),x&&f&&(0,n.jsx)("p",{className:"mt-2 text-sm text-red-600",id:"".concat(c,"-error"),children:f})]})})},49175:function(e,t,r){"use strict";r.d(t,{QT:function(){return h},qU:function(){return c},pI:function(){return d},Az:function(){return m},RO:function(){return p},J7:function(){return f}});var n=r(88767),i=r(93012),a=r(55541);class s{static getAllBillingDetailsBillingDetailGet(e){let{memberId:t,recessmentStartDate:r,recessmentEndDate:n,billingStatus:s,recessmentSixMonthsCompleted:o,page:l=1,size:u=50}=e;return(0,a.W)(i.f,{method:"GET",url:"/billing_detail/",query:{member_id:t,recessment_start_date:r,recessment_end_date:n,billing_status:s,recessment_six_months_completed:o,page:l,size:u},errors:{422:"Validation Error"}})}static createBillingDetailRecordBillingDetailPost(e){let{requestBody:t}=e;return(0,a.W)(i.f,{method:"POST",url:"/billing_detail/",body:t,mediaType:"application/json",errors:{422:"Validation Error"}})}static getBillingByIdBillingDetailBillingDetailIdGet(e){let{billingDetailId:t}=e;return(0,a.W)(i.f,{method:"GET",url:"/billing_detail/{billing_detail_id}",path:{billing_detail_id:t},errors:{422:"Validation Error"}})}static updateBillingDetailsBillingDetailBillingDetailIdPut(e){let{billingDetailId:t,requestBody:r}=e;return(0,a.W)(i.f,{method:"PUT",url:"/billing_detail/{billing_detail_id}",path:{billing_detail_id:t},body:r,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteBillingBillingDetailBillingDetailIdDelete(e){let{billingDetailId:t}=e;return(0,a.W)(i.f,{method:"DELETE",url:"/billing_detail/{billing_detail_id}",path:{billing_detail_id:t},errors:{422:"Validation Error"}})}static checkIfEligibleForRecessmentBillingDetailCheckRecessmentCustomerIdGet(e){let{customerId:t}=e;return(0,a.W)(i.f,{method:"GET",url:"/billing_detail/check_recessment/{customer_id}",path:{customer_id:t},errors:{422:"Validation Error"}})}}var o=r(67696),l=r(81978),u=r(57901);let c=e=>(0,n.useQuery)(["recessmentEligible",e],()=>s.checkIfEligibleForRecessmentBillingDetailCheckRecessmentCustomerIdGet({customerId:e}),{enabled:!!e}),d=e=>(0,n.useQuery)(["recessmentLog",e],()=>s.getAllBillingDetailsBillingDetailGet({memberId:e}),{enabled:!!e}),m=(e,t)=>{let{refetchAuthUser:r}=(0,l.aC)(),{displayErrorMessages:i}=(0,u.b)();return(0,n.useMutation)(e=>o.m.updateCustomerTaskCustomerTaskRecessmentCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{i(e)}})},f=(e,t)=>{let{refetchAuthUser:r}=(0,l.aC)(),{displayErrorMessages:i}=(0,u.b)();return(0,n.useMutation)(e=>s.updateBillingDetailsBillingDetailBillingDetailIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{i(e)}})},h=e=>(0,n.useQuery)(["billingDetails",e],()=>s.getAllBillingDetailsBillingDetailGet({memberId:e}),{enabled:!!e}),p=(e,t)=>{let{refetchAuthUser:r}=(0,l.aC)(),{displayErrorMessages:i}=(0,u.b)();return(0,n.useMutation)(e=>o.m.updateCustomerTaskCustomerTaskWithDrawnCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{i(e)}})}},18811:function(e,t,r){"use strict";r.d(t,{AP:function(){return h},Az:function(){return p},F8:function(){return m},Hy:function(){return c},f4:function(){return o},hB:function(){return d},oM:function(){return f},ow:function(){return l},rN:function(){return u}});var n=r(88767),i=r(67696),a=r(81978),s=r(57901);let o=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.createCustomerTaskCustomerTaskPost(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},l=(e,t)=>
1{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskCustomerTaskCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},u=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskCustomerTaskApproachCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},c=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskDetailsMarriageInterviewCustomerTaskMarriageInterviewCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},d=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskDetailsPhotoMeetCustomerTaskPhotoMeetCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},m=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskDetailsRejectCustomerTaskRejectCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},f=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskDetailsAcceptAssociationCustomerTaskAcceptAssociationCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},h=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskDetailsAcceptMarriageCustomerTaskAcceptMarriageCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})},p=(e,t)=>{let{refetchAuthUser:r}=(0,a.aC)(),{displayErrorMessages:o}=(0,s.b)();return(0,n.useMutation)(e=>i.m.updateCustomerTaskCustomerTaskRecessmentCustomerTaskIdPut(e),{onSuccess:()=>{r(),null==e||e()},onError:e=>{o(e)}})}},9008:function(e,t,r){e.exports=r(23867)},16093:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(87462),i=r(63366),a=r(67294),s=r(73469),o=function(e){var t=a.useRef(e);return(0,s.Z)(function(){t.current=e}),t},l=function(e,t){if("function"==typeof e){e(t);return}e.current=t},u=function(e,t){var r=a.useRef();return a.useCallback(function(n){e.current=n,r.current&&l(r.current,null),r.current=t,t&&l(t,n)},[t])},c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},d=function(e){Object.keys(c).forEach(function(t){e.style.setProperty(t,c[t],"important")})},m=null,f=function(e,t){var r=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?r+t.borderSize:r-t.paddingSize},h=function(){},p=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],g=!!document.documentElement.currentStyle,b=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var r=p.reduce(function(e,r){return e[r]=t[r],e},{}),n=r.boxSizing;if(""===n)return null;g&&"border-box"===n&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var i=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),a=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:i,borderSize:a}};function x(e,t,r){var n=o(r);a.useLayoutEffect(function(){var r=function(e){return n.current(e)};if(e)return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}},[])}var v=function(e,t){x(document.body,"reset",function(r){e.current.form===r.target&&t(r)})},C=function(e){x(window,"resize",e)},y=function(e){x(document.fonts,"loadingdone",e)},k=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],w=a.forwardRef(function(e,t){var r=e.cacheMeasurements,s=e.maxRows,o=e.minRows,l=e.onChange,c=void 0===l?h:l,p=e.onHeightChange,g=void 0===p?h:p,x=(0,i.Z)(e,k),w=void 0!==x.value,T=a.useRef(null),_=u(T,t),E=a.useRef(0),j=a.useRef(),S=function(){var e,t,n,i,a,l,u,c,h,p,x,v=T.current,C=r&&j.current?j.current:b(v);
1if(C){j.current=C;var y=(e=v.value||v.placeholder||"x",void 0===(t=o)&&(t=1),void 0===(n=s)&&(n=1/0),m||((m=document.createElement("textarea")).setAttribute("tabindex","-1"),m.setAttribute("aria-hidden","true"),d(m)),null===m.parentNode&&document.body.appendChild(m),i=C.paddingSize,a=C.borderSize,u=(l=C.sizingStyle).boxSizing,Object.keys(l).forEach(function(e){m.style[e]=l[e]}),d(m),m.value=e,c=f(m,C),m.value=e,c=f(m,C),m.value="x",p=(h=m.scrollHeight-i)*t,"border-box"===u&&(p=p+i+a),c=Math.max(p,c),x=h*n,"border-box"===u&&(x=x+i+a),[c=Math.min(x,c),h]),k=y[0],w=y[1];E.current!==k&&(E.current=k,v.style.setProperty("height",k+"px","important"),g(k,{rowHeight:w}))}};return a.useLayoutEffect(S),v(T,function(){if(!w){var e=T.current.value;requestAnimationFrame(function(){var t=T.current;t&&e!==t.value&&S()})}}),C(S),y(S),a.createElement("textarea",(0,n.Z)({},x,{onChange:function(e){w||S(),c(e)},ref:_}))})},73469:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=r(67294).useLayoutEffect},63366:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[2888,9774,6377],function(){return e(e.s=28031)}),_N_E=e.O()}]);

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.