p.harperstatic.com
Open in
urlscan Pro
2600:9000:26da:c600:1d:4450:8400:93a1
Public Scan
URL:
https://p.harperstatic.com/client/330b8a65cdd4-en-gb.js
Submission: On December 02 via manual from GB — Scanned from GB
Submission: On December 02 via manual from GB — Scanned from GB
Form analysis
0 forms found in the DOMText Content
"use strict";var Harper=(()=>{var v=(e,n)=>()=>(e&&(n=e(e=0)),n);var q0=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var g,a=v(()=>{g={pid:"330b8a65cdd4",name:"French Connection UK",reference:"fcuk",partner_platform:"shopify",checkout_url:"/checkout",locale:"en-GB"}});var t,l0,U0,q,w=v(()=>{"use strict";a();t=(e,n,...r)=>{if(typeof e=="function")return e(n,...r);let l=document.createElement(e);return Object.entries(n||{}).forEach(([s,c])=>{s.startsWith("on")&&s.toLowerCase()in window?l.addEventListener(s.toLowerCase().substr(2),c):l.setAttribute(s,c.toString())}),r.forEach(s=>{l0(l,s)}),l},l0=(e,n)=>{if(n.tagName==="SVG"){let r=document.createElement("div");r.appendChild(n);let l=r.innerHTML;e.innerHTML=e.innerHTML+l;return}if(Array.isArray(n)){n.forEach(r=>l0(e,r));return}if(n){e.appendChild(n.nodeType?n:document.createTextNode(n));return}},U0=e=>!0,q=(e,n)=>{if(!e.selector||!e.position)throw new Error("No selector or position provided");let r=document.querySelectorAll(e.selector),l=!1;r.forEach(s=>{U0(s)?(l=!0,e.position==="replace"?(s.innerHTML="",s.appendChild(n)):e.position==="overwrite"?s.replaceWith(n):s.insertAdjacentElement(e.position,n)):console.log("element not visible",s)}),!l&&console.log(`No Visible Element with selector ${e.selector} found`)}});var D0,A,O=v(()=>{"use strict";a();w();D0=({onClick:e,context:n})=>{let{uniquePrefix:r}=n;return t("div",{class:`${r}-close`,onClick:e},t("svg",{width:"19",height:"19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M.86.14.14.86 8.782 9.5l-8.64 8.64.718.72L9.5 10.218l8.64 8.64.72-.718L10.218 9.5l8.64-8.64-.718-.72L9.5 8.782.86.141Z",fill:"#000"})))},A=D0});var _0,c0,d0=v(()=>{"use strict";a();w();_0=({context:e})=>{let n=e.styles.modalBGColor||"#F2F2F2",r=e.styles.primaryTextColor||"#666666",l=e.styles.secondaryTextColor||"#868686",s=e.styles.btnPrimaryFont||e.styles.modalPrimaryFont||'"Futura Book", "Helvetica", sans-serif;',c=e.styles.btnPrimaryTextColor||"#FFFFFF",i=e.styles.btnPrimaryBGColor||"#000000",u=e.styles.btnRoundedCorners||"3px",b=e.styles.btnPrimaryBorder||"1px solid #000000",d=e.styles.btnPrimaryWidth||"100%",f=e.styles.btnPrimaryHeight||"initial",x=e.styles.btnPrimaryFontSize||"1em",h=e.styles.btnPrimaryFontWeight||"400",$=e.styles.btnPrimaryPadding||"15px",y=e.styles.btnPrimaryTextTransform||"none",C=e.styles.checkoutWarningColor||"orange",k=e.styles.ctaMargin||"0px",{uniquePrefix:p}=e;return t("style",{type:"text/css"},` #${p}-warning-box-underlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; background-color: #0000004a; opacity: 1; } #${p}-warning-box-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1001; border-radius: 5px; background-color: ${n}; color: ${r}; padding: 2em; max-width: 550px; text-align: center; width: calc(85vw - 2em); min-width: calc(330px - 2em); } #${p}-warning-box-title { margin: ${k}; } #${p}-warning-box-error-message { margin-top: 1em; margin-bottom: 1em; color: ${C}; } .${p}-warning-box-blocked-item-list { margin: 0 auto; /* Centers the block horizontally */ padding: 0; /* Removes default padding for better control */ color: ${l}; list-style: none; /* Removes default list styling */ text-align: left; /* Ensures text within the list items is left-justified */ max-width: 400px; /* Optional: sets a maximum width for the list block */ list-style-type: disc; } .${p}-warning-box-blocked-item-list li { margin: 0; /* Removes default margin */ padding: 0.1em 0; /* Adds some spacing between items */ text-align: left; /* Ensures text is left-aligned */ } #${p}-warning-box-modal button { padding: ${$}; color: ${c}; background-color: ${i}; border: ${b}; border-radius: ${u}; width: ${d}; font-family: ${s}; font-size: ${x}; font-weight: ${h}; height: ${f}; max-width: 15em; min-width: 13em; text-transform: ${y}; cursor: pointer; display: flex; margin: 0.5em auto; align-items: center; justify-content: center; } #${p}-warning-box-order-brand { margin-top: 1.0em; } #${p}-warning-box-order-brand a { color: ${l}; } `)},c0=_0});var R0,G0,p0,m0=v(()=>{"use strict";a();w();O();d0();R0=({items:e,uniquePrefix:n})=>t("ul",{class:`${n}-warning-box-blocked-item-list`},e.map(r=>t("li",{key:r.original_name,class:`${n}-warning-box-blocked-item`},r.original_name," ",r.size&&r.size!==""?`- ${r.size}`:""))),G0=({blockedItems:e,availableItems:n,context:r})=>{let{useTopLayer:l=!1}=r.options,s=()=>{r.proceedWithBlockedItems()},c=()=>{r.closeWarningBox()},i=d=>{d.stopPropagation()},{uniquePrefix:u}=r,b=()=>t("div",{onClick:i,id:`${u}-warning-box-modal`},t(c0,{context:r}),t(A,{onClick:c,context:r}),t("div",{class:`${u}-warning-box-heading`},t("h3",{class:`${u}-warning-box-title`},"Try Before You Buy")),t(R0,{items:e,uniquePrefix:u}),t("div",{id:`${u}-warning-box-error-message`},"These items are not available for Try Before You Buy with Harper"),n.length>0&&t("div",{id:`${u}-warning-box-button-container`},t("button",{type:"button",id:`${u}-warning-box-button`,onClick:s},"Proceed anyway")),t("div",{id:`${u}-warning-box-order-brand`},t("a",{href:r.partner_direct_checkout_url},`Place full order with ${r.partner_name}`)));return l?t("dialog",{id:`${u}-warning-box-underlay`,onClick:c},t(b,null)):t("div",{id:`${u}-warning-box-underlay`,onClick:c,style:"display:none;"},t(b,null))},p0=G0});async function j0(){return{partner_cart:await(await fetch("/cart.js")).json()}}var Y,u0=v(()=>{"use strict";a();Y=j0});var f0=v(()=>{"use strict";a();u0()});var U,h0=v(()=>{"use strict";a();w();m0();f0();U=class{constructor(n,r={}){this.elements=[];this.uniquePrefix="hcx";this.getPlatformData=null;this.postcode="";this.createCheckoutEndpoints={production:"https://production.api.harperconcierge.com/api/public/checkout/create",staging:"https://staging.api.harperconcierge.com/api/public/checkout/create",dev:"https://api.harperconcierge.dev/api/public/checkout/create",test:"https://test.api.harperconcierge.com/api/public/checkout/create",uat:"https://uat.api.harperconcierge.com/api/public/checkout/create"};this.blockedItems=[];this.availableItems=[];this.ctaPosition="replace";this.styles={};this.options={};let{pid:l,name:s,reference:c,checkout_url:i,styles:u={},options:b={}}=g,{postcodeCheckerElement:d,ctaElement:f,ctaPosition:x,env:h,getPlatformData:$,platform:y,styles:C={},options:k={},uniquePrefix:p}=n;this.platform=y,this.getPlatformData=$||this.getDefaultPlatformDataFunction()||null,this.env=h||"production",this.partner_id=l,this.partner_name=s,this.partner_reference=c,this.partner_direct_checkout_url=i,this.blockedItems=[],this.ctaElement=f||d,this.ctaPosition=x||"replace",this.styles={...u,...C},this.options={...b,...k},this.uniquePrefix=p||this.uniquePrefix;let{CheckoutCTA:P,PopupModal:T,HarperTry:F,HarperConcierge:B,BrandStyling:z,createCheckoutEndpoints:I}=r;if(this.checkoutCTAComponent=P,this.createCheckoutEndpoints=I||this.createCheckoutEndpoints,P&&f&&(this.renderCheckoutCTA({selector:f,position:x||"replace"},P),this.options.useTopLayer||this.renderWarningBox()),T){let H=document.getElementById(`${this.uniquePrefix}-plugin`)?{selector:`#${this.uniquePrefix}-plugin`,position:"overwrite"}:{selector:"body",position:"beforeend"};q(H,t(T,{context:this,HarperTry:F,HarperConcierge:B,BrandStyling:z}))}}getDefaultPlatformDataFunction(){return this.platform==="shopify"?Y:null}renderCheckoutCTA(n,r){q(n,t(r,{context:this,blockedItems:this.blockedItems,availableItems:this.availableItems}))}renderWarningBox(){let r=document.getElementById(`${this.uniquePrefix}-warning-box-underlay`)?{selector:`#${this.uniquePrefix}-warning-box-underlay`,position:"overwrite"}:{selector:"body",position:"beforeend"};q(r,t(p0,{context:this,blockedItems:this.blockedItems,availableItems:this.availableItems}))}openModal(){let n=document.getElementById(`${this.uniquePrefix}-modal-underlay`),r=document.getElementById(`${this.uniquePrefix}-modal`);this.options.useTopLayer&&document.getElementById(`${this.uniquePrefix}-plugin`)?.showModal(),n&&(n.style.display="block"),r&&(r.style.display="flex")}openWarningBox(){this.renderWarningBox(),document.getElementById(`${this.uniquePrefix}-warning-box-underlay`).style.display="block",this.options.useTopLayer&&document.getElementById(`${this.uniquePrefix}-warning-box-underlay`)?.showModal()}closeWarningBox(){document.getElementById(`${this.uniquePrefix}-warning-box-underlay`).style.display="none",this.options.useTopLayer&&document.getElementById(`${this.uniquePrefix}-warning-box-underlay`)?.close()}checkout(n,r=!1){let l=this.env;document.getElementById(`${this.uniquePrefix}-checkoutcta-form`).classList.add(`${this.uniquePrefix}-loading`),fetch(this.createCheckoutEndpoints[l],{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({platform_data:{...n},env:this.env,partner_pid:this.partner_id,...r?{customer_aware_of_blocked_items:r}:{}})}).then(s=>s.json()).then(s=>{if(document.getElementById(`${this.uniquePrefix}-checkoutcta-form`).classList.remove(`${this.uniquePrefix}-loading`),s.messages){let x;(k=>(k.ERROR="error",k.WARNING="warning",k.SUCCESS="success"))(x||={});let h={error:[],warning:[],success:[]};s.messages.forEach($=>{let y=`<p>${$.message}</p>`;if($.type==="error"||$.type==="warning"||$.type==="success"){h[$.type].push(y);return}console.warn("Unknown message type:",$.type)}),document.getElementById(`${this.uniquePrefix}-checkoutcta-error`).innerHTML=h.error.join("<br />"),document.getElementById(`${this.uniquePrefix}-checkoutcta-warning`).innerHTML=h.warning.join("<br />"),document.getElementById(`${this.uniquePrefix}-checkoutcta-success`).innerHTML=h.success.join("<br />")}else document.getElementById(`${this.uniquePrefix}-checkoutcta-error`).innerHTML="Error: Sorry, something went wrong";if(s.data?.cart_pid){let x=this.env==="production"||this.env==="dev"?"checkout":`${this.env}-checkout`,h=this.env==="dev"?"dev":"com",$=`https://${x}.harperconcierge.${h}/?c=${s.data.cart_pid}&p=${this.partner_reference}`,y=document.createElement("a");y.href=$,y.style.display="none",document.body.appendChild(y);let C=new MouseEvent("mousedown",{view:window,bubbles:!0,cancelable:!0});y.dispatchEvent(C),y.click(),document.body.removeChild(y);return}let{items:c}=s.data||{},i=c?.items_to_block||[],u=c?.items_available||[],b=c?.items_block||[],d=c?.items_pre_order||[],f=c?.items_partially_blocked||[];i?.length>0?(this.availableItems=u,this.blockedItems=i,this.openWarningBox()):[b,d,f].some(x=>x?.length>0)&&(this.availableItems=u,this.blockedItems=[...b,...d,...f],this.openWarningBox())}).catch(s=>{document.getElementById(`${this.uniquePrefix}-checkoutcta-error`).innerHTML="Error: Sorry, something went wrong.",console.error("Error:",s),document.getElementById(`${this.uniquePrefix}-checkoutcta-form`).classList.remove(`${this.uniquePrefix}-loading`)})}async checkoutWrapper(n=!1){if(this.getPlatformData){let r=await this.getPlatformData();this.checkout(r,n)}if(!this.getPlatformData)throw new Error("No getPlatformData() function provided")}proceedWithBlockedItems(){this.checkoutWrapper(!0)}closeModal(){let n=document.getElementById(`${this.uniquePrefix}-modal-underlay`),r=document.getElementById(`${this.uniquePrefix}-modal`);n&&r&&(n.style.display="none",r.style.display="none",this.options.useTopLayer&&document.getElementById(`${this.uniquePrefix}-plugin`)?.close())}}});var X0,y0,g0=v(()=>{"use strict";a();w();X0=({context:e})=>{let n=e.styles.modalBGColor||"#F2F2F2",r=e.styles.btnPrimaryFont||e.styles.modalPrimaryFont||'"Futura Book", "Helvetica", sans-serif;',l=e.styles.btnPrimaryTextColor||"#FFFFFF",s=e.styles.btnPrimaryBGColor||"#000000",c=e.styles.btnRoundedCorners||"3px",i=e.styles.btnPrimaryBorder||"1px solid #000000",u=e.styles.btnPrimaryWidth||"100%",b=e.styles.btnPrimaryMaxWidth||"100%",d=e.styles.btnPrimaryMinWidth||"20em",f=e.styles.btnPrimaryHeight||"initial",x=e.styles.btnPrimaryFontSize||"1em",h=e.styles.btnPrimaryFontWeight||"400",$=e.styles.btnPrimaryPadding||"15px",y=e.styles.btnPrimaryTextTransform||"none",C=e.styles.orBarBGColor||"#000000",k=e.styles.orBarBGOpacity||"20%",p=e.styles.orBarFontWeight||"500",P="inline-block";e.options?.showOrBarRuler===!1&&(P="hidden");let T=e.styles.checkoutErrorColor||"red",F=e.styles.checkoutWarningColor||"orange",B=e.styles.checkoutSuccessColor||"green",z=e.styles.ctaMargin||"0px",I=e.styles.footerFontSize||"1em",M=e.styles.footerMargin||"10px",H=e.options.ctaButtonAnimation||"none",G=e.styles.btnSecondaryTextColor||"#FFFFFF",j=e.styles.btnSecondaryBGColor||"#000000",X=e.styles.btnSecondaryBorder||i,N=e.styles.btnAnimationTextColor||G,L=e.styles.btnAnimationBGColor||j,J=e.styles.btnAnimationBorder||X,{uniquePrefix:m}=e;return t("style",{type:"text/css"},` #${m}-plugin { opacity: 1; } #harper-checkout-cta h2 { margin: 0; } #harper-checkout-cta p { margin: 0; } #harper-checkout-cta { background-color: ${n}; font-family: ${r}; text-align: center; padding: 10px; } #${m}-checkoutcta-error { color: ${T}; } #${m}-checkoutcta-warning { color: ${F}; } #${m}-checkoutcta-success { color: ${B}; } .${m}-styled-link { color: inherit; text-decoration: underline; text-decoration-color: inherit; } #${m}-checkoutcta-icon-question { display: flex; justify-content: center; align-items: center; margin: ${M}; font-size: ${I}; } #${m}-checkoutcta-headline { margin: 10px; line-height: 1.5; } #${m}-checkoutcta-form { margin: ${z}; } #${m}-checkoutcta-form-button-container button { padding: ${$}; color: ${l}; background-color: ${s}; border: ${i}; border-radius: ${c}; width: ${u}; font-family: ${r}; font-size: ${x}; font-weight: ${h}; height: ${f}; max-width: ${b}; min-width: ${d}; text-transform: ${y}; cursor: pointer; display: flex; margin: auto; align-items: center; justify-content: center; } #${m}-checkoutcta-icon-question p { font-size: 1em; margin: 0;} #${m}-checkoutcta-icon-question .${m}-icon { cursor: pointer; margin-left: 5px; } #${m}-checkoutcta-section { display: flex; flex-direction: column; } #${m}-checkoutcta-button { position: relative; } #${m}-checkoutcta-button .${m}-icon { cursor: pointer; margin-left: auto; position: absolute; right: 10px; align-items: center; display: flex; } #${m}-checkoutcta-button .${m}-icon-inline { margin-left: 10px; position: unset; } .${m}-hr { margin-top: .6rem; margin-bottom: .6rem; overflow: hidden; text-align: center; font-size: .625rem; font-weight: ${p}; } .${m}-hr:before,.${m}-hr:after { position: relative; display: ${P}; height: 1px; width: 50%; background-color: ${C}; opacity: ${k}; vertical-align: middle; content: "" } .${m}-hr:before { right: .5rem; margin-left: -50% } .${m}-hr:after { left: .5rem; margin-right: -50% } `,H==="flash"&&` #${m}-checkoutcta-form-button-container button { transition: background-color 0.3s, color 0.3s, border 0.3s; } #${m}-checkoutcta-form-button-container button:hover { color: ${N}; background-color: ${L}; border: ${J}; }`,H==="slide"&&` #${m}-checkoutcta-form-button-container button { position: relative; /* Make sure the button is the reference for absolute positioning */ overflow: hidden; /* Ensure the flash effect doesn't go outside the button */ z-index: 1; /* Ensure button content stays above the :after element */ } #${m}-checkoutcta-form-button-container button span { position: relative; /* Position the text above the sliding background */ z-index: 2; /* Ensure text stays above the sliding effect */ } #${m}-checkoutcta-form-button-container button:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: translateX(-100%); transition-timing-function: cubic-bezier(0, 0.7, 0.3, 1); transition-duration: 300ms; background-color: ${L}; /* Flash background color */ z-index: 0; /* Ensure it's behind the button text */ } #${m}-checkoutcta-form-button-container button:hover:after { transform: translateX(0); } `)},y0=X0});var N0,D,b0=v(()=>{"use strict";a();w();N0=e=>{let n=e?.color||"#1D1D1B";return t("svg",{width:"15",height:"15",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("circle",{cx:"9",cy:"9",r:"8.5",stroke:n}),t("path",{d:"M5.625 6.36986H7.34576C7.40434 5.47653 8.0121 4.90538 8.95669 4.90538C9.87931 4.90538 10.4944 5.45456 10.4944 6.21609C10.4944 6.941 10.1868 7.32909 9.27887 7.87827C8.26838 8.47138 7.84368 9.1304 7.90958 10.2288L7.91691 10.7267H9.6157V10.3093C9.6157 9.58438 9.88663 9.21094 10.8459 8.64712C11.8417 8.05401 12.3982 7.27051 12.3982 6.15018C12.3982 4.53194 11.0582 3.375 9.05188 3.375C6.87713 3.375 5.68358 4.63445 5.625 6.36986ZM8.84685 14.2195C9.59373 14.2195 10.0624 13.7581 10.0624 13.0552C10.0624 12.3449 9.59373 11.8836 8.84685 11.8836C8.11461 11.8836 7.63133 12.3449 7.63133 13.0552C7.63133 13.7581 8.11461 14.2195 8.84685 14.2195Z",fill:n}))},D=N0});var J0,$0,v0=v(()=>{"use strict";a();w();g0();b0();J0=({context:e,blockedItems:n,availableItems:r})=>{let{questionMarkPosition:l="button",showFooterText:s=!0,showOrBar:c=!1}=e.options,i=e.styles.btnIconColor||e.styles.btnPrimaryTextColor||"#FFFFFF",u=()=>{e.checkoutWrapper()},b=f=>{f.preventDefault(),f.stopPropagation(),e.openModal()},{uniquePrefix:d}=e;return t("div",{id:`${d}-checkoutcta`},t(y0,{context:e}),c===!0&&t("div",{class:`${d}-hr`},"OR"),t("div",{id:`${d}-checkoutcta-section`},t("div",{id:`${d}-checkoutcta-form`},t("div",{id:`${d}-checkoutcta-form-button-container`},t("button",{id:`${d}-checkoutcta-button`,onClick:u,type:"button"},t("span",null,"Try Before You Buy"),l==="button-inline"&&t("span",{class:`${d}-icon ${d}-icon-inline`,onClick:b},t(D,{color:i})),l==="button"&&t("span",{class:`${d}-icon`,onClick:b},t(D,{color:i}))))),t("div",{id:`${d}-checkoutcta-messages`},t("div",{id:`${d}-checkoutcta-error`}),t("div",{id:`${d}-checkoutcta-warning`}),t("div",{id:`${d}-checkoutcta-success`})),s===!0&&t("div",{id:`${d}-checkoutcta-icon-question`},t("p",null,"Try at home. Only pay for what you keep. \xA0",l==="text"&&t("a",{class:`${d}-styled-link`,href:"#",onClick:b},"Learn More")),l==="footer"&&t("span",{class:`${d}-icon`,onClick:b},t(D,null)))))},$0=J0});var O0,x0,k0=v(()=>{"use strict";a();w();O0=({context:e})=>{let n=e.styles.modalRootFontSize||"16px",r=e.styles.modalRootFontSize768||"14px",l=e.styles.modalBGColor||"#F2F2F2",s=e.styles.modalPosition||"fixed",c=e.styles.tabBGColor||"#E5E5E7",i=e.styles.primaryTextColor||"#666666",u=e.styles.secondaryTextColor||"#868686",b=e.styles.modalSecondaryFontSize||"1em",d=e.styles.modalTertiaryFontSize||".875em",f=e.styles.headerTextColor||"#000000",x=e.styles.modalPrimaryFont||'"Libre Franklin", Helvetica, sans-serif',h=e.styles.modalHeaderFont||'"Austin", serif',$=e.styles.modalHeaderFontStyle||"normal",y=e.styles.modalHeaderTextTransform||"none",C=e.styles.modalHeaderFontWeight||"500",k=e.styles.modalHeaderFontSize||"2em",p=e.styles.modalHeaderSecondaryFont||h,P=e.styles.modalHeaderSecondaryFontStyle||$,T=e.styles.modalHeaderSecondaryTextTransform||y,F=e.styles.modalHeaderSecondaryFontWeight||C,B=e.styles.modalHeaderSecondaryFontSize||"1.375em",z=e.styles.modalHeaderTertiaryFont||h,I=e.styles.modalHeaderTertiaryFontStyle||P,M=e.styles.modalHeaderTertiaryTextTransform||y,H=e.styles.modalHeaderTertiaryFontWeight||C,G=e.styles.modalHeaderTertiaryFontSize||".875em",j=e.styles.btnPrimaryTextColor||"#FFFFFF",X=e.styles.btnPrimaryBGColor||"#000000",N=e.styles.btnPrimaryBorder||"1px solid #000000",L=e.styles.btnPrimaryTextTransform||"none",J=e.styles.btnPrimaryFontSize||".875em",m=e.styles.btnPrimaryFont||e.styles.modalPrimaryFont||'"Futura Book", "Helvetica", sans-serif;',S0=e.styles.btnSecondaryTextColor||j,H0=e.styles.btnSecondaryBGColor||X,z0=e.styles.btnSecondaryBorder||N,s0=e.styles.btnSecondaryTextTransform||L,I0=e.styles.btnSecondaryFontSize||J,M0=e.styles.btnSecondaryFont||m,W=e.styles.activeTabBGColor||"#FFFFFF",S=e.styles.activeTabBorder||"#B3B3B3",L0=e.styles.tabHighlightColor||"#D0D0D4",W0=e.styles.featureBlockMinHeight||"155px",{uniquePrefix:o}=e;return t("style",{type:"text/css"},` /* latin */ @font-face { font-family: 'Libre Franklin'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(https://fonts.gstatic.com/s/librefranklin/v14/jizBREVItHgc8qDIbSTKq4XkRiUa6zUTjnTLgNs.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* latin */ @font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(https://fonts.gstatic.com/s/librefranklin/v14/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: 'Austin'; font-style: normal; font-weight: 100 900; src: url('https://uploads-ssl.webflow.com/6395b94bfb2951448b8cff15/6395b94bfb295184418cff91_AustinNewsHeadline-Roman-Web.woff') format('woff'); } @font-face { font-family: 'Austin'; src: url('https://uploads-ssl.webflow.com/6395b94bfb2951448b8cff15/6395b94bfb29512d918cff90_AustinNewsHeadline-Italic-Web.woff') format('woff'); font-weight: 100 900; font-style: italic; font-display: swap; } #${o}-modal-underlay { position: fixed; left: 0; top: 0; z-index: 3000000000; background-color: #00000066; width: 100%; height: 100%; display: none; justify-content: center; align-items: center; font-size: 1em; } #${o}-modal-content *, #${o}-modal-content *:before, #${o}-modal-content *:after { margin: 0; padding: 0; line-height: initial; text-align: initial; text-transform: initial; letter-spacing: initial; font-size: 1em; } #${o}-modal { display: none; z-index: 3000000010; position: ${s}; margin: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 1180px; min-width: 1180px; // font-size: 16px; max-height: 95vh; } #${o}-modal-content { background-color: ${l}; padding: 30px 30px 20px 30px; max-width: 1180px; width: 1180px; font-family: ${x}; color: ${u}; font-size: ${n}; overflow-y: auto; } #${o}-modal-content h2 { font-family: ${h}; font-weight: ${C}; color: ${f}; font-size: ${k}; text-align: center; padding: 0; margin: 20px; font-style: ${$}; text-transform: ${y}; } #${o}-modal-content h3 { text-align: left; font-family: ${p}; font-weight: ${F}; font-size: ${B}; margin-top: 40px; padding: 0px 0px 20px; font-style: ${P}; text-transform: ${T}; color: ${f}; } #${o}-modal-content p.strapline { text-align: center; margin-top: 10px; font-size: ${d}; } #${o}-modal-content #${o}-tabs { display: flex; } #${o}-modal-content #${o}-tabs .${o}-tab { width: 50%; background: ${c}; border-bottom: 1px solid ${S}; padding: 20px; cursor: pointer; display: flex; border-top: 1px solid ${c}; border-right: 1px solid ${c}; border-left: 1px solid ${c}; } #${o}-modal-content #${o}-tabs .${o}-tab.${o}-active { background: ${W}; border-top: 1px solid ${S}; border-left: 1px solid ${S}; border-right: 1px solid ${S}; border-bottom: 1px solid ${W}; } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-text { padding: 8px 10px; line-height: 2em; } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-text span.${o}-tab-subtitle { font-size: ${b}; } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-number { height: 52px; width: 52px; background-color: ${L0}; border-radius: 52px; color: ${f}; line-height: 52px; text-align: center; font-size: 1.5em; font-family: ${p}; font-weight: ${F}; align-self: center; margin-right: 10px; margin-left: 10px; } #${o}-modal-content #${o}-tabs .${o}-tab.${o}-active .${o}-tab-number { background-color: ${c}; } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-text span.${o}-tab-title { font-family: ${p}; font-weight: ${F}; line-height: 2em; font-size: ${B}; color: ${f}; } #${o}-modal-content #${o}-content .${o}-content { display: none; background: ${W}; border-bottom: 1px solid ${S}; border-left: 1px solid ${S}; border-right: 1px solid ${S}; padding: 30px; color: ${i}; } #${o}-modal-content #${o}-content .${o}-content.${o}-active { display: block; } #${o}-modal-content #${o}-content .${o}-content .${o}-features { display: flex; } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block { text-align: center; background: ${l}; padding: 5px 10px 15px; flex-basis: 21%; flex-grow: 0; flex-shrink: 1; margin-left: auto; margin-right: auto; min-height: ${W0}; display: flex; flex-direction: column; } #${o}-info { margin-top: 50px;} #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block .icon { margin-top: 15px; height: 32px; width: 32px; display: flex; margin: 20px auto 15px; } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block .icon svg { margin: auto; } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block h4 { font-family: ${z}; font-size: ${G}; color: ${f}; text-align: center; margin: 0px 0px 15px; font-weight: ${H}; font-style: ${I}; text-transform: ${M}; } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block p { text-align: center; color: ${i}; font-size: .875em; } #${o}-modal-content #${o}-footer { display:flex; align-items: center; margin-top: 20px; } #${o}-modal-content #${o}-footer .footer-text { margin-left: 15%; width: 70%; text-align: center; font-size: 0.875em; } #${o}-modal-content #${o}-footer .${o}-powered-by { margin-left: auto; width: 130px; margin-top: 1px; } #${o}-modal-content #${o}-content .${o}-content .${o}-learn-more { display: flex; } #${o}-modal-content #${o}-content .${o}-content .${o}-learn-more p { font-size: 1em; align-self: flex-start; line-height: 1.5em; margin: 0; } #${o}-modal-content #${o}-content .${o}-content .${o}-learn-more button { background: ${H0}; color: ${S0}; border: ${z0}; padding: 15px 26px; text-transform: ${s0}; margin-left: auto; font-size: ${I0}; font-family: ${M0}; align-self: flex-start; cursor: pointer; } .${o}-close { position: absolute; right: 15px; top: 15px; cursor: pointer; } @media only screen and (max-width: 1180px) { #${o}-modal { max-width: unset; min-width: unset; width: calc(100vw - 30px); } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block { padding-top: 15px; padding-bottom: 15px; } #${o}-modal-content #${o}-footer .footer-text { text-align: left; margin-left: 0; width: auto; } } @media only screen and (max-width: 768px) { #${o}-modal { // left: 0; // top: 0; // transform: none; // position: absolute; margin: auto; } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-text span.${o}-tab-title { display: inline-block; text-align: center; margin-bottom: 10px; } #${o}-modal-content { max-width: calc(100vw - 30px); padding: 15px; width: 100%; font-size: ${r}; } #${o}-info { margin-top: 30px; } #${o}-modal-content #${o}-tabs .${o}-tab { display: block; padding: 10px } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-text { text-align: center; padding: 10px; line-height: 1.25em; } #${o}-modal-content #${o}-tabs .${o}-tab span { font-size: 1em; } #${o}-modal-content #${o}-tabs .${o}-tab .${o}-tab-number { display: none; } #${o}-modal-content #${o}-content .${o}-content .${o}-learn-more { display: block; } #${o}-modal-content #${o}-content .${o}-content .${o}-learn-more p { font-size: 0.875em; } #${o}-modal-content #${o}-content .${o}-content .${o}-learn-more button { font-size: 0.875em; padding: 10px 25px; margin-top: 15px; text-transform: ${s0}; } #${o}-modal-content h3 { margin-top: 30px; font-size: 1.25em; } #${o}-modal-content #${o}-content .${o}-content .${o}-features { display: block; width: 100%; background-color: ${W}; } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block { margin-bottom: 10px; font-size: 1.25em; min-height: unset; padding: 10px 20px 30px; } #${o}-modal-content #${o}-content .${o}-content .${o}-features .${o}-feature-block .icon { margin: 10px auto; } #${o}-modal-content #${o}-footer { display: block; } #${o}-modal-content #${o}-footer .${o}-powered-by { margin: auto; width: 130px; margin-top: 20px; } #${o}-modal-content #${o}-footer .footer-text { text-align: center; } .${o}-hide-mobile { display: none; } } .${o}-text-center { text-align: center; } .${o}-ml-0 { margin-left: 0px !important; } .${o}-mr-0 { margin-right: 0px !important;} .${o}-tab-full { width: 100% !important; border-bottom: 1px solid ${S} !important; } `)},x0=O0});var Y0,V,w0=v(()=>{"use strict";a();w();O();k0();Y0=({context:e,BrandStyling:n,HarperTry:r,HarperConcierge:l})=>{let s=!!(r&&!l),c=!!(l&&!r),{uniquePrefix:i}=e,{showTabNumber:u=!0,hideFooterText:b=!1,useTopLayer:d=!1}=e.options;n||(n=()=>t("style",null));let f=()=>{e.closeModal()},x=k=>{let p=document.querySelectorAll(`.${i}-tab`),P=document.querySelectorAll(`.${i}-content`);p.forEach(B=>{B.classList.remove(`${i}-active`)}),P.forEach(B=>{B.classList.remove(`${i}-active`)});let T=document.getElementById(`${i}-tab${k}`),F=document.getElementById(`${i}-content${k}`);T&&F&&(T.classList.add(`${i}-active`),F.classList.add(`${i}-active`))},h=()=>b?t("div",null):t("div",{class:"footer-text"},"Subject to approval. Checking for eligibility is immediate and won\u2019t affect your credit score."),$=()=>{if(!r)return t("div",null);let k=[`${i}-tab ${i}-active`,s?`${i}-tab-full`:""],p;return u?p=s?()=>t("div",null):()=>t("div",{class:`${i}-tab-number`},"1"):p=()=>t("div",null),t("div",{id:`${i}-tab1`,class:k.join(" "),onClick:()=>x("1")},t(p,null),t("div",{class:`${i}-tab-text`},t("span",{class:`${i}-tab-title`},"Try for 5 Days"),t("br",null),t("span",{class:`${i}-tab-subtitle`},"UK only")))},y=()=>{if(!l)return t("div",null);let k=[`${i}-tab`,r?"":`${i}-active`,c?`${i}-tab-full`:""],p;return u?p=c?()=>t("div",null):()=>t("div",{class:`${i}-tab-number`},"2"):p=()=>t("div",null),t("div",{id:`${i}-tab2`,class:k.join(" "),onClick:()=>x("2")},t(p,null),t("div",{class:`${i}-tab-text`},t("span",{class:`${i}-tab-title`},"Concierge Service"),t("br",null),t("span",{class:`${i}-tab-subtitle`},"Greater London",t("span",{class:`${i}-hide-mobile`}," only"))))},C=()=>t("div",null,t(x0,{context:e}),t(n,{context:e}),t("div",{id:`${i}-modal-underlay`,onClick:f}),t("div",{id:`${i}-modal`},t(A,{onClick:f,context:e}),t("div",{id:`${i}-modal-content`},t("h2",null,"Try Before You Buy"),t("p",{class:`strapline ${i}-text-center`},"Try on multiple sizes and styles in the comfort of your home without paying for the pieces upfront."),t("div",{id:`${i}-info`},t("div",{id:`${i}-tabs`},t($,null),t(y,null)),t("div",{id:`${i}-content`},t(r,{context:e,isActive:s||!c,isSingleTab:s}),t(l,{context:e,isActive:c,isSingleTab:c}))),t("div",{id:`${i}-footer`},t(h,null),t("div",{class:`${i}-powered-by`},t("svg",{viewBox:"0 0 134 24",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"m65.697 18.968c-0.1677 0-0.3244-0.0158-0.4699-0.0475-0.1456-0.0316-0.2611-0.0664-0.3465-0.1044l0.2278-0.7452c0.288 0.0886 0.5443 0.1203 0.7689 0.095 0.2247-0.0222 0.4241-0.1234 0.5981-0.3038 0.174-0.1772 0.3291-0.4493 0.4651-0.8164l0.2658-0.7404-2.6817-7.3617h0.9161l2.1643 6.1751h0.0665l2.1643-6.1751h0.9161l-3.0852 8.4439c-0.1297 0.3512-0.2895 0.6439-0.4794 0.878-0.1898 0.2374-0.4097 0.413-0.6597 0.5269-0.2468 0.1171-0.5237 0.1756-0.8306 0.1756z",fill:"#343434"}),t("path",{d:"m57.615 16.234v-9.7207h0.8496v3.8209h0.076c0.0949-0.2183 0.231-0.443 0.4082-0.67399 0.1803-0.231 0.4161-0.42402 0.7072-0.57906 0.2943-0.15822 0.6645-0.23732 1.1106-0.23732 0.5981 0 1.1234 0.15821 1.5758 0.47464 0.4525 0.31326 0.8054 0.75313 1.0585 1.3195 0.2531 0.5632 0.3797 1.2198 0.3797 1.9697 0 0.7531-0.1266 1.4129-0.3797 1.9793-0.25 0.5664-0.6012 1.0078-1.0537 1.3242-0.4493 0.3164-0.9714 0.4747-1.5663 0.4747-0.443 0-0.8132-0.0792-1.1107-0.2374-0.2943-0.1582-0.5316-0.3528-0.7119-0.5838-0.1804-0.2341-0.3196-0.462-0.4177-0.6835h-0.1044v1.3528h-0.8212zm0.8354-3.6405c0 0.5885 0.087 1.1106 0.2611 1.5663 0.1772 0.4525 0.4303 0.8085 0.7594 1.0679 0.3322 0.2563 0.7341 0.3845 1.2056 0.3845 0.4841 0 0.8939-0.1329 1.2293-0.3987 0.3354-0.269 0.5901-0.6313 0.7641-1.0869 0.1741-0.4557 0.2611-0.9667 0.2611-1.5331 0-0.5601-0.087-1.0648-0.2611-1.5141-0.1708-0.4493-0.424-0.8053-0.7594-1.068-0.3354-0.26576-0.7467-0.39866-1.234-0.39866-0.4747 0-0.8781 0.12815-1.2104 0.38446-0.3291 0.2531-0.5806 0.6044-0.7546 1.0537-0.1741 0.4462-0.2611 0.9604-0.2611 1.5426z",fill:"#343434"}),t("path",{d:"m48.642 16.386c-0.598 0-1.1217-0.1583-1.5711-0.4747-0.4493-0.3164-0.8005-0.7578-1.0537-1.3242-0.2499-0.5664-0.3749-1.2262-0.3749-1.9793 0-0.7499 0.125-1.4065 0.3749-1.9697 0.2532-0.5664 0.606-1.0063 1.0585-1.3195 0.4525-0.31643 0.9793-0.47464 1.5805-0.47464 0.443 0 0.8117 0.0791 1.106 0.23732 0.2942 0.15504 0.53 0.34806 0.7072 0.57906 0.1772 0.23099 0.3148 0.45569 0.4129 0.67399h0.0759v-3.8209h0.8496v9.7207h-0.8258v-1.3528h-0.0997c-0.0981 0.2215-0.2373 0.4494-0.4177 0.6835-0.1803 0.231-0.4192 0.4256-0.7167 0.5838-0.2943 0.1582-0.6629 0.2374-1.1059 0.2374zm0.0997-0.7737c0.4715 0 0.8733-0.1282 1.2056-0.3845 0.3322-0.2594 0.5853-0.6154 0.7594-1.0679 0.1772-0.4557 0.2658-0.9778 0.2658-1.5663 0-0.5822-0.087-1.0964-0.2611-1.5426-0.174-0.4493-0.4271-0.8006-0.7594-1.0537-0.3322-0.25631-0.7357-0.38446-1.2103-0.38446-0.4873 0-0.8987 0.1329-1.2341 0.39866-0.3322 0.2627-0.5854 0.6187-0.7594 1.068-0.1709 0.4493-0.2563 0.954-0.2563 1.5141 0 0.5664 0.087 1.0774 0.261 1.5331 0.1741 0.4556 0.4272 0.8179 0.7595 1.0869 0.3354 0.2658 0.7451 0.3987 1.2293 0.3987z",fill:"#343434"}),t("path",{d:"m41.466 16.386c-0.6803 0-1.2688-0.1582-1.7656-0.4747-0.4968-0.3196-0.8813-0.761-1.1534-1.3242-0.269-0.5664-0.4034-1.2183-0.4034-1.9555 0-0.7341 0.1344-1.386 0.4034-1.9555 0.2721-0.5728 0.6471-1.0205 1.1249-1.3433 0.481-0.32592 1.0363-0.48888 1.666-0.48888 0.3955 0 0.7768 0.07278 1.1439 0.21833 0.367 0.1424 0.6961 0.36231 0.9872 0.65975 0.2943 0.29427 0.5269 0.66607 0.6977 1.1154 0.1709 0.4462 0.2563 0.9746 0.2563 1.5853v0.4177h-5.6956v-0.7452h4.8318c0-0.4683-0.0949-0.8891-0.2848-1.2625-0.1867-0.3766-0.4477-0.674-0.7831-0.89233-0.3323-0.21834-0.7168-0.3275-1.1534-0.3275-0.462 0-0.8686 0.1234-1.2198 0.37022-0.3513 0.24681-0.6266 0.57271-0.8259 0.97771-0.1962 0.4051-0.2959 0.8481-0.299 1.329v0.4462c0 0.5791 0.0996 1.0853 0.299 1.5188 0.2025 0.4304 0.4889 0.7642 0.8591 1.0015 0.3702 0.2374 0.8085 0.356 1.3147 0.356 0.3449 0 0.6471-0.0538 0.9066-0.1614 0.2626-0.1076 0.4825-0.2515 0.6597-0.4319 0.1804-0.1835 0.3165-0.3844 0.4082-0.6028l0.8022 0.2611c-0.1108 0.3069-0.2927 0.5901-0.5459 0.8496-0.2499 0.2594-0.5632 0.4683-0.9397 0.6265-0.3734 0.1551-0.8038 0.2326-1.2911 0.2326z",fill:"#343434"}),t("path",{d:"m34.244 16.234v-7.2905h0.8212v1.1201h0.0617c0.1455-0.36701 0.3987-0.66287 0.7594-0.88753 0.3639-0.22783 0.7752-0.34174 1.2341-0.34174 0.0696 0 0.1471 0.00158 0.2325 0.00474 0.0855 0.00317 0.1567 0.00633 0.2136 0.0095v0.8591c-0.038-0.00633-0.1044-0.01583-0.1993-0.02848-0.095-0.01266-0.1978-0.01899-0.3085-0.01899-0.3798 0-0.7183 0.08069-1.0158 0.24207-0.2943 0.15823-0.5268 0.37813-0.6977 0.65973s-0.2563 0.6028-0.2563 0.9635v4.7085h-0.8449z",fill:"#343434"}),t("path",{d:"m29.693 16.386c-0.6803 0-1.2689-0.1582-1.7657-0.4747-0.4968-0.3196-0.8812-0.761-1.1533-1.3242-0.269-0.5664-0.4035-1.2183-0.4035-1.9555 0-0.7341 0.1345-1.386 0.4035-1.9555 0.2721-0.5728 0.6471-1.0205 1.1249-1.3433 0.4809-0.32592 1.0363-0.48888 1.6659-0.48888 0.3956 0 0.7769 0.07278 1.1439 0.21833 0.3671 0.1424 0.6962 0.36231 0.9873 0.65975 0.2943 0.29427 0.5268 0.66607 0.6977 1.1154 0.1709 0.4462 0.2563 0.9746 0.2563 1.5853v0.4177h-5.6957v-0.7452h4.8319c0-0.4683-0.095-0.8891-0.2848-1.2625-0.1867-0.3766-0.4478-0.674-0.7832-0.89233-0.3322-0.21834-0.7167-0.3275-1.1534-0.3275-0.4619 0-0.8685 0.1234-1.2198 0.37022-0.3512 0.24681-0.6265 0.57271-0.8259 0.97771-0.1961 0.4051-0.2958 0.8481-0.299 1.329v0.4462c0 0.5791 0.0997 1.0853 0.299 1.5188 0.2026 0.4304 0.4889 0.7642 0.8591 1.0015 0.3703 0.2374 0.8085 0.356 1.3148 0.356 0.3449 0 0.6471-0.0538 0.9066-0.1614 0.2626-0.1076 0.4825-0.2515 0.6597-0.4319 0.1804-0.1835 0.3164-0.3844 0.4082-0.6028l0.8021 0.2611c-0.1107 0.3069-0.2927 0.5901-0.5458 0.8496-0.25 0.2594-0.5632 0.4683-0.9398 0.6265-0.3734 0.1551-0.8037 0.2326-1.291 0.2326z",fill:"#343434"}),t("path",{d:"m18.123 16.234-2.2023-7.2905h0.8923l1.7277 6.0137h0.0617l1.723-6.0137h0.897l1.7087 5.9995h0.0665l1.7277-5.9995h0.8923l-2.2023 7.2905h-0.8734l-1.7277-5.9757h-0.0901l-1.7277 5.9757h-0.8734z",fill:"#343434"}),t("path",{d:"m11.957 16.386c-0.6297 0-1.1866-0.1598-1.6707-0.4794-0.48099-0.3196-0.85754-0.761-1.1297-1.3243-0.27213-0.5664-0.40819-1.2198-0.40819-1.9602 0-0.7468 0.13606-1.4034 0.40819-1.9698 0.27212-0.5695 0.64867-1.0125 1.1297-1.329 0.4841-0.3196 1.041-0.47939 1.6707-0.47939s1.185 0.15979 1.666 0.47939c0.481 0.31959 0.8575 0.76256 1.1296 1.329 0.2753 0.5664 0.413 1.223 0.413 1.9698 0 0.7404-0.1361 1.3938-0.4082 1.9602-0.2721 0.5633-0.6503 1.0047-1.1344 1.3243-0.481 0.3196-1.0363 0.4794-1.666 0.4794zm0-0.7737c0.5063 0 0.9351-0.1361 1.2863-0.4082s0.617-0.6344 0.7974-1.0869c0.1835-0.4525 0.2753-0.9509 0.2753-1.4951 0-0.5443-0.0918-1.0442-0.2753-1.4999-0.1804-0.4556-0.4462-0.8211-0.7974-1.0964-0.3512-0.27529-0.78-0.41293-1.2863-0.41293-0.5031 0-0.9319 0.13764-1.2863 0.41293-0.3512 0.2753-0.6186 0.6408-0.8021 1.0964-0.18037 0.4557-0.27055 0.9556-0.27055 1.4999 0 0.5442 0.09018 1.0426 0.27055 1.4951 0.1835 0.4525 0.4509 0.8148 0.8021 1.0869 0.3513 0.2721 0.78 0.4082 1.2863 0.4082z",fill:"#343434"}),t("path",{d:"m1.291 16.234v-9.7207h3.1374c0.68981 0 1.2657 0.1329 1.7277 0.3987 0.46515 0.26264 0.8148 0.6202 1.049 1.0727 0.23732 0.45249 0.35598 0.96193 0.35598 1.5283 0 0.56643-0.11708 1.0774-0.35124 1.5331-0.23415 0.4524-0.58222 0.8116-1.0442 1.0774-0.46199 0.2626-1.0363 0.3939-1.723 0.3939h-2.4681v-0.7974h2.4444c0.50945 0 0.93188-0.0949 1.2673-0.2847 0.33541-0.1931 0.58539-0.4557 0.74993-0.7879 0.16771-0.3323 0.25156-0.71042 0.25156-1.1344s-0.08385-0.80214-0.25156-1.1344c-0.16454-0.33225-0.4161-0.5933-0.75468-0.78316-0.33541-0.18985-0.761-0.28478-1.2768-0.28478h-2.2261v8.9233h-0.88757z",fill:"#343434"}),t("path",{d:"m78.299 16.557v-16.229h-1.4454v-0.32805h4.1163v9.0873h0.0679c0.0583-0.14001 0.1569-0.34409 0.2956-0.6151 0.1377-0.26902 0.3453-0.54009 0.6227-0.8111 0.2755-0.27007 0.6295-0.50709 1.059-0.70812 0.4304-0.20104 0.9729-0.30103 1.6272-0.30103 0.9613 0 1.7075 0.29705 2.2394 0.8881 0.5318 0.5921 0.7977 1.4012 0.7977 2.4294v6.5889h1.4685v0.3271h-5.4957v-0.3271h1.3574v-7.362c0-0.65108-0.1253-1.1282-0.3731-1.4322-0.2496-0.30202-0.5864-0.45403-1.0102-0.45403-0.351 0-0.6878 0.08999-1.0101 0.26803-0.3224 0.17798-0.6036 0.44606-0.8457 0.80408-0.241 0.35707-0.4362 0.80015-0.5816 1.3282-0.1463 0.52806-0.219 1.1492-0.219 1.8633v4.9847h1.3803v0.3271h-5.4966v-0.3281h1.4454z","clip-rule":"evenodd","fill-rule":"evenodd"}),t("path",{d:"m97.828 17.085c-0.3874 0.061-0.749 0.092-1.0848 0.092-0.7452 0-1.2943-0.14-1.652-0.42-0.3578-0.2811-0.5797-0.6701-0.6678-1.1692h-0.0631c-0.2353 0.623-0.5596 1.0441-0.97 1.2631-0.4123 0.2171-1.0082 0.3261-1.7869 0.3261-0.353 0-0.7136-0.04-1.08-0.116-0.3683-0.079-0.707-0.2041-1.015-0.3751-0.3089-0.171-0.5596-0.4101-0.75-0.7141-0.1912-0.303-0.286-0.6751-0.286-1.1122 0-0.452 0.0833-0.8301 0.2497-1.1341 0.1674-0.304 0.3846-0.5621 0.6543-0.7721 0.2679-0.21 0.5731-0.3821 0.9145-0.5151 0.3416-0.132 0.6936-0.261 1.0571-0.387 0.6141-0.186 1.1115-0.3461 1.4942-0.4781 0.3817-0.133 0.6782-0.273 0.8877-0.422 0.2105-0.1481 0.3559-0.3161 0.4381-0.5031 0.0823-0.188 0.1244-0.4291 0.1244-0.72613v-1.4272c0-0.42108-0.0957-0.80413-0.2851-1.1472-0.1903-0.34203-0.5481-0.51504-1.0733-0.51504-0.3357 0-0.6285 0.08302-0.8771 0.24602-0.2478 0.164-0.3722 0.46509-0.3722 0.90115 0 0.04698 0.0067 0.12901 0.0211 0.24503 0.0153 0.11801 0.0296 0.24702 0.0439 0.38802 0.0154 0.14001 0.0287 0.27306 0.0441 0.39704 0.0153 0.12404 0.0229 0.21004 0.0229 0.25709 0 0.23403-0.0516 0.41804-0.154 0.55003-0.1033 0.13305-0.2229 0.23105-0.3616 0.29305-0.1396 0.063-0.2851 0.098-0.4381 0.105-0.154 8e-3 -0.2812 0.011-0.3826 0.011-0.1464 0-0.2966-0.011-0.4496-0.034-0.1541-0.023-0.2889-0.078-0.4056-0.165-0.1177-0.08502-0.2163-0.20601-0.2966-0.36305-0.0794-0.15504-0.1196-0.36602-0.1196-0.63107 0-0.4061 0.1062-0.76914 0.3176-1.0882 0.2124-0.32004 0.4927-0.58508 0.8438-0.79507 0.35-0.21004 0.748-0.37006 1.1938-0.48011 0.4448-0.11 0.9088-0.164 1.3918-0.164 0.5539 0 1.0762 0.04599 1.565 0.14001 0.4889 0.09402 0.9127 0.26603 1.2695 0.5151 0.3577 0.25001 0.6418 0.58906 0.8542 1.0191 0.2114 0.4291 0.3176 0.97217 0.3176 1.6272v5.8078c0 0.297 0.0392 0.5581 0.1195 0.7841 0.0804 0.227 0.2813 0.34 0.6037 0.34 0.1893 0 0.3463-0.039 0.4706-0.117 0.1244-0.077 0.2439-0.187 0.3616-0.328l0.1971 0.211c-0.2047 0.3251-0.4994 0.5181-0.8868 0.5801zm-3.5806-6.0098c-0.0306 0.0929-0.0861 0.184-0.1674 0.269-0.0822 0.086-0.2276 0.183-0.4352 0.291-0.2822 0.1421-0.5663 0.278-0.8485 0.4101-0.2822 0.133-0.5357 0.301-0.7586 0.503-0.2238 0.2031-0.4056 0.4521-0.5462 0.7491-0.1416 0.2971-0.2124 0.6781-0.2124 1.1452 0 0.188 0.0105 0.407 0.0335 0.6561 0.022 0.249 0.0823 0.4911 0.1789 0.7251 0.0956 0.234 0.2411 0.4331 0.4352 0.5961 0.1923 0.164 0.4611 0.246 0.8036 0.246 0.1923 0 0.3826-0.047 0.5692-0.141 0.1855-0.094 0.3529-0.237 0.5012-0.4331 0.1493-0.194 0.2678-0.452 0.3578-0.772 0.0889-0.3191 0.1339-0.7052 0.1339-1.1582v-3.0864h-0.045z","clip-rule":"evenodd","fill-rule":"evenodd"}),t("path",{d:"m100.82 6.877v1.9643h0.068c0.263-0.59614 0.617-1.1102 1.063-1.5423 0.445-0.43103 1.033-0.64705 1.764-0.64705 0.614 0 1.11 0.17699 1.49 0.53003 0.379 0.35409 0.569 0.84415 0.569 1.4712 0 0.47105-0.106 0.84012-0.317 1.1072-0.213 0.26704-0.551 0.40004-1.019 0.40004-0.336 0-0.643-0.073-0.92-0.222-0.279-0.14802-0.416-0.42406-0.416-0.83011 0-0.04704 6e-3 -0.12907 0.021-0.24503 0.015-0.11702 0.033-0.24205 0.055-0.3751 0.021-0.13199 0.039-0.25199 0.055-0.36205 0.014-0.10999 0.022-0.17101 0.022-0.18699-0.016-0.12503-0.037-0.22204-0.065-0.29306-0.03-0.06899-0.078-0.132-0.143-0.187-0.066-0.05505-0.164-0.08202-0.296-0.08202-0.147 0-0.329 0.07401-0.548 0.22303-0.22 0.14802-0.423 0.36205-0.613 0.64306-0.19 0.28107-0.354 0.62013-0.493 1.0172-0.139 0.39704-0.209 0.84511-0.209 1.3422v5.9568h1.732v0.3261h-5.8261v-0.3271h1.4243v-9.3533h-1.4243v-0.32805h4.0261z","clip-rule":"evenodd","fill-rule":"evenodd"}),t("path",{d:"m104.77 7.16v-0.32806h4.048v1.7312h0.069c0.455-1.3711 1.32-2.0573 2.596-2.0573 0.852 0 1.579 0.17605 2.18 0.52604 0.601 0.35105 1.095 0.79215 1.484 1.3212 0.391 0.53003 0.676 1.1072 0.859 1.7302 0.184 0.6241 0.276 1.2092 0.276 1.7542 0 0.7021-0.118 1.3722-0.351 2.0113-0.235 0.6401-0.56 1.2052-0.977 1.6963-0.417 0.491-0.918 0.8851-1.502 1.1811-0.585 0.2961-1.236 0.4441-1.952 0.4441-0.674 0-1.215-0.195-1.624-0.5841-0.409-0.39-0.716-0.8581-0.921-1.4042h-0.068v7.8811h1.491v0.327h-5.608v-0.327h1.446v-15.903h-1.446zm4.172 6.3219c0.036 0.5841 0.143 1.1301 0.32 1.6372 0.178 0.5071 0.44 0.9281 0.787 1.2632 0.347 0.336 0.83 0.5031 1.451 0.5031 0.412 0 0.741-0.117 0.985-0.3511 0.244-0.233 0.428-0.5681 0.554-1.0052 0.125-0.436 0.206-0.9621 0.243-1.5791 0.036-0.6161 0.055-1.3052 0.055-2.0704 0-0.9361-0.033-1.7272-0.099-2.3733-0.066-0.6471-0.181-1.1651-0.344-1.5562-0.162-0.38908-0.37-0.67009-0.62-0.84111-0.25-0.17207-0.568-0.25808-0.951-0.25808-0.546 0-0.982 0.16406-1.307 0.49112-0.325 0.327-0.568 0.74106-0.731 1.2401-0.162 0.49907-0.27 1.0451-0.321 1.6362-0.052 0.5931-0.077 1.1472-0.077 1.6612 0 0.4841 0.018 1.0172 0.055 1.6023z","clip-rule":"evenodd","fill-rule":"evenodd"}),t("path",{d:"m118.99 12.023c0 0.5661 0.022 1.1341 0.067 1.7072 0.043 0.5731 0.16 1.0902 0.352 1.5532 0.19 0.4631 0.469 0.8441 0.837 1.1422 0.367 0.2981 0.882 0.446 1.543 0.446 0.586 0 1.082-0.118 1.485-0.353 0.405-0.235 0.736-0.5061 0.992-0.8121 0.258-0.3061 0.449-0.6071 0.574-0.9051 0.124-0.2981 0.194-0.5181 0.21-0.6591l0.308 0.117c-0.074 0.299-0.198 0.6161-0.373 0.9531-0.176 0.3381-0.418 0.6521-0.726 0.9421-0.308 0.2901-0.688 0.5331-1.142 0.7302-0.453 0.195-1.003 0.293-1.647 0.293-0.762 0-1.471-0.121-2.13-0.3621-0.659-0.242-1.235-0.5931-1.725-1.0531-0.49-0.4601-0.874-1.0222-1.152-1.6852-0.278-0.6632-0.418-1.4152-0.418-2.2584 0-0.6711 0.132-1.3271 0.395-1.9662 0.263-0.64014 0.626-1.2052 1.089-1.6963 0.461-0.49106 1.003-0.89014 1.626-1.1942 0.622-0.30307 1.293-0.45607 2.011-0.45607 0.513 0 1.025 0.08501 1.537 0.25503 0.513 0.17102 0.974 0.43308 1.384 0.7901 0.412 0.35608 0.749 0.81712 1.012 1.3812 0.263 0.56607 0.396 1.2432 0.396 2.0323h-6.505v1.0582zm3.56-2.9024c0-0.17202-7e-3 -0.38306-0.022-0.63213-0.015-0.24901-0.068-0.49907-0.157-0.74808-0.088-0.24901-0.232-0.46005-0.432-0.63107-0.202-0.17207-0.479-0.25808-0.835-0.25808-0.505 0-0.895 0.12503-1.168 0.3741-0.276 0.24901-0.479 0.56507-0.612 0.94713-0.134 0.38206-0.219 0.79606-0.256 1.2401s-0.063 0.8691-0.078 1.2742h3.56v-1.5662z","clip-rule":"evenodd","fill-rule":"evenodd"}),t("path",{d:"m128.7 6.977v1.9643h0.069c0.263-0.59608 0.617-1.1102 1.061-1.5422 0.446-0.43108 1.034-0.6471 1.765-0.6471 0.614 0 1.11 0.17705 1.49 0.53009 0.378 0.35403 0.569 0.84409 0.569 1.4712 0 0.47104-0.105 0.84011-0.318 1.1071-0.211 0.26705-0.55 0.40005-1.018 0.40005-0.336 0-0.643-0.073-0.92-0.222-0.278-0.14803-0.416-0.42407-0.416-0.83012 0-0.04698 6e-3 -0.12901 0.021-0.24503 0.015-0.11702 0.034-0.24205 0.055-0.37504 0.022-0.13205 0.04-0.25205 0.054-0.36205 0.016-0.11005 0.023-0.17107 0.023-0.18705-0.015-0.12503-0.036-0.22204-0.066-0.29306-0.03-0.06899-0.076-0.132-0.141-0.187-0.067-0.05499-0.166-0.08202-0.297-0.08202-0.146 0-0.33 0.07401-0.548 0.22303-0.219 0.14802-0.424 0.36205-0.613 0.64312-0.191 0.28101-0.354 0.62007-0.493 1.0171-0.14 0.39704-0.208 0.84512-0.208 1.3422v5.9568h1.73v0.3261h-5.825v-0.3271h1.424v-9.3533h-1.424v-0.32805h4.026z","clip-rule":"evenodd","fill-rule":"evenodd"}),t("path",{d:"m131.38 14.79c0.264-0.2781 0.579-0.4171 0.943-0.4171 0.365 0 0.68 0.139 0.944 0.4171 0.263 0.278 0.395 0.61 0.395 0.9931 0 0.385-0.132 0.7121-0.395 0.9842-0.264 0.27-0.579 0.406-0.944 0.406-0.364 0-0.679-0.136-0.943-0.406-0.264-0.2721-0.396-0.5992-0.396-0.9842 0-0.3831 0.132-0.7151 0.396-0.9931z","clip-rule":"evenodd","fill-rule":"evenodd"})))))));return d?t("dialog",{id:`${i}-plugin`},t(C,null)):t("div",{id:`${i}-plugin`},t(C,null),";")},V=Y0});var V0,Z,K=v(()=>{"use strict";a();w();V0=()=>t("svg",{fill:"none",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#hcx-bagicon)"},t("path",{d:"m7.833 29.333c-0.53334 0-1-0.2-1.4-0.6s-0.6-0.8667-0.6-1.4v-17.333c0-0.53331 0.2-0.99998 0.6-1.4s0.86666-0.6 1.4-0.6h3.6667v-0.33333c0-1.4 0.4833-2.5833 1.45-3.55 0.9666-0.96667 2.15-1.45 3.55-1.45s2.5833 0.48333 3.55 1.45c0.9666 0.96666 1.45 2.15 1.45 3.55v0.33333h3.6666c0.5334 0 1 0.2 1.4 0.6s0.6 0.86667 0.6 1.4v17.333c0 0.5333-0.2 1-0.6 1.4s-0.8666 0.6-1.4 0.6h-17.333zm0-2h17.333v-17.333h-3.6666v3c0 0.2834-0.0964 0.5209-0.2892 0.7125-0.1928 0.1917-0.4317 0.2875-0.7167 0.2875s-0.5219-0.0958-0.7108-0.2875c-0.1889-0.1916-0.2833-0.4291-0.2833-0.7125v-3h-6v3c0 0.2834-0.0964 0.5209-0.2892 0.7125-0.1928 0.1917-0.4317 0.2875-0.7167 0.2875s-0.5219-0.0958-0.7108-0.2875c-0.1889-0.1916-0.2833-0.4291-0.2833-0.7125v-3h-3.6667v17.333zm5.6667-19.333h6v-0.33333c0-0.84445-0.2889-1.5556-0.8667-2.1333-0.5778-0.57777-1.2889-0.86666-2.1333-0.86666-0.8445 0-1.5556 0.28889-2.1334 0.86666-0.5777 0.57778-0.8666 1.2889-0.8666 2.1333v0.33333z",fill:"#000"})),t("defs",null,t("clipPath",{id:"hcx-bagicon"},t("rect",{transform:"translate(.5)",width:"32",height:"32",fill:"#fff"})))),Z=V0});var Z0,Q,E=v(()=>{"use strict";a();w();Z0=()=>t("svg",{fill:"none",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#hcx-cardicon)"},t("path",{d:"m29.834 7.3333v17.333c0 0.5334-0.2 1-0.6 1.4s-0.8667 0.6-1.4 0.6h-22.667c-0.53333 0-1-0.2-1.4-0.6s-0.6-0.8666-0.6-1.4v-17.333c0-0.53333 0.2-1 0.6-1.4s0.86667-0.6 1.4-0.6h22.667c0.5333 0 1 0.2 1.4 0.6s0.6 0.86667 0.6 1.4zm-24.667 3.6333h22.667v-3.6333h-22.667v3.6333zm0 4.3v9.4h22.667v-9.4h-22.667z",fill:"#000"})),t("defs",null,t("clipPath",{id:"hcx-cardicon"},t("rect",{transform:"translate(.5)",width:"32",height:"32",fill:"#fff"})))),Q=Z0});var K0,t0,o0=v(()=>{"use strict";a();w();K0=()=>t("svg",{fill:"none",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#hcx-hangericon)"},t("path",{d:"m4.1664 26.667c-0.46667 0-0.77778-0.2222-0.93334-0.6666-0.15555-0.4445-0.04444-0.8222 0.33334-1.1334l11.933-9.3666v-1.8334c0-0.2666 0.0944-0.5 0.2833-0.7s0.4167-0.3 0.6833-0.3c0.7556 0.0223 1.3945-0.2277 1.9167-0.75 0.5222-0.5222 0.7833-1.1611 0.7833-1.9166 0-0.73333-0.2611-1.3611-0.7833-1.8833-0.5222-0.52223-1.15-0.78334-1.8833-0.78334-0.7334 0-1.3612 0.26111-1.8834 0.78334-0.5222 0.52222-0.7833 1.15-0.7833 1.8833h-2c0-1.2889 0.4555-2.3889 1.3667-3.3 0.9111-0.91111 2.0111-1.3667 3.3-1.3667 1.2888 0 2.3888 0.44445 3.3 1.3333 0.9111 0.88889 1.3666 1.9778 1.3666 3.2667 0 1.0889-0.3444 2.0556-1.0333 2.9-0.6889 0.8445-1.5667 1.4222-2.6333 1.7333v0.9334l11.933 9.3666c0.3778 0.3112 0.4889 0.6889 0.3333 1.1334-0.1555 0.4444-0.4666 0.6666-0.9333 0.6666h-24.667zm3-2h18.667l-9.3333-7.4333-9.3334 7.4333z",fill:"#000"})),t("defs",null,t("clipPath",{id:"hcx-hangericon"},t("rect",{transform:"translate(.5)",width:"32",height:"32",fill:"#fff"})))),t0=K0});var Q0,e0,n0=v(()=>{"use strict";a();w();Q0=()=>t("svg",{fill:"none",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"},t("g",{"clip-path":"url(#hcx-returnicon)"},t("path",{d:"m16.5 29.333c-1.6667 0-3.2278-0.3111-4.6833-0.9333-1.4556-0.6222-2.7278-1.4778-3.8167-2.5667s-1.9444-2.3611-2.5667-3.8167c-0.62222-1.4555-0.93333-3.0166-0.93333-4.6833h2c0 2.7778 0.97222 5.1389 2.9167 7.0833 1.9444 1.9445 4.3055 2.9167 7.0833 2.9167s5.1389-0.9722 7.0833-2.9167c1.9445-1.9444 2.9167-4.3055 2.9167-7.0833s-0.9444-5.1389-2.8333-7.0833c-1.8889-1.9445-4.2223-2.9167-7-2.9167h-0.7667l2.4333 2.4333-1.3666 1.4-4.9-4.9 4.9-4.9 1.3666 1.3667-2.6 2.6h0.7667c1.6667 0 3.2278 0.31111 4.6833 0.93333 1.4556 0.62222 2.7278 1.4778 3.8167 2.5667 1.0889 1.0889 1.9444 2.3611 2.5667 3.8167 0.6222 1.4555 0.9333 3.0166 0.9333 4.6833s-0.3111 3.2278-0.9333 4.6833c-0.6223 1.4556-1.4778 2.7278-2.5667 3.8167s-2.3611 1.9445-3.8167 2.5667c-1.4555 0.6222-3.0166 0.9333-4.6833 0.9333z",fill:"#000"})),t("defs",null,t("clipPath",{id:"hcx-returnicon"},t("rect",{transform:"translate(.5)",width:"32",height:"32",fill:"#fff"})))),e0=Q0});var E0,i0,r0=v(()=>{"use strict";a();w();E0=({context:e,isActive:n,index:r,LearnMoreText:l,features:s,isSingleTab:c})=>{let{uniquePrefix:i}=e,u="https://www.frenchconnection.com/pages/payment-methods",b=n?`${i}-content ${i}-active`:`${i}-content`,d=`${i}-content${r}`,f=({Icon:x,title:h,description:$,descriptionStyle:y,first:C,last:k})=>{let p={first:`${i}-feature-block ${i}-ml-0`,last:`${i}-feature-block ${i}-mr-0`,middle:`${i}-feature-block`},P=C?p.first:k?p.last:p.middle;return t("div",{class:P},t("div",{class:"icon"},t(x,null)),t("h4",null,h),t(()=>y?t("p",{style:y},$):t("p",null,$),null))};return t("div",{id:d,class:b},t("div",{class:`${i}-learn-more`},t(l,null),t("button",{onClick:()=>window.open(u,"_self")},"Learn More")),t("h3",null,"How It Works"),t("div",{class:`${i}-features`},s.map((x,h)=>t(f,{key:r,...x,first:h===0,last:h===s.length-1}))))},i0=E0});var tt,a0,C0=v(()=>{"use strict";a();w();K();E();o0();n0();r0();tt=({context:e,isActive:n,isSingleTab:r})=>t(i0,{context:e,isActive:n,index:"1",LearnMoreText:()=>t("p",null,"Try on and return pieces for free within 5 days.\xA0",t("br",null),"Choose from Standard or Next Day delivery."),features:[{Icon:Z,title:"Choose your pieces",description:"Select Try Before You Buy in cart."},{Icon:t0,title:"Try at home",description:"Style with your wardrobe and decide what to keep."},{Icon:e0,title:"Send off any returns",description:"Return for free with our online portal.",descriptionStyle:"padding: 0px 15px;"},{Icon:Q,title:"Payment taken",description:"You will only be charged for the pieces you keep."}],isSingleTab:r}),a0=tt});var P0=v(()=>{"use strict";a();w();K();E();o0();n0();r0()});var T0=v(()=>{"use strict";a();w0();C0();P0()});var ot,F0,B0=v(()=>{"use strict";a();w();ot=({context:e})=>{let{uniquePrefix:n}=e;return t("style",{type:"text/css"},` #${n}-checkoutcta-button { letter-spacing: 1px} `)},F0=ot});var et=q0((oe,R)=>{a();h0();v0();T0();B0();var _=class{constructor(n){return new U(n,{CheckoutCTA:$0,BrandStyling:F0,PopupModal:V,HarperTry:a0})}};typeof R=="object"&&(R.exports=_);R.exports.Harper=_});return et();})();