(()=>{const e=[{name:"solutionsMenu",trigger:".menu > li:first-of-type a",location:".menu > li:first-of-type",pages:[{label:"Outsourced Fulfillment",description:"3PL Services (Pick, Pack, & Ship)",url:"/product/outsourced-fulfillment/"},{label:"WMS",description:"In-house fulfillment that scales with you",url:"/product/wms/ "},{label:"Inventory Placement",description:"Automate inventory distribution and replenishment",url:"/product/inventory-placement/"},{label:"Global Expansion",description:"Scale your brand across the globe",url:"/product/grow-global/"},{label:"Full-Stack Fulfillment Platform",description:"All-in-one OMS + IMS + RMS + ERP + Analytics",url:"/product/"},{label:"2-Day Shipping",description:"Drive revenue through 2-Day Express shipping",url:"/2-day-express/ "},{label:"Omnichannel & B2B",description:"Sell Across Online & In-Person Channels ",url:"/product/omnichannel-fulfillment/"},{label:"Customization",description:"Creating an unforgettable unboxing experience",url:"/product/customization-suite/"},{label:"Apps & APIs",description:"Your all-in-one fulfillment tech stack",url:"/product/apps-api/"},{label:"ShipBob Freight",description:"End-to-end managed freight for ShipBob customers",url:"/product/freight/"}],available_region:["/"],mobile_enabled:!0},{name:"pricingMenu",trigger:".menu > li:nth-of-type(2) a",location:".menu > li:nth-of-type(2)",pages:[{label:"Outsourced Fulfillment",description:"Interested In ShipBob's Omnichannel Fulfillment Services? Request A Quote to Get Pricing.",url:"/quote/ "},{label:"WMS",description:"Have your own warehouse? Get pricing info and request a software quote.",url:"/quote-plus/"}],available_region:["/"],mobile_enabled:!0},{name:"IndustriesMenu",trigger:".menu > li:nth-of-type(5) a",location:".menu > li:nth-of-type(5)",pages:[{label:"Health & Wellness",description:"",url:"/categories/health-and-wellness/"},{label:"Beauty & Personal Care",description:"",url:"/categories/beauty/"},{label:"Food & Beverage",description:"",url:"/categories/food-and-beverage/"},{label:"Apparel & Accessories",description:"",url:"/categories/apparel-and-accessories/"},{label:"Home Goods",description:"",url:"/categories/home-goods/"},{label:"Pets",description:"",url:"/categories/pet/"},{label:"Sports, Toys, & Games",description:"",url:"/categories/sports-toys-and-games/"}],available_region:["/"],mobile_enabled:!0},{name:"IndustriesMenu",trigger:".menu > li:nth-of-type(5) a",location:".menu > li:nth-of-type(5)",pages:[{label:"Health & Wellness",description:"",url:"/uk/health-and-wellness/"},{label:"Beauty & Personal Care",description:"",url:"/uk/beauty/"},{label:"Food & Beverage",description:"",url:"/uk/food-and-beverage/"},{label:"Apparel & Accessories",description:"",url:"/uk/apparel-and-accessories/"},{label:"Home Goods",description:"",url:"/uk/home-goods/"},{label:"Pets",description:"",url:"/uk/pet/"},{label:"Sports, Toys, & Games",description:"",url:"/uk/sports-toys-and-games/"}],available_region:["/uk/"],mobile_enabled:!0},{name:"IndustriesMenu",trigger:".menu > li:nth-of-type(5) a",location:".menu > li:nth-of-type(5)",pages:[{label:"Health & Wellness",description:"",url:"/au/health-and-wellness/"},{label:"Beauty & Personal Care",description:"",url:"/au/beauty/"},{label:"Food & Beverage",description:"",url:"/au/food-and-beverage/"},{label:"Apparel & Accessories",description:"",url:"/au/apparel-and-accessories/"},{label:"Home Goods",description:"",url:"/au/home-goods/"},{label:"Pets",description:"",url:"/au/pet/"},{label:"Sports, Toys, & Games",description:"",url:"/au/sports-toys-and-games/"}],available_region:["/au/"],mobile_enabled:!0},{name:"localeOptions",pages:[{name:"NA",path:"/",option_label:"North America",icon:"/wp-content/themes/shipbob-2022/resources/flags/us.svg"},{name:"UK",path:"/uk/",option_label:"United kingdom",icon:"/wp-content/themes/shipbob-2022/resources/flags/gb.svg"},{name:"AU",path:"/au/",option_label:"Australia",icon:"/wp-content/themes/shipbob-2022/resources/flags/au.svg"}],available_region:["/","/au/","/uk/"],mobile_enabled:!1}];(async()=>{const{application:a,Stimulus:t,multisite_info:i}=window;if(!a)return null;const n=document.querySelector("#menu-main-navigation");n.setAttribute("data-navigation-target","mainNavigation"),n.setAttribute("data-action","mouseover->navigation#handleNavHover"),a.register("subnavigation",class extends t.Controller{static get values(){return{name:String,active:Boolean}}stateChange(e){const{detail:a}=e;a==this.nameValue?this.open():a!==this.nameValue&&this.activeValue&&this.close()}open(){this.activeValue=!0,this.element.classList.remove("navigation-submenu--initial"),this.element.classList.remove("navigation-submenu--close"),this.element.classList.add("navigation-submenu--open")}close(){this.activeValue=!1,this.element.classList.remove("navigation-submenu--open"),this.element.classList.add("navigation-submenu--close")}}),a.register("navigation",class extends t.Controller{constructor(a){super(a),this.menu_data=e}static get values(){return{scrolling:Boolean,mobileNav:Boolean,activeSubnavigation:String}}static get classes(){return["default","scrolled"]}static get targets(){return["menuMobile","navigationContainer","closeSubNav","mainNavigation","locationsMenu"]}connect(){this.mobileNavValue=!1,this.element.classList.add(this.defaultClass),this.populateMenus()}dropdownContainer(e,a){return``}DropDownMenuHtml(e){return e.reduce(((e,a)=>{if(""==a||null==a)return e;const{label:t,description:i,url:n,icon:s=null}=a;return e+``}),"")}LocationMenuDom(e,a){return`\n \n \n `}populateMenus(){return this.menu_data.map((e=>{const{name:a,trigger:t,location:n,pages:s,available_region:l}=e;if(!l.includes(i.path))return null;if("localeOptions"==a)return this.locationsMenuTarget.innerHTML=this.LocationMenuDom(s,a),null;const o=`${a}Mobile`,r=this.navigationContainerTarget.querySelector(t),u=this.navigationContainerTarget.querySelector(n),c=this.menuMobileTarget.querySelector(t),g=this.menuMobileTarget.querySelector(n),d=this.dropdownContainer(s,a),b=this.dropdownContainer(s,o);r.setAttribute("data-action","mouseover->navigation#openSubMenu"),r.setAttribute("data-navigation-submenu-param",a),u.innerHTML+=d,c.setAttribute("data-action","click->navigation#toggleSubMenu"),c.setAttribute("data-navigation-submenu-param",o),c.removeAttribute("href"),g.innerHTML+=b})),null}openNav(){this.mobileNavValue=!0,this.menuMobileTarget.classList.remove("navigation-mobile--initial"),this.menuMobileTarget.classList.remove("navigation-mobile--close"),this.element.classList.add("hamburger--open"),this.menuMobileTarget.classList.add("navigation-mobile--open")}closeNav(){this.mobileNavValue=!1,this.element.classList.remove("hamburger--open"),this.menuMobileTarget.classList.remove("navigation-mobile--open"),this.menuMobileTarget.classList.add("navigation-mobile--close")}toggleMobileNav(){return this.mobileNavValue?this.closeNav():this.openNav()}handleNavHover(e){if("A"!==e.target.nodeName)return null;switch(!0){case!e.target.dataset:case!e.target.dataset.navigationSubmenuParam:return void this.closeSubMenu();default:return null}}activeSubnavigationValueChanged(){return window.dispatchEvent(new CustomEvent("openSubnavigation",{detail:this.activeSubnavigationValue}))}toggleSubMenu(e){const{params:{submenu:a}}=e;return this.activeSubnavigationValue==a?this.activeSubnavigationValue="":this.activeSubnavigationValue=a}openSubMenu(e){const{params:{submenu:a}}=e;if(this.activeSubnavigationValue==a)return null;this.activeSubnavigationValue=a,this.closeSubNavTarget.classList.add("active"),this.closeSubNavTarget.setAttribute("data-action","mouseover->navigation#closeSubMenu")}closeSubMenu(){return""==this.activeSubnavigationValue||(this.activeSubnavigationValue="",this.closeSubNavTarget.classList.remove("active"),this.closeSubNavTarget.removeAttribute("data-action")),null}scrollChanged(){const e=window.pageYOffset;switch(!0){case e>60&&!this.scrollingValue:return this.element.classList.remove(this.defaultClass),this.element.classList.add(this.scrolledClass),void(this.scrollingValue=!0);case e<=60&&this.scrollingValue:return this.element.classList.remove(this.scrolledClass),this.element.classList.add(this.defaultClass),void(this.scrollingValue=!1);default:return null}}})})()})();; (()=>{"use strict";function t(t){return t.replace(/(?:[_-])([a-z0-9])/g,((t,e)=>e.toUpperCase()))}function e(t){return t.charAt(0).toUpperCase()+t.slice(1)}function r(t){return null!=t}function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){const r=o(t);return Array.from(r.reduce(((t,r)=>(function(t,e){const r=t[e];return Array.isArray(r)?r:[]}(r,e).forEach((e=>t.add(e))),t)),new Set))}function o(t){const e=[];for(;t;)e.push(t),t=Object.getPrototypeOf(t);return e.reverse()}function i(t){return t.reduce(((t,[e,r])=>Object.assign(Object.assign({},t),{[e]:r})),{})}function a(t,e,r){return t.application.getControllerForElementAndIdentifier(e,r)}function c(t,e,r){let n=a(t,e,r);return n||(t.application.router.proposeToConnectScopeForElementAndIdentifier(e,r),n=a(t,e,r),n||void 0)}function l([e,s],o){return function(e){const{token:s,typeDefinition:o}=e,i=`${c=s,c.replace(/([A-Z])/g,((t,e)=>`-${e.toLowerCase()}`))}-value`,a=function(t){const{controller:e,token:n,typeDefinition:s}=t,o=function(t){const{controller:e,token:n,typeObject:s}=t,o=r(s.type),i=r(s.default),a=o&&i,c=o&&!i,l=!o&&i,p=u(s.type),d=f(t.typeObject.default);if(c)return p;if(l)return d;if(p!==d)throw new Error(`The specified default value for the Stimulus Value "${e?`${e}.${n}`:n}" must match the defined type "${p}". The provided default value of "${s.default}" is of type "${d}".`);return a?p:void 0}({controller:e,token:n,typeObject:s}),i=f(s),a=u(s),c=o||i||a;if(c)return c;throw new Error(`Unknown value type "${e?`${e}.${s}`:n}" for "${n}" value`)}(e);var c;return{type:a,key:i,name:t(i),get defaultValue(){return function(t){const e=u(t);if(e)return p[e];const r=n(t,"default"),s=n(t,"type"),o=t;if(r)return o.default;if(s){const{type:t}=o,e=u(t);if(e)return p[e]}return t}(o)},get hasCustomDefaultValue(){return void 0!==f(o)},reader:d[a],writer:g[a]||g.default}}({controller:o,token:e,typeDefinition:s})}function u(t){switch(t){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function f(t){switch(typeof t){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}return Array.isArray(t)?"array":"[object Object]"===Object.prototype.toString.call(t)?"object":void 0}"function"==typeof Object.getOwnPropertySymbols||Object.getOwnPropertyNames,(()=>{function t(t){function e(){return Reflect.construct(t,arguments,new.target)}return e.prototype=Object.create(t.prototype,{constructor:{value:e}}),Reflect.setPrototypeOf(e,t),e}try{return function(){const e=t((function(){this.a.call(this)}));e.prototype.a=function(){},new e}(),t}catch(t){return t=>class extends t{}}})(),Object.assign(Object.assign({enter:"Enter",tab:"Tab",esc:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",home:"Home",end:"End",page_up:"PageUp",page_down:"PageDown"},i("abcdefghijklmnopqrstuvwxyz".split("").map((t=>[t,t])))),i("0123456789".split("").map((t=>[t,t]))));const p={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},d={array(t){const e=JSON.parse(t);if(!Array.isArray(e))throw new TypeError(`expected value of type "array" but instead got value "${t}" of type "${f(e)}"`);return e},boolean:t=>!("0"==t||"false"==String(t).toLowerCase()),number:t=>Number(t.replace(/_/g,"")),object(t){const e=JSON.parse(t);if(null===e||"object"!=typeof e||Array.isArray(e))throw new TypeError(`expected value of type "object" but instead got value "${t}" of type "${f(e)}"`);return e},string:t=>t},g={default:function(t){return`${t}`},array:h,object:h};function h(t){return JSON.stringify(t)}class b{constructor(t){this.context=t}static get shouldLoad(){return!0}static afterLoad(t,e){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(t,{target:e=this.element,detail:r={},prefix:n=this.identifier,bubbles:s=!0,cancelable:o=!0}={}){const i=new CustomEvent(n?`${n}:${t}`:t,{detail:r,bubbles:s,cancelable:o});return e.dispatchEvent(i),i}}b.blessings=[function(t){return s(t,"classes").reduce(((t,r)=>{return Object.assign(t,(n=r,{[`${n}Class`]:{get(){const{classes:t}=this;if(t.has(n))return t.get(n);{const e=t.getAttributeName(n);throw new Error(`Missing attribute "${e}"`)}}},[`${n}Classes`]:{get(){return this.classes.getAll(n)}},[`has${e(n)}Class`]:{get(){return this.classes.has(n)}}}));var n}),{})},function(t){return s(t,"targets").reduce(((t,r)=>{return Object.assign(t,(n=r,{[`${n}Target`]:{get(){const t=this.targets.find(n);if(t)return t;throw new Error(`Missing target element "${n}" for "${this.identifier}" controller`)}},[`${n}Targets`]:{get(){return this.targets.findAll(n)}},[`has${e(n)}Target`]:{get(){return this.targets.has(n)}}}));var n}),{})},function(t){const r=function(t,e){return o(t).reduce(((t,r)=>(t.push(...function(t,e){const r=t[e];return r?Object.keys(r).map((t=>[t,r[t]])):[]}(r,e)),t)),[])}(t,"values"),n={valueDescriptorMap:{get(){return r.reduce(((t,e)=>{const r=l(e,this.identifier),n=this.data.getAttributeNameForKey(r.key);return Object.assign(t,{[n]:r})}),{})}}};return r.reduce(((t,r)=>Object.assign(t,function(t){const r=l(t,void 0),{key:n,name:s,reader:o,writer:i}=r;return{[s]:{get(){const t=this.data.get(n);return null!==t?o(t):r.defaultValue},set(t){void 0===t?this.data.delete(n):this.data.set(n,i(t))}},[`has${e(s)}`]:{get(){return this.data.has(n)||r.hasCustomDefaultValue}}}}(r))),n)},function(r){return s(r,"outlets").reduce(((r,n)=>Object.assign(r,function(r){const n=t(r.replace(/--/g,"-").replace(/__/g,"_"));return{[`${n}Outlet`]:{get(){const t=this.outlets.find(r),e=this.outlets.getSelectorForOutletName(r);if(t){const e=c(this,t,r);if(e)return e;throw new Error(`The provided outlet element is missing an outlet controller "${r}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${r}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${e}".`)}},[`${n}Outlets`]:{get(){const t=this.outlets.findAll(r);return t.length>0?t.map((t=>{const e=c(this,t,r);if(e)return e;console.warn(`The provided outlet element is missing an outlet controller "${r}" instance for host controller "${this.identifier}"`,t)})).filter((t=>t)):[]}},[`${n}OutletElement`]:{get(){const t=this.outlets.find(r),e=this.outlets.getSelectorForOutletName(r);if(t)return t;throw new Error(`Missing outlet element "${r}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${e}".`)}},[`${n}OutletElements`]:{get(){return this.outlets.findAll(r)}},[`has${e(n)}Outlet`]:{get(){return this.outlets.has(r)}}}}(n))),{})}],b.targets=[],b.outlets=[],b.values={};class y extends b{static get values(){return{open:Boolean}}static targets=["answer","expand"];connect(){!0!==this.openValue&&(this.answerTarget.classList.add("faq-controller--initial"),this.expandTarget.classList.add("faq-controller--initial")),this.element.addEventListener("click",(t=>{this.ToggleFAQ()}))}OpenFAQ(){this.openValue=!0,this.answerTarget.classList.remove("faq-controller--closed"),this.expandTarget.classList.remove("faq-controller--closed"),this.answerTarget.classList.remove("faq-controller--initial"),this.expandTarget.classList.remove("faq-controller--initial"),this.answerTarget.classList.add("faq-controller--open"),this.expandTarget.classList.add("faq-controller--open")}CloseFAQ(){this.openValue=!1,this.answerTarget.classList.remove("faq-controller--open"),this.expandTarget.classList.remove("faq-controller--open"),this.answerTarget.classList.add("faq-controller--closed"),this.expandTarget.classList.add("faq-controller--closed")}ToggleFAQ(){this.openValue?this.CloseFAQ():this.OpenFAQ()}}(()=>{const{application:t}=window;if(!t)return null;t.register("faq-controller",y)})()})();; (()=>{const{application:e,Stimulus:t}=window;if(!e)return null;e.register("video-preview-controller",class extends t.Controller{static get values(){return{url:String,type:String}}open(){if(!this.urlValue)return null;window.dispatchEvent(new CustomEvent("openVideo",{detail:{url:this.urlValue}}))}}),e.register("video-modal",class extends t.Controller{static get values(){return{url:String,mode:String}}static get targets(){return["ModalContainer","EmbedContainer","player"]}modeValueChanged(){if(!this.modeValue||""==this.modeValue)return null;this.element.classList.add(`${this.modeValue}`)}loadVideo(e){const t=e.detail.url,a=e.detail.mode||"",i=e.detail.autoplay||!1;this.urlValue=t,this.modeValue=a;let l=null,o=null;return!0===t.includes("youtube")?(o=t.replace("https://www.youtube.com/watch?v=",""),l=``,this.EmbedContainerTarget.innerHTML=l,this.open()):(l=``,this.EmbedContainerTarget.innerHTML=l,this.playerTarget.play(),this.open())}open(){this.openValue=!0,this.ModalContainerTarget.classList.remove("video-modal--initial"),this.ModalContainerTarget.classList.remove("video-modal--close"),this.ModalContainerTarget.classList.add("video-modal--open")}close(){this.openValue=!1,this.modeValue="",this.ModalContainerTarget.classList.remove("video-modal--open"),this.ModalContainerTarget.classList.add("video-modal--close"),this.EmbedContainerTarget.innerHTML="",this.element.classList.remove("animate")}expand(){this.element.classList.add("animate"),this.element.classList.remove("popup"),this.element.classList.add("expand")}minimize(){this.element.classList.add("animate"),this.element.classList.add("popup"),this.element.classList.remove("expand")}toggleModal(){this.openValue?this.open():this.close()}})})();; (()=>{const{application:e,Stimulus:l}=window;if(!e||!l)return null;class r extends l.Controller{connect(){let e=window.location.pathname.split("/");if(e=e.filter((e=>"/"!==e&&""!==e)),e.pop(),0===e.length)return null;const l=e.reduce(((l,r,t)=>{if(!r)return"";let i=e.slice(0,t+1);return i=i.join("/"),`${l}`}),"");this.element.innerHTML=``}}e.register("hierarchy-breadcrums",r)})();; (()=>{"use strict";const e=async(e,t,r=null)=>{const{form_id:o,chili_piper_enabled:i=!1,chili_piper_router:l="",redirect_completion_enabled:n=!1,redirect_completion_url:a="http://www.shipbob.com/thank-you/"}=e,s=`card-body form-${o}`,c=document.createElement("div");c.setAttribute("class",s),c.setAttribute("data-controller","form-controller"),c.setAttribute("data-form-controller-form-id-value",o),c.setAttribute("data-form-controller-form-container-query-value",s),c.setAttribute("data-form-controller-chili-piper-enabled-value",i),c.setAttribute("data-form-controller-router-value",l),c.setAttribute("data-form-controller-redirect-completion-enabled-value",n),c.setAttribute("data-form-controller-redirect-completion-url-value",a),c.innerHTML='
\n
\n
\n
\n
\n
\n
\n
',r?(t.appendChild(c),t.innerHTML+=r):t.appendChild(c)};(()=>{const{application:t,Stimulus:r}=window;if(!t)return null;class o extends r.Controller{open(){window.dispatchEvent(new CustomEvent("openModal"))}}class i extends r.Controller{focus(){const e=document.querySelector(".hs-form input, .hs-form-private input");if(!e)return null;e.focus()}}class l extends r.Controller{static get values(){return{ctaId:String}}connect(){document.querySelector("article.blog.hentry .entry-content").classList.add("blog-cta-visible")}open(){((e,t)=>{let r=new Date;r.setFullYear(r.getFullYear()+1),e&&(document.cookie=`${e}=`+t+"; path=/ ; expires="+r)})(`sb_cta_click_${this.ctaIdValue||"blog_cta"}`,((e=null)=>{const{pathname:t}=window.location;if(!e)return t;const[r,o]=t.split(`/${e}/`);return o.replace("/","")})("blog")),window.dispatchEvent(new CustomEvent("openModal"))}}class n extends r.Controller{static get values(){return{formId:String}}static targets=["FormContainer"];connect(){return e({form_id:this.formIdValue,chili_piper_enabled:!1,chili_piper_router:"",redirect_completion_enabled:!1,redirect_completion_url:"https://www.shipbob.com"},this.FormContainerTarget).catch((e=>console.error(e)))}}class a extends r.Controller{static get values(){return{formId:String,open:Boolean,router:String,chiliPiperEnabled:Boolean,redirectCompletionEnabled:Boolean,redirectCompletionUrl:String}}static targets=["ModalContainer","FormContainer","title"];open(t){const{title:r="Request A Quote"}=t.detail||{};return this.openValue=!0,this.titleTarget.innerHTML=r,this.ModalContainerTarget.classList.remove("blog-quote-cta-modal--initial"),this.ModalContainerTarget.classList.remove("blog-quote-cta-modal--close"),this.ModalContainerTarget.classList.add("blog-quote-cta-modal--open"),e({form_id:this.formIdValue,chili_piper_enabled:this.chiliPiperEnabledValue,chili_piper_router:this.routerValue,redirect_completion_enabled:this.redirectCompletionEnabledValue,redirect_completion_url:this.redirectCompletionUrlValue},this.FormContainerTarget).catch((e=>console.error(e)))}close(){this.openValue=!1,this.ModalContainerTarget.classList.remove("blog-quote-cta-modal--open"),this.ModalContainerTarget.classList.add("blog-quote-cta-modal--close"),this.FormContainerTarget.innerHTML=""}toggleModal(){this.openValue?this.open():this.close()}}t.register("blog-newsletter",n),t.register("blog-quote-cta",l),t.register("quote-modal-trigger",o),t.register("form-modal",a),t.register("visible-form-triggger",i)})()})();; (()=>{const{application:t,Stimulus:e}=window;if(!t)return null;t.register("blog-archive-controller",class extends e.Controller{static get values(){return{}}static get classes(){return[]}static get targets(){return["categorySelect"]}navigate(t){window.location=t.target.value}})})();; (()=>{const{site_url:t=null,path:l}=window.multisite_info;if(["http://shipbob.local","https://www.shipbob.com","https://go.shipbob.com"].includes(t)||!t)return null;(async()=>Array.from(document.querySelectorAll("a:not(.locale)")))().then((s=>{s.map((s=>{const e=s.pathname,o=s.host;switch(!0){case e===l.slice(0,-1):case!["shipbob.local","www.shipbob.com"].includes(o):return null;case"/"==e[0]&&!e.startsWith(l):return s.href=`${t}${e}`,null;default:return null}}))}))})();; (async()=>{if(!window.SharedWorker)return null;window.WebsiteValidation=new Worker("/wp-content/themes/shipbob-2022/dist/js/website-validation-worker.js"),window.WebsiteValidation.onmessage=e=>{const{data:{website_validated:o,formId:i}}=e;Array.from(document.querySelectorAll('input[name="website_validated__lead_"]')).map((e=>e.value=o)),window.dispatchEvent(new CustomEvent(`unlock-form-${i}`))},window.WebsiteValidation.onerror=e=>{console.error(e)}})();;