PageSourceSearch

https://softcollie.ai/chunk-7FNJSTAU.js

js softcollie.ai collected 2026-10-05 15:03:07 UTC 10,347 bytes, 1 lines download raw bytes

1import{a as tt}from"./chunk-KLFQLKK6.js";import{a as Z}from"./chunk-MJO25K6H.js";import"./chunk-ZJEC3Q4G.js";import"./chunk-AOJN6WNJ.js";import{a as X}from"./chunk-6AT5A2BN.js";import{i as J,j as Q}from"./chunk-5VBVN4XO.js";import{g as H}from"./chunk-SWH5CKOF.js";import{b as G}from"./chunk-YU36PPIJ.js";import"./chunk-2UG4SRGW.js";import"./chunk-Y4S62ETF.js";import"./chunk-MCJE6KLX.js";import{b as j,g as L,h as W}from"./chunk-UYODVI7O.js";import"./chunk-KM6MCLXU.js";import"./chunk-FV2IMS43.js";import"./chunk-3KLM56HX.js";import{b as q,c as Y}from"./chunk-MOXDLQT4.js";import"./chunk-VLJ55T5Q.js";import"./chunk-ZACTTJ4S.js";import{c as y,e as M}from"./chunk-EKU7OH35.js";import"./chunk-V2PPMFND.js";import{$a as U,A as T,Aa as O,Cb as P,Da as I,Db as b,Fb as F,Ha as E,Ib as h,Jc as K,Lb as V,Mb as z,Nb as a,Ob as r,Pb as g,R as N,Tb as C,Vb as v,Wb as d,ba as p,db as i,fc as c,gc as m,hc as k,kd as $,ma as f,md as R,na as x,pb as w,pc as B,q as A,uc as s,vb as _,vc as u,wc as D}from"./chunk-5SAOKRHL.js";import{g as S}from"./chunk-NZN5XTIE.js";var ct=(t,l)=>l.path;function pt(t,l){if(t&1&&(a(0,"em",5),c(1),r()),t&2){let e=d().$implicit;i(),m(e.badge)}}function st(t,l){if(t&1){let e=C();a(0,"a",2),v("click",function(o){let ot=f(e).$implicit,it=d();return x(it.go(ot.path,o))}),g(1,"sc-icon",3),a(2,"span",4),c(3),s(4,"translate"),r(),_(5,pt,2,1,"em",5),r()}if(t&2){let e=l.$implicit,n=d();F("is-active",e.path===n.active()),b("href",n.href(e.path),U),P("aria-current",e.path===n.active()?"page":null),i(),b("name",e.icon),i(2),m(u(4,7,e.labelKey)),i(2),h(e.badge?5:-1)}}var et=(()=>{class t{constructor(){this.nav=p(Q),this.tabs=O.required(),this.active=O("")}href(e){return this.nav.href(`/account/${e}`)}go(e,n){n.preventDefault(),this.nav.go(`/account/${e}`)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=w({type:t,selectors:[["wr-account-nav"]],inputs:{tabs:[1,"tabs"],active:[1,"active"]},decls:4,vars:3,consts:[[1,"wr-acn"],[1,"wr-acn__link",3,"is-active","href"],[1,"wr-acn__link",3,"click","href"],["size","18",3,"name"],[1,"wr-acn__txt"],[1,"wr-acn__badge"]],template:function(n,o){n&1&&(a(0,"nav",0),s(1,"translate"),V(2,st,6,9,"a",1,ct),r()),n&2&&(P("aria-label",u(1,1,"account.tabs.label")),i(2),z(o.tabs()))},dependencies:[M,y,H],styles:['@charset "UTF-8";.wr-acn[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.wr-acn__link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:inherit;text-decoration:none;font-size:14px;opacity:.78;transition:background .15s ease,opacity .15s ease}.wr-acn__link[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,currentColor 8%,transparent)}.wr-acn__link.is-active[_ngcontent-%COMP%]{opacity:1;font-weight:700;background:color-mix(in srgb,var(--wr-primary, #004793) 12%,transparent);color:var(--wr-primary, #004793)}.wr-acn__txt[_ngcontent-%COMP%]{flex:1 1 auto}.wr-acn__badge[_ngcontent-%COMP%]{font-style:normal;font-size:12px;font-weight:600;opacity:.65;background:color-mix(in srgb,currentColor 12%,transparent);border-radius:999px;padding:1px 8px}@media (max-width: 860px){.wr-acn[_ngcontent-%COMP%]{flex-direction:row;gap:6px;overflow-x:auto;scroll-snap-type:x proximity;margin:0 -20px;padding:0 20px 4px;scrollbar-width:none}.wr-acn[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.wr-acn__link[_ngcontent-%COMP%]{flex:0 0 auto;scroll-snap-align:start;border-radius:999px;padding:8px 14px}}'],changeDetection:0})}}return t})();var lt=t=>({name:t});function dt(t,l){t&1&&g(0,"div",1)}function mt(t,l){t&1&&(a(0,"span",5),c(1),s(2,"translate"),r()),t&2&&(i(),m(u(2,1,"account.club.badge")))}function ut(t,l){if(t&1){let e=C();a(0,"p",7),c(1),s(2,"translate"),a(3,"button",12),v("click",function(){f(e);let o=d(2);return x(o.resend())}),c(4),s(5,"translate"),r()()}t&2&&(i(),k(" ",u(2,2,"account.pendingVerification")," "),i(3),m(u(5,4,"account.resend")))}function _t(t,l){if(t&1){let e=C();a(0,"header",2)(1,"div")(2,"h1"),c(3),s(4,"translate"),r(),a(5,"p",3),c(6),r()(),a(7,"div",4),_(8,mt,3,3,"span",5),a(9,"button",6),v("click",function(){f(e);let o=d();return x(o.logout())}),c(10),s(11,"translate"),r()()(),_(12,ut,6,6,"p",7),a(13,"div",8)(14,"aside",9),g(15,"wr-account-nav",10),r(),a(16,"div",11),g(17,"router-outlet"),r()()}if(t&2){let e,n,o=d();i(3),m(D(4,7,"account.hello",B(12,lt,(e=o.auth.profile())==null?null:e.displayName))),i(3),m((n=o.auth.profile())==null?null:n.email),i(2),h(o.auth.isMember()?8:-1),i(2),k(" ",u(11,10,"account.logout")," "),i(2),h(o.auth.profile()&&!o.auth.profile().emailVerified?12:-1),i(3),b("tabs",o.tabs())("active",o.activeTab())}}var nt=(()=>{class t{constructor(){this.auth=p(X),this.account=p(Z),this.ready=I(!1),this.router=p(W),this.siteCtx=p(q),this.siteStore=p(Y),this.platformId=p(E),this.activeTab=G(this.router.events.pipe(T(e=>e instanceof j),A(()=>this.tabFromUrl()),N(this.tabFromUrl())),{initialValue:"orders"}),this.tabs=K(()=>{let e=this.siteStore.effective(),n=this.account.counts(),o=[{path:"orders",labelKey:"account.tabs.orders",icon:"ic_fluent_receipt_bag_20_regular",badge:n.orders||void 0}];return(e?.membershipEnabled||this.auth.isMember())&&o.push({path:"club",labelKey:"account.tabs.club",icon:"ic_fluent_star_20_regular"}),(e?.shipping||n.addresses>0)&&o.push({path:"addresses",labelKey:"account.tabs.addresses",icon:"ic_fluent_location_20_regular",badge:n.addresses||void 0}),o.push({path:"wishlist",labelKey:"account.tabs.wishlist",icon:"ic_fluent_heart_20_regular",badge:n.wishlist||void 0}),n.appointments>0&&o.push({path:"appointments",labelKey:"account.tabs.appointments",icon:"ic_fluent_calendar_ltr_20_regular",badge:n.appointments}),o.push({path:"profile",labelKey:"account.tabs.profile",icon:"ic_fluent_person_20_regular"}),o.push({path:"privacy",labelKey:"account.tabs.privacy",icon:"ic_fluent_shield_keyhole_20_regular"}),o})}ngOnInit(){return S(this,null,function*(){if(R(this.platformId)){if(this.auth.consumeOAuthFragment(),yield this.auth.hydrate(),!this.auth.isLoggedIn()){yield this.router.navigateByUrl(this.accountUrl("/account/signin"));return}this.ready.set(!0),yield this.account.load()}})}logout(){return S(this,null,function*(){yield this.auth.logout(),this.account.reset(),yield this.router.navigateByUrl(this.accountUrl("/"))})}resend(){let e=this.auth.profile()?.email;e&&this.auth.resendVerification(e)}tabFromUrl(){let n=this.router.url.split("?")[0].split("#")[0].split("/").filter(
1Boolean),o=n.lastIndexOf("account");return o>=0&&n[o+1]?n[o+1]:"orders"}accountUrl(e){return J(e,this.siteCtx.getContext())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=w({type:t,selectors:[["wr-account-shell"]],decls:4,vars:1,consts:[[1,"wr-acs"],["aria-hidden","true",1,"wr-acs__skeleton"],[1,"wr-acs__head"],[1,"wr-acs__mail"],[1,"wr-acs__headright"],[1,"wr-acs__socio"],["type","button",1,"wr-acs__out",3,"click"],[1,"wr-acs__warn"],[1,"wr-acs__grid"],[1,"wr-acs__rail"],[3,"tabs","active"],[1,"wr-acs__body"],["type","button",3,"click"]],template:function(n,o){n&1&&(a(0,"wr-store-chrome")(1,"section",0),_(2,dt,1,0,"div",1)(3,_t,18,14),r()()),n&2&&(i(2),h(o.ready()?3:2))},dependencies:[$,L,M,y,tt,et],styles:['@charset "UTF-8";.wr-acs[_ngcontent-%COMP%]{width:100%;max-width:1080px;box-sizing:border-box;margin:0 auto;padding:40px 20px 56px;display:flex;flex-direction:column;gap:20px}.wr-acs__skeleton[_ngcontent-%COMP%]{height:320px;border-radius:14px;background:color-mix(in srgb,currentColor 7%,transparent);animation:_ngcontent-%COMP%_wr-acs-pulse 1.4s ease-in-out infinite}@keyframes _ngcontent-%COMP%_wr-acs-pulse{0%,to{opacity:.55}50%{opacity:.9}}.wr-acs__head[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.wr-acs[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:24px;margin:0;font-family:var(--wr-font-heading, inherit)}.wr-acs__mail[_ngcontent-%COMP%]{margin:3px 0 0;font-size:14px;opacity:.65}.wr-acs__headright[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.wr-acs__socio[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;background:color-mix(in srgb,var(--wr-accent, #f59e0b) 20%,transparent);color:var(--wr-accent, #f59e0b);border-radius:999px;padding:4px 11px}.wr-acs__out[_ngcontent-%COMP%]{background:none;color:inherit;font-family:inherit;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:10px;padding:8px 14px;font-size:14px;cursor:pointer;transition:background .15s ease}.wr-acs__out[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.wr-acs__warn[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--wr-accent, #b26a00) 14%,transparent);border-radius:10px;padding:11px 13px;font-size:14px;margin:0}.wr-acs__warn[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:none;border:0;padding:0 0 0 6px;color:inherit;text-decoration:underline;cursor:pointer;font-size:inherit;font-family:inherit}.wr-acs__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}.wr-acs__rail[_ngcontent-%COMP%]{position:sticky;top:92px}.wr-acs__body[_ngcontent-%COMP%]{min-width:0}@media (max-width: 860px){.wr-acs__grid[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr);gap:18px}.wr-acs__rail[_ngcontent-%COMP%]{position:static}}'],changeDetection:0})}}return t})();var Kt=[{path:"",component:nt,children:[{path:"",pathMatch:"full",redirectTo:"orders"},{path:"orders",loadComponent:()=>import("./chunk-BPUG7WUM.js").then(t=>t.AccountOrdersComponent)},{path:"orders/:id",loadComponent:()=>import("./chunk-GBIXKTQC.js").then(t=>t.AccountOrderDetailComponent)},{path:"profile",loadComponent:()=>import("./chunk-3YDH6XXD.js").then(t=>t.AccountProfileComponent)},{path:"addresses",loadComponent:()=>import("./chunk-DCDMCMIE.js").then(t=>t.AccountAddressesComponent)},{path:"wishlist",loadComponent:()=>import("./chunk-N2KQF6IY.js").then(t=>t.AccountWishlistComponent)},{path:"appointments",loadComponent:()=>import("./chunk-QWYO2UCR.js").then(t=>t.AccountAppointmentsComponent)},{path:"privacy",loadComponent:()=>import("./chunk-THIS5FOO.js").then(t=>t.AccountPrivacyComponent)},{path:"club",loadComponent:()=>import("./chunk-ESZI3XWE.js").then(t=>t.AccountClubComponent)}]}];export{Kt as ACCOUNT_ROUTES};

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.