PageSourceSearch

https://secure-static.schutz.com.br/_next/static/chunks/5820-02f6f7570fae37ef.js

js schutz.com.br collected 2026-10-01 14:34:48 UTC 11,618 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5820],{28181:function(e,t,r){r.d(t,{T:function(){return ProductItemSkeleton}});var n=r(85893),o=r(7597),a=r.n(o),c=r(6357);function ProductItemSkeleton(e){let{shouldRenderMoreColors:t=!1}=e,r=Array.from({length:5});return(0,n.jsxs)("div",{className:"tw-flex tw-flex-col",children:[(0,n.jsx)(c.O,{className:"tw-aspect-[50/72] tw-w-full [&>.skeleton-line]:tw-size-full"}),(0,n.jsx)(c.O,{className:"tw-w-3/5"}),(0,n.jsx)(c.O,{className:"tw-w-1/5"}),(0,n.jsx)(c.O,{className:"tw-w-2/5"}),t?(0,n.jsx)("div",{className:"tw-flex tw-gap-2",children:[...r].map(()=>(0,n.jsx)(c.O,{className:"tw-w-3 [&>.skeleton-line]:tw-h-3 [&>.skeleton-line]:tw-w-3 [&>.skeleton-line]:tw-rounded-full"},a().generate()))}):null]})}},63225:function(e,t,r){r.d(t,{r:function(){return Switch}});var n=r(85893),o=r(37340),a=r(20256);function _templateObject(){let e=(0,o._)(["\n  padding: 1rem;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,o._)(["\n  position: relative;\n  width: 48px;\n  height: 27px;\n  outline: none;\n  appearance: none;\n  background: ",";\n  border-radius: 20px;\n  cursor: pointer;\n\n  :checked {\n    background: ",";\n  }\n\n  ::before {\n    content: '';\n    width: 25px;\n    height: 25px;\n    position: absolute;\n    top: 0;\n    left: -2px;\n    background: ",";\n    border-radius: 50%;\n    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\n    transform: scale(1.2);\n    transition: all 0.5s;\n\n    border: 1px solid ",";\n  }\n\n  :checked::before {\n    left: 25px;\n  }\n"]);return _templateObject1=function(){return e},e}let c=a.ZP.div.withConfig({componentId:"sc-86a1c248-0"})(_templateObject()),i=a.ZP.input.attrs({type:"checkbox"}).withConfig({componentId:"sc-86a1c248-1"})(_templateObject1(),e=>e.theme.colors.switch.uncheckedBackground,e=>e.theme.colors.switch.checkedBackground,e=>e.theme.colors.switch.toggler,e=>e.theme.colors.switch.border);function Switch(e){let{onClick:t,register:r,value:o,checked:a,className:l="",dataTestId:u,disabled:s,containerClassName:d=""}=e;return(0,n.jsx)(c,{className:d,children:(0,n.jsx)(i,{onClick:t,defaultValue:o,type:"checkbox",checked:a,className:"".concat(l," switch__input"),"data-testid":u,disabled:s,...r})})}},72902:function(e,t,r){var n,o,a,c;r.d(t,{d:function(){return o},s:function(){return n}}),(a=n||(n={})).COLORS="color",a.SIZE="size",a.SHOE_SIZE="shoeSize",a.ACCESSORIES_SIZE="accessoriesSize",a.CLOTHES_SIZE="clothesSize",a.CATEGORY="category",a.GENDER="gender",a.STYLE="style",a.PANTS_STYLE="pantsStyle",a.SHOES_STYLE="shoesStyle",a.CATEGORY_TREE="fullCategoryTree",a.PRICE="price",(c=o||(o={})).APPLIED="applied",c.SELECT="select"},29973:function(e,t,r){var n,o;r.d(t,{s:function(){return n}}),(o=n||(n={}))[o.SEARCH=0]="SEARCH",o[o.CATEGORY=1]="CATEGORY",o[o.STORE_FINDER=2]="STORE_FINDER"},35234:function(e,t,r){var n,o;r.d(t,{o:function(){return n}}),(o=n||(n={})).HEADER="Header",o.FOOTER="Footer",o.SECTION_BANNER="SectionBanner",o.SECTION_BANNER_1="SectionBanner1",o.SECTION_BANNER_MOBILE="SectionBannerMobile",o.SECTION_BANNER_1_MOBILE="SectionBanner1Mobile",o.STORIES="SectionNavigationDiscovery",o.SECTION_PROMOTION_PARAGRAPH="SectionArezzoCoPromotionParagraphSlot",o.SECTION_BANNER_2="SectionBanner2",o.SECTION_BANNER_2_MOBILE="SectionBanner2Mobile",o.SECONDARY_HEADER="SectionSecondaryHeader",o.FASHION_PRODUCT_BANNERS="SectionFashionProductBanners",o.CATEGORIES_DISCOVERY="SectionNavigationDiscoveryOfCategories",o.SECTION_HTML_CAROUSEL="SectionHtmlCarousel",o.SECTION_LINK_LIST_MOBILE="SectionLinkListMobile",o.SECTION_BANNERS_1="SectionBanners1",o.SECTION_BANNERS_MOBILE_1="SectionBannersMobile1",o.SECTION_LEADS_FORM_COMPONENT="SectionLeadsFormComponent",o.SECTION_LEADS_FORM_COMPONENT_MOBILE="SectionLeadsFormComponentMobile",o.LEAD_FORM_COMPONENT="ArezzoLeadsFormComponent",o.LEAD_FORM_COMPONENT_MOBILE="ArezzoLeadsFormComponentMobile",o.SECTION_GRID_BANNERS="SectionArezzoCoBannerImagesList",o.SECTION_GRID_BANNERS_MOBILE="SectionArezzoCoBannerImagesListMobile",o.FOOTER_BENEFITS="FooterBenefits",o.FULL_LOOK_COMPONENT="SectionFullLook",o.SPOTS_CATEGORY="NavigationSpotsComponent",o.TIMER_MOBILE="SectionSchutzArezzoCoTimerMobile",o.TIMER_DESKTOP="SectionSchutzArezzoCoTimer",o.TIMER_DESKTOP_AREZZO="SectionArezzoCoTimer",o.TIMER_MOBILE_AREZZO="SectionArezzoCoTimerMobile",o.ANACAPRI_TIMER="SectionAnacapriArezzoCoTimer",o.ANACAPRI_TIMER_MOBILE="SectionAnacapriArezzoCoTimerMobile",o.ZZMALL_TIMER="SectionMarketplaceZZArezzoCoTimer",o.ZZMALL_TIMER_MOBILE="SectionMarketplaceZZArezzoCoTimerMobile",o.VANS_TIMER="SectionVansArezzoCoTimer",o.VANS_TIMER_MOBILE="SectionVansArezzoCoTimerMobile",o.RANGE_SLIDER="SectionArezzoCoBannerLinkList",o.ANA_LEADS_FORM_COMPONENT="AnacapriLeadsFormComponent",o.ANA_LEADS_FORM_COMPONENT_MOBILE="AnacapriLeadsFormComponentMobile",o.WHEEL="SectionAnacapriArezzoCoWheel",o.AREZZO_WHEEL="SectionArezzoCoWheel",o.AREZZO_WHEEL_MOBILE="SectionArezzoCoWheelMobile",o.VICENZA_WHEEL="SectionVicenzaArezzoCoWheel",o.VICENZA_WHEEL_MOBILE="SectionVicenzaArezzoCoWheelMobile",o.ZZ_INFLUENCER_COMPONENT="InfluencerDetailsList",o.FEATURE_PRODUCTS="SectionPromotionalProductPDC",o.ZZMALL_WHEEL="SectionMarketplaceZZArezzoCoWheel",o.ZZMALL_WHEEL_MOBILE="SectionMarketplaceZZArezzoCoWheelMobile"},41553:function(e,t,r){r.d(t,{m:function(){return useFilters}});
1var n=r(67294),o=r(72902),a=r(22564);function transformBreadcrumbToQuery(e){let{breadcrumb:t,isBreadcrumbSelected:r=!1}=e,{facetCode:n,facetValueCode:a}=t,c=n===o.s.SIZE,i=decodeURI(encodeURIComponent(a)).replaceAll(" ","+"),l=":".concat(n,":").concat(i);if(c&&r){let e="".concat(l).concat("(%2F\\d)?");return RegExp(e,"g")}return l}function transformBreadcrumbArrayToQuery(e){return e.map(e=>transformBreadcrumbToQuery({breadcrumb:e})).join("")}let useFilters=()=>{let{results:e}=(0,a.C)(),{pagination:{sort:t}}=e,[r,c]=(0,n.useState)([]),[i,l]=(0,n.useState)(""),[u,s]=(0,n.useState)(!1),d=(0,n.useCallback)(e=>{c([...e])},[]),E=(0,n.useCallback)(e=>{l(e)},[]);function addBreadcrumb(e){c([...r,e])}function addQuery(e){l(i+e)}function getIsSelectedBreadcrumb(e){return r.some(t=>t.facetValueCode===e)}function applyBreadcrumbChanges(e,n){let o=getIsSelectedBreadcrumb(e.facetValueCode),a=r.filter(e=>!n.includes(e.facetValueCode)),i=a.filter(t=>t.facetValueCode!==e.facetValueCode),u=o?i:[...a,e];c(u),l(":".concat(t).concat(transformBreadcrumbArrayToQuery(u)))}function getResetQuery(){let e=i;for(let t of r){let r=transformBreadcrumbToQuery({breadcrumb:t});e=e.replaceAll(r,"")}return e}return{addQuery,addInitialQuery:E,addOrRemoveQuery:function(e){let n=getIsSelectedBreadcrumb(e.facetValueCode);if(n){let n=r.filter(t=>t.facetValueCode!==e.facetValueCode),o=":".concat(t).concat(transformBreadcrumbArrayToQuery(n));c(n),l(o)}else{let t=transformBreadcrumbToQuery({breadcrumb:e});addQuery(t),addBreadcrumb(e)}},addBreadcrumb,addInitialBreadcrumbs:d,getQuery:function(){return i},getBreadcrumbs:function(){return r},getIsSelectedBreadcrumb,hasBreadcrumb:function(){return r.length>0},getResetQuery,resetQuery:function(){let e=getResetQuery();return c([]),l(e),e},transformBreadcrumbToQuery:transformBreadcrumbToQuery,setHasStoreFinderQueryMobile:s,getHasStoreFinderQueryMobile:function(){return u},getReplacedQuery:function(e){let t=e.facetCode===o.s.SIZE,r=e.facetCode==o.s.CATEGORY_TREE,n=e.removeQuery.query.value,a=t?n.split("%3B")[0]:n,c=getIsSelectedBreadcrumb(e.facetValueCode),i=transformBreadcrumbToQuery({breadcrumb:e,isBreadcrumbSelected:c}),l=c&&!r?a.replaceAll(i,""):a;return l},getIsSomeChildFacetValueSelected:function getIsSomeChildFacetValueSelected(e){let{facetValue:t,getIsSelected:r}=e;if(!t.hasChildren)return!1;let n=t.children.some(e=>r(e.code)),o=t.children.some(e=>getIsSomeChildFacetValueSelected({facetValue:e,getIsSelected:r}));return n||o},selectChildRemovingParent:function(e,t){applyBreadcrumbChanges(e,[t.facetValueCode,e.facetValueCode])},selectParentRemovingChildren:function(e,t){applyBreadcrumbChanges(e,t)}}}},62169:function(e,t,r){r.d(t,{o:function(){return useMultipleInViewport}});var n=r(67294),o=r(29055);function useMultipleInViewport(e){let[t,r]=(0,n.useState)(null),[a,c]=(0,n.useState)([]),i=(0,n.useRef)([]),l=null==t?void 0:t.children,{threshold:u=0,root:s=null,rootMargin:d="5%",isLoading:E=!1,childrenData:S,shouldFireDoublePages:m=!0}=e||{},f=(0,n.useMemo)(()=>null==S?void 0:S.map((e,t)=>({...e,positionInList:t})),[S]);return(0,n.useEffect)(()=>{if(E)return;let e=new IntersectionObserver(t=>{var r,n,a,l;let u=t.filter(t=>{let r=t.target,n=Number(r.dataset.index);return!!Number.isInteger(n)||(e.unobserve(t.target),!1)});(0===i.current.length||t.length>i.current.length)&&(i.current=u);let s=null===(r=t.find(e=>{let{isIntersecting:t}=e;return t}))||void 0===r?void 0:r.target,d=(0,o.dF)({array:t,predicate:e=>{let{isIntersecting:t}=e;return t}}),E=d.target,S=Number(null==s?void 0:null===(n=s.dataset)||void 0===n?void 0:n.index),C=Number(null==E?void 0:null===(a=E.dataset)||void 0===a?void 0:a.index),_=C+1-S,I=m?C+1+_:C+1,O=null===(l=i.current)||void 0===l?void 0:l.slice(S,I),A=O.map(e=>{let t=e.target,r=Number(t.dataset.index);return Number.isInteger(r)?null==f?void 0:f[r]:null}).filter(Boolean);for(let t of(c(A),O))e.unobserve(t.target)},{root:s,rootMargin:d,threshold:u});if(l)for(let t of l)e.observe(t);return()=>{e.disconnect()}},[f,l,E,s,d,m,u]),[{current:t,set:r},a]}},84105:function(e,t,r){r.d(t,{L:function(){return useKpiProducts}});var n=r(67294),o=r(35131),a=r(73445),c=r(17556);let i="production"===o.g.stg;function useKpiProducts(e){let{products:t}
1=e,[r,o]=(0,n.useState)(null),{user:l}=(0,c.aC)(),u=(0,n.useCallback)(async()=>{try{let e=t.map(e=>e.legacySKU);if(0===e.length)return;let r=await a.M.getKPIData(e);r&&o(r)}catch(e){console.log(e)}},[t]);return(0,n.useEffect)(()=>{var e;let t=null==l?void 0:null===(e=l.groups)||void 0===e?void 0:e.includes("managerecommerce");t&&i&&u()},[u,t,null==l?void 0:l.groups]),{kpiProducts:r}}},31856:function(e,t,r){r.d(t,{X:function(){return useSessionStorage}});var n=r(67294),o=r(69280);let a={getItem(e,t){try{let r=sessionStorage.getItem(e);if(null==r)return this.setItem(e,t),t;return JSON.parse(r)}catch(t){return console.error("Erro ao resgatar valor inicial na session storage key=".concat(e),t),t}},setItem(e,t){try{sessionStorage.setItem(e,JSON.stringify(t))}catch(r){return console.error("Erro ao armazenar novo valor na session storage key=".concat(e," value=").concat(t),r),r}},removeItem(e){try{sessionStorage.removeItem(e)}catch(t){return console.error("Erro ao remover item na session storage key=".concat(e),t),t}}};function useSessionStorage(e,t){let[r,c]=(0,n.useState)(t),[i,l]=(0,n.use
1State)(!0),{isServer:u}=(0,o.w)();(0,n.useEffect)(()=>{u||(c(a.getItem(e,t)),l(!1))},[t,u,e]);let s=(0,n.useCallback)(t=>{c(t),a.setItem(e,t)},[e]),d=(0,n.useCallback)(()=>{c(null),a.removeItem(e)},[e]);return[r,s,d,i]}},82207:function(e,t,r){var n,o;r.d(t,{U:function(){return n}}),(o=n||(n={})).ACTIVE="perto-de-voce_ativado",o.INACTIVE="perto-de-voce_desativado",o.NOT_USED="perto-de-voce_nao-utilizado",o.NON_APPLICABLE="nao-se-aplica"},830:function(e,t,r){r.d(t,{c:function(){return formatTestId}});function formatTestId(e){let t=e.toLowerCase().trim();return t.replace(/r\$ /g,"").replace(/ /g,"-").replace(/---/g,"-")}},36688:function(e,t,r){r.d(t,{B:function(){return getStoreFinderStatus}});var n=r(82207);function getStoreFinderStatus(e){let{isStoreFinderActive:t=!1,isStoreFinderStatusChanged:r=!1,searchedMethod:o}=e;return t?n.U.ACTIVE:r&&!t?n.U.INACTIVE:o&&!t?n.U.NOT_USED:n.U.NON_APPLICABLE}}}]);

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.