PageSourceSearch

https://visa-navi.vercel.app/_next/static/chunks/565375cdb6b165de.js

js visa-navi.vercel.app collected 2026-10-03 08:00:15 UTC 5,149 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16664,e=>{"use strict";e.s(["regionColors",0,{asia:{main:"#E03131",light:"#E0313115",hover:"#C92A2A"},europe:{main:"#1971C2",light:"#1971C215",hover:"#1864AB"},north_america:{main:"#2F9E44",light:"#2F9E4415",hover:"#2B8A3E"},south_america:{main:"#E8590C",light:"#E8590C15",hover:"#D9480F"},oceania:{main:"#3BC9DB",light:"#3BC9DB15",hover:"#22B8CF"},africa:{main:"#F08C00",light:"#F08C0015",hover:"#E67700"},middle_east:{main:"#AE3EC9",light:"#AE3EC915",hover:"#9C36B5"}},"visaStatusColors",0,{visa_free:{main:"#22c55e",light:"#22c55e15",hover:"#16a34a"},evisa:{main:"#ef4444",light:"#ef444415",hover:"#dc2626"},visa_required:{main:"#ef4444",light:"#ef444415",hover:"#dc2626"}}])},12630,e=>{"use strict";var s=e.i(43476),t=e.i(22016),r=e.i(71645),i=e.i(16664);let a={あ:"ア",い:"イ",う:"ウ",え:"エ",お:"オ",か:"カ",き:"キ",く:"ク",け:"ケ",こ:"コ",さ:"サ",し:"シ",す:"ス",せ:"セ",そ:"ソ",た:"タ",ち:"チ",つ:"ツ",て:"テ",と:"ト",な:"ナ",に:"ニ",ぬ:"ヌ",ね:"ネ",の:"ノ",は:"ハ",ひ:"ヒ",ふ:"フ",へ:"ヘ",ほ:"ホ",ま:"マ",み:"ミ",む:"ム",め:"メ",も:"モ",や:"ヤ",ゆ:"ユ",よ:"ヨ",ら:"ラ",り:"リ",る:"ル",れ:"レ",ろ:"ロ",わ:"ワ",を:"ヲ",ん:"ン",が:"ガ",ぎ:"ギ",ぐ:"グ",げ:"ゲ",ご:"ゴ",ざ:"ザ",じ:"ジ",ず:"ズ",ぜ:"ゼ",ぞ:"ゾ",だ:"ダ",ぢ:"ヂ",づ:"ヅ",で:"デ",ど:"ド",ば:"バ",び:"ビ",ぶ:"ブ",べ:"ベ",ぼ:"ボ",ぱ:"パ",ぴ:"ピ",ぷ:"プ",ぺ:"ペ",ぽ:"ポ"};function l(e){let s=e;for(let[e,t]of Object.entries(a))s=s.replace(RegExp(e,"g"),t);return s.toLowerCase()}function n({countries:e}){let[a,n]=(0,r.useState)(""),[o,d]=(0,r.useState)(e);return(0,r.useEffect)(()=>{a?d(function(e,s){let t=l(s.trim()),r=[],i=[],a=[];for(let s of e){let e=l(s.name);e===t?r.push(s):e.startsWith(t)?i.push(s):e.includes(t)&&a.push(s)}return[...r,...i,...a]}(e,a)):d(e)},[a,e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mb-6",children:[(0,s.jsxs)("div",{className:"relative mx-auto max-w-xl",children:[(0,s.jsx)("input",{className:"w-full rounded-lg border border-gray-300 px-4 py-3 pr-10 shadow-sm focus:border-blue-500 focus:outline-none focus:ring-1 focus:ring-blue-500",onChange:e=>n(e.target.value),onCompositionEnd:e=>{n(e.target.value)},onKeyDown:e=>{if("Enter"===e.key&&e.preventDefault(),"isComposing"in e&&e.isComposing)return},placeholder:"国名で検索...",type:"text",value:a}),(0,s.jsx)("svg",{"aria-hidden":"true",className:"absolute top-1/2 right-3 h-5 w-5 -translate-y-1/2 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})]}),(0,s.jsxs)("p",{className:"mt-2 text-center text-gray-500 text-sm",children:[o.length,"カ国が見つかりました"]})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:o.map(e=>{let r=i.visaStatusColors[e.visaRequirement.type];return(0,s.jsxs)(t.default,{className:"flex flex-col overflow-hidden rounded-lg border border-gray-200 bg-white shadow-sm transition-all hover:-translate-y-1 hover:shadow-md",href:`/country/${e.id}`,children:[(0,s.jsx)("div",{className:"h-2",style:{backgroundColor:r.main}}),(0,s.jsxs)("div",{className:"relative flex flex-1 flex-col p-5",children:[(0,s.jsxs)("h3",{className:"mr-28 font-medium text-gray-900 text-lg lg:mr-0",children:[a&&e.name.toLowerCase().includes(a.toLowerCase())?function(e,t){if(!t)return e;let r=e.toLowerCase(),i=t.toLowerCase(),a=r.indexOf(i);return -1===a?e:(0,s.jsxs)(s.Fragment,{children:[e.substring(0,a),(0,s.jsx)("span",{className:"bg-yellow-100 font-medium",children:e.substring(a,a+t.length)}),e.substring(a+t.length)]})}(e.name,a):e.name,e.code&&(0,s.jsx)("span",{className:"ml-2 inline-block align-middle",children:(0,s.jsx)("span",{className:`fi fi-${e.code.toLowerCase()}`,style:{width:"20px",height:"15px",display:"inline-block"}})})]}),(0,s.jsx)("div",{className:"mt-1 mr-28 w-fit lg:mr-0",children:(0,s.jsx)("div",{className:"rounded-full px-3 py-1 font-medium text-xs",style:{backgroundColor:r.light,color:r.main},children:"visa_free"===e.visaRequirement.type?"ビザなし":"evisa"===e.visaRequirement.type?"要電子ビザ":"要ビザ"})}),e.visaRequirement.duration?(0,s.jsxs)("div",{className:"absolute right-4 bottom-6 flex flex-shrink-0 flex-col items-end",children:[(0,s.jsx)("span",{className:"text-gray-500 text-xs",children:"滞在可能期間"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"font-bold text-2xl",style:{color:r.main},children:e.visaRequirement.duration}),(0,s.jsx)("span",{className:"ml-1 text-base text-gray-500",children:"日間"})]})]}):null]})]},e.id)})}),a&&0===o.length&&(0,s.jsx)("div",{className:"mt-8 rounded-lg border border-gray-200 bg-white p-8 text-center shadow-sm",children:(0,s.jsxs)("p",{className:"text-gray-500",children:["「",a,"」に一致する国が見つかりませんでした"]})})]})}e.s(["default",()=>n])}]);

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.