1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1811],{4474:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});let a={BASIC:"BASIC",PRACTICE:"PRACTICE",LOCAL:"LOCAL STUDY HIKING",GUEST:"GUEST SEMINAR",AMBASSADOR:"AMBASSADOR'S SIGNATURE",LIFE:"LIFE&COMMUNITY",SHOP:"SHOP/STAFF/PRODUCTS",NONE:"ãªã"};function r(e){var t;return null!=(t=a[e])?t:e}},34527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>F,default:()=>w});var a=n(37876),r=n(85278),i=n(92303),s=n(14232),o=n(23255),l=n(42247),c=n(96652),d=n(10614),u=n(43008),m=n.n(u),h=n(59486),p=n(53067),x=n(59487),v=n(69040),j=n.n(v),f=function(e){return e.TEXT="TEXT",e.RADIO="RADIO",e.RADIO_FREE="RADIO_FREE",e.CHECKBOX="CHECKBOX",e.CHECKBOX_FREE="CHECKBOX_FREE",e}({});function g(e){switch(e){case"TEXT":default:return"TEXT";case"RADIO":return"RADIO";case"RADIO_FREE":return"RADIO_FREE";case"CHECKBOX":return"CHECKBOX";case"CHECKBOX_FREE":return"CHECKBOX_FREE"}}function y(e){let{question:t,type:n,options:r,questionIndex:i,onChange:s,hasError:o}=e;switch((!r||0===r.length)&&(r=null),n){case"RADIO":return(0,a.jsx)(N,{question:t,options:r,questionIndex:i,onChange:s,hasError:o});case"RADIO_FREE":return(0,a.jsx)(C,{question:t,options:r,questionIndex:i,onChange:s,hasError:o});case"CHECKBOX":return(0,a.jsx)(b,{question:t,options:r,questionIndex:i,onChange:s,hasError:o});case"CHECKBOX_FREE":return(0,a.jsx)(I,{question:t,options:r,questionIndex:i,onChange:s,hasError:o});case"TEXT":return(0,a.jsx)(E,{question:t,questionIndex:i,onChange:s,hasError:o});default:return null}}function N(e){let{question:t,options:n,questionIndex:r,onChange:i,hasError:s}=e;return(0,a.jsxs)("div",{className:j().QuestionItem,children:[(0,a.jsx)("div",{className:j().Question,children:t}),(0,a.jsx)("div",{className:j().Answer,children:(0,a.jsx)("div",{className:s?"".concat(j().RadioButtons," ").concat(j().RadioButtonsError):j().RadioButtons,children:n.map((e,t)=>(0,a.jsxs)("div",{className:j().RadioButtonItem,children:[(0,a.jsx)("input",{type:"radio",name:"question".concat(r),id:"question".concat(r,"_").concat(t),value:e,onChange:i}),(0,a.jsx)("label",{htmlFor:"question".concat(r,"_").concat(t),children:e})]},t))})})]})}function C(e){let{question:t,options:n,questionIndex:r,onChange:i,hasError:s}=e;return(0,a.jsxs)("div",{className:j().QuestionItem,children:[(0,a.jsx)("div",{className:j().Question,children:t}),(0,a.jsx)("div",{className:j().Answer,children:(0,a.jsxs)("div",{className:s?"".concat(j().RadioButtons," ").concat(j().RadioButtonsError):j().RadioButtons,children:[n.map((e,t)=>(0,a.jsxs)("div",{className:j().RadioButtonItem,children:[(0,a.jsx)("input",{type:"radio",name:"question".concat(r),id:"question".concat(r,"_").concat(t),value:e,onChange:i}),(0,a.jsx)("label",{htmlFor:"question".concat(r,"_").concat(t),children:e})]},t)),(0,a.jsxs)("div",{className:j().Other,children:[(0,a.jsx)("input",{type:"radio",name:"question".concat(r),id:"question".concat(r,"_other"),value:"other",onChange:i}),(0,a.jsx)("label",{htmlFor:"question".concat(r,"_other"),children:"ãã®ä»"}),(0,a.jsx)("input",{type:"text",name:"question".concat(r,"_other_text"),id:"question".concat(r,"_other_text"),onChange:i,className:j().OtherInput,placeholder:"ãã®ä»ã®å ´åã¯ãã¡ãã«ãè¨å
¥ãã ãã"})]})]})})]})}function b(e){let{question:t,options:n,questionIndex:r,onChange:i,hasError:s}=e;return(0,a.jsxs)("div",{className:j().QuestionItem,children:[(0,a.jsx)("div",{className:j().Question,children:t}),(0,a.jsx)("div",{className:j().Answer,children:(0,a.jsx)("div",{className:s?"".concat(j().CheckboxButtons," ").concat(j().CheckboxButtonsError):j().CheckboxButtons,children:n.map((e,t)=>(0,a.jsxs)("div",{className:j().CheckboxButtonItem,children:[(0,a.jsx)("input",{type:"checkbox",name:"question".concat(r),id:"question".concat(r,"_").concat(t),value:e,onChange:i}),(0,a.jsx)("label",{htmlFor:"question".concat(r,"_").concat(t),children:e})]},t))})})]})}function I(e){let{question:t,options:n=[],questionIndex:r,onChange:i,hasError:s}=e;return(0,a.jsxs)("div",{className:j().QuestionItem,children:[(0,a.jsx)("div",{className:j().Question,children:t}),(0,a.jsx)("div",{className:j().Answer,children:(0,a.jsxs)("div",{className:s?"".concat(j().CheckboxButtons," ").concat(j().CheckboxButtonsError):j().CheckboxButtons,children:[n.map((e,t)=>(0,a.jsxs)("div",{className:j().CheckboxButtonItem,children:[(0,a.jsx)("input",{type:"checkbox",name:"question".concat(r),id:"question".concat(r,"_").concat(t),value:e,onCh
1ange:i}),(0,a.jsx)("label",{htmlFor:"question".concat(r,"_").concat(t),children:e})]},t)),(0,a.jsxs)("div",{className:j().Other,children:[(0,a.jsx)("input",{type:"checkbox",name:"question".concat(r),id:"question".concat(r,"_other"),value:"other",onChange:i}),(0,a.jsx)("label",{htmlFor:"question".concat(r,"_other"),children:"ãã®ä»"}),(0,a.jsx)("input",{type:"text",name:"question".concat(r,"_other_text"),id:"question".concat(r,"_other_text"),onChange:i,className:j().OtherInput,placeholder:"ãã®ä»ã®å ´åã¯ãã¡ãã«ãè¨å
¥ãã ãã"})]})]})})]})}function E(e){let{question:t,questionIndex:n,onChange:r,hasError:i}=e;return(0,a.jsxs)("div",{className:j().QuestionItem,children:[(0,a.jsx)("div",{className:j().Question,children:t}),(0,a.jsx)("div",{className:j().Answer,children:(0,a.jsx)("textarea",{name:"question".concat(n),id:"question".concat(n),onChange:r,className:i?j().TextareaError:void 0})})]})}function k(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"å±±ã¨éHLCããã°ã©ã åå è¦ç´"}),(0,a.jsx)("p",{children:"æ ªå¼ä¼ç¤¾å±±ã¨éï¼ä»¥ä¸ããå½ç¤¾ï¼å±±ã¨éHLCã¢ã³ããµãã¼ãå¼çè
ãå«ãï¼ãã¨ããã¾ããï¼ãéå¬ããæ¬ããã°ã©ã ã«åå ããã«ããããåå è
ã®çããã¯ä»¥ä¸ã®å
容ãã確èªã®ãããæ¬ããã°ã©ã ã¸ãç³ãè¾¼ã¿ãã¦ãã ãããå½ç¤¾ãéå¬ããæ¬ããã°ã©ã ã«åå ããå ´åã¯ãå±±ã¨éHLCããã°ã©ã åå è¦ç´ï¼ä»¥ä¸ããæ¬åå è¦ç´ãã¨ããã¾ããï¼ã«åæããããã®ã¨ã¿ãªãã¾ãã"}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã«ããã¦å®¿æ³ããå ´åã宿æ³å
ã¯ãã³ãå ´ãããã¯å±±å°å±ï¼æ
館ã»ããã«å¶æ¥ãç°¡æå®¿æ³æå¶æ¥ãä¸å®¿å¶æ¥ã«ç¨ããæ½è¨ã«ããããªããã®ã«éããï¼ã«éå®ããã¾ãã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã¯ç¾å°éåã»ç¾å°è§£æ£ã¨ãªããéåå ´æã¾ã§åã¯è§£æ£å ´æããã®ç§»åè²»ã»äº¤éè²»ã¯åå è
è² æ
ã¨ãªãã¾ããéåå ´æã¾ã§åã¯è§£æ£å ´æããã®ç§»åææ®µããªãå ´åãå½ç¤¾ãåå è
ãéè¿ããå ´åãããã¾ãããã ããéè¿ã叿ããåå è
ã®äººæ°ãéåã»è§£æ£å ´æããã®ä»ã®ç¶æ³æ¬¡ç¬¬ã§éè¿ã§ããªãå ´åãããã¾ãã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ããã°ã©ã ã®åå ã«ãããããã¢ã³ãã«éããã³ä¿éºï¼ãã®ä»å½ç¤¾ãæå®ããä¿éºï¼ãã¸ã®å å
¥ã義åã¥ãããã¾ãããã ãããã§ã«å½ç¤¾ãæå®ããä¿éºã®è£åå
容ã¨åçã®ä¿éºã«å å
¥ãã¦ããå ´åã¯ã追å å å
¥ã¯ä¸è¦ã§ãã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ããã°ã©ã ã®ç³ãè¾¼ã¿ãã¼ã¸ã«å®ããåå è²»ãå½ç¤¾ãæå®ããæ¹æ³ã§æ¯æããªããã°ãªãã¾ããã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ããã°ã©ã ã®åå ã«ããããå½ç¤¾ã«éç¥ãã¹ãå¥åº·ç¶æ
ãæç
ãç¾æ£ãæè¡å±¥æ´ãå
¥éé¢å±¥æ´ãé害ãããå ´åãå¿
ããç³ãè¾¼ã¿æã«å½ç¤¾ã«é£çµ¡ãã¦ãã ããããã®å
容次第ã§ã¯ãå½ç¤¾ã®å¤æã«ããåå ããæãããå ´åãããã¾ãã"}),(0,a.jsxs)("li",{children:[(0,a.jsx)("p",{children:"åå è
ã以ä¸ã®äºç±ã«è©²å½ããã¨å¤æããå ´åãæ¬ããã°ã©ã ã®åå ããæãããå ´åãããã¾ããã¾ããåå è
ã以ä¸ã®äºç±ã«è©²å½ãããã¨ãæ¬ããã°ã©ã ã®éå¬ä¸ã«å¤æããå ´åããã以éã®æ¬ããã°ã©ã ã¸ã®åå ããæãããã¦é ãå ´åãããã¾ãããããã®å ´åãåå è²»ã®è¿éã¯è¡ãã¾ããã"}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:"åå è
ã飲é
ç¶æ
ï¼äºæ¥é
ããå«ã¿ã¾ããï¼ã®å ´å"}),(0,a.jsx)("li",{children:"åå è
ãå¦å¨ ä¸ã®å ´å"}),(0,a.jsx)("li",{children:"åå è
ã®ä½èª¿ãåªããªãå ´å"}),(0,a.jsx)("li",{children:"å½ç¤¾ãæå®ããå¿
æºåãæºåãã¦ããªãå ´å"}),(0,a.jsx)("li",{children:"åå è
ã®æè£
åã¯è£
åãæ¬ããã°ã©ã ã®åå ã«ä¸é©å½ãªå ´å"})]})]}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã®é嬿¥ã®å¤©åãåå è
ãæå°å¬è¡äººæ°æªæºã®å ´åããã®ä»ã®äºæ
ã«ãããå½ç¤¾ã®å¤æã§æ¬ããã°ã©ã ã®ä¸æ¢åã¯å»¶æãè¡ãå ´åãããã¾ãããã®å ´åãå½ç¤¾ã¯ãé嬿¥ã®åæ¥ã®15æã¾ã§ã«åå è
ã«ãé£çµ¡ãã¾ãã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã®é嬿¥ã®å¤©åãããã°ã©ã éå¬å ´æã®ç¶æ³ããã®ä»ã®äºæ
ã«åºã¥ããå½ç¤¾ã®å¤æã§ããã°ã©ã ã®å
容ãã³ã¼ã¹ã夿´ã«ãªãå ´åãããã¾ãã"}),(0,a.jsx)("li",{children:"åé
ã«åºã¥ãå½ç¤¾ãæ¬ããã°ã©ã ã®ä¸æ¢åã¯å»¶æã決å®ããå ´åã§ãã£ã¦ããå½ç¤¾ã¯ãäºåã«æ¯ææ¸ã¿ã®åå è²»ã®è¿éãååè¡ãã¾ããã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã¯èªç¶ã®ä¸ã«ãããæ´»åã§ãããäºæ¸¬ä¸è½ãªå±éºãä¼´ãã¾ãã®ã§ãæ¬ããã°ã©ã ã®åå ã«ããã£ã¦ã¯ãå½ç¤¾ã®æç¤ºãå¿
ãå®ã£ã¦ä¸ããã"}),(0,a.jsx)("li",{children:"åå è
ãæ¬åå è¦ç´ã«éåããå ´åã¯å½ç¤¾ã®å®å
¨é
æ
®ç¾©åã¯è² ããªããã¨ãããæ¬åå è¦ç´ã«éåããåå è
ã«æå®³ãçºçããã¨ãã¦ããå½ç¤¾ã¯ãã®æå®³ã«ã¤ãã¦è²¬ä»»ãè² ãã¾ããã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã«ããã¦ãäººèº«äºæ
ãæºè¡åã®çé£ãç ´æãç´å¤±ãã®ä»ã®äºç±ã«ããåå è
ã«æå®³ãçããã¨ãã¦ãããã®äºç±åã³è«æ±åå ã®å¦ä½ãåãããå½ç¤¾ã«æ
æåã¯é大ãªé失ãã
1ªãéããå½ç¤¾ã¯ã10,000åãè¶
ãã¦æå®³è³ å義åãè² ãã¾ããã"})]})]})}function _(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"æ ªå¼ä¼ç¤¾å±±ã¨é(以ä¸ããå½ç¤¾(å±±ã¨éHLCã¢ã³ããµãã¼ãå¼çè
ãå«ã)ãã¨ããã¾ãã)ãéå¬ããæ¬ããã°ã©ã ã«åå ããã«ããããåå è
ã®çããã¯ä»¥ä¸ã®å
容ãã確èªã®ãããæ¬ããã°ã©ã ã¸ãç³ãè¾¼ã¿ãã¦ãã ãããå½ç¤¾ãéå¬ããæ¬ããã°ã©ã ã«åå ããå ´åã¯ãå±±ã¨éHLCããã°ã©ã åå è¦ç´(以ä¸ããæ¬åå è¦ç´ãã¨ããã¾ãã)ã«åæããããã®ã¨ã¿ãªãã¾ãã"}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã«ããã¦å®¿æ³ããå ´åã宿æ³å
ã¯ãã³ãå ´ãããã¯å±±å°å±(æ
館ã»ããã«å¶æ¥ãç°¡æå®¿æ³æå¶æ¥ãä¸å®¿å¶æ¥ã«ç¨ããæ½è¨ã«ããããªããã®ã«éãã)ã«éå®ããã¾ãã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã¯ç¾å°éåã»ç¾å°è§£æ£ã¨ãªããéåå ´æã¾ã§åã¯è§£æ£å ´æããã®ç§»åè²»ã»äº¤éè²»ã¯åå è
è² æ
ã¨ãªãã¾ããéåå ´æã¾ã§åã¯è§£æ£å ´æããã®ç§»åææ®µããªãå ´åãå½ç¤¾ãåå è
ãéè¿ããå ´åãããã¾ãããã ããéè¿ã叿ããåå è
ã®äººæ°ãéåã»è§£æ£å ´æããã®ä»ã®ç¶æ³æ¬¡ç¬¬ã§éè¿ã§ããªãå ´åãããã¾ãã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ããã°ã©ã ã®åå ã«ãããããã¢ã³ãã«å±±å²³ä¿éº(ãã®ä»å½ç¤¾ãæå®ããä¿éº)ãã¸ã®å å
¥ã義åã¥ãããã¾ãããã ãããã§ã«å½ç¤¾ãæå®ããä¿éºã®è£åå
容ã¨åçã®ä¿éºã«å å
¥ãã¦ããå ´åã¯ã追å å å
¥ã¯ä¸è¦ã§ãã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ããã°ã©ã ã®ç³ãè¾¼ã¿ãã¼ã¸ã«å®ããåå è²»ãå½ç¤¾ãæå®ããæ¹æ³ã§æ¯æããªããã°ãªãã¾ããã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ããã°ã©ã ã®åå ã«ããããå½ç¤¾ã«éç¥ãã¹ãå¥åº·ç¶æ
ãæç
ãç¾æ£ãæè¡å±¥æ´ãå
¥éé¢å±¥æ´ãé害ãããå ´åãå¿
ããç³ãè¾¼ã¿æã«å½ç¤¾ã«é£çµ¡ãã¦ãã ããããã®å
容次第ã§ã¯ãå½ç¤¾ã®å¤æã«ããåå ããæãããå ´åãããã¾ãã"}),(0,a.jsxs)("li",{children:[(0,a.jsx)("p",{children:"åå è
ã以ä¸ã®äºç±ã«è©²å½ããã¨å¤æããå ´åãæ¬ããã°ã©ã ã®åå ããæãããå ´åãããã¾ããã¾ããåå è
ã以ä¸ã®äºç±ã«è©²å½ãããã¨ãæ¬ããã°ã©ã ã®éå¬ä¸ã«å¤æããå ´åããã以éã®æ¬ããã°ã©ã ã¸ã®åå ããæãããã¦é ãå ´åãããã¾ãããããã®å ´åãåå è²»ã®è¿éã¯è¡ãã¾ããã"}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:"åå è
ã飲é
ç¶æ
(äºæ¥é
ããå«ã¿ã¾ãã)ã®å ´å"}),(0,a.jsx)("li",{children:"åå è
ãå¦å¨ ä¸ã®å ´å"}),(0,a.jsx)("li",{children:"åå è
ã®ä½èª¿ãåªããªãå ´å"}),(0,a.jsx)("li",{children:"å½ç¤¾ãæå®ããå¿
æºåãæºåãã¦ããªãå ´å"}),(0,a.jsx)("li",{children:"åå è
ã®æè£
åã¯è£
åãæ¬ããã°ã©ã ã®åå ã«ä¸é©å½ãªå ´å"})]})]}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã®é嬿¥ã®å¤©åãåå è
ãæå°å¬è¡äººæ°æªæºã®å ´åããã®ä»ã®äºæ
ã«ãããå½ç¤¾ã®å¤æã§æ¬ããã°ã©ã ã®ä¸æ¢åã¯å»¶æãè¡ãå ´åãããã¾ãããã®å ´åãå½ç¤¾ã¯ãé嬿¥ã®åæ¥ã®15æã¾ã§ã«åå è
ã«ãé£çµ¡ãã¾ãã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã®é嬿¥ã®å¤©åãããã°ã©ã éå¬å ´æã®ç¶æ³ããã®ä»ã®äºæ
ã«åºã¥ããå½ç¤¾ã®å¤æã§ããã°ã©ã ã®å
容ãã³ã¼ã¹ã夿´ã«ãªãå ´åãããã¾ãã"}),(0,a.jsx)("li",{children:"åé
ã«åºã¥ãå½ç¤¾ãæ¬ããã°ã©ã ã®ä¸æ¢åã¯å»¶æã決å®ããå ´åã§ãã£ã¦ããå½ç¤¾ã¯ãäºåã«æ¯ææ¸ã¿ã®åå è²»ã®è¿éãååè¡ãã¾ããã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã¯èªç¶ã®ä¸ã«ãããæ´»åã§ãããäºæ¸¬ä¸è½ãªå±éºãä¼´ãã¾ãã®ã§ãæ¬ããã°ã©ã ã®åå ã«ããã£ã¦ã¯ãå½ç¤¾ã®æç¤ºãå¿
ãå®ã£ã¦ä¸ããã"}),(0,a.jsx)("li",{children:"åå è
ãæ¬åå è¦ç´ã«éåããå ´åã¯å½ç¤¾ã®å®å
¨é
æ
®ç¾©åã¯è² ããªããã¨ãããæ¬åå è¦ç´ã«éåããåå è
ã«æå®³ãçºçããã¨ãã¦ããå½ç¤¾ã¯ãã®æå®³ã«ã¤ãã¦è²¬ä»»ãè² ãã¾ããã"}),(0,a.jsx)("li",{children:"æ¬ããã°ã©ã ã«ããã¦ãäººèº«äºæ
ãæºè¡åã®çé£ãç ´æãç´å¤±ãã®ä»ã®äºç±ã«ããåå è
ã«æå®³ãçããã¨ãã¦ãããã®äºç±åã³è«æ±åå ã®å¦ä½ãåãããå½ç¤¾ã«æ
æåã¯é大ãªé失ãã
1ªãéããå½ç¤¾ã¯ã10,000åãè¶
ãã¦æå®³è³ å義åãè² ãã¾ããã"})]})]})}function q(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"æ ªå¼ä¼ç¤¾å±±ã¨éï¼ä»¥ä¸ããå½ç¤¾ãã¨ããã¾ããï¼ãéå¬ããæ¬ã¤ãã³ãã«åå ããã«ããããåå è
ã®çæ§ã¯ä»¥ä¸ã®å
容ãã確èªã®ãããæ¬ã¤ãã³ãã¸ã®åå ã®ãç³ãè¾¼ã¿ãã ãããå½ç¤¾ãéå¬ããæ¬ã¤ãã³ãã«ãåå é ããå ´åã¯ãå±±éç¥åå è¦ç´ï¼ä»¥ä¸ããæ¬åå è¦ç´ãã¨ããã¾ããï¼ã«åæããããã®ã¨ã¿ãªãã¾ãã"}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã§ã¯ãã£ã³ãã³ã°ãµã¤ãã§ãã³ãæ³ãå¯è½ã§ãããã³ãæ³ä»¥å¤ã®å®¿æ³ã叿ãããå ´åã¯ãåèªãèªå·±è²»ç¨ã»è²¬ä»»ã§å®¿æ³å
ãç¨æãããã¨ãå¯è½ã§ãã"}),(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã¯ç¾å°éåã»ç¾å°è§£æ£ã¨ãªããéåå ´æã¾ã§åã¯è§£æ£å ´æããã®ç§»åè²»ã»äº¤éè²»ã¯åå è
è² æ
ã¨ãªãã¾ãã"}),(0,a.jsx)("li",{children:"åå è
ãæ¬ã¤ãã³ãã®ä¼å ´ã¾ã§å¾æ©ã§ç§»åãããå ´åããã®å¾æ©ç§»åã¯åèªã®è²¬ä»»ã§ã対å¿ããã ãã徿©ç§»åã«ãããäºæ
ã«ã¤ãã¦åå è
ã®èªå·±è²¬ä»»ã¨ãªãã¾ãã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ã¤ãã³ãã®åå ãã¼ã¸ã«å®ããåå æãå½ç¤¾ãæå®ããæ¹æ³ã§æ¯æããªããã°ãªãã¾ããã"}),(0,a.jsx)("li",{children:"åå è
ã¯ãæ¬ã¤ãã³ãã®åå ã«ããããå½ç¤¾ã«éç¥ãã¹ãå¥åº·ç¶æ
ãæç
ãç¾æ£ãæè¡å±¥æ´ãå
¥éé¢å±¥æ´ãé害ãããå ´åãå¿
ããç³ãè¾¼ã¿æã«å½ç¤¾ã«é£çµ¡ãã¦ãã ããããã®å
容次第ã§ã¯ãå½ç¤¾ã®å¤æã«ããåå ããæãããå ´åãããã¾ãã"}),(0,a.jsxs)("li",{children:[(0,a.jsx)("p",{children:"åå è
ã以ä¸ã®äºç±ã«è©²å½ããã¨å¤æããå ´åãæ¬ã¤ãã³ãã®åå ããæãããå ´åãããã¾ãããã®å ´åãåå è²»ã®è¿éã¯è¡ãã¾ããã"}),(0,a.jsxs)("ol",{children:[(0,a.jsx)("li",{children:"åå è
ãèããé
©é
ãã¦ããå ´å"}),(0,a.jsx)("li",{children:"åå è
ã®ä½èª¿ãåªããªãå ´å"})]})]}),(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã®åå ãå½ç¤¾ã«å¸°è²¬äºç±ãªããåå è
ã®é½åã§ãã£ã³ã»ã«ããå ´åãåå è²»ã®è¿éã«ã¯å¿ãããã¾ããã"}),(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã®é嬿¥ã®å¤©åããã®ä»ã®äºæ
ã«ãããå½ç¤¾ã®å¤æã§æ¬ã¤ãã³ãã®ä¸æ¢åã¯å»¶æãè¡ãå ´åãããã¾ãããã®å ´åãå½ç¤¾ã¯ãé嬿¥ã®åã
æ¥ã®15æã¾ã§ã«åå è
ã«ãé£çµ¡ãã¾ãã"}),(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã®é嬿¥ã®å¤©åãéå¬å ´æã®ç¶æ³ããã®ä»ã®äºæ
ã«åºã¥ããå½ç¤¾ã®å¤æã§ã¤ãã³ãå
容ã䏿¢åã¯å¤æ´ï¼å»¶æãå«ã¿ã¾ããï¼ã«ãªãå ´åãããã¾ãã"}),(0,a.jsx)("li",{children:"åé
ã«è¨è¼ãããäºæ
ã«åºã¥ãå½ç¤¾ãæ¬ã¤ãã³ããäºåæ¥ãå«ãã¦ä¸æ¢ã決å®ããå ´åã¯ãå½ç¤¾ã¯ãäºåã«æ¯ææ¸ã¿ã®åå è²»ãè¿éããå ´åãããã¾ãã"}),(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã¯èªç¶ã®ä¸ã«ãããæ´»åã§ãããäºæ¸¬ä¸è½ãªå±éºãä¼´ãã¾ãã®ã§ãæ¬ã¤ãã³ãã®åå ã«ããã£ã¦ã¯ãå½ç¤¾ã®æç¤ºãå¿
ãå®ã£ã¦ä¸ããã"}),(0,a.jsx)("li",{children:"åå è
ãæ¬åå è¦ç´ã«éåããå ´åã¯å½ç¤¾ã®å®å
¨é
æ
®ç¾©åã¯è² ããªããã¨ãããæ¬åå è¦ç´ã«éåããåå è
ã«æå®³ãçºçããã¨ãã¦ããå½ç¤¾ã¯ãã®æå®³ã«ã¤ãã¦è²¬ä»»ãè² ãã¾ããã"}),(0,a.jsx)("li",{children:"æ¬ã¤ãã³ãã«ããã¦ãäººèº«äºæ
ãæºè¡åã®çé£ãç ´æãç´å¤±ãã®ä»ã®äºç±ã«ããåå è
ã«æå®³ãçããã¨ãã¦ãããã®äºç±åã³è«æ±åå ã®å¦ä½ãåãããå½ç¤¾ã«æ
æåã¯é大ãªé失ããªãéããå½ç¤¾ã¯ã10,000åãè¶
ãã¦æå®³è³ å義åãè² ãã¾ããã"})]})]})}async function O(e){let{getShopifyAccountConfig:t}
1=await Promise.resolve().then(n.bind(n,74969)),a=t(),r="".concat(a.eventApp.url,"/programs/").concat(e),i=await fetch(r,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"}});if(!i.ok)throw Error("APIåå¾ã¨ã©ã¼: ".concat(i.status," ").concat(i.statusText));return await i.json()}var S=n(74969),T=n(4474);let A=(0,S.getShopifyAccountConfig)(),R=(0,S.pD)();function B(e){var t,n,u,v,j,N,C;let{wpData:b,appEventData:I,wpId:E,appEventId:S}=e,[A,R]=(0,s.useState)(""),[B,F]=(0,s.useState)(!1),[w,U]=(0,s.useState)(I),[M,L]=(0,s.useState)(!I),[Q]=(0,r.fp)(i.A),[H,Y]=(0,r.fp)(h.Ay);(0,s.useEffect)(()=>{!w&&S&&K()},[S,w]);let K=async()=>{try{L(!0),R("");let e=await O(S);U(e)}catch(e){R("ã¤ãã³ãæ
å ±ã®åå¾ã«å¤±æãã¾ããããã¼ã¸ãåèªã¿è¾¼ã¿ãã¦ãã ããã")}finally{L(!1)}};if(window.location.href,!(null==b||null==(t=b.graphQL)?void 0:t.data))return(0,a.jsx)(a.Fragment,{children:"Loading..."});if(M)return(0,a.jsx)(a.Fragment,{});let P=b.graphQL.data,X={categoryData:P.productsCategoriesForMenu,infoData:P.productsCategoriesInfoForMenu},W=Q?"Reservation":"äºç´ãã¼ã¸",z=(0,l.C3)({inEnglish:Q}),G={pc:null==(u=b.graphQL.data.event)||null==(n=u.eventInfo.image)?void 0:n.mediaItemUrl,sp:null==(j=b.graphQL.data.event)||null==(v=j.eventInfo.image)?void 0:v.mediaItemUrl},J=w.eventTitle,Z=w.area,$=(0,o.Df)(Z,Q),V=(0,o.EO)(w.start,w.end,Q),ee=w.category,et=(0,T.W)(ee);w.conditions;let en=w.conditions,ea=w.entryFee,er=ea.toString().replace(/(\d)(?=(\d{3})+$)/g,"$1,"),ei=((e,t,n)=>{if(!t||void 0===n)return{feeAmount:0,feeRate:0,description:"ã¨ã©ã¼: ã¤ãã³ãæ
å ±ãä¸å®å
¨ã§ã",refundAmount:n||0};let a=new Date,r=Math.ceil((new Date(t).getTime()-a.getTime())/864e5);if("NONE"===e)return{feeAmount:0,feeRate:0,description:Q?"No refunds for personal reasons":"å人ã®é½åã«ãããã£ã³ã»ã«ã¸ã®è¿éã¯ããã¾ãã",refundAmount:0};let i=0,s="";"NO"===e?r<=3?(i=1,s=Q?"Cancelation 3 days before: 100%":"ããã°ã©ã ã®å½æ¥ã¼3æ¥åï¼åå è²»ã®100%"):r<=10?(i=.5,s=Q?"Cancelation 4 - 10 days before: 50%":"ããã°ã©ã ã®4æ¥åã¼10æ¥åï¼åå è²»ã®50%"):(i=0,s=Q?"Cancelation 11 days before: 0%":"ããã°ã©ã ã®11æ¥åã¾ã§ï¼ç¡æ"):r<=7?(i=1,s=Q?"Cancelation 7 days before: 100%":"ããã°ã©ã ã®å½æ¥ã¼7æ¥åï¼åå è²»ã®100%"):r<=21?(i=.5,s=Q?"Cancelation 8 - 21 days before: 50%":"ããã°ã©ã ã®8æ¥åã¼21æ¥åï¼åå è²»ã®50%"):(i=0,s=Q?"Cancelation 22 days before: 0%":"ããã°ã©ã ã®22æ¥åã¾ã§ï¼ç¡æ");let o=Math.floor(n*i);return{feeAmount:o,feeRate:i,description:s,refundAmount:n-o}})(w.cancellationFee,w.start,w.entryFee),es=(0,a.jsxs)("ul",{className:m().CancelFee,children:[(0,a.jsx)("li",{children:Q?"Cancelation 7 days before : 100%":"ããã°ã©ã ã®å½æ¥ã¼7æ¥åï¼åå è²»ã®100%"}),(0,a.jsx)("li",{children:Q?"Cancelation 8 - 21 days before: 50%":"ããã°ã©ã ã®8æ¥åã¼21æ¥åï¼åå è²»ã®50%"}),(0,a.jsx)("li",{children:Q?"Cancelation 22 days before: 0%":"ããã°ã©ã ã®22æ¥åã¾ã§ï¼ç¡æ"})]}),eo=(0,a.jsxs)("ul",{className:m().CancelFee,children:[(0,a.jsx)("li",{children:Q?"Cancelation 3 days before: 100%":"ããã°ã©ã ã®å½æ¥ã¼3æ¥åï¼åå è²»ã®100%"}),(0,a.jsx)("li",{children:Q?"Cancelation 4 - 10 days before: 50%":"ããã°ã©ã ã®4æ¥åã¼10æ¥åï¼åå è²»ã®50%"}),(0,a.jsx)("li",{children:Q?"Cancelation 11 days before: 0%":"ããã°ã©ã ã®11æ¥åã¾ã§ï¼ç¡æ"})]}),el=(0,a.jsx)("ul",{className:m().CancelFee,children:(0,a.jsx)("li",{children:Q?"We cannot provide refunds for cancellations due to personal reasons. However, in the event that the event is canceled due to bad weather, natural disasters, or other unavoidable circumstances, the full participation fee will be refunded.":"å人ã®é½åã«ãããã£ã³ã»ã«ã¸ã®è¿éã¯ã§ãã¾ãããæªå¤©åãç½å®³çã®å½±é¿ã«ããã¤ãã³ãã䏿¢ã«ãªã£ãå ´åãåå è²»ã¯å
¨é¡è¿éãã¾ãã"})}),ec=es;"NO"===w.cancellationFee?ec=eo:"NONE"===w.cancellationFee&&(ec=el);let ed=null!=(N=w.maxNumberOfTickets)?N:1,eu="MULTI"===w.restriction,em=w.rule,eh=null;"INDOOR"===em||("OUTDOOR1"===em?eh=(0,a.jsx)(k,{}):"OUTDOOR2"===em?eh=(0,a.jsx)(_,{}):"YAMAMICHISAI"===em&&(eh=(0,a.jsx)(q,{})));let ep="OUTDOOR1"===em||"OUTDOOR2"===em,ex=w.question,ev=null!=(C=null==ex?void 0:ex.length)?C:0,ej=ex?ex.map((e,t)=>({index:t,type:g(e.type),question:e.q,options:e.options})):[],ef=w.status;w.isWaiting;let eg=!0,ey="";"BEFORE"===ef?(eg=!1,ey=Q?"Not yet open for reservation":"åéæéåã§ã"):"CLOSE"===ef?(eg=!1,ey=Q?"Closed":"åä»çµäºãã¾ãã"):"DRAFT"===ef&&(eg=!1,ey=Q?"Not yet open for reservation":"åéæéåã§ã");let eN=[{text:"PROGRAM",uri:"/community/program"},{text:J,uri:"/program/".concat(E)},{text:"äºç´ãã¼ã¸",uri:""}];return(0,a.jsxs)(c.Ay,{translateUri:Q?"/yamamichisai2024/reserve":"/en/yamamichisai2024/reserve",productsCategoryDataForMenu:X,breadCrumbData:eN,ogpData:z,pageTitle:W,children:[B&&(0,a.jsx)(d.w,{}),(0,a.jsx)("div",{className:m().TopSpacer}),(0,a.jsx)("h1",{className:m().PageTitle,children:Q?"Reserve a spot":"ã¤ãã³ããäºç´ãã"}),A&&(0,a.jsx)("div",{className:m().ErrorMessage,children:A}),!A&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:m().EventInfo,children:[(0,a.jsx)("div",{className:m().EventInfoTitle,children:Q?"Event Information":"ã¤ãã³ãæ
å ±"}),G.pc&&(0,a.jsxs)("div",{className:m().EventMainImage,children:[(0,a.jsx)("img",{src:G.pc,alt:"",className:m().pc}),(0,a.jsx)("img",{src:G.sp,alt:"",className:m().sp})]}),(0,a.jsxs)("dl",{children:[(0,a.jsx)("dt",{children:Q?"Event Name":"ã¤ãã³ãå"}),(0,a.jsx)("dd",{children:J}),$&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("dt",{children:Q?"Location":"ã¨ãªã¢"}),(0,a.jsx)("dd",{children:$})]}),"NONE"!==ee&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("dt",{children:Q?"Category":"ã«ãã´ãª"}),(0,a.jsx)("dd",{children:et})]}),en&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("dt",{children:Q?"Requirements":"åå æ¡ä»¶"}),(0,a.jsx)("dd",{children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:en}})})]}),(0,a.jsx)("dt",{children:Q?"Date":"æ¥æ"}),(0,a.jsx)("dd",{children:V}),(0,a.jsx)("dt",{children:Q?"Participation Fee":"åå è²»"}),(0,a.jsxs)("dd",{children:["\xa5",er," ",Q?"Tax Included":"(ç¨è¾¼)"]}),ea>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("dt",{children:Q?"Cancellation Fee":"ãã£ã³ã»ã«æé"}),(0,a.jsx)("dd",{children:"NONE"===w.cancellationFee?(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:Q?"No refund":"è¿éãªã"}),ec]}):(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:m().CancelFeeNow,children:["ï¿¥",ei.feeAmount.toLocaleStr
1ing()," ",Q?"(tax included)":"(ç¨è¾¼)"]}),(0,a.jsx)("div",{children:ec})]})})]})]})]}),(0,a.jsx)("div",{className:m().Spacer,children:(0,a.jsx)("hr",{})}),!H.isLoaded&&eg&&(0,a.jsx)("div",{className:m().LoginForm,children:Q?"Checking login status...":"ãã°ã¤ã³ç¶æ
ã確èªä¸..."}),H.isLoaded&&!H.shopifyId&&eg&&(0,a.jsx)("div",{className:m().mb80_160,children:(0,a.jsx)(x.Q,{loginText:"ãã°ã¤ã³ãã¦äºç´ãã"})}),H.isLoaded&&H.shopifyId&&eg&&(0,a.jsx)(function(e){let{account:t}=e,[n,i]=(0,s.useState)(!0),[o,l]=(0,r.fp)(p.AN);l(w.isWaiting);let[c,d]=(0,s.useState)(null),[u,h]=(0,s.useState)(!1),[x,v]=(0,s.useState)(!1),[j,N]=(0,s.useState)(!1),[C,b]=(0,s.useState)({lastName:!1,firstName:!1,kana:!1,gender:!1,birthYear:!1,birthMonth:!1,birthDay:!1,prefecture:!1,postalCode:!1,address:!1,phone:!1,condition:!1,agreement:!1,questions:!1,emergencyContactNumber:!1,emergencyContactName:!1,emergencyContactRelationship:!1}),[I,k]=(0,s.useState)([]),[_,q]=(0,s.useState)(""),[O,T]=(0,s.useState)(""),[A,R]=(0,s.useState)(""),[B,U]=(0,s.useState)(""),[M,L]=(0,s.useState)(""),[H,Y]=(0,s.useState)(""),[K,P]=(0,s.useState)(""),[X,W]=(0,s.useState)(""),[z,G]=(0,s.useState)(""),[J,Z]=(0,s.useState)(""),[$,V]=(0,s.useState)(""),[ee,et]=(0,s.useState)(""),[ea,er]=(0,s.useState)(""),[ei,es]=(0,s.useState)(""),[eo,el]=(0,s.useState)(""),ec=(0,s.useCallback)(()=>""!==ee.trim(),[ee]),ex=(0,s.useCallback)(()=>""!==ea.trim(),[ea]),ef=(0,s.useCallback)(()=>""!==ei.trim(),[ei]),eg=(0,s.useCallback)(()=>{var e;
1let t=null==(e=document.querySelector('input[name="gender"]:checked'))?void 0:e.value,n=""!==eo||void 0!==t;return t&&!eo&&el(t),n},[eo,el]),ey=(0,s.useCallback)(()=>({year:""!==_,month:""!==O,day:""!==A}),[_,O,A]),eN=(0,s.useCallback)(()=>{let e=document.getElementById("prefecture"),t=(null==e?void 0:e.value)||"";return t&&t!==H&&Y(t),""!==H&&void 0!==H||""!==t&&void 0!==t},[H,Y]),eC=(0,s.useCallback)(()=>{if(!(null==w?void 0:w.conditions))return!0;let e=document.getElementById("conditionYes"),t=document.getElementById("conditionNo");return(null==e?void 0:e.checked)||(null==t?void 0:t.checked)||!1},[null==w?void 0:w.conditions]),eb=(0,s.useCallback)(()=>{if(!eh)return!0;let e=document.getElementById("agreeYES");return document.getElementById("agreeNO"),(null==e?void 0:e.checked)||!1},[eh,null==w?void 0:w.rule]),eI=(0,s.useCallback)(()=>{let e=null==w?void 0:w.question;if(!e||0===e.length)return k([]),!0;let t=e.map((e,t)=>({index:t,type:g(e.type),question:e.q,options:e.options})).map(e=>{let t=!1;switch(e.type){case f.RADIO:t=function(e){let t=document.querySelectorAll('input[name="question'.concat(e,'"]')),n=!1;return t.forEach(e=>{e.checked&&(n=!0)}),n}(e.index);break;case f.RADIO_FREE:t=function(e){let t=document.querySelectorAll('input[name="question'.concat(e,'"]')),n=document.querySelector('input[name="question'.concat(e,'"][value="other"]')),a=document.querySelector('input[name="question'.concat(e,'_other_text"]')),r=!1;return t.forEach(e=>{e.checked&&(r=!0)}),!!r&&(null==n||!n.checked||(null==a?void 0:a.value.trim())!=="")}(e.index);break;case f.CHECKBOX:t=function(e){let t=document.querySelectorAll('input[name="question'.concat(e,'"]')),n=!1;return t.forEach(e=>{e.checked&&(n=!0)}),n}(e.index);break;case f.CHECKBOX_FREE:t=function(e){let t=document.querySelectorAll('input[name="question'.concat(e,'"]')),n=document.querySelector('input[name="question'.concat(e,'"][value="other"]')),a=document.querySelector('input[name="question'.concat(e,'_other_text"]')),r=!1;return t.forEach(e=>{e.checked&&(r=!0)}),!!r&&(null==n||!n.checked||(null==a?void 0:a.value.trim())!=="")}(e.index);break;case f.TEXT:t=function(e){let t=document.querySelector('textarea[name="question'.concat(e,'"]'));return(null==t?void 0:t.value.trim())!==""}(e.index);break;default:t=!0}return t});return k(t.map(e=>!e)),t.every(e=>e)},[null==w?void 0:w.question]),eE=(0,s.useCallback)(()=>!!c&&!!c.email,[c]),ek=(0,s.useCallback)(()=>{let e=null==w?void 0:w.rule;return"OUTDOOR1"!==e&&"OUTDOOR2"!==e||!!z},[null==w?void 0:w.rule,z]),e_=(0,s.useCallback)(()=>{let e=null==w?void 0:w.rule;return"OUTDOOR1"!==e&&"OUTDOOR2"!==e||!!J},[null==w?void 0:w.rule,J]),eq=(0,s.useCallback)(()=>{let e=null==w?void 0:w.rule;return"OUTDOOR1"!==e&&"OUTDOOR2"!==e||!!$},[null==w?void 0:w.rule,$]),eO=(0,s.useCallback)(()=>{let e=null==w?void 0:w.rule;if("OUTDOOR1"!==e&&"OUTDOOR2"!==e)return!0;let t=/^\d{3}$/.test(B),n=/^\d{4}$/.test(M);return t&&n},[null==w?void 0:w.rule,B,M]),eS=(0,s.useCallback)(()=>{let e=null==w?void 0:w.rule;return"OUTDOOR1"!==e&&"OUTDOOR2"!==e||""!==K.trim()},[null==w?void 0:w.rule,K]),eT=(0,s.useCallback)(()=>{let e=null==w?void 0:w.rule;return"OUTDOOR1"!==e&&"OUTDOOR2"!==e||/^[\d-]{10,}$/.test(X)},[null==w?void 0:w.rule,X]),eA=(0,s.useCallback)(()=>{let e=[{name:"lastName",condition:C.lastName,selector:"#lastName"},{name:"firstName",condition:C.firstName,selector:"#firstName"},{name:"kana",condition:C.kana,selector:"#kana"},{name:"gender",condition:C.gender,selector:'input[name="gender"]'},{name:"birthYear",condition:C.birthYear,selector:"#birthYear"},{name:"birthMonth",condition:C.birthMonth,selector:"#birthMonth"},{name:"birthDay",condition:C.birthDay,selector:"#birthDay"},{name:"postalCode",condition:C.postalCode,selector:"#zip1"},{name:"prefecture",condition:C.prefecture,selector:"#prefecture"},{name:"address",condition:C.address,selector:"#address"},{name:"phone",condition:C.phone,selector:"#phone"},{name:"condition",condition:C.condition,selector:'input[name="condition"]'},{name:"agreement",condition:C.agreement,selector:'input[name="agree"]'},{name:"emergencyContactNumber",condition:C.emergencyContactNumber,selector:"#emergencyContactNumber"},{name:"emergencyContactName",condition:C.emergencyContactName,selector:"#emergencyContactName"},{name:"emergencyContactRelationship",condition:C.emergencyContactRelationship,selector:"#relationship"}];if((null==w?void 0:w.questions)&&w.questions.forEach((t,n)=>{I[n]&&e.push({name:"question_".concat(n),condition:!0,selector:"#question-wrapper-".concat(n)})}),C.questions&&I.some(e=>e)){let t=I.findIndex(e=>e);-1!==t&&e.push({name:"question_fallback_".concat(t),condition:!0,selector:"#question-wrapper-".concat(t)})}for(let t of e)if(t.condition){let e=document.querySelector(t.selector);if(e||"gender"!==t.name||(e=document.querySelector('input[name="gender"]:first-of-type')),e||"condition"!==t.name||(e=document.querySelector('input[name="condition"]:first-of-type')),e||"agreement"!==t.name||(e=document.querySelector('input[name="agree"]:first-of-type')),!e&&(t.name.startsWith("question_")||t.name.startsWith("question_fallback_"))){let n=t.name.includes("fallback")?t.name.split("_")[2]:t.name.split("_")[1];if((e=document.querySelector("#question-wrapper-".concat(n)))||(e=document.querySelector("#question-wrapper-".concat(n," input, #question-wrapper-").concat(n," textarea"))),e||(e=document.querySelector('input[name="question'.concat(n,'"], textarea[name="question').concat(n,'"]'))),!e){let t=document.querySelector('.questions-section, [class*="question"]');t&&(e=t)}}if(e){e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),setTimeout(()=>{e&&"function"==typeof e.focus&&e.focus()},300);break}}},[C,I,null==w?void 0:w.questions]),eR=(0,s.useCallback)(()=>{let e=ey(),t={lastName:!ec(),firstName:!ex(),kana:!ef(),gender:!eg(),birthYear:!e.year,birthMonth:!e.month,birthDay:!e.day,prefecture:!eN(),postalCode:!eO(),address:!eS(),phone:!eT(),condition:!eC(),agreement:!eb(),questions:!eI(),emergencyContactNumber:!ek(),emergencyContactName:!e_(),emergencyContactRelationship:!eq()};b(t);let n=eE()&&!t.lastName&&!t.firstName&&!t.kana&&!t.gender&&!t.birthYear&&!t.birthMonth&&!t.birthDay&&!t.prefecture&&!t.postalCode&&!t.address&&!t.phone&&!t.condition&&!t.agreement&&!t.questions&&!t.emergencyContactNumber&&!t.emergencyContactName&&!t.emergencyContactRelationship;return i(!n),n},[ec,ex,ef,eg,ey,eN,eO,eS,eT,eC,eb,eI,eE,ek,e_,eq]),eB=(0,s.useCallback)(()=>{let e=[],t=[];if(C.lastName&&t.push("å§ï¼æ¼¢åï¼"),C.firstName&&t.push("åï¼æ¼¢åï¼"),C.kana&&t.push("ãååï¼ããªï¼"),C.gender&&t.push("æ§å¥"),(C.birthYear||C.birthMonth||C.birthDay)&&t.push("çå¹´ææ¥"),C.prefecture&&t.push("é½éåºç"),ep&&(C.postalCode&&t.push("éµä¾¿çªå·"),C.address&&t.push("使"),C.phone&&t.push("é»è©±çªå·")),ep&&(C.emergencyContactNumber&&t.push("ç·æ¥é£çµ¡å
"),C.emergencyContactName&&t.push("ç·æ¥é£çµ¡å
ã®æ¹ã®ãåå"),C.emergencyContactRelationship&&t.pu
1sh("ç·æ¥é£çµ¡å
ã®æ¹ã¨ã®ãé¢ä¿")),C.condition&&t.push("åå æ¡ä»¶ã¸ã®åç"),C.agreement&&t.push("åå è¦ç´ã¸ã®åæ"),t.length>0&&e.push("次ã®å¿
é é
ç®ãå
¥åãã¦ãã ãã: ".concat(t.join("ã"))),c&&!c.email.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)&&e.push("æå¹ãªã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ãã"),C.questions&&I.length>0){let t=[];I.forEach((e,n)=>{if(e){let e=ej[n];e&&((e.type===f.RADIO_FREE||e.type===f.CHECKBOX_FREE)&&document.querySelector('input[name="question'.concat(n,'"][value="other"]:checked'))?t.push("質å".concat(n+1,"ã®ããã®ä»ãã鏿ããå ´åã¯ã詳細ãå
¥åãã¦ãã ãã")):t.push("質å".concat(n+1,"ã«åçãã¦ãã ãã")))}}),t.length>0&&e.push(...t)}return e},[C,I,ej,c,ep,ep]);function eD(e){if(e){if(et(e.lastName||""),er(e.firstName||""),e.metafields.birthDate){let[t,n,a]=e.metafields.birthDate.split("-");q(t),T(n),R(a)}else q(""),T(""),R("");if(e.defaultAddress&&e.defaultAddress.zip){let[t,n]=e.defaultAddress.zip.split("-");U(t||""),L(n||"")}else U(""),L("");if(e.defaultAddress&&e.defaultAddress.province?Y({Aichi:"æç¥ç",Akita:"ç§ç°ç",Aomori:"鿣®ç",Chiba:"åèç",Ehime:"æåªç",Fukui:"ç¦äºç",Fukuoka:"ç¦å²¡ç",Fukushima:"ç¦å³¶ç",Gifu:"å²éç",Gunma:"群馬ç",Hiroshima:"åºå³¶ç",HokkaidÅ:"åæµ·é",HyÅgo:"å
µåº«ç",Ibaraki:"è¨åç",Ishikawa:"ç³å·ç",Iwate:"岩æç",Kagawa:"é¦å·ç",Yamanashi:"山梨ç",Yamaguchi:"å±±å£ç",KÅchi:"é«ç¥ç",Kumamoto:"çæ¬ç",KyÅto:"京é½åº",Mie:"ä¸éç",Yamagata:"山形ç",Miyazaki:"å®®å´ç",Nagano:"é·éç",Nagasaki:"é·å´ç",Nara:"å¥è¯ç",Niigata:"æ°æ½ç",Åita:"大åç",Okayama:"岡山ç",Okinawa:"æ²ç¸ç",Åsaka:"大éªåº",Saga:"ä½è³ç",Saitama:"å¼çç",Shiga:"æ»è³ç",Shimane:"å³¶æ ¹ç",Shizuoka:"é岡ç",Tochigi:"æ æ¨ç",Tokushima:"徳島ç",Tottori:"é³¥åç",Toyama:"å¯å±±ç",TÅkyÅ:"æ±äº¬é½",Miyagi:"å®®åç",Wakayama:"åæå±±ç",Kanagawa:"ç¥å¥å·ç",Kagoshima:"鹿å
å³¶ç"}[e.defaultAddress.province]||""):Y(""),e.defaultAddress){let{city:t,address1:n,address2:a}=e.defaultAddress;P([t,n,a].filter(Boolean).join(" "))}else P("");e.defaultAddress&&e.defaultAddress.phone?W(e.defaultAddress.phone):W(""),e.metafields.emergencyContactNumber?G(e.metafields.emergencyContactNumber):G(""),e.metafields.emergencyContactName?Z(e.metafields.emergencyContactName):Z(""),e.metafields.relationship?V(e.metafields.relationship):V(""),e.metafields.kana?es(e.metafields.kana):es(""),e.metafields.gender?el(e.metafields.gender):el(""),setTimeout(()=>{eR()},100)}}if((0,s.useEffect)(()=>{},[I]),(0,s.useEffect)(()=>{x&&setTimeout(()=>eR(),100)},[x,eR]),(0,s.useEffect)(()=>{t.customerAccessToken?D(t.customerAccessToken,d,h):h(!0)},[t.customerAccessToken]),(0,s.useEffect)(()=>{let e="confirmData_".concat(S,"_").concat(E),t=sessionStorage.getItem(e);if(t&&c)try{var n=JSON.parse(t);let e=n.reservationData;if(e.birthday){let[t,n,a]=e.birthday.split("-");q(t),T(n),R(a)}if(e.lastName&&et(e.lastName),e.firstName&&er(e.firstName),e.postalCode){let[t,n]=e.postalCode.split("-");U(t||""),L(n||"")}e.prefectures&&Y(e.prefectures),e.address&&P(e.address),e.phone&&W(e.phone),e.emergencyContactNumber&&G(e.emergencyContactNumber),e.emergencyContactName&&Z(e.emergencyContactName),e.relationship&&V(e.relationship),e.kana&&es(e.kana),setTimeout(()=>{var t;if(e.numberOfPeople){let t=document.getElementById("numberOfTickets");t&&(t.value=e.numberOfPeople.toString())}if(e.gender){el(e.gender);let t=document.querySelector('input[name="gender"][value="'.concat(e.gender,'"]'));t&&(t.checked=!0)}else if(null==c||null==(t=c.metafields)?void 0:t.gender){el(c.metafields.gender);let e=document.querySelector('input[name="gender"][value="'.concat(c.metafields.gender,'"]'));e&&(e.checked=!0)}let n="formState_".concat(S,"_").concat(E),a=sessionStorage.getItem(n);if(a)try{let e=JSON.parse(a);if(e.condition){let t=document.querySelector('input[name="condition"][value="'.concat(e.condition,'"]'));t&&(t.checked=!0)}if(e.agreement){let e=document.getElementById("agreeYES");e&&(e.checked=!0)}}catch(e){}e.question&&Array.isArray(e.question)&&e.question.forEach((e,t)=>{let n=e.a;if(!n)return;let a=document.querySelectorAll('input[name="question'.concat(t,'"][type="radio"]')),r=document.querySelectorAll('input[name="question'.concat(t,'"][type="checkbox"]')),i=document.querySelector('textarea[name="question'.concat(t,'"]'));if(a.length>0){let e=document.querySelector('input[name="question'.concat(t,'"][value="other"]'));if(e){let a=document.querySelector('input[name="question'.concat(t,'"][value="').concat(n,'"]'));if(a)a.checked=!0;else{e.checked=!0;let a=document.querySelector('input[name="question'.concat(t,'_other_text"]'));a&&(a.value=n)}}else{let e=document.querySelector('input[name="question'.concat(t,'"][value="').concat(n,'"]'));e&&(e.checked=!0)}}else r.length>0?n.split(",").map(e=>
1e.trim()).forEach(e=>{if(e.startsWith("ãã®ä»: ")){let n=document.querySelector('input[name="question'.concat(t,'"][value="other"]'));if(n){n.checked=!0;let a=e.replace("ãã®ä»: ",""),r=document.querySelector('input[name="question'.concat(t,'_other_text"]'));r&&(r.value=a)}}else{let n=document.querySelector('input[name="question'.concat(t,'"][value="').concat(e,'"]'));n&&(n.checked=!0)}}):i&&(i.value=n)})},100),setTimeout(()=>{v(!0),eR()},200)}catch(e){eD(c)}else c&&eD(c);v(!0)},[c,S,E]),u)return(0,a.jsxs)("div",{className:m().ReserveFormWrapper,children:[j&&eB().length>0&&(0,a.jsx)("div",{className:m().ErrorMessages,children:(0,a.jsx)("ul",{children:eB().map((e,t)=>(0,a.jsx)("li",{children:e},t))})}),eu&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:m().Title,children:Q?"Reservation Number":"äºç´äººæ°"}),(0,a.jsx)("div",{className:m().mb16,children:Q?(0,a.jsxs)("p",{children:["Up to ",(0,a.jsxs)("strong",{children:[ed," ",1===ed?"person":"people"]})]}):(0,a.jsxs)("p",{children:["æå¤§ ",(0,a.jsxs)("strong",{children:[ed,"å"]})," ã¾ã§ãäºç´ããã ãã¾ã"]})}),(0,a.jsx)("div",{children:(0,a.jsx)("select",{name:"numberOfTickets",id:"numberOfTickets",className:m().Select,children:Array.from({length:ed},(e,t)=>{let n=t+1;return(0,a.jsxs)("option",{value:n,children:[n,Q?1===n?" person":" people":"å"]},n)})})})]}),en&&(0,a.jsxs)("div",{className:m().RequiresWrapper,children:[(0,a.jsx)("div",{className:m().Title,children:Q?"Participation Requirements":"åå æ¡ä»¶"}),(0,a.jsx)("div",{className:m().text,children:Q?"To participate in the event, you must meet the following conditions:":"ã¤ãã³ãåå ã«ãããã以ä¸ã®æ¡ä»¶ãæºããå¿
è¦ãããã¾ãã"}),(0,a.jsx)("div",{className:m().Requires,children:(0,a.jsxs)("div",{className:[m().Require,j&&C.condition&&m().RadioError].filter(
1Boolean).join(" "),children:[(0,a.jsx)("div",{className:m().RequireTitle,children:en}),(0,a.jsxs)("ul",{className:m().RadioButtons,children:[(0,a.jsxs)("li",{children:[(0,a.jsx)("input",{type:"radio",name:"condition",id:"conditionYes",value:"YES",onChange:eR}),(0,a.jsx)("label",{htmlFor:"conditionYes",children:Q?"Yes, I meet this requirement":"ã¯ããæ¡ä»¶ãæºããã¦ãã¾ã"})]}),(0,a.jsxs)("li",{children:[(0,a.jsx)("input",{type:"radio",name:"condition",id:"conditionNo",value:"NO",onChange:eR}),(0,a.jsx)("label",{htmlFor:"conditionNo",children:Q?"No, I don't meet this requirement yet, but I plan to before the event":"ããããæ¡ä»¶ãæºããã¦ãã¾ããããåå åã«åå æ¡ä»¶ãæºããäºå®ã§ã"})]})]})]})})]}),eh&&(0,a.jsxs)("div",{className:m().TermsWrapper,children:[(0,a.jsx)("div",{className:m().Title,children:Q?"Participation Agreement":"åå è¦ç´"}),(0,a.jsx)("div",{className:m().TermsNote,children:Q?"To participate in the event, you must agree to the participation agreement.":"ã¤ãã³ãåå ã«ããããåå è¦ç´ã«åæããã ãå¿
è¦ãããã¾ãã"}),(0,a.jsx)("div",{className:m().Terms,children:(0,a.jsx)("div",{className:m().TermsContent,children:eh})}),(0,a.jsxs)("ul",{className:[m().RadioButtons,j&&C.agreement&&m().RadioError].filter(
1Boolean).join(" "),children:[(0,a.jsxs)("li",{children:[(0,a.jsx)("input",{type:"radio",name:"agree",id:"agreeYES",value:"YES",onChange:eR}),(0,a.jsx)("label",{htmlFor:"agreeYES",children:Q?"I have read and agree to the above participation agreement.":"ä¸è¨ã®åå è¦ç´ãèªã¿ãåæãã¾ã"})]}),(0,a.jsxs)("li",{children:[(0,a.jsx)("input",{type:"radio",name:"agree",id:"agreeNO",value:"NO",onChange:eR}),(0,a.jsx)("label",{htmlFor:"agreeNO",children:Q?"I do not agree to the participation agreement.":"åå è¦ç´ã«ã¯åæãã¾ãã"})]})]})]}),c&&(0,a.jsxs)("div",{className:m().UserInfo,children:[(0,a.jsx)("div",{className:m().UserInfoTitle,children:"ãå®¢æ§æ
å ±"}),(0,a.jsx)("p",{className:m().UserInfoTitleText,children:"ã¤ãã³ãåå ã«ãããã以ä¸ã®æ
å ±ãç»é²ãã ããï¼å¿
é ï¼ã"}),(0,a.jsxs)("div",{className:m().UserInfoItems,children:[(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"ã¡ã¼ã«ã¢ãã¬ã¹"}),(0,a.jsx)("div",{className:m().UserInfoItemValue,children:c.email}),(0,a.jsxs)("div",{className:m().UserInfoItemNote,children:["ã¡ã¼ã«ã¢ãã¬ã¹ãæ£ãããªãå ´åã¯",(0,a.jsx)("a",{href:"https://support.yamatomichi.com/hc/ja/requests/new?ticket_form_id=6861911457167",target:"_blank",rel:"noopener noreferrer",children:"ãåãåãã"}),"ãã ããã"]})]}),(0,a.jsx)("div",{className:m().UserInfoItem,children:(0,a.jsxs)("div",{className:m().NameRow,children:[(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"å§"}),(0,a.jsx)("input",{type:"text",name:"lastName",id:"lastName",value:ee,maxLength:255,onChange:e=>{et(e.target.value),eR()},onBlur:eR,className:j&&C.lastName?m().InputError:void 0})]}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"å"}),(0,a.jsx)("input",{type:"text",name:"firstName",id:"firstName",value:ea,maxLength:255,onChange:e=>{er(e.target.value),eR()},onBlur:eR,className:j&&C.firstName?m().InputError:void 0})]})]})}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"ãµãããª"}),(0,a.jsx)("input",{type:"text",name:"kana",id:"kana",value:ei,onChange:e=>{es(e.target.value),eR()},onBlur:eR,className:j&&C.kana?m().InputError:void 0})]}),(0,a.jsxs)("div",{className:[m().UserInfoItem,j&&C.gender&&m().RadioError].filter(
1Boolean).join(" "),children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"æ§å¥"}),(0,a.jsxs)("div",{className:m().RadioButtons,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{type:"radio",name:"gender",id:"genderMale",value:"MAN",checked:"MAN"===eo,onChange:e=>{el(e.target.value),eR()}}),(0,a.jsx)("label",{htmlFor:"genderMale",children:"ç·æ§"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("input",{type:"radio",name:"gender",id:"genderFemale",value:"WOMAN",checked:"WOMAN"===eo,onChange:e=>{el(e.target.value),eR()}}),(0,a.jsx)("label",{htmlFor:"genderFemale",children:"女æ§"})]})]})]}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"çå¹´ææ¥"}),(0,a.jsxs)("div",{className:m().BirthDateRow,children:[(0,a.jsx)("input",{type:"number",name:"birthYear",id:"birthYear",placeholder:"å¹´",min:"1900",max:"2100",value:_,onChange:e=>{q(e.target.value),eR()},onBlur:eR,className:j&&C.birthYear?m().InputError:void 0}),(0,a.jsx)("span",{children:"å¹´"}),(0,a.jsx)("input",{type:"number",name:"birthMonth",id:"birthMonth",placeholder:"æ",min:"1",max:"12",value:O,onChange:e=>{T(e.target.value),eR()},onBlur:eR,className:j&&C.birthMonth?m().InputError:void 0}),(0,a.jsx)("span",{children:"æ"}),(0,a.jsx)("input",{type:"number",name:"birthDay",id:"birthDay",placeholder:"æ¥",min:"1",max:"31",value:A,onChange:e=>{R(e.target.value),eR()},onBlur:eR,className:j&&C.birthDay?m().InputError:void 0}),(0,a.jsx)("span",{children:"æ¥"})]})]}),ep&&(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"éµä¾¿çªå·"}),(0,a.jsxs)("div",{className:m().ZipCodeRow,children:[(0,a.jsx)("input",{type:"text",name:"zip1",id:"zip1",maxLength:3,className:"".concat(m().ZipInput," ").concat(j&&C.postalCode?m().InputError:""),autoComplete:"postal-code",inputMode:"numeric",pattern:"[0-9]*",value:B,onChange:e=>U(e.target.value),onBlur:eR}),(0,a.jsx)("span",{className:m().ZipHyphen,children:"-"}),(0,a.jsx)("input",{type:"text",name:"zip2",id:"zip2",maxLength:4,className:"".concat(m().ZipInput," ").concat(j&&C.postalCode?m().InputError:""),autoComplete:"postal-code",inputMode:"numeric",pattern:"[0-9]*",value:M,onChange:e=>L(e.target.value),onBlur:eR})]})]}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"é½éåºç"}),(0,a.jsxs)("div",{className:m().PrefectureRow,children:[(0,a.jsxs)("select",{name:"prefecture",id:"prefecture",className:"".concat(m().PrefectureSelect," ").concat(j&&C.prefecture?m().SelectError:""),value:H,onChange:e=>{Y(e.target.value),eR()},onBlur:eR,children:[(0,a.jsx)("option",{value:"",children:"鏿ãã¦ãã ãã"}),(0,a.jsx)("option",{value:"åæµ·é",children:"åæµ·é"}),(0,a.jsx)("option",{value:"鿣®ç",children:"鿣®ç"}),(0,a.jsx)("option",{value:"岩æç",children:"岩æç"}),(0,a.jsx)("option",{value:"å®®åç",children:"å®®åç"}),(0,a.jsx)("option",{value:"ç§ç°ç",children:"ç§ç°ç"}),(0,a.jsx)("option",{value:"山形ç",children:"山形ç"}),(0,a.jsx)("option",{value:"ç¦å³¶ç",children:"ç¦å³¶ç"}),(0,a.jsx)("option",{value:"è¨åç",children:"è¨åç"}),(0,a.jsx)("option",{value:"æ æ¨ç",children:"æ æ¨ç"}),(0,a.jsx)("option",{value:"群馬ç",children:"群馬ç"}),(0,a.jsx)("option",{value:"å¼çç",children:"å¼çç"}),(0,a.jsx)("option",{value:"åèç",children:"åèç"}),(0,a.jsx)("option",{value:"æ±äº¬é½",children:"æ±äº¬é½"}),(0,a.jsx)("option",{value:"ç¥å¥å·ç",children:"ç¥å¥å·ç"}),(0,a.jsx)("option",{value:"æ°æ½ç",children:"æ°æ½ç"}),(0,a.jsx)("option",{value:"å¯å±±ç",children:"å¯å±±ç"}),(0,a.jsx)("option",{value:"ç³å·ç",children:"ç³å·ç"}),(0,a.jsx)("option",{value:"ç¦äºç",children:"ç¦äºç"}),(0,a.jsx)("option",{value:"山梨ç",children:"山梨ç"}),(0,a.jsx)("option",{value:"é·éç",children:"é·éç"}),(0,a.jsx)("option",{value:"å²éç",children:"å²éç"}),(0,a.jsx)("option",{value:"é岡ç",children:"é岡ç"}),(0,a.jsx)("option",{value:"æç¥ç",children:"æç¥ç"}),(0,a.jsx)("option",{value:"ä¸éç",children:"ä¸éç"}),(0,a.jsx)("option",{value:"æ»è³ç",children:"æ»è³ç"}),(0,a.jsx)("option",{value:"京é½åº",children:"京é½åº"}),(0,a.jsx)("option",{value:"大éªåº",children:"大éªåº"}),(0,a.jsx)("option",{value:"å
µåº«ç",children:"å
µåº«ç"}),(0,a.jsx)("option",{value:"å¥è¯ç",children:"å¥è¯ç"}),(0,a.jsx)("option",{value:"åæå±±ç",children:"åæå±±ç"}),(0,a.jsx)("option",{value:"é³¥åç",children:"é³¥åç"}),(0,a.jsx)("option",{value:"å³¶æ ¹ç",children:"å³¶æ ¹ç"}),(0,a.jsx)("option",{value:"岡山ç",children:"岡山ç"}),(0,a.jsx)("option",{value:"åºå³¶ç",children:"åºå³¶ç"}),(0,a.jsx)("option",{value:"å±±å£ç",children:"å±±å£ç"}),(0,a.jsx)("option",{value:"徳島ç",children:"徳島ç"}),(0,a.jsx)("option",{value:"é¦å·ç",children:"é¦å·ç"}),(0,a.jsx)("option",{value:"æåªç",children:"æåªç"}),(0,a.jsx)("option",{value:"é«ç¥ç",children:"é«ç¥ç"}),(0,a.jsx)("option",{value:"ç¦å²¡ç",children:"ç¦å²¡ç"}),(0,a.jsx)("option",{value:"ä½è³ç",children:"ä½è³ç"}),(0,a.jsx)("option",{value:"é·å´ç",children:"é·å´ç"}),(0,a.jsx)("option",{value:"çæ¬ç",children:"çæ¬ç"}),(0,a.jsx)("option",{value:"大åç",children:"大åç"}),(0,a.jsx)("option",{value:"å®®å´ç",children:"å®®å´ç"}),(0,a.jsx)("option",{value:"鹿å
å³¶ç",children:"鹿å
å³¶ç"}),(0,a.jsx)("option",{value:"æ²ç¸ç",children:"æ²ç¸ç"})]}
1),(0,a.jsx)("span",{className:m().PrefectureIcon,children:(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{d:"M12.5402 18.8091C12.3994 18.9313 12.2084 19 12.0092 19C11.8101 19 11.6191 18.9313 11.4782 18.8091L7.2293 15.1209C7.15756 15.0608 7.10034 14.9888 7.06098 14.9093C7.02161 14.8298 7.00089 14.7442 7.00003 14.6576C6.99916 14.5711 7.01817 14.4852 7.05593 14.4051C7.0937 14.325 7.14947 14.2522 7.21999 14.191C7.29051 14.1297 7.37437 14.0813 7.46668 14.0485C7.55898 14.0158 7.65789 13.9993 7.75762 14C7.85734 14.0008 7.9559 14.0188 8.04754 14.0529C8.13917 14.0871 8.22205 14.1368 8.29134 14.199L12.0092 17.4263L15.7271 14.199C15.8688 14.0803 16.0585 14.0146 16.2554 14.016C16.4524 14.0175 16.6408 14.0861 16.78 14.207C16.9193 14.3279 16.9983 14.4914 17 14.6623C17.0017 14.8333 16.926 14.998 16.7892 15.1209L12.5402 18.8091Z",fill:"#888888"}),(0,a.jsx)("path",{d:"M11.4598 5.19089C11.6006 5.06866 11.7916 5 11.9908 5C12.1899 5 12.3809 5.06866 12.5218 5.19089L16.7707 8.87908C16.8424 8.93922 16.8997 9.01116 16.939 9.0907C16.9784 9.17025 16.9991 9.2558 17 9.34237C17.0008 9.42893 16.9818 9.51478 16.9441 9.59491C16.9063 9.67503 16.8505 9.74783 16.78 9.80904C16.7095 9.87026 16.6256 9.91867 16.5333 9.95145C16.441 9.98423 16.3421 10.0007 16.2424 9.99998C16.1427 9.99922 16.0441 9.98124 15.9525 9.94707C15.8608 9.9129 15.7779 9.86323 15.7087 9.80096L11.9908 6.57371L8.27288 9.80096C8.13122 9.91972 7.9415 9.98544 7.74456 9.98395C7.54763 9.98247 7.35925 9.9139 7.21999 9.79302C7.08073 9.67214 7.00174 9.50862 7.00003 9.33767C6.99832 9.16673 7.07402 9.00204 7.21084 8.87908L11.4598 5.19089Z",fill:"#888888"})]})})})]})]}),ep&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"使"}),(0,a.jsx)("input",{type:"text",name:"address",id:"address",value:K,onChange:e=>P(e.target.value),onBlur:eR,className:j&&C.address?m().InputError:void 0})]}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"é»è©±çªå·"}),(0,a.jsx)("input",{type:"tel",name:"phone",id:"phone",value:X,onChange:e=>W(e.target.value),onBlur:eR,className:j&&C.phone?m().InputError:void 0})]})]}),ep&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"ç·æ¥é£çµ¡å
"}),(0,a.jsx)("input",{type:"text",name:"emergencyContactNumber",id:"emergencyContactNumber",value:z,onChange:e=>{G(e.target.value),eR()},onBlur:eR,className:j&&C.emergencyContactNumber?m().InputError:void 0})]}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"ç·æ¥é£çµ¡å
ã®æ¹ã®ãåå"}),(0,a.jsx)("input",{type:"text",name:"emergencyContactName",id:"emergencyContactName",value:J,onChange:e=>{Z(e.target.value),eR()},onBlur:eR,className:j&&C.emergencyContactName?m().InputError:void 0})]}),(0,a.jsxs)("div",{className:m().UserInfoItem,children:[(0,a.jsx)("div",{className:m().UserInfoItemTitle,children:"ç·æ¥é£çµ¡å
ã®æ¹ã¨ã®ãé¢ä¿"}),(0,a.jsx)("input",{type:"text",name:"relationship",id:"relationship",value:$,onChange:e=>{V(e.target.value),eR()},onBlur:eR,className:j&&C.emergencyContactRelationship?m().InputError:void 0})]})]})]})]}),ev>0&&(0,a.jsxs)("div",{className:m().Questions,children:[(0,a.jsx)("div",{className:m().Title,children:Q?"Questionnaire":"ã¢ã³ã±ã¼ã"}),(0,a.jsx)("div",{className:m().QuestionNote,children:Q?"Please answer all of the following questions for event participation.":"ã¤ãã³ãåå ã«ãããã以ä¸ã®ã¢ã³ã±ã¼ãã«ãçããã ããï¼å¿
é ï¼ã"}),(0,a.jsx)("div",{children:ej.map((e,t)=>(0,a.jsx)("div",{id:"question-wrapper-".concat(t),children:(0,a.jsx)(y,{question:e.question,type:e.type,options:e.options,questionIndex:t,onChange:eR,hasError:j&&(I[t]||!1)})},t))}),!1]}),(0,a.jsx)("div",{className:m().ButtonWrapper,children:(0,a.jsx)("button",{onClick:eF,children:"確èªç»é¢ã¸é²ã"})})]});return(0,a.jsx)("div",{className:m().Loading,children:"Loading..."});async function eF(){var e;if(!eR()){N(!0),setTimeout(()=>{eA()},100);return}F(!0);let t=document.getElementById("kana"),n=(null==t?void 0:t.value)||"",a=document.getElementById("birthYear"),r=document.getElementById("birthMonth"),i=document.getElementById("birthDay"),s="".concat((null==a?void 0:a.value)||"","-").concat(String((null==r?void 0:r.value)||"").padStart(2,"0"),"-").concat(String((null==i?void 0:i.value)||"").padStart(2,"0")),o=document.getElementById("zip1"),l=d
1ocument.getElementById("zip2"),d="".concat((null==o?void 0:o.value)||"","-").concat((null==l?void 0:l.value)||""),u=document.getElementById("prefecture"),m=(null==u?void 0:u.value)||"",h=document.getElementById("address"),p=(null==h?void 0:h.value)||"",x=document.getElementById("phone"),v=(null==x?void 0:x.value)||"",j=document.getElementById("emergencyContactNumber"),g=(null==j?void 0:j.value)||"",y=document.getElementById("emergencyContactName"),C=(null==y?void 0:y.value)||"",b=document.getElementById("relationship"),I=(null==b?void 0:b.value)||"",k=parseInt((null==(e=document.getElementById("numberOfTickets"))?void 0:e.value)||"1"),_=[];if(ev>0)for(let e=0;e<ev;e++){let t=ej[e],n="";switch(t.type){case f.RADIO:let a=document.querySelectorAll('input[name="question'.concat(e,'"]:checked'));n=a.length>0?a[0].value:"";break;case f.RADIO_FREE:let r=document.querySelectorAll('input[name="question'.concat(e,'"]:checked'));if(r.length>0)if("other"===r[0].value){let t=document.querySelector('input[name="question'.concat(e,'_other_text"]'));n=(null==t?void 0:t.value)||""}else n=r[0].value;break;case f.CHECKBOX:n=Array.from(document.querySelectorAll('input[name="question'.concat(e,'"]:checked'))).map(e=>e.value).join(", ");break;case f.CHECKBOX_FREE:let i=document.querySelectorAll('input[name="question'.concat(e,'"]:checked')),s=[];Array.from(i).forEach(t=>{if("other"===t.value){let t=document.querySelector('input[name="question'.concat(e,'_other_text"]'));(null==t?void 0:t.value)&&s.push("ãã®ä»: ".concat(t.value))}else s.push(t.value)}),n=s.join(", ");break;case f.TEXT:let o=document.querySelector('textarea[name="question'.concat(e,'"]'));n=(null==o?void 0:o.value)||"";break;default:n=""}_.push({q:w.question[e].q,a:n})}let q={reservationData:{numberOfPeople:k,lastName:ee,firstName:ea,kana:n,gender:eo,birthday:s,postalCode:d,prefectures:m,address:p,phone:v,emergencyContactNumber:g,emergencyContactName:C,relationship:I,question:_},userInfo:{firstName:(null==c?void 0:c.firstName)||"",lastName:(null==c?void 0:c.lastName)||"",email:(null==c?void 0:c.email)||""},wpId:E,appEventId:S,ruleType:em},O="confirmData_".concat(S,"_").concat(E);sessionStorage.setItem(O,JSON.stringify(q));let T="formState_".concat(S,"_").concat(E),A={condition:"",agreement:!1},R=document.querySelector('input[name="condition"]:checked');R&&(A.condition=R.value);let B=document.querySelector("#agreeYES");B&&(A.agreement=B.checked),sessionStorage.setItem(T,JSON.stringify(A));let D=Q?"/en/program/confirm/".concat(S,"-").concat(E):"/program/confirm/".concat(S,"-").concat(E);window.location.href=D}},{account:H}),!eg&&(0,a.jsx)("div",{className:m().UnReservable,children:(0,a.jsx)("div",{children:ey})})]})]})}async function D(e,t,n){var a;let r=A.storefront.url,i=A.storefront.token,s=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json","X-Shopify-Storefront-Access-Token":i},body:JSON.stringify({query:'\n query {\n customer(customerAccessToken: "'.concat(e,'") {\n id\n firstName\n lastName\n email\n defaultAddress {\n id\n address1\n address2\n city\n country\n phone\n province\n zip\n }\n metafields(identifiers: [\n {namespace: "custom", key: "kana"},\n {namespace: "custom", key: "gender"},\n {namespace: "facts", key: "birth_date"},\n {namespace: "custom", key: "career"},\n {namespace: "custom", key: "ul_hiker_kbn"},\n {namespace: "custom", key: "emergency_contact_number"},\n {namespace: "custom", key: "emergency_contact_name"},\n {namespace: "custom", key: "relationship"}\n ]) {\n id\n namespace\n key\n value\n type\n }\n }\n }\n ')})}),o=await s.json();if(o.errors)throw n(!0),Error(o.errors[0].message);if(!(null==(a=o.data)?void 0:a.customer))throw n(!0),Error("Customer data not found");let l=o.data.customer.metafields.reduce((e,t)=>{if(!t)return e;switch(t.key){case"kana":e.kana=t.value;break;case"gender":e.gender=t.value;break;case"birth_date":e.birthDate=t.value;break;case"career":e.career=t.value;break;case"ul_hiker_kbn":e.ulHikerKbn=t.value;break;case"emergency_contact_number":e.emergencyContactNumber=t.value;break;case"emergency_contact_name":e.emergencyContactName=t.value;break;case"relationship":e.relationship=t.value}return e},{kana:null,gender:null,birthDate:null,career:null,ulHikerKbn:null,emergencyContactNumber:null,emergencyContactName:null,relationship:null}),c={id:o.data.customer.id,firstName:o.data.customer.firstName,lastName:o.data.customer.lastName,email:o.data.customer.email,defaultAddress:o.data.customer.defaultAddress?{id:o.data.customer.defaultAddress.id,address1:o.data.customer.defaultAddress.address1,address2:o.data.customer.defaultAddress.address2,city:o.data.customer.defaultAddress.city,country:o.data.customer.defaultAddress.country,phone:o.data.customer.defaultAddress.phone,province:o.data.customer.defaultAddress.province,zip:o.data.customer.defaultAddress.zip}:null,metafields:l};return t(c),n(!0),{data:{customer:c}}}A.eventApp.url,R.url,(0,S.getShopifyAccountConfig)().eventApp.url;var F=!0;function w(e){let{wpData:t,appEventData:n,wpId:o,appEventId:l,isEnglish:c}=e,[d,u]=(0,r.fp)(i.A);return((0,s.useEffect)(()=>{u(c)},[c,u]),t)?(0,a.jsx)(B,{wpData:t,appEventData:n,wpId:o,appEventId:l}):(0,a.jsx)(a.Fragment,{})}},69040:e=>{e.exports={__pc:"programQuestion___pc__7RaU5",__sp:"programQuestion___sp__6DjA8",__commonMarginBottom:"programQuestion___commonMarginBottom__K_g9R",CheckboxLabelWrapper:"programQuestion_CheckboxLabelWrapper__1l07W",Checkbox:"programQuestion_Checkbox__xXJoR",QuestionItem:"programQuestion_QuestionItem__4bBft",Question:"programQuestion_Question__DHSUP",Answer:"programQuestion_Answer__kIFzw",QuestionError:"programQuestion_QuestionError__thiyv",TextareaError:"programQuestion_TextareaError__81PPD",RadioButtons:"programQuestion_RadioButtons__ivTEy",RadioButtonsError:"programQuestion_RadioButtonsError__Tk__h",Other:"programQuestion_Other__hCed8",CheckboxButtons:"programQuestion_CheckboxButtons__Qp2Ke",CheckboxButtonsError:"programQuestion_CheckboxButtonsError__acSFy"}},69144:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/program/reserve/[pid]",function(){return n(34527)}])}},e=>{e.O(0,[2916,4293,2545,2592,3421,584,9477,6652,4197,8817,8336,9957,3917,1354,5157,3067,636,6593,8792],()=>e(e.s=69144)),_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.