PageSourceSearch

https://mypg.jp/_next/static/chunks/pages/onestop-myna-less/application-edit-5616aad160575144.js

js mypg.jp collected 2026-09-25 15:04:16 UTC 10,710 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8554],{20965:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var s=i(6029),n=i(53317),r=i(45201),a=i.n(r),l=i(48556),o=i(66101);let c=({subscribe:e})=>(0,s.jsxs)(n.A,{bordered:!0,className:a().subscribe,children:[(0,s.jsx)(n.A.Item,{title:"申請日",children:(0,o.AV)()}),(0,s.jsxs)(n.A.Item,{title:"住所",children:[(0,s.jsx)("div",{className:a().address,children:(0,l.M0)(e?.zipCode,e?.prefecture,e?.address)}),(0,s.jsxs)("p",{className:a().text,children:["※ワンストップ特例申請の住所について、各種確認書類に記載された住所ではなく、上記の住所が申請住所となります。",(0,s.jsx)("br",{})," 寄附をした翌年1月1日時点の住民税課税住所が記載されていることをご確認ください。"]})]}),(0,s.jsxs)(n.A.Item,{title:"氏名",children:[(0,l.G)(e?.familyName,e?.firstName,e?.familyNameKana,e?.firstNameKana),(0,s.jsx)("p",{className:a().text,children:"※名義を変更することはできません。名義変更が必要な場合は、寄附先の自治体へお問合せください。"})]}),(0,s.jsx)(n.A.Item,{title:"電話番号",children:e?.phoneNumber||""}),(0,s.jsx)(n.A.Item,{title:"生年月日",children:e?.birthday?(0,o.nN)(e.birthday):""})]})},45201:e=>{e.exports={description:"ApplicationInfoDisplay_description__rrUsy",subscribe:"ApplicationInfoDisplay_subscribe__F8IYm",address:"ApplicationInfoDisplay_address__QfhI5",text:"ApplicationInfoDisplay_text__3LfB2",submit_btn:"ApplicationInfoDisplay_submit_btn__6BDoN"}},62395:(e,t,i)=>{"use strict";i.d(t,{Bq:()=>o,Ed:()=>r,Lo:()=>d,Q8:()=>u,Th:()=>a,_K:()=>l,cK:()=>c,jI:()=>p});var s=i(9366),n=i(91053);let r=e=>!!e?.isUsageService&&(e?.serviceOptions??[]).includes(n.ns.executeChoiceOnlineOneStop),a=e=>{if(!e.isUsagePaidServiceStartDate)return!1;let t=new Date;t.setHours(0,0,0,0);let i=new Date(e.isUsagePaidServiceStartDate);return i.setHours(0,0,0,0),i>t},l=e=>e.isUsagePaidService&&!a(e)&&(e?.serviceOptions??[]).includes(n.ns.executeOnlineOneStop),o=e=>l(e)||a(e)||r(e),c=e=>[{value:"",label:"都道府県から探す"},...Object.entries(e).map(([e,t])=>({value:String(e),label:String(t)}))],d=e=>e&&(0,s.Bi)()[e]||"",p=(e,t)=>!t||e.toLowerCase().includes(t.toLowerCase()),u=(e,t)=>e.replace(t,"")},66101:(e,t,i)=>{"use strict";i.d(t,{AV:()=>s,nN:()=>r,pT:()=>n});let s=()=>{let e=new Date,t=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),s=String(e.getDate()).padStart(2,"0");return`${t}年${i}月${s}日`},n=e=>{if(!e)return"";let t=e.match(/(\d{4})年(\d{2})月(\d{2})日/);if(t){let[,e,i,s]=t;return`${e}-${i}-${s}`}return e},r=e=>{if(!e)return"";let t=e.match(/(\d{4})-(\d{2})-(\d{2})/);if(t){let[,e,i,s]=t;return`${e}年${i}月${s}日`}return e}},69225:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/onestop-myna-less/application-edit",function(){return i(81449)}])},81449:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>U});var s=i(6029),n=i(81278),r=i(55729),a=i(32289),l=i(92971),o=i(47766),c=i(30345),d=i(45104),p=i(20965),u=i(14913),m=i(86174),h=i(45544),f=i(52209),_=i(78918),b=i(19850),x=i(45191),y=i(72426),A=i(18806),j=i(25828),N=i(9366),g=i(34380),C=i(62395),I=i(99332),v=i.n(I),O=i(85764),w=i(66101);let S="view",M="edit";function L({onYes:e,onNo:t,reuseDocumentInfo:i}){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("hr",{}),i&&(0,s.jsx)(c.A,{smallOnSP:!0,className:v().choice,children:"過去の申請で提出した確認書類を使って申請を行いますか?"}),(0,s.jsx)("div",{className:v().btn_wrapper,children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(a.A,{postfixIcon:(0,s.jsx)(l.A.ChevronRight,{}),className:v().btn,onClick:e,children:[(0,s.jsx)("strong",{children:"はい"}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:v().small_text,children:"(確認画像アップロードを省略)"})]}),(0,s.jsxs)(a.A,{postfixIcon:(0,s.jsx)(l.A.ChevronRight,{}),className:v().btn,htmlType:"secondary",onClick:t,children:[(0,s.jsx)("strong",{children:"いいえ"}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:v().small_text,children:"(全ての確認画像アップロード)"})]})]}):(0,s.jsx)(a.A,{postfixIcon:(0,s.jsx)(l.A.ChevronRight,{}),className:v().btn,onClick:t,children:(0,s.jsx)("strong",{children:"次へ"})})})]})}let U=function(){let{deductionRequest:e,setDeductionRequest:t,subscribes:i,s3Uuid:l}=(0,_.Y)(),{reuseDocumentInfo:I}=function(){let[e,t]=(0,r.useState)(null),i=(0,r.useCallback)(async()=>{let e=await (0,y.n)("onestop/client/online-onestop-myna-less/reuse",{isCompleteOnline:1}),i=e.props.data?.subscribes;Array.isArray(i)&&i.length>0&&t(i)},[]);return(0,r.useEffect)(()=>{A.Z.isCompleteOnline&&i().catch(e=>{console.error("Failed to fetch reuse document info:",e)})},[i]),{reuseDocumentInfo:e}}(),U=(0,n.useRouter)(),{manualCapturedAccountInformationHistories:D,accountInformationHistories:E,account:T}=(0,b.M)(),{switchLoading:k}=(0,u.M)(),[K,F]=(0,r.useState)(S),R={title:"申請情報確認/修正",currentStep:1,onBackClick:(0,r.useCallback)(async e=>{e.preventDefault(),(await (0,x.lJ)("最初の画面に戻ります。入力内容が失われますがよろしいですか?",{confirmButtonText:"はい",cancelButtonText:"いいえ"})).isConfirmed&&(window.location.href=O.Zc.onestopMynaLessTerms)},[])};(0,r.useEffect)(()=>
1{if(T&&T.id){let e=(0,C.Lo)(T.prefectureId);t({address:T.address,zipCode:T.zipCode,birthday:T.birthday,firstName:T.firstName,familyName:T.familyName,prefecture:e,prefectureId:T.prefectureId,phoneNumber:T.phoneNumber,firstNameKana:T.firstNameKana,familyNameKana:T.familyNameKana})}},[T,t]),(0,r.useEffect)(()=>{e&&K===S&&Object.values(e).some(e=>"string"==typeof e&&""===e)&&F(M)},[e,K]);let $=(0,r.useMemo)(()=>e?{...e,birthday:(0,w.pT)(e.birthday||"")}:null,[e]),B=(0,r.useMemo)(()=>e?[e]:[],[e]),P=async()=>{if(!I||!I[0]||!i||0===i.length)return;let e=I[0].reuseUuid;try{k(!0);let t=i.filter(e=>e.subscribeId&&e.requestUuid).map(t=>(0,j.y)().apiClientV1ReuseMynaLessOneStopsPost({subscribeId:t.subscribeId,reuseUuid:e,requestUuid:t.requestUuid,s3Uuid:l}));if((await Promise.all(t)).some(e=>e.status!==N.sC))return void await U.push({pathname:"/multi/error",query:{screenName:f.w.getMessage("M_ALL_000"),errorCode:h.J.getKey("E_M_ALL_130"),errorMessage:encodeURIComponent(h.J.getMessage("E_M_ALL_130"))}});U.push({pathname:O.Zc.onestopMynaLessMyNumberHandwritingInput,query:{loaded:!0}})}catch(e){await U.push({pathname:"/multi/error",query:{screenName:f.w.getMessage("M_ALL_000"),errorCode:h.J.getKey("E_M_ALL_130"),errorMessage:encodeURIComponent(h.J.getMessage("E_M_ALL_130"))}})}finally{k(!1)}};return(0,s.jsxs)(m.A,{...R,children:[(0,s.jsx)(o.A,{level:2,className:v().title,children:R.title}),(0,s.jsxs)(c.A,{level:2,className:v().description,children:["ワンストップ特例申請情報は下記です。",(0,s.jsx)("br",{}),"修正が必要な場合、各種情報の修正をしてください。"]}),K===S?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{subscribe:e}),(0,s.jsx)("div",{className:v().button_container,children:(0,s.jsx)(a.A,{onClick:()=>{F(M),window.scrollTo(0,0)},className:v().submit_btn,htmlType:"secondary",children:"変更する"})}),(0,s.jsx)(L,{onYes:P,onNo:()=>{U.push({pathname:O.Zc.onestopMynaLessMyNumberHandwritingInput,query:{loaded:!1}})},reuseDocumentInfo:I})]}):(0,s.jsx)(d.A,{editAccount:$,accounts:B,setEditAccount:i=>{if(!i)return;let s=Object.entries((0,N.Bi)()).find(([,e])=>e===i.prefecture),n=s?Number(s[0]):e?.prefectureId;t(e?{...e,...i,prefecture:i.prefecture,prefectureId:n??void 0}:{...i,prefecture:i.prefecture,prefectureId:n??void 0})},manualCapturedAccountInformationHistories:D,accountInformationHistories:E,onFinish:i=>{if(!i)return;let s={...i,birthday:i.birthday},n=Object.entries((0,N.Bi)()).find(([,e])=>e===s.prefecture),r=n?Number(n[0]):e?.prefectureId;t(e?{...e,...(0,g.tc)(s),prefecture:s.prefecture,prefectureId:r??void 0}:{...(0,g.tc)(s),prefecture:s.prefecture,prefectureId:r??void 0}),F(S)}})]})}},86174:(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var s=i(6029),n=i(20861),r=i(92971),a=i(97860),l=i(26360),o=i(47766),c=i(85764),d=i(81278),p=i(81405),u=i(22016);let m=function(e){let{children:t,title:i,currentStep:m,onBackClick:h}=e,f=(0,d.useRouter)(),_=[{url:c.Zc.multiTop,children:"ホーム"},{url:c.Zc.onestopMode,children:"オンラインワンストップ申請"},{url:"",children:"全部アップロード申請"}],b={href:"#",children:"戻る",onClick:h||f.back},x=(0,s.jsx)(l.A,{currentStep:m,steps:6,size:"large",border:"bottom",children:(0,s.jsx)(o.A,{children:i})}),y=(0,s.jsx)(a.A,{href:"#",children:"戻る",onClick:h||f.back,prefixIcon:(0,s.jsx)(r.A.ChevronLeftSolid,{}),variant:"text"});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.A,{title:"オンラインワンストップ"}),(0,s.jsx)(n.A,{options:_}),(0,s.jsxs)(p.A,{children:[(0,s.jsx)(p.A.Top,{title:{upper:x,lower:y}}),(0,s.jsx)(p.A.Content,{footerLink:b,children:(0,s.jsx)(p.A.Container,{children:t})})]})]})}},91053:(e,t,i)=>{"use strict";i.d(t,{FN:()=>r,T$:()=>o,_b:()=>l,cJ:()=>c,du:()=>s,ns:()=>d,pc:()=>n,z_:()=>a});let s="1",n="2",r={prefecture:"",municipalityId:"",municipalityName:"",municipalityEveryCount:"0",municipalityEveryDonation:"0",isDeliveryAuthorized:!1,isFreeOnestopAuthorized:!1,isUsageService:!1,filterEffectFlg:!1,serviceOptions:[],subscribeList:[]},a={id:null,municipalityId:"",municipalityName:"",localGovernmentCode:""}
1,l={id:null,paidOn:"",donation:"",receptionNo:"",incomplete:"",onestopApplication:"",deliveryStatus:null,isDeliveryChangeable:!1},o={isOnestopUnApplied:!1,isOnestopUnAppliedTodo:!1,isOnestopUnopened:!1,isOnestopConfirmation:!1,isOnestopCompleted:!1,isOnestopIncompleted:!1,isChangedUnApplied:!1,isChangedCompleted:!1},c={isOnestopUnApplied:"未申請",isOnestopUnAppliedTodo:"未申請",isOnestopUnopened:"書類到着済/確認中",isOnestopConfirmation:"確認中",isOnestopCompleted:"受付完了",isOnestopIncompleted:"不備あり",isChangedUnApplied:"",isChangedCompleted:"受付完了"},d={receiptReissue:3,displayDeliveryStatus:4,changeDeliveryAddress:6,deliveryDateChange:7,displayOneStopStatus:2,executeOnlineOneStop:8,executeChoiceOnlineOneStop:9}},99332:e=>{e.exports={title:"application-edit_title__sWpTl",description:"application-edit_description__nIKoz",button_container:"application-edit_button_container__r9AsE",submit_btn:"application-edit_submit_btn__eD8VR",choice:"application-edit_choice__Hnfp_",btn_wrapper:"application-edit_btn_wrapper__UKVH5",btn:"application-edit_btn__0N_PT",small_text:"application-edit_small_text__KfmOF"}}},e=>{e.O(0,[883,1909,2615,6162,5804,449,3787,3004,274,9671,7104,3881,2647,9746,5618,2519,636,6593,8792],()=>e(e.s=69225)),_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.