1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="74713df1-0a7e-42a9-9642-c510a7cefb97",e._sentryDebugIdIdentifier="sentry-dbid-74713df1-0a7e-42a9-9642-c510a7cefb97")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20792],{6654:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return i}});let a=t(12115);function i(e,n){let t=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,a.useCallback)(a=>{if(null===a){let e=t.current;e&&(t.current=null,e());let n=i.current;n&&(i.current=null,n())}else e&&(t.current=r(e,a)),n&&(i.current=r(n,a))},[e,n])}function r(e,n){if("function"!=typeof e)return e.current=n,()=>{e.current=null};{let t=e(n);return"function"==typeof t?t:()=>e(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},6874:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return _}});let a=t(88229),i=t(95155),r=a._(t(12115)),o=t(82757),d=t(95227),l=t(69818),s=t(6654),c=t(69991),u=t(85929);t(43230);let f=t(24930);function m(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}let _=r.default.forwardRef(function(e,n){let t,a,{href:o,as:_,children:h,prefetch:p=null,passHref:v,replace:g,shallow:b,scroll:x,onClick:y,onMouseEnter:j,onTouchStart:k,legacyBehavior:w=!1,...N}=e;t=h,w&&("string"==typeof t||"number"==typeof t)&&(t=(0,i.jsx)("a",{children:t}));let C=r.default.useContext(d.AppRouterContext),P=!1!==p,S=null===p?l.PrefetchKind.AUTO:l.PrefetchKind.FULL,{href:M,as:T}=r.default.useMemo(()=>{let e=m(o);return{href:e,as:_?m(_):e}},[o,_]);w&&(a=r.default.Children.only(t));let I=w?a&&"object"==typeof a&&a.ref:n,E=r.default.useCallback(e=>(P&&null!==C&&(0,f.mountLinkInstance)(e,M,C,S),()=>{(0,f.unmountLinkInstance)(e)}),[P,M,C,S]),O={ref:(0,s.useMergedRef)(E,I),onClick(e){w||"function"!=typeof y||y(e),w&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e),C&&(e.defaultPrevented||function(e,n,t,a,i,o,d){let{nodeName:l}=e.currentTarget;!("A"===l.toUpperCase()&&function(e){let n=e.currentTarget.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e))&&(e.preventDefault(),r.default.startTransition(()=>{let e=null==d||d;"beforePopState"in n?n[i?"replace":"push"](t,a,{shallow:o,scroll:e}):n[i?"replace":"push"](a||t,{scroll:e})}))}(e,C,M,T,g,b,x))},onMouseEnter(e){w||"function"!=typeof j||j(e),w&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),C&&P&&(0,f.onNavigationIntent)(e.currentTarget)},onTouchStart:function(e){w||"function"!=typeof k||k(e),w&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),C&&P&&(0,f.onNavigationIntent)(e.currentTarget)}};return(0,c.isAbsoluteUrl)(T)?O.href=T:w&&!v&&("a"!==a.type||"href"in a.props)||(O.href=(0,u.addBasePath)(T)),w?r.default.cloneElement(a,O):(0,i.jsx)("a",{...N,...O,children:t})});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},20792:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var a=t(95155),i=t(12115),r=t(6874),o=t.n(r),d=t(86142),l=t.n(d);let s=e=>{let{tag:n,title:t,description:r,diamonds:d=[],baseUrl:s="/diamond"}=e,[c,u]=(0,i.useState)(0),[f,m]=(0,i.useState)(!1),_=(0,i.useCallback)(e=>{0===d.length||f||(m(!0),u(n=>"next"===e?(n+1)%d.length:(n-1+d.length)%d.length),setTimeout(()=>m(!1),500))},[d.length,f]);(0,i.useEffect)(()=>{if(0===d.length)return;let e=setInterval(()=>_("next"),5e3);return()=>clearInterval(e)},[_,d.length]);let h=e=>e.toLowerCase().replace(/\s+/g,"-");if(!d||0===d.length)return null;let p=d[c],v=(()=>{let e=d.length,n=[];for(let t=2;t>0;t--){let a=(c-t+e)%e;n.push({...d[a],position:"left",offset:t})}for(let t=1;t<=2;t++){let a=(c+t)%e;n.push({...d[a],position:"right",offset:t})}return n})();return(0,a.jsx)("section",{className:l()["diamond-banner"],children:(0,a.jsxs)("div",{className:"container-fluid",children:[(0,a.jsxs)("div",{className:l().header,children:[n&&(0,a.jsx)("h2",{className:"h2 fw-bold mb-2",children:n}),(0,a.jsx)("span",{className:l().title,children:t}),r&&(0,a.jsx)("p",{className:l().description,children:r})]}),(0,a.jsx)("div",{className:l()["diamond-showcase"],children:(0,a.jsxs)("div",{className:l()["diamonds-container"],children:[v.map((e,n)=>(0,a.jsx)("div",{className:"".concat(l()["side-diamond"]," ").concat(l()["side-diamond--".concat(e.position)]," ").concat(l()["side-diamond--".concat(e.position,"-").concat(e.offset)]),children:(0,a.jsx)(o(),{href:"/engagement-ring/diamond?flow=diamond-first&diamondShape=".concat(h(e.name)),className:l()["side-diamond-link"],children:(0,a.jsx)("img",{src:e.icon||e.image,alt:e.name,className:l()["side-diamond-image"]})})},"".concat(e.id,"-").concat(n))),(0,a.jsx)("div",{className:"".concat(l()["center-diamond-background"]," ").concat(f?l()["center-diamond-background--transitioning"]:""),children:(0,a.jsxs)("div",{className:"".concat(l()["center-diamond"]," ").concat(f?l()["center-diamond--transitioning"]:""),children:[(0,a.jsx)("button",{onClick:()=>_("prev"),className:"".concat(l()["nav-arrow"]," ").concat(l()["nav-arrow--left"]),disabled:f,"aria-label":"Previous diamond",children:(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,a.jsx)("polyline",{points:"15,18 9,12 15,6"})})}),(0,a.jsx)("div",{children:(0,a.jsx)(o(),{href:"/engagement-ring/diamond?flow=diamond-first&diamondShape=".concat(h(p.name)),className:l()["center-diamond-link"],children:(0,a.jsx)("img",{src:p.icon||p.image,alt:p.name+" Diamond",className:l()["center-diamond-image"]})})}),(0,a.jsx)("button",{onClick:()=>_("next"),className:"".concat(l()["nav-arrow"]," ").concat(l()["nav-arrow--right"]),disabled:f,"aria-label":"Next diamond",children:(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,a.jsx)("polyline",{points:"9,18 15,12 9,6"})})})]})})]})}),(0,a.jsxs)("div",{className:l()["diamond-name"],children:[(0,a.jsx)("h3",{className:l()["diamond-name-text"],children:p.name}),p.description&&(0,a.jsx)("p",{className:l()["diamond-description"],children:p.description})]})]})})}},86142:e=>{e.exports={"diamond-banner":"variant4_diamond-banner__ZcSXx",header:"variant4_header__I1NSA",tag:"variant4_tag__vrBG4",title:"variant4_title__Vx1Jr",description:"variant4_description___XV1v","diamond-showcase":"variant4_diamond-showcase__Y8vY9","diamonds-container":"variant4_diamonds-container__yg50E","side-diamond":"variant4_side-diamond__5Z0_d","side-diamond--left-1":"variant4_side-diamond--left-1__7R1_H","side-diamond--left-2":"variant4_side-diamond--left-2__uly5x","side-diamond--right-1":"variant4_side-diamond--right-1__nFz9y","side-diamond--right-2":"variant4_side-diamond--right-2__N_viU","side-diamond-link":"variant4_side-diamond-link__Yplh_","side-diamond-image":"variant4_side-diamond-image__8i72k","side-diamond-name":"variant4_side-diamond-name__P3pqR","center-diamond-background":"variant4_center-diamond-background__fUV9C","center-diamond":"variant4_center-diamond__40Cdr","center-diamond-link":"variant4_center-diamond-link__Xz3Sl","center-diamond-image":"variant4_center-diamond-image__H2J9G","nav-arrow":"variant4_nav-arrow__LN3cZ","nav-arrow--left":"variant4_nav-arrow--left__Or8J7","
1nav-arrow--right":"variant4_nav-arrow--right__YeV1s","diamond-name":"variant4_diamond-name___h4CC","diamond-name-text":"variant4_diamond-name-text__zIhoS","diamond-description":"variant4_diamond-description__miJuv",rotateRight360:"variant4_rotateRight360__HP07S",diamondPulse:"variant4_diamondPulse__2ZMT7",rotateCenterDaimond:"variant4_rotateCenterDaimond__P1Z0S"}}}]);
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.