1import{em as X,r as f,j as e,ao as G,R as J,ak as Z,T as r,F as t,L as R,ck as T,ah as ee,t as O,cg as se,e8 as ae,bm as v,eo as B,J as F,b$ as re,Q as te,a as ne,e as oe,be as ie,o as le,bH as ce,u as de,jY as me,ep as ge,cE as ue,z as he,jZ as xe,j_ as pe,b5 as fe,aO as be,j$ as je,b9 as Ce,jK as ye,bq as Se,k0 as Ne,dU as ke}from"./index-DkpLsOxt.js";import{u as q,L as y,P as we,a as Ee,I as Le,S as ve,C as I,F as Pe,b as Me,D as De,H as Ie,g as _e}from"./config-CARWnvAW.js";import{M as Re}from"./Mail-Bks0P3LK.js";import"./zod-BnxiCzpL.js";import{z as L}from"./external-DuZUxNcb.js";import{c as Te}from"./validate-5UHdDJHz.js";import"./ChevronDown-Dxn4cRhe.js";import"./index-Cx4xmqgY.js";import"./index-Bd2fnjrB.js";import"./TutorialStepList-Cf7qbQZc.js";import"./Info-B_Pj_XCW.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"23d597f"},s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=(function(o){for(var l=1;l<arguments.length;l++){var d=arguments[l];if(d!=null)for(var i in d)d.hasOwnProperty(i)&&(o[i]=d[i])}return o})({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:meetsmore-web-app-key":!0});var a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="cd06a820-e69a-4522-9158-8ef3f2514ff0",s._sentryDebugIdIdentifier="sentry-dbid-cd06a820-e69a-4522-9158-8ef3f2514ff0")}catch{}})();const Fe=X("ArrowForward",[["path",{d:"M13.6031 17.4032C13.2131 17.0132 13.2131 16.3782 13.6031 15.9882L16.5931 12.9982L5.00812 12.9982C4.45812 12.9982 4.00812 12.5482 4.00812 11.9982C4.00812 11.4482 4.45812 10.9982 5.00812 10.9982L16.5931 10.9982L13.6031 8.00816C13.4081 7.81316 13.3081 7.55816 13.3081 7.30316C13.3081 7.04816 13.4081 6.79316 13.6031 6.59816C13.9931 6.20816 14.6281 6.20816 15.0181 6.59816L19.7131 11.2932C19.7581 11.3382 19.8031 11.3932 19.8381 11.4482C19.8531 11.4732 19.8631 11.4982 19.8781 11.5232C19.8981 11.5532 19.9131 11.5882 19.9281 11.6232C19.9431 11.6582 19.9481 11.6882 19.9581 11.7232C19.9681 11.7532 19.9781 11.7782 19.9831 11.8082C20.0081 11.9382 20.0081 12.0682 19.9831 12.1982C19.9781 12.2282 19.9681 12.2582 19.9581 12.2832C19.9481 12.3182 19.9381 12.3482 19.9281 12.3832C19.9131 12.4182 19.8931 12.4482 19.8781 12.4832C19.8631 12.5082 19.8531 12.5332 19.8381 12.5582C19.8031 12.6132 19.7581 12.6632 19.7131 12.7132L15.0181 17.4082C14.6281 17.7982 13.9931 17.7982 13.6031 17.4082L13.6031 17.4032Z"}]]),ze=L.object({encryptedCode:L.string({required_error:"ã³ã¼ããå ¥åãã¦ãã ãã"}).transform(s=>s.trim()).pipe(L.string().min(1,"ã³ã¼ããå ¥åãã¦ãã ãã")),decryptionKey:L.string({required_error:"é»è©±çªå·ä¸4æ¡ã¨éµä¾¿çªå·ä¸4æ¡ï¼è¨8æ¡ï¼ãå ¥åãã¦ãã ãã"}).min(1,"é»è©±çªå·ä¸4æ¡ã¨éµä¾¿çªå·ä¸4æ¡ï¼è¨8æ¡ï¼ãå ¥åãã¦ãã ãã").regex(/^\d{8}$/,"8æ¡ã®æ°åãå ¥åãã¦ãã ãã")}),Ae=Te(ze),Oe=`ãæä¾ããå人æ å ±ã 2ã»é»è©±çªå· 3ã»ä½æï¼å¸åºçºæåä½ï¼ 4ã»äºæ çªå· 5ã»äºæ çºçæ¥ 6ã»äºæ å 容ç 7ãæä¾å ã 8ã»ä¸äºä½åæµ·ä¸ç«ç½ä¿éºæ ªå¼ä¼ç¤¾ 9ãæä¾å ã 10ã»MS&ADã¤ã³ã·ã¥ã¢ã©ã³ã¹ ã°ã«ã¼ã ãã¼ã«ãã£ã³ã°ã¹æ ªå¼ä¼ç¤¾ 11ã»æ ªå¼ä¼ç¤¾ããã¢ã¢ 12ã»æ¬ä»¶ä¿®ç対å¿ã«é¢ããä¿®çæ¥è 13ãå©ç¨ç®çã 14 æ¬ä»¶äºæ ã«é¢ããä¿®çæ¥è ã®æé ããã³ãä¿®ç対å¿ã«å¿ è¦ãªé£çµ¡ã®ãã`,Be=["æ¬åæã¯ä»»æã§ãã","æä¾ãããå人æ å ±ã¯ãæ¬ä»¶ä¿®ç対å¿ã®ç®çã«éã£ã¦å©ç¨ããã¾ãã",e.jsxs(e.Fragment,{children:["å½ç¤¾ã®",e.jsx(v,{to:"/policies/terms",target:"_blank",className:"mmlink break-keep",children:"å©ç¨è¦ç´"}),"ããã³",e.jsx(v,{to:"/policies/privacy",target:"_blank",className:"mmlink break-keep",children:"ãã©ã¤ãã·ã¼ããªã·ã¼"}),"ããã³",e.jsx(v,{to:"/info-handling",target:"_blank",className:"mmlink break-keep",children:"ããã¢ã¢ã«ãããæ å ±åæ±ã"}),"ã«åæãããã®ã¨ã¿ãªãã¾ãã"]}),"åæããã ããªãå ´åã§ããä¿éºå¥ç´ä¸ã®ä¸å©çã¯ããã¾ããã"],qe=({open:s,onClose:a,onSubmit:o,loading:l=!1,initialEncryptedCode:d})=>{const{logMsadCodeInput:i}=q(),c=f.useRef(!1),b=(d??"").trim(),x=b.length>0,p=g=>{c.current||g.target.value.length!==0&&(c.current=!0,i())};return f.useEffect(()=>{!s||!x||c.current||(c.current=!0,i())},[s,x,i]),e.jsx(G,{open:s,onClose:a,title:"æ¬äººç¢ºèªï¼å人æ å ±æä¾ã¸ã®
14åæ",maxWidth:"xs",fullWidth:!0,scroll:"paper",children:e.jsx(J,{onSubmit:async g=>{await o(g.encryptedCode,g.decryptionKey)},validate:Ae,initialValues:x?{encryptedCode:b}:void 0,children:({handleSubmit:g,submitting:S})=>e.jsxs("form",{onSubmit:j=>{g(j)},children:[e.jsxs(Z,{className:"flex flex-col gap-6",children:[e.jsx(r,{children:"äºæ
é£çµ¡æã®æ
å ±ã¨ç
§åããããã以ä¸ã®ç¢ºèªæ
å ±ãå
¥åãã¦ãã ããã"}),e.jsxs(t,{direction:"column",className:"gap-4",children:[!x&&e.jsxs(t,{direction:"column",className:"gap-2",children:[e.jsx(r,{className:"font-bold",children:"SMSã§åãåã£ãã³ã¼ã"}),e.jsx(r,{className:"text-text-secondary text-xs",children:"SMSã§ãéãããè±æ°åãå
¥åãã¦ãã ããã"}),e.jsx(R,{name:"encryptedCode",component:T,placeholder:"ã³ã¼ããå
¥å",inputProps:{onBlur:p}})]}),e.jsxs(t,{direction:"column",className:"gap-2",children:[e.jsx(r,{className:"font-bold",children:"é»è©±çªå·ä¸4æ¡ ã¨ éµä¾¿çªå·ä¸4æ¡"}),e.jsxs(r,{className:"text-text-secondary text-xs",children:["ä¾ï¼é»è©±çªå·ã090-0123-",e.jsx("span",{className:"font-bold",children:"4567"}),"ãéµä¾¿çªå·ã140-",e.jsx("span",{className:"font-bold",children:"0063"}),'ã®å ´åã"',e.jsx("span",{className:"font-bold",children:"45670063"}),'"ãå
¥åãã¦ãã ããã']}),e.jsx(r,{className:"text-xs text-attention",children:"é»è©±çªå·ã¯ãæ¬ãµã¼ãã¹æ¡å
ã®SMSãåä¿¡ããé»è©±çªå·ã®ä¸4æ¡ã§ããéµä¾¿çªå·ã¯ãä¿éºå¥ç´ã®å¥ç´è
使éµä¾¿çªå·ã®ä¸4æ¡ã§ãã"}),e.jsx(R,{name:"decryptionKey",component:T,placeholder:"12345678",inputProps:{maxLength:8,inputMode:"numeric",pattern:"[0-9]*"}})]})]}),e.jsxs(t,{direction:"column",className:"gap-4",children:[e.jsx(r,{children:"æ¬ä»¶ã«é¢ããä¿®ç対å¿ãåæ»ã«è¡ãããã以ä¸ã®å
容ã«ã¤ãã¦ã確èªã®ãããåæããé¡ããããã¾ãã"}),e.jsx(t,{direction:"column",className:"border-border-regular rounded border p-4",children:e.jsx(r,{className:"text-text-secondary text-xs whitespace-pre-wrap",children:Oe})})]}),e.jsx(r,{className:"text-xs",children:Be.map((j,N)=>e.jsxs("span",{children:[N>0&&e.jsx("br",{}),"â» ",j]},N))}),e.jsx(t,{align:"center",justify:"center",className:"h-24 w-full rounded-sm bg-background-gray p-md",children:e.jsxs(t,{align:"start",gap:"md",children:[e.jsx(Re,{size:"lg",className:"shrink-0 text-foreground-link"}),e.jsxs(t,{direction:"column",gap:"xs",children:[e.jsx(r,{className:"max-w-50 text-xs",children:"ã䏿ãªç¹ã»ãå°ãã®éã¯ãæ°è»½ã«ãåãåãããã ããã"}),e.jsx("a",{href:"mailto:[email protected]",className:"mmlink text-xs whitespace-nowrap",children:"[email protected]"})]})]})})]}),e.jsx(ee,{className:"border-border-regular sticky bottom-0 border-t bg-white p-4",children:e.jsx(O,{type:"submit",variant:"primary",className:"relative w-full py-3 text-base font-bold",disabled:S||l,children:S||l?e.jsx(se,{size:20,color:"inherit"}):e.jsxs(e.Fragment,{children:["åæãã¦æ¬¡ã¸",e.jsx(ae,{className:"absolute right-1 size-5"})]})})})]})})})},z=({name:s,value:a,backgroundColor:o})=>e.jsxs(t,{justify:"between",align:"center",gap:"md",backgroundColor:o,rounded:"sm",border:"full",className:"border-neutral-200",shadow:"lg",paddingX:"md",paddingY:"md",children:[e.jsx(r,{fontSize:"sm",fontWeight:"bold",children:s}),a]}),We=({content:s})=>e.jsx(y,{label:"COST",title:s.title,description:s.description,note:s.note,backgroundColor:"beige",children:e.jsxs(t,{direction:"column",gap:"sm",children:[s.freeItems.map(a=>e.jsx(z,{name:a,backgroundColor:"white",value:e.jsx(r,{fontWeight:"bold",color:"brand",children:s.freeLabel})},a)),e.jsx(z,{name:s.selfPay.name,backgroundColor:"gray",value:e.jsx(r,{fontSize:"caption",fontWeight:"bold",color:"secondary",children:s.selfPay.note})})]})}),A=({title:s,items:a})=>e.jsxs(t,{direction:"column",gap:"sm",children:[e.jsx(r,{fontWeight:"bold",color:"secondary",children:s}),e.jsx(re,{elementName:"ul",columns:2,gapX:"sm",gapY:"sm",className:"m-0 list-inside list-disc pl-2 marker:text-brand",children:a.map(o=>e.jsx(r,{elementName:"li",children:o},o))})]}),Ye=({content:s})=>e.jsxs(y,{label:"RECORD",title:s.title,note:s.note,backgroundColor:"beige",children:[e.jsxs(t,{align:"stretch",gap:"lg",rounded:"sm",border:"full",className:"border-neutral-200",shadow:"lg",backgroundColor:"white",paddingX:"md",paddingY:"md",children:[e.jsxs(t,{direction:"column",gap:"sm",grow:1,basis:0,children:[e.jsx(r,{fontSize:"sm",fontWeight:"bold",color:"secondary",children:s.averageRatingLabel}),e.jsxs(t,{align:"baseline",children:[e.jsx(r,{fontWeight:"bold",className:"text-5xl",children:s.averageRating}),e.jsx(r,{fontSize:"sm",color:"disabled",children:"/ 5.0"})]}),e.jsx("div",{className:"w-25",children:e.jsx(B,{rating:s.averageRating})})]}),e.jsx(F,{orientation:"vertical"}),e.jsxs(t,{direction:"column",align:"center",gap:"sm",children:[e.jsxs(t,{align:"center",justify:"center",className:"relative size-25 text-brand",children:[e.jsx("svg",{viewBox:"0 0 100 100",className:"absolute inset-0",children:e.jsx("circle",{cx:"50",cy:"50",r:"46",fill:"none",stroke:"currentColor",strokeWidth:"8",strokeLinecap:"round",pathLength:"100",strokeDasharray:`${s.highRatingPercent} ${100-s.highRatingPercent}`,strokeDashoffset:"25"})}),e.jsxs(t,{align:"baseline",color:"brand",children:[e.jsx(r,{fontWeight:"bold",className:"text-4xl",children:s.highRatingPercent}),e.jsx(r,{fontSize:"sm",fontWeight:"bold",children:"%"})]})]}),e.jsx(r,{fontSize:"caption",fontWeight:"bold",color:"secondary",children:s.highRatingLabel})]})]}),e.jsxs(t,{direction:"column",gap:"md",rounded:"sm",border:"full",className:"border-neutral-200",shadow:"lg",backgroundColor:"white",paddingX:"md",paddingY:"md",children:[e.jsx(A,{title:s.repairTypes.title,items:s.repairTypes.items}),e.jsx(F,{borderStyle:"dashed"}),e.jsx(A,{title:s.damageCauses.title,items:s.damageCauses.items})]})]}),$e=({day:s,label:a})=>e.jsxs(t,{direction:"column",align:"center",gap:"sm",backgroundColor:"white",grow:1,basis:0,rounded:"sm",border:"full",shadow:"lg",padding:"md",className:"min-w-0 border-neutral-200",children:[e.jsx(r,{fontSize:"xs",fontWeight:"bold",color:"brand",children:s}),e.jsx(r,{fontSize:"xs",fontWeight:"bold",className:"text-nowrap",children:a})]}),He=({content:s})=>
14e.jsx(y,{label:"SPEED",title:s.title,description:s.description,note:s.note,backgroundColor:"white",children:e.jsx(t,{align:"center",gap:"xs",children:s.days.map((a,o)=>e.jsxs(f.Fragment,{children:[o>0&&e.jsx(Fe,{size:"sm",className:"shrink-0 text-brand"}),e.jsx($e,{day:a.day,label:a.label})]},a.day))})}),Ue=({review:s})=>e.jsxs(t,{direction:"column",gap:"md",backgroundColor:"white",rounded:"sm",border:"full",className:"border-neutral-200",shadow:"lg",padding:"md",children:[e.jsxs(t,{align:"center",gap:"sm",children:[e.jsx("div",{className:"w-25",children:e.jsx(B,{rating:s.rating})}),e.jsx(r,{fontSize:"xs",color:"secondary",children:s.author})]}),e.jsx(r,{children:s.body})]}),Ke=({content:s})=>e.jsx(y,{label:"VOICE",title:s.title,note:s.note,backgroundColor:"white",children:s.groups.map(a=>e.jsxs(t,{direction:"column",gap:"sm",children:[e.jsx(r,{fontSize:"sm",fontWeight:"bold",color:"brand",children:a.title}),a.reviews.map(o=>e.jsx(Ue,{review:o},o.author))]},a.title))}),Qe="w=716&auto=format,compress",Ve=({title:s,description:a,dummyProImagePaths:o})=>e.jsx(y,{label:"PRO",title:s,description:a,backgroundColor:"beige",children:e.jsx(t,{direction:"column",gap:"sm",children:o.map(l=>e.jsx("img",{src:`${te}${l}?${Qe}`,alt:"",loading:"lazy",className:"w-full rounded-sm shadow-lg"},l))})}),Xe="c",ls=()=>{const s=ne("selectProLandingPage.enabled"),a=oe(),[o]=ie(),l=o.get(Xe)??void 0,d=le(),{openSnack:i}=ce(),[c,b]=f.useState(!1),[x,p]=f.useState(!1),S=!de(h=>h.auth.failed),[j]=me(),{bool:N,off:W,toggle:Y}=ge(!1),{logLandingCTA:$}=q(),P=ue("requests.msad.config"),k=f.useMemo(()=>{if(!P)return null;try{return JSON.parse(P)}catch(h){return he(h,{extra:{context:"SelectProLandingPage: Failed to parse MSAD config"}}),null}},[P]),C=(k==null?void 0:k.serviceId)??"",w=h=>()=>{C&&$({serviceId:C,ctaPosition:h}),p(!0)},{data:u,isLoading:H}=xe({id:C},{skip:!C}),M=(u==null?void 0:u.providerName)??"ãã",U=u==null?void 0:u.flowType,n=_e("msad",M),K={selectProBeforeMeetEnabled:!0,onsiteEstimationType:je.HARD_ONSITE_ESTIMATION,inspectionEnabled:!1,payPerHire:!0,flowType:U,service:{_id:C,paymentMethods:[],providerName:M}},Q=async(h,V)=>{var _;b(!0);try{const m=await j({createByMsadBodyDto:{encryptedCode:h,decryptionKey:V}}).unwrap();p(!1),i("ä¾é ¼ã使ãã¾ããã",{variant:"success"});const D=`/requests/${m.requestId}/select-pro`;(_=m.user)!=null&&_.token&&await d(Se({token:m.user.token})),a(D)}catch(m){if(Ne(m)){if(m.status===409){const E=m.data;if(E!=null&&E.requestId){p(!1),i("ãã®äºæ
çªå·ã®ä¾é ¼ã¯æ¢ã«ç»é²ããã¦ãã¾ãã",{variant:"info"}),a(`/requests/${E.requestId}`);return}}const D=ke(m);i(D||"ä¾é ¼ã®ä½æã«å¤±æãã¾ããã",{variant:"error"})}else i("ä¾é ¼ã®ä½æã«å¤±æãã¾ããã",{variant:"error"})}finally{b(!1)}};return!s||!k?e.jsx(pe,{}):H||!u?e.jsx(fe,{}):e.jsxs(t,{className:"bg-gray-100 min-h-screen",children:[e.jsx(be,{children:e.jsxs("title",{children:[M," | ããã¢ã¢"]})}),e.jsxs(t,{direction:"column",className:"mx-auto w-full max-w-[390px] overflow-hidden bg-white",children:[e.jsx(we,{logo:n.logo}),e.jsx(Ee,{partnerLabel:n.partnerLabel,partnerLabelBgColor:n.partnerLabelBgColor,content:n.hero,cta:{label:n.cta.landingPageLabel,onClick:w("hero"),loading:c},notices:Le,children:S&&e.jsx(O,{asChild:!0,variant:"ghost",size:"md",className:"bg-black hover:bg-neutral-darkGray",children:e.jsx(v,{to:"/requests",children:"ä¾é ¼ã使æ¸ã¿ã®æ¹ã¯ãã¡ã"})})}),e.jsx(ve,{stats:n.stats}),e.jsx(We,{content:n.cost}),e.jsx(He,{content:n.speed}),e.jsx(I,{catchphrase:n.cta.landingPageCatchphrase,note:n.cta.note,label:n.cta.middleCtaLabel,onClick:w("after_speed"),loading:c}),e.jsx(Ye,{content:n.record}),e.jsx(Ke,{content:n.voice}),e.jsx(Ve,{title:n.selfSelectSection.title,description:n.selfSelectSection.description,dummyProImagePaths:n.selfSelectSection.dummyProImagePaths}),e.jsx(I,{catchphrase:n.cta.landingPageCatchphrase,note:n.cta.note,label:n.cta.middleCtaLabel,onClick:w("after_pro_list"),loading:c,backgroundColor:"beige"}),e.jsx(Pe,{request:K,content:n.flow}),e.jsx(Me,{title:n.faq.title,items:n.faq.items}),e.jsx(I,{catchphrase:n.cta.landingPageCatchphrase,note:n.cta.note,label:n.cta.footerCtaLabel,onClick:w("footer"),loading:c}),e.jsx(Ce,{hideMainMenuLinks:!0,rootClass:"!pb-20"})]}),e.jsx(De,{onClick:Y}),e.jsx(ye,{open:N,handleClose:W,difyId:Ie}),e.jsx(qe,{open:x,onClose:()=>p(!1),onSubmit:Q,loading:c,initialEncryptedCode:l})]})};export{ls as SelectProLandingPage,ls as default};
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.