PageSourceSearch

https://www.oralb.pt/_next/static/chunks/1099.9272d8f1c112e0c2.js

js oralb.pt collected 2026-10-05 01:22:09 UTC 6,680 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1099],{8744:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>y});var n=t(56191),i=t.n(n),l=t(60180),a=t.n(l),o=t(14232),c=t(18774),u=t(45120),s=t(18847),f=t.n(s),d=t(43876),p=t(24960),g=t(86364),v=t(37876),h=f()(function(){return t.e(5452).then(t.bind(t,5452))},{loadableGenerated:{webpack:function(){return[5452]}}});function y(e){var r,n,l,s,f,y,b,m,w=t(24504).standardizePath,x=new d.A(e),S=e.document,j=e.extraAttributes,E=(0,o.useRef)([]),O=(0,o.useState)([]),P=O[0],D=O[1],k=(0,o.useState)(!1),_=k[0],N=k[1],T=(0,o.useState)(!1),C=T[0],I=T[1];(0,o.useEffect)(function(){E.current=(0,u.d$)().map(function(e){return e.id}).filter(function(e){return e!==(null==j?void 0:j.slug)}),D(E.current.map(function(){})),I(!0)},[null==j?void 0:j.slug]);var A=x.getAnchorId(),R=null==S||null==(r=S.fields)?void 0:r.title,L=null==S||null==(n=S.fields)||null==(l=n.seeLessLabel)||null==(s=l.fields)?void 0:s.text,Y=null==S||null==(f=S.fields)||null==(y=f.seeMoreLabel)||null==(b=y.fields)?void 0:b.text,V=null==S||null==(m=S.fields)?void 0:m.classNames,U=(0,o.useMemo)(function(){var e=["ob-recently-viewed-block"];return V&&e.push(V),_&&e.push(g.x5.show),e},[V,_]);return(0,o.useEffect)(function(){if(_)for(var e=function(e){var r=E.current[e];i()(a().mark(function t(){var n,i,l,o;return a().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=btoa(w(r)),i=""+g.x5.fetch+n+g.x5.json,t.next=6,fetch(i);case 6:if((l=t.sent).status.toString()[0]!==g.x5.four){t.next=11;break}return(0,u.qY)(r),t.abrupt("return");case 11:if(l.ok){t.next=13;break}throw Error("HTTP error! status: ".concat(l.status));case 13:return t.next=15,l.json();case 15:o=t.sent,D(function(r){var t=r.slice();return t[e]=o,t}),t.next=22;break;case 19:t.prev=19,t.t0=t.catch(0),console.error("Failed to load recently viewed product:",r,t.t0);case 22:case"end":return t.stop()}},t,null,[[0,19]])}))()},r=0;r<E.current.length;r++)e(r)},[_]),(0,v.jsx)(v.Fragment,{children:C&&P.length>0&&(0,v.jsx)("div",{className:U.join(" "),id:A,children:(0,v.jsxs)("div",{className:"ob-recently-viewed-block-wrapper",children:[!!R&&(0,v.jsx)(h,{tag:g.x5.titleLevel,className:"ob-recently-viewed-block__heading",children:R}),(0,v.jsxs)("div",{className:"ob-recently-viewed-block__product-grid-wrapper",children:[(0,v.jsx)(p.Y,{onEnter:function(){N(!0)}}),(0,v.jsx)(c.default,{seeMoreProductsText:Y,seeLessProductsText:L,products:P,isRecentlyViewed:!0,isCarrousel:!0,onClickCallback:e.onClickCallback})]})]})})})}},13958:(e,r,t)=>{"use strict";t.d(r,{A:()=>v});var n=t(83095),i=t.n(n),l=t(57327),a=t.n(l);t(14232);var o=t(54587),c=t.n(o),u=t(77328),s=t.n(u),f=t(37876),d=["src","alt","className","width","height","loading","fetchPriority","isBanner","fill","preload","style"];function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function g(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?p(Object(t),!0).forEach(function(r){i()(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}let v=function(e){var r=e.src,t=e.alt,n=e.className,i=e.width,l=e.height,o=e.loading,u=e.fetchPriority,p=e.isBanner,v=void 0!==p&&p,h=e.fill,y=e.preload,b=e.style,m=a()(e,d);return r?(0,f.jsxs)(f.Fragment,{children:[(null!=y?y:v)&&(0,f.jsx)(s(),{children:(0,f.jsx)("link",{rel:"preload",href:r,as:"image",fetchPriority:"high"})}),(0,f.jsx)(c(),g(g({src:r,alt:void 0===t?"":t,className:n},h?{fill:!0}:{width:i,height:l}),{},{style:b,loading:null!=o?o:v?"eager":"lazy",unoptimized:!0,fetchPriority:null!=u?u:v?"high":void 0},m))]}):null}},24504:e=>{var r={"&":"&","<":"<",">":">",'"':'"',"'":"'"},t=/[&"'<>]/g;e.exports={customJsonstringify:function(e){if(!e)return e;var n=JSON.stringify(e);return n?n.replace(t,function(e){return r[e]}):n},standardizePath:function(e){if("string"==typeof e)return e.replace(/\/{1,}/g,"/").replace(/\/{1,}$/g,"")}}},45120:(e,r,t)=>{"use strict";t.d(r,{PI:()=>s,d$:()=>f,qY:()=>d});var n=t(75236),i=t.n(n),l=t(82008),a=t(47280),o=t(84611);function c(e,r){for(var t=0;t<e.length;t++)if(e[t].id===r)return t}function u(e){return e.filter(function(e){return new Date(e.expiral).getTime()>
1new Date().getTime()})}function s(e){if("u">typeof localStorage&&localStorage.setItem){var r=f(),t=r.slice(),n=c(r,e);void 0!==n&&t.splice(n,1);var s=u(t),d=(0,a.$1)([{id:e,expiral:new Date().getTime()+2592e6}].concat(i()(s)),3);localStorage.setItem(l.rS.RECENTLY_VIEWED_PRODUCTS,(0,o.jd)(d))}}function f(){if("u">typeof localStorage&&localStorage.getItem){var e=localStorage.getItem(l.rS.RECENTLY_VIEWED_PRODUCTS);if(null!==e)try{var r=JSON.parse(e);if(!function(e){if(!Array.isArray(e))return!1;for(var r=0;r<e.length;r++){var t=e[r];if(!t||!t.hasOwnProperty("id")||!t.hasOwnProperty("expiral")||"string"!=typeof t.id||"number"!=typeof t.expiral)return!1}return!0}(r))return[];return u(r)}catch(e){}}return[]}function d(e){if("u">typeof localStorage&&localStorage.setItem){var r=f(),t=r.slice(),n=c(r,e);void 0!==n&&t.splice(n,1);var i=u(t);localStorage.setItem(l.rS.RECENTLY_VIEWED_PRODUCTS,(0,o.jd)(i))}}},47280:(e,r,t)=>{"use strict";function n(e,r){if(!Array.isArray(e)||0===e.length||!Number.isInteger(r)||0===r)return[];for(var t=[],n=[],i=0;i<e.length;i++)n.push(e[i]),(i+1)%r==0&&(t.push(n),n=[]);return n.length>0&&t.push(n),t}function i(e){if(Array.isArray(e)){for(var r=void 0,t=0;t<e.length;t++){var n=e[t];"number"==typeof n&&(void 0===r||n<r)&&(r=n)}return r}}function l(e,r){return!Array.isArray(e)||r<=0?[]:r>=e.length?e.slice():e.slice(0,r)}function a(e){var r=!1;return e&&e instanceof Date?r=new Date>e:e&&(r=new Date>new Date(e)),r}function o(e){return!!e&&e.constructor===Object}function c(e,r){if(Array.isArray(e)&&"function"==typeof r){for(var t=0;t<e.length;t++)if(r(e[t]))return t}}function u(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function s(e,r,t){return(null==e?void 0:e.slice(0,r))+((null==e?void 0:e.length)>r&&t?"...":"")}t.d(r,{$1:()=>l,Bp:()=>i,FT:()=>s,Gv:()=>o,SL:()=>c,ZD:()=>u,d8:()=>a,iv:()=>n})},82008:(e,r,t)=>{"use strict";t.d(r,{G5:()=>i,cH:()=>a,kV:()=>l,rS:()=>n});var n={RECENTLY_VIEWED_PRODUCTS:"RECENTLY_VIEWED_PRODUCTS"};function i(e){return localStorage.removeItem(e)}function l(e){return localStorage.getItem(e)}function a(e,r){return localStorage.setItem(e,r)}}}]);

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.