PageSourceSearch

https://mypg.jp/_next/static/chunks/pages/app/onestop-adad1b39ed9f7abd.js

js mypg.jp collected 2026-10-03 20:25:34 UTC 7,631 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2968],{5237:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(6029),a=n(5233),i=n(17639),s=n(74639),o=n(14763),c=n(17388),l=n(55125),u=n(89099),d=n(55729);let f=()=>{let e;return e=(0,u.useRouter)(),(0,d.useEffect)(()=>{(async()=>{if(e.isReady){let t=e.query.intentMode,n=String(e.query.sessionId),r=String(e.query.nonce),a=new l.H(n).createInformationBeforeClient("/app/onestop-back/select/");if(!n)return await e.push(`exp://5x-pmu.mamoruyamada.19000.exp.direct:80/--${i.R.redirectPath.login}`);t===s.f.extMynaPortalMode.login?setTimeout(()=>{let e=a.getNonceLink();e instanceof Error?window.alert(e.message):((0,o.JW)(e),window.close())},500):t===s.f.extMynaPortalMode.fetchInformation?setTimeout(async()=>{try{await c.X.informationRegister(r,n,null,null,"myna/client/myna/information/android")}catch(e){window.alert(e)}window.close()},500):t===s.f.extMynaPortalMode.fetchSignature&&setTimeout(async()=>{try{await c.X.fetchSignature(r,String(e.query.digest),n,null,"myna/client/myna/one-stop-requests/android")}catch(e){window.alert(e instanceof Error?e.message:String(e))}finally{window.close()}},500)}})()},[e]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.A,{title:"オンラインワンストップ申請 - 画面遷移"}),(0,r.jsxs)("div",{className:"c-page-sub__base",children:[(0,r.jsx)("div",{className:"c-page-sub__header",children:(0,r.jsx)("header",{className:"c-signup__header",children:(0,r.jsx)("picture",{className:"c-signup__header-logo",children:(0,r.jsx)("img",{src:"/img/logo/logo_horizontal_2026.svg",alt:"自治体マイページ"})})})}),(0,r.jsx)("main",{className:"c-page-sub__main",children:(0,r.jsx)("article",{children:(0,r.jsx)("div",{className:"c-page-sub__body",children:(0,r.jsxs)("div",{className:"c-login__form",children:["マイナポータルアプリを開始します。",(0,r.jsx)("br",{}),(0,r.jsx)("br",{})]})})})})]})]})}},14763:(e,t,n)=>{"use strict";function r(e,t=null){let n=document.createElement("a");return document.body.appendChild(n),n.href=e,n.target=t,n.click(),!0}function a(e,t){try{return document.removeEventListener(e,t),document.addEventListener(e,t,{once:!0}),!0}catch(e){return!1}}n.d(t,{EB:()=>a,JW:()=>r})},17388:(e,t,n)=>{"use strict";n.d(t,{X:()=>f});var r=n(56733),a=n(74639),i=n(51425),s=n(92385),o=n(14763),c=n(94298),l=n(59439),u=n(30613),d=n(39551);class f{static async fetchSignature(e,t,n,r=()=>!0,a){let s=l.f.getUserPlatform();return s.os===i.DL.os.windows||s.os===i.DL.os.mac?await this.fetchSignatureExt(t,n,r):await this.fetchSignatureSP(t,e,n,s,a)}static async informationRegister(e,t,n=e=>e,r=e=>e,a){try{let s=l.f.getUserPlatform();if(s.os===i.DL.os.windows||s.os===i.DL.os.mac)return await this.informationRegisterExt(t,e,n,r);return await this.informationRegisterSP(e,s,t,a)}catch(e){return window.alert(e instanceof Error?e.message:JSON.stringify(e)),!1}}static async fetchSignatureSP(e,t,n,r,i="myna/client/myna/one-stop-requests/sp"){let s=c.P.resolveApProcessUrl(i);try{if(c.P.isAndroidFamily())return window.location.href=a.f.startSignatureIntent(n,t,e,s),!0;if(c.P.isIosFamily())return window.location.href=a.f.startSignatureUniversalLink(n,t,e,s),!0;return!1}catch(e){return!1}}static async fetchSignatureExt(e,t,n=()=>!0){try{let n;return(0,o.EB)("recvMsg",async n=>{let a=JSON.parse(n.detail);try{if(null==a.signature)return!1;let n=await (0,s.L4)("/myna/client/myna/one-stop-requests/verify",{certificate:a.certificate,signature:a.signature,digest:e,session_id:t}),i=n.props.status,o=n.props.data;if(window.scrollTo(0,0),i===r.V.NO_CONTENT)return window.location.href="/onestop/complete",!0;if(i===r.V.BAD_REQUEST&&(0,u.iG)(o))return window.location.href=(0,u.qI)(),!1;if(i===r.V.BAD_REQUEST&&(0,u.N7)(o))return window.location.href=(0,d.c)({mode:"revoked"}),!1;return window.location.href=(0,u.qI)(),!1}catch(e){return!1}}),n=new CustomEvent("launchApp",{bubbles:!0,detail:a.f.extFetchSignatureMessage(decodeURIComponent(e).replace(",",'","'),"14","14")}),document.dispatchEvent(n)}catch(e){return!1}}static async informationRegisterSP(e,t,n,r="myna/client/myna/information/sp"){let i=c.P.resolveApProcessUrl(r);try{if(c.P.isAndroidFamily())return window.location.href=a.f.postInformationIntent(i,n,e),!0;if(c.P.isIosFamily())return window.location.href=a.f.postInformationUniversalLink(i,n,e),!0;return!1}catch(e){return!1}}static async informationRegisterExt(e,t,n=()=>!0,r=()=>!0){try{let i;return(0,o.EB)("recvMsg",async function(a){try{let i=await JSON.parse(a.detail);return await f.sendInformation({address:i.address,birthday:i.birthday,mynumber:i.mynumber,name:i.name,sex:i.sex,nonce:t,session_id:e},n,r)}catch(e){return r("本人確認に失敗しました。再度お試しいただくか、読み取りアプリの更新をお試しください。(エラーコード:002)"),!1}}),i=new CustomEvent("launchApp",{bubbles:!0,detail:a.f.extInformationSe
1ndMessage("14","14")}),document.dispatchEvent(i),!0}catch(e){return console.log(e),!1}}static async sendInformation(e,t,n){try{if((await (0,s.L4)("/myna/client/myna/information/pc",e)).props.status===r.V.NO_CONTENT)return t(!0),n(""),!0;return n("本人確認に失敗しました。時間をおいて再度お試しください。自治体へお問い合わせいただくか、マイナンバーカードの更新をお試しください。(エラーコード:001)"),!1}catch(e){return n("本人確認に失敗しました。時間をおいて再度お試しください。自治体へお問い合わせいただくか、マイナンバーカードの更新をお試しください。(エラーコード:001)"),!1}}}},30613:(e,t,n)=>{"use strict";n.d(t,{Dd:()=>o,N7:()=>c,iG:()=>l,qI:()=>u});var r=n(80444),a=n(94279),i=n(37605),s=n(39551);function o(){return{screenName:r.w.getMessage("M_ONE_000"),errorCode:a.J.getKey("E_M_ONE_620"),errorMessage:encodeURIComponent(a.J.getMessage("E_M_ONE_620")),errorUrl:i.h.getUrl("E_M_ONE_620")}}function c(e){return"object"==typeof e&&null!==e&&!0===e.revoked}function l(e){return"object"==typeof e&&null!==e&&"failed"in e}function u(){return(0,s.l)(o())}},37605:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});class r{static{this.NOTE_PM_ORIGIN="https://notepm.jp/sharing/"}static{this.NOTE_PM_PASS={PASS_CODE:"ff08a3b7-fc3a-4f46-a033-a75cb456598f",UNKNOWN_NO:"ac2a7d37-3c29-4419-9e39-4ebd2b990c48",FAILED_VERIFY_REGISTER:"a325eae0-0197-4101-8d03-fcc4ef6c426e",FAILED_VERIFY_ADD_DONATION:"f239a752-d164-449f-86ae-8411e459953e",E_M_ONE_320:"3c23dda4-dad8-45e6-b852-5f22192cb7ef",FAILED_VERIFY_CODE:"cc25af08-f9df-4741-a767-ad28e6a7b490",ABOUT_PASSKEY:"98792a8d-1e4d-40a0-bc80-8fdade392835"}}static getUrl(e){let t=this.NOTE_PM_PASS[e];return t?this.NOTE_PM_ORIGIN+t:""}}},39551:(e,t,n)=>{"use strict";n.d(t,{c:()=>i,l:()=>s});var r=n(39487);function a(e,t){let n=new URL(e,"http://internal.url-helpers.invalid/");Object.entries(t).forEach(([e,t])=>{n.searchParams.set(e,t)});let{pathname:r}=n;return r.endsWith("/")||(r=`${r}/`),`${r}${n.search}`}function i(e){return a(r.Zc.onestopError,{mode:e.mode})}function s(e){return a(r.Zc.error,e)}},56733:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});class r{static{this.SUCCESS=200}static{this.CREATED=201}static{this.NO_CONTENT=204}static{this.BAD_REQUEST=400}static{this.UNAUTHORIZED=401}static{this.FORBIDDEN=403}static{this.NOT_FOUND=404}static{this.UNPROCESSABLE_ENTITY=422}static{this.TOO_MANY_REQUEST=429}static{this.INTERNAL_SERVER_ERROR=500}}},92333:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/onestop",function(){return n(5237)}])}},e=>{e.O(0,[9930,4986,6078,5125,636,6593,8792],()=>e(e.s=92333)),_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.