PageSourceSearch

https://rankia.fr/_next/static/chunks/8540.d15323718866c458.js

js rankia.fr collected 2026-10-08 02:51:08 UTC 2,556 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="09e44f72-551b-40a4-9bbb-b982d604db53",e._sentryDebugIdIdentifier="sentry-dbid-09e44f72-551b-40a4-9bbb-b982d604db53")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8540],{78540:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return p}});var t=n(52322),l=n(2784),r=n(31034),d=n(58160),i=n(25735),u=n(67777),s=n.n(u);let o=e=>{if(!e)return[];try{let a=JSON.parse(e);return Array.isArray(a)?a:[]}catch(e){return[]}};function p(e){var a;let{attributes:n,innerBlocks:u,stockQuotes:p,clientId:b}=e,c=(0,l.useId)(),f=(0,l.useMemo)(()=>{let e=(null!=u?u:[]).filter(e=>{var a;return(null==e?void 0:e.__typename)==="RnkTabPanel"&&!!(null===(a=e.attributes)||void 0===a?void 0:a.paneId)}),a=new Map(e.map(e=>[e.attributes.paneId,e])),t=o(null==n?void 0:n.panes);return(t.length>0?t:e.map(e=>({paneId:e.attributes.paneId,title:e.attributes.paneTitle,isDefault:e.attributes.isDefault}))).filter(e=>!!(null==e?void 0:e.paneId)).map(e=>{var n;return{paneId:e.paneId,title:e.title||(null===(n=a.get(e.paneId))||void 0===n?void 0:n.attributes.paneTitle)||"",isDefault:!!e.isDefault,panel:a.get(e.paneId)}})},[null==n?void 0:n.panes,u]),v=(0,l.useMemo)(()=>{var e,a,n;return null!==(n=null===(e=null!==(a=f.find(e=>e.isDefault))&&void 0!==a?a:f[0])||void 0===e?void 0:e.paneId)&&void 0!==n?n:""},[f]),[I,y]=(0,l.useState)(v);(0,l.useEffect)(()=>{try{let e=decodeURIComponent(window.location.hash.replace(/^#/,""));e&&f.some(a=>a.paneId===e)&&y(e)}catch(e){}},[f]);let _=(0,r.FC)("retails-next","fr");if(0===f.length)return null;let h=f.map(e=>({value:e.paneId,label:e.title}));return(0,t.jsxs)("div",{className:s().wrapper,"data-cy":"tabs-block",children:[(0,t.jsx)(i.Z,{id:b?"".concat(b,"-tabs"):"".concat(c,"-tabs"),options:h,value:I,onChange:y,ariaLabel:(null==_?void 0:null===(a=_.global)||void 0===a?void 0:a.index)||"Index",variant:"transparent",dataCy:"tabs-dropdown"}),f.map(e=>{var a,n;return(0,t.jsx)("div",{role:"region","data-cy":"tab-panel",id:"".concat(e.paneId,"-panel"),"aria-label":e.title,hidden:e.paneId!==I,className:s().panel,children:(null!==(n=null===(a=e.panel)||void 0===a?void 0:a.innerBlocks)&&void 0!==n?n:[]).map(e=>e?(0,t.jsx)(d.Z,{blockData:e,stockQuotes:p},e.clientId):null)},e.paneId)})]})}},67777:function(e){e.exports={wrapper:"TabsBlock_wrapper__j9k2r",panel:"TabsBlock_panel__CQyIp"}}}]);

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.