PageSourceSearch

https://www.costco.fr/spartacus/assets/chunk-MPUEVRTL.js

js costco.fr collected 2026-09-24 22:01:04 UTC 6,824 bytes, 1 lines download raw bytes

1import{b as W,c as X}from"./chunk-RBTSF22Z.js";import{a as v}from"./chunk-ZWOR7NS3.js";import"./chunk-SF7MU6Q7.js";import"./chunk-LKXYBJQT.js";import"./chunk-OW5JJRFG.js";import{a as Q}from"./chunk-KBT2WZHU.js";import"./chunk-UFQPHIRH.js";import"./chunk-3O5P3I7K.js";import"./chunk-H7CCOU6M.js";import"./chunk-LZL2LC4I.js";import{d as z,t as J}from"./chunk-WIJLTONJ.js";import"./chunk-TICZJ3OB.js";import"./chunk-ESKAF6IH.js";import"./chunk-NDDQ4HV5.js";import"./chunk-L6EN2BW6.js";import"./chunk-IZDLYJRE.js";import"./chunk-BR5LA4PI.js";import"./chunk-EDLENBQR.js";import{m as q}from"./chunk-RI5I43BI.js";import"./chunk-A7YH3TJI.js";import"./chunk-MCQQEV6H.js";import"./chunk-ZOCN6U4I.js";import"./chunk-2W7PDVXL.js";import"./chunk-SXGFXLNS.js";import"./chunk-Y7LV6N2E.js";import"./chunk-6WMWEIOS.js";import"./chunk-ZO4CFGV3.js";import"./chunk-JMFJFBUD.js";import"./chunk-MNDIYD7B.js";import"./chunk-3PGHLUKK.js";import{r as $}from"./chunk-X6WXLEJ5.js";import"./chunk-UMM552OB.js";import{a as V}from"./chunk-XUZPMCRD.js";import"./chunk-JW3HVCPM.js";import"./chunk-TMASSOMY.js";import"./chunk-Y52XVX6B.js";import"./chunk-HHEJWSKA.js";import"./chunk-D3VLNOII.js";import"./chunk-5N6ZNYUY.js";import"./chunk-MLVA2BKI.js";import{l as H}from"./chunk-SUMO55QQ.js";import"./chunk-P5BIUT3A.js";import"./chunk-2JPK6GHX.js";import"./chunk-QCZIRXSN.js";import"./chunk-5Q42DF5J.js";import"./chunk-IPAVTCJR.js";import"./chunk-CZQPPCI2.js";import"./chunk-EDINK3NC.js";import"./chunk-BOJ55PH3.js";import{a as f,b as K}from"./chunk-P6SMF36Q.js";import"./chunk-AKJJZDJ4.js";import"./chunk-G7MMMJCH.js";import"./chunk-4MHYHNBE.js";import"./chunk-W74VQ2ZW.js";import"./chunk-MIXPOUNZ.js";import{a as U,b as Y}from"./chunk-7IEM6YIL.js";import"./chunk-QEX7IBDO.js";import"./chunk-B4HBB6J6.js";import"./chunk-CDH54WDO.js";import{H as j,J as N,K as L,g as k,j as O,q as P,u as G}from"./chunk-ROAQJP46.js";import{Ca as h,Da as F,Hb as r,Ib as a,Jb as I,Qb as S,R as T,Ta as E,a as x,ae as D,cc as p,cd as R,ce as w,eb as o,ec as l,fb as u,jd as _,ke as A,oh as b,pc as M,ph as B,ta as C,vb as d,yc as m,zc as s}from"./chunk-ADQO3XXX.js";import{m as y}from"./chunk-3JMZ37NM.js";var Z=t=>({static:t}),ie=(()=>{let e=class e{constructor(c){this.membershipService=c,this.handleSubmit=new E,this.SIP_DATA_SELECTOR=U}onSubmit(){this.handleSubmit.emit()}ngOnInit(){this.cancelMembershipReasons$=this.membershipService.getCancelMembershipReasons()}};e.\u0275fac=function(i){return new(i||e)(u(v))},e.\u0275cmp=h({type:e,selectors:[["sip-cancel-membership-form"]],inputs:{cancelForm:"cancelForm"},outputs:{handleSubmit:"handleSubmit"},decls:15,vars:18,consts:[[3,"ngSubmit","formGroup","sipDataSelector"],[1,"form-container"],[1,"form-group","email-subject"],[3,"control"],["idKey","cancelReason","labelKey","text.account.cancel.membership.select.reason.label","skipBlankMessageKey","text.account.cancel.membership.select.reason.message","itemValue","code","itemLabel","value","controlsCSS","reason-ddl",1,"select-container",3,"control","items"],[1,"row","two-btn-row"],[1,"col-xs-12","col-sm-6","col-md-6","col-sm-push-6","col-md-push-6","btn-one-wrapper"],["type","submit",1,"btn","btn-primary","btn-block",3,"sipDataSelector"],[1,"col-xs-12","col-sm-6","col-md-6","col-sm-pull-6","col-md-pull-6","btn-two-wrapper"],["routerLink","/my-account/update-profile",1,"btn","btn-secondary","btn-block"]],template:function(i,n){i&1&&(r(0,"form",0),S("ngSubmit",function(){return n.onSubmit()}),r(1,"div",1)(2,"div",2)(3,"sip-form-group",3),I(4,"sip-select-box",4),m(5,"async"),a()()(),r(6,"div",5)(7,"div",6)(8,"button",7),p(9),m(10,"cxTranslate"),a()(),r(11,"div",8)(12,"a",9),p(13),m(14,"cxTranslate"),a()()()()),i&2&&(d("formGroup",n.cancelForm)("sipDataSelector",M(14,Z,n.SIP_DATA_SELECTOR.FORM)),o(3),d("control",n.cancelForm.controls.cancelReason),o(),d("control",n.cancelForm.controls.cancelReason)("items",s(5,8,n.cancelMembershipReasons$)),o(4),d("sipDataSelector",M(16,Z,n.SIP_DATA_SELECTOR.SUBMIT_BUTTON)),o(),l(" ",s(10,10,"text.account.cancel.membership.button.label")," "),o(4),l(" ",s(14,12,"text.account.back.to.my.details.title")," "))},dependencies:[P,O,G,D,$,z,Y,R,b],encapsulation:2,changeDetection:0});let t=e;return t})();var te=(()=>{let e=class e{constructor(c,i,n,g,oe){this.formBuilder=c,this.membershipService=i,this.globalMessageService=n,this.authService=g,this.routingService=oe,this.subscription=new x}onSubmit(){return y(this,null,function*(){if(this.globalMessageService.removeAllMessages(),this.cancelMembershipForm.updateValueAndValidity(),!this.cancelMembershipForm.valid){this.globalMessageService.addMessage({key:"text.account.cancel.membership.missing.reason"},f.MSG_TYPE_ERROR);return}let c=this.cancelMembershipForm.controls.cancelReason.value;try{yield this.membershipService.cancelMembership(c).pipe(T(1)).toPromise(),this.globalMessageService.addMessage({key:"account.confirmation.membership.cancelled"},f.MSG_TYPE_CONFIRMATION),yield this.authService.logout({custom:!0,skipOauthTokenRevoke:!0,redirectTo:"/"})}catch{this.routingService.goByUrl("/my-account/update-profile"),setTimeout(()=>{this.globalMessageService.addMessage({key:"text.account.cancel.error.message"},f.MSG_TYPE_ERROR)})}})}ngOnInit(){this.cancelMembershipForm=this.formBuilder.group({cancelReason:[null,[k.required]]})}};e.\u0275fac=function(i){return new(i||e)(u(j),u(v),u(K),u(q),u(V))},e.\u0275cmp=h({type:e,selectors:[["sip-cancel-membership"]],decls:22,vars:16,consts:[[1,"row"],[1,"account-section","account-container"],[1,"h2","headline"],[1,"cancel-membership-info"],[1,"parag-info"],[1,"form_field-elements"],[3,"handleSubmit","cancelForm"]],template:function(i,n){i&1&&(r(0,"sip-my-account-mobile-menu")(1,"div",0)(2,"div",1)(3,"h2",2),p(4),m(5,"cxTranslate"),a(),r(6,"div",3)(7,"div",4),p(8),m(9,"cxTranslate"),a(),r(10,"ul")(11,"li"),p(12),m(13,"c
1xTranslate"),a(),r(14,"li"),p(15),m(16,"cxTranslate"),a(),r(17,"li"),p(18),m(19,"cxTranslate"),a()()(),r(20,"div",5)(21,"sip-cancel-membership-form",6),S("handleSubmit",function(){return n.onSubmit()}),a()()()()()),i&2&&(o(4),l(" ",s(5,6,"text.account.cancel.membership.title")," "),o(4),l(" ",s(9,8,"text.account.cancel.membership.paragraph.info")," "),o(4),l(" ",s(13,10,"text.account.cancel.membership.paragraph.bullet1")," "),o(3),l(" ",s(16,12,"text.account.cancel.membership.paragraph.bullet2")," "),o(3),l(" ",s(19,14,"text.account.cancel.membership.paragraph.bullet3")," "),o(3),d("cancelForm",n.cancelMembershipForm))},dependencies:[W,ie,b],encapsulation:2,changeDetection:0});let t=e;return t})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=F({type:e}),e.\u0275inj=C({providers:[A({cmsComponents:{AccountCancelMembershipComponent:{component:te}}})],imports:[_,L,N,B,Q,w,J,X,H]});let t=e;return t})();export{Ve as SipCancelMembershipModule};

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.