1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="44f84f94-e29d-5486-931d-1920df5f8418")}catch(e){}}(); 3import{f as I,h as N,l as C}from"./chunk-234E2ROI.js";import{a as E}from"./chunk-5CKARBPS.js";import{a as R}from"./chunk-BKF347UP.js";import"./chunk-5N6AC3TM.js";import{a as c}from"./chunk-HYFCKDFQ.js";import{a as f}from"./chunk-XCESFWQ7.js";import{a as v}from"./chunk-BMCSAN7A.js";import"./chunk-PF6XMYND.js";import"./chunk-QPQ5U7CL.js";import"./chunk-OJTNZT7X.js";import"./chunk-PD36SD65.js";import"./chunk-XNAV352G.js";import"./chunk-Q6WNG4ZE.js";import"./chunk-26CMXKXW.js";import"./chunk-DUY7LPKV.js";import"./chunk-RTONOUWN.js";import"./chunk-TZLCZWSJ.js";import"./chunk-XC22UET4.js";import"./chunk-QY63XGLG.js";import"./chunk-7YHKA44F.js";import"./chunk-QDUENW5W.js";import"./chunk-WKEDV5IB.js";import"./chunk-I632XHT5.js";import"./chunk-LTX5EWBQ.js";import"./chunk-5SLJO4N5.js";import"./chunk-K3LPZKPV.js";import"./chunk-4R4EGKM3.js";import"./chunk-LVHFRK5S.js";import"./chunk-2C3TBEYH.js";import{b as n}from"./chunk-P5GCYECX.js";import"./chunk-BI5TAYFX.js";import"./chunk-U3OPTH4F.js";import"./chunk-J77BE44H.js";import"./chunk-UBPRZHFC.js";import"./chunk-5WBPRBLT.js";import{m as p}from"./chunk-WMK4UHKL.js";import"./chunk-TGY5CREU.js";import{b as u}from"./chunk-R2MTWKGX.js";import"./chunk-H77KB3FH.js";import"./chunk-RL5QFXWK.js";import"./chunk-NEMB4EFY.js";import{Ia as h}from"./chunk-QKEHE5CK.js";import"./chunk-JXQ5ZH4X.js";import{Aa as o,I as A,R as S,ja as G,p as s,v as m,va as d,w as P}from"./chunk-OG4R3H7L.js";import"./chunk-CHCY4HII.js";function g(e){return()=>{let t=o(h),_=o(p),i=o(C);return t.browser?(i.getActiveSellerVerificationCaseSummary(),u(i.isSummaryLoading).pipe(A(r=>!r),S(1),m(()=>{let r=i.caseSummary();return r?r.state==="Pending"||r.state==="Rejected"&&e.allowRetry&&!N(r)?!0:(_.dispatch(new n({path:[I.STATUS]})),!1):e.allowWithoutCase?!0:(_.dispatch(new n({path:[I.SELLER_TYPE]})),!1)}))):s(!0)}}var w=(()=>{let t=class t{constructor(){this.store=o(p),this.sellerVerificationStore=o(C),this.platform=o(h),this.isSummaryLoading$=u(this.sellerVerificationStore.isSummaryLoading)}canActivate(){return this.platform.browser?(this.sellerVerificationStore.getActiveSellerVerificationCaseSummary(),this.isSummaryLoading$.pipe(A(i=>!i),S(1),m(()=>this.sellerVerificationStore.caseSummary()?(this.store.dispatch({type:"CAN_ACCESS_VERIFICATION_STATUS_GUARD_PASSED"}),!0):(this.store.dispatch({type:"CAN_ACCESS_VERIFICATION_STATUS_GUARD_BLOCKED_NO_ACTIVE_CASE"}),this.store.dispatch(new n({path:["/"]})),!1)))):s(!0)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var T=(()=>{let t=class t{constructor(){this.store=o(p),this.verificationStore=o(v)}canActivate(i){return s(this.verificationStore.pendingReviews()).pipe(m(r=>{let y=i.paramMap.get("id"),a=r.some(l=>l.type===R.CCReview&&l.reviewState===E.Required&&l.id===y);return this.store.dispatch({type:a?"HAS_PENDING_CC_REVIEWS_GUARD_PASSED":"HAS_PENDING_CC_REVIEWS_GUARD_BLOCKED"}),a||this.store.dispatch(new n({path:["/"]})),a}))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var D=(()=>{let t=class t{constructor(){this.store=o(p),this.verificationStore=o(v)}canActivate(i){return s(this.verificationStore.pendingReviews()).pipe(m(r=>{let y=i.paramMap.get("id"),a=!!r?.some(l=>l.type===R.IdReview&&l.reviewState===E.Required&&l.id===y);return this.store.dispatch({type:a?"HAS_PENDING_ID_REVIEWS_GUARD_PASSED":"HAS_PENDING_ID_REVIEWS_GUARD_BLOCKED"}),a||this.store.dispatch(new n({path:["/"]})),a}))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var b=(()=>{let t=class t{constructor(){this.store=o(p),this.verificationStore=o(v),this.platform=o(h),this.userVerificationData$=u(this.verificationStore.userVerificationData),this.pendingReviewsThatAffectPurchaseExist$=u(this.verificationStore.pendingReviewsThatAffectPurchaseExist)}canActivate(){return this.platform.ssg?s(!0):P([this.userVerificationData$,this.pendingReviewsThatAffectPurchaseExist$]).pipe(G(([i])=>i.isVerificationDataLoaded===!1),S(1),m(([i,r])=>{let a=i.hasPendingReviews||r;return a||this.store.dispatch(new n({path:["/"]})),a}))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=d({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Oe=[{path:"",loadComponent:()=>import("./chunk-Q2XXDPKL.js").then(e=>
3e.VerificationPageComponent),canActivate:[c,f,b],data:{skipServerAuthGuard:!0,skipServerUserGuard:!0}},{path:"id/:id",loadComponent:()=>import("./chunk-O2IMU4TV.js").then(e=>e.IdVerificationPageComponent),canActivate:[c,f,D]},{path:"cc/:id",loadComponent:()=>import("./chunk-GNWFPI6V.js").then(e=>e.CcVerificationPageComponent),canActivate:[c,f,T]},{path:"before-selling",loadComponent:()=>import("./chunk-YM3SY2HP.js").then(e=>e.VerificationBeforeSellingComponent),canActivate:[c,f]},{path:"seller-type",loadComponent:()=>import("./chunk-KBCXYDR2.js").then(e=>e.VerificationSellerTypeComponent),canActivate:[c,f,g({allowWithoutCase:!0,allowRetry:!0})]},{path:"seller-details",loadComponent:()=>import("./chunk-6OR7QI44.js").then(e=>e.SellerDetailsComponent),canActivate:[c,f,g({allowWithoutCase:!1})]},{path:"seller-questionnaire",loadComponent:()=>import("./chunk-AYMOMYQ6.js").then(e=>e.SellerQuestionnaireComponent),canActivate:[c,f,g({allowWithoutCase:!1})]},{path:"company-details",loadComponent:()=>import("./chunk-CE3NHE72.js").then(e=>e.CompanyDetailsComponent),canActivate:[c,f,g({allowWithoutCase:!1})]},{path:"status",loadComponent:()=>import("./chunk-HZR4AVZO.js").then(e=>e.VerificationStatusComponent),canActivate:[c,f,w]}];export{Oe as VERIFICATION_ROUTES}; 4/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/ 5 6//# debugId=44f84f94-e29d-5486-931d-1920df5f8418
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.