PageSourceSearch

https://static.ranker.com/_next/static/chunks/2947.b6cc30c2b81366a5.js

js ranker.com collected 2026-09-24 08:28:21 UTC 3,944 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2947],{52947:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var a=r(85893),i=r(67294),n=r(45697),l=r.n(n),o=r(91157),c=r.n(o),u=r(32178),m=r(22100);let d=(e,t)=>{let r;if(e&&t){let a=document.createElement("a");a.className="rankerList__captionLink",a.href=t,a.rel="nofollow",a.target="_blank",a.textContent=e,r=a}else r=document.createTextNode(e);return r},s=e=>{let t=document.createDocumentFragment();return e.authorName&&t.appendChild(d(e.authorName.replace(/%27/g,"'"),e.authorUrl?e.authorUrl:"")),(e.websiteName||e.licenseName)&&(e.authorName&&t.appendChild(document.createTextNode("/")),e.websiteName&&t.appendChild(d(e.websiteName.replace(/%27/g,"'"),e.imageSourceUrl?e.imageSourceUrl:"")),e.licenseName&&(e.websiteName&&t.appendChild(document.createTextNode("/")),t.appendChild(d(e.licenseName,e.licenseUrl?e.licenseUrl:"")))),t},p=(e,t,r)=>{var a;if(!e)return;t=t||{},r=r||{};let i=(null===(a=m.NZ.current)||void 0===a?void 0:a.listData)||{},n="",l="",o=!1;e.attributionType===u.nn||e.attributionType===u.CW?t.openListItemContributor&&t.openListItemContributor.user&&t.openListItemContributor.user.id===t.image.userId&&"ADMIN"!==t.openListItemContributor.user.type&&e.attributionType!==u.CW&&(n="uploaded by ".concat(t.openListItemContributor.user.userAccount.userName),l="/profile-of/".concat(t.openListItemContributor.user.profile.url)):o=!0,e.attributionType!==u.xi||e.licenseName||e.authorName||e.websiteName||(o=!1),i.user&&"ADMIN"!==i.user.type&&void 0!==t.image&&t.image.userId===parseInt(i.user.id,10)&&e.attributionType!==u.CW&&(n="uploaded by ".concat(i.user.userNameD),l=i.user.profileUrl);let p=document.createDocumentFragment(),h=document.createComment("googleoff: all");p.appendChild(h);let g=document.createElement("figcaption");g.className=c().imgCaption,g.appendChild(document.createTextNode("Photo: ")),p.appendChild(g),o?g.appendChild(s(e)):g.appendChild(d(n,l));let _=document.createComment("googleoff: all");return(p.appendChild(_),"STRING"===r.format)?document.createElement("div").appendChild(p).innerHTML:p};var h=r(43948),g=r(82830);let _=e=>{let{list:t,articleImages:r,articleText:n}=e,l=(0,i.useRef)(null),o=(e,t)=>{let r=document.createElement("img");return r.className=c().articleImage,r.src="".concat(null==e?void 0:e.imgixUrl,"?w=").concat(t.width,"&h=auto&q=60"),r.width=t.width,"auto"!==t.height&&(r.height=t.height),r.setAttribute("alt",t.alt),r};return(0,i.useEffect)(()=>{if(!l.current)return()=>{};let e=window.document.getElementsByClassName("listArticle__imageHolder");if(!(null==e?void 0:e.length))return()=>{};Array.from(e).forEach((e,a)=>{if(e.getAttribute("image-loaded"))return()=>{};let i={};try{i=Object.fromEntries(new URLSearchParams(e.getAttribute("data-ive-options")||""))}catch(e){i={}}e.innerHTML="",e.style="none",e.setAttribute("image-loaded",!0),e.className="listArticle__imageHolder ".concat(c().imageContainer," ").concat(c()[i.float]),e.appendChild(o(r[a],i)),"undefined"!=typeof RList&&e.appendChild(p(r[a].attribution,t))})},[l]),(0,a.jsx)("section",{ref:l,className:c().main,dangerouslySetInnerHTML:{__html:n}})},C=[{useTrackedState:m.oP,mapStateToProps:e=>{let{pageData:t}=e;return{pageData:t}}}];_.propTypes={list:l().shape(g.YT).isRequired,articleImages:l().arrayOf(l().shape(g.Ov)).isRequired,articleText:l().string.isRequired};let f=(0,h.Z)({mapStateToProps:C,mergeProps:(e,t,r)=>{let{pageData:a}=e,{list:i,listArticle:{articleImages:n,articleText:l}={}}=a;return{...r,...t,list:i,articleImages:n,articleText:l}}})(_)},91157:e=>{e.exports={main:"article_main__rBbTk",imageContainer:"article_imageContainer__62xEm","edS-h2":"article_edS-h2__EKCGw","edS-h3":"article_edS-h3__R8TJP","edS-h4":"article_edS-h4__mZnn8",left:"article_left__mrGCV",right:"article_right__BJVJ0",articleImage:"article_articleImage__TZlPW",imgCaption:"article_imgCaption__MjH9B"}}}]);
2//# sourceMappingURL=2947.b6cc30c2b81366a5.js.map

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.