PageSourceSearch

https://www.vistaprint.nl/assets/ubik/web/@vp/fragment-sitewide-co…/fragment-sitewide-comms-bar-CD-sRdxy.js

js vistaprint.nl collected 2026-10-03 21:20:35 UTC 50,976 bytes, 4 lines download raw bytes

1System.register(["react/jsx-runtime","@vp/ubik-fragment-react","react","@vp/swan","@vp/price-platform","@vp/tracking","@vp/ubik-context","react-dom","@vp/mcs-react-tools"],(function(Jt){"use strict";var T,P,L,Ye,fe,j,H,Ke,Se,$e,Ze,Je,Qe,et,Q,tt,nt,Ae,rt,K,at,it,ot,st,lt,xe,ct,ut,dt,ft,pt,gt;return{setters:[function(g){T=g.jsx,P=g.jsxs,L=g.Fragment},function(g){Ye=g.clientMount},function(g){fe=g.default,j=g.useState,H=g.useEffect,Ke=g.useCallback,Se=g.useRef,$e=g.createContext,Ze=g.useContext},function(g){Je=g.SwanProvider,Qe=g.getRootClassNames,et=g.AlertBox,Q=g.Typography,tt=g.Span,nt=g.Link,Ae=g.Button,rt=g.Icon,K=g.getTokenCssVar,at=g.Box,it=g.AdaptiveCarousel,ot=g.AdaptiveCarouselSlide,st=g.FlexBox},function(g){lt=g.OfferDetails},function(g){xe=g.getTracking},function(g){ct=g.trackRuntimeEvent,ut=g.useUserContext,dt=g.track},function(g){ft=g.createPortal},function(g){pt=g.ContentfulContextProvider,gt=g.DebugSection}],execute:(function(){var g=(e=>(e.HOLIDAY="holiday",e.HOLIDAY_GREEN="holiday-green",e.DISCOUNT="discount",e.HOLIDAY_BEIGE="holiday-beige",e.INVERSE="inverse",e.STANDARD="standard",e))(g||{}),d=(e=>(e.deDE="de-de",e.esES="es-es",e.fiFI="fi-fi",e.nlNL="nl-nl",e.itIT="it-it",e.svSE="sv-se",e.nbNO="nb-no",e.ptPT="pt-pt",e.daDK="da-dk",e.enUS="en-us",e.frCA="fr-ca",e.esUS="es-us",e.enCA="en-ca",e.nlBE="nl-be",e.enIE="en-ie",e.frBE="fr-be",e.frFR="fr-fr",e.frCH="fr-ch",e.deAT="de-at",e.deCH="de-ch",e.itCH="it-ch",e.enAU="en-au",e.enNZ="en-nz",e.enSG="en-sg",e.enIN="en-in",e.enGB="en-gb",e))(d||{});function Qt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F={},ee={},Ie={},U={},W={},Oe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0;var t;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(t=e.ElementType||(e.ElementType={}));function n(r){return r.type===t.Tag||r.type===t.Script||r.type===t.Style}e.isTag=n,e.Root=t.Root,e.Text=t.Text,e.Directive=t.Directive,e.Comment=t.Comment,e.Script=t.Script,e.Style=t.Style,e.Tag=t.Tag,e.CDATA=t.CDATA,e.Doctype=t.Doctype})(Oe);var v={},G=v&&v.__extends||(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),te=v&&v.__assign||function(){return te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},te.apply(this,arguments)};Object.defineProperty(v,"__esModule",{value:!0}),v.cloneNode=v.hasChildren=v.isDocument=v.isDirective=v.isComment=v.isText=v.isCDATA=v.isTag=v.Element=v.Document=v.CDATA=v.NodeWithChildren=v.ProcessingInstruction=v.Comment=v.Text=v.DataNode=v.Node=void 0;var A=Oe,Me=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),De(this,t)},e})();v.Node=Me;var pe=(function(e){G(t,e);function t(n){var r=e.call(this)||this;return r.data=n,r}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(n){this.data=n}
vendor: 4,815 bytes, line 1
1,enumerable:!1,configurable:!0}),t})(Me);v.DataNode=pe;var ht=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.Text,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(pe);v.Text=ht;var vt=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.Comment,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(pe);v.Comment=vt;var mt=(function(e){G(t,e);function t(n,r){var i=e.call(this,r)||this;return i.name=n,i.type=A.ElementType.Directive,i}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(pe);v.ProcessingInstruction=mt;var ge=(function(e){G(t,e);function t(n){var r=e.call(this)||this;return r.children=n,r}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var n;return(n=this.children[0])!==null&&n!==void 0?n:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(n){this.children=n},enumerable:!1,configurable:!0}),t})(Me);v.NodeWithChildren=ge;var yt=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.CDATA,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(ge);v.CDATA=yt;var Et=(function(e){G(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=A.ElementType.Root,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(ge);v.Document=Et;var bt=(function(e){G(t,e);function t(n,r,i,s){i===void 0&&(i=[]),s===void 0&&(s=n==="script"?A.ElementType.Script:n==="style"?A.ElementType.Style:A.ElementType.Tag);var u=e.call(this,i)||this;return u.name=n,u.attribs=r,u.type=s,u}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(n){this.name=n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var n=this;return Object.keys(this.attribs).map(function(r){var i,s;return{name:r,value:n.attribs[r],namespace:(i=n["x-attribsNamespace"])===null||i===void 0?void 0:i[r],prefix:(s=n["x-attribsPrefix"])===null||s===void 0?void 0:s[r]}})},enumerable:!1,configurable:!0}),t})(ge);v.Element=bt;function Tt(e){return(0,A.isTag)(e)}v.isTag=Tt;function Ct(e){return e.type===A.ElementType.CDATA}v.isCDATA=Ct;function _t(e){return e.type===A.ElementType.Text}v.isText=_t;function Rt(e){return e.type===A.ElementType.Comment}v.isComment=Rt;function kt(e){return e.type===A.ElementType.Directive}v.isDirective=kt;function wt(e){return e.type===A.ElementType.Root}v.isDocument=wt;function en(e){return Object.prototype.hasOwnProperty.call(e,"children")}v.hasChildren=en;function De(e,t){t===void 0&&(t=!1);var n;if(_t(e))n=new ht(e.data);else if(Rt(e))n=new vt(e.data);else if(Tt(e)){var r=t?Ne(e.children):[],i=new bt(e.name,te({},e.attribs),r);r.forEach(function(a){return a.parent=i}),e.namespace!=null&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=te({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=te({},e["x-attribsPrefix"])),n=i}else if(Ct(e)){var r=t?Ne(e.children):[],s=new yt(r);r.forEach(function(c){return c.parent=s}),n=s}else if(wt(e)){var r=t?Ne(e.children):[],u=new Et(r);r.forEach(function(c){return c.parent=u}),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else if(kt(e)){var o=new mt(e.name,e.data);e["x-name"]!=null&&(o["x-name"]=e["x-name"],o["x-publicId"]=e["x-publicId"],o["x-systemId"]=e["x-systemId"]),n=o}else throw new Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}v.cloneNode=De;function Ne(e){for(var t=e.map(function(r){return De(r,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}(function(e){var t=W&&W.__createBinding||(Object.create?(function(o,a,c,l){l===void 0&&(l=c);var h=Object.getOwnPropertyDescriptor(a,c);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[c]}}),Object.defineProperty(o,l,h)}):(function(o,a,c,l){l===void 0&&(l=c),o[l]=a[c]})),n=W&&W.__exportStar||function(o,a){for(var c in o)c!=="default"&&!Object.prototype.hasOwnProperty.call(a,c)&&t(a,o,c)};
vendor: 4,868 bytes, lines 1-2
1Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=Oe,i=v;n(v,e);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=(function(){function o(a,c,l){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof c=="function"&&(l=c,c=s),typeof a=="object"&&(c=a,a=void 0),this.callback=a??null,this.options=c??s,this.elementCB=l??null}return o.prototype.onparserinit=function(a){this.parser=a},o.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},o.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},o.prototype.onerror=function(a){this.handleCallback(a)},o.prototype.onclosetag=function(){this.lastNode=null;var a=this.tagStack.pop();this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(a)},o.prototype.onopentag=function(a,c){var l=this.options.xmlMode?r.ElementType.Tag:void 0,h=new i.Element(a,c,void 0,l);this.addNode(h),this.tagStack.push(h)},o.prototype.ontext=function(a){var c=this.lastNode;if(c&&c.type===r.ElementType.Text)c.data+=a,this.options.withEndIndices&&(c.endIndex=this.parser.endIndex);else{var l=new i.Text(a);this.addNode(l),this.lastNode=l}},o.prototype.oncomment=function(a){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=a;return}var c=new i.Comment(a);this.addNode(c),this.lastNode=c},o.prototype.oncommentend=function(){this.lastNode=null},o.prototype.oncdatastart=function(){var a=new i.Text(""),c=new i.CDATA([a]);this.addNode(c),a.parent=c,this.lastNode=a},o.prototype.oncdataend=function(){this.lastNode=null},o.prototype.onprocessinginstruction=function(a,c){var l=new i.ProcessingInstruction(a,c);this.addNode(l)},o.prototype.handleCallback=function(a){if(typeof this.callback=="function")this.callback(a,this.dom);else if(a)throw a},o.prototype.addNode=function(a){var c=this.tagStack[this.tagStack.length-1],l=c.children[c.children.length-1];this.options.withStartIndices&&(a.startIndex=this.parser.startIndex),this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),c.children.push(a),l&&(a.prev=l,l.next=a),a.parent=c,this.lastNode=null},o})();e.DomHandler=u,e.default=u})(W);var St={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=e.CARRIAGE_RETURN_PLACEHOLDER=e.CARRIAGE_RETURN_REGEX=e.CARRIAGE_RETURN=e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t,n){return t[n.toLowerCase()]=n,t},{}),e.CARRIAGE_RETURN="\r",e.CARRIAGE_RETURN_REGEX=new RegExp(e.CARRIAGE_RETURN,"g"),e.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(),"__"),e.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER,"g")})(St),Object.defineProperty(U,"__esModule",{value:!0}),U.formatAttributes=At,U.hasOpenTag=rn,U.escapeSpecialCharacters=an,U.revertEscapedCharacters=xt,U.formatDOM=It;var he=W,ne=St;function tn(e){return ne.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function At(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function nn(e){e=e.toLowerCase();var t=tn(e);return t||e}function rn(e,t){var n="<"+t,r=e.toLowerCase().indexOf(n);if(r===-1)return!1;var i=e[r+n.length];return i===">"||i===" "||i==="	"||i===`
2`||i==="\r"||i==="/"}function an(e){return e.replace(ne.CARRIAGE_RETURN_REGEX,ne.CARRIAGE_RETURN_PLACEHOLDER)}function xt(e){return e.replace(ne.CARRIAGE_RETURN_PLACEHOLDER_REGEX,ne.CARRIAGE_RETURN)}function It(e,t,n){var r,i,s,u;t===void 0&&(t=null);for(var o=[],a,c=0,l=e.length;c<l;c++){var h=e[c];switch(h.nodeType){case 1:{var O=nn(h.nodeName);a=new he.Element(O,At(h.attributes)),a.children=It(O==="template"?h.content.childNodes:h.childNodes,a);break}case 3:a=new he.Text(xt((r=h.nodeValue)!==null&&r!==void 0?r:""));break;case 8:a=new he.Comment((i=h.nodeValue)!==null&&i!==void 0?i:"");break;default:continue}var w=(s=o[c-1])!==null&&s!==void 0?s:null;w&&(w.next=a),a.parent=t,a.prev=w,a.next=null,o.push(a)}return n&&(a=new he.ProcessingInstruction(n.substring(0,n.indexOf(" ")).toLowerCase(),n),a.next=(u=o[0])!==null&&u!==void 0?u:null,a.parent=t,o.unshift(a),o[1]&&(o[1].prev=o[0])),o}
2Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.default=cn;var re=U,Ot="html",ve="head",$="body",on=/<([a-zA-Z]+[0-9]?)/,me=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},Pe=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},Mt=typeof window=="object"&&window.DOMParser;if(typeof Mt=="function"){var sn=new Mt,ln="text/html";Pe=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),sn.parseFromString(e,ln)},me=Pe}if(typeof document=="object"&&document.implementation){var ye=document.implementation.createHTMLDocument();me=function(e,t){if(t){var n=ye.documentElement.querySelector(t);return n&&(n.innerHTML=e),ye}return ye.documentElement.innerHTML=e,ye}}var Ee=typeof document=="object"&&document.createElement("template"),Le;Ee&&Ee.content&&(Le=function(e){return Ee.innerHTML=e,Ee.content.childNodes});var Dt=function(){return document.createDocumentFragment().childNodes};function cn(e){var t,n,r,i,s,u;e=(0,re.escapeSpecialCharacters)(e);var o=on.exec(e),a=(t=o?.[1])===null||t===void 0?void 0:t.toLowerCase();switch(a){case Ot:{var c=Pe(e);if(!(0,re.hasOpenTag)(e,ve)){var l=c.querySelector(ve);(n=l?.parentNode)===null||n===void 0||n.removeChild(l)}if(!(0,re.hasOpenTag)(e,$)){var l=c.querySelector($);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return c.querySelectorAll(Ot)}case ve:case $:{var h=me(e).querySelectorAll(a);return(0,re.hasOpenTag)(e,$)&&(0,re.hasOpenTag)(e,ve)?(s=(i=h[0].parentNode)===null||i===void 0?void 0:i.childNodes)!==null&&s!==void 0?s:Dt():h}default:{if(Le)return Le(e);var l=me(e,$).querySelector($);return(u=l?.childNodes)!==null&&u!==void 0?u:Dt()}}}var un=ee&&ee.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
2Object.defineProperty(ee,"__esModule",{value:!0}),ee.default=gn;var dn=un(Ie),fn=U,pn=/<(![a-zA-Z\s]+)>/;function gn(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=pn.exec(e),n=t?t[1]:void 0;return(0,fn.formatDOM)((0,dn.default)(e),null,n)}var be={},D={},Te={},hn=0;Te.SAME=hn;var vn=1;Te.CAMELCASE=vn,Te.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
2-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1};const Nt=0,B=1,Ce=2,_e=3,je=4,Pt=5,Lt=6;function mn(e){return k.hasOwnProperty(e)?k[e]:null}function S(e,t,n,r,i,s,u){this.acceptsBooleans=t===Ce||t===_e||t===je,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=u}const k={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{k[e]=new S(e,Nt,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{k[e]=new S(e,B,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{k[e]=new S(e,Ce,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{k[e]=new S(e,Ce,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{k[e]=new S(e,_e,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{k[e]=new S(e,_e,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{k[e]=new S(e,je,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{k[e]=new S(e,Lt,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{k[e]=new S(e,Pt,!1,e.toLowerCase(),null,!1,!1)});const Fe=/[\-\:]([a-z])/g,He=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{const t=e.replace(Fe,He);k[t]=new S(t,B,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e
2=>{const t=e.replace(Fe,He);k[t]=new S(t,B,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(Fe,He);k[t]=new S(t,B,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{k[e]=new S(e,B,!1,e.toLowerCase(),null,!1,!1)});const yn="xlinkHref";k[yn]=new S("xlinkHref",B,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{k[e]=new S(e,B,!1,e.toLowerCase(),null,!0,!0)});const{CAMELCASE:En,SAME:bn,possibleStandardNames:jt}=Te,Tn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Cn=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Tn+"]*$")),_n=Object.keys(jt).reduce((e,t)=>{const n=jt[t];return n===bn?e[t]=t:n===En?e[t.toLowerCase()]=t:e[t]=n,e},{});D.BOOLEAN=_e,D.BOOLEANISH_STRING=Ce,D.NUMERIC=Pt,D.OVERLOADED_BOOLEAN=je,D.POSITIVE_NUMERIC=Lt,D.RESERVED=Nt,D.STRING=B,D.getPropertyInfo=mn,D.isCustomAttribute=Cn,D.possibleStandardNames=_n;var ae={},ie={},Ft=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Rn=/\n/g,kn=/^\s*/,wn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Sn=/^:\s*/,An=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,xn=/^[;\s]*/,In=/^\s+|\s+$/g,On=`
3`,Ht="/",Ut="*",q="",Mn="comment",Dn="declaration";function Nn(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(E){var p=E.match(Rn);p&&(n+=p.length);var y=E.lastIndexOf(On);r=~y?E.length-y:r+E.length}function s(){var E={line:n,column:r};return function(p){return p.position=new u(E),c(),p}}function u(E){this.start=E,this.end={line:n,column:r},this.source=t.source}u.prototype.content=e;function o(E){var p=new Error(t.source+":"+n+":"+r+": "+E);if(p.reason=E,p.filename=t.source,p.line=n,p.column=r,p.source=e,!t.silent)throw p}
vendor: 5,119 bytes, line 3
3function a(E){var p=E.exec(e);if(p){var y=p[0];return i(y),e=e.slice(y.length),p}}function c(){a(kn)}function l(E){var p;for(E=E||[];p=h();)p!==!1&&E.push(p);return E}function h(){var E=s();if(!(Ht!=e.charAt(0)||Ut!=e.charAt(1))){for(var p=2;q!=e.charAt(p)&&(Ut!=e.charAt(p)||Ht!=e.charAt(p+1));)++p;if(p+=2,q===e.charAt(p-1))return o("End of comment missing");var y=e.slice(2,p-2);return r+=2,i(y),e=e.slice(p),r+=2,E({type:Mn,comment:y})}}function O(){var E=s(),p=a(wn);if(p){if(h(),!a(Sn))return o("property missing ':'");var y=a(An),M=E({type:Dn,property:Gt(p[0].replace(Ft,q)),value:y?Gt(y[0].replace(Ft,q)):q});return a(xn),M}}function w(){var E=[];l(E);for(var p;p=O();)p!==!1&&(E.push(p),l(E));return E}return c(),w()}function Gt(e){return e?e.replace(In,q):q}var Pn=Nn,Ln=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=Fn;const jn=Ln(Pn);function Fn(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,jn.default)(e),i=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:u,value:o}=s;i?t(u,o,s):o&&(n=n||{},n[u]=o)}),n}var Re={};Object.defineProperty(Re,"__esModule",{value:!0}),Re.camelCase=void 0;var Hn=/^--[a-zA-Z0-9_-]+$/,Un=/-([a-z])/g,Gn=/^[^-]+$/,Bn=/^-(webkit|moz|ms|o|khtml)-/,zn=/^-(ms)-/,Vn=function(e){return!e||Gn.test(e)||Hn.test(e)},Xn=function(e,t){return t.toUpperCase()},Bt=function(e,t){return"".concat(t,"-")},Wn=function(e,t){return t===void 0&&(t={}),Vn(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(zn,Bt):e=e.replace(Bn,Bt),e.replace(Un,Xn))};Re.camelCase=Wn;var qn=Ge&&Ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Yn=qn(ie),Kn=Re;function Ue(e,t){var n={};return!e||typeof e!="string"||(0,Yn.default)(e,function(r,i){r&&i&&(n[(0,Kn.camelCase)(r,t)]=i)}),n}Ue.default=Ue;var Ge=Ue;(function(e){var t=ae&&ae.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=s,e.setStyleProp=o;var n=fe,r=t(Ge),i=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function s(l,h){return l.includes("-")?!i.has(l):!!(h&&typeof h.is=="string")}var u={reactCompat:!0};function o(l,h){if(typeof l=="string"){if(!l.trim()){h.style={};return}try{h.style=(0,r.default)(l,u)}catch{h.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var a=function(l){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(l.name)};e.canTextBeChildOfNode=a;var c=function(l){return l};e.returnFirstArg=c})(ae),Object.defineProperty(be,"__esModule",{value:!0}),be.default=Qn;var oe=D,zt=ae,$n=["checked","value"],Zn=["input","select","textarea"],Jn={reset:!0,submit:!0};function Qn(e,t){e===void 0&&(e={});var n={},r=!!(e.type&&Jn[e.type]);for(var i in e){var s=e[i];if((0,oe.isCustomAttribute)(i)){n[i]=s;continue}var u=i.toLowerCase(),o=Vt(u);if(o){var a=(0,oe.getPropertyInfo)(o);switch($n.includes(o)&&Zn.includes(t)&&!r&&(o=Vt("default"+u)),n[o]=s,a?.type){case oe.BOOLEAN:n[o]=!0;break;case oe.OVERLOADED_BOOLEAN:s===""&&(n[o]=!0);break}continue}zt.PRESERVE_CUSTOM_ATTRIBUTES&&(n[i]=s)}return(0,zt.setStyleProp)(e.style,n),n}function Vt(e){return oe.possibleStandardNames[e]}var se={},er=se&&se.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(se,"__esModule",{value:!0}),se.default=Xt;var Be=fe,tr=er(be),le=ae,nr={cloneElement:Be.cloneElement,createElement:Be.createElement,isValidElement:Be.isValidElement};function Xt(e,t){var n,r,i,s,u;t===void 0&&(t={});for(var o=[],a=typeof t.replace=="function",c=(n=t.transform)!==null&&n!==void 0?n:le.returnFirstArg,l=(r=t.library)!==null&&r!==void 0?r:nr,h=l.cloneElement,O=l.createElement,w=l.isValidElement,E=e.length,p=0;p<E;p++){var y=e[p];if(a){var M=(i=t.replace)===null||i===void 0?void 0:i.call(t,y,p);if(w(M)){E>1&&(M=h(M,{key:(s=M.key)!==null&&s!==void 0?s:p})),o.push(c(M,y,p));continue}}if(y.type==="text"){var Z=!y.data.trim().length;if(Z&&y.parent&&!(0,le.canTextBeChildOfNode)(y.parent)||t.trim&&Z)continue;o.push(c(y.data,y,p));continue}var N=y,I={};rr(N)?((0,le.setStyleProp)(N.attribs.style,N.attribs),I=N.attribs):N.attribs&&(I=(0,tr.default)(N.attribs,N.name));var Y=void 0;switch(y.type){case"script":case"style":y.children[0]&&(I.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":y.name==="textarea"&&y.children[0]?I.defaultValue=y.children[0].data:!((u=y.children)===null||u===void 0)&&u.length&&(Y=Xt(y.children,t));break;default:continue}E>1&&(I.key=p),o.push(c(O(y.name,I,Y),y,p))}return o.length===1?o[0]:o}function rr(e){return le.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,le.isCustomComponent)(e.name,e.attribs)}(function(e){var t=F&&F.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};
3Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=o;var n=t(ee);e.htmlToDOM=n.default;var r=t(be);e.attributesToProps=r.default;var i=t(se);e.domToReact=i.default;var s=W;Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return s.Text}});var u={lowerCaseAttributeNames:!1};function o(a,c){var l;if(typeof a!="string")throw new TypeError("First argument must be a string");return a?(0,i.default)((0,n.default)(a,(l=c?.htmlparser2)!==null&&l!==void 0?l:u),c):[]}})(F);var Wt=Qt(F),ar=Wt.default||Wt;const ke=(e,t,n)=>{const{eventName:r,properties:i}=e,s=xe();if(s&&r)s.track(r,i);else{const u={once:!0};window.addEventListener("trackingReady",()=>{const o=xe();o&&o.track(r,i)},u)}},ir=({visible:e,message:t,anchorRef:n})=>{const[r,i]=j(!1);H(()=>{i(!0)},[]);const s=Ke(()=>n?.current?.closest("dialog[open]")??document.body,[n]);return r?ft(T(Je,{children:T("div",{className:Qe(),style:{position:"fixed",top:"var(--swan-sem-space-5)",left:"50%",transform:"translateX(-50%)",minWidth:"250px",width:"fit-content",zIndex:9999,background:"transparent"},children:T(et,{skin:"success",toast:!0,dismissed:!e,onRequestDismiss:()=>{},children:t})})}),s()):null},or=2e3,sr=({content:e,preceedingWord:t,copyIcon:n,currentSlideIndicator:r,message:i,uniqueId:s,triggerId:u,trailingNode:o})=>{const[a,c]=j("copy"),[l,h]=j(!1),O=Se(null),w=Se(null),E=new RegExp("\\p{Emoji_Presentation}","gu"),p=[],[y,M]=j(null);if(H(()=>(M({origin:window.location.origin,href:window.location.href}),()=>{w.current&&clearTimeout(w.current)}),[]),t&&n){const m=new RegExp(t,"g");e=e.includes(t)&&t!==""?e.replace(m,t+' <span class="code-text"></span>'):e}const Z=()=>{if(n&&a==="copy"){const f=n.split(":")[1];navigator.clipboard.writeText(f),c("check"),h(!0),ke({eventName:"Coupon Copied",properties:{category:"Coupons",label:f,coupon_name:f,...s&&r==="M"&&{coupon_id:s}}}),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{c("copy"),h(!1),w.current=null},or)}},N=(m,f,C)=>{m.preventDefault();const _=`${window.location.pathname};${f};Promo Bar;${C}`,R=`${C}:${r}`;if(ke({eventName:"Navigation Clicked",properties:{label:"Content:Promo Bar",eventDetail:_,navigationDetail:R,...s&&r==="M"&&{uniqueId:s}}}),u){const x=i.viewEventData?.pageZone;ct(u,{navigationDetail:R,...typeof x=="string"&&{pageZone:x}})}setTimeout(()=>{window.location.href=f},300)},I={replace:m=>{try{if(m.type==="text"){const f=m.data;if(typeof f=="string"&&E.test(f)){const b=f.match(E)?.[0];if(b){const[_,R]=f.split(b);return P(L,{children:[_&&T(L,{children:_}),T(tt,{"aria-hidden":"true",children:b}),R&&T(L,{children:R})]})}}}}catch(f){console.error("Error reading domNode.data:",f)}if(m instanceof F.Element){const f=m,C=f.attribs&&F.attributesToProps(f.attribs);if(f.name==="p"){const b=!f.next||f.next.type!=="tag";return P("span",{style:{display:"inline"},...C,children:[F.domToReact(f.children,I),b&&o&&P(L,{children:[T(Q,{as:"span",fontSkin:"body-small",children:" | "}),o]})]})}if(f.name==="a"&&C?.href){let b="";try{const x=we=>we.map(X=>X.type==="text"?X.data??"":X instanceof F.Element?x(X.children):"").join("");b=x(f.children)}catch(x){console.error("Error reading link text:",x)}let _=C.href;if(y)try{if(new URL(_,y.origin).searchParams.get("askUserToLogin")==="true"){const X=new URL(y.href),J=new URL(X.href);J.searchParams.set("askUserToLogin","true"),_=J.toString()}}catch(x){console.warn("Error updating href:",x)}const R=T(nt,{...C,id:u,href:_,fontSkin:"body-small","aria-label":b,onClick:x=>N(x,_,b),children:F.domToReact(f.children,I)});return o?(p.push(R),T(L,{})):R}if(f.name==="span"&&f.attribs.class==="code-text")return P("span",{ref:O,style:{cursor:"pointer"},children:[a&&T(Ae,{type:"button",skin:"unstyled",onClick:Z,"aria-label":a==="copy"?"Copy coupon code":"Coupon code copied",children:T(rt,{size:"standard",iconType:a,"aria-hidden":"true"})}),T(ir,{visible:l,message:"Copied",anchorRef:O})]})}return m}},Y=o?e.replace(/\s*\|\s*(?=<a\b)/gi," "):e,We=ar(Y,I),qe=Y.includes("<p"),Zt=o&&p.length>0;return P("span",{style:{display:"inline"},children:[T(Q,{as:"span",fontSkin:"body-small-bold",children:We}),!qe&&o&&P(L,{children:[T(Q,{as:"span",fontSkin:"body-small",children:" | "}),o]}),Zt&&P(L,{children:[T(Q,{as:"span",fontSkin:"body-small",children:" | "}),p.map((m,f)=>T(fe.Fragment,{children:m},`cta-link-${f}`))]})]})},lr={midnight:{code:"#2f3a53",mode:{dark:!0,standard:!1},displayName:"Midnight"},warmWhite:{code:"#f6f6ec",mode:{dark:!1,standard:!0},displayName:"Warn White"},white:{code:"#ffffff",mode:{dark:!1,standard:!0},displayName:"White"},vistaBlue:{code:"#6fd0f5",mode:{dark:!1,standard:!0},displayName:"Vista Blue"},mediumBlue:{code:"#2BA8E0",mode:{dark:!1,standard:!0},displayName:"Medium Blue"},deepBlue:{code:"#006196",mode:{dark:!1,standard:!0},displayName:"Deep Blue"},black900:{code:"#000000",mode:{dark:!0,standard:!1},displayName:"Black"}},cr={holiday:{code:"#9a0202",mode:{dark:!0,standard:!1},displayName:"Holiday"},green2:{code:"#06462e",mode:{dark:!0,standard:!1},displayName:"Green2"},green1:{code:"#50af60",mode:{dark:!1,standard:!0},displayName:"Green1"},red1:{code:"#8b0d13",mode:{dark:!0,standard:!1},displayName:"Red1"},red2:{code:"#8b0d13",mode:{dark:!0,standard:!1},displayName:"Red2"},beige1:{code:"#ede3cf",mode:{dark:!1,standard:!0},displayName:"Beige1"},grey950:{code:"#1D1D1D",mode:{dark:!0,standard:!1},displayName:"Grey950"}},ur=Object.assign(Object.assign(Object.assign({},{rum:{code:"#c94b2f",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Rum"},talavera:{code:"#2b3b55",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Talavera"},atlantic:{code:"#16618c",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Atlantic"},kingfisher:{code:"#017eb4",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Kingfisher"},rio:{code:"#99d3f3",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Rio"},caspian:{code:"#204949",mode:{dark:!0,standard:!1}
3,deprecated:!0,displayName:"Caspian"},celtic:{code:"#046240",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Celtic"},emerald:{code:"#0a806b",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Emerald"},mediumGreen:{code:"#318643",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Medium Green"},opal:{code:"#c0e6df",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Opal"},black900:{code:"#000000",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Black"},graphite:{code:"#313131",mode:{dark:!0,standard:!1},deprecated:!0,displayName:"Graphite"},mediumGrey:{code:"#dfdfdf",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Medium Grey"},platinum:{code:"#efefef",mode:{dark:!1,standard:!0},deprecated:!0,displayName:"Platinum"}}),lr),cr),dr=({spaceId:e,explanation:t,selectedEntries:n})=>{const r=typeof window<"u"?window.location.search:"",i=(n??[]).map(s=>({contentfulMetadata:{contentful_id:s.contentful_id,contentfulName:s.contentfulName},availability:{merchandisingCampaign:s.pageContext.campaign,experimentKey:s.pageContext.experiment,variationKey:s.pageContext.treatment}}));return T(pt,{space:e??"",children:T(gt,{entries:i,search:r,explanation:t})})},ze=()=>typeof window>"u";var qt="3.3.27";function fr(){let e=window?.tracking?.visit();if(e)return e;const t=document.cookie.split(";").find(n=>n.trim().startsWith("visit"));return t&&(e=t.split("=")[1].trim()),e}function pr(){const e=async r=>await fetch(gr(window.location.hostname),{method:"POST",body:r,headers:{"Content-Type":"application/json"}}),t={},n=Math.random().toString(36).substring(2,15);return{log:async(...r)=>{try{const i=r.reduce((s,u)=>{const o=typeof u=="string"?u:u.message;if(t[o])return s;t[o]=!0;let a={};return typeof u=="string"?a.message=u:a={...u},s.push(a),s},new Array);if(i.length===0)return;await e(JSON.stringify([{common:{attributes:{host:window.location.href,agent:window.navigator.userAgent,serviceName:"ab-reader",visit:fr(),version:qt,logtype:"browser",logsId:n}},logs:i}]))}catch(i){console.error("ab-reader failed sending logs",JSON.stringify(i))}}}}function gr(e){let t="https://nrlogger-prod.cf-exp.vpsvc.com?partition=exp";return(e==="localhost"||e.startsWith("staging"))&&(t="https://nrlogger-dev.cf-exp.vpsvc.com?partition=exp"),t}const hr=()=>window?.abReader||{getVariation:()=>null,getAllExperiments:()=>[],checkFeature:()=>null,isAvailable:()=>!1,getTestUserId:()=>null,fireImpression:()=>!1,fireFeatureImpression:()=>!1},vr=pr();let Yt=()=>{};const mr=e=>{Yt=e},Ve="ab-script-loaded",yr=(e,t,n=!1)=>
3{if(ze())return!1;const r="";return window.abReaderInitialized?!0:(n||ce({message:`Library not initialized before using method ${e}${r}.`}),!1)},Er=(e,t,n)=>{try{return e()}catch(r){ce({message:`ab-reader library failed when calling ${t}.`,error:JSON.stringify(r)})}return n},br=(e,t,n)=>Tr(()=>hr().fireImpression(e,t,n||null,qt),"fireImpression"),Tr=(e,t)=>{ze()&&ce({message:`${t} called serverside. `,error:"Tracking is not available."});const n=()=>Er(e,t,!1),r=async()=>{n(),window.removeEventListener(Ve,r)};return Cr(t,void 0,!0)?n():(window.abReaderInitialized||Yt(),window.addEventListener(Ve,r),!1)},Cr=(e,t,n=!1)=>{if(!yr(e,t,n))return!1;const r="";return window.abReader===void 0?(n||ce({message:`ab-reader library not ready before using method ${e}${r}.`}),!1):!0},z={logs:[]};function ce(e){const t=async()=>{z.logs.length!==0&&(vr.log(...z.logs),z.logs=[],z.timeoutId=void 0)};z.logs.push(e),z.timeoutId&&clearTimeout(z.timeoutId),z.timeoutId=window.setTimeout(()=>{t()},1e3)}mr(()=>{if(ze()||window.abReaderInitialized)return;const e=document.createElement("script");e.type="application/javascript",e.async=!0,e.src=_r(window.location.hostname),e.onload=()=>window.dispatchEvent(new CustomEvent(Ve)),document.head.appendChild(e),window.abReaderInitialized=!0});function _r(e){let t="https://wexp.exp.vpsvc.com/experimentation/ab-lib/ab-reader.js";try{const n=e.match(/vistaprint\.[a-z]{2,3}(\.[a-z]{2,3})?/);return n&&n[0]&&(t=`https://www.${n[0]}/experimentation/ab-lib/ab-reader.js`),(e==="localhost"||e.startsWith("staging.vistaprint"))&&(t="https://staging.vistaprint.com/experimentation/ab-lib/ab-reader.js"),t}catch{return ce({message:`There was an error trying to get the script source for the following hostname: '${e}'`}),t}}var Rr="N\xE6ste besked",kr="Forrige besked",wr="Tilbudsdetaljer",Sr={nextMessage:Rr,previousMessage:kr,offerDetail:wr},Ar="N\xE4chste Nachricht",xr="Vorherige Nachricht",Ir="Angebotsdetails",Or={nextMessage:Ar,previousMessage:xr,offerDetail:Ir},Mr="Next message",Dr="Previous message",Nr="Offer details",Pr={nextMessage:Mr,previousMessage:Dr,offerDetail:Nr},Lr="Mensaje siguiente",jr="Mensaje anterior",Fr="Detalles de la oferta",Hr={nextMessage:Lr,previousMessage:jr,offerDetail:Fr},Ur="Siguiente mensaje",Gr="Mensaje anterior",Br="Detalles de la oferta",zr={nextMessage:Ur,previousMessage:Gr,offerDetail:Br},Vr="Seuraava viesti",Xr="Edellinen viesti",Wr="Tarjouksen tiedot",qr={nextMessage:Vr,previousMessage:Xr,offerDetail:Wr},Yr="N\xE4sta meddelande",Kr="Prochain message",$r="D\xE9tails de l'offre",Zr={nextMessage:Yr,previousMessage:Kr,offerDetail:$r},Jr="Message suivant",Qr="Message pr\xE9c\xE9dent",ea="D\xE9tails de l\u2019offre",ta={nextMessage:Jr,previousMessage:Qr,offerDetail:ea},na="Messaggio successivo",ra="Messaggio precedente",aa="Dettagli dell'offerta",ia={nextMessage:na,previousMessage:ra,offerDetail:aa},oa="Neste melding",sa="Forrige melding",la="Tilbudsdetaljer",ca={nextMessage:oa,previousMessage:sa,offerDetail:la},ua="Volgende bericht",da="Vorige bericht",fa="Aanbiedingsdetails",pa={nextMessage:ua,previousMessage:da,offerDetail:fa},ga="Mensagem seguinte",ha="Mensagem anterior",va="Detalhes da oferta",ma={nextMessage:ga,previousMessage:ha,offerDetail:va},ya="Messaggio successivo",Ea="Messaggio precedente",ba="Erbjudandedetaljer",Ta={nextMessage:ya,previousMessage:Ea,offerDetail:ba};const ue={[d.daDK]:Sr,[d.deDE]:Or,[d.enIE]:Pr,[d.esES]:Hr,[d.esUS]:zr,[d.fiFI]:qr,[d.frCA]:Zr,[d.frFR]:ta,[d.itIT]:ia,[d.nbNO]:ca,[d.nlNL]:pa,[d.ptPT]:ma,[d.svSE]:Ta},de={[d.frBE]:[d.frFR,d.enIE],[d.frCA]:[d.frFR,d.enIE],[d.nlBE]:[d.nlNL,d.enIE],[d.deAT]:[d.deDE,d.enIE],[d.deCH]:[d.deDE,d.enIE],[d.itCH]:[d.itIT,d.enIE],[d.frCH]:[d.frFR,d.enIE],[d.enAU]:[d.enIE],[d.enCA]:[d.enIE],[d.esUS]:[d.enIE],[d.enIN]:[d.enIE],[d.enNZ]:[d.enAU,d.enIE],[d.enSG]:[d.enAU,d.enIE],default:[d.enIE]};class V{locale=d.esUS;constructor(t=d.enIE){if(t&&V.instances[t])return V.instances[t];const n=(t&&t in ue?t:void 0)??de?.default?.[0]??d.enIE;this.locale=n,V.instances[t]=this}static instances={};setLocale(t){return V.instances[t]?V.instances[t]:new V(t)}translate(t){const n=this.getTranslation(this.locale,t);return n!==null?n:this.getFallbackTranslation(t)||t}getTranslation(t,n){const r=ue?.[t];return r&&typeof r=="object"&&n in r?r[n]:null}getAllTexts(){if(ue[this.locale])return ue[this.locale];const t=de[this.locale]||de.default;if(t)for(const n of t){const r=ue[n];if(r!==null)return r}}getFallbackTranslation(t){const n=de[this.locale]||de.default;if(n)for(const r of n){const i=this.getTranslation(r,t);if(i!==null)return i}return null}}const Xe={}
3,Ca=(e=d.enIE)=>(e=e.toLowerCase(),Xe[e]||(Xe[e]=new V(e)),Xe[e]),Kt=$e(void 0),_a=({defaultLocale:e=d.enIE,children:t})=>{const[n,r]=j(e),i=Ca(n),s=u=>{r(u)};return T(Kt.Provider,{value:{locale:n,translate:u=>i.translate(u)??u,setLocale:s},children:t})},Ra=()=>{const e=Ze(Kt);if(!e)throw new Error("useI18n must be used within an I18nProvider");return e},ka={[g.STANDARD]:"grey100",[g.DISCOUNT]:"green100",[g.HOLIDAY]:"red1",[g.HOLIDAY_GREEN]:"green2",[g.HOLIDAY_BEIGE]:"beige1",[g.INVERSE]:"inverse"},$t={...ur,grey100:{code:"#f8f8f8",mode:{dark:!1,standard:!0}},green100:{code:"#e7f3f0",mode:{dark:!1,standard:!0}},inverse:{code:K("SwanSemColorBgStandard"),mode:{dark:!0,standard:!1}}},wa=({data:e,pageType:t})=>{const{translate:n}=Ra(),[r,i]=j(!1),[s,u]=j(!1),[o,a]=j([]),l=ut().locale;H(()=>{const m=window.location.search,f=new URLSearchParams(m);u(f.get("debugPage")==="true")},[]),H(()=>{i(!0)},[e]);const{messages:h,promoAnatomyEnabled:O,spaceId:w,explanation:E,selectedEntries:p}=e,y=O===!0,M=e.promobarConfiguration?.tracking!=="none";H(()=>{if(r&&h){const m=h.filter(f=>f?.content);m.length>0&&a(m)}},[h,r]);const Z=(m,f)=>{const C=f.some(R=>R.couponCode&&R.content),b=f.some(R=>R.source==="map");let _=m;return C&&_--,b&&_--,_},N=(m,f,C)=>m.couponCode?"view_promoBarMessage_C":m.source==="map"?"view_promoBarMessage_M":`view_promoBarMessage_R${Z(f,C)+1}`,I=m=>{if(!r||!M)return;const f=o[m];if(!f||!f?.content)return;const C=N(f,m,o);ke({eventName:"Message Displayed",properties:{eventDetail:C,...f.uniqueId&&f.source==="map"&&{uniqueId:f.uniqueId}}});const b=f.viewEventData?.viewTriggerId;typeof b=="string"&&dt({triggerId:b,eventType:"view",eventData:{subtype:"personalization"}})};H(()=>{r&&M&&h.forEach(m=>{if(m.abTestServerData&&t){const f=m.abTestServerData;br(f.experimentKey,f.variationKey,{pageName:t})}})},[r]),H(()=>{o.length>0&&I(0)},[r,o]);const Y=m=>{I(m)},We=(m,f,C)=>{ke({eventName:"Offer Details Clicked",properties:{category:"Coupons",label:n("offerDetail"),coupon_id:m,...C&&f==="map"&&{uniqueId:C}}})},qe=(m,f)=>{if(m?.couponCode)return"C";if(m?.source==="map")return"M";{const C=h.some(R=>R.couponCode&&R.content),b=h.some(R=>R.source==="map");let _=f;return C&&_--,b&&_--,`R${_+1}`}};return P(L,{children:[T(at,{style:{contain:"paint"},children:T(it,{slidesToShow:1,"aria-label":"sitewide-promobar-carou
3sel",className:"sitewide-promobar-carousel coupon-test_selectable-text",skin:"promo-bar",onSlideChange:r?m=>Y(m-1):void 0,children:(m=>{let f=0;return h.map((b,_)=>{const{skin:R,content:x,copyIcon:we}=b;if(!b.content||m&&f>0)return;const X=ka[R],J=$t[X]??$t.grey100;return f++,T(ot,{darkMode:J.mode.dark,children:T(st,{id:b.contentfulId,style:{minHeight:60,height:"100%",paddingLeft:"20px",paddingRight:"20px",backgroundColor:J.code},alignItems:"center",justifyContent:"center",textAlign:"center",darkMode:J.mode.dark,children:T("span",{style:{display:"inline"},children:T(sr,{content:x,copyIcon:we,currentSlideIndicator:qe(b,_),message:b,uniqueId:b.uniqueId,triggerId:b.triggerId,trailingNode:y&&b.couponId?T(lt,{couponID:b.couponId,locale:l??"en-us",tenant:"vistaprint",onOpen:()=>We(b.couponId,b.source,b.uniqueId),trigger:({onOpen:Aa})=>T(Ae,{type:"button",skin:"unstyled",onClick:Aa,"aria-label":n("offerDetail"),style:{display:"inline",padding:0,fontFamily:K("SwanSemFontFamilyPrimary"),fontSize:K("SwanSemFontSizeSmall"),fontWeight:K("SwanBaseFontWeightRegular"),lineHeight:"150%",color:K("SwanSemColorFgStandard"),background:"transparent",border:"none",letterSpacing:"inherit",textDecoration:"underline",whiteSpace:"nowrap",cursor:"pointer"},children:n("offerDetail")})}):void 0})})})},_)}).filter(b=>b)})(!r)})}),r&&s&&T(dr,{spaceId:w,explanation:E,selectedEntries:p})]})},Sa=({data:e,pageType:t,locale:n})=>!e||e.messages.length===0||t&&e.excludedPageTypes.includes(t)?null:T(_a,{defaultLocale:n,children:T(wa,{data:e,pageType:t??""})}),Da=Jt("mount",async(e,t,n)=>Ye(T(Sa,{...t}),e,n))})}}));
4//# sourceMappingURL=fragment-sitewide-comms-bar-juIl7g7C.js.map

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.