PageSourceSearch

https://wpshop.io/wp-content/plugins/shopwp-pro/dist/reactPlayerPreview.0a3d141a5ff875e7aae8.js

js wpshop.io collected 2026-10-02 02:31:17 UTC 1,658 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["reactPlayerPreview"],{
vendor: 1,557 bytes, line 1
1"./node_modules/react-player/dist/Preview.js":(e,r,t)=>{t.r(r),t.d(r,{default:()=>n});var a=t("react");const l="64px",i={};var n=({src:e,light:r,oEmbedUrl:t,onClickPreview:n,playIcon:s,previewTabIndex:o,previewAriaLabel:c})=>{const[d,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{e&&r&&t&&u({src:e,light:r,oEmbedUrl:t})}),[e,r,t]);const u=async({src:e,light:r,oEmbedUrl:t})=>{if(a.isValidElement(r))return;if("string"==typeof r)return void p(r);if(i[e])return void p(i[e]);p(null);const l=await fetch(t.replace("{url}",e)),n=await l.json();if(n.thumbnail_url){const r=n.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");p(r),i[e]=r}},h=a.isValidElement(r),b={display:"flex",alignItems:"center",justifyContent:"center"},w={preview:{width:"100%",height:"100%",backgroundImage:d&&!h?`url(${d})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...b},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:l,width:l,height:l,position:h?"absolute":void 0,...b},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},y=a.createElement("div",{style:w.shadow,className:"react-player__shadow"},a.createElement("div",{style:w.playIcon,className:"react-player__play-icon"}));return a.createElement("div",{style:w.preview,className:"react-player__preview",tabIndex:o,onClick:e=>{null==n||n(e)},onKeyPress:e=>{"Enter"!==e.key&&" "!==e.key||null==n||n(e)},...c?{"aria-label":c}:{}},h?r:null,s||y)}}
1}]);

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.