1import{a1 as h,j as e,e6 as c,ad as d,n as t,u as p,b0 as u,h as x,L as g,t as j,b5 as f,hQ as y,hR as C}from"./index-CjSQylSY.js";import{P as _,a as r,b as P}from"./PromoLoadingSkeletonContainer-B-5nI1eC.js";import{S as s}from"./SkeletonFixed-B4u8hgRS.js";import{H as i}from"./HorizontalStack-DOxY0Scy.js";import{u as v}from"./useRequest-D3sedegx.js";import"./forms-Cpx8BwDR.js";import"./lodash-iLyqPmn9.js";import"./axios-CMNc-iix.js";import"./libphonenumber-js-F8d-WfCJ.js";import"./intl-tel-input-I9bzpzJo.js";const B=()=>{const{t:o}=h(),n={title:t.createByCode("component.phone_change_verification_error.title"),description:t.createByCode("component.phone_change_verification_error.description"),actions:[{label:t.createByCode("email.profeesend"),onPush:()=>{window.open(`mailto:${o("email.profeesend")}`,"_blank")},variant:"text"}]};return e.jsx(c,{Icon:e.jsx(d,{type:"road_cone",size:"lg"}),data:n,titleTag:"h1",titleSize:"h3",descriptionSize:"md",type:"vertical"})},S="_additional_rlcuk_1",z={additional:S},k=()=>{const o=p(u),n={title:t.createByCode("component.phone_change_verification_success.title"),description:t.createByCode("component.phone_change_verification_success.description"),actions:[{label:t.createByCode("common.action.continue"),variant:"contained",onPush:()=>{o({$kind:"push",url:j.VERIFICATION})}}]};return e.jsxs(e.Fragment,{children:[e.jsx(c,{Icon:e.jsx(d,{type:"thumb",size:"lg"}),data:n,titleTag:"h1",titleSize:"h3",descriptionSize:"md",type:"vertical"}),e.jsx(x,{align:"center",variant:"secondary",className:z.additional,children:e.jsx(g,{data:t.createByCode("component.phone_change_verification_success.additional")})})]})},w=()=>e.jsxs(_,{type:"plane",children:[e.jsx(i,{justifyContent:"center",children:e.jsx(s,{type:"square",width:"128",marginBottom:"6",widthUnits:"px"})}),e.jsx(i,{justifyContent:"center",children:e.jsx(r,{size:"md",width:"60%",marginBottom:"6"})}),e.jsx(i,{justifyContent:"center",children:e.jsx(r,{size:"md",width:"60%",marginBottom:"6"})}),e.jsx(i,{justifyContent:"center",children:e.jsx(s,{type:"rectangle",aspectPercent:"30",width:"128",marginBottom:"6",widthUnits:"px"})})]});function q(){const[o]=f(),n=o.get("id"),a=o.get("code"),{error:m,pending:l}=v(async()=>{if(!a||!n)throw Error("Missing code and id params");await y.confirmEmailLink({code:a,id:n})});return e.jsx(e.Fragment,{children:e.jsx(C,{navigationExternal:!0,children:e.jsx(P,{loading:l,skeleton:e.jsx(w,{}),children:m?e.jsx(B,{}):e.jsx(k,{})})})})}export{q 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.