PageSourceSearch

https://www.diamondstandard.co/_next/static/chunks/237.24b4165e0956db27.js

js diamondstandard.co collected 2026-09-29 07:26:57 UTC 10,730 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[237],{11502:function(e,t,r){"use strict";var n=r(26042),o=r(69396),i=r(99534),a=r(828),s=r(85893),c=r(67294),l=r(82471),d=r.n(l),u=r(86010),p=function(e){var t=e.children,r=e.text,l=e.textStyles,p=e.arrowDown,h=(0,i.Z)(e,["children","text","textStyles","arrowDown"]),_=(0,a.Z)(c.useState(!1),2),m=_[0],f=_[1];return(0,s.jsxs)("div",{className:d().tooltipContainer,children:[(0,s.jsxs)("div",{className:m?(0,u.Z)(d().tooltipBox,d().visible,l):(0,u.Z)(d().tooltipBox,l),children:[r,(0,s.jsx)("span",{className:p?d().tooltipArrowDown:d().tooltipArrow})]}),(0,s.jsx)("div",(0,o.Z)((0,n.Z)({onMouseEnter:function(){return f(!0)},onMouseLeave:function(){return f(!1)}},h),{children:t}))]})};t.Z=p},40237:function(e,t,r){"use strict";r.r(t),r.d(t,{Hero:function(){return x}});var n=r(828),o=r(85893),i=r(67294),a=r(82696),s=r.n(a),c=r(87290),l=r(86010),d=r(61608),u=r.n(d),p=r(17857),h=r(73380),_=r.n(h),m=r(56002),f=r(11502),x=function(e){var t=e.products,r=(0,n.Z)(i.useState(),2),a=r[0],d=r[1],h=(0,n.Z)(i.useState(!1),2),x=h[0],j=h[1];(0,i.useEffect)(function(){(0,m.f)().then(function(e){j(!1),d(e)})},[]),t=t?t.sort(function(e,t){return e.price.localeCompare(t.price)}):null;var b=function(e){return function(){var t;null===(t=document.getElementById("".concat(e)))||void 0===t||t.scrollIntoView({block:"center",behavior:"smooth"})}},g=function(e,t){var r,n,o=e*(null!==(r=null==a?void 0:a.unitPrice)&&void 0!==r?r:1),i=null!==(n=null==a?void 0:a.currency)&&void 0!==n?n:"USD",s="string"==typeof o?parseFloat(o):o,c=null==s?void 0:s.toLocaleString("en-US",{style:t,minimumFractionDigits:2,currency:i});return{formatted:c.slice(1,c.length).replace(/,/g,""),currency:c[0]}},w={CARAT:(0,o.jsx)("div",{children:(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:"Issued from Diamond Standard commodities"}),(0,o.jsx)("li",{children:"Exchange from Diamond Standard Coins and Bars instantly."}),(0,o.jsx)("li",{children:"Free transaction"})]})}),BCC:(0,o.jsx)("div",{children:(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:"Contains 0.18 to 0.75 carat stones in a 35mm diameter transparent Coin"}),(0,o.jsxs)("li",{children:["Buy and sell on the ",(0,o.jsx)("a",{href:!0,children:"Spot Market"})]}),(0,o.jsx)("li",{children:"All diamonds independently graded by GIA"})]})}),BCB:(0,o.jsx)("div",{children:(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:"Contains 0.76 to 2.05 carats stones in a 70mm by 35mm transparent Bar"}),(0,o.jsx)("li",{children:"Valued at 10 times the market price of a Coin"}),(0,o.jsx)("li",{children:"Lowest commodity custody fees"})]})})};return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:(0,l.Z)(s().container),children:(0,o.jsxs)("div",{className:s().wrapper,children:[(0,o.jsxs)("div",{className:s().content,children:[(0,o.jsxs)("h1",{children:[(0,o.jsx)("span",{className:s().textClip,children:"The World's 1st"}),(0,o.jsx)("br",{}),(0,o.jsx)("span",{className:s().textClip,children:"Regulated Diamond"}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{className:s().flex,children:(0,o.jsx)("span",{className:s().textClip,children:"Commodities"})})]}),x?(0,o.jsx)("div",{children:(0,o.jsx)(_(),{color:"#fff",size:25})}):(0,o.jsx)("div",{className:s().productFlex,children:(null==t?void 0:t.length)&&t.map(function(e,t){var r=e.price,n=e.short_title,i=e.symbol,a=g(r,"currency"),c=a.formatted,d=a.currency;return(0,o.jsxs)("div",{className:(0,l.Z)(s().product,0!==t&&s().border),children:[(0,o.jsxs)("p",{className:s().numberDesc,children:[n.toUpperCase(),(0,o.jsx)(f.Z,{className:(0,l.Z)(s().tooltip),textStyles:s().tooltipText,text:w[i.toUpperCase()],children:(0,o.jsx)(v,{})})]}),(0,o.jsx)(p.ZP,{end:c,start:.4,className:s().countNumber,duration:4,prefix:d,decimals:2,decimal:"."})]},t)})}),(0,o.jsx)("div",{className:s().buttonWrapper,children:(0,o.jsx)(c.z,{onClick:b("how-to-invest"),children:"Ready to Invest"})}),(0,o.jsx)("div",{className:s().linkWrapper,children:(0,o.jsx)("a",{className:s().linkButton,href:"/institutional",children:"Institutional Investor? Click here"})})]}),(0,o.jsx)("div",{className:s().right,children:(0,o.jsxs)("div",{className:s().imageWrapper,children:[(0,o.jsx)("a",{href:"https://docsend.com/view/f9figfcw9z3g3ji4",target:"_blank",className:s().imageHyperlink,children:(0,o.jsx)(u(),{src:"/images/business-world/bw-article.png",priority:!0,width:375,height:512,className:s().image,alt:"article"})}),(0,o.jsx)("a",{target:"_blank",className:s().readMoreBtn,href:"https://docsend.com/view/f9figfcw9z3g3ji4",children:"Read The Article"})]})}),(0,o.jsx)("div",{className:s().lastContainer,children:(0,o.jsxs)("div",{className:s().buttonWrapperMobile,children:[(0,o.jsx)(c.z,{onClick:b("how-to-invest"),children:"Ready to Invest"}),(0,o.jsx)("div",{className:s().linkWrapper,children:(0,o.jsx)("a",{className:s().linkButton,href:"/institutional",children:"Institutional Investor? Click here"})})]})})]})})})},v=function(){return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",children:[(0,o.jsx)("circle",{cx:"11",cy:"10.5",r:"10",stroke:"white"}),(0,o.jsx)("rect",{x:"9",y:"9.5",width:"4",height:"8",rx:"2",stroke:"white"}),(0,o.jsx)("rect",{x:"9",y:"3.5",width:"4",height:"4",rx:"2",stroke:"white"})]})}},87290:function(e,t,r){"use strict";r.d(t,{z:function(){return a}});var n=r(85893);r(67294);var o=r(75547),i=r.n(o),a=function(e){var t=e.children,r=e.onClick;return(0,n.jsxs)("button",{className:i().button,onClick:r,children:[(0,n.jsx)("div",{className:i().content,children:(0,n.jsx)("div",{children:t})}),(0,n.jsx)("div",{className:i().background})]})}},56002:function(e,t,r){"use strict";r.d(t,{f:function(){return i}});var n=r(47568),o=r(70655);function i(){return a.apply(this,arguments)}function a(){return(a=(0,n.Z)(function(){return(0,o.__generator)(this,function(e){return[2,fetch("".concat("https://api.blink64.cc","/api/v1/ip/exchange-rate"),{method:"GET",headers:{"Content-Type":"application/json"},mode:"cors"}).then(function(e){return e.json()}).catch(function(e){return console.error("getProducts error = ",e)})]})})).apply(this,arguments)}},82471:function(e){e.exports={"text-center":"Tooltip_text-center__rFKvY",tooltipContainer:"Tooltip_tooltipContainer__PmftH",tooltipBox:"Tooltip_tooltipBox__svNNo",visible:"Tooltip_visible__Mvmqe",tooltipArrow:"Tooltip_tooltipArrow__DU3bK",tooltipArrowDown:"Tooltip_tooltipArrowDown__N_UMl"}},82696:function(e){e.exports={"text-center":"Hero_text-center__LArtw",container:"Hero_container__zLMoq",wrapper:"Hero_wrapper___L7tu",lastContainer:"Hero_lastContainer__oNemM",tooltipText:"Hero_tooltipText__MJCAK",image:"Hero_image__AX4N2",content:"Hero_content__kajdM",productFlex:"Hero_productFlex__a3vsQ",product:"Hero_product__QU_fu",border:"Hero_border__wsfS7",numberDesc:"Hero_numberDesc__mN_Ui",countNumber:"Hero_countNumber__9Uum4",buttonWrapper:"Hero_buttonWrapper__lK0iG",button:"Hero_button__pz7lv",linkWrapper:"Hero_linkWrapper__3MqmY",linkButton:"Hero_linkButton__fTzo7",flex:"Hero_flex__zhTfk",availableIn:"Hero_availableIn__qHLrh",flagIcon:"Hero_flagIcon__l81yN",buttonWrapperMobile:"Hero_buttonWrapperMobile__rV4TX",right:"Hero_right__d3glI",imageWrapper:"Hero_imageWrapper__YZKaV",readMoreBtn:"Hero_readMoreBtn__Ux3qn",textClip:"Hero_textClip__ypXzc",marquee:"Hero_marquee__gxFGR"}},75547:function(e){e.exports={button:"Button_button__mq5qF",content:"Button_content__p1Pw2",background:"Button_background__l_nYi"}},73380:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);
1(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};Object.defineProperty(t,"__esModule",{value:!0});var c=a(r(67294)),l=r(96657),d=(0,r(60010).createAnimation)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");t.default=function(e){var t=e.loading,r=e.color,o=void 0===r?"#000000":r,i=e.speedMultiplier,a=e.cssOverride,u=e.size,p=void 0===u?35:u,h=s(e,["loading","color","speedMultiplier","cssOverride","size"]),_=n({background:"transparent !important",width:(0,l.cssValue)(p),height:(0,l.cssValue)(p),borderRadius:"100%",border:"2px solid",borderTopColor:o,borderBottomColor:"transparent",borderLeftColor:o,borderRightColor:o,display:"inline-block",animation:"".concat(d," ").concat(.75/(void 0===i?1:i),"s 0s infinite linear"),animationFillMode:"both"},void 0===a?{}:a);return void 0===t||t?c.createElement("span",n({style:_},h)):null}},60010:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0;var r=function(e,t,r){var n="react-spinners-".concat(e,"-").concat(r);if("undefined"==typeof window||!window.document)return n;var o=document.createElement("style");document.head.appendChild(o);var i=o.sheet,a="\n    @keyframes ".concat(n," {\n      ").concat(t,"\n    }\n  ");return i&&i.insertRule(a,0),n};t.createAnimation=r},96657:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var r={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function n(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var o=(e.match(/[^0-9]*$/)||"").toString();return r[o]?{value:t,unit:o}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=n,t.cssValue=function(e){var t=n(e);return"".concat(t.value).concat(t.unit)}}}]);

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.