(self.webpackChunkui=self.webpackChunkui||[]).push([[124],{23:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});const r={gallery:"utYziQAE",imageContainer:"u7hALhRV",image:"HRX192Oq",imageMessage:"C0mfa5lU",review:"jT_XY_1t",reviewHeader:"c37mM92e",title:"pfrMrpCr",author:"EcdUmPEh",truncated:"YcyRuLBB",expanded:"IomlcWA2",modal:"EQpOtFeT",fadeIn:"sVWQQ9or",fadeOut:"sZfxzYzK",modalInner:"Lg4GX5Y4",modalContent:"OpbIhP35",modalOverlay:"iZzCdFwp",modalHeader:"wek3E8S1",fullBleedImage:"i2zolDuA",slideUp:"u96mNKND",slideDown:"jAr2PKY3",closeButton:"MvI_gVPT",modalTextContent:"bihC0FqM",modalBodyText:"ksR2mAtx",loadMoreButton:"QklUYRZO",reviewsHeader:"KjJxq4iV"}},14:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});const r={modalOverlay:"pKklj6A7",modalOverlayHidden:"FbGOep4Z",modalBackground:"srpRGD58",modal:"L76vEo7G",fitContent:"dC1D3FxI",closeBtn:"E2U6v0rP",closeIconSVG:"SMOJf3ND",modalImage:"v3EoYlrW",sizeGuidePage:"tZxZJ5xu",modalOverlayBottomSheet:"aTeBB3HC",modalBottomSheet:"rRLnrN0A __bite_extend __bite_theme_modalBottomSheet",slideUp:"woWeB2Ks",fadeIn:"rXVUk9Yk",large:"shRTi3NB",closing:"oitbq3f8",slideDown:"GC4NNj4H",fadeOut:"jtefEfQd",bottomSheetHeader:"pfc5sVVL",bottomSheetTitle:"WYgR_YWU",bottomSheetCloseBtn:"Ti_CbCl8",bottomSheetCloseBtnFloating:"PDrsEZxz",bottomSheetContent:"VI6yo2BU"}},329:(e,t,n)=>{"use strict";var r=n(0),i=n(4),a=n(1),s=n(23),o=n(2),l=n(26),c=n(3),d=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};function u(e,t,n){return d(this,void 0,void 0,(function*(){const r=new URL(l.a);r.pathname="/__list_engagement__",r.searchParams.set(n,"1"),r.searchParams.set("cacheKey",e),r.searchParams.set("__orly_aid","NA"),r.searchParams.set("itemId",null==t?void 0:t.toString()),yield fetch(r.toString(),{mode:"no-cors"})}))}function m({children:e,id:t,cacheKey:n}){const i=(0,a.useRef)(null),[s,o]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{const e=new IntersectionObserver((r=>d(this,[r],void 0,(function*([r]){if(null==r?void 0:r.isIntersecting){i.current&&e.unobserve(i.current);try{yield u(n,t,"trial")}catch(e){}}}))),{root:null,rootMargin:"0px",threshold:1});return i.current&&e.observe(i.current),()=>{i.current&&e.unobserve(i.current)}}),[]),(0,r.jsx)("div",{ref:i,onClick:()=>d(this,void 0,void 0,(function*(){try{s||(yield u(n,t,"success"),o(!0))}catch(e){}})),children:e})}var v=n(7);const f={container:"ARXqDxZt",writeReviewTitle:"BYrMqN9b",field:"mX1RH16p",label:"kOxbIdDY",input:"MWf_zaBJ",textarea:"c4EbHpL4",rating:"qKa8P3SJ",star:"Cr3A6eGy",starSelected:"vRJsPzxd",fieldError:"Fl0Ik3H_",inputError:"eWoDn1SY",submitError:"actGcfno",submit:"dk6iJfOU",imagePreview:"XZ7E9B5A",statusContainer:"OlsGRGkU",thankYouTitle:"COGuffWk",thankYouMessage:"YHPG5NZb"};var h=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};function p({productId:e,productName:t,productHandle:n,productType:i,productDescription:o,productImageUrl:l,productUrl:c,config:d}){const[u,m]=(0,a.useState)("ready"),[v,p]=(0,a.useState)({}),[g,y]=(0,a.useState)(""),[b,w]=(0,a.useState)({name:"",email:"",rating:0,title:"",review:"",images:[]});function x(e){const t=e.target,{name:n,value:r}=t;w((e=>Object.assign(Object.assign({},e),{[n]:r}))),v[n]&&p((e=>Object.assign(Object.assign({},e),{[n]:void 0})))}const j=(0,a.useCallback)((e=>{w((t=>Object.assign(Object.assign({},t),{rating:e}))),v.rating&&p((e=>Object.assign(Object.assign({},e),{rating:void 0})))}),[v.rating]);return"submitting"===u?(0,r.jsx)("div",{class:f.statusContainer,children:(0,r.jsx)("div",{class:f.thankYouTitle,children:"Submitting your review..."})}):"success"===u?(0,r.jsxs)("div",{class:f.statusContainer,children:[(0,r.jsx)("div",{class:f.thankYouTitle,children:"Thank you for submitting a review!"}),(0,r.jsx)("div",{class:f.thankYouMessage,children:"Your input is very much appreciated. Share it with your friends so they can enjoy it too!"})]}):(0,r.jsxs)("form",{class:f.container,onSubmit:function(r){return h(this,void 0,void 0,(function*(){var a;r.preventDefault(),y("");const s=function(e){const t={};return e.name.trim()||(t.name="Name is required."),e.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email)||(t.email="Please enter a valid email address."):t.email="Email is required.",e.rating||(t.rating="Rating is required."),e.review.trim()||(t.review="Review is required."),t}(b);if(Object.keys(s).length>0)return void p(s);m("submitting");const u=(null==l?void 0:l.startsWith("/fast-image"))?`${d.shopify_file_path}${l.split(null!==(a=d.fast_image_prefix)&&void 0!==a?a:"")[1]}`:l,v=new FormData;v.append("productId",e),v.append("author",b.name),v.append("email",b.email),v.append("location",""),v.append("reviewRating",b.rating.toString()),v.append("reviewTitle",b.title),v.append("reviewMessage",b.review),v.append("productName",t),v.append("productSKU",n),v.append("productType",i),v.append("productDescription",o),v.append("productImageUrl",null!=u?u:""),v.append("productUrl",c),v.append("reviewSource","widget");for(let e=0;e(0,r.jsx)("span",{class:[f.star,b.rating>=e?f.starSelected:""].join(" "),role:"radio","aria-checked":b.rating===e,"aria-label":`${e} star${e>1?"s":""}`,tabIndex:b.rating===e||!b.rating&&1===e?0:-1,onClick:()=>j(e),onKeyDown:t=>function(e,t){"Enter"===e.key||" "===e.key?(e.preventDefault(),j(t)):"ArrowRight"===e.key||"ArrowUp"===e.key?(e.preventDefault(),j(Math.min(5,(b.rating||0)+1))):"ArrowLeft"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),j(Math.max(1,(b.rating||2)-1)))}(t,e),children:b.rating>=e?"★":"☆"},e)))}),v.rating&&(0,r.jsx)("p",{id:"rating-error",class:f.fieldError,role:"alert",children:v.rating})]}),(0,r.jsxs)("div",{class:f.field,children:[(0,r.jsx)("label",{class:f.label,for:"title",children:"Title of Review"}),(0,r.jsx)("input",{class:f.input,type:"text",id:"title",name:"title",value:b.title,onChange:x,placeholder:"Give your review a title"})]}),(0,r.jsxs)("div",{class:f.field,children:[(0,r.jsx)("label",{class:f.label,for:"review",children:"How was your overall experience?"}),(0,r.jsx)("textarea",{class:[f.textarea,v.review&&f.inputError].filter(Boolean).join(" "),id:"review",name:"review",required:!0,"aria-invalid":!!v.review,"aria-describedby":v.review?"review-error":void 0,value:b.review,onChange:x}),v.review&&(0,r.jsx)("p",{id:"review-error",class:f.fieldError,role:"alert",children:v.review})]}),(0,r.jsxs)("div",{class:f.field,children:[(0,r.jsx)("label",{class:f.label,for:"images",children:"Add Photos"}),(0,r.jsx)("input",{class:f.input,type:"file",id:"images",name:"images",multiple:!0,onChange:function(e){const t=e.target;t.files&&w(Object.assign(Object.assign({},b),{images:[...b.images,...Array.from(t.files)]}))}}),(0,r.jsx)("div",{class:f.imagePreview,children:b.images.map(((e,t)=>(0,r.jsx)("img",{src:URL.createObjectURL(e),alt:`Preview ${t+1}`},t)))})]}),(0,r.jsx)("div",{class:f.submit,children:(0,r.jsx)("button",{class:s.a.loadMoreButton,type:"submit",children:"Submit"})})]})}const g={container:"UqkMvomx"};function y({productId:e,reviewsPublicKey:t}){const n=(0,a.useRef)(null),i=()=>{var e;return null===(e=window.okeWidgetApi)||void 0===e?void 0:e.initWidget(n.current)};return(0,a.useEffect)((()=>{var e;return(null===(e=window.okeWidgetApi)||void 0===e?void 0:e.initWidget)?i():document.addEventListener("oke-script-loaded",i),()=>{document.removeEventListener("oke-script-loaded",i)}}),[e]),(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("meta",{name:"oke:subscriber_id",content:t}),(0,r.jsx)("script",{async:!0,src:"https://cdn-static.okendo.io/reviews-widget-plus/js/okendo-reviews.js"}),(0,r.jsx)("div",{ref:n,"data-oke-widget":!0,"data-oke-reviews-product-id":`shopify-${e}`,class:g.container})]})}var b=n(44);const w="Studio photo";function x({product:e,config:t,image:n}){const[o,l]=(0,a.useState)(!1);return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)("button",{class:s.a.loadMoreButton,onClick:()=>l(!0),children:"Write a Review"}),(0,r.jsx)(b.a,{isOpen:o,onClose:()=>l(!1),title:"Write a Review",children:(0,r.jsx)(p,{productId:e.id,productName:e.title,productHandle:e.handle,productType:e.productType,productDescription:e.description,productImageUrl:null==n?void 0:n.src,productUrl:`https://${t.hostname}/products/${e.handle}`,config:t})})]})}function j({review:e,onClose:t}){var n;return(0,r.jsx)(b.a,{isOpen:!!e,onClose:t,title:null!==(n=null==e?void 0:e.title)&&void 0!==n?n:"Review",children:e&&(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(v.a,{src:e.imgSrc,initialWidth:400,cssClass:s.a.fullBleedImage,alt:e.author,fullSizeWidth:600,width:200,height:200}),!e.images[0]&&(0,r.jsx)("div",{class:s.a.imageMessage,children:w}),(0,r.jsxs)("div",{class:s.a.modalTextContent,children:[(0,r.jsxs)("div",{class:s.a.reviewHeader,children:[(0,r.jsx)("h3",{class:s.a.title,children:e.title}),(0,r.jsx)("cite",{class:s.a.author,children:e.author}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"✅ Verified Buyer | "}),(0,r.jsx)("span",{children:e.dateCreated})]}),(0,r.jsx)("span",{class:s.a.stars,role:"img","aria-label":"5 out of 5 stars",children:(0,r.jsx)("span",{"aria-hidden":"true",children:"★★★★★"})})]}),(0,r.jsx)("p",{class:s.a.modalBodyText,children:e.body})]})]})})}function k(e){var{apps:{product:t}}=e,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);ie.config));if(n.productId&&"okendo"===n.reviewsProvider&&n.reviewsPublicKey)return(0,r.jsx)(y,{productId:n.productId,reviewsPublicKey:n.reviewsPublicKey});if(!d)return(0,r.jsx)(i.Fragment,{});const f=d.handle,{reviewCount:h,reviewRating:p}=d,g=Object.values(d.imageMap).flat().map((({src:e})=>e)),[b,k]=(0,a.useState)(!1),[E,C]=(0,a.useState)(!(n.reviews.length{const n=(null==e?void 0:e.images[0])?`https://cdn.stamped.io/uploads/photos/${e.images[0]}`:g[t%g.length];return(0,r.jsx)(m,{id:e.id,cacheKey:e.cacheKey,children:(0,r.jsxs)("div",{onClick:()=>B(Object.assign(Object.assign({},e),{imgSrc:n})),class:s.a.reviewContainer,children:[(0,r.jsxs)("div",{class:s.a.imageContainer,children:[(0,r.jsx)(v.a,{src:n,initialWidth:400,cssClass:s.a.image,alt:e.author,fullSizeWidth:600,width:200,height:200}),!(null==e?void 0:e.images[0])&&(0,r.jsx)("div",{class:s.a.imageMessage,children:w})]}),(0,r.jsxs)("div",{class:s.a.review,children:[(0,r.jsxs)("div",{class:s.a.reviewHeader,children:[(0,r.jsx)("h3",{class:s.a.title,children:e.title}),(0,r.jsx)("cite",{class:s.a.author,children:e.author}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"✅ Verified Buyer | "}),(0,r.jsx)("span",{children:e.dateCreated})]}),(0,r.jsx)("span",{class:s.a.stars,role:"img","aria-label":"5 out of 5 stars",children:(0,r.jsx)("span",{"aria-hidden":"true",children:"★★★★★"})})]}),(0,r.jsx)("p",{class:s.a.truncated,children:e.body})]})]},e.title)})}))}),(0,r.jsx)(j,{review:I,onClose:()=>B(null)}),E&&(0,r.jsx)("button",{class:s.a.loadMoreButton,onClick:()=>{return e=this,t=void 0,r=function*(){k(!0);const e=yield(0,o.getLazyState)("reviewsLazy",{productHandle:f,page:R+1});k(!1),(null!=e?e:[]).length{i.searchParams.delete(e)})),i.searchParams.set("view","reviews-only");const s=yield fetch(i.toString(),new Request(t.request,{headers:a}));return{html:yield s.text()}}catch(e){return{html:""}}}))}}),o.BentoUI.variation({variationId:"shopify-reviews-section-json",render(e){return O(this,arguments,void 0,(function*({globalState:e,context:t}){try{const{initializationData:n}=yield e,r=n.config;if(!(null==r?void 0:r.hostname))return{html:""};const i=new URL(t.request.url);i.hostname=null==r?void 0:r.hostname,i.protocol="https:";const a=new Headers(t.request.headers);a.set("Host",null==r?void 0:r.hostname),Array.from(i.searchParams.keys()).forEach((e=>{i.searchParams.delete(e)})),i.searchParams.set("view","reviews-only-json");const s=yield fetch(i.toString(),new Request(t.request,{headers:a}));return{html:yield s.text()}}catch(e){return{html:""}}}))}})]}),(0,o.createEntrypoint)("pdp_reviews",k,R)},26:(e,t,n)=>{"use strict";n.d(t,{a:()=>i,b:()=>r,c:()=>a});const r=28,i="https://shalom-development-worker-may-2024.digitaloptgroup.workers.dev";function a(e){return function(e){return 100*Math.round(e)!==Math.round(100*e)?e.toFixed(2):Math.round(e).toString()}("number"==typeof e?e:parseFloat(e))}},29:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(0);function i({size:e,iconClass:t}){return(0,r.jsx)("div",{"aria-hidden":"true",role:"presentation",class:t,style:{width:e||"",height:e||"",backgroundImage:"var(--icon-close)",backgroundSize:"contain",cursor:"pointer",backgroundRepeat:"no-repeat",backgroundOrigin:"content-box"}})}},38:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(0),i=n(11),a=n(1);const s='\n a[href],\n area[href],\n input:not([type="hidden"]):not([disabled]):not([tabindex="-1"]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]):not([tabindex="-1"]),\n iframe,\n object,\n embed,\n [tabindex]:not([tabindex="-1"]),\n [contenteditable]:not([contenteditable="false"]),\n audio[controls],\n video[controls],\n summary',o=(0,i.forwardRef)((({children:e,disabled:t=!1,isActive:n,autoFocus:i=!0,restoreFocus:o=!0,as:l="div",className:c,style:d,"aria-label":u,"aria-labelledby":m,"aria-modal":v,role:f,id:h,"data-testid":p,onTransitionEnd:g,onAnimationEnd:y},b)=>{const w=(0,a.useRef)(null),x=(0,a.useRef)(null),j=(0,a.useRef)(null),k=(0,a.useRef)(null),E=(0,a.useRef)(null),C=(0,a.useRef)(!t);(0,a.useLayoutEffect)((()=>{C.current=!t}),[t]);const S=(0,a.useCallback)((()=>void 0!==n?n():C.current),[n]),O=(0,a.useCallback)((e=>{w.current=e,"function"==typeof b?b(e):b&&(b.current=e)}),[b]),R=(0,a.useCallback)((()=>{const e=w.current;if(!e)return null;const t=Array.from(e.querySelectorAll(s));for(const e of t)if(e!==x.current&&e!==j.current)return e;return null}),[]),P=(0,a.useCallback)((()=>{const e=w.current;if(!e)return null;const t=Array.from(e.querySelectorAll(s));for(let e=t.length-1;e>=0;e--){const n=t[e];if(n!==x.current&&n!==j.current)return n}return null}),[]),I=(0,a.useCallback)((()=>{var e;if(!S())return;const t=P();t?t.focus():null===(e=w.current)||void 0===e||e.focus()}),[S,P]),B=(0,a.useCallback)((()=>{var e;if(!S())return;const t=R();t?t.focus():null===(e=w.current)||void 0===e||e.focus()}),[S,R]);(0,a.useEffect)((()=>{if("undefined"==typeof document)return;const e=e=>{const t=e.target;if(!t||t===document.body)return;const n=w.current;n&&n.contains(t)||(E.current=t)};return document.addEventListener("focusin",e,!0),()=>{document.removeEventListener("focusin",e,!0)}}),[]),(0,a.useEffect)((()=>{var e;if("undefined"!=typeof document&&!t){if(o){E.current&&!document.body.contains(E.current)&&(E.current=null);let e=document.activeElement;e&&e!==document.body||(e=E.current),e&&e!==document.body&&document.body.contains(e)?k.current=e:k.current=null}return i&&(null===(e=w.current)||void 0===e||e.focus({preventScroll:!0})),()=>{o&&k.current instanceof HTMLElement&&k.current!==document.body&&document.body.contains(k.current)&&k.current.focus({preventScroll:!0}),k.current=null}}}),[t,i,o]),(0,a.useEffect)((()=>{if("undefined"==typeof document)return;const e=w.current,t=t=>{if(S()&&"Tab"===t.key&&e&&document.activeElement===e)if(t.preventDefault(),t.shiftKey){const e=P();null==e||e.focus()}else{const e=R();null==e||e.focus()}},n=t=>{if(!S()||!e)return;const n=t.target;if(n!==x.current&&n!==j.current&&!e.contains(n)){t.stopPropagation();const n=R();n?n.focus():e.focus()}};return document.addEventListener("keydown",t,!0),document.addEventListener("focusin",n,!0),()=>{document.removeEventListener("keydown",t,!0),document.removeEventListener("focusin",n,!0)}}),[S,R,P]);const _={position:"fixed",top:0,left:0,width:"1px",height:"1px",margin:"-1px",padding:"0",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"},M=void 0!==n?0:t?-1:0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:x,style:_,tabIndex:M,onFocus:I,"aria-hidden":"true"}),(0,r.jsx)(l,{ref:O,id:h,tabIndex:-1,className:c,style:d,role:f,"aria-label":u,"aria-labelledby":m,"aria-modal":v,"data-testid":p,onTransitionEnd:g,onAnimationEnd:y,children:e}),(0,r.jsx)("div",{ref:j,style:_,tabIndex:M,onFocus:B,"aria-hidden":"true"})]})}));o.displayName="FocusLock"},43:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(0),i=n(1),a=n(11),s=n(38);let o=[];function l({isOpen:e,children:t,keepMounted:n=!1,onEscape:l}){const[c,d]=(0,i.useState)(!1),u=(0,i.useRef)(Symbol("focus-portal")),m=(0,i.useRef)(null);!function(e){const t=(0,i.useRef)(null);(0,i.useEffect)((()=>{if("undefined"!=typeof document&&e)return t.current=document.activeElement,()=>{t.current instanceof HTMLElement&&(t.current.focus(),t.current=null)}}),[e])}(e);const v=function(e,t){const[n,r]=(0,i.useState)("inactive"),a=(0,i.useRef)(e);return a.current=e,(0,i.useEffect)((()=>{if(!e)return void r("inactive");r("waiting");let n=!1;const i=requestAnimationFrame((()=>{if(n||!a.current)return;const e=t.current;if(!e)return void r("complete");const i=e.querySelector("[data-animate]")||e.firstElementChild;if(!i)return void r("complete");const s=i.getAnimations({subtree:!1});0!==s.length?Promise.all(s.map((e=>e.finished))).then((()=>{!n&&a.current&&r("complete")})).catch((()=>{!n&&a.current&&r("complete")})):r("complete")}));return()=>{n=!0,cancelAnimationFrame(i)}}),[e,t]),n}(e,m);(0,i.useEffect)((()=>{if(!e)return void d(!1);const t=u.current;return o.push(t),d(!0),()=>{o=o.filter((e=>e!==t))}}),[e]),(0,i.useEffect)((()=>{if("undefined"==typeof document||!e||!l)return;const t=e=>{"Escape"===e.key&&o[o.length-1]===u.current&&(e.stopPropagation(),e.preventDefault(),l())};return document.addEventListener("keydown",t,!0),()=>document.removeEventListener("keydown",t,!0)}),[e,l]);const f=(0,i.useCallback)((()=>!!e&&o[o.length-1]===u.current),[e]);if("undefined"==typeof document)return null;if(!e&&!n)return null;const h="complete"!==v||!c;return(0,a.createPortal)((0,r.jsx)(s.a,{ref:m,disabled:h,isActive:f,autoFocus:e&&c,restoreFocus:!1,children:t}),document.body)}},7:(e,t,n)=>{"use strict";n.d(t,{a:()=>s,b:()=>o});var r=n(0),i=n(6),a=n(1);function s({src:e,initialWidth:t,fullSizeWidth:n,cssClass:i,alt:s,width:l,height:c,style:d}){var u;const m=(0,a.useRef)(null),[v,f]=(0,a.useState)(!1),h=o(e,t,n,v);return(0,a.useEffect)((()=>{var e;!v&&(null===(e=m.current)||void 0===e?void 0:e.complete)&&f(!0)}),[null===(u=m.current)||void 0===u?void 0:u.complete]),l&&c?(0,r.jsx)("img",{ref:m,loading:"lazy",src:h,onLoadStart:()=>f(!0),onLoad:()=>f(!0),class:i,alt:null!=s?s:"",width:l,height:c,style:d}):(0,r.jsx)("img",{src:h,class:i,alt:null!=s?s:"",style:d})}function o(e,t,n,r=!0){const s=(0,i.b)(e,t),o=(0,i.b)(e,n),[l,c]=(0,a.useState)({}),d=(0,a.useMemo)((()=>l[o]?o:s),[e,t,n,l]);return(0,a.useEffect)((()=>{if(r&&document&&d!==o){const e=document.createElement("img");e.src=o,e.onload=()=>c(Object.assign(Object.assign({},l),{[o]:!0}))}}),[r,o]),d}},44:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var r=n(0),i=n(14),a=n(29),s=n(43),o=n(50);function l({isOpen:e,onClose:t,children:n,title:l,fitContent:c=!1,keepMounted:d=!1}){const{dialogProps:u}=(0,o.a)({isOpen:e,label:l}),m=e?i.a.modalOverlay:i.a.modalOverlayHidden;return(0,r.jsx)(s.a,{isOpen:e,keepMounted:d,onEscape:t,children:(0,r.jsxs)("div",{className:m,"aria-hidden":!e,children:[(0,r.jsx)("div",{className:i.a.modalBackground,onClick:t,role:"presentation"}),(0,r.jsxs)("div",Object.assign({},u,{className:[i.a.modal,c?i.a.fitContent:""].join(" "),children:[(0,r.jsx)("button",{className:i.a.closeBtn,onClick:t,"aria-label":"Close dialog",children:(0,r.jsx)(a.a,{size:"14px",iconClass:i.a.closeIconSVG})}),n]}))]})})}},50:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(1),i=n(51);function a({isOpen:e,label:t,labelledBy:n}){return(0,i.a)(e),{dialogProps:(0,r.useMemo)((()=>({role:"dialog","aria-modal":!0,"aria-label":n?void 0:t,"aria-labelledby":n,tabIndex:-1})),[t,n])}}},51:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(1);let i=0,a=null;function s(e){(0,r.useEffect)((()=>{if("undefined"!=typeof document&&e){if(0===i){a={overflow:document.body.style.overflow,paddingRight:document.body.style.paddingRight};const e=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight=`${e}px`}return i++,()=>{i--,i<0&&(i=0),0===i&&a&&(document.body.style.overflow=a.overflow,document.body.style.paddingRight=a.paddingRight,a=null)}}}),[e])}},12:()=>{}},e=>{e.O(0,[1,2,3,4,5,6,7,8,9,10,11,12,14,13,17,15,16,18,20,19,22,21,24,23,27,25],(()=>e(e.s=329))),e.O()}]);