PageSourceSearch

https://www.xcaret.com/_next/static/chunks/31315.a6f096c01c480203.js

js xcaret.com collected 2026-10-02 02:55:36 UTC 1,064 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31315],{31315:function(e,n,o){"use strict";o.r(n);var i=o(52676),l=o(75271),s=o(40507),a=o.n(s),t=o(16968),d=o(90048),r=o.n(d);let p=e=>{let{shopping:n,isMobile:o}=e,[s,a]=(0,l.useState)(0);return(0,l.useEffect)(()=>{var e,o,i,l;let s=null==n?void 0:null===(e=n.Cart)||void 0===e?void 0:null===(o=e.PackageProducts)||void 0===o?void 0:o.Products,t=null==n?void 0:null===(i=n.Cart)||void 0===i?void 0:null===(l=i.IndividualProducts)||void 0===l?void 0:l.Products;a(0+(Array.isArray(s)?s.length:0)+(Array.isArray(t)?t.length:0))},[n]),s>0?(0,i.jsx)("span",{className:"shopping-badge ".concat(r().shoppingBadge," ").concat(o?r().mobileBadge:""),children:s}):null};p.propTypes={shopping:a().oneOfType([a().string,a().instanceOf(Object)]),isMobile:a().bool},p.defaultProps={shopping:{},isMobile:!1},n.default=(0,t.$j)(function(e){let{shopping:n}=e;return{shopping:n}},null)(p)},90048:function(e){e.exports={shoppingBadge:"shopping-badge_shoppingBadge__Hnsrq",mobileBadge:"shopping-badge_mobileBadge__NgK1I"}}}]);

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.