PageSourceSearch

https://aliciamalone.com/_next/static/chunks/14ng0k5r841ub.js

js aliciamalone.com collected 2026-10-03 19:41:29 UTC 82,381 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="337a7ddd-a7cb-0e50-cea5-ea73ba0a2a5d")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,153294,e=>{e.v({alert:"ErrorMessage-module-scss-module__Cs8DvG__alert",content:"ErrorMessage-module-scss-module__Cs8DvG__content",icon:"ErrorMessage-module-scss-module__Cs8DvG__icon"})},894146,33720,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(832724),i=e.i(612866),a=e.i(487266),s=e.i(343794),o=e.i(268209),l=e.i(585642),d=e.i(114783),u=e.i(687944),c=e.i(741823),p=e.i(733645),m=e.i(685455);let f={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function E(e,t){let r=t[`offset${e[0].toUpperCase()}${e.slice(1)}`],n=f[e];return r+parseInt((0,o.default)(t,n[0]),10)+parseInt((0,o.default)(t,n[1]),10)}let h={[l.EXITED]:"collapse",[l.EXITING]:"collapsing",[l.ENTERING]:"collapsing",[l.ENTERED]:"collapse show"},S=r.default.forwardRef(({onEnter:e,onEntering:n,onEntered:i,onExit:a,onExiting:o,className:l,children:f,dimension:S="height",in:T=!1,timeout:_=300,mountOnEnter:g=!1,unmountOnExit:I=!1,appear:y=!1,getDimensionValue:O=E,...R},N)=>{let A="function"==typeof S?S():S,L=(0,r.useMemo)(()=>(0,c.default)(e=>{e.style[A]="0"},e),[A,e]),v=(0,r.useMemo)(()=>(0,c.default)(e=>{let t=`scroll${A[0].toUpperCase()}${A.slice(1)}`;e.style[A]=`${e[t]}px`},n),[A,n]),x=(0,r.useMemo)(()=>(0,c.default)(e=>{e.style[A]=null},i),[A,i]),b=(0,r.useMemo)(()=>(0,c.default)(e=>{e.style[A]=`${O(A,e)}px`,(0,p.default)(e)},a),[a,O,A]),C=(0,r.useMemo)(()=>(0,c.default)(e=>{e.style[A]=null},o),[A,o]);return(0,t.jsx)(m.default,{ref:N,addEndListener:u.default,...R,"aria-expanded":R.role?T:null,onEnter:L,onEntering:v,onEntered:x,onExit:b,onExiting:C,childRef:(0,d.getChildRef)(f),in:T,timeout:_,mountOnEnter:g,unmountOnExit:I,appear:y,children:(e,t)=>r.default.cloneElement(f,{...t,className:(0,s.default)(l,f.props.className,h[e],"width"===A&&"collapse-horizontal")})})});S.displayName="Collapse",e.s(["default",0,S],33720);var T=e.i(719525),_=e.i(215302),g=e.i(76368),I=e.i(153294);e.s(["default",0,function({errorMessage:e,isCollapse:s,forceOneLine:o,labelButton:l=_.GLOBAL.BUTTON_LABEL_ERROR_INFO,className:d,disableCollapse:u=!1,dismissible:c,onClose:p,"data-testid":m}){let[f,E]=(0,r.useState)(!1),h="string"==typeof e?e?.length:1;if(!h)return null;let y=!o&&h>T.ERROR_NUMBER_COLLAPSE;return e?!u&&(s||y)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{variant:"danger",onClick:()=>{E(!f)},"aria-controls":"error-collapse-text","aria-expanded":f,className:d,"data-testid":m,children:l}),(0,t.jsx)(S,{in:f,children:(0,t.jsx)("div",{id:"error-collapse-text",className:"text-danger",children:e})})]}):(0,t.jsxs)(i.default,{variant:"danger",className:(0,g.classNames)(I.default.alert,d),dismissible:c,onClose:p,"data-testid":m,"data-sentry-element":"Alert","data-sentry-component":"ErrorMessage","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)(n.CircleX,{size:20,"aria-hidden":"true",className:I.default.icon,"data-sentry-element":"CircleX","data-sentry-source-file":"index.tsx"}),(0,t.jsx)("div",{className:I.default.content,children:e})]}):null}],894146)},444666,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(704096);let i=r.default.memo(function({html:e,className:i}){let a=(0,n.useRichTextSanitizer)(),s=r.default.useMemo(()=>a(e),[a,e]);return(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:s},className:i,"data-sentry-component":"GlobalHtml","data-sentry-source-file":"index.tsx"})},(e,t)=>e.html===t.html&&e.className===t.className);e.s(["default",0,i])},327470,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({src:e,alt:r,width:n,height:i,priority:a,fill:s,style:o,loading:l,fetchPriority:d,cdnBase:u,mobileSrc:c,tabletSrc:p,...m}){let f=e=>u&&!/^(https?:)?\/\//.test(e)?`${u}/${e}`:e,E=s?{position:"absolute",inset:0,width:"100%",height:"100%",...o}:o,h=(0,t.jsx)("img",{...m,src:f(e),alt:r,width:s?void 0:n,height:s?void 0:i,style:E,loading:l??(a?"eager":"lazy"),decoding:"async",fetchPriority:d??(a?"high":void 0)});return c||p?(0,t.jsxs)("picture",{"data-sentry-element":"picture","data-sentry-component":"GlobalImage","data-sentry-source-file":"index.tsx",children:[c&&(0,t.jsx)("source",{media:"(max-width: 767px)",srcSet:f(c)}),p&&(0,t.jsx)("source",{media:"(max-width: 1199px)",srcSet:f(p)}),h]}):h}])},410006,849338,692218,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(187062),i=e.i(742876),a=e.i(215302),s=e.i(193324),o=e.i(80767),l=e.i(193851),d=e.i(444666);e.s(["default",0,function({blogPost:e,shortVersion:u,showHtml:c}){let{isMobileUpToMd:p}
2=(0,l.useBreakpoints)(),{postContent:m,postUrl:f}=e||{},E=(c?m:m&&(0,o.stripHtmlTags)(m))||"",h=p?i.SHORT_BLOG_DESCRIPTION_MAX_CHARACTERS_MOBILE:i.SHORT_BLOG_DESCRIPTION_MAX_CHARACTERS,S=(0,r.useMemo)(()=>E?u?(0,o.truncateString)(E,h,{ellipsis:!0}):E:"",[E,u,h]),T=(0,r.useMemo)(()=>c?(0,s.normalizeYoutubeEmbeds)((0,s.addTargetBlank)(m||"")):"",[c,m]);return u?(0,t.jsxs)("p",{className:"blogHTML",children:[S," ",f&&(0,t.jsx)(n.default,{href:f||"",className:"eventLink",children:a.GLOBAL.LEARN_MORE})]}):c?(0,t.jsx)(d.default,{html:T,className:"blogHTML"}):(0,t.jsx)("p",{className:"blogHTML","data-sentry-component":"BlogPostContent","data-sentry-source-file":"index.tsx",children:S})}],410006);var u=e.i(127965);e.s(["default",0,function({blogPost:e}){let{postDate:r}=e||{};return r?(0,t.jsx)("span",{className:"blogMeta","data-sentry-component":"BlogPostDate","data-sentry-source-file":"index.tsx",children:(0,u.formatBlogDate)(r)}):null}],849338);var c=e.i(587061),p=e.i(327470);e.s(["default",0,function({blogPost:e,withInner:r}){let{postImages:a,postUrl:s}=e||{};return a?r?(0,t.jsx)(t.Fragment,{children:a?.map((e,r)=>{if(!e?.src)return null;let{width:a,height:o}=(0,c.getImageDimensions)({width:e?.width,height:e?.height,defaultWidth:i.DEFAULT_BLOG_IMAGE_WIDTH,defaultHeight:i.DEFAULT_BLOG_IMAGE_HEIGHT});return(0,t.jsx)(n.default,{href:s||"",passHref:!0,className:"blogLinkImage",children:(0,t.jsx)("span",{className:"inner",children:(0,t.jsx)(p.default,{src:e?.src,alt:e?.alt||"",width:a,height:o,className:"img-fluid blogImage"})})},r)})}):(0,t.jsx)(t.Fragment,{children:a?.map((e,r)=>{if(!e?.src)return null;let{width:n,height:a}=(0,c.getImageDimensions)({width:e?.width,height:e?.height,defaultWidth:i.DEFAULT_BLOG_IMAGE_WIDTH,defaultHeight:i.DEFAULT_BLOG_IMAGE_HEIGHT});return(0,t.jsx)("div",{className:"blogSimpleImage",children:(0,t.jsx)(p.default,{src:e?.src,alt:e?.alt||"",width:n,height:a,className:"img-fluid blogImage"})},r)})}):null}],692218)},991545,e=>{"use strict";var t=e.i(843476),r=e.i(187062),n=e.i(126098),i=e.i(473908),a=e.i(962008);e.s(["default",0,function({book:e}){let{globalData:s}=(0,a.useStoreContext)(),{series:o,orderInSerie:l}=e||{},{series:d}=s?.site||{},u=d?.find(e=>e?.id===o),c=(0,i.usePageHref)()(u);return u?.name?(0,t.jsx)("span",{className:"bookSerie","data-sentry-component":"BookInSeries","data-sentry-source-file":"index.tsx",children:l?(0,t.jsxs)(t.Fragment,{children:[n.SERIES_SECTION.BOOK," ",l," ",n.SERIES_SECTION.IN," ",(0,t.jsx)(r.default,{href:c,passHref:!0,tabIndex:0,children:u.name})]}):(0,t.jsxs)(t.Fragment,{children:[n.SERIES_SECTION.FROM_SERIES,":"," ",(0,t.jsx)(r.default,{href:c,passHref:!0,tabIndex:0,children:u.name})]})}):null}])},901704,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(815126),i=e.i(664659),a=e.i(618566),s=e.i(915683),o=e.i(442857),l=e.i(810121),d=e.i(899297),u=e.i(605796),c=e.i(865426),p=e.i(215302),m=e.i(76368),f=e.i(829310),E=e.i(792851),h=e.i(149792),S=e.i(657121),T=e.i(80767),_=e.i(128331),g=e.i(473908),I=e.i(159319),y=e.i(962008),O=e.i(626816),R=e.i(846662),N=e.i(187062),A=e.i(969298),L=e.i(572409);e.s(["default",0,function({book:e,bookEan:v,layout:x=u.ACTION_BUTTON_LAYOUT_TYPE.DROPDOWN,placement:b,forEditBook:C,formData:P}){let{currentSiteSlug:w,isPreviewMode:D}=(0,_.useCurrentProperties)(),B=(0,a.usePathname)(),{canShowProduct:k}=(0,h.useBookProductWebsite)({book:e}),{addToCart:M,isProductInCart:U,goToCart:j,checkoutError:F,isCheckingOut:H}=(0,h.useCart)(),G=(0,g.usePageHref)(),{globalData:$}=(0,y.useStoreContext)(),V=$?.shippingConfig,Y=$?.domesticCountry,K=(0,I.useSiteStoreCurrency)(),{retailers:W}=$?.site||{},q=$?.site?.aboutAuthor?.title||$?.author?.displayName,{useCustomRetailers:z,buyButtons:X,bookUrl:Q}=e||{},J=C&&null!=P&&Object.prototype.hasOwnProperty.call(P,"useCustomRetailers")?!!P.useCustomRetailers:!!z,Z=C&&null!=P&&Array.isArray(P.buyButtons)?P.buyButtons:X,ee=(0,g.usePageHref)()(e),et=Q||ee,er=(0,r.useMemo)(()=>{try{return new URL(et).pathname}catch{return et}},[et]),en=x===u.ACTION_BUTTON_LAYOUT_TYPE.SIMPLELIST,ei=W?.reduce((e,t)=>(e[t.type]=t,e),{}),ea=Z?.reduce((e,t)=>
2(e[t.type]=t,e),{}),es=v||e?.bookEan||e?.bookInternalIdentifier||"",eo=function({placement:e,layout:t,bookEan:n,siteSlug:i,isPreviewMode:a}){let{trackEvent:s}=(0,A.default)(),{globalData:o}=(0,y.useStoreContext)(),l=(0,L.useIsPublishedSite)(),u=o?.site?.global?.internalSiteId,c=l&&!a;return(0,r.useCallback)(({retailerType:r,retailerLabel:a})=>{c&&s(d.ANALYTICS_EVENTS.BUY_BUTTON_CLICKED,{retailerType:r??null,retailerLabel:a??null,bookEan:n||null,siteSlug:i,internalSiteId:u??null,placement:e,layout:t})},[c,s,n,i,u,e,t])}({placement:b,layout:en?d.BUY_BUTTON_ANALYTICS_LAYOUT.SIMPLELIST:d.BUY_BUTTON_ANALYTICS_LAYOUT.DROPDOWN,bookEan:es,siteSlug:w,isPreviewMode:!!D}),el=J?Z:W?.map(e=>({id:e.id,type:e.type,label:ei?.[e.type]?.label||e.label,url:((e,t)=>{let r=t?.[e.type]?.url;if(r)return r;if(e?.url)return e.url;let n=Object.entries(l.RETAILER_TYPE||{}).find(([,t])=>t===e.type)?.[0],i=n&&l.PURCHASE_LINKS[n];return i&&es&&"#"!==i?`${i}${encodeURIComponent(es)}`:""})(e,ea||{}),customUrl:void 0,isAffiliateLink:void 0,isInactive:e.isInactive})),ed=(el=el?.filter(e=>e&&!e.isInactive&&!!(e.customUrl||e.url)))&&el.length>0,eu=Z&&Z.some(e=>e?.customUrl),ec=(0,r.useMemo)(()=>(0,E.getActiveProducts)(e?.products),[e?.products]),[ep,em]=(0,r.useState)(!1),[ef,eE]=(0,r.useState)(!1),[eh,eS]=(0,r.useState)(void 0),eT=(0,r.useCallback)(()=>document.querySelector("main"),[]),e_=()=>{if(!eu)return null;let e=Z?.some(e=>e?.isAffiliateLink);return["dannmcdorman-draftabm59p","annapitoniak-draftwof4f6"].includes(w)||e?(0,t.jsx)("div",{className:"affiliateDisclosure","data-sentry-component":"RetailerAffiliateDisclosure","data-sentry-source-file":"index.tsx",children:p.GLOBAL.RETAILER_AFFILIATE_DISCLOSURE}):null},eg=(r=!1)=>{let n=en&&C;return el?.map(i=>{let a=i?.customUrl||i?.url;if(!a)return null;let s=(0,T.ensureHttps)(a);return en?(0,t.jsx)("li",{children:(0,t.jsx)(O.default,{href:s,usePlainHref:!0,className:n?"actionButtonsTextLink":(0,m.classNames)("btn",{"btn-outline-dark":r,"btn-dark":!r}),targetBlank:!0,rel:"noopener noreferrer",tabIndex:0,callback:()=>eo({retailerType:i?.type,retailerLabel:i?.label}),"data-ph-capture-attribute-button_type":"buy","data-ph-capture-attribute-product_title":e?.bookTitle,"data-ph-capture-attribute-ean":v,"data-ph-capture-attribute-retailer":i.label,children:i?.label},i?.id)},i?.id):(0,t.jsx)(o.Dropdown.Item,{href:s,target:"_blank",rel:"noopener noreferrer",tabIndex:0,onClick:()=>eo({retailerType:i?.type,retailerLabel:i?.label}),"data-ph-capture-attribute-button_type":"buy","data-ph-capture-attribute-product_title":e?.bookTitle,"data-ph-capture-attribute-ean":v,"data-ph-capture-attribute-retailer":i.label,children:i?.label},i?.id)})};return en?ed?(0,t.jsxs)("div",{className:"buyNowList",children:[!C&&(0,t.jsx)("p",{className:"title",children:p.GLOBAL.BUY_NOW_AT}),(0,t.jsx)("ul",{children:eg(k)}),!C&&(0,t.jsx)(e_,{})]}):null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,m.classNames)("bookActions",{"mb-2":!ed}),children:[k&&ec.length>0?(0,t.jsxs)(o.Dropdown,{as:s.ButtonGroup,onToggle:e=>{e||em(!1)},"data-sentry-element":"Dropdown","data-sentry-component":"renderEcommerceDropdown","data-sentry-source-file":"index.tsx",children:[(0,t.jsxs)(o.Dropdown.Toggle,{variant:"dark",size:"lg",className:"buyNowButton",tabIndex:0,"data-sentry-element":"Dropdown.Toggle","data-sentry-source-file":"index.tsx",children:[p.GLOBAL.BUY_NOW,(0,t.jsx)(i.ChevronDown,{size:16,"aria-hidden":!0,"data-sentry-element":"ChevronDown","data-sentry-source-file":"index.tsx"})]}),(0,t.jsxs)(o.Dropdown.Menu,{"data-sentry-element":"Dropdown.Menu","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)(t.Fragment,{children:ec.map(r=>{let i=U(r.id),a=(0,S.isPhysicalProduct)(r.type),s=(0,S.isProductSoldOutForBuyers)(r),l=s||!a&&i,d=(0,f.formatStoreCurrency)(r.price??0,K);return(0,t.jsx)(o.Dropdown.Item,{onClick:()=>(t=>{if((0,S.isProductSoldOutForBuyers)(t)||t.type===n.ProductTypeEnum.DIGITAL&&U(t.id))return;let r=G(e),i=(0,E.createCartItem)({book:e,product:t,authorName:q,bookUrl:r});M(i),eS(i),eE(!0)})(r),disabled:l,className:l?"productItemInactive":void 0,children:(0,t.jsxs)("div",{className:"productDetailsContainer",children:[(0,t.jsxs)("div",{className:"productInfo",children:[r.title?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:r.title}),(0,t.jsx)("span",{className:"productNoteText",children:a&&r.binding?c.BINDING_TYPE_LABELS[r.binding]:r.mediaType?c.MEDIA_TYPE_LABELS[r.mediaType]:""})]}):(0,t.jsx)("div",{children:a&&r.binding?c.BINDING_TYPE_LABELS[r.binding]:r.mediaType?c.MEDIA_TYPE_LABELS[r.mediaType]:""}),a?(0,t.jsx)("span",{className:"productNoteText",children:(0,S.formatShippingLabel)(r,V,Y)}):(0,t.jsxs)(t.Fragment,{children:[r.formats&&(0,t.jsx)("span",{className:"productNoteText",children:(0,S.formatProductFormats)(r)}),(0,S.formatDeliveryLabel)(r)&&(0,t.jsx)("span",{className:"productNoteText",children:(0,S.formatDeliveryLabel)(r)})]})]}),(0,t.jsx)("div",{className:"productPriceColumn",children:s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{className:"text-nowrap productPriceStrikethrough",children:d}),(0,t.jsx)("span",{className:"productStatusLabel",children:c.ECOMMERCE.SOLD_OUT})]}):!a&&i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{className:"text-nowrap",children:d}),(0,t.jsx)("span",{className:"productStatusLabel",children:c.ECOMMERCE.IN_CART})]}):(0,t.jsx)("strong",{className:"text-nowrap",children:d})})]})},r.id)})}),ed&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Dropdown.Divider,{}),(0,t.jsx)(o.Dropdown.Item,{as:"button",className:"dropdownItemToggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),em(!ep)},children:(0,t.jsxs)("div",{className:"dropdownItemToggleContent",children:[(0,t.jsx)("span",{children:p.GLOBAL.BUY_NOW_AT}),(0,t.jsx)("span",{className:(0,m.classNames)("dropdownToggleIcon",{open:ep})})]})}),(0,t.jsx)("div",{className:(0,m.classNames)("retailersContainer",{show:ep}),children:(0,t.jsx)("div",{children:eg()})})]})]})]}):ed&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(o.Dropdown,{as:s.ButtonGroup,children:[(0,t.jsxs)(o.Dropdown.Toggle,{variant:"dark",size:"lg",className:"buyNowButton",tabIndex:0,children:[p.GLOBAL.BUY_NOW,(0,t.jsx)(i.ChevronDown,{size:16,"aria-hidden":!0})]}),(0,t.jsx)(o.Dropdown.Menu,{children:eg()})]})}),B!==er&&(0,t.jsx)(N.default,{href:et,className:"btn btn-outline-dark btn-lg",tabIndex:0,children:p.GLOBAL.LEARN_MORE})]}),(0,t.jsx)(e_,{"data-sentry-element":"RetailerAffiliateDisclosure","data-sentry-source-file":"index.tsx"}),(0,t.jsx)(R.default,{show:ef,onHide:()=>{eE(!1)}
2,cartItem:eh,onCheckout:()=>{j()},container:eT,checkoutError:F,isCheckingOut:H,"data-sentry-element":"AddToCartModal","data-sentry-source-file":"index.tsx"})]})}],901704)},216355,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(742876),i=e.i(193324),a=e.i(80767),s=e.i(444666);let o=e=>(0,a.truncateString)(e,n.SHORT_BOOK_DESCRIPTION_MAX_CHARACTERS,{ellipsis:!0});e.s(["default",0,function({description:e,shortVersion:n,shortStyled:l}){let d=e??"",u=(0,r.useMemo)(()=>d?n?o((0,a.stripHtmlTags)(d)):l?o(d):(0,i.normalizeYoutubeEmbeds)(d):"",[d,n,l]);return d?(0,t.jsx)(s.default,{html:u,className:`blogHTML bookDescription${n?" shortVersion":""}`,"data-sentry-element":"GlobalHtml","data-sentry-component":"BookDescription","data-sentry-source-file":"index.tsx"}):null}])},802073,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(337882),i=e.i(770919);let a=(e,t)=>{let r=t?` <b>— ${(0,n.escapeHtmlEntities)(t)}</b>`:"";return(0,i.sanitizeRichTextHtml)(`${e.replace(/\n/g,"<br />")}${r}`)};e.s(["default",0,function({reviews:e,quantity:n}){let[i,s]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{s(!0)},[]),e)?(0,t.jsx)("div",{className:"bookReviews","data-sentry-component":"BookReviews","data-sentry-source-file":"index.tsx",children:i&&(Array.isArray(e)?e.slice(0,n).map(e=>{let{content:r,source:n}=e;return r?(0,t.jsx)("blockquote",{dangerouslySetInnerHTML:{__html:a(r,n)}},e.id):null}):e?(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:a(e)},className:"bookReviews"}):null)}):null}])},804706,e=>{"use strict";var t=e.i(843476),r=e.i(187062),n=e.i(631906),i=e.i(742876),a=e.i(473908),s=e.i(991545);e.s(["default",0,function({book:e,linkTo:o,coverSize:l,altTag:d,withTitle:u,showSerie:c=!1,noWrapper:p=!1,noInner:m,onlyImage:f}){let{bookImages:E=[],bookUrl:h,bookTitle:S}=e||{},T=(0,a.usePageHref)()(e),_=E&&E.length>0?E:[{src:i.DEFAULT_BOOK_COVER_IMAGE}];return(0,t.jsx)(t.Fragment,{children:_.map((a,E)=>{let _=`img-fluid productImage${a?.src===i.DEFAULT_BOOK_COVER_IMAGE?" coverPlaceholder":""}`,g=a?.src&&(0,t.jsx)(n.Image,{src:a?.src,alt:d||a?.alt||S,width:l||a?.width,height:l||a?.height,className:_,loading:"lazy"},E),I=(0,t.jsxs)(r.default,{href:o||h||T||"",passHref:!0,children:[m?g:(0,t.jsx)("span",{className:"inner",children:g}),u&&S&&(0,t.jsx)("span",{className:"bookTitle",children:S})]},E);return f?g:p?I:(0,t.jsxs)("div",{className:"bookLinkImage",children:[I,c&&(0,t.jsx)(s.default,{book:e})]},E)})})}])},215949,878478,636619,106186,e=>{"use strict";var t=e.i(843476),r=e.i(187062),n=e.i(638073),i=e.i(530408);e.s(["default",0,function({event:e}){let{address:a}=e||{};return a?(0,t.jsxs)("span",{className:"eventMeta","data-sentry-component":"EventAddress","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)(i.default,{icon:"address",alt:n.EVENTS.EVENT_ADDRESS,"data-sentry-element":"GlobalIcon","data-sentry-source-file":"index.tsx"}),(0,t.jsx)(r.default,{href:`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(a)}`,target:"_blank",rel:"noopener noreferrer","data-sentry-element":"SiteLink","data-sentry-source-file":"index.tsx",children:a})]}):null}],215949);var a=e.i(127965);e.s(["default",0,function({event:e}){let{startDate:r,endDate:s,withEndDate:o}=e||{};return r?(0,t.jsxs)("span",{className:"eventMeta","data-sentry-component":"EventDate","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)(i.default,{icon:"calendar",alt:n.EVENTS.EVENT_DATE,"data-sentry-element":"GlobalIcon","data-sentry-source-file":"index.tsx"}),(0,a.formatEventDateRange)(r,!1===o?void 0:s)]}):null}],878478);var s=e.i(742876),o=e.i(215302),l=e.i(193324),d=e.i(80767),u=e.i(193851),c=e.i(704096);e.s(["default",0,function({event:e,shortVersion:n,showHtml:i}){let{isMobileUpToMd:a}=(0,u.useBreakpoints)(),p=(0,c.useRichTextSanitizer)(),{eventDescription:m,eventUrl:f}=e||{},E=i?m:m&&(0,d.stripHtmlTags)(m),h=a?s.SHORT_EVENT_DESCRIPTION_MAX_CHARACTERS_MOBILE:s.SHORT_EVENT_DESCRIPTION_MAX_CHARACTERS,S=n&&E?(0,d.truncateString)(E,h,{ellipsis:!0}):E;if(n)return(0,t.jsxs)("p",{className:"eventDescription",children:[S," ",f&&(0,t.jsx)(r.default,{href:f||"",className:"eventLink",children:o.GLOBAL.LEARN_MORE})]});let T=S||"";return i&&(T=(0,l.addTargetBlank)(T)),(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:p(T)},className:"eventDescription","data-sentry-component":"EventDescription","data-sentry-source-file":"index.tsx"})}],636619);var p=e.i(587061),m=e.i(327470);e.s(["default",0,function({event:e,withInner:n}){let{eventImages:i,eventUrl:a}=e||{};return i?n?(0,t.jsx)(t.Fragment,{children:i?.map((e,n)=>{if(!e?.src)return null;let{width:i,height:o}=(0,p.getImageDimensions)({width:e?.width,height:e?.height,defaultWidth:s.DEFAULT_EVENT_IMAGE_WIDTH,defaultHeight:s.DEFAULT_EVENT_IMAGE_HEIGHT});return(0,t.jsx)(r.default,{href:a||"",passHref:!0,className:"eventLinkImage",children:(0,t.jsx)("span",{className:"inner",children:(0,t.jsx)(m.default,{src:e?.src,alt:e?.alt||"",width:i,height:o,className:"img-fluid eventImage"})})},n)})}):(0,t.jsx)(t.Fragment,{children:i?.map((e,r)=>{if(!e?.src)return null;let{width:n,height:i,aspectRatio:a}=(0,p.getImageDimensions)({width:e?.width,height:e?.height,defaultWidth:s.DEFAULT_EVENT_IMAGE_WIDTH,defaultHeight:s.DEFAULT_EVENT_IMAGE_HEIGHT});return(0,t.jsx)("div",{className:"eventSimpleImage",style:{aspectRatio:a},children:(0,t.jsx)(m.default,{src:e?.src,alt:e?.alt||"",width:n,height:i,className:"img-fluid eventImage"})},r)})}):null}],106186)},702615,e=>
2{e.v({nameField:"NewsletterSignupNameFields-module-scss-module__f_HqoG__nameField",nameFields:"NewsletterSignupNameFields-module-scss-module__f_HqoG__nameFields",nameFieldsStacked:"NewsletterSignupNameFields-module-scss-module__f_HqoG__nameFieldsStacked",nameFieldsTwo:"NewsletterSignupNameFields-module-scss-module__f_HqoG__nameFieldsTwo"})},915584,571904,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(998699);e.s(["OptionalField",0,({value:e,onChange:i,testId:a})=>{let s=(0,r.useId)();return(0,t.jsx)("div",{className:"optionalWrapper","aria-hidden":"true","data-sentry-component":"OptionalField","data-sentry-source-file":"index.tsx",children:(0,t.jsxs)(n.Form.Group,{"data-sentry-element":"Form.Group","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)(n.Form.Label,{htmlFor:s,"data-sentry-element":"Form.Label","data-sentry-source-file":"index.tsx",children:"Website URL (optional)"}),(0,t.jsx)(n.Form.Control,{type:"text",id:s,name:"website_url",value:e,onChange:e=>i(e.target.value),tabIndex:-1,autoComplete:"new-password",placeholder:"https://example.com","data-testid":a,"data-sentry-element":"Form.Control","data-sentry-source-file":"index.tsx"})]})})}],915584);var i=e.i(215302),a=e.i(76368),s=e.i(244932),o=e.i(702615);e.s(["default",0,function({collectFirstName:e,collectLastName:r,firstNameRequired:l,lastNameRequired:d,firstName:u,lastName:c,onFirstNameChange:p,onLastNameChange:m,onFirstNameEdit:f,onLastNameEdit:E,firstNameError:h,lastNameError:S,renderFieldError:T,firstNameInputRef:_,lastNameInputRef:g,inputClassName:I,stacked:y}){let O=!!e,R=!!r;if(!O&&!R)return null;let N=!!T,A=e=>[I,e?"is-invalid":""].filter(Boolean).join(" ")||void 0;return(0,t.jsxs)("div",{className:(0,a.classNames)(o.default.nameFields,y&&o.default.nameFieldsStacked,O&&R&&!y&&o.default.nameFieldsTwo),"data-sentry-component":"NewsletterSignupNameFields","data-sentry-source-file":"index.tsx",children:[O&&(0,t.jsxs)("div",{className:o.default.nameField,children:[(0,t.jsx)(n.Form.Control,{ref:_,type:"text",name:"first_name",autoComplete:"given-name",placeholder:(0,s.markRequiredPlaceholder)(i.FORMS.FIRST_NAME_LABEL,l),"aria-label":i.FORMS.FIRST_NAME_LABEL,"aria-required":!!l||void 0,className:A(h),value:u,onChange:e=>{p(e.target.value),f?.()},required:N?void 0:!!l,"aria-invalid":!!h||void 0,"aria-describedby":h?"newsletter-first-name-error":void 0,maxLength:255,tabIndex:0}),h&&(0,t.jsx)("div",{id:"newsletter-first-name-error",children:T?.(h)})]}),R&&(0,t.jsxs)("div",{className:o.default.nameField,children:[(0,t.jsx)(n.Form.Control,{ref:g,type:"text",name:"last_name",autoComplete:"family-name",placeholder:(0,s.markRequiredPlaceholder)(i.FORMS.LAST_NAME_LABEL,d),"aria-label":i.FORMS.LAST_NAME_LABEL,"aria-required":!!d||void 0,className:A(S),value:c,onChange:e=>{m(e.target.value),E?.()},required:N?void 0:!!d,"aria-invalid":!!S||void 0,"aria-describedby":S?"newsletter-last-name-error":void 0,maxLength:255,tabIndex:0}),S&&(0,t.jsx)("div",{id:"newsletter-last-name-error",children:T?.(S)})]})]})}],571904)},187062,e=>{"use strict";var t=e.i(843476),r=e.i(522016);e.s(["default",0,function({prefetch:e=!1,...n}){return(0,t.jsx)(r.default,{prefetch:e,...n,"data-sentry-element":"Link","data-sentry-component":"SiteLink","data-sentry-source-file":"index.tsx"})}])},684852,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({id:e,block:r,className:n="",children:i,style:a}){return(0,t.jsx)("section",{id:`section_${e?.toLowerCase()||r?.blockType?.toLowerCase()}`,className:n,style:a,"data-sentry-component":"SiteSectionBlock","data-sentry-source-file":"index.tsx",children:i})}])},148564,325673,e=>{"use strict";var t=e.i(843476),r=e.i(187062),n=e.i(789140),i=e.i(930922),a=e.i(605796),s=e.i(742876),o=e.i(215302),l=e.i(126098),d=e.i(427621),u=e.i(530408),c=e.i(216355),p=e.i(684852),m=e.i(473908),f=e.i(804706);function E({book:e}){let r=(0,m.usePageHref)()(e),n={...e,bookUrl:r};return(0,t.jsx)(f.default,{book:n,withTitle:!0,showSerie:!0,"data-sentry-element":"CoverGallery","data-sentry-component":"SiteBookGrid","data-sentry-source-file":"index.tsx"})}function h({serie:e}){let{name:r,description:a,books:s}=e||{},o=s&&s?.filter(e=>!e?.isInactive).length>0,d=s?.filter(e=>!e?.isInactive);return(0,t.jsx)(i.Row,{className:"serie-page-mobile d-lg-none","data-sentry-element":"Row","data-sentry-component":"FeaturedBookMobile","data-sentry-source-file":"index.tsx",children:(0,t.jsxs)(n.Col,{"data-sentry-element":"Col","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)("h1",{className:"pageTitleBlock",children:r}),(0,t.jsx)(c.default,{description:a,"data-sentry-element":"BookDescription","data-sentry-source-file":"index.tsx"}),(0,t.jsx)("h3",{className:"pageSubtitleBlock",children:l.SERIES_SECTION.BOOKS_IN_SERIES}),(0,t.jsx)("hr",{}),o&&(0,t.jsx)(S,{books:d})]})})}function S({books:e}){return(0,t.jsx)(p.default,{id:a.LIST_ITEM_TYPE.BOOKS,className:"container-fluid booksBlock sectionLayoutGRID","data-sentry-element":"SiteSectionBlock","data-sentry-component":"BookSectionContent","data-sentry-source-file":"index.tsx",children:e.map((e,r)=>(0,t.jsx)(E,{book:e},r))})}function T({serie:e}){let{name:r,description:a,books:s}=e||{},o=s&&s?.filter(e=>!e?.isInactive).length>0,d=s?.filter(e=>!e?.isInactive);return(0,t.jsxs)(i.Row,{className:"serie-page-desktop d-none d-lg-flex","data-sentry-element":"Row","data-sentry-component":"FeaturedBookDesktop","data-sentry-source-file":"index.tsx",children:[(0,t.jsxs)(n.Col,{className:"col-12 col-lg-8","data-sentry-element":"Col","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)("h1",{className:"pageTitleBlock",children:r}),(0,t.jsx)(c.default,{description:a,"data-sentry-element":"BookDescription","data-sentry-source-file":"index.tsx"})]}),(0,t.jsxs)(n.Col,{className:"col-12","data-sentry-element":"Col","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)("h2",{className:"pageSubtitleBlock headline",children:l.SERIES_SECTION.BOOKS_IN_SERIES}),o&&(0,t.jsx)(S,{books:d})]})]})}e.s(["default",0,E],325673),e.s(["BookSectionContent",0,S,"default",0,function({sectionClasses:e="container-fluid serieBlock",serie:n}){let i=(0,d.usePageTypeHref)()(s.PAGE_TYPE.BOOKS);return(0,t.jsxs)(p.default,{id:a.LIST_ITEM_TYPE.SERIES,className:e,"data-sentry-element":"SiteSectionBlock","data-sentry-component":"SiteSeriesDetailed","data-sentry-source-file":"index.tsx",children:[(0,t.jsxs)(r.default,{href:i,className:"blockBackLink","data-sentry-element":"SiteLink","data-sentry-source-file":"index.tsx",children:[(0,t.jsx)(u.default,{icon:"chevron_left",alt:o.PAGES.BOOKS,"data-sentry-element":"GlobalIcon","data-sentry-source-file":"index.tsx"}),o.PAGES.BOOKS]}),(0,t.jsx)(h,{serie:n,"data-sentry-element":"FeaturedBookMobile","data-sentry-source-file":"index.tsx"}),(0,t.jsx)(T,{serie:n,"data-sentry-element":"FeaturedBookDesktop","data-sentry-source-file":"index.tsx"})]})}],148564)},638073,e=>{"use strict";e.s(["BLOG",0,{NEW_POST:"New Post",SUBTITLE:"Your Blog page will appear on your site after you publish your first post. Your most recent posts will also be featured on your homepage.",SECTION_SUBTITLE:"The Blog section of your site will only appear if you have published posts.",VIEW_ALL_BLOG_POSTS:"View All Blog Posts",EDIT_BLOG_POST:"Edit Post",DELET
2E_BLOG_POST:"Delete Post",SELECT_BLOG_POST:"Select Post",POST_COVER:"Post Cover",IMAGE_DESCRIPTION:"Recommended image width: 1200px. (16:9). Supported images: JPG, PNG",IMAGE_DESCRIPTION_TOP:"Recommended image width: 1200px. (16:9)",IMAGE_DESCRIPTION_BOTTOM:"Supported images: JPG, PNG",PUBLISH_DATE:"Publish Date",PUBLISH_DATE_DESCRIPTION:"If you set a future date, your post will be scheduled to publish automatically",POST_AUTHOR:"Post Author",POST_STATUS:"Status",POST_SLUG:"Slug",POST_CONTENT:"Content",POST_CONTENT_DESCRIPTION:"Posts featured on the home page will display the first lines of the content",POST_SCHEDULE:"Schedule",POST_PUBLISH:"Publish",POST_SAVE:"Save Changes",POST_UNPUBLISH:"Unpublish",SAVE_AS_DRAFT:"Save as Draft",DRAFT:"Draft",SCHEDULED:"Scheduled",PUBLISHED:"Published",UNPUBLISH:"Unpublish",UNSCHEDULE:"Unschedule",UNPUBLISH_QUESTION:"Unpublish?",UNSCHEDULE_QUESTION:"Unschedule?",BACK_TO_DRAFT_MODAL:"This action will revert the post to private draft status.",POST_COMMENTS_MODE_INHERIT:"inherit",POST_COMMENTS_MODE_ON:"on",POST_COMMENTS_MODE_OFF:"off"},"BOOK_SERIES_MODAL",0,{TITLE:"Add Book to Series",BOOK_TITLE:"Title",BOOK_ORDER_IN_SERIE:"Book Order in Series",BOOK_ORDER_IN_SERIE_OPTIONAL:"(Optional)",BOOK_ORDER_IN_SERIE_DESCRIPTION:"You will be able to edit the order later in Books"},"CUSTOM_PAGES",0,{NEW_PAGE:"New Page",SUBTITLE_1:"Create pages for your site menu, landing use, or internal links. Add images, videos, and more",SUBTITLE_2:"Go to ",SUBTITLE_3:" to reorder pages displayed in the navigation menu.",PAGE_SETTINGS:"Page Settings",EDIT_CUSTOM_PAGE:"Edit Page",NAVIGATION:"Navigation",DISPLAY_IN_MENU:"Display in menu",SHOW_THIS_PAGE_IN_MENU:"Show this page in the menu once published.",SELECT_CUSTOM_PAGE:"Select Page",PAGE_COVER:"Page Cover",IMAGE_DESCRIPTION:"Recommended image width: 1200px. (16:9). Supported images: JPG, PNG",PAGE_STATUS:"Status",PAGE_CONTENT:"Content",PAGE_CONTENT_DESCRIPTION:"Pages featured on the home page will display the first lines of the content",PAGE_PUBLISH:"Publish",SAVE_AS_DRAFT:"Save as Draft",PUBLISHED:"Published",DRAFT:"Draft",UNPUBLISH:"Unpublish",UNPUBLISH_QUESTION:"Unpublish?",BACK_TO_DRAFT_MODAL:"This will revert the page to Draft. <br />Links to this page will stop working after Unpublish. Remember to remove or update them.",PAGE_TITLE:"Page Title",MENU_TITLE:"Menu Title",BEFORE_ADDRESS_NOTICE:"You will see the link to this page after saving",PREVIEW_LINK:"Preview Link",PAGE_ADDRESS:"Page Address",PAGE_ADDRESS_PLACEHOLDER:"You will see the link to this page after saving",PUBLISH_THIS_PAGE:"Publish this page and",PUBLISH_YOUR_SITE:"Publish your site",TO_SHARE_IT_EXTERNALLY:"to share it externally, like on social media",CONFIRM_DELETE_CUSTOM_PAGE_TITLE:"Delete?",CONFIRM_DELETE_CUSTOM_PAGE_MESSAGE:"Links to this page will stop working after delete. Remember to remove or update them."},"EDIT_BOOK",0,{ADD_NEW_BOOK:"Add New Book",IMPORT_VIA_ISBN_OR_ASIN:"Import via ISBN or ASIN",ADD_BOOK_MANUALLY:"Add Book Manually",ISBN_OR_ASIN:"ISBN or ASIN",ENTER_ISBN_OR_ASIN:"Enter ISBN/ASIN",OR:"OR",EDIT_BOOK_TITLE:"Edit Book",BOOK_DETAILS_TAB:"Details",REVIEWS_TAB:"Reviews",RETAILERS_TAB:"Retailers",SELL_DIRECT_TAB:"Sell Direct",IMPORTING_BOOK:"Importing Book",SELECT_BOOK:"Select a Book",BOOK_COVER:"Book Cover",IMAGES:"Images",IMAGES_DESCRIPTION:"Add more images for the book detail page — back cover, interior spreads, or edition-specific shots. Your cover leads the page and shows on your homepage and in listings.",UPLOAD_NEW:"Upload New",IS_ACTIVE:"Active",IS_ACTIVE_INPUT_LABEL:"Display in website",BOOK_TITLE:"Title",BOOK_ISBN:"ISBN",BOOK_INTERNAL_IDENTIFIER:"Internal Identifier",BOOK_SLUG:"Page Address",BOOK_SLUG_DESCRIPTION:"Use only lowercase letters, numbers, and hyphens. No special characters or spaces (e.g., 'book-title')",RELEASE_DATE:"Release Date",DESCRIPTION:"Description",DESCRIPTION_DESCRIPTION:"Books on the homepage show only the first lines. Full description on Book Detail page",PROMO_PRE_HEADLINE:"Caption",PROMO_PRE_HEADLINE_PLACEHOLDER:'eg. "New Release"',PROMO_PRE_HEADLINE_DESCRIPTION:"Appears above your book's title",REVIEWS:"Reviews",REVIEW:"Review",REVIEW_PLACEHOLDER:'e.g., "Best Book of the Century"',REVIEW_SOURCE:"Source",REVIEW_SOURCE_PLACEHOLDER:"e.g., Jane Smith, The New York Times",EXTERNAL_RETAILERS:"External Retailers",PURCHASE_OPTIONS_ORDER:"Links Order",PURCHASE_OPTIONS_RETAILER:"Retailer",PURCHASE_OPTIONS_RETAILER_CUSTOM_LABEL:"Retailer Name",PURCHASE_OPTIONS_RETAILER_CUSTOM_URL:"Link",PURCHASE_OPTIONS_RETAILER_AFFILIATE_LINK:"This is an affiliate link",PURCHASE_OPTIONS_DEFAULT_SELECTION:"Use default selection from Retailers",PURCHASE_OPTIONS_DEFAULT_SELECTION_LINK:"Use default selection from [LINK]Retailers[/LINK]",PURCHASE_OPTIONS_USE_DEFAULT_RETAILERS:"Use default retailers",PURCHASE_OPTIONS_CUSTOM_OPTIONS:"Use custom options",ADD_LINK:"+ Add link",ACTIVE_BOOKS:"Active Books",INACTIVE_BOOKS:"Inactive Books",BOOKS_ON_PAGE:"Books on Page",BOOKS_NOT_ON_PAGE:"Books not on Page",BOOK_ORDER_IN_SERIE:"Book Order in Series",SEARCH_ENGINE_SETTINGS:"Search Engine Settings",BOOKS_APPEAR:"Your books will appear here when",IMPORT_COMPLETE:"the import is complete",
2SERIES:"Series",SERIES_DESCRIPTION:"Edit your series in",NO_SERIES_YET:"There are no series yet.",UPDATING_PURCHASE_LINKS:"Updating Retailers",PURCHASE_LINKS_UPDATE_INFO:"Your Retailer options will appear here once the update is complete."},"EDIT_RETAILERS",0,{RETAILER_TYPE:"Type",RETAILER_NAME:"Name",RETAILER_URL:"URL",RETAILER_CUSTOM_URL:"Custom URL",DRAGGABLE_LIST_ACTIVE_LIST_TITLE:"Active Links",DRAGGABLE_LIST_INACTIVE_LIST_TITLE:"Inactive Links",DRAGGABLE_LIST_EXTRA_LIST_TITLE:"Add purchase links"},"EDIT_SERIES",0,{SERIES:"Series",BOOKS:"Books",MISSING_TITLE:"Missing a title? Go to ",TO_ADD_IT:" to add it",IS_FEATURED:"Featured",IS_ACTIVE_INPUT_LABEL:"Display this series on Home",NAME:"Name",DESCRIPTION:"Description",DESCRIPTION_DESCRIPTION:"Recommended: 200 characters or less",DESCRIPTION_BOTTOM_DESCRIPTION:"You will be able to edit this description later in Series",RELEASE_DATE:"Release Date",EDIT_SERIES_TITLE:"Edit Series",SELECT_SERIES:"Select a Series",DRAGGABLE_LIST_ACTIVE_LIST_TITLE:"Active Books",DRAGGABLE_LIST_INACTIVE_LIST_TITLE:"Inactive Books",DRAGGABLE_LIST_EXTRA_LIST_TITLE:"Add Books"},"EDIT_SOCIAL_LINKS",0,{SOCIAL_LINKS_TITLE:"Social Links",ADD_SOCIAL_LINKS_TITLE:"Add Social Links",SOCIAL_LINKS_DESCRIPTION:"Display links to your social media profiles in website header and footer. Drag to change the order in which they are displayed.",DRAGGABLE_LIST_ACTIVE_LIST_TITLE:"Active Links",DRAGGABLE_LIST_INACTIVE_LIST_TITLE:"Inactive Links",DRAGGABLE_LIST_EXTRA_LIST_TITLE:"Add Social Links",ADD_SOCIAL_LINK:"Add Link",SOCIAL_LINK_TYPE:"Type",SOCIAL_LINK_CUSTOM_LABEL:"Link label to display",SOCIAL_LINK_CUSTOM_URL:"Your Link",SOCIAL_LINK_PROFILE_URL:"Your Profile Link",SOCIAL_LINK_URL_INVALID:"Enter the full web address of your profile, for example https://www.facebook.com/yourpage",SOCIAL_LINK_URL_INVALID_HOST:"This is not a complete website address. Check the part after https:// — for example www.facebook.com",SOCIAL_LINK_URL_HAS_SPACES:"A web address cannot contain spaces or hidden characters. Retype it and try again.",SOCIAL_LINK_URL_HAS_CREDENTIALS:"Remove the @ before the website name — the address has to point straight at your profile, for example https://www.facebook.com/yourpage",SOCIAL_LINK_URL_UNSUPPORTED_SCHEME:"A social link has to be a web address starting with http:// or https://",SOCIAL_LINK_SAVED_URL_BLOCKS_SAVE:"Fix this link to save changes to your social links.",SUBTITLE:"Display links to your social media profiles in website header and footer. Drag to change the order in which they are displayed."},"EVENTS",0,{EDIT_EVENT_TITLE:"Edit Event",SELECT_EVENT:"Select Event",UPCOMING_EVENTS:"Upcoming Events",PAST_EVENTS:"Past Events",VIEW_ALL_EVENTS:"View All Events",SECTION_SUBTITLE:"Events section will appear on your Home only if you have upcoming events. Up to three of your next events will be featured automatically.",SUBTITLE:"Add events to create your Events page. Your first 3 upcoming events will also be featured on your homepage.",DESCRIPTION_DESCRIPTION:"Events featured on the home page will display the first lines of this description",LINK:"Link",IMAGE:"Image",IMAGE_BUTTON_LABEL:"Add Image",IMAGE_DESCRIPTION:"Recommended image width: 1200px. Supported images: JPG, PNG",START_DATE:"Date",START_TIME:"Time",END_DATE:"End Date",END_TIME:"End Time",WITH_END_DATE:"Add end date",SEARCH_AUTOCOMPLETE_PLACEHOLDER:"Search for an address or a place",ADDRESS:"Address",FORMATTED_ADDRESS:"Formatted Address",LATITUDE:"Latitude",LONGITUDE:"Longitude",PLACE_ID:"Place ID",STREET:"Street",CITY:"City",STATE:"State",POSTAL_CODE:"Postal Code",COUNTRY:"Country",UPCOMING:"Upcoming",PAST:"Past",EVENT_DATE:"Event Date",EVENT_ADDRESS:"Event Address",EVENT_LINK:"Event Link"}])},427621,e=>{"use strict";var t=e.i(719525),r=e.i(353645),n=e.i(429741),i=e.i(128331),a=e.i(962008);e.s(["usePageTypeHref",0,function(){let{currentSiteSlug:e,pages:s}=(0,i.useCurrentProperties)(),{appData:o}=(0,a.useStoreContext)(),l=(0,n.getWebsiteBase)(e,o?.siteHost);return function(e){let n=s?.find(t=>t?.type===e)?.slug??"";return!n&&((n=t.PAGE_SLUG[e]||"")||(n=e||"")),(0,r.buildUrl)({siteUrl:l,pageSlug:n})}}])},155683,865871,887482,e=>{"use strict";let t,r;var n=e.i(271645);let i=new Set,a=new WeakMap,s=new WeakMap,o=new WeakMap,l=new WeakMap,d=new WeakMap,u=new WeakMap,c=new WeakMap,p=new WeakMap,m=new WeakSet,f=0,E=0,h="__aa_tgt",S="__aa_del",T="__aa_new",_=e=>{var r;let n=!(r=e).reduce((e,t)=>
2[...e,...Array.from(t.addedNodes),...Array.from(t.removedNodes)],[]).every(e=>"#comment"===e.nodeName)&&r.reduce((e,t)=>{if(!1===e)return!1;if(t.target instanceof Element){if(A(t.target),!e.has(t.target)){e.add(t.target);for(let r=0;r<t.target.children.length;r++){let n=t.target.children.item(r);if(n){if(S in n)return!1;A(t.target,n),e.add(n)}}}if(t.removedNodes.length)for(let r=0;r<t.removedNodes.length;r++){let n=t.removedNodes[r];if(S in n)return!1;n instanceof Element&&(e.add(n),A(t.target,n),s.set(n,[t.previousSibling,t.nextSibling]))}}return e},new Set);n&&n.forEach(e=>{var r,n,i;let l,d;return l=(r=e).isConnected,d=a.has(r),void(l&&s.has(r)&&s.delete(r),(null==(n=o.get(r))?void 0:n.playState)!=="finished"&&(null==(i=o.get(r))||i.cancel()),T in r?k(r):d&&l?function(e){let t,r=a.get(e),n=v(e);if(!P(e))return a.set(e,n);if(g(e)){a.set(e,n),I(e);return}if(!r)return;let i=b(e);if("function"!=typeof i){let a=r.left-n.left,s=r.top-n.top,o=r.left+r.width-(n.left+n.width);0==r.top+r.height-(n.top+n.height)&&(s=0),0==o&&(a=0);let[l,d,u,c]=x(e,r,n),p={transform:`translate(${a}px, ${s}px)`},m={transform:"translate(0, 0)"};l!==d&&(p.width=`${l}px`,m.width=`${d}px`),u!==c&&(p.height=`${u}px`,m.height=`${c}px`),t=e.animate([p,m],{duration:i.duration,easing:i.easing})}else{let[a]=D(i(e,"remain",r,n));(t=new Animation(a)).play()}o.set(e,t),a.set(e,n),t.addEventListener("finish",y.bind(null,e,!1),{once:!0})}(r):d&&!l?function(e){var r;let n;if(!s.has(e)||!a.has(e))return;let[i,l]=s.get(e);Object.defineProperty(e,S,{value:!0,configurable:!0});let d=window.scrollX,u=window.scrollY;if(l&&l.parentNode&&l.parentNode instanceof Element?l.parentNode.insertBefore(e,l):i&&i.parentNode?i.parentNode.appendChild(e):null==(r=C(e))||r.appendChild(e),!P(e))return M(e);let[c,p,m,h]=function(e){var t;let r=a.get(e),[n,,i]=x(e,r,v(e)),s=e.parentElement;for(;s&&("static"===getComputedStyle(s).position||s instanceof HTMLBodyElement);)s=s.parentElement;s||(s=document.body);let l=getComputedStyle(s),d=o.has(e)&&(null==(t=o.get(e))?void 0:t.playState)!=="finished"?a.get(s):v(s);return[Math.round(r.top-d.top)-L(l.borderTopWidth),Math.round(r.left-d.left)-L(l.borderLeftWidth),n,i]}(e),T=b(e),_=a.get(e);(d!==f||u!==E)&&function(e,r,n,i){let a=f-r,s=E-n,o=document.documentElement.style.scrollBehavior;if("smooth"===getComputedStyle(t).scrollBehavior&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+a,window.scrollY+s),!e.parentElement)return;let l=e.parentElement,d=l.clientHeight,u=l.clientWidth,c=performance.now();!function e(){requestAnimationFrame(()=>{if(!B(i)){let t=d-l.clientHeight,r=u-l.clientWidth;c+i.duration>performance.now()?(window.scrollTo({left:window.scrollX-r,top:window.scrollY-t}),d=l.clientHeight,u=l.clientWidth,e()):document.documentElement.style.scrollBehavior=o}})}()}(e,d,u,T);let g={position:"absolute",top:`${c}px`,left:`${p}px`,width:`${m}px`,height:`${h}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(B(T)){let[t,r]=D(T(e,"remove",_));(null==r?void 0:r.styleReset)!==!1&&(g=(null==r?void 0:r.styleReset)||g,Object.assign(e.style,g)),(n=new Animation(t)).play()}else Object.assign(e.style,g),n=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}
2],{duration:T.duration,easing:"ease-out"});o.set(e,n),n.addEventListener("finish",()=>M(e,g),{once:!0})}(r):k(r))})};function g(e){let r=e.getBoundingClientRect(),n=(null==t?void 0:t.clientWidth)||0,i=(null==t?void 0:t.clientHeight)||0;return r.bottom<0||r.top>i||r.right<0||r.left>n}function I(e){let r=l.get(e);null==r||r.disconnect();let n=a.get(e),i=0;n||(n=v(e),a.set(e,n));let{offsetWidth:s,offsetHeight:o}=t,d=[n.top-5,s-(n.left+5+n.width),o-(n.top+5+n.height),n.left-5].map(e=>`${-1*Math.floor(e)}px`).join(" "),u=new IntersectionObserver(()=>{++i>1&&y(e)},{root:t,threshold:1,rootMargin:d});u.observe(e),l.set(e,u)}function y(e,t=!0){clearTimeout(p.get(e));let r=b(e),n=t?B(r)?500:r.duration:0;p.set(e,setTimeout(async()=>{let t=o.get(e);try{await (null==t?void 0:t.finished),a.set(e,v(e)),I(e)}catch{}},n))}function O(e){setTimeout(()=>{u.set(e,setInterval(()=>R(y.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function R(e){"function"==typeof requestIdleCallback?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let N="u">typeof window&&"ResizeObserver"in window;function A(e,t){t||h in e?!t||h in t||Object.defineProperty(t,h,{value:e}):Object.defineProperty(e,h,{value:e})}function L(e){return Number(e.replace(/[^0-9.\-]/g,""))}function v(e){let t=e.getBoundingClientRect(),{x:r,y:n}=function(e){let t=e.parentElement;for(;t;){if(t.scrollLeft||t.scrollTop)return{x:t.scrollLeft,y:t.scrollTop};t=t.parentElement}return{x:0,y:0}}(e);return{top:t.top+n,left:t.left+r,width:t.width,height:t.height}}function x(e,t,r){let n=t.width,i=t.height,a=r.width,s=r.height,o=getComputedStyle(e);if("content-box"===o.getPropertyValue("box-sizing")){let e=L(o.paddingTop)+L(o.paddingBottom)+L(o.borderTopWidth)+L(o.borderBottomWidth),t=L(o.paddingLeft)+L(o.paddingRight)+L(o.borderRightWidth)+L(o.borderLeftWidth);n-=t,a-=t,i-=e,s-=e}return[n,a,i,s].map(Math.round)}function b(e){return h in e&&c.has(e[h])?c.get(e[h]):{duration:250,easing:"ease-in-out"}}function C(e){if(h in e)return e[h]}function P(e){let t=C(e);return!!t&&m.has(t)}function w(e,...t){t.forEach(t=>t(e,c.has(e)));for(let r=0;r<e.children.length;r++){let n=e.children.item(r);n&&t.forEach(e=>e(n,c.has(n)))}}function D(e){return Array.isArray(e)?e:[e]}function B(e){return"function"==typeof e}function k(e){let t;T in e&&delete e[T];let r=v(e);a.set(e,r);let n=b(e);if(P(e)){if(g(e))return void I(e);if("function"!=typeof n)t=e.animate([{transform:"scale(.98)",opacity:0}
2,{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:1.5*n.duration,easing:"ease-in"});else{let[i]=D(n(e,"add",r));(t=new Animation(i)).play()}o.set(e,t),t.addEventListener("finish",y.bind(null,e,!1),{once:!0})}}function M(e,t){var r;e.remove(),a.delete(e),s.delete(e),o.delete(e),null==(r=l.get(e))||r.disconnect(),setTimeout(()=>{if(S in e&&delete e[S],Object.defineProperty(e,T,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(let r in t)e.style[r]=""},0)}N&&(t=document.documentElement,new MutationObserver(_),r=new ResizeObserver(e=>{e.forEach(e=>{e.target===t&&(clearTimeout(p.get(t)),p.set(t,setTimeout(()=>{i.forEach(e=>w(e,e=>R(()=>y(e))))},100))),a.has(e.target)&&y(e.target)})}),window.addEventListener("scroll",()=>{E=window.scrollY,f=window.scrollX}),r.observe(t)),e.s(["useAutoAnimate",0,function(e){let[t,f]=(0,n.useState)(),E=(0,n.useMemo)(()=>e,[]),h=(0,n.useCallback)(e=>{e instanceof HTMLElement?f(function(e,t={}){if(N&&r&&!(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!B(t)&&!t.disrespectUserMotionPreference)){m.add(e),"static"===getComputedStyle(e).position&&Object.assign(e.style,{position:"relative"}),w(e,y,O,e=>null==r?void 0:r.observe(e)),B(t)?c.set(e,t):c.set(e,{duration:250,easing:"ease-in-out",...t});let n=new MutationObserver(_);n.observe(e,{childList:!0}),d.set(e,n),i.add(e)}return Object.freeze({parent:e,enable:()=>{m.add(e)},disable:()=>{m.delete(e),w(e,e=>{let t=o.get(e);try{null==t||t.cancel()}catch{}o.delete(e);let r=p.get(e);r&&clearTimeout(r),p.delete(e);let n=u.get(e);n&&clearInterval(n),u.delete(e)})},isEnabled:()=>m.has(e),destroy:()=>{m.delete(e),i.delete(e),c.delete(e);let t=d.get(e);null==t||t.disconnect(),d.delete(e),w(e,e=>{null==r||r.unobserve(e);let t=o.get(e);try{null==t||t.cancel()}catch{}o.delete(e);let n=l.get(e);null==n||n.disconnect(),l.delete(e);let i=u.get(e);i&&clearInterval(i),u.delete(e);let d=p.get(e);d&&clearTimeout(d),p.delete(e),a.delete(e),s.delete(e)})}})}(e,E)):f(void 0)},[E]),S=(0,n.useCallback)(e=>{t&&(e?t.enable():t.disable())},[t]);return(0,n.useEffect)(()=>()=>{var e;null==(e=null==t?void 0:t.destroy)||e.call(t)},[t]),[h,S]}],155683);var U=e.i(142713);async function j(){let e={screen:function(){try{let e=screen.width||screen.availWidth||0,t=screen.height||screen.availHeight||0,r=screen.colorDepth||24,n=window.devicePixelRatio||1;return[e,t,r,n].join("x")}catch(e){return console.warn("⚠️ [Fingerprint] Error getting screen info:",e),"0x0x24x1"}}(),timezone:function(){try{return new Date().getTimezoneOffset()}catch(e){return console.warn("⚠️ [Fingerprint] Error getting timezone:",e),0}}(),language:function(){try{return navigator.language||navigator.userLanguage||navigator.browserLanguage||""}catch(e){return console.warn("⚠️ [Fingerprint] Error getting language:",e),""}}(),platform:function(){try{if(navigator.platform)return navigator.platform;let e=navigator.userAgent.toLowerCase();if(e.includes("win"))return"Windows";if(e.includes("mac"))return"MacIntel";if(e.includes("linux"))return"Linux";if(e.includes("android"))return"Android";if(e.includes("iphone")||e.includes("ipad"))return"iOS";return"Unknown"}catch(e){return console.warn("⚠️ [Fingerprint] Error getting platform:",e),"Unknown"}}(),userAgent:function(){try{return navigator.userAgent||""}catch(e){return console.warn("⚠️ [Fingerprint] Error getting user agent:",e),""}}(),touchSupport:function(){try{return"ontouchstart"in window||navigator.maxTouchPoints&&navigator.maxTouchPoints>0||navigator.msMaxTouchPoints&&navigator.msMaxTouchPoints>0}catch(e){return console.warn("⚠️ [Fingerprint] Error detecting touch:",e),!1}}(),hardwareConcurrency:function(){try{return navigator.hardwareConcurrency||0}catch(e){return console.warn("⚠️ [Fingerprint] Error getting hardware concurrency:",e),0}}()};return{fingerprint:await F(e),...e}}async function F(e){let t=JSON.stringify(e);if(window.crypto&&window.crypto.subtle)try{let e=new TextEncoder().encode(t),r=await window.crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(r)).map(e=>e.toString(16).padStart(2,"0")).join("")}catch(e){}let r=0;for(let e=0;e<t.length;e++)r=(r<<5)-r+t.charCodeAt(e),r&=r;return Math.abs(r).toString(16)}e.s(["validateClientSide",0,function(e){return e&&""!==e.trim()?{allowed:!1,reason:"honeypot_filled",userMessage:U.ANTIBOT_ERROR.HONEYPOT_FILLED}:{allowed:!0}}],865871),e.s(["useBehaviorTracking",0,()=>
2{let[e,t]=(0,n.useState)({fingerprint:null,mouseMovements:0,keyPresses:0,fieldFocusChanges:0,formStartTime:Date.now(),fillTime:0,timeBetweenFields:[],mouseTrajectory:[],keystrokeData:[],copyPasteCount:0}),r=(0,n.useRef)(0),i=(0,n.useRef)(0),a=(0,n.useRef)(new Map),s=(0,n.useRef)(0);return(0,n.useEffect)(()=>{j().then(e=>{t(t=>({...t,fingerprint:e}))});let e=e=>{let r=Date.now();r-i.current<100||(i.current=r,t(t=>({...t,mouseMovements:t.mouseMovements+1,mouseTrajectory:[...t.mouseTrajectory.slice(-20),{x:e.clientX,y:e.clientY,timestamp:r}]})))},r=e=>{let r=Date.now();if(r-i.current<100)return;i.current=r;let n=e.touches[0];n&&t(e=>({...e,mouseMovements:e.mouseMovements+1,mouseTrajectory:[...e.mouseTrajectory.slice(-20),{x:n.clientX,y:n.clientY,timestamp:r}]}))},n=e=>{let t=Date.now(),r=e.key;!["Shift","Control","Alt","Meta"].includes(r)&&(a.current.has(r)||a.current.set(r,t))},o=e=>{let r=Date.now(),n=e.key;if(["Shift","Control","Alt","Meta"].includes(n))return;let i=a.current.get(n);if(!i)return;let o=s.current>0?i-s.current:void 0,l={key:n,keyDownTime:i,keyUpTime:r,dwellTime:r-i,flightTime:o};t(e=>({...e,keyPresses:e.keyPresses+1,keystrokeData:[...e.keystrokeData.slice(-50),l]})),s.current=r,a.current.delete(n)},l=()=>{t(e=>({...e,copyPasteCount:e.copyPasteCount+1}))};return document.addEventListener("mousemove",e),document.addEventListener("touchmove",r,{passive:!0}),document.addEventListener("keydown",n),document.addEventListener("keyup",o),document.addEventListener("paste",l),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("touchmove",r),document.removeEventListener("keydown",n),document.removeEventListener("keyup",o),document.removeEventListener("paste",l)}},[]),{behaviorData:e,trackFieldFocus:()=>{let e=Date.now();if(r.current>0){let n=e-r.current;t(e=>({...e,fieldFocusChanges:e.fieldFocusChanges+1,timeBetweenFields:[...e.timeBetweenFields,n]}))}r.current=e},calculateFillTime:()=>{let r=Date.now()-e.formStartTime;return t(e=>({...e,fillTime:r})),r}}}],887482)},380157,338594,e=>{"use strict";var t=e.i(271645);e.i(31055),e.i(101094);var r=e.i(859498);e.s(["default",0,function(e,n,i,a=!1){let s=(0,r.default)(i);(0,t.useEffect)(()=>{let t="function"==typeof e?e():e;return t.addEventListener(n,s,a),()=>t.removeEventListener(n,s,a)},[e])}],338594),e.i(873396),e.i(289928),e.i(399342),new WeakMap;var n=e.i(674951),i=e.i(843476);let a=["onKeyDown"],s=t.forwardRef((e,t)=>{var s;let{onKeyDown:o}=e,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,a),[d]=(0,n.useButtonProps)(Object.assign({tagName:"a"},l)),u=(0,r.default)(e=>{d.onKeyDown(e),null==o||o(e)});return(s=l.href)&&"#"!==s.trim()&&"button"!==l.role?(0,i.jsx)("a",Object.assign({ref:t},l,{onKeyDown:o})):(0,i.jsx)("a",Object.assign({ref:t},l,d,{onKeyDown:u}))});s.displayName="Anchor",e.s(["default",0,s],380157)},31055,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(){return(0,t.useState)(null)}])},638743,(e,t,r)=>{"use strict";t.exports=function(e,t,r,n,i,a,s,o){if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[r,n,i,a,s,o],u=0;(l=Error(t.replace(/%s/g,function(){return d[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},232189,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,r)=>{"use strict";var n=e.r(232189);function i(){}function a(){}a.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,a,s){if(s!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
2;return r.PropTypes=r,r}},745009,(e,t,r)=>{t.exports=e.r(865156)()},612866,e=>{"use strict";var t=e.i(343794),r=e.i(271645);e.i(749892);var n=e.i(226449),i=e.i(970468),a=e.i(650582),s=e.i(978900),o=e.i(843476);let l=(0,s.default)("h4");l.displayName="DivStyledAsH4";let d=r.forwardRef(({className:e,bsPrefix:r,as:n=l,...i},s)=>(r=(0,a.useBootstrapPrefix)(r,"alert-heading"),(0,o.jsx)(n,{ref:s,className:(0,t.default)(e,r),...i})));d.displayName="AlertHeading";var u=e.i(380157);let c=r.forwardRef(({className:e,bsPrefix:r,as:n=u.default,...i},s)=>(r=(0,a.useBootstrapPrefix)(r,"alert-link"),(0,o.jsx)(n,{ref:s,className:(0,t.default)(e,r),...i})));c.displayName="AlertLink";var p=e.i(870282),m=e.i(114534);let f=r.forwardRef((e,r)=>{let{bsPrefix:s,show:l=!0,closeLabel:d="Close alert",closeVariant:u,className:c,children:f,variant:E="primary",onClose:h,dismissible:S,transition:T=p.default,..._}=(0,n.useUncontrolled)(e,{show:"onClose"}),g=(0,a.useBootstrapPrefix)(s,"alert"),I=(0,i.default)(e=>{h&&h(!1,e)}),y=!0===T?p.default:T,O=(0,o.jsxs)("div",{role:"alert",...!y?_:void 0,ref:r,className:(0,t.default)(c,g,E&&`${g}-${E}`,S&&`${g}-dismissible`),children:[S&&(0,o.jsx)(m.default,{onClick:I,"aria-label":d,variant:u}),f]});return y?(0,o.jsx)(y,{unmountOnExit:!0,..._,ref:void 0,in:l,children:O}):l?O:null});f.displayName="Alert";let E=Object.assign(f,{Link:c,Heading:d});e.s(["default",0,E],612866)},496178,e=>{"use strict";var t=e.i(612866);e.s(["Alert",()=>t.default])},568874,e=>{"use strict";var t=e.i(343794),r=e.i(271645),n=e.i(650582),i=e.i(843476);function a({as:e,bsPrefix:r,className:i,...s}){r=(0,n.useBootstrapPrefix)(r,"col");let o=(0,n.useBootstrapBreakpoints)(),l=(0,n.useBootstrapMinBreakpoint)(),d=[],u=[];return o.forEach(e=>{let t,n,i,a=s[e];delete s[e],"object"==typeof a&&null!=a?{span:t,offset:n,order:i}=a:t=a;let o=e!==l?`-${e}`:"";t&&d.push(!0===t?`${r}${o}`:`${r}${o}-${t}`),null!=i&&u.push(`order${o}-${i}`),null!=n&&u.push(`offset${o}-${n}`)}),[{...s,className:(0,t.default)(i,...d,...u)},{as:e,bsPrefix:r,spans:d}]}let s=r.forwardRef((e,r)=>{let[{className:n,...s},{as:o="div",bsPrefix:l,spans:d}]=a(e);return(0,i.jsx)(o,{...s,ref:r,className:(0,t.default)(n,!d.length&&l)})});s.displayName="Col",e.s(["default",0,s,"useCol",0,a])},359565,e=>{"use strict";var t=e.i(271645);e.s(["hasChildOfType",0,function(e,r){return t.Children.toArray(e).some(e=>t.isValidElement(e)&&e.type===r)},"map",0,function(e,r){let n=0;return t.Children.map(e,e=>t.isValidElement(e)?r(e,n++):e)}])},617881,840470,e=>{"use strict";var t=e.i(343794),r=e.i(745009),n=e.i(271645),i=e.i(843476);let a={type:r.default.string,tooltip:r.default.bool,as:r.default.elementType},s=n.forwardRef(({as:e="div",className:r,type:n="valid",tooltip:a=!1,...s},o)=>(0,i.jsx)(e,{...s,ref:o,className:(0,t.default)(r,`${n}-${a?"tooltip":"feedback"}`)}));s.displayName="Feedback",s.propTypes=a;let o=n.createContext({});var l=e.i(650582);let d=n.forwardRef(({id:e,bsPrefix:r,className:a,type:s="checkbox",isValid:d=!1,isInvalid:u=!1,as:c="input",...p},m)=>{let{controlId:f}=(0,n.useContext)(o);return r=(0,l.useBootstrapPrefix)(r,"form-check-input"),(0,i.jsx)(c,{...p,ref:m,type:s,id:e||f,className:(0,t.default)(a,r,d&&"is-valid",u&&"is-invalid")})});d.displayName="FormCheckInput",e.s(["default",0,d],840470);let u=n.forwardRef(({bsPrefix:e,className:r,htmlFor:a,...s},d)=>{let{controlId:u}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-check-label"),(0,i.jsx)("label",{...s,ref:d,htmlFor:a||u,className:(0,t.default)(r,e)})});u.displayName="FormCheckLabel";var c=e.i(359565);let p=n.forwardRef(({id:e,bsPrefix:r,bsSwitchPrefix:a,inline:p=!1,reverse:m=!1,disabled:f=!1,isValid:E=!1,isInvalid:h=!1,feedbackTooltip:S=!1,feedback:T,feedbackType:_,className:g,style:I,title:y="",type:O="checkbox",label:R,children:N,as:A="input",...L},v)=>{r=(0,l.useBootstrapPrefix)(r,"form-check"),a=(0,l.useBootstrapPrefix)(a,"form-switch");let{controlId:x}=(0,n.useContext)(o),b=(0,n.useMemo)(()=>({controlId:e||x}),[x,e]),C=!N&&null!=R&&!1!==R||(0,c.hasChildOfType)(N,u),P=(0,i.jsx)(d,{...L,type:"switch"===O?"checkbox":O,ref:v,isValid:E,isInvalid:h,disabled:f,as:A});return(0,i.jsx)(o.Provider,{value:b,children:(0,i.jsx)("div",{style:I,className:(0,t.default)(g,C&&r,p&&`${r}-inline`,m&&`${r}-reverse`,"switch"===O&&a),children:N||(0,i.jsxs)(i.Fragment,{children:[P,C&&(0,i.jsx)(u,{title:y,children:R}),T&&(0,i.jsx)(s,{type:_,tooltip:S,children:T})]})})})});p.displayName="FormCheck";let m=Object.assign(p,{Input:d,Label:u});e.i(442656);let f=n.forwardRef(({bsPrefix:e,type:r,size:a,htmlSize:s,id:d,className:u,isValid:c=!1,isInvalid:p=!1,plaintext:m,readOnly:f,as:E="input",...h},S)=>{let{controlId:T}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-control"),(0,i.jsx)(E,{...h,type:r,size:s,ref:S,readOnly:f,id:d||T,className:(0,t.default)(u,m?`${e}-plaintext`:e,a&&`${e}-${a}`,"color"===r&&`${e}-color`,c&&"is-valid",p&&"is-invalid")})});f.displayName="FormControl";let E=Object.assign(f,{Feedback:s}),h=n.forwardRef(({className:e,bsPrefix:r,as:n="div",...a},s)=>(r=(0,l.useBootstrapPrefix)(r,"form-floating"),(0,i.jsx)(n,{ref:s,className:(0,t.default)(e,r),...a})));h.displayName="FormFloating";let S=n.forwardRef(({controlId:e,as:t="div",...r},a)=>{let s=(0,n.useMemo)(()=>({controlId:e}),[e]);return(0,i.jsx)(o.Provider,{value:s,children:(0,i.jsx)(t,{...r,ref:a})})});S.displayName="FormGroup";var T=e.i(568874);let _=n.forwardRef(({as:e="label",bsPrefix:r,column:a=!1,visuallyHidden:s=!1,className:d,htmlFor:u,...c},p)=>{let{controlId:m}=(0,n.useContext)(o);r=(0,l.useBootstrapPrefix)(r,"form-label");let f="col-form-label";"string"==typeof a&&(f=`${f} ${f}-${a}`);let E=(0,t.default)(d,r,s&&"visually-hidden",a&&f);return(u=u||m,a)?(0,i.jsx)(T.default,{ref:p,as:"label",className:E,htmlFor:u,...c}):(0,i.jsx)(e,{ref:p,className:E,htmlFor:u,...c})});_.displayName="FormLabel";let g=n.forwardRef(({bsPrefix:e,className:r,id:a,...s},d)=>{let{controlId:u}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-range"),(0,i.jsx)("input",{...s,type:"range",ref:d,className:(0,t.default)(r,e),id:a||u})});g.displayName="FormRange";let I=n.forwardRef(({bsPrefix:e,size:r,htmlSize:a,className:s,isValid:d=!1,isInvalid:u=!1,id:c,...p},m)=>{let{controlId:f}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-select"),(0,i.jsx)("select",{...p,size:a,ref:m,className:(0,t.default)(s,e,r&&`${e}-${r}`,d&&"is-valid",u&&"is-invalid"),id:c||f})});I.displayName="FormSelect";let y=n.forwardRef(({bsPrefix:e,className:r,as:n="small",muted:a,...s},o)=>
2(e=(0,l.useBootstrapPrefix)(e,"form-text"),(0,i.jsx)(n,{...s,ref:o,className:(0,t.default)(r,e,a&&"text-muted")})));y.displayName="FormText";let O=n.forwardRef((e,t)=>(0,i.jsx)(m,{...e,ref:t,type:"switch"}));O.displayName="Switch";let R=Object.assign(O,{Input:m.Input,Label:m.Label}),N=n.forwardRef(({bsPrefix:e,className:r,children:n,controlId:a,label:s,...o},d)=>(e=(0,l.useBootstrapPrefix)(e,"form-floating"),(0,i.jsxs)(S,{ref:d,className:(0,t.default)(r,e),controlId:a,...o,children:[n,(0,i.jsx)("label",{htmlFor:a,children:s})]})));N.displayName="FloatingLabel";let A={_ref:r.default.any,validated:r.default.bool,as:r.default.elementType},L=n.forwardRef(({className:e,validated:r,as:n="form",...a},s)=>(0,i.jsx)(n,{...a,ref:s,className:(0,t.default)(e,r&&"was-validated")}));L.displayName="Form",L.propTypes=A;let v=Object.assign(L,{Group:S,Control:E,Floating:h,Check:m,Switch:R,Label:_,Text:y,Range:g,Select:I,FloatingLabel:N});e.s(["default",0,v],617881)},998699,e=>{"use strict";var t=e.i(617881);e.s(["Form",()=>t.default])},442116,e=>{"use strict";var t=e.i(343794),r=e.i(271645),n=e.i(650582),i=e.i(380157),a=e.i(843476);let s=r.forwardRef(({active:e=!1,disabled:r=!1,className:n,style:s,activeLabel:o="(current)",children:l,linkStyle:d,linkClassName:u,as:c=i.default,...p},m)=>{let f=e||r?"span":c;return(0,a.jsx)("li",{ref:m,style:s,className:(0,t.default)(n,"page-item",{active:e,disabled:r}),children:(0,a.jsxs)(f,{className:(0,t.default)("page-link",u),style:d,...p,children:[l,e&&o&&(0,a.jsx)("span",{className:"visually-hidden",children:o})]})})});function o(e,t,n=e){let i=r.forwardRef(({children:e,...r},i)=>(0,a.jsxs)(s,{...r,ref:i,children:[(0,a.jsx)("span",{"aria-hidden":"true",children:e||t}),(0,a.jsx)("span",{className:"visually-hidden",children:n})]}));return i.displayName=e,i}s.displayName="PageItem";let l=o("First","«"),d=o("Prev","‹","Previous"),u=o("Ellipsis","…","More"),c=o("Next","›"),p=o("Last","»"),m=r.forwardRef(({bsPrefix:e,className:r,size:i,...s},o)=>{let l=(0,n.useBootstrapPrefix)(e,"pagination");return(0,a.jsx)("ul",{ref:o,...s,className:(0,t.default)(r,l,i&&`${l}-${i}`)})});m.displayName="Pagination";let f=Object.assign(m,{First:l,Prev:d,Ellipsis:u,Item:s,Next:c,Last:p});e.s(["default",0,f],442116)},741823,e=>{"use strict";e.s(["default",0,function(...e){return e.filter(e=>null!=e).reduce((e,t)=>{if("function"!=typeof t)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(...r){e.apply(this,r),t.apply(this,r)}},null)}])},226449,e=>{"use strict";var t=e.i(115539);e.s(["useUncontrolled",()=>t.default])},749892,931067,115539,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}e.s(["default",()=>t],931067);var r=e.i(915874),n=e.i(271645);function i(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function a(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function s(e,t,r){var i=(0,n.useRef)(void 0!==e),a=(0,n.useState)(t),s=a[0],o=a[1],l=void 0!==e,d=i.current;return i.current=l,!l&&d&&s!==t&&o(t),[l?e:s,(0,n.useCallback)(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r&&r.apply(void 0,[e].concat(n)),o(e)},[r])]}e.s(["default",0,function(e,n){return Object.keys(n).reduce(function(o,l){var d,u=o[i(l)],c=o[l],p=(0,r.default)(o,[i(l),l].map(a)),m=n[l],f=s(c,u,e[m]),E=f[0],h=f[1];return t({},p,((d={})[l]=E,d[m]=h,d))},e)},"useUncontrolledProp",0,s],115539),e.i(954402),e.i(638743),e.s([],749892)},442656,(e,t,r)=>{"use strict";t.exports=function(){}},189555,799111,e=>{"use strict";var t=e.i(810121),r=e.i(865426),n=e.i(815126),i=e.i(80767);let a={INVALID:"invalid",TOO_LOW:"tooLow",TOO_HIGH:"tooHigh"},s=(e,r)=>{let n=String(e??"").trim();return""===n?null:/^\d+(\.\d{1,2})?$/.test(n)?Number(n)<r?a.TOO_LOW:Number(n)>t.MAX_PRODUCT_PRICE?a.TOO_HIGH:null:a.INVALID},o=Math.floor(t.MAX_PRODUCT_PRICE).toString().length;e.s(["MERCH_PRICE_ISSUE",0,a,"canSaveEcommerceProduct",0,e=>{if(!e)return!1;if(e.type===n.ProductTypeEnum.PHYSICAL)return!!e.binding;let t=(0,i.equalsIgnoreCase)(e.mediaType,r.ECOMMERCE_MEDIA_TYPE.EBOOK),a=(0,i.equalsIgnoreCase)(e.mediaType,r.ECOMMERCE_MEDIA_TYPE.AUDIOBOOK);return t?!!(e.epubFile||e.pdfFile||e.textFile||e.mobiFile):!!a&&!!(e.mp3File||e.m4bFile||e.zipFile)},"formatMerchandisePriceOnBlur",0,e=>{let t=/^\d*,\d{0,2}$/.test(e)?e.replace(",","."):e,r=Number(t);return""===t||Number.isNaN(r)?t:r.toFixed(2)},"merchandisePriceError",0,(e,{minPrice:t,minPriceLabel:n,maxPriceLabel:i})=>{if(""===String(e??"").trim())return r.ECOMMERCE.PRICE_REQUIRED;switch(s(e,t)){case a.INVALID:return r.MERCHANDISE.PRICE_INVALID;case a.TOO_LOW:return r.MERCHANDISE.PRICE_TOO_LOW(n);case a.TOO_HIGH:return r.MERCHANDISE.PRICE_TOO_HIGH(i);default:return null}},"merchandisePriceIssue",0,s,"sanitizeMerchandisePriceInput",0,e=>{let t=e.replace(/[^0-9.,]/g,"");if(t.includes(","))return t;let r=t.indexOf(".");if(-1===r)return t;let n=t.slice(r+1).replace(/\./g,"").slice(0,2);return`${t.slice(0,r)}.${n}`},"sanitizePriceInput",0,e=>{if(""===e)return e;
2let t=RegExp(`^\\d{0,${o}}(\\.\\d{0,2})?`),r=e.match(t),n=r?r[0]:"";return n.startsWith(".")?`0${n}`:n},"validateProductPrice",0,e=>{let n=String(e||"").trim();if(""===n)return r.ECOMMERCE.PRICE_REQUIRED;if(!/^\d+(\.\d{1,2})?$/.test(n))return r.ECOMMERCE.PRICE_INVALID_FORMAT;let i=parseFloat(n);return i<0?r.ECOMMERCE.PRICE_MUST_BE_POSITIVE:!(i>t.MAX_PRODUCT_PRICE)||r.ECOMMERCE.PRICE_EXCEEDS_MAX},"validateStoreProductTitle",0,e=>!(String(e??"").length>t.STORE_PRODUCT_NAME_MAX_LENGTH)||r.MERCHANDISE.TITLE_TOO_LONG],799111);var l=e.i(657121);let d=e=>[...e].sort().join(t.MERCH_CHOICE_ID_SEPARATOR),u=e=>!!e.kind&&(e.kind!==t.MERCH_OPTION_KIND.CUSTOM||""!==e.name.trim()),c=e=>e.choices.filter(e=>""!==e.label.trim()),p=e=>e.filter(e=>u(e)&&c(e).length>0),m=e=>{let t=new Set,r=[];return e.choices.forEach(e=>{let n=e.label.trim().toLowerCase();""!==n&&(t.has(n)?r.push(e.choiceId):t.add(n))}),r},f=(e,t)=>{let r=RegExp(`^${e}-(\\d+)$`),n=t.reduce((e,t)=>{let n=r.exec(t);return n?Math.max(e,Number(n[1])):e},0);return`${e}-${n+1}`},E=e=>e.flatMap(e=>e.choices.map(e=>e.choiceId)),h=(e,t)=>{let r=t.name.trim().toLowerCase();return""!==r&&e.some(e=>e.optionId!==t.optionId&&e.name.trim().toLowerCase()===r)},S=(e,t)=>(_(e)?e?.variants??[]:[]).filter(e=>null!=e.price||e.isInactive||t?.seedStock).map(e=>({choice_ids:e.choiceIds??[],...null!=e.price&&{price:e.price},...e.isInactive&&{is_inactive:!0},...t?.seedStock&&{stock_quantity:e.stockQuantity??0,...null!=e.stockVersion&&{stock_version:e.stockVersion}}})),T=e=>Math.round(100*e),_=e=>Array.isArray(e?.options)&&e.options.length>0,g=e=>!e.isInactive,I=e=>(0,l.isProductSoldOutForBuyers)(e);e.s(["canAddChoice",0,(e,r)=>{let n;return e.choices.length<t.MERCH_LIMITS.choicesPerOption&&(n=e.optionId,r.reduce((e,t)=>{let r=t.choices.length+ +(t.optionId===n);return r>0?e*r:e},1)<=t.MERCH_LIMITS.variantsPerListing)},"canAddOption",0,e=>e.length<t.MERCH_LIMITS.optionsPerListing,"computeDefaultSelection",0,(e,r)=>{let n={selections:{}},i=e.options??[],a=e.variants??[];if(0===i.length)return n;let s=a.filter(g),o=s.filter(e=>!I(e)),l=o.length>0?o:s;if(0===l.length)return n;let d=new Set(i.flatMap(e=>e.choices.filter(e=>!!r&&e.linkedImageId===r).map(e=>e.choiceId))),u=l.find(e=>e.choiceIds.some(e=>d.has(e)))??l[0],c=1===i.length,p={};i.forEach((e,r)=>{(e.kind!==t.MERCH_OPTION_KIND.SIZE||c)&&(p[e.optionId]=u.choiceIds[r])});let m=i.map((e,t)=>p[e.optionId]?e.choices.find(e=>e.choiceId===u.choiceIds[t])?.linkedImageId:void 0).find(e=>!!e);return{selections:p,...m&&{highlightedImageId:m}}},"duplicateChoiceIds",0,m,"findMatchingVariant",0,(e,t)=>{let r=e.options??[];if(0===r.length)return e.variants?.[0];let n=r.map(e=>t[e.optionId]);if(!n.some(e=>!e))return(e.variants??[]).find(e=>n.every(t=>e.choiceIds.includes(t)))},"findVariantsStrandedByBasePrice",0,(e,t,r)=>_(e)&&null!=t&&e?.hasStoredPrice&&T(t)!==T(r)?(e?.variants??[]).filter(e=>g(e)&&null!=e.price&&T(e.price)===T(t)):[],"generateVariantDrafts",0,(e,t=[],r=!1)=>{let n=p(e).map(e=>c(e));if(0===n.length)return[];let i=n.reduce((e,t)=>e.flatMap(e=>t.map(t=>[...e,t.choiceId])),[[]]),a=new Map(t.map(e=>[d(e.choiceIds),e]));return i.map(e=>{let t=a.get(d(e));return t?{...t,choiceIds:e}:{choiceIds:e,available:!0,...r&&{stockQuantity:0}}})},"getChoiceState",0,(e,t,r,n)=>{let i=e.options??[],a=(e.variants??[]).filter(e=>e.choiceIds.includes(n)&&i.every(n=>n.optionId===r||!t[n.optionId]||e.choiceIds.includes(t[n.optionId]))).filter(g);if(0===a.length)return{disabled:!0,struck:!1};let s=a.every(I);return{disabled:s,struck:s}},"getOptionImageIds",0,e=>(e.options??[]).flatMap(e=>e.choices.map(e=>e.linkedImageId).filter(e=>!!e)),"getUnselectedOptions",0,(e,t)=>(e.options??[]).filter(e=>!t[e.optionId]),"getVariantLabel",0,(e,r)=>{let n=new Map(e.flatMap(e=>e.choices.map(e=>[e.choiceId,e.label])));return r.map(e=>n.get(e)).filter(e=>!!e&&""!==e.trim()).join(t.MERCH_VARIANT_LABEL_SEPARATOR)},"getVariantPriceRange",0,e=>{let t=(e.variants??[]).filter(g).map(t=>t?.price??e.price??0),r=e.price??0,n=t.length>0?t:[r],i=Math.min(...n),a=Math.max(...n);return{min:i,max:a,isVariable:i!==a}},"hasOptionIntegrityErrors",0,e=>e.some(t=>h(e,t)||m(t).length>0),"hasPerCombinationEdits",0,e=>e.some(e=>!!e.price?.trim()||null!=e.stockQuantity||!e.available),"hasVariantOptions",0,_,"hasVariantPriceErrors",0,(e,t)=>e.some(e=>e.available&&null!==s(e.price,t)),"isMerchSoldOutForBuyers",0,e=>{let t;return _(e)?(0,l.isProductSoldOutForBuyers)({isSoldOut:e.isSoldOut})||0!==(t=(e.variants??[]).filter(g)).length&&t.every(I):(0,l.isProductSoldOutForBuyers)(e)},"isOptionNameTaken",0,h,"isOptionNamed",0,u,"isVariantSoldOut",0,I,"nextChoiceId",0,e=>f("c",E(e)),"nextOptionId",0,e=>f("opt",e.map(e=>e.optionId)),"seedChoices",0,e=>{let t=E(e);return Array.from({length:2},()=>{let e=f("c",t);return t.push(e),{choiceId:e,label:""}}
2)},"toOptionDrafts",0,e=>(e?.options??[]).map(e=>({optionId:e.optionId,kind:e.kind??"",name:e.name??"",choices:(e.choices??[]).map(e=>({choiceId:e.choiceId,label:e.label??"",...e.linkedImageId&&{linkedImageId:e.linkedImageId}}))})),"toOptionRequests",0,e=>p(e).map((e,t)=>({option_id:e.optionId,kind:e.kind,name:e.name.trim(),choices:c(e).map(e=>({choice_id:e.choiceId,label:e.label.trim(),...0===t&&e.linkedImageId&&{linked_image_id:e.linkedImageId}}))})),"toRebasedPriceVariantRequests",0,(e,t,r)=>{let n=new Set(t.map(e=>d(e.choiceIds??[])));return S(e).map(e=>n.has(d(e.choice_ids))?{...e,price:r}:e)},"toStoredPriceVariantRequests",0,S,"toVariantDrafts",0,e=>(_(e)?e?.variants??[]:[]).map(e=>({choiceIds:e.choiceIds??[],available:!e.isInactive,...null!=e.price&&{price:e.price.toFixed(2)},...null!=e.stockQuantity&&{stockQuantity:e.stockQuantity},...null!=e.stockVersion&&{stockVersion:e.stockVersion},...e.internalIdentifier&&{internalIdentifier:e.internalIdentifier}})),"toVariantRequests",0,(e,t)=>{let r=new Map(t.map(e=>[d(e.choiceIds),e]));return e.reduce((e,t)=>{let n=r.get(d(t.choiceIds)),i=t.price?.trim()?Number(t.price):void 0,a=null!=i&&Number.isFinite(i),s=(0,l.parseBuyerStockCount)(t.stockQuantity),o=s!==(0,l.parseBuyerStockCount)(n?.stockQuantity),u=!t.available;return(a||u||o)&&e.push({choice_ids:t.choiceIds,...a&&{price:i},is_inactive:u,...o&&null!=s&&{stock_quantity:s,..."number"==typeof t.stockVersion&&{stock_version:t.stockVersion}}}),e},[])},"variantSetKey",0,d],189555)},801163,e=>{"use strict";var t=e.i(404427),r=e.i(892182),n=e.i(61487),i=e.i(80767);async function a({email:e,siteId:t,ipLocation:n,firstName:i,lastName:s,popupId:o,landingPageId:l,honeypot:d=""}){let u=i?.trim(),c=s?.trim(),p=await (0,r.apiRequestHandler)({endpoint:"/newsletter",method:"POST",body:{email:e,site_id:t,honeypot:d,...null!=n&&{ip_location:n},...u&&{first_name:u},...c&&{last_name:c},...null!=o&&{popup_id:o},...null!=l&&{landing_page_id:l}},statusSendSentry:r.SENTRY_REPORTED_STATUSES});return{pendingConfirmation:!!p?.pending_confirmation}}async function s(e){let t=await (0,r.apiRequestHandler)({endpoint:`/newsletter/confirm?token=${encodeURIComponent(e)}`,method:"POST",statusSendSentry:[500]});return{confirmed:!!t?.confirmed}}async function o(e){let t=await (0,r.apiRequestHandler)({endpoint:`/newsletter/settings/${e}`,method:"GET",statusSendSentry:[500]});return{doubleOptInEnabled:!!t?.double_opt_in_enabled}}async function l(e,t){let n=await (0,r.apiRequestHandler)({endpoint:`/newsletter/settings/${e}`,method:"PUT",body:{double_opt_in_enabled:t.doubleOptInEnabled},statusSendSentry:[500]});return{doubleOptInEnabled:n?.double_opt_in_enabled??t.doubleOptInEnabled}}async function d(){return(0,r.apiRequestHandler)({endpoint:"/product/v2/website/subscriptions",method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function u(){return(0,r.apiRequestHandler)({endpoint:"/product/website/subscriptions",method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function c({siteId:e}){return(0,r.apiRequestHandler)({endpoint:`/sites/${e}/subscriptions`,method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function p(){return(0,r.apiRequestHandler)({endpoint:"/subscriptions/website/change-product-type/preview",method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function m(){return(0,r.apiRequestHandler)({endpoint:"/subscriptions/website/change-product-type",method:"POST",statusSendSentry:[500]})}async function f(){try{let{status:e,data:r}=await (0,t.apiRequest)({endpoint:"/mailerlite/integration",method:"GET"});if(200!==e)return(0,n.handleApiError)({status:e,message:r.description??"Failed to get Integration MailerLite"});return r}catch(e){return(0,n.handleApiError)({message:e})}}async function E(){try{let{status:e,data:r}=await (0,t.apiRequest)({endpoint:"/mailerlite/configuration",method:"GET"});if(200!==e)return(0,n.handleApiError)({status:e,message:r.description??"Failed to get Configuration MailerLite"});return r}catch(e){return(0,n.handleApiError)({message:e})}}async function h(e){try{let{status:r,data:i}=await (0,t.apiRequest)({endpoint:"/mailerlite/configuration",method:"POST",data:e});if(200!==r)return(0,n.handleApiError)({status:r,message:i.description??"Failed to save Configuration MailerLite"});return i}catch(e){return(0,n.handleApiError)({message:e})}}async function S(){try{let{status:e,data:r}=await (0,t.apiRequest)({endpoint:"/mailerlite/integration",method:"DELETE"});if(200!==e)return(0,n.handleApiError)({status:e,message:r.description??"Failed to delete Integration MailerLite"});return r}catch(e){return(0,n.handleApiError)({message:e})}}async function T(){try{let{status:e,data:r}=await (0,t.apiRequest)({endpoint:"/email-dns-configuration",method:"GET"});if(200!==e)return(0,n.handleApiError)({status:e,message:r.description??"Failed to get post"});return r}catch(e){return(0,n.handleApiError)({message:e})}}async function _(e){try{let{status:r,data:i}=await (0,t.apiRequest)({endpoint:"/email-dns-configuration",method:"POST",data:e});if(200!==r)return(0,n.handleApiError)({status:r,message:i.description??"Failed to get post"});return i}catch(e){return(0,n.handleApiError)({message:e})}}async function g(e){return(0,r.apiRequestHandler)({endpoint:"/reader-magnets/presigned-url-generate",method:"POST",statusSendSentry:r.SENTRY_REPORTED_STATUSES,body:e})}async function I({period:e,siteSlug:t}){return(0,r.apiRequestHandler)({endpoint:`/newsletter/period/${t}?period=${e}`,method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function y(e,t){let n=new URLSearchParams((0,i.getUtmParams)()).toString(),a=`/platform-newsletter-subscriber${n?`?${n}`:""}`;return(0,r.apiRequestHandler)({endpoint:a,method:"POST",body:{email:e,referer_code:t},statusSendSentry:[500]})}async function O(){return(0,r.apiRequestHandler)({endpoint:"/mailchimp/newsletter/audiences",method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function R(){return(0,r.apiRequestHandler)({endpoint:"/mailchimp/configuration",method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function N(){return(0,r.apiRequestHandler)({endpoint:"/mailchimp/synchronize-contacts",method:"POST",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function A(){return(0,r.apiRequestHandler)({endpoint:"/mailerlite/synchronize-contacts",method:"POST",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function L(){return(0,r.apiRequestHandler)({endpoint:"/mailchimp/permissions",method:"DELETE",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function v({selectedAudience:e,doubleOptin:t}){return(0,r.apiRequestHandler)({endpoint:`/mailchimp/newsletter/${e}/synchronize-contacts?doubleOptin=${t}`,method:"POST",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function x(){return(0,r.apiRequestHandler)({endpoint:"/reader-magnets/status",method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function b(){return(0,r.apiRequestHandler)({endpoint:"/reader-magnets",method:"DELETE",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function C(e){return(0,r.apiRequestHandler)({endpoint:"/reader-magnets/remote-file",method:"POST",statusSendSentry:r.SENTRY_REPORTED_STATUSES,body:e})}async function P(e){return(0,r.apiRequestHandler)({endpoint:`/reader-magnets/${e}`,method:"PUT",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function w(){return(0,r.apiRequestHandler)({endpoint:"/reader-magnets/validate-upload",method:"POST",statusSendSentry:r.SENTRY_REPORTED_STATUSES})}async function D(e,t){var n;return{landing_header_banner:(n=await (0,r.apiRequestHandler)({endpoint:`/product/v2/website/subscriptions/landing?code${e?`=${e}`:""}${t?`&referral_code=${t}`:""}`,method:"GET",statusSendSentry:r.SENTRY_REPORTED_STATUSES})).landing_header_banner,landing_products_title:n.landing_products_title,products:(n.products??[]).map(e=>({title:"MONTHLY_SUBSCRIPTION"===e.title?"Monthly":"ANNUAL_SUBSCRIPTION"===e.title?"Yearly":e.title,product_id:e.product_id,stripe_price_id:e.stripe_price_id,plan_tier:e.plan_tier,price_per_month:e.price_per_month,price_billed:e.price_billed,price_per_month_with_discount:e.price_per_month,price_billed_with_discount:e.price_billed,save_percentage:e.s
2ave_percentage,discount_percentage:e.save_percentage,billed_description:e.billed_description,payment_type_description:"",perk:null,discount_description:null}))}}e.s(["confirmNewsletterSignup",0,s,"createWithRemoteFile",0,C,"deleteIntegrationMailerLite",0,S,"deleteReaderMagnet",0,b,"enableReaderMagnet",0,P,"generatePresignedUrl",0,g,"getAudiences",0,O,"getConfigurationMailerLite",0,E,"getEmailDnsConfiguration",0,T,"getIntegrationMailerLite",0,f,"getMailchimpPermissions",0,R,"getNewsletterSettings",0,o,"getReaderMagnetStatus",0,x,"getSubscription",0,d,"getSubscriptionChangeProductTypePreview",0,p,"getSubscriptionLegacy",0,u,"getSubscriptionsLanding",0,D,"getTotalSignupPerSite",0,I,"getUserSubscription",0,c,"integrationWithMailchimp",0,v,"isDuplicateSignupError",0,function(e){let t=e?.status,r=String(e?.message??"").toLowerCase();return 409===t||422===t||/already|exists|duplicate|subscribed/.test(r)},"postSubscriptionChangeProductType",0,m,"removeIntegrationWithMailchimp",0,L,"saveConfigurationMailerLite",0,h,"saveEmailDnsConfiguration",0,_,"submitEmailSignup",0,y,"submitNewsletterSignup",0,a,"synchronizeMailchimpContacts",0,N,"synchronizeMailerLiteContacts",0,A,"updateNewsletterSettings",0,l,"validateUpload",0,w])},734243,e=>{"use strict";var t=e.i(42995),r=e.i(217211);let n=[400,700],i=e=>"string"==typeof e?e:e.title,a=new Map,s=e=>e?.split("@")[1]?.split(";").filter(Boolean)??[],o=(e,t)=>{let[r,n]=e.split(",").map(Number),[i,a]=t.split(",").map(Number);return r-i||n-a},l=e=>e?.font_title,d=({themeOptions:e,settings:t,themeCode:n,withSiteTitle:i=!1})=>{let a=(0,r.getThemeFontPreset)(n),s=(0,r.safeFontTitle)(e?.simpleFontPrimaryTitle||l(t?.fontPrimary))??a.headlines;return{headlines:s,body:(0,r.safeFontTitle)(e?.simpleFontSecondaryTitle||l(t?.fontSecondary))??a.body,labels:(0,r.safeFontTitle)(e?.simpleFontTertiaryTitle||l(t?.fontTertiary))??a.labels,...i&&{siteTitle:(0,r.safeFontTitle)(e?.simpleFontSiteTitle)||s}}};e.s(["buildSiteFontRequests",0,(e,t,r)=>{let i=new Map,a=(e,t,r)=>{if(!e)return;let n=i.get(e);if(n){n.weights=[...n.weights,...t],n.withItalics=n.withItalics||r;return}i.set(e,{title:e,weights:[...t],withItalics:r})};return a(e.headlines,[400,t],!1),a(e.body,n,!0),a(e.labels,n,!1),a(e.siteTitle,[400,r??t],!1),Array.from(i.values())},"loadGoogleFonts",0,function(e){e.length&&e.slice().sort((e,t)=>i(e).localeCompare(i(t))).forEach(e=>{let t,r="string"==typeof e?void 0:e,n=i(e).trim();if("helvetica"===n.toLowerCase())return;let l=`google-font-${n.trim().replace(/\s+/g,"-").toLowerCase()}`,d=r?(({weights:e,withItalics:t,uprightOnlyWeights:r})=>{let n=Array.from(new Set(e)).sort((e,t)=>e-t),i=Array.from(new Set([...e,...r??[]])).sort((e,t)=>e-t).map(e=>`0,${e}`),a=t?n.map(e=>`1,${e}`):[];return`ital,wght@${[...i,...a].join(";")}`})(r):"ital,wght@0,400;0,600;0,700;1,400;1,600;1,700",u=document.getElementById(l),c=a.get(l);c||(c=new Set,s(u?.getAttribute("href")?.match(/:(ital,wght@[^&]+)/)?.[1]).forEach(e=>c?.add(e)),a.set(l,c)),s(d).forEach(e=>c.add(e));let p=(t=c,`https://fonts.googleapis.com/css2?family=${n.trim().replace(/\s+/g,"+")}:ital,wght@${Array.from(t).sort(o).join(";")}&display=swap`);if(u){let e;u.getAttribute("href")!==p&&(document.querySelectorAll(`link[data-pending-for="${u.id}"]`).forEach(e=>e.remove()),(e=document.createElement("link")).rel="stylesheet",e.href=p,e.setAttribute("data-pending-for",u.id),e.onload=()=>{let t=u.id;u.remove(),e.removeAttribute("data-pending-for"),e.id=t},e.onerror=()=>e.remove(),u.after(e))}else{let e=document.createElement("link");e.id=l,e.rel="stylesheet",e.href=p,document.head.appendChild(e)}})},"resolveEffectiveSlots",0,d,"resolveHeadingWeightNumber",0,(e,n,i)=>{let a=e??n??(0,r.getThemeConfigPreset)(i).headingFontWeight??t.NEUTRAL_THEME_CONFIG.headingFontWeight;return Number(t.HEADING_FONT_WEIGHT_CSS[a]??t.HEADING_FONT_WEIGHT_CSS[t.NEUTRAL_THEME_CONFIG.headingFontWeight])},"resolveLoaderSlots",0,e=>({...d(e),siteTitle:(0,r.safeFontTitle)(e.themeOptions?.simpleFontSiteTitle)}),"resolveThemeRecordSlots",0,(e,t)=>{let n=(0,r.getThemeFontPreset)(t);return{headlines:(0,r.safeFontTitle)(l(e?.fontPrimary))??n.headlines,body:(0,r.safeFontTitle)(l(e?.fontSecondary))??n.body,labels:(0,r.safeFontTitle)(l(e?.fontTertiary))??n.labels}},"withScaleHeadingWeight",0,(e,t,r)=>
2{let n=new Set([t.headlines,t.siteTitle].filter(Boolean));return e.map(e=>n.has(e.title)?{...e,uprightOnlyWeights:[...e.uprightOnlyWeights??[],r]}:e)}])},587061,e=>{"use strict";e.s(["getImageDimensions",0,({width:e,height:t,defaultWidth:r,defaultHeight:n})=>{let i=e||r,a=t||n;return{width:i,height:a,aspectRatio:`${i} / ${a}`}},"resolveImageSrc",0,function(e){if(!e)return null;if(Array.isArray(e)){let t=e[0];return t?.src??null}return e.src??null}])},77008,e=>{"use strict";function t(e){return e?.filter(e=>e.content?.trim()&&!e.isInactive)||[]}e.s(["getActiveReviews",0,t,"hasActiveReviews",0,function(e){return t(e).length>0},"isSiteOwner",0,function(e,t){let r=e?.slug;return!!r&&!!t&&r.toLowerCase()===t.toLowerCase()}])},165382,e=>{"use strict";e.s(["hasNonEmptyString",0,function(e){return"string"==typeof e&&e.trim().length>0}])}]);
3
4//# debugId=337a7ddd-a7cb-0e50-cea5-ea73ba0a2a5d

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.