PageSourceSearch

https://www.costco.com.mx/spartacus/assets/chunk-PZ3HQKOC.js

js costco.com.mx collected 2026-09-24 17:43:46 UTC 8,300 bytes, 1 lines download raw bytes

1import{a as X}from"./chunk-KD7LKDEM.js";import{s as W}from"./chunk-SI5GJQMC.js";import{a as y}from"./chunk-N3AFMFPM.js";import{b as j}from"./chunk-TMASSOMY.js";import{l as V}from"./chunk-SUMO55QQ.js";import{a as A}from"./chunk-P5BIUT3A.js";import{c as U}from"./chunk-CZQPPCI2.js";import{f as $}from"./chunk-MIXPOUNZ.js";import{Ca as I,Da as L,Dc as E,Hb as c,Ib as _,Jb as f,Kb as s,Lb as p,Sb as a,Xc as F,Yc as T,Zc as w,_c as N,ab as O,bc as v,cc as d,cd as b,dc as l,eb as n,ec as x,fb as P,fc as k,jd as M,oh as Y,ph as B,ta as h,tb as m,v as R,vb as r,yc as g,zc as C}from"./chunk-ADQO3XXX.js";function J(e,i){if(e&1&&(c(0,"span",6),f(1,"sip-masked-pii",7),_()),e&2){let t=a(4);n(),r("isPickupInStore",t.isPickupInStore)("piiInformation",t.address.firstName==null?null:t.address.firstName.concat(t.address.lastName?" "+t.address.lastName:""))("piiFieldType",t.PII_FIELD_TYPE.NAME)}}function K(e,i){if(e&1&&(s(0),m(1,J,2,3,"span",5),p()),e&2){let t=a(3);n(),r("ngIf",!t.isPickupInStore&&(t.address.firstName!==""||t.address.lastName!==""))}}function Q(e,i){if(e&1&&(s(0),f(1,"sip-masked-pii",8),p()),e&2){let t=a(3);n(),r("isPickupInStore",t.isPickupInStore)("piiInformation",t.address.line1)("piiFieldType",t.PII_FIELD_TYPE.ADDRESS)}}function Z(e,i){if(e&1&&(s(0),f(1,"sip-masked-pii",8),p()),e&2){let t=a(3);n(),r("isPickupInStore",t.isPickupInStore)("piiInformation",t.address.line2)("piiFieldType",t.PII_FIELD_TYPE.ADDRESS)}}function ee(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(3);n(2),l(t.address.line3)}}function te(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(3);n(2),l(t.address.line4)}}function ne(e,i){if(e&1&&(c(0,"span",6),d(1),_()),e&2){let t=a(4);n(),k(" ",t.address.postalCode,"",t.address.cityName," ")}}function ie(e,i){if(e&1&&(s(0),m(1,ne,2,2,"span",5),p()),e&2){let t=a().sipLet;n(),r("ngIf",t)}}function re(e,i){if(e&1&&(c(0,"span",6),d(1),_()),e&2){let t=a(4);n(),x(" ",t.address.districtName," ")}}function ae(e,i){if(e&1&&(s(0),m(1,re,2,1,"span",5),p()),e&2){let t=a().sipLet;n(),r("ngIf",t)}}function oe(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(4);n(2),l(t.address.cityName)}}function se(e,i){if(e&1&&(c(0,"span",6),d(1),_()),e&2){let t=a(4);n(),l(t.address.town)}}function pe(e,i){if(e&1&&(s(0),m(1,oe,3,1,"ng-container",9)(2,se,2,1,"ng-template",null,0,E),p()),e&2){let t=v(3),o=a().sipLet;n(),r("ngIf",o)("ngIfElse",t)}}function de(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(3);n(2),l(t.address.region==null?null:t.address.region.name)}}function ce(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(3);n(2),l(t.address.country==null?null:t.address.country.name)}}function _e(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(3);n(2),l(t.address.postalCode)}}function me(e,i){if(e&1&&(s(0),c(1,"span",6),d(2),_(),p()),e&2){let t=a(3);n(2),l(t.address.colonia)}}function le(e,i){if(e&1&&(s(0,3),m(1,K,2,1,"ng-container",4)(2,Q,2,3,"ng-container",4)(3,Z,2,3,"ng-container",4)(4,ee,3,1,"ng-container",4)(5,te,3,1,"ng-container",4)(6,ie,2,1,"ng-container",4)(7,ae,2,1,"ng-container",4)(8,pe,4,2,"ng-container",4)(9,de,3,1,"ng-container",4)(10,ce,3,1,"ng-container",4)(11,_e,3,1,"ng-container",4)(12,me,3,1,"ng-container",4),p()),e&2){let t=a().$implicit,o=a();r("ngSwitch",t),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.NAME),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.LINE1),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.LINE2),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.LINE3),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.LINE4),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.POSTALCODE_CITY),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.DISTRICT),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.CITY),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.STATE),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.COUNTRY),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.POSTALCODE),n(),r("ngSwitchCase",o.ADDRESS_ATTR_ORDER.COLONIA)}}function Se(e,i){if(e&1&&(c(0,"div"),m(1,le,13,13,"ng-container",2),g(2,"async"),_()),e&2){let t=a();n(),r("sipLet",C(2,1,t.addressValidationType$)===t.FIXED_LIST)}}var H=(()=>{let i=class i{constructor(o){this.siteService=o,this.ADDRESS_ATTR_ORDER=j,this.FIXED_LIST="FIXED_LIST",this.PII_FIELD_TYPE=A}ngOnInit(){this.addressValidationType$=this.siteService.getSite().pipe(R(o=>o?.addressValidationType)),this.addressAttributesOrder$=this.siteService.getSite().pipe(R(o=>{let S=o?.addressAttributesOrder||[];return this.displayAttributes?.length?S.filter(u=>this.displayAttributes.find(D=>D===u)):S}))}};i.\u0275fac=function(S){return new(S||i)(P($))},i.\u0275cmp=I({type:i,selectors:[["sip-address-lines"]],inputs:{address:"address",displayAttributes:"displayAttributes",isPickupInStore:"isPickupInStore"},decls:2,vars:3,consts:[["addressTown",""],[4,"ngFor","ngForOf"],[3,"ngSwitch",4,"sipLet"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","notranslate",4,"ngIf"],[1,"notranslate"],[3,"isPickupInStore","piiInformation","piiFieldType"],[1,"notranslate",3,"isPickupInStore","piiInformation","piiFieldType"],[4,"ngIf","ngIfElse"]],template:function(S,u){S&1&&(m(0,Se,3,3,"div",1),g(1,"async")),S&2&&r("ngForOf",C(1,1,u.addressAttributesOrder$))},dependencies:[F,T,w,N,U,y,b],encapsulation:2,changeDetection:0});let e=i;return e})();function xe(e,i){if(e&1&&(s(0),d(1),p()),e&2){let t=a(2);n(),x("",t.pointOfService.address.line2,",\xA0")}
1}function ge(e,i){if(e&1&&(s(0),d(1),p()),e&2){let t=a(2);n(),l(t.pointOfService.address.town)}}function Ce(e,i){e&1&&(s(0),d(1,"\xA0"),p())}function ue(e,i){if(e&1&&(s(0),d(1),p()),e&2){let t=a(2);n(),l(t.pointOfService.address.postalCode)}}function Ie(e,i){if(e&1&&(s(0),d(1),p()),e&2){let t=a(2);n(),l(t.pointOfService.address.country.name)}}function ve(e,i){if(e&1&&(s(0),c(1,"a",4),d(2),g(3,"cxTranslate"),_(),p()),e&2){let t=a(2);n(),r("href","/store-finder/"+t.pointOfService.name,O),n(),l(C(3,2,"checkout.orderConfirmation.preorder.pickup.location.message"))}}function Ee(e,i){if(e&1&&(s(0),c(1,"div",2),d(2),f(3,"br"),d(4),f(5,"br"),m(6,xe,2,1,"ng-container",3)(7,ge,2,1,"ng-container",3)(8,Ce,2,0,"ng-container",3),f(9,"br"),m(10,ue,2,1,"ng-container",3),f(11,"br"),m(12,Ie,2,1,"ng-container",3),f(13,"br"),d(14),f(15,"br"),m(16,ve,4,4,"ng-container",3),_(),p()),e&2){let t=a();n(2),x(" ",t.pointOfService.name," "),n(2),x(" ",t.pointOfService.address.line1," "),n(2),r("ngIf",t.pointOfService.address.line2),n(),r("ngIf",t.pointOfService.address.town),n(),r("ngIf",t.pointOfService.address.town&&t.pointOfService.address.postalCode),n(2),r("ngIf",t.pointOfService.address.postalCode),n(2),r("ngIf",t.pointOfService.address.country),n(2),x(" ",t.pointOfService.address.phone," "),n(2),r("ngIf",t.displayWarehouseContactInfo)}}function Te(e,i){e&1&&(s(0),c(1,"span",2),d(2),g(3,"cxTranslate"),_(),p()),e&2&&(n(2),l(C(3,1,"address.business")))}function Ae(e,i){if(e&1&&(s(0),c(1,"div",5),m(2,Te,4,3,"ng-container",3),f(3,"sip-address-lines",6)(4,"sip-masked-pii",7),_(),p()),e&2){let t=a(2);n(2),r("ngIf",t.address.businessAddress),n(),r("isPickupInStore",t.isPickupInStore)("address",t.address),n(),r("isPickupInStore",t.isPickupInStore)("piiInformation",t.address.phone)("piiFieldType",t.PII_FIELD_TYPE.PHONE_NUMBER)}}function ye(e,i){if(e&1&&m(0,Ae,5,6,"ng-container",3),e&2){let t=a();r("ngIf",t.address==null?null:t.address.visibleInAddressBook)}}var Fe=(()=>{let i=class i{constructor(){this.PII_FIELD_TYPE=A}};i.\u0275fac=function(S){return new(S||i)},i.\u0275cmp=I({type:i,selectors:[["sip-address"]],inputs:{address:"address",pointOfService:"pointOfService",isPickupInStore:"isPickupInStore",displayWarehouseContactInfo:"displayWarehouseContactInfo",displayAttributes:"displayAttributes"},decls:3,vars:2,consts:[["regularAddress",""],[4,"ngIf","ngIfElse"],[1,"notranslate"],[4,"ngIf"],[3,"href"],[1,"account-address-body"],[3,"isPickupInStore","address"],[1,"notranslate",3,"isPickupInStore","piiInformation","piiFieldType"]],template:function(S,u){if(S&1&&m(0,Ee,17,9,"ng-container",1)(1,ye,1,1,"ng-template",null,0,E),S&2){let D=v(2);r("ngIf",u.pointOfService)("ngIfElse",D)}},dependencies:[T,y,H,Y],encapsulation:2,changeDetection:0});let e=i;return e})();var We=(()=>{let i=class i{};i.\u0275fac=function(S){return new(S||i)},i.\u0275mod=L({type:i}),i.\u0275inj=h({imports:[M,B,V,W,X]});let e=i;return e})();export{H as a,Fe as b,We as c};

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.