1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6963],{46963:function(l,e,i){i.r(e);var d=i(85893),n=i(67294),a=i(11163),t=i(89289),o=i(79697),u=i(61953),r=i(29630),s=i(55343),v=i(48068),c=i(67030),h=i(86377),f=i(68056),x=i(78327),m=i(23660),p=i(69365);let j=l=>{var e,i,j,Z,b,g,y,W;let{classification:k}=l,C=(0,t.I0)(),P=(0,t.v9)(v.Hx),w=(0,t.v9)(c.k$),E=(0,t.v9)(h.hn);(null==w?void 0:w.reservationId)||null==w||w.userId,null==P||null===(e=P.selectedServicePackageInfo)||void 0===e||e.isActivate;let R=l=>{C((0,v.Yk)(l.target.value))},I=l=>{let e=l.target.value;/^\d*$/.test(e)&&C((0,v.vi)(e))},_=l=>{let e=l.target.value;C((0,v.XH)(e))},H=l=>{C((0,v.vR)(l.target.value))},{me:$,isLoading:F}=(0,f.Q)(),G=(0,a.useRouter)();return(0,n.useEffect)(()=>{if(!F&&G.isReady){if(!(null==P?void 0:P.phone)&&(null==$?void 0:$.phone)&&C((0,v.vi)($.phone)),!(null==P?void 0:P.name)&&(null==$?void 0:$.fullname)){let l=["æ°æå","å°æªè¨å®å§å","å°æªè¨å®æ±ç¨±"].includes($.fullname)?"":$.fullname;C((0,v.Yk)(l))}!(null==P?void 0:P.email)&&(null==$?void 0:$.email)&&C((0,v.vR)($.email))}},[F,G.isReady]),(0,n.useEffect)(()=>{if(!w.active){let l=null==E?void 0:E.syStaffCode;C((0,v.$H)((0,o.Z)(l)?"":l))}},[E,w]),(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(u.Z,{children:[(0,d.jsx)(r.Z,{variant:"h5",children:(0,d.jsxs)(u.Z,{mt:7.5,mb:7.5,fontWeight:"fontWeightBold",children:[(0,d.jsx)(u.Z,{component:"span",color:"primary.main",mr:1,children:"*"}),"填寫è¯çµ¡è³æ"]})}),(0,d.jsx)(u.Z,{mb:4,children:(0,d.jsx)(m.Z,{placeholder:"*å§å",variant:"outlined",fullWidth:!0,value:P.name,onChange:R})}),(0,d.jsx)(u.Z,{mb:4,children:(0,d.jsx)(m.Z,{placeholder:"*è¯çµ¡é»è©±",variant:"outlined",fullWidth:!0,value:P.phone,onChange:I,inputProps:{inputMode:"tel"}})}),(0,d.jsx)(u.Z,{mb:2,children:(0,d.jsx)(m.Z,{placeholder:"*E-mail",variant:"outlined",fullWidth:!0,size:"medium",value:null==P?void 0:P.email,onChange:H,inputProps:{inputMode:"email"}})}),(null==k?void 0:k.mode)!=="relocation"&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(u.Z,{mb:4,display:"flex",flexWrap:"nowra",children:[(0,d.jsx)(u.Z,{flexGrow:1,mr:2.5,children:(0,d.jsx)(s.Z,{variant:"outlined",fullWidth:!0,children:(0,d.jsx)(x.Z,{label:"縣å¸",value:null==P?void 0:null===(i=P.address)||void 0===i?void 0:i.county,disabled:!0,children:(0,d.jsx)("option",{value:null==P?void 0:null===(j=P.address)||void 0===j?void 0:j.county,children:null==P?void 0:null===(Z=P.address)||void 0===Z?void 0:Z.county})})})}),(0,d.jsx)(u.Z,{flexGrow:1,children:(0,d.jsx)(s.Z,{variant:"outlined",fullWidth:!0,children:(0,d.jsx)(x.Z,{label:"å°å",value:null==P?void 0:null===(b=P.address)||void 0===b?void 0:b.district,disabled:!0,children:(0,d.jsx)("option",{value:null==P?void 0:null===(g=P.address)||void 0===g?void 0:g.district,children:null==P?void 0:null===(y=P.address)||void 0===y?void 0:y.district})})})})]}),(0,d.jsx)(u.Z,{mb:2,children:(0,d.jsx)(m.Z,{placeholder:"*æåå°å",variant:"outlined",fullWidth:!0,value:null==P?void 0:null===(W=P.address)||void 0===W?void 0:W.details,onChange:_,inputProps:{maxLength:p.P.address}})}),(0,d.jsx)(r.Z,{variant:"body2",children:(0,d.jsx)(u.Z,{color:"text.disabled",children:"ç¯ä¾ï¼ä¿¡ç¾©è·¯äºæ®µ100è"})})]})]})})};e.default=j},69365:function(l,e,i){i.d(e,{P:function(){return d}});let d={name:256,address:256,default:256}}}]);
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.