PageSourceSearch

https://bounty-kinds.com/_next/static/chunks/pages/Components/ViewNFT-e088d42428b0de3a.js

js bounty-kinds.com collected 2026-10-09 18:10:46 UTC 8,145 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20636],{34941:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/Components/ViewNFT",function(){return e(18983)}])},27286:function(n,t,e){"use strict";var i=e(67294);t.Z=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:768,t=(0,i.useState)(!1),e=t[0],o=t[1];return(0,i.useLayoutEffect)((function(){var t=!0,e=window.matchMedia("(max-width: ".concat(n,"px)")),i=function(){t&&o(!!e.matches)};return e.addEventListener("change",i),o(e.matches),function(){t=!1,e.removeEventListener("change",i)}}),[n]),{isMobile:e||!1}}},78782:function(n,t,e){"use strict";e.r(t);var i=e(26042),o=e(85893),r=e(67294);t.default=function(n){var t=n.expireTime,e=n.onTimeExpire,a=n.style,c=n.className,u=function(){var n=t-Date.now();return n>0?n:0},s=(0,r.useState)(u()),l=s[0],d=s[1];(0,r.useEffect)((function(){if(0!==l){var n=setInterval((function(){var n=u();d(n),0===n&&e&&e()}),1e3);return function(){return clearInterval(n)}}e&&e()}),[l,e]);return(0,o.jsx)("div",{className:c,style:(0,i.Z)({},a),children:function(n){var t=Math.floor(n/1e3),e=Math.floor(t/3600),i=Math.floor(t%3600/60),o=t%60;return"".concat(e.toString().padStart(2,"0"),":").concat(i.toString().padStart(2,"0"),":").concat(o.toString().padStart(2,"0"))}(l)})}},93558:function(n,t,e){"use strict";e.r(t),e.d(t,{MediumText:function(){return j},NormalText:function(){return z},TitleText:function(){return b},default:function(){return P}});var i=e(7297),o=e(85893),r=e(57833);function a(){var n=(0,i.Z)(["\n  font-size: ",";\n  color: ",";\n  font-weight: ",";\n  text-transform: ",";\n  @media screen and (max-width: 768px) {\n    font-size: ",";\n  }\n"]);return a=function(){return n},n}function c(){var n=(0,i.Z)(["\n  font-size: ",";\n  color: ",";\n  font-weight: ",";\n  text-transform: ",";\n  @media screen and (max-width: 768px) {\n    font-size: ",";\n  }\n  opacity: "," !important;\n"]);return c=function(){return n},n}function u(){var n=(0,i.Z)(["\n  font-size: ",";\n  color: ",";\n  font-weight: ",";\n  text-transform: ",";\n  @media screen and (max-width: 768px) {\n    font-size: ",";\n  }\n  opacity: "," !important;\n"]);return u=function(){return n},n}var s,l,d,f,p,v,h,m,x,g,w,y,F,T,Z=["size","color","fontWeight","textTransform","opacity","opacitySize"],_=function(n){return!Z.includes(n)},b=r.ZP.div.withConfig({shouldForwardProp:_}).withConfig({componentId:"sc-3b571763-0"})(a(),(function(n){return"".concat(null!==(s=n.size)&&void 0!==s?s:24,"px")}),(function(n){return null!==(l=n.color)&&void 0!==l?l:"#FFFFFF"}),(function(n){return null!==(d=n.fontWeight)&&void 0!==d?d:"500px"}),(function(n){return n.textTransform?"uppercase":"none"}),(function(n){return"".concat(null!==(f=n.size)&&void 0!==f?f:24,"px")})),j=r.ZP.div.withConfig({shouldForwardProp:_}).withConfig({componentId:"sc-3b571763-1"})(c(),(function(n){return"".concat(null!==(p=n.size)&&void 0!==p?p:16,"px")}),(function(n){return null!==(v=n.color)&&void 0!==v?v:"#FFFFFF"}),(function(n){return null!==(h=n.fontWeight)&&void 0!==h?h:300}),(function(n){return n.textTransform?"uppercase":"none"}),(function(n){return"".concat(null!==(m=n.size)&&void 0!==m?m:16,"px")}),(function(n){return n.opacity?.7:null!==(x=n.opacitySize)&&void 0!==x?x:1})),z=r.ZP.div.withConfig({shouldForwardProp:_}).withConfig({componentId:"sc-3b571763-2"})(u(),(function(n){return"".concat(null!==(g=n.size)&&void 0!==g?g:13,"px")}),(function(n){return null!==(w=n.color)&&void 0!==w?w:"#FFFFFF"}),(function(n){return null!==(y=n.fontWeight)&&void 0!==y?y:300}),(function(n){return n.textTransform?"uppercase":"none"}),(function(n){return"".concat(null!==(F=n.size)&&void 0!==F?F:12,"px")}),(function(n){return n.opacity?.7:null!==(T=n.opacitySize)&&void 0!==T?T:1}));function P(){return(0,o.jsx)(o.Fragment,{})}},18983:function(n,t,e){"use strict";e.r(t),e.d(t,{ImageWrapper:function(){return y}});var i=e(26042),o=e(7297),r=e(85893),a=e(85781),c=e(67294),u=e(57833),s=e(3896),l=e(27286),d=e(91067),f=e(78782),p=e(47208);function v(){var n=(0,o.Z)(["\n  height: 100%;\n  width: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  position: relative;\n  flex-flow: column wrap;\n  border-radius: 16px;\n"]);return v=function(){return n},n}function h(){var n=(0,o.Z)(["\n  width: 101%;\n  height: 100%;\n  position: absolute;\n  /* min-height: 320px; */\n  object-fit: contain;\n  z-index: 2;\n  user-select: none;\n"]);return h=function(){return n},n}function m(){var n=(0,o.Z)(["\n  overflow: hidden;\n  position:absolute;\n  top: 7px;\n  right: 0;\n  width: 31%;\n  height: 6%;\n  user-select: none;\n"]);return m=function(){return n},n}function x(){var n=(0,o.Z)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  text-align: center;\n  display: flex;\n  width: 100%;\n  height: 100%;\n  flex-flow: column wrap;\n  min-height: 350px;\n  justify-content: space-around;\n"]);return x=function(){return n},n}function g(){var n=(0,o.Z)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  @media screen and (max-width: 768px) {\n    padding: 30px;\n  }\n  @media screen and (max-width: 568px) {\n    padding: 15px;\n  }\n"]);return g=function(){return n},n}function w(){var n=(0,o.Z)(["\n  width: 100%; \n"]);return w=function(){return n},n}t.default=function(n){var t,e,o=n.nftDetails,u=(n.status,n.isMarketPlace,n.noNFT,n.isBorder,n.isExpiredItem),v=void 0!==u&&u,h=n.onTimeExpire,m=(0,l.Z)(568).isMobile,x=(0,c.useRef)(null),g=(0,c.useRef)(null);(0,c.useEffect)((function(){setTimeout((function(){x.current&&(g.current=x.current)}),300)}),[]);var w=(0,c.useMemo)((function(){var n;return(null===o||void 0===o?void 0:o.type)!==s.fO.character&&((null===o||void 0===o||null===(n=o.attributes)||void 0===n?void 0:n.type)!==s.fO.character&&!(null===o||void 0===o?void 0:o.level))}),[]),j=(null===o||void 0===o?void 0:o.type)===s.fO.character||(null===o||void 0===o||null===(t=o.attributes)||void 0===t?void 0:t.type)===s.fO.character||!!(null===o||void 0===o?void 0:o.character)||!!(null===o||void 0===o||null===(e=o.attributes)||void 0===e?void 0:e.character),z=(0,p.FL)(null===o||void 0===o?void 0:o.image,j?2:1),P="string"===typeof z&&z.startsWith("http")?z:a.W.avatarDefault,C="polygon(94% 2%, 100% 8%, 100% 100%, 5% 100%, 0px 95%, 0px 2%)";return(0,r.jsx)(y,{children:(0,r.jsx)(Z,{ref:x,children:(0,r.jsxs)(_,{className:"relative",style:{width:m?"100%":"80%",lineHeight:1},children:[w&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F,{className:"animation__transformTop",style:{filter:v?"grayscale(100%)":"none",overflow:"hidden"},src:a.W.borderItem}),o.expireDate&&!v&&(0,r.jsx)(T,{className:"animation__transformTop",style:{zIndex:999,filter:v?"grayscale(100%)":"none"},src:a.W.timeContainer})]}),o.expireDate&&!v&&(0,r.jsx)(f.default,{className:"animation__transformTop",style:{zIndex:999,color:"#00FFE0",fontSize:m?"12px":"16px",fontWeight:"bold",position:"absolute",top:"3%",right:"7%"},expireTime:new Date(o.expireDate).getTime(),onTimeExpire:h}),v&&(0,r.jsx)(d.ExpiredDetailContainer,{className:"animation__transformTop",children:(0,r.jsx)("span",{children:"Expired"})}),(null===o||void 0===o?void 0:o.video)?(0,r.jsx)("video",{style:{filter:v?"grayscale(100%)":"none",width:"100%",clipPath:w?C:void 0,aspectRatio:"1 / 1",objectFit:"fill"}
1,muted:!0,autoPlay:!0,playsInline:!0,loop:!0,src:null===o||void 0===o?void 0:o.video,poster:P}):(0,r.jsx)(b,{className:"animation__transformTop",src:P,style:w?(0,i.Z)({filter:v?"grayscale(100%)":"none",aspectRatio:"1 / 1",objectFit:"contain",clipPath:C},s.Ox.includes(null===o||void 0===o?void 0:o.baseKey)&&{padding:"25px"}):{}})]})})})};var y=u.ZP.div.withConfig({componentId:"sc-7d0d5d79-0"})(v()),F=u.ZP.img.withConfig({componentId:"sc-7d0d5d79-1"})(h()),T=u.ZP.img.withConfig({componentId:"sc-7d0d5d79-2"})(m()),Z=u.ZP.div.withConfig({componentId:"sc-7d0d5d79-3"})(x()),_=u.ZP.div.withConfig({componentId:"sc-7d0d5d79-4"})(g()),b=u.ZP.img.withConfig({componentId:"sc-7d0d5d79-5"})(w())}},function(n){n.O(0,[25991,31795,91067,49774,92888,40179],(function(){return t=34941,n(n.s=t);var t}));var t=n.O();_N_E=t}]);

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.