1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="07413c23-227b-4832-9d77-82d720f2f83f",e._sentryDebugIdIdentifier="sentry-dbid-07413c23-227b-4832-9d77-82d720f2f83f")}catch(ws){}import{c7 as e,c9 as t,ca as r,cb as o,ce as n,cx as i,cf as a,cF as l,hE as s,d0 as u,c1 as c,cs as d,ct as p,d1 as f,cc as v,cG as h,dI as g,dt as y,dV as m,c3 as b,b$ as w,cl as k,dR as C,cY as A,cy as P,cI as E,ck as I,g5 as S,cO as T,d5 as _,gg as B,cn as R,dD as O,dn as L,fV as M,cZ as N,dF as x,hF as U,e0 as D,ds as F,dq as j,bZ as z,b_ as q,c8 as V,cz as K,di as G,cj as Y,c4 as $,c2 as Z,dz as H,gL as J,cU as W,f7 as Q,g4 as X,dj as ee,cw as te,cv as re,cP as oe,cp as ne,cN as ie,dl as ae,dd as le,c0 as se,hG as ue,hH as ce,hI as de,cA as pe,cB as fe,d6 as ve,df as he,dB as ge,dk as ye,dc as me,ci as be,dJ as we,hJ as ke,hK as Ce}from"./index.061e774e.js";import{V as Ae}from"./vue-scrollto.bb23a375.js";import{u as Pe,Z as Ee,a as Ie,b as Se,c as Te}from"./campaign.7bfe87a4.js";import _e from"./AddToCartButton.7aa082a0.js";import{showCartSnackbar as Be}from"./CartSnackbar.0ffd7b33.js";import{A as Re,I as Oe}from"./ProductViewerEnum.c01915a0.js";import{P as Le,a as Me}from"./ProductUnavailableMessage.9c605f03.js";import{b as Ne,a as xe,c as Ue,d as De,e as Fe,l as je,R as ze,V as qe}from"./Rating.8f633212.js";import{P as Ve,a as Ke}from"./ProductFinancing.726953df.js";import"./intersection-observer.aa907d4a.js";import{P as Ge}from"./ProductFavorite.cb358c6c.js";import{I as Ye,P as $e}from"./InjectionKeys.77580dfc.js";import Ze from"./Divider.e0255c1e.js";import{D as He}from"./DeliveryTimeTooltip.67da1b27.js";import{P as Je}from"./PreserveRatio.95a52bd2.js";import We from"./ProductBadgesList.3bde1d77.js";import Qe from"./ProductBadgeV2.8a0c29d4.js";import{S as Xe,u as et}from"./FinancingMessage.b077160a.js";import{u as tt}from"./useProductReviews.e25fd8ad.js";import{u as rt,C as ot,a as nt}from"./useFinancing.04068caf.js";import{a as it,G as at,h as lt,d as st,b as ut,s as ct}from"./mediaUtils.018d7373.js";import{u as dt,a as pt}from"./useProduct.bdc14900.js";import{t as ft}from"./EventAnalytics.7c2eca63.js";import{S as vt}from"./swiper.7b4e3d11.js";import{E as ht}from"./Experiment.d67bf292.js";import gt from"./ContentfulRenderer.4cb9966d.js";var yt=["19595","18155","18222","20314","24118","23884","21200","22227","22369","25517","22381","18778","21471","19462","25170","24698","24803","23885","22183","25173","25172","24699","24802","24700","22162","22365","25359","25131","25130","24641","24640","24119","25126","24642","19596","18153","21472","18779","19463","25209","25208","24643","24644","25204","24645","18223","19093","22567","13942","22573","22419","21205"];const mt={class:"satisfaction-guarantee-icon"},bt={class:"satisfaction-guarantee"},wt={class:"satisfaction-guarantee-message"};var kt=e({__name:"SatisfactionGuarantee",setup:e=>(e,c)=>{const d=t("font-awesome-icon"),p=t("router-link");return r(),o(Ve,null,{icon:n((()=>[i("span",mt,[a(d,{icon:l(s)},null,8,["icon"])])])),text:n((()=>[i("div",bt,[i("div",wt,[c[1]||(c[1]=u(" 30 day ",-1)),a(p,{class:"accent",to:{name:"returns"},target:"_blank"},{default:n((()=>c[0]||(c[0]=[u("satisfaction guarantee.",-1)]))),_:1,__:[0]})])])])),_:1})}},[["__scopeId","data-v-caa33788"]]);const Ct={class:"warranty-guarantee-icon"},At={class:"warranty-guarantee-icon"},Pt={class:"warranty-guarantee"},Et={class:"warranty-guarantee-message"};var It=e({__name:"FiveYearWarranty",props:{product:{type:Object,required:!0},campaignEligible:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(e){const d=e,{isProductEligible:p}=Pe((()=>d.product)),f=c((()=>p.value&&d.campaignEligible)),v=c((()=>p.value&&d.loading)),h={name:"campaignPage",params:{slug:"5-year-warranty"}};return(e,c)=>{const d=t("font-awesome-icon"),p=t("router-link");return v.value?(r(),o(Ve,{key:0},{icon:n((()=>[i("span",Ct,[a(d,{icon:l(s)},null,8,["icon"])])])),text:n((()=>c[0]||(c[0]=[i("div",{class:"warranty-guarantee"},[i("div",{class:"warranty-guarantee-loading skeleton"},"Â ")],-1)]))),_:1})):f.value?(r(),o(Ve,{key:1},{icon:n((()=>[i("span",At,[a(d,{icon:l(s)},null,8,["icon"])])])),text:n((()=>[i("div",Pt,[i("div",Et,[a(p,{class:"accent",to:h,target:"_blank"},{default:n((()=>c[1]||(c[1]=[u("5-year limited warranty",-1)]))),_:1,__:[1]}),c[2]||(c[2]=u(" + 30 day satisfaction guarantee. ",-1))])])])),_:1})):(r(),o(kt,{key:2}))}}},[["__scopeId","data-v-dc5d980a"]]);const St={"aria-label":"on sale, sale price,",class:"newPrice"},Tt={key:0},_t={"aria-label":"original price,",class:"originalPrice"},Bt={key:1,class:"regularPrice"},Rt={key:0};var Ot=e({name:"Price",props:{mode:{required:!0,validator:e=>["dual-column","top","desktop","mobile"].includes(e)},product:{default:()=>({}),type:Object},price:{default:()=>({}),type:Object}}},[["render",function(e,t,o,n,a,l){return r(),d("div",{class:h(["prices",o.mode])},[o.product&&(o.product.onSale||o.product.onClearance)&&o.price?(r(
1),d(p,{key:0},[i("span",St,[u(f(o.price.finalFormatted),1),o.price.pair?(r(),d("span",Tt,"pair")):v("",!0)]),i("span",_t,f(o.price.priceFormatted),1)],64)):o.product&&o.price?(r(),d("span",Bt,[u(f(o.price.finalFormatted),1),o.price.pair?(r(),d("span",Rt,"pair")):v("",!0)])):v("",!0)],2)}]]);const Lt={class:"product-nav-desktop"},Mt={class:"product-primary-information"},Nt={class:"primary-info"},xt={class:"product-name"},Ut={class:"title"},Dt={key:0,style:{"margin-left":"12px"}},Ft={class:"product-navbar-desktop"},jt={key:0,"data-nosnippet":"",class:"sale-price"},zt={key:1,class:"discontinue-msg",style:{"margin-right":"20px"}},qt={key:2},Vt={key:3,style:{width:"40px",height:"40px","margin-left":"8px"}};var Kt=e(Object.assign({name:"ProductNavDesktop"},{props:{showBundle:{type:Boolean,default:!1},showNavLinks:{type:Boolean,default:!0},product:{type:Object,required:!0},price:{type:Object,required:!0},productToCartFormat:{type:Array,required:!0},visible:{type:Object,default:()=>({overview:!1,details:!1,reviews:!1,bundles:!1})},isProductDiscontinued:{type:Boolean,required:!0},isProductAvailableInGeolocation:{type:Boolean,required:!0}},emits:["addToCart","scrollToSection"],setup(e,{emit:t}){const o=e,n=t,s=g(Ye,!1),u=c((()=>Object.keys(o.visible).find((e=>o.visible[e])))),p=c((()=>o.product&&o.product.collection?o.product.collection.name:""));function w(e){n("scrollToSection",e)}function k(e){n("addToCart",e),Be(e[0]),b.track((s?"PLA":"PDP")+"_Click_Floating_Nav",{element:"add to cart",productId:e[0].id})}function C(e){b.track((s?"PLA":"PDP")+"_Click_Floating_Nav",{element:"favorite",productId:e})}return(t,o)=>{var n;return r(),d("div",Lt,[i("div",Mt,[i("div",Nt,[i("div",xt,[i("h2",Ut,f(p.value),1)]),e.showNavLinks?(r(),d("nav",Dt,[i("a",{class:h(["navOverview",{active:"overview"===u.value}]),style:{"margin-left":"var(--space-4)"},onClick:o[0]||(o[0]=e=>w("overview"))},"Overview",2),i("a",{class:h(["navDetails",{active:"details"===u.value}]),onClick:o[1]||(o[1]=e=>w("details"))},"Details",2),i("a",{class:h(["navReviews",{active:"reviews"===u.value}]),onClick:o[2]||(o[2]=e=>w("reviews"))},"Reviews",2),y(i("a",{class:h(["navBundles",{active:"bundles"===u.value}]),onClick:o[3]||(o[3]=e=>w("bundles"))},"Bundle",2),[[m,e.showBundle&&e.isProductAvailableInGeolocation]])])):v("",!0)]),i("div",Ft,[!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),d("div",jt,[a(Ot,{product:"product",price:e.price,mode:"desktop"},null,8,["price"])])):e.isProductDiscontinued?(r(),d("p",zt,"Sorry, this product has been retired.")):v("",!0),!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),d("div",qt,[a(_e,{"data-test":"add-to-cart-button","scroll-first":!1,products:e.productToCartFormat,animate:!1,class:"add-to-cart-button",isEtaAtRisk:null==(n=e.product)?void 0:n.isEtaAtRisk,onAdded:k},null,8,["products","isEtaAtRisk"])])):v("",!0),!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),d("div",Vt,[a(Ge,{"show-favorite":!0,"show-favorite-text":!1,product:e.product,class:"round",source:"product-page",onOnAdd:C},null,8,["product"])])):v("",!0)])]),a(l(Ze),{style:{"margin-top":"0px","margin-bottom":"0px",height:"1px"}})])}}}),[["__scopeId","data-v-01a00439"]]);const Gt={class:"product-nav-links"},Yt={class:"info-block"},$t={class:"product-navbar-mobile"};var Zt=e(Object.assign({name:"ProductNavLinks"},{props:{visible:{type:Object,default:{overview:!1,details:!1,reviews:!1,bundles:!1}},hideProductHeader:{type:Boolean,default:!1},showBundle:{type:Boolean,default:!1}},emits:["scrollToSection"],setup(e,{emit:t}){const o=e,n=c((()=>Object.keys(o.visible).find((e=>o.visible[e])))),s=t;function u(e){s("scrollToSection",e)}return(t,o)=>y((r(),d("div",Gt,[i("div",Yt,[a(l(Ze),{class:"product-info-divider"}),i("div",$t,[i("span",{class:h(["navOverviewMobile",{active:"overview"===n.value}]),style:{"margin-left":"20px"},onClick:o[0]||(o[0]=e=>u("overview"))},"Overview",2),i("span",{class:h(["navDetailsMobile",{active:"details"===n.value}]),onClick:o[1]||(o[1]=e=>u("details"))},"Details",2),i("span",{class:h(["navReviewsMobile",{active:"reviews"===n.value}]),onClick:o[2]||(o[2]=e=>u("reviews"))},"Reviews",2),y(i("span",{class:h(["navBundlesMobile",{active:"bundles"===n.value}]),onClick:o[3]||(o[3]=e=>u("bundles"))},"Bundle",2),[[m,e.showBundle]])])]),a(l(Ze),{class:"product-info-divider"})],512)),[[m,!e.hideProductHeader]])}}),[["__scopeId","data-v-7e40ca96"]]);const Ht={class:"product-nav-mobile"},Jt={class:"info-block"},Wt={class:"top-custom"},Qt={key:0,class:"product-info"},Xt={class:"product-name"},er={class:"title-badge-container"},tr={class:"title"}
1,rr={key:0,"data-nosnippet":"",class:"sale-price"},or={key:0,class:"product-discontinue"},nr={key:1,class:"product-info-container"},ir={class:"product-name"},ar={class:"title"},lr={key:0,"data-nosnippet":"",class:"sale-price"},sr={class:"product-atc-section"},ur={key:2,class:"discontinue-btn"},cr=["href"];var dr=e(Object.assign({name:"ProductNavMobile"},{props:{product:{type:Object,required:!0},price:{type:Object,required:!0},productToCartFormat:{type:Array,required:!0},isAddToCartVisibleOnPage:{type:Boolean,default:!1},hideProductHeader:{type:Boolean,default:!1},isProductDiscontinued:{type:Boolean,required:!0},isProductAvailableInGeolocation:{type:Boolean,required:!0}},emits:["addToCart"],setup(e,{emit:t}){const n=e,s=t,u=w(),p=g(Ye,!1),{mounted:C}=k(),A=c((()=>n.product&&n.product.collection?n.product.collection.name:"")),P=c((()=>{var e;const t=g($e);return u.resolve(null!=(e=null==t?void 0:t.value)?e:{name:"home"}).href}));function E(e){s("addToCart",e),Be(e[0]),b.track((p?"PLA":"PDP")+"_Click_Floating_Nav",{element:"add to cart",productId:e[0].id})}function I(e){b.track((p?"PLA":"PDP")+"_Click_Floating_Nav",{element:"favorite",productId:e})}return(t,n)=>{var s,u,c;return y((r(),d("div",Ht,[i("div",Jt,[i("div",Wt,[e.isAddToCartVisibleOnPage?(r(),d("div",Qt,[i("div",Xt,[i("div",er,[i("p",tr,f(A.value),1)]),!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),d("div",rr,[a(Ot,{product:e.product,price:e.price,mode:"mobile"},null,8,["product","price"]),a(_e,{"scroll-first":!1,products:e.productToCartFormat,class:"add-to-cart-button top-cart-button cart",isEtaAtRisk:null==(s=e.product)?void 0:s.isEtaAtRisk,onAdded:E},null,8,["products","isEtaAtRisk"]),l(C)?(r(),o(Ge,{key:0,product:e.product,"show-favorite":!0,class:"round",source:"product-page",onOnAdd:I},null,8,["product"])):v("",!0)])):v("",!0)]),e.isProductDiscontinued?(r(),d("div",or,n[0]||(n[0]=[i("p",{class:"discontinue-msg"},"Sorry, this product has been retired.",-1)]))):v("",!0)])):(r(),d("div",nr,[i("div",ir,[i("p",ar,f(A.value),1),!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),d("div",lr,[a(Ot,{product:e.product,price:e.price,mode:"mobile"},null,8,["product","price"])])):v("",!0)]),i("div",sr,[!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),o(_e,{key:0,isEtaAtRisk:null==(u=e.product)?void 0:u.isEtaAtRisk,"scroll-first":!1,products:e.productToCartFormat,animate:!1,class:h([{"has-risky-eta":null==(c=e.product)?void 0:c.isEtaAtRisk},"add-to-cart-button"]),onAdded:E},null,8,["isEtaAtRisk","products","class"])):v("",!0),!e.isProductDiscontinued&&e.isProductAvailableInGeolocation?(r(),o(Ge,{key:1,"show-favorite":!0,"show-favorite-text":!1,product:e.product,source:"product-page",onOnAdd:I},null,8,["product"])):v("",!0)])])),e.isProductDiscontinued?(r(),d("div",ur,[i("a",{class:"button no-margin uppercase",href:P.value},"Shop All",8,cr)])):v("",!0)])])],512)),[[m,!e.hideProductHeader]])}}}),[["__scopeId","data-v-66566e15"]]);const pr={id:"product-nav-mobile",class:"mobile-nav"};var fr=e(Object.assign({name:"DualColumnPdpNav"},{props:{showBundle:{type:Boolean,required:!1},product:{type:Object},price:{type:Object,required:!0},productToCartFormat:{type:Array,required:!0},isAddToCartVisibleOnPage:{type:Boolean,default:!1},visible:{type:Object,default:()=>({overview:!1,details:!1,reviews:!1,bundles:!1})},hideProductHeader:{type:Boolean,default:!1},isProductDiscontinued:{type:Boolean,required:!0},isProductAvailableInGeolocation:{type:Boolean,required:!0}},emits:["addToCart","scrollToSection"],setup(e,{emit:t}){C((t=>({"63339d38-isAddToCartVisibleOnPage? '-100px': '0px'":e.isAddToCartVisibleOnPage?"-100px":"0px","63339d38-isAddToCartVisibleOnPage ? 'sticky': 'fixed'":e.isAddToCartVisibleOnPage?"sticky":"fixed"})));const n=t;function l(e){n("addToCart",e)}function s(e){n("scrollToSection",e)}return(t,n)=>(r(),d(p,null,[a(Kt,{class:"desktop-nav container","show-bundle":e.showBundle,product:e.product,price:e.price,"product-to-cart-format":e.productToCartFormat,visible:e.visible,"is-product-discontinued":e.isProductDiscontinued,"is-product-available-in-geolocation":e.isProductAvailableInGeolocation,onAddToCart:l,onScrollToSection:s},null,8,["show-bundle","product","price","product-to-cart-format","visible","is-product-discontinued","is-product-available-in-geolocation"]),i("div",pr,[e.isAddToCartVisibleOnPage?v("",!0):(r(),o(dr,{key:0,product:e.product,price:e.price,"product-to-cart-format":e.productToCartFormat,"is-product-discontinued":e.isProductDiscontinued,"is-product-available-in-geolocation":e.isProductAvailableInGeolocation,"hide-product-header":e.hideProductHeader,"is-add-to-cart-visible-on-page":e.isAddToCartVisibleOnPage,onAddToCart:l},null,8,["product","price","product-to-cart-format","is-product-discontinued","is-product-available-in-geolocation","hide-product-header","is-add-to-cart-visible-on-page"])),a(Zt,{product:e.product,"show-bundle":e.showBundle,"hide-product-header":e.hideProductHeader,visible:e.visible,onScrollToSection:s},null,8,["product","show-bundle","hide-product-header","visible"])])],64))}}),[["__scopeId","data-v-63339d38"]]);
1const vr={id:"product-nav-mobile",class:"mobile-nav"};var hr=e(Object.assign({name:"DualColumnPlaNav"},{props:{showBundle:{type:Boolean,required:!1},product:{type:Object,default:null},price:{type:Object,required:!0},productToCartFormat:{type:Array,required:!0},isAddToCartVisibleOnPage:{type:Boolean,default:!1},hideProductHeader:{type:Boolean,default:!1},isProductDiscontinued:{type:Boolean,required:!0},isProductAvailableInGeolocation:{type:Boolean,required:!0}},emits:["addToCart"],setup(e,{emit:t}){C((t=>({"21b517a2-isAddToCartVisibleOnPage? '-100px': '0px'":e.isAddToCartVisibleOnPage?"-100px":"0px"})));const n=t;function l(e){n("addToCart",e)}return(t,n)=>(r(),d(p,null,[a(Kt,{class:"desktop-nav container","show-bundle":e.showBundle,product:e.product,price:e.price,"product-to-cart-format":e.productToCartFormat,"is-product-discontinued":e.isProductDiscontinued,"is-product-available-in-geolocation":e.isProductAvailableInGeolocation,"show-nav-links":!1,onAddToCart:l},null,8,["show-bundle","product","price","product-to-cart-format","is-product-discontinued","is-product-available-in-geolocation"]),i("div",vr,[e.isAddToCartVisibleOnPage?v("",!0):(r(),o(dr,{key:0,hideProductHeader:e.hideProductHeader,product:e.product,price:e.price,"product-to-cart-format":e.productToCartFormat,"is-product-discontinued":e.isProductDiscontinued,"is-product-available-in-geolocation":e.isProductAvailableInGeolocation,"is-add-to-cart-visible-on-page":e.isAddToCartVisibleOnPage,onAddToCart:l},null,8,["hideProductHeader","product","price","product-to-cart-format","is-product-discontinued","is-product-available-in-geolocation","is-add-to-cart-visible-on-page"]))])],64))}}),[["__scopeId","data-v-21b517a2"]]);const gr={class:"warranty-guarantee-icon"},yr={class:"warranty-guarantee"},mr={class:"warranty-guarantee-message"};var br=e({__name:"OneYearWarranty",props:{product:{type:Object,required:!0}},setup(e){const c=e,{isProductEligible:d}=Pe((()=>c.product)),p={name:"campaignPage",params:{slug:"1-year-warranty"}};return(e,c)=>{const f=t("font-awesome-icon"),v=t("router-link");return l(d)?(r(),o(Ve,{key:0},{icon:n((()=>[i("span",gr,[a(f,{icon:l(s)},null,8,["icon"])])])),text:n((()=>[i("div",yr,[i("div",mr,[a(v,{class:"accent",to:p,target:"_blank"},{default:n((()=>c[0]||(c[0]=[u("1-year limited warranty",-1)]))),_:1,__:[0]}),c[1]||(c[1]=u(" + 30 day satisfaction guarantee. ",-1))])])])),_:1})):(r(),o(kt,{key:1}))}}},[["__scopeId","data-v-277f8f3f"]]);const wr={BUTTON:"BUTTON",CIRCLE:"CIRCLE",TILE:"TILE"},kr={name:"ProductConfigurator",components:{ResponsiveImage:A},props:{configurations:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup:()=>({ConfigurationType:wr}),computed:{configurationGroupName(){const e={};return this.configurations.forEach((t=>{var r;this.isColorGroup(t)&&(null==(r=t.configuration)?void 0:r.some((e=>e.isMakeToOrder)))?e[t.attributeId]="Stocked Color":e[t.attributeId]=t.userFriendlyName})),e}},methods:{isColorGroup:e=>"Color"===e.userFriendlyName,getStockedConfigurations(e){var t;return(null==(t=null==e?void 0:e.configuration)?void 0:t.filter((e=>!e.isMakeToOrder)))||[]},getMtoConfigurations(e){var t;return(null==(t=null==e?void 0:e.configuration)?void 0:t.filter((e=>e.isMakeToOrder)))||[]},shouldShowStockedConfigurations(e){return!this.isColorGroup(e)||this.getStockedConfigurations(e).length>0},getDisplayConfigurations(e){return this.isColorGroup(e)?this.getStockedConfigurations(e):e.configuration||[]},getSelectedLabel(e){var t,r;if(this.isColorGroup(e)){const r=null==(t=null==e?void 0:e.configuration)?void 0:t.find((e=>e.selected&&!e.isMakeToOrder));return(null==r?void 0:r.valueUserFriendlyName)||""}const o=null==(r=null==e?void 0:e.configuration)?void 0:r.find((e=>e.selected));return(null==o?void 0:o.valueUserFriendlyName)||""},getSelectedMakeToOrderLabel(e){var t;const r=null==(t=null==e?void 0:e.configuration)?void 0:t.find((e=>e.selected&&e.isMakeToOrder));return(null==r?void 0:r.valueUserFriendlyName)||""},async loadConfiguration(e){this.disabled||this.$emit("update:modelValue",e)}}},Cr={key:0},Ar={class:"bold"},Pr=["aria-label"],Er=["aria-label","aria-checked","disabled","onClick"],Ir={key:2},Sr=["aria-label"],Tr=["aria-label","aria-checked","onClick"],_r
1={class:"checkbox-circle-image"},Br={key:1,class:"overall-container"},Rr={class:"product-configuration-make-to-order"},Or={key:0,class:"swatches-link"},Lr={class:"product-configuration-group",role:"radiogroup","aria-labelledby":"custom-color-lbl"},Mr=["aria-checked","aria-label","onClick"],Nr={class:"checkbox-circle-image"},xr=["aria-label"],Ur=["aria-label","aria-checked","onClick"],Dr=["src","alt"],Fr={key:4};var jr=e(kr,[["render",function(e,l,s,c,g,y){const m=t("ResponsiveImage"),b=t("router-link");return r(),d("div",{class:h(["product-configuration",{"product-configuration-disabled":s.disabled}])},[(r(!0),d(p,null,P(s.configurations,(e=>(r(),d("div",{key:`configuration-${e.attributeId}`,class:"product-configuration-group-container"},[y.shouldShowStockedConfigurations(e)?(r(),d("div",Cr,[i("span",Ar,f(y.configurationGroupName[e.attributeId])+":",1),u(" "+f(y.getSelectedLabel(e)),1)])):v("",!0),e.type===c.ConfigurationType.BUTTON?(r(),d("div",{key:1,class:"product-configuration-group",role:"radiogroup","aria-label":y.configurationGroupName[e.attributeId]},[(r(!0),d(p,null,P(e.configuration,(t=>(r(),d("button",{key:t.valueId,class:h(["product-configuration-button button tiny",{"outlined coral":t.selected,"text grey":!t.selected}]),role:"radio","aria-label":t.valueUserFriendlyName,"aria-checked":t.selected,disabled:s.disabled,onClick:r=>y.loadConfiguration({configurationGroup:e,value:t})},f(t.valueUserFriendlyName),11,Er)))),128))],8,Pr)):e.type===c.ConfigurationType.CIRCLE?(r(),d("div",Ir,[y.shouldShowStockedConfigurations(e)?(r(),d("div",{key:0,class:"product-configuration-group",role:"radiogroup","aria-label":y.configurationGroupName[e.attributeId]},[(r(!0),d(p,null,P(y.getDisplayConfigurations(e),(t=>(r(),d("a",{key:t.valueId,class:"product-configuration-circle",role:"radio","aria-label":t.valueUserFriendlyName,tabindex:"0","aria-checked":t.selected,onClick:r=>y.loadConfiguration({configurationGroup:e,value:t})},[i("div",{class:h(["circle checkbox-circle",{"checkbox-circle-selected":t.selected}])},[i("div",_r,[a(m,{url:t.imageUrl+"?fit=max&w={width}",widths:[32],breakpoints:[],alt:`${e.userFriendlyName}: ${t.valueUserFriendlyName}`,skeleton:!0},null,8,["url","alt"])])],2)],8,Tr)))),128))],8,Sr)):v("",!0),y.isColorGroup(e)&&y.getMtoConfigurations(e).length>0?(r(),d("div",Br,[i("div",Rr,[i("div",null,[l[0]||(l[0]=i("span",{id:"custom-color-lbl",class:"bold"},"Custom Color:",-1)),u(" "+f(y.getSelectedMakeToOrderLabel(e)),1)]),y.getSelectedMakeToOrderLabel(e)?(r(),d("div",Or,[a(b,{to:{name:"swatchesSelect"}}
1,{default:n((()=>[...l[1]||(l[1]=[u(" Order Swatches ",-1)])])),_:1,__:[1]})])):v("",!0)]),i("div",Lr,[(r(!0),d(p,null,P(y.getMtoConfigurations(e),(t=>(r(),d("a",{key:t.valueId,class:"product-configuration-circle",role:"radio",tabindex:"0","aria-checked":t.selected,"aria-label":t.valueUserFriendlyName,onClick:r=>y.loadConfiguration({configurationGroup:e,value:t})},[i("div",{class:h(["circle checkbox-circle",{"checkbox-circle-selected":t.selected}])},[i("div",Nr,[a(m,{url:t.imageUrl+"?fit=max&w={width}",widths:[32],breakpoints:[],alt:`Color: ${t.valueUserFriendlyName}`,skeleton:!0},null,8,["url","alt"])])],2)],8,Mr)))),128))])])):v("",!0)])):e.type===c.ConfigurationType.TILE?(r(),d("div",{key:3,class:"product-configuration-group",role:"radiogroup","aria-label":y.configurationGroupName[e.attributeId]},[(r(!0),d(p,null,P(e.configuration,(t=>(r(),d("a",{key:t.valueId,class:h(["product-configuration-tile",{"product-configuration-tile-selected":t.selected}]),role:"radio",tabindex:"0","aria-label":t.valueUserFriendlyName,"aria-checked":t.selected,onClick:r=>y.loadConfiguration({configurationGroup:e,value:t})},[t.imageUrl&&t.imageUrl.endsWith(".svg")?(r(),d("img",{key:0,src:t.imageUrl,alt:t.valueUserFriendlyName,width:66,height:66},null,8,Dr)):(r(),o(m,{key:1,image:{url:t.imageUrl},width:66,height:66,alt:t.valueUserFriendlyName},null,8,["image","alt"]))],10,Ur)))),128))],8,xr)):(r(),d("div",Fr,f(e),1))])))),128))],2)}],["__scopeId","data-v-197c76b8"]]);const zr=E` 2 query productDeliveryEstimate($hashKey: String, $zip: String!) { 3 productDeliveryEstimate(hashKey: $hashKey, zip: $zip) { 4 city 5 countryId 6 regionCode 7 error 8 campaignEligible 9 productDeliveryInfo { 10 availableDate 11 inStockIn 12 productId 13 productIsInStock 14 regionId 15 regionName 16 serviceAreaIsGuaranteed 17 startDeliveryETA 18 endDeliveryETA 19 } 20 } 21 } 22`;function qr(){const e=I({initialised:!1,loading:!0,error:!1,campaignEligible:!1,accurate:c((()=>e.location.city&&e.location.region)),location:{city:null,country:null,region:null},estimate:{availableDate:null,endDeliveryETA:null,inStockIn:null,productId:null,productIsInStock:null,regionId:null,regionName:null,serviceAreaIsGuaranteed:null,startDeliveryETA:null,warehouseCode:null,warehouseIsPrimary:null,warehouseTimeZone:null},estimateMessage:c((()=>e.initialised?e.estimate&&e.estimate.startDeliveryETA&&e.estimate.endDeliveryETA?S.formatDateRange(e.estimate.startDeliveryETA,e.estimate.endDeliveryETA):"Please contact us for an estimate":""))});let t=null;async function r({product:r,zip:o}){if(t={product:r,zip:o},"string"!=typeof o||""===o.trim())return b.sentryCaptureError(new Error("useDeliveryEstimate called with invalid input")),e.loading=!1,e.initialised=!1,void(e.campaignEligible=!1);try{e.loading=!0;const n=await O(zr,{zip:o,hashKey:r});if(t.zip!==o||t.product!==r)return;const{city:i,countryId:a,regionCode:l,error:s,campaignEligible:u,productDeliveryInfo:c}=n.productDeliveryEstimate;if(s)return e.loading=!1,e.error=!0,void(e.campaignEligible=!1);e.initialised=!0,e.loading=!1,e.error=!1,e.location.city=i,e.location.country=a,e.location.region=l,e.campaignEligible=null!=u&&u,Object.assign(e.estimate,c)}catch(n){if(b.sentryCaptureError(n),t.zip!==o||t.product!==r)return;e.loading=!1,e.error=!0,e.campaignEligible=!1}}return T((()=>B.initializedSessionData),(e=>{var o;if(!e||!t)return;const n=null==(o=_.getPreferredLocation())?void 0:o.zipcode;n&&n!==t.zip&&r({product:t.product,zip:n})})),{...R(e),loadgql:r,loadgqlForSet:async function(){throw new Error("not implemented")}}}const Vr={class:"field"},Kr={class:"form-title"},Gr=["placeholder"],Yr={key:0,class:"zip-code-error"},$r={class:"error"},Zr=["href"];const Hr={class:"truck-icon"},Jr={ref:"deliveryInfo",class:"product-delivery"},Wr={ref:"deliveryTitle",class:"delivery-time-block"},Qr={key:0,class:"delivery-title"},Xr={key:0,class:"delivery-location"},eo={class:"delivery-time"},to={key:1,class:"delivery-title-invalid-region"},ro={key:2,class:"delivery-title-invalid-region"},oo={key:3,class:"product-delivery-loading skeleton"};var no=e({name:"ProductDelivery",components:{ZipForm:e({name:"Zi
22pForm",props:{value:String,formStyle:String,product:String},setup(){const{estimate:e,loadgql:t}=qr(),{updateLocation:r}=L();return{updateLocation:r,load:t,estimate:e}},data:()=>({zipCode:"",zipCodeError:"Hmm, we can't seem to locate this postal code.",toShowZipCodeError:!1,formTitle:"",zipCodeHint:""}),beforeMount(){_.isCanada()?(this.formTitle="Enter postal code",this.zipCodeHint="e.g. V6A1C7"):(this.formTitle="Enter ZIP code",this.zipCodeHint="e.g. 90221")},methods:{async onFormSubmit(e){if(this.zipCode)if(this.toShowZipCodeError=!1,this.zipCode=this.zipCode.trim(),Ee.isValidZip(this.zipCode)){const{zipLocation:e}=await this.updateLocation({zip:this.zipCode});(null==e?void 0:e.zipcode)||await this.load({product:this.product,zip:this.zipCode});try{this.toShowZipCodeError=!(null==e?void 0:e.zipcode),(null==e?void 0:e.zipcode)?(_.setIsLocationManual(!0),this.$emit("getZipSuccess",e.zipcode)):this.estimate.availableDate?this.$emit("getZipSuccess",this.zipCode):this.$emit("getZipError")}catch(t){this.toShowZipCodeError=!0,this.$emit("getZipError",t)}}else this.toShowZipCodeError=!0,this.$emit("getZipError")}}},[["render",function(e,t,o,n,a,l){return r(),d("div",{id:"zipform",ref:"zipform",class:h(o.formStyle)},[i("form",{onSubmit:t[1]||(t[1]=N(((...e)=>l.onFormSubmit&&l.onFormSubmit(...e)),["prevent"]))},[i("div",Vr,[i("label",Kr,f(a.formTitle),1),y(i("input",{ref:"zipInput","onUpdate:modelValue":t[0]||(t[0]=e=>a.zipCode=e),class:"input-field",type:"text",placeholder:a.zipCodeHint},null,8,Gr),[[M,a.zipCode]]),a.toShowZipCodeError?(r(),d("div",Yr,[i("div",$r,f(a.zipCodeError),1),i("div",null,[t[2]||(t[2]=u(" If you're sure it's correct, ",-1)),i("a",{href:e.$router.resolve({name:"contact"}).href},"get in touch",8,Zr),t[3]||(t[3]=u(" with us via phone, email, or chat and we'll add it to our system. Thanks! ",-1))])])):v("",!0)]),t[4]||(t[4]=i("input",{class:"submit-button button",type:"submit",value:"Update"},null,-1))],32)],2)}],["__scopeId","data-v-947e0c36"]]),DeliveryTimeTooltip:He,ProductBuyDetail:Ve},directives:{ClickOutside:x},props:{loading:{},product:{},price:{},error:{},accurate:{},location:{},estimateMessage:{}},setup(){const{shippingDiscount:e,showContactBanner:t,user:r,etaMessage:o,loadMessaging:n}=L(),{mounted:i}=k();return{shippingDiscount:e,showContactBanner:t,user:r,etaMessage:o,loadMessaging:n,mounted:i,faTruckFast:U}},data:()=>({zipFormClass:"",zipFormVisible:!1,zipError:!1,shouldIndentRow:!1}),computed:{inStock(){return!!this.estimate&&this.estimate.productIsInStock}},methods:{getZipSuccess(e){this.zipError=!1,this.zipFormVisible=!1,this.$emit("updateZip",e)},getZipError(){this.zipError=!0},onRegionClick(){this.zipFormVisible=!this.zipFormVisible,D.isTabletAndSmaller&&window.scrollTo({top:window.scrollY+this.$refs.deliveryInfo.getBoundingClientRect().top-100,behavior:"smooth"})},onClickOutside(){this.zipError=!1,this.zipFormVisible=!1}}},[["render",function(e,l,s,c,g,m){const b=t("font-awesome-icon"),w=t("ZipForm"),k=t("DeliveryTimeTooltip"),C=t("ProductBuyDetail"),A=F("click-outside");return r(),o(C,null,{icon:n((()=>[i("span",Hr,[a(b,{icon:c.faTruckFast},null,8,["icon"])])])),text:n((()=>[y(i("div",null,[c.mounted?(r(),d("div",{key:0,ref:"zipFormContainer",class:h(["zip-form-container",[g.zipFormVisible&&"active",g.zipError&&"error"]]),onClick:l[1]||(l[1]=N((()=>{}),["stop"]))},[a(w,{"form-style":g.zipFormClass,product:s.product.hashKey,onGetZipSuccess:m.getZipSuccess,onGetZipError:l[0]||(l[0]=e=>m.getZipError())},null,8,["form-style","product","onGetZipSuccess"])],2)):v("",!0),i("div",Jr,[i("div",Wr,[!s.loading&&s.accurate?(r(),d("div",Qr,[s.location.city&&s.location.region?(r(),d("span",Xr,[l[5]||(l[5]=i("span",null,"Delivered to ",-1)),i("a",{class:"delivery-region accent",onClick:l[2]||(l[2]=N(((...e)=>m.onRegionClick&&m.onRegionClick(...e)),["prevent","stop"]))},f(s.location.city)+", "+f(s.location.region),1)])):v("",!0),s.product.isProductAvailableInGeo?(r(),d(p,{key:1},[l[6]||(l[6]=i("span",{class:"delivery-semi-colon"}," : ",-1)),i("span",eo,[a(k,{message:c.etaMessage},{default:n((()=>[u(f(s.estimateMessage),1)])),_:1},8,["message"])])],64)):v("",!0)])):!s.loading&&s.error&&c.mounted?(r(),d("div",to,[l[7]||(l[7]=i("span",null,"Sit tight â thereâs been a technical error, but weâre working to fix it quickly. ",-1)),i("a",{class:"delivery-region secondary accent",onClick:l[3]||(l[3]=N(((...e)=>
22m.onRegionClick&&m.onRegionClick(...e)),["prevent","stop"]))},"Get delivery estimate")])):s.loading||s.error||!c.mounted?(r(),d("div",oo,"Â ")):(r(),d("div",ro,[i("a",{class:"delivery-region secondary accent",onClick:l[4]||(l[4]=N(((...e)=>m.onRegionClick&&m.onRegionClick(...e)),["prevent","stop"]))},"Get delivery estimate")]))],512)],512)],512),[[A,m.onClickOutside]])])),_:1})}],["__scopeId","data-v-d5ea5d3a"]]);const io=/^\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)$/,ao=/^!\[([^\]]*)\]\((https?:\/\/[^\s)]+)\)$/,lo=Object.freeze({LINK:"link",IMAGE:"image",LIST:"list",SPEC_LINE:"specLine",SPEC_TABLE_ROW:"specTableRow",EMPTY:"empty"});function so(e){if(!e)return"";const t=String(e).toLowerCase().split(/[^a-z0-9]+/).filter(Boolean);return t.length?t.map(((e,t)=>0===t?e:e.charAt(0).toUpperCase()+e.slice(1))).join(""):""}function uo(e){if(!Array.isArray(e)||!e.length)return null;const t=e.map((e=>null==e?null:String(e))).filter((e=>Boolean(e&&e.trim().length>0)));return t.length?{type:lo.LIST,items:t}:null}const co={"product.skuNo":e=>null==e?void 0:e.skuNo,"product.title":e=>null==e?void 0:e.title,"product.description":e=>null==e?void 0:e.description,"product.collection.name":e=>{var t;return null==(t=null==e?void 0:e.collection)?void 0:t.name},"product.review.rating":e=>{var t;const r=null==(t=null==e?void 0:e.review)?void 0:t.rating;if(null==r)return null;const o=Number(r);return Number.isFinite(o)?o.toFixed(2):null},"product.assemblyInstructionsUrl":e=>(null==e?void 0:e.assemblyInstructionsUrl)?{type:lo.LINK,href:e.assemblyInstructionsUrl,label:"View Assembly Instructions (PDF)"}:null,"product.legalLabelsUrl":e=>(null==e?void 0:e.legalLabelsUrl)?{type:lo.LINK,href:e.legalLabelsUrl,label:"View Law Label (PDF)"}:null,"product.height":e=>null==e?void 0:e.height,"product.width":e=>null==e?void 0:e.width,"product.depth":e=>null==e?void 0:e.depth,"product.fabricAndStain":e=>null==e?void 0:e.fabricAndStain,"product.boxes.count":e=>Array.isArray(null==e?void 0:e.box)?String(e.box.length):null,"product.boxes.dimensions":e=>{return t=null==e?void 0:e.box,Array.isArray(t)&&t.length?t.filter((e=>Boolean(e&&e.height&&e.width&&e.depth))).map((e=>`${Math.ceil(e.height)}"H x ${Math.ceil(e.width)}"W x ${Math.ceil(e.depth)}"D`)).join("\n"):null;var t},"product.care.all":e=>uo(null==e?void 0:e.care),"product.feature.all":e=>uo(null==e?void 0:e.feature)},po=new Set(Object.values(lo));function fo(e,t){if("string"==typeof e&&e.startsWith("product.specLine."))return function(e,t){var r,o;if(!(null==(r=null==e?void 0:e.spec)?void 0:r.length)||!t)return{type:lo.EMPTY};const n=e.spec.find((e=>(null==e?void 0:e.key)&&so(e.key)===t));return n&&null!==n.value&&void 0!==n.value&&""!==n.value?{type:lo.SPEC_LINE,label:null!=(o=n.key)?o:"",value:String(n.value)}:{type:lo.EMPTY}}(t,e.slice("product.specLine.".length));if("string"==typeof e&&e.startsWith("product.specRow."))return function(e,t){var r,o;if(!(null==(r=null==e?void 0:e.spec)?void 0:r.length)||!t)return{type:lo.EMPTY};const n=e.spec.find((e=>(null==e?void 0:e.key)&&so(e.key)===t));return n&&null!==n.value&&void 0!==n.value&&""!==n.value?{type:lo.SPEC_TABLE_ROW,label:null!=(o=n.key)?o:"",value:String(n.value)}:{type:lo.EMPTY}}(t,e.slice("product.specRow.".length));if("string"==typeof e&&e.startsWith("product.spec.")){const r=function(e,t){var r;if(!(null==(r=null==e?void 0:e.spec)?void 0:r.length)||!t)return null;const o=e.spec.find((e=>(null==e?void 0:e.key)&&so(e.key)===t));return null!=(null==o?void 0:o.value)?String(o.value):null}(t,e.slice("product.spec.".length));if(null==r||""===r)return{type:lo.EMPTY};const o=function(e){if("string"!=typeof e)return null;const t=e.trim().match(ao);return t?{type:lo.IMAGE,src:t[2],alt:t[1].trim()}:null}(r);if(o)return o;const n=function(e){if("string"!=typeof e)return null;const t=e.trim().match(io);if(!t)return null;const r=t[1].trim();return r?{type:lo.LINK,href:t[2],label:r}:null}(r);return null!=n?n:String(r)}const r="string"==typeof e?co[e]:void 0;if(!r)return{type:lo.EMPTY};const o=r(t);return function(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type&&po.has(e.type)}(o)?o:null==o||""===o?{type:lo.EMPTY}:String(o)}const vo=j(z((()=>q((()=>import("./ContentfulPdpProductInfoLegacySection.c718b884.js")),["assets/ContentfulPdpProductInfoLegacySection.c718b884.js","assets/PreserveRatio.95a52bd2.js","assets/PreserveRatio.1978e1da.css","assets/index.061e774e.js","assets/index.db9dbc77.css","assets/vue-scrollto.bb23a375.js","assets/campaign.7bfe87a4.js","assets/AddToCartButton.7aa082a0.js","assets/AddToCartButton.3c8422b0.css","assets/useAddToCart.5a80e920.js","assets/CartSnackbar.0ffd7b33.js","assets/CartSnackbar.745ff26f.css","assets/Snackbar.5ab4d14c.js","assets/ProductViewerEnum.c01915a0.js","assets/ProductViewerEnum.be15d94a.css","assets/ProductUnavailableMessage.9c605f03.js","assets/ProductUnavailableMessage.d28f25e5.css","assets/TextTemplate.5b8ae812.js","assets/TextTemplate.eb764bdb.css","assets/ContentfulCTAButton.88faa021.js","assets/ContentfulCTAButton.9587d62e.css","assets/ContentfulField.50bca384.js","assets/useContentfulLivePreview.bf395284.js","assets/InjectionKeys.77580dfc.js","assets/Rating.8f633212.js","assets/Rating.9ad667e1.css","assets/DeviceUtils.44556013.js","assets/ProductFinancing.726953df.js","assets/ProductFinancing.52601104.css","assets/FinancingMessage.b077160a.js","assets/FinancingMessage.f3d07bb1.css","assets/StripeUtils.40322978.js","assets/useFinancing.04068caf.js","assets/PayBright.80152b46.js","assets/PayBright.56ff85b5.
22css","assets/intersection-observer.aa907d4a.js","assets/ProductFavorite.cb358c6c.js","assets/ProductFavorite.3b4df30e.css","assets/Divider.e0255c1e.js","assets/DeliveryTimeTooltip.67da1b27.js","assets/DeliveryTimeTooltip.a99f8a99.css","assets/ProductBadgesList.3bde1d77.js","assets/ProductBadgesList.6a12ada4.css","assets/ProductBadgeV2.8a0c29d4.js","assets/ProductBadgeV2.fb912ae2.css","assets/useProductReviews.e25fd8ad.js","assets/mediaUtils.018d7373.js","assets/useProduct.bdc14900.js","assets/EventAnalytics.7c2eca63.js","assets/swiper.7b4e3d11.js","assets/Experiment.d67bf292.js","assets/ContentfulRenderer.4cb9966d.js","assets/ContentfulRenderer.137aee88.css"])))),ho=j(z((()=>q((()=>import("./ContentfulPdpProductInfoSection.8137c3da.js")),["assets/ContentfulPdpProductInfoSection.8137c3da.js","assets/ContentfulPdpProductInfoSection.7c1579e8.css","assets/ContentfulRichTextRenderer.6fb22222.js","assets/index.061e774e.js","assets/index.db9dbc77.css","assets/vue-scrollto.bb23a375.js","assets/campaign.7bfe87a4.js","assets/AddToCartButton.7aa082a0.js","assets/AddToCartButton.3c8422b0.css","assets/useAddToCart.5a80e920.js","assets/CartSnackbar.0ffd7b33.js","assets/CartSnackbar.745ff26f.css","assets/Snackbar.5ab4d14c.js","assets/ProductViewerEnum.c01915a0.js","assets/ProductViewerEnum.be15d94a.css","assets/ProductUnavailableMessage.9c605f03.js","assets/ProductUnavailableMessage.d28f25e5.css","assets/TextTemplate.5b8ae812.js","assets/TextTemplate.eb764bdb.css","assets/ContentfulCTAButton.88faa021.js","assets/ContentfulCTAButton.9587d62e.css","assets/ContentfulField.50bca384.js","assets/useContentfulLivePreview.bf395284.js","assets/InjectionKeys.77580dfc.js","assets/Rating.8f633212.js","assets/Rating.9ad667e1.css","assets/DeviceUtils.44556013.js","assets/ProductFinancing.726953df.js","assets/ProductFinancing.52601104.css","assets/FinancingMessage.b077160a.js","assets/FinancingMessage.f3d07bb1.css","assets/StripeUtils.40322978.js","assets/useFinancing.04068caf.js","assets/PayBright.80152b46.js","assets/PayBright.56ff85b5.css","assets/intersection-observer.aa907d4a.js","assets/ProductFavorite.cb358c6c.js","assets/ProductFavorite.3b4df30e.css","assets/Divider.e0255c1e.js","assets/DeliveryTimeTooltip.67da1b27.js","assets/DeliveryTimeTooltip.a99f8a99.css","assets/PreserveRatio.95a52bd2.js","assets/PreserveRatio.1978e1da.css","assets/ProductBadgesList.3bde1d77.js","assets/ProductBadgesList.6a12ada4.css","assets/ProductBadgeV2.8a0c29d4.js","assets/ProductBadgeV2.fb912ae2.css","assets/useProductReviews.e25fd8ad.js","assets/mediaUtils.018d7373.js","assets/useProduct.bdc14900.js","assets/EventAnalytics.7c2eca63.js","assets/swiper.7b4e3d11.js","assets/Experiment.d67bf292.js","assets/ContentfulRenderer.4cb9966d.js","assets/ContentfulRenderer.137aee88.css"]))));function go(e,t=[]){var r;if(!e)return t;if("embedded-entry-inline"!==e.nodeType&&"embedded-entry-block"!==e.nodeType||(null==(r=e.data)?void 0:r.target)&&t.push(e.data.target),Array.isArray(e.content))for(const o of e.content)go(o,t);return t}async function yo(e,t){if(!e)return;const r=go(e);await Promise.all(r.map((e=>V(e,1,t))))}function mo(e,t){var r,o,n,i,a,l,s;if(!e)return!1;if("text"===e.nodeType)return Boolean(null==(r=e.value)?void 0:r.trim());if("embedded-entry-inline"===e.nodeType){const r=null==(o=e.data)?void 0:o.target;if("productToken"!==(null==(a=null==(i=null==(n=null==r?void 0:r.sys)?void 0:n.contentType)?void 0:i.sys)?void 0:a.id))return!0;const u=null==(l=null==r?void 0:r.fields)?void 0:l.tokenKey;return null!=(s=fo(u,t))&&""!==s&&("object"!=typeof s||s.type!==lo.EMPTY)}return"embedded-entry-block"===e.nodeType||!!Array.isArray(e.content)&&e.content.some((e=>mo(e,t)))}const bo=["href"];var wo=e({name:"ProductAssembly",props:{product:{type:Object,default:null}},methods:{onClicked(){b.track("PDP_Download_Assembly",{device:window.screen.width<967?"Mobile":"Desktop"})}}},[["render",function(e,t,o,n,a,l){return r(),d("div",null,[i("p",null,[t[1]||(t[1]=u(" View ",-1)),i("a",{href:o.product.assemblyInstructionsUrl,target:"_blank",class:"link",onClick:t[0]||(t[0]=(...e)=>l.onClicked&&l.onClicked(...e))},"assembly instructions",8,bo),t[2]||(t[2]=u(" (PDF) ",-1))])])}],["__scopeId","data-v-a0e4ab56"]]);const ko={key:0,class:"care"},Co={class:"care-list"};var Ao=e({name:"ProductCare",props:{product:{type:Object,default:null}}},[["render",function(e,t,o,n,a,l){return o.product&&o.product.care&&o.product.care.length?(r(),d("div",ko,[i("ul",Co,[(r(!0),d(p,null,P(o.product.care,((e,t)=>
22(r(),d("li",{key:t,class:"care-list-item"},f(e),1)))),128))])])):v("",!0)}]]);const Po={key:0,class:"care"},Eo={class:"care-list"},Io=["href"];var So=e(K({__name:"ProductCareAssembly",props:{product:{type:Object,required:!0}},setup(e){const t=()=>{b.track("PDP_Download_Assembly",{device:window.screen.width<967?"Mobile":"Desktop"})};return(e,o)=>e.product&&e.product.care&&e.product.care.length?(r(),d("div",Po,[i("ul",Eo,[(r(!0),d(p,null,P(e.product.care,((e,t)=>(r(),d("li",{key:t,class:"care-list-item"},f(e),1)))),128))]),e.product.assemblyInstructionsUrl?(r(),d("a",{key:0,href:e.product.assemblyInstructionsUrl,target:"_blank",class:"accent",onClick:t},"View assembly instructions (PDF)",8,Io)):v("",!0)])):v("",!0)}}),[["__scopeId","data-v-1ac22486"]]);const To={key:0,class:"features"},_o={class:"features-list"};var Bo=e({name:"ProductFeature",props:{product:{type:Object,default:null}}},[["render",function(e,t,o,n,a,l){return o.product&&o.product.feature?(r(),d("div",To,[i("ul",_o,[(r(!0),d(p,null,P(o.product.feature,((e,t)=>(r(),d("li",{key:t,class:"features-list-item"},f(e),1)))),128))])])):v("",!0)}]]);const Ro={viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oo=[i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4 22.8C6.7 22.8 2 18.1 2 12.4S6.7 2 12.4 2s10.4 4.7 10.4 10.4-4.7 10.4-10.4 10.4Zm19.314 7.56-9.882-9.881a12.368 12.368 0 0 0 2.968-8.08C24.8 5.5 19.2 0 12.4 0 5.5 0 0 5.5 0 12.4s5.5 12.4 12.4 12.4c3.071 0 5.86-1.093 8.015-2.91l9.885 9.886 1.414-1.414ZM12 11V6h2v5h5v2h-5v5h-2v-5H7v-2h5Z",fill:"#626262"},null,-1)];var Lo={render:function(e,t){return r(),d("svg",Ro,Oo)}};const Mo={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},No=[i("path",{opacity:".5","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 1.116 2.383 5.56v8.88L10 18.885l7.617-4.443V5.56L10 1.116ZM2.992 6.265v7.47L9.395 10 2.992 6.265Zm.3 8 6.403 3.736v-7.47l-6.403 3.735Zm7.013 3.736 6.403-3.735-6.403-3.735V18Zm6.703-4.266v-7.47L10.605 10l6.403 3.735Zm-.3-8-6.403-3.736v7.47l6.403-3.734ZM9.695 1.999 3.292 5.735 9.695 9.47V2Z",fill:"#C2C2C2"},null,-1),i("path",{d:"M10 1.012c.086 0 .166.023.234.064L12.36 2.29a.457.457 0 1 1-.454.793l-1.449-.828V4.82a.457.457 0 1 1-.914 0V2.256l-1.449.828a.457.457 0 0 1-.453-.793l2.126-1.215A.455.455 0 0 1 10 1.012ZM5.22 4.295c.122.221.042.5-.18.62l-1.571.866 2.487 1.382a.457.457 0 1 1-.444.8L3.178 6.664l-.034 1.517a.457.457 0 0 1-.913-.02l.056-2.514a.457.457 0 0 1 .236-.39L4.6 4.115a.457.457 0 0 1 .62.18ZM17.714 8.172a.457.457 0 0 1-.914 0V6.678l-2.312 1.284a.457.457 0 0 1-.444-.8l2.488-1.381-1.572-.865a.457.457 0 0 1 .44-.8l2.077 1.142c.146.08.237.233.237.4v2.514ZM17.713 11.828a.457.457 0 1 0-.914 0v1.494l-2.311-1.284a.457.457 0 0 0-.444.8l2.488 1.381-1.572.865a.457.457 0 0 0 .44.8l2.077-1.142a.457.457 0 0 0 .237-.4v-2.514ZM5.04 15.084a.457.457 0 0 1-.44.8l-2.077-1.142a.457.457 0 0 1-.236-.39l-.056-2.514a.457.457 0 0 1 .914-.02l.033 1.517 2.334-1.297a.457.457 0 1 1 .444.8L3.47 14.218l1.572.865ZM10.234 18.924a.455.455 0 0 1-.467 0L7.64 17.71a.457.457 0 1 1 .453-.793l1.45.828V15.18a.457.457 0 0 1 .913 0v2.564l1.45-.828a.457.457 0 0 1 .453.793l-2.126 1.215ZM8.094 8.384a.457.457 0 0 0-.453.794l1.902 1.087v2.173a.457.457 0 0 0 .914 0v-2.173l1.903-1.087a.457.457 0 0 0-.454-.793L10 9.474l-1.906-1.09Z",fill:"#141414"},null,-1)];const xo=["href"],Uo={key:0,class:"loader tiny"},Do={class:"ar-icon-dual-column"},Fo={key:0},jo={key:1},zo={key:2,class:"ar-button-loader loader tiny"};var qo=e({components:{ARIcon:{render:function(e,t){return r(),d("svg",Mo,No)}}},props:{product:{type:Object,default:null}},emits:["arStatus","showQRModal"],async setup(e,{emit:t}){const{mounted:r}=k(),o=w(),n=G(),i=Y(!1),a=Y(null),l=Y(!0),s=Y(!1),u=c((()=>{if(!e.product)return n.path;return o.resolve({name:"product",params:{id:e.product.hashKey,slug:e.product.slug}}).path})),d=c((()=>r&&a.value&&a.value.url?Ne(a.value.url,`${$.VITE_STOREFRONT_BASE_URL}${u.value}`,e.product.slug):"")),p=c((()=>r&&e.product?xe(e.product.hashKey,e.product.slug,o):"")),f=c((()=>r&&d.value&&!l.value&&(Ue()||De(n)||Fe()))),v=c((()=>De(n)));async function h(){e.product&&e.product.hashKey?(l.value=!0,t("arStatus",Re.LOADING),a.value=await je(e.product.hashKey),t("arStatus",Re.LOADED),l.value=!1,void 0===a.value&&t("arStatus",Re.NOTFOUND)):console.warn("Failed to load AR model")}function g(){"hidden"===document.visibilityState&&y()}function y(){i.value=!1,document.removeEventListener("visibilitychange",g)}return T((()=>e.product),(async()=>{h()})),Z((async()=>{s.value=H.isChromeiOS(),await h()})),{modelUrl:d,model:a,loadingModel:l,loadingViewer:i,openViewer:async function(e){if(Fe()&&!v.value)b.track("Click AR QR Code Button"),t("showQRModal",p.value);else if(!a.value||l.value);else if(f.value){b.track("Click AR Button"),i.value=!0,document.addEventListener("visibilitychange",g),setTimeout((()=>{y()}),2e4);const t=document.createElement("a");t.appendChild(document.createElement("img")),t.setAttribute("rel","ar"),t.setAttribute("href",e),t.click()}},supportsAR:Ue,iOSChrome:s,showButton:f,debugButton:v,icon:"/assets/icon-ios-ar.1652d535.png"}}},[["render",function(e,o,n,l,s,c){const f=t("ARIcon");return l.showButton?(r(),d("a",{key:0,ref:"arButton",rel:"ar",href:l.modelUrl,type:"model/vnd.usdz+zip",class:"product-viewer-button-dual-column","aria-label":"View product in AR",onClick:o[0]||(o[0]=N((e=>l.openViewer(l.modelUrl)),["prevent"]))},[l.loadingModel?(r(),d("span",Uo)):(r(),d(p,{key:1},[i("span",Do,[a(f)]),l.loadingViewer&&l.iOSChrome?(r(),d("span",Fo,"Loading")):(r(),d("span",jo,[o[1]||(o[1]=u("View in your space",-1)),l.supportsAR()||l.debugButton?v("",!0):(r(),d(p,{key:0},[],64))])),l.loadingViewer&&l.iOSChrome?(r(),d("span",zo)):v("",!0)],64))],8,xo)):v("",!0)}],["__scopeId","data-v-eae22c5a"]]);
22const Vo={class:"product-image-controls"};var Ko=e({name:"ProductImageControls",components:{ProductViewerButton:qo,ZoomIcon:Lo},props:{product:{type:Object,default:null}},emits:["zoom"],setup(){const{mounted:e}=k();return{mounted:e}}},[["render",function(e,o,n,l,s,u){const c=t("ZoomIcon");return r(),d("div",Vo,[i("button",{class:"product-buy-image-expand button white filled zoom-btn",title:"Open Fullscreen",onClick:o[0]||(o[0]=t=>e.$emit("zoom"))},[a(c)])])}],["__scopeId","data-v-1682665c"]]);const Go={key:0,class:"specs"},Yo={class:"specs-values-column"},$o={class:"flex-grid specs-rows"},Zo={class:"flex-col-4-sm specs-title"},Ho={class:"flex-col-8-sm specs-value"},Jo={key:0},Wo={class:"flex-grid specs-rows"},Qo={class:"flex-col-8-sm specs-value"},Xo={class:"flex-grid specs-rows"},en={class:"flex-col-8-sm specs-value"},tn={key:0,class:"flex-grid specs-rows"},rn={class:"flex-col-8-sm specs-value"},on=["href"],nn=K({__name:"ProductSpecs",props:{product:{type:Object,required:!0,default:()=>({spec:[],skuNo:"",legalLabelsUrl:"",box:[]})}},setup(e){const o=e,{data:l,loading:s,init:h}=J("pdf-law-label-text","View Law Label (PDF)"),g=l,y=s,m=c((()=>{var e;return null!=(e=null==g?void 0:g.value)?e:""})),w=c((()=>{var e;return!y.value&&m.value&&(null==(e=null==o?void 0:o.product)?void 0:e.legalLabelsUrl)})),k=c((()=>{var e,t;return(null!=(t=null==(e=o.product)?void 0:e.spec)?t:[]).filter((e=>{var t;const r=(null!=(t=null==e?void 0:e.value)?t:"").trim();return!io.test(r)&&!ao.test(r)}))})),C=c((()=>{var e,t;return(null==(t=null==(e=o.product)?void 0:e.box)?void 0:t.length)?o.product.box.filter((e=>e.height&&e.width&&e.depth)).map(((e,t)=>({height:Math.ceil(e.height),width:Math.ceil(e.width),depth:Math.ceil(e.depth),index:t}))):[]})),A=()=>b.track("PDP_Open_Law_Label",{device:window.screen.width<967?"Mobile":"Desktop"}),E=e=>{const t=e.toLowerCase().split(" ");for(let r=0;r<t.length;r++)t[r]=t[r].charAt(0).toUpperCase()+t[r].substring(1);return t.join(" ")};return W(h),Q(h),(e,o)=>{const l=t("router-link");return e.product&&e.product.spec&&e.product.spec.length?(r(),d("div",Go,[i("div",Yo,[(r(!0),d(p,null,P(k.value,(e=>(r(),d("div",{key:e.id},[i("div",$o,[i("div",Zo,[i("span",null,f(E(e.key)),1)]),i("div",Ho,[i("div",null,f(e.value),1),"General Dimensions"===e.key?(r(),d("div",Jo,[a(l,{class:"accent",target:"_blank",to:{name:"measureForDelivery"}},{default:n((()=>[...o[0]||(o[0]=[u("Measure For Delivery",-1)])])),_:1,__:[0]})])):v("",!0)])])])))),128)),i("div",Wo,[o[1]||(o[1]=i("div",{class:"flex-col-4-sm specs-title"},[i("span",null,"SKU No.")],-1)),i("div",Qo,[i("span",null,f(e.product.skuNo),1)])]),i("div",Xo,[o[2]||(o[2]=i("div",{class:"flex-col-4-sm specs-title"},[i("span",null,"Box Dimensions")],-1)),i("div",en,[(r(!0),d(p,null,P(C.value,(e=>(r(),d("div",{key:`dimension-${e.index}`},f(e.height)+'"H x '+f(e.width)+'"W x '+f(e.depth)+'"L',1)))),128))])]),w.value?(r(),d("div",tn,[o[3]||(o[3]=i("div",{class:"flex-col-4-sm specs-title"},[i("span",null,"Document")],-1)),i("div",rn,[i("a",{href:e.product.legalLabelsUrl,target:"_blank",class:"link",onClick:A},f(m.value),9,on)])])):v("",!0)])])):v("",!0)}}});var an=e(nn,[["__scopeId","data-v-df8c5d8e"]]);const ln={DESCRIPTION:"Description",FEATURES:"Features",SPECIFICATIONS:"Specifications",CARE:"Care",ASSEMBLY_INSTRUCTIONS:"Assembly Instructions",CARE_ASSEMBLY:"Care & Assembly"},sn={name:"ProductNewInfo",components:{ProductFeature:Bo,ResponsiveImage:A,PreserveRatio:Je,ProductSpecs:an,ProductCareAssembly:So,Divider:Ze,ProductImageControls:Ko,ProductViewerButton:qo,ProductCare:Ao,ProductAssembly:wo},props:{showCollections:Boolean,product:{type:Object,default:null},activeMedia:{default:0,type:Number},lastImage:{default:null,type:Object}},emits:["interaction","openGallery"],setup(e){const{mounted:t}=k(),r=[];e.product&&0!==e.product.description.length&&(r.push(ln.DESCRIPTION),e.product&&0!==e.product.feature.length&&r.push(ln.FEATURES)),e.product&&0!==e.product.spec.length&&r.push(ln.SPECIFICATIONS),e.product&&0!==e.product.care.length&&e.product.assemblyInstructionsUrl&&r.push(ln.CARE_ASSEMBLY),e.product&&0!==e.product.care.length&&!e.product.assemblyInstructionsUrl&&r.push(ln.CARE),e.product&&!e.product.care.length&&e.product.assemblyInstructionsUrl&&r.push(ln.ASSEMBLY_INSTRUCTIONS);const o=c((()=>X(e.product.description))),n=Y([]),i=c((()=>n.value.filter((t=>{var r;return!(null==(r=t.props)?void 0:r.content)||mo(t.props.content,e.product)})))),{settingValue:a}=ee("storefront.temp.use.contentful.pdp.info.layout",!1),l=async()=>{var t,r,o;if(!a.value||!(null==(t=e.product)?void 0:t.hashKey))return;const i=oe().isPreview;try{const e=await ne("pdpProductInfoLayout","pdp-product-info-layout-default",2,i,"none");let t=[];(null==(r=null==e?void 0:e.fields)?void 0:r.sections)?(await function(e,t){return Promise.all((null!=e?e:[]).map((e=>V(e,2,t))))}(e.fields.sections,i),t=e.fields.sections):i||b.sentryCaptureError('[PDP layout] default layout not found â Contentful entry "pdpProductInfoLayout" with slug "pdp-product-info-layout-default" is missing or has no sections.',{extra:{layoutContentType:"pdpProductInfoLayout",defaultLayoutSlug:"pdp-product-info-layout-default"}});const o=function(e,t){return e.filter((e=>{var r,o;return"trade"!==(null!=(o=null==(r=null==e?void 0:e.fields)?void 0:r.audie
22nce)?o:"all").toLowerCase()||t}))}(t,ie.isTrade()),a=function(e){return e.map((e=>{var t,r,o;const n=function(e){var t,r,o,n;return null!=(n=null==(o=null==(r=null==(t=null==e?void 0:e.sys)?void 0:t.contentType)?void 0:r.sys)?void 0:o.id)?n:null}(e),i=null!=(t=null==e?void 0:e.fields)?t:{},a=null!=(r=i.displayTitle)?r:"";if("pdpProductInfoLegacySection"===n)return{title:a,component:vo,props:{sectionType:i.legacySectionType}};if("pdpProductInfoSection"===n){const e=i.slug,t=null!=(o=i.defaultContent)?o:null;return t?{slug:e,title:a,component:ho,props:{content:t}}:null}return null})).filter((e=>null!==e))}(o);await Promise.all(a.filter((e=>{var t;return null==(t=e.props)?void 0:t.content})).map((e=>yo(e.props.content,i)))),n.value=a}catch(ws){i||b.sentryCaptureError(ws,{extra:{productHashKey:null==(o=e.product)?void 0:o.hashKey}}),n.value=[]}};return W(l),Q(l),{reasons:r,mounted:t,productDescriptionSanitized:o,PRODUCT_INFO_REASONS:ln,contentfulSections:n,visibleContentfulSections:i,isContentfulPdpInfoLayoutEnabled:a}},data:()=>({selected:[-1],count:0}),methods:{onAccordionClick(e){var t,r;const o=this.selected.indexOf(e);o>-1?this.selected.splice(o,1):this.selected.push(e);const n=(null==(t=this.contentfulSections)?void 0:t.length)?null==(r=this.visibleContentfulSections[e])?void 0:r.title:this.reasons[e];this.$emit("interaction",n)},isItemSelected(e){return this.selected.includes(e)},ItemSelected(e){return this.isItemSelected(e)?"af-minus":"af-plus"},onExpandImage(){this.$emit("openGallery"),b.track("PDP Expand Product Image",{productId:this.product.hashKey,index:this.product.media&&this.product.media.length?this.product.media.length-1:null})}}},un={key:0,class:"product-info"},cn={key:0,class:"pdp-info-body"},dn=["onClickPassive"],pn={class:"section-title"},fn={class:"section-text"},vn={key:1,class:"pdp-info-body"},hn=["onClickPassive"],gn={class:"section-title"},yn={class:"section-text"},mn={key:0},bn=["innerHTML"],wn={key:1},kn={key:2},Cn={key:0,class:"dimension-image-border"},An={class:"dimension-img"},Pn={key:3},En={key:4,class:"assembly"},In={key:5};var Sn=e(sn,[["render",function(e,l,s,u,c,g){const y=t("Divider"),m=t("ProductFeature"),b=t("ResponsiveImage"),w=t("ProductImageControls"),k=t("PreserveRatio"),C=t("ProductViewerButton"),A=t("ProductSpecs"),E=t("ProductCare"),I=t("ProductAssembly"),S=t("ProductCareAssembly");return s.product?(r(),d("div",un,[u.isContentfulPdpInfoLayoutEnabled?(r(),d("div",cn,[(r(!0),d(p,null,P(u.visibleContentfulSections,((t,n)=>(r(),d("div",{key:`ctf-section-${n}`,class:h(["pdp-section",t.slug?`pdp-section-${t.slug}`:null])},[a(y,{"no-margin":!0,height:"1px"}),i("div",{class:h(["pdp-section-header",{"pdp-section-header-active":g.isItemSelected(n)}]),onClickPassive:e=>g.onAccordionClick(n)},[i("h4",pn,[i("span",fn,f(t.title),1),i("span",{class:h(["accordion-icons af",[g.ItemSelected(n)]])},null,2)])],42,dn),i("div",{class:h(["accordion-content",[g.isItemSelected(n)&&"active"]])},[(r(),o(re(t.component),te({ref_for:!0},t.props,{product:s.product,"last-image":"pdp-product-info-legacy-specs"===t.props.sectionType?s.lastImage:null,class:"section-description",onOpenGallery:l[0]||(l[0]=t=>e.$emit("openGallery"))}),null,16,["product","last-image"]))],2)],2)))),128)),a(y,{"no-margin":!0,height:"1px"})])):(r(),d("div",vn,[(r(!0),d(p,null,P(u.reasons,((e,t)=>(r(),d("div",{key:t,class:"pdp-section"},[t<=u.reasons.length?(r(),o(y,{key:0,"no-margin":!0,height:"1px"})):v("",!0),i("div",{class:h(["pdp-section-header",{"pdp-section-header-active":g.isItemSelected(t)}]),onClickPassive:e=>g.onAccordionClick(t)},[i("h4",gn,[i("span",yn,f(e),1),i("span",{class:h(["accordion-icons af",[g.ItemSelected(t)]])},null,2)])],42,hn),i("div",{class:h(["accordion-content",[g.isItemSelected(t)&&"active"]])},[e===u.PRODUCT_INFO_REASONS.DESCRIPTION?(r(),d("div",mn,[i("p",{innerHTML:u.productDescriptionSanitized},null,8,bn)])):e===u.PRODUCT_INFO_REASONS.FEATURES?(r(),d("div",wn,[a(m,{product:s.product,class:"section-description"},null,8,["product"])])):e===u.PRODUCT_INFO_REASONS.SPECIFICATIONS?(r(),d("div",kn,[s.lastImage?(r(),d("div",Cn,[(r(),o(k,{key:s.lastImage.url,width:2890,height:1500,class:"row large"},{default:n((()=>[s.lastImage&&u.mounted?(r(),d("div",{ref_for:!0,ref:"dimensionContainerDesktop",key:s.lastImage.url,class:"product-info dimension-container",onClick:l[1]||(l[1]=(...e)=>g.onExpandImage&&g.onExpandImage(...e))},[i("div",An,[a(b,{url:s.lastImage.url+"?fit=max&w={width}",lazy:!1,alt:`Detailed dimensions of ${s.product.title}.`,height:399,width:768},null,8,["url","alt"])])])):v("",!0),s.lastImage&&"IMAGE"===s.lastImage.type?(r(),o(w,{key:1,product:s.product,class:"product-info-image-control
22s",onZoom:g.onExpandImage},null,8,["product","onZoom"])):v("",!0)])),_:1}))])):v("",!0),s.product&&u.mounted?(r(),d("div",{key:`product-viewer-button-${s.product.hashKey}-info-section`,class:"product-viewer-button-mobile-info-section"},[a(C,{product:s.product},null,8,["product"])])):v("",!0),a(A,{product:s.product,class:"section-description",style:{"margin-top":"12px"}},null,8,["product"])])):e===u.PRODUCT_INFO_REASONS.CARE?(r(),d("div",Pn,[a(E,{product:s.product,class:"section-description"},null,8,["product"])])):e===u.PRODUCT_INFO_REASONS.ASSEMBLY_INSTRUCTIONS?(r(),d("div",En,[a(I,{product:s.product,class:"section-description"},null,8,["product"])])):e===u.PRODUCT_INFO_REASONS.CARE_ASSEMBLY?(r(),d("div",In,[a(S,{product:s.product,class:"section-description"},null,8,["product"])])):v("",!0)],2)])))),128)),a(y,{"no-margin":!0,height:"1px"})]))])):v("",!0)}],["__scopeId","data-v-127cd18d"]]);const Tn={class:"product-reviews-summary-details"},_n={key:1,class:"product-reviews-rating-average"},Bn={key:0,class:"reviews-count accent","aria-labelledby":"Go to reviews section"},Rn={key:1,class:"reviews-count accent","aria-labelledby":"Go to reviews section"};var On=e({components:{Rating:ze},props:{product:Object},async setup(e){var t;const{load:r,countExactProduct:o}=tt(),n=_.isUS();T((()=>null==e?void 0:e.product),(async()=>{var t;await r(null==(t=null==e?void 0:e.product)?void 0:t.hashKey)})),await r(null==(t=null==e?void 0:e.product)?void 0:t.hashKey);return{review:c((()=>e.product&&e.product.review?e.product.review:{})),ratingFormatted:c((()=>e.product.review&&e.product.review.rating?Number(e.product.review.rating).toFixed(1).replace(".0",""):null)),reviewCount:c((()=>{var t,r,n;return o.value||(null!=(n=null==(r=null==(t=e.product)?void 0:t.review)?void 0:r.count)?n:0)})),isUS:n}}},[["render",function(e,n,i,a,l,s){const u=t("Rating");return r(),d("div",Tn,[a.review.rating?(r(),o(u,{key:0,value:a.review.rating,"show-half-star":!0,max:5},null,8,["value"])):v("",!0),a.ratingFormatted?(r(),d("div",_n,[a.isUS?(r(),d("a",Bn,f(a.ratingFormatted)+f(a.reviewCount&&` (${a.reviewCount})`),1)):(r(),d("a",Rn,f(a.reviewCount)+" Review"+f(1===a.reviewCount?"":"s"),1))])):v("",!0)])}],["__scopeId","data-v-1b9d4fd7"]]);const Ln={class:"pdp-header"},Mn={class:"title-price-container"},Nn={class:"top-container"},xn={class:"title"},Un={key:0,"data-nosnippet":"",class:"price-with-badge"},Dn=["data-bv-product-id"],Fn=Object.assign({name:"ProductPageHeader"},{props:{product:{type:Object,required:!0},price:{type:Object,required:!0},isProductAvailableInGeolocation:{type:Boolean,default:!1}},emits:["scrollToSection"],setup(e,{emit:t}){const s=e,u=g(Ye,!1),c=w(),p=t,{mounted:y}=k(),{isBazaarvoiceEnabled:m}=ae();async function b(){var e,t;u?await c.push({name:"product",params:{id:null==(e=null==s?void 0:s.product)?void 0:e.hashKey,slug:null==(t=null==s?void 0:s.product)?void 0:t.slug,saveScrollPosition:!0},hash:"#plareviews"}):p("scrollToSection","reviews")}return(t,s)=>{var c,p;return r(),d("div",Ln,[i("div",Mn,[i("div",Nn,[i("div",null,[(null==(c=e.product.badges)?void 0:c.length)?(r(),o(We,{key:0,class:"badge",badges:e.product.badges},null,8,["badges"])):v("",!0),i("h2",xn,f(e.product.title),1)])]),e.isProductAvailableInGeolocation?(r(),d("div",Un,[a(Ot,{class:"price",product:e.product,price:e.price,mode:"dual-column"},null,8,["product","price"]),a(le,{name:"fade"},{default:n((()=>{var t,n;return[e.product.onSale?(r(),o(Qe,{key:0,type:"sale","original-price":null==(t=e.price)?void 0:t.productPrice,"sale-price":null==(n=e.price)?void 0:n.salePrice},null,8,["original-price","sale-price"])):e.product.onClearance?(r(),o(Qe,{key:1,type:"clearance"})):v("",!0)]})),_:1})])):v("",!0),l(y)?(r(),o(Xe,{key:1,price:e.price.final,onLoaded:s[0]||(s[0]=e=>t.loaded=!0)},null,8,["price"])):v("",!0)]),l(m)?(r(),d("div",{key:0,"data-bv-show":"rating_summary","data-bv-product-id":null==(p=e.product)?void 0:p.hashKey,onClick:s[1]||(s[1]=e=>l(u)?b():void 0)},null,8,Dn)):(r(),o(On,{key:1,product:e.product,class:h({"header-reviews-summary":!l(u)}),onClick:s[2]||(s[2]=e=>b())},null,8,["product","class"]))])}}});const jn={"aria-label":"on sale, sale price,",class:"newPrice"},zn={key:0},qn={"aria-label":"original price,",class:"originalPrice"},Vn={key:1,class:"regularPrice"},Kn={key:0};var Gn=e({name:"Price",props:{mode:{required:!0,validator:e=>["dual-column","top","desktop","mobile"].includes(e)},product:{default:()=>({}),type:Object},price:{default:()=>({}),type:Object}}},[["render",function(e,t,o,n,a,l){return r(),d("div",{class:h(["prices-condensed",o.mode])},[o.product&&(o.product.onSale||o.product.onClearance)&&o.price?(r(
22),d(p,{key:0},[i("span",jn,[u(f(o.price.finalFormatted),1),o.price.pair?(r(),d("span",zn,"pair")):v("",!0)]),i("span",qn,f(o.price.priceFormatted),1)],64)):o.product&&o.price?(r(),d("span",Vn,[u(f(o.price.finalFormatted),1),o.price.pair?(r(),d("span",Kn,"pair")):v("",!0)])):v("",!0)],2)}]]);const Yn=["data-pb_financedamount"],$n={__name:"PayBrightCondensed",props:{ctaText:{default:"Affirm financing",type:String},financedAmount:{default:0,type:Number}},emits:["triggerSet"],setup(e,{emit:t}){const o=t,n=e;L();const i=Y();return Z((()=>{const e=(e,t)=>{for(const r of e)r.addedNodes.forEach(((e,t)=>{o("triggerSet"),"affirm-ala-price"===e.className?e.innerHTML="":"affirm-modal-trigger"===e.className?e.innerHTML=n.ctaText:e.remove()}));(()=>{const e=i.value.querySelector(".affirm-modal-trigger");e&&(e.innerHTML=n.ctaText)})()},t=()=>{window.pb_prequalify_init({showDecimals:!0});const t=i.value.childNodes[0];new MutationObserver(e).observe(t,{childList:!0})},r=()=>{window.pb_prequalify_init?t():document.getElementById("pb_prequalify").addEventListener("load",t)};if(document.getElementById("pb_prequalify"))r();else{const e=new MutationObserver((t=>{document.getElementById("pb_prequalify")&&(e.disconnect(),r())}));e.observe(document.body,{childList:!0})}})),(t,o)=>(r(),d("div",{ref_key:"root",ref:i,"data-pb_financedamount":e.financedAmount.toFixed(2),class:"paybright-widget-container"},null,8,Yn))}};var Zn=e(K({__name:"AffirmCondensed",props:{estimate:{type:Object,required:!0,default:()=>({estimateAvailable:!1,provider:"affirm",modalUrl:"",monthlyPayment:0,openModal:()=>{},openNativeModal:()=>{}})},ctaText:{type:String,required:!1,default:"Affirm financing"},useSkeleton:{type:Boolean,required:!1,default:!0},loaded:{type:Boolean,required:!0,default:!1}},setup:e=>(e,t)=>(r(),d("div",{class:h(["financing-message",{skeleton:e.useSkeleton&&!e.loaded}])},[i("a",{onClick:t[0]||(t[0]=(...t)=>e.estimate.openModal&&e.estimate.openModal(...t))},f(e.ctaText),1)],2))}),[["__scopeId","data-v-05d72bdd"]]);const Hn=K({__name:"FinancingMessageCondensed",props:{price:{type:Number,required:!0,default:0},accentLink:{type:Boolean,required:!1,default:!1},useSkeleton:{type:Boolean,required:!1,default:!0},underline:{type:Boolean,required:!1,default:!1}},emits:["loaded"],setup(e,{emit:t}){const{setIsFinancingEnabled:n}=et(),i=e,a=t,{estimatePayment:s}=rt(),{loading:u,init:f}=J(ot," as low as ${{price}}/month."),{loading:h,init:g}=J(nt,"Affirm financing"),[y,m,b]=se((()=>s(i.price,null)),null),w=y,k=c((()=>i.price/100));Promise.all([f,g,b]);const C=u,A=h,P=m,E=c((()=>!(!w.value&&C.value&&A.value&&P.value))),I=c((()=>`or from $${Math.ceil(w.value.monthlyPayment)}/mo with Affirm`));return T((()=>{var e;return null==(e=null==w?void 0:w.value)?void 0:e.estimateAvailable}),((e,t)=>{e!==t&&n(!!e)})),T(E,((e,t)=>{e&&!t&&a("loaded")})),Z((()=>{E.value&&a("loaded")})),(e,t)=>(r(),d(p,null,[l(y)&&"affirm"===l(y).provider&&l(y).estimateAvailable?(r(),o(Zn,{key:0,estimate:l(y),ctaText:I.value,useSkeleton:e.useSkeleton,loaded:E.value,class:"affirm"},null,8,["estimate","ctaText","useSkeleton","loaded"])):v("",!0),l(y)&&"pb"===l(y).provider&&l(y).estimateAvailable?(r(),o($n,{key:1,ctaText:I.value,financedAmount:k.value,class:"pb"},null,8,["ctaText","financedAmount"])):v("",!0)],64))}});const Jn={key:0},Wn={key:1};var Qn=e({name:"ProductFinancing",components:{FinancingMessageCondensed:e(Hn,[["__scopeId","data-v-13f951b0"]])},props:{amountInCents:{type:Number,default:0}},setup(e){const{mounted:t}=k(),{isEnabled:r}=rt();return{mounted:t,hasFinancingEnabled:c((()=>r(e.amountInCents/100)))}},data:()=>({loaded:!1})},[["render",function(e,n,a,l,s,u){const c=t("FinancingMessageCondensed");return l.hasFinancingEnabled?(r(),d("span",Jn,[i("div",{class:h(["product-financing",{skeleton:!s.loaded}])},[l.mounted?(r(),o(c,{key:0,price:a.amountInCents,useSkeleton:!1,onLoaded:n[0]||(n[0]=e=>s.loaded=!0)},null,8,["price"])):v("",!0),l.mounted||s.loaded?v("",!0):(r(),d("span",Wn,"Â "))],2)])):v("",!0)}],["__scopeId","data-v-f85ea902"]]);const Xn={class:"pdp-header-condensed"},ei={class:"title-price-container"},ti={class:"top-container"},ri={class:"title"}
22,oi={"data-nosnippet":"",class:"nosnippet-price-container"},ni={key:0,class:"price-with-badge"},ii=["data-bv-product-id"],ai=Object.assign({name:"ProductPageHeader"},{props:{product:{type:Object,required:!0},price:{type:Object,required:!0},isProductAvailableInGeolocation:{type:Boolean,default:!1}},emits:["scrollToSection"],setup(e,{emit:t}){const s=e,u=g(Ye,!1),c=w(),p=t,{mounted:y}=k(),{isBazaarvoiceEnabled:m}=ae();async function b(){var e,t;u?await c.push({name:"product",params:{id:null==(e=null==s?void 0:s.product)?void 0:e.hashKey,slug:null==(t=null==s?void 0:s.product)?void 0:t.slug,saveScrollPosition:!0},hash:"#plareviews"}):p("scrollToSection","reviews")}return(t,s)=>{var c,p,g;return r(),d("div",Xn,[i("div",ei,[i("div",ti,[i("div",null,[(null==(c=e.product.badges)?void 0:c.length)?(r(),o(We,{key:0,class:"badge",badges:e.product.badges},null,8,["badges"])):v("",!0),i("h2",ri,f(e.product.title),1)])]),i("div",oi,[e.isProductAvailableInGeolocation?(r(),d("div",ni,[a(Gn,{class:"price",product:e.product,price:e.price,mode:"dual-column"},null,8,["product","price"]),a(le,{name:"fade"},{default:n((()=>{var t,n;return[e.product.onSale?(r(),o(Qe,{key:0,type:"sale","original-price":null==(t=e.price)?void 0:t.productPrice,"sale-price":null==(n=e.price)?void 0:n.salePrice},null,8,["original-price","sale-price"])):e.product.onClearance?(r(),o(Qe,{key:1,type:"clearance"})):v("",!0)]})),_:1})])):v("",!0),e.isProductAvailableInGeolocation&&!(null==(p=e.product)?void 0:p.isEtaAtRisk)?(r(),o(Qn,{key:1,class:"financing","amount-in-cents":e.price.final},null,8,["amount-in-cents"])):v("",!0)]),l(y)?(r(),o(Xe,{key:0,price:e.price.final,onLoaded:s[0]||(s[0]=e=>t.loaded=!0)},null,8,["price"])):v("",!0)]),l(m)?(r(),d("div",{key:0,"data-bv-show":"rating_summary","data-bv-product-id":null==(g=e.product)?void 0:g.hashKey,onClick:s[1]||(s[1]=e=>l(u)?b():void 0)},null,8,ii)):(r(),o(On,{key:1,product:e.product,class:h({"header-reviews-summary":!l(u)}),onClick:s[2]||(s[2]=e=>b())},null,8,["product","class"]))])}}});const li={name:"ProductStock",components:{ProductBuyDetail:Ve},props:{loading:{type:Boolean,default:!0},error:{},product:{default:()=>({}),type:Object},estimate:{default:()=>({}),type:Object}},setup:()=>({faCircleCheck:ue,faCircleInfo:ce,faMagicWandSparkles:de}),data:()=>({mounted:!1}),computed:{inStock(){return!!this.estimate&&this.estimate.productIsInStock},isNotInStockOrMTO(){var e;return!this.inStock&&(!(null==(e=this.estimate)?void 0:e.inStockIn)||this.product.isMakeToOrder)}},mounted(){this.mounted=!0}},si={key:0,class:"stock-icon"},ui={key:1,class:"stock-icon"},ci={class:"product-stock"},di={key:0,class:"delivery-details delivery-details-loading skeleton"},pi={key:1},fi={key:2,class:"delivery-details"},vi={key:3,class:"delivery-details"},hi={class:"stock-status"},gi={key:0,class:"stock-title",style:{"margin-bottom":"8px"}};var yi=e(li,[["render",function(e,l,s,u,c,f){const h=t("font-awesome-icon"),g=t("ProductBuyDetail");return f.isNotInStockOrMTO?(r(),o(g,{key:0},{icon:n((()=>{var e;return[!s.error&&(null==(e=s.product)?void 0:e.isMakeToOrder)?(r(),d("span",si,[a(h,{icon:u.faMagicWandSparkles},null,8,["icon"])])):(r(),d("span",ui,[a(h,{icon:u.faCircleInfo},null,8,["icon"])]))]})),text:n((()=>[i("div",ci,[s.product&&"AVAILABLE"===s.product.status?(r(),d(p,{key:0},[s.loading||!c.mounted?(r(),d("div",di,l[0]||(l[0]=[i("div",{class:"stock-status"},[i("span",{class:"stock-title transparent"},"Â ")],-1)]))):s.error?(r(),d("div",pi,l[1]||(l[1]=[i("div",{class:"stock-status"},[i("span",{class:"stock-title"},"Stock status unknown")],-1)]))):s.estimate.inStockIn||s.product.isMakeToOrder?(r(),d("div",vi,[i("div",hi,[s.product.isMakeToOrder?(r(),d("span",gi,"This product will be custom made for you. We'll contact you when it's ready to be scheduled for delivery.")):v("",!0)])])):(r(),d("div",fi,l[2]||(l[2]=[i("div",{class:"stock-status"},[i("span",{class:"stock-title"},"Out of stock")],-1)])))],64)):v("",!0)])])),_:1})):v("",!0)}],["__scopeId","data-v-404c1937"]]);const mi={components:{AddToCartButton:_e,ResponsiveImage:A,ProductBadgesList:We,ProductBadgeV2:Qe,Price
22:Ot,addToCartIcon:it},props:{...pe,isDualColumn:{type:Boolean,default:!1},isShowCrossSell:{type:Boolean,default:!1}},async setup(e,t){var r,o;const{data:n,init:i}=fe("productPage",e,t,{errorPolicy:"ignore"}),a=null!=(o=null==(r=ve.getCountryByCurrencyId(_.getCurrencyId()))?void 0:r.code)?o:ve.US.code,{currentCountry:l}=L(),{load:s,product:u,price:d}=dt(),p=c((()=>{var e,t;return(null==(e=null==n?void 0:n.value)?void 0:e.tacticalCrossSellProduct)?parseInt(null==(t=null==n?void 0:n.value)?void 0:t.tacticalCrossSellProduct.replace(/\D/g,"")):null})),f=c((()=>{var e,t,r,o,n;return[{title:null==(e=null==u?void 0:u.value)?void 0:e.title,id:null==(t=null==u?void 0:u.value)?void 0:t.hashKey,quantity:null!=(o=null==(r=null==u?void 0:u.value)?void 0:r.packagedItemQuantity)?o:1,skuNo:null==(n=null==u?void 0:u.value)?void 0:n.skuNo}]})),v=c((()=>pt(u.value,l.value))),h=c((()=>{var e,t;return(null==n?void 0:n.value)&&(null==u?void 0:u.value)&&!(null==(e=null==u?void 0:u.value)?void 0:e.isEtaAtRisk)&&"AVAILABLE"===(null==(t=null==u?void 0:u.value)?void 0:t.status)})),g=c((()=>d.value.productPrice)),y=c((()=>d.value.salePrice)),m=c((()=>{var e,t,r;return`${null==(r=null==(t=null==(e=u.value)?void 0:e.media)?void 0:t.filter((e=>"MAIN"===e.imageType))[0])?void 0:r.url}?fit=max&w=120`}));return await i(),(null==p?void 0:p.value)&&await s(p.value),{data:n,product:u,onAddToCart:function(e){var t,r,o,n,i,a,s,c,p;ft({skuNo:null==(t=u.value)?void 0:t.skuNo,hashKey:null==(r=u.value)?void 0:r.hashKey,title:null==(o=u.value)?void 0:o.title},{final:null==(n=d.value)?void 0:n.final,currency:null==(i=l.value)?void 0:i.currencyCode},null==(c=null==(s=null==(a=u.value)?void 0:a.navigationCategory)?void 0:s[0])?void 0:c.displayName),b.track("PDP_TacticalCrossSell",{element:"add to cart",productId:null==(p=e[0])?void 0:p.id}),Be(e[0])},productToCartFormat:f,countryCode:a,isProductAvailableInGeolocation:function(e){return!e.country&&!a||e.country&&a&&e.country.includes(a)},formattedPrice:v,currentCountry:l,isTacticalCrossSellProductAvailable:h,originalPrice:g,salePrice:y,mainImageUrl:m}}},bi={key:0,class:"tactical-cross-sell-title"},wi={class:"row-product"},ki={class:"image-container"},Ci={class:"tactical-cross-sell-image"},Ai=["href"],Pi={class:"tactical-cross-sell-product-details-container"},Ei={class:"tactical-cross-sell-product-details"},Ii={class:"tactical-cross-sell-product-title"},Si=["href","aria-label"],Ti={key:0,"data-nosnippet":"",class:"tactical-cross-sell-price-summary"};var _i=e(mi,[["render",function(e,l,s,u,c,p){var g;const y=t("ResponsiveImage"),m=t("ProductBadgesList"),b=t("Price"),w=t("ProductBadgeV2"),k=t("addToCartIcon"),C=t("AddToCartButton");return u.isTacticalCrossSellProductAvailable&&s.isShowCrossSell?(r(),d("div",{key:0,class:h(["contentful-tactical-cross-sell-container",{"dual-column":s.isDualColumn}])},[u.data.tacticalCrossSellTitle?(r(),d("h3",bi,f(u.data.tacticalCrossSellTitle),1)):v("",!0),i("div",wi,[i("div",ki,[i("div",Ci,[i("a",{href:e.$router.resolve({name:"product",params:{slug:u.product.slug,id:u.product.hashKey}}).href,target:"_blank"},[a(y,{url:u.mainImageUrl,lazy:!0,alt:u.product.title,height:42,width:80,widths:[320],breakpoints:[320]},null,8,["url","alt"])],8,Ai)])]),i("div",Pi,[i("div",Ei,[i("div",Ii,[(null==(g=u.product.badges)?void 0:g.length)?(r(),o(m,{key:0,class:"product-badge-list",badges:u.product.badges},null,8,["badges"])):v("",!0),i("a",{class:"product-name",href:e.$router.resolve({name:"product",params:{slug:u.product.slug,id:u.product.hashKey}}).href,target:"_blank","aria-label":u.product.title},f(u.product.title),9,Si)]),u.isProductAvailableInGeolocation(u.product)?(r(),d("div",Ti,[a(b,{product:u.product,price:u.formattedPrice,mode:"dual-column"},null,8,["product","price"]),u.product.onSale?(r(),o(w,{key:0,type:"sale","original-price":u.originalPrice,"sale-price":u.salePrice},null,8,["original-price","sale-price"])):u.product.onClearance?(r(),o(w,{key:1,type:"clearance"})):v("",!0)])):v("",!0)]),a(C,{"button-classes":["outlined","coral"],"scroll-first":!1,class:"add-to-cart-toggle",animate:!0,"show-loader":!0,products:u.productToCartFormat,"aria-label":"Add to cart",isSmallVariant:!0,onAdded:u.onAddToCart},{default:n((()=>[a(k)])),_:1},8,["products","onAdded"])])])],2)):v("",!0)}],["__scopeId","data-v-3136c3b0"]]);const Bi={width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ri=[i("rect",{x:".5",y:".5",width:"39",height:"39",rx:"19.5",fill:"#fff"},null,-1),i("rect",{x:".5",y:".5",width:"39",height:"39",rx:"19.5",
22stroke:"#CACACA"},null,-1),i("path",{d:"M15.625 20.375a.53.53 0 0 1 0-.719l6-6a.53.53 0 0 1 .719 0 .53.53 0 0 1 0 .719L16.687 20l5.657 5.656a.53.53 0 0 1 0 .719.53.53 0 0 1-.719 0l-6-6Z",fill:"#2E2E2E"},null,-1)];var Oi={render:function(e,t){return r(),d("svg",Bi,Ri)}};const Li={width:"40",height:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Mi=[i("rect",{x:".5",y:".5",width:"39",height:"39",rx:"19.5",fill:"#fff"},null,-1),i("rect",{x:".5",y:".5",width:"39",height:"39",rx:"19.5",stroke:"#CACACA"},null,-1),i("path",{d:"M24.344 19.656a.53.53 0 0 1 0 .719l-6 6a.53.53 0 0 1-.719 0 .53.53 0 0 1 0-.719L23.281 20l-5.656-5.625a.53.53 0 0 1 0-.719.53.53 0 0 1 .719 0l6 6Z",fill:"#2E2E2E"},null,-1)];var Ni={render:function(e,t){return r(),d("svg",Li,Mi)}},xi={},Ui={},Di={},Fi={}.toString,ji=Array.isArray||function(e){return"[object Array]"==Fi.call(e)},zi=ji;Vi.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(ws){return!1}}();var qi=Vi.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function Vi(e,t,r){return Vi.TYPED_ARRAY_SUPPORT||this instanceof Vi?"number"==typeof e?Yi(this,e):function(e,t,r,o){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,o){if(r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(o||0))throw new RangeError("'length' is out of bounds");var n;n=void 0===r&&void 0===o?new Uint8Array(t):void 0===o?new Uint8Array(t,r):new Uint8Array(t,r,o);Vi.TYPED_ARRAY_SUPPORT?n.__proto__=Vi.prototype:n=$i(e,n);return n}(e,t,r,o);if("string"==typeof t)return function(e,t){var r=0|Hi(t),o=Gi(e,r),n=o.write(t);n!==r&&(o=o.slice(0,n));return o}(e,t);return function(e,t){if(Vi.isBuffer(t)){var r=0|Ki(t.length),o=Gi(e,r);return 0===o.length||t.copy(o,0,0,r),o}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?Gi(e,0):$i(e,t);if("Buffer"===t.type&&Array.isArray(t.data))return $i(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}(this,e,t,r):new Vi(e,t,r)}function Ki(e){if(e>=qi)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qi.toString(16)+" bytes");return 0|e}function Gi(e,t){var r;return Vi.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=Vi.prototype:(null===(r=e)&&(r=new Vi(t)),r.length=t),r}function Yi(e,t){var r=Gi(e,t<0?0:0|Ki(t));if(!Vi.TYPED_ARRAY_SUPPORT)for(var o=0;o<t;++o)r[o]=0;return r}function $i(e,t){for(var r=t.length<0?0:0|Ki(t.length),o=Gi(e,r),n=0;n<r;n+=1)o[n]=255&t[n];return o}function Zi(e,t){var r;t=t||1/0;for(var o=e.length,n=null,i=[],a=0;a<o;++a){if((r=e.charCodeAt(a))>
2255295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Hi(e){return Vi.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:Zi(e).length)}Vi.TYPED_ARRAY_SUPPORT&&(Vi.prototype.__proto__=Uint8Array.prototype,Vi.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Vi[Symbol.species]===Vi&&Object.defineProperty(Vi,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),Vi.prototype.write=function(e,t,r){void 0===t||void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,o){return function(e,t,r,o){for(var n=0;n<o&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}(Zi(t,e.length-r),e,r,o)}(this,e,t,r)},Vi.prototype.slice=function(e,t){var r,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(t=void 0===t?o:~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),t<e&&(t=e),Vi.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=Vi.prototype;else{var n=t-e;r=new Vi(n,void 0);for(var i=0;i<n;++i)r[i]=this[i+e]}return r},Vi.prototype.copy=function(e,t,r,o){if(r||(r=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<r&&(o=r),o===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-r&&(o=e.length-t+r);var n,i=o-r;if(this===e&&r<t&&t<o)for(n=i-1;n>=0;--n)e[n+t]=this[n+r];else if(i<1e3||!Vi.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},Vi.prototype.fill=function(e,t,r){if("string"==typeof e){if("string"==typeof t?(t=0,r=this.length):"string"==typeof r&&(r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var n;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n<r;++n)this[n]=e;else{var i=Vi.isBuffer(e)?e:new Vi(e),a=i.length;for(n=0;n<r-t;++n)this[n+t]=i[n%a]}return this},Vi.concat=function(e,t){if(!zi(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Gi(null,0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var o=Yi(null,t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(!Vi.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(o,n),n+=i.length}return o},Vi.byteLength=Hi,Vi.prototype._isBuffer=!0,Vi.isBuffer=function(e){return!(null==e||!e._isBuffer)},Di.alloc=function(e){var t=new Vi(e);return t.fill(0),t},Di.from=function(e){return new Vi(e)};var Ji,Wi={},Qi=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Wi.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},Wi.getSymbolTotalCodewords=function(e){return Qi[e]},Wi.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},Wi.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');Ji=e},Wi.isKanjiModeEnabled=function(){return void 0!==Ji},Wi.toSJIS=function(e){return Ji(e)};var Xi,ea={};function ta(){this.buffer=[],this.length=0}(Xi=ea).L={bit:1},Xi.M={bit:0},Xi.Q={bit:3},Xi.H={bit:2},Xi.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},Xi.from=function(e,t){if(Xi.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return Xi.L;case"m":case"medium":return Xi.M;case"q":case"quartile":return Xi.Q;case"h":case"high":return Xi.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(ws){return t}},ta.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var ra=ta,oa=Di;function na(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=oa.alloc(e*e),this.reservedBit=oa.alloc(e*e)}na.prototype.set=function(e,t,r,o){var n=e*this.size+t;this.data[n]=r,o&&(this.reservedBit[n]=!0)},na.prototype.get=function(e,t){return this.data[e*this.size+t]},na.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},na.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ia=na,aa={};!function(e){var t=Wi.getSymbolSize;e.getRowColCoords=function(e){if(1===e)return[];for(var r=Math.floor(e/7)+2,o=t(e),n=145===o?26:2*Math.ceil((o-13)/(2*r-2)),i=[o-7],a=1;a<r-1;a++)i[a]=i[a-1]-n;return i.push(6),i.reverse()},e.getPositions=function(t){for(var r=[],o=e.getRowColCoords(t),n=o.length,i=0;i<n;i++)for(var a=0;a<n;a++)0===i&&0===a||0===i&&a===n-1||i===n-1&&0===a||r.push([o[i],o[a]]);return r}}(aa);var la={},sa=Wi.getSymbolSize;la.getPositions=function(e){var t=sa(e);return[[0,0],[t-7,0],[0,t-7]]};var ua={};!function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var t=3,r=3,o=40,n=10;function i(t,r,o){switch(t){case e.Patterns.PATTERN000:return(r+o)%2==0;case e.Patterns.PATTERN001:return r%2==0;case e.Patterns.PATTERN010:return o%3==0;case e.Patterns.PATTERN011:return(r+o)%3==0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(o/3))%2==0;case e.Patterns.PATTERN101:return r*o%2+r*o%3==0;case e.Patterns.PATTERN110:return(r*o%2+r*o%3)%2==0;case e.Patterns.PATTERN111:return(r*o%3+(r+o)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){for(var r=e.size,o=0,n=0,i=0,a=null,l=null,s=0;s<r;s++){n=i=0,a=l=null;for(var u=0;u<r;u++){var c=e.get(s,u);c===a?n++:(n>=5&&(o+=t+(n-5)),a=c,n=1),(c=e.get(u,s))===l?i++:(i>=5&&(o+=t+(i-5)),l=c,i=1)}n>=5&&(o+=t+(n-5)),i>=5&&(o+=t+(i-5))}return o},e.getPenaltyN2=function(e){for(var t=e.size,o=0,n=0;n<t-1;n++)for(var i=0;i<t-1;i++){var a=e.get(n,i)+e.get(n,i+1)+e.get(n+1,i)+e.get(n+1,i+1);4!==a&&0!==a||o++}return o*r},e.getPenaltyN3=function(e){for(var t=e.size,r=0,n=0,i=0,a=0;a<t;a++){n=i=0;for(var l=0;l<t;l++)n=n<<1&2047|e.get(a,l),l>=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(l,a),l>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(e){for(var t=0,r=e.data.length,o=0;o<r;o++)t+=e.data[o];return Math.abs(Math.ceil(100*t/r/5)-10)*n},e.applyMask=function(e,t){for(var r=t.size,o=0;o<r;o++)for(var n=0;n<r;n++)t.isReserved(n,o)||t.xor(n,o,i(e,n,o))},e.getBestMask=function(t,r){for(var o=Object.keys(e.Patterns).length,n=0,i=1/0,a=0;a<o;a++){r(a),e.applyMask(a,t);var l=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(a,t),l<i&&(i=l,n=a)}return n}}(ua);var ca={},da=ea,pa=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],fa=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,
22192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ca.getBlocksCount=function(e,t){switch(t){case da.L:return pa[4*(e-1)+0];case da.M:return pa[4*(e-1)+1];case da.Q:return pa[4*(e-1)+2];case da.H:return pa[4*(e-1)+3];default:return}},ca.getTotalCodewordsCount=function(e,t){switch(t){case da.L:return fa[4*(e-1)+0];case da.M:return fa[4*(e-1)+1];case da.Q:return fa[4*(e-1)+2];case da.H:return fa[4*(e-1)+3];default:return}};var va={},ha={},ga=Di,ya=ga.alloc(512),ma=ga.alloc(256);!function(){for(var e=1,t=0;t<255;t++)ya[t]=e,ma[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)ya[t]=ya[t-255]}(),ha.log=function(e){if(e<1)throw new Error("log("+e+")");return ma[e]},ha.exp=function(e){return ya[e]},ha.mul=function(e,t){return 0===e||0===t?0:ya[ma[e]+ma[t]]},function(e){var t=Di,r=ha;e.mul=function(e,o){for(var n=t.alloc(e.length+o.length-1),i=0;i<e.length;i++)for(var a=0;a<o.length;a++)n[i+a]^=r.mul(e[i],o[a]);return n},e.mod=function(e,o){for(var n=t.from(e);n.length-o.length>=0;){for(var i=n[0],a=0;a<o.length;a++)n[a]^=r.mul(o[a],i);for(var l=0;l<n.length&&0===n[l];)l++;n=n.slice(l)}return n},e.generateECPolynomial=function(o){for(var n=t.from([1]),i=0;i<o;i++)n=e.mul(n,[1,r.exp(i)]);return n}}(va);for(var ba={},wa={byteLength:function(e){var t=Sa(e),r=t[0],o=t[1];return 3*(r+o)/4-o},toByteArray:function(e){var t,r,o=Sa(e),n=o[0],i=o[1],a=new Aa(function(e,t,r){return 3*(t+r)/4-r}(0,n,i)),l=0,s=i>0?n-4:n;for(r=0;r<s;r+=4)t=Ca[e.charCodeAt(r)]<<18|Ca[e.charCodeAt(r+1)]<<12|Ca[e.charCodeAt(r+2)]<<6|Ca[e.charCodeAt(r+3)],a[l++]=t>>16&255,a[l++]=t>>8&255,a[l++]=255&t;2===i&&(t=Ca[e.charCodeAt(r)]<<2|Ca[e.charCodeAt(r+1)]>>4,a[l++]=255&t);1===i&&(t=Ca[e.charCodeAt(r)]<<10|Ca[e.charCodeAt(r+1)]<<4|Ca[e.charCodeAt(r+2)]>>2,a[l++]=t>>8&255,a[l++]=255&t);return a},fromByteArray:function(e){for(var t,r=e.length,o=r%3,n=[],i=16383,a=0,l=r-o;a<l;a+=i)n.push(Ta(e,a,a+i>l?l:a+i));1===o?(t=e[r-1],n.push(ka[t>>2]+ka[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],n.push(ka[t>>10]+ka[t>>4&63]+ka[t<<2&63]+"="));return n.join("")}},ka=[],Ca=[],Aa="undefined"!=typeof Uint8Array?Uint8Array:Array,Pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ea=0,Ia=Pa.length;Ea<Ia;++Ea)ka[Ea]=Pa[Ea],Ca[Pa.charCodeAt(Ea)]=Ea;function Sa(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function Ta(e,t,r){for(var o,n,i=[],a=t;a<r;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(ka[(n=o)>>18&63]+ka[n>>12&63]+ka[n>>6&63]+ka[63&n]);return i.join("")}Ca["-".charCodeAt(0)]=62,Ca["_".charCodeAt(0)]=63;var _a={ 23/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ 24read:function(e,t,r,o,n){var i,a,l=8*n-o-1,s=(1<<l)-1,u=s>>1,c=-7,d=r?n-1:0,p=r?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-c)-1,f>>=-c,c+=l;c>0;i=256*i+e[t+d],d+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=o;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===i)i=1-u;else{if(i===s)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,o),i-=u}return(f?-1:1)*a*Math.pow(2,i-o)},write:function(e,t,r,o,n,i){var a,l,s,u=8*i-n-1,c=(1<<u)-1,d=c>>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=o?0:i-1,v=o?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+d>=1?p/s:p*Math.pow(2,1-d))*s>=2&&(a++,s/=2),a+d>=c?(l=0,a=c):a+d>=1?(l=(t*s-1)*Math.pow(2,n),a+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,n),a=0));n>=8;e[r+f]=255&l,f+=v,l/=256,n-=8);for(a=a<<n|l,u+=n;u>0;e[r+f]=255&a,f+=v,a/=256,u-=8);e[r+f-v]|=128*h}}; 25/*! 26 * The buffer module from node.js, for the browser. 27 * 28 * @author Feross Aboukhadijeh <https://feross.org> 29 * @license MIT 30 */ 31!function(e){var t=wa,r=_a,o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},e.INSPECT_MAX_BYTES=50;var n=2147483647;function i(e){if(e>
vendor: 4,523 bytes, line 31
31n)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|f(e,t),o=i(r),n=o.write(e,t);n!==r&&(o=o.slice(0,n));return o}(e,t);if(ArrayBuffer.isView(e))return function(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer))return d(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return a.from(o,t,r);var n=function(e){if(a.isBuffer(e)){var t=0|p(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||j(e.length)?i(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return s(e),i(e<0?0:0|p(e))}function c(e){for(var t=e.length<0?0:0|p(e.length),r=i(t),o=0;o<t;o+=1)r[o]=255&e[o];return r}function d(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return o=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(o,a.prototype),o}function p(e){if(e>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return 0|e}function f(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return o?-1:x(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,r){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return S(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function h(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}function g(e,t,r,o,n){if(0===e.length)return-1;if("string"==typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),j(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=a.from(t,o)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,o,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,o,n);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,o,n){var i,a=1,l=e.length,s=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)
vendor: 4,799 bytes, line 31
31){if(e.length<2||t.length<2)return-1;a=2,l/=2,s/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(n){var c=-1;for(i=r;i<l;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+s>l&&(r=l-s),i=r;i>=0;i--){for(var d=!0,p=0;p<s;p++)if(u(e,i+p)!==u(t,p)){d=!1;break}if(d)return i}return-1}function m(e,t,r,o){r=Number(r)||0;var n=e.length-r;o?(o=Number(o))>n&&(o=n):o=n;var i=t.length;o>i/2&&(o=i/2);for(var a=0;a<o;++a){var l=parseInt(t.substr(2*a,2),16);if(j(l))return a;e[r+a]=l}return a}function b(e,t,r,o){return D(x(t,e.length-r),e,r,o)}function w(e,t,r,o){return D(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,o)}function k(e,t,r,o){return D(U(t),e,r,o)}function C(e,t,r,o){return D(function(e,t){for(var r,o,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)o=(r=e.charCodeAt(a))>>8,n=r%256,i.push(n),i.push(o);return i}(t,e.length-r),e,r,o)}function A(e,r,o){return 0===r&&o===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(r,o))}function P(e,t,r){r=Math.min(e.length,r);for(var o=[],n=t;n<r;){var i,a,l,s,u=e[n],c=null,d=u>239?4:u>223?3:u>191?2:1;if(n+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[n+1]))&&(s=(31&u)<<6|63&i)>127&&(c=s);break;case 3:i=e[n+1],a=e[n+2],128==(192&i)&&128==(192&a)&&(s=(15&u)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:i=e[n+1],a=e[n+2],l=e[n+3],128==(192&i)&&128==(192&a)&&128==(192&l)&&(s=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(c=s)}null===c?(c=65533,d=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),n+=d}return function(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);var r="",o=0;for(;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=E));return r}(o)}e.kMaxLength=n,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(ws){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?i(e):void 0!==t?"string"==typeof r?i(e).fill(t,r):i(e).fill(t):i(e)}(e,t,r)},a.allocUnsafe=function(e){return u(e)},a.allocUnsafeSlow=function(e){return u(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,o=t.length,n=0,i=Math.min(r,o);n<i;++n)if(e[n]!==t[n]){r=e[n],o=t[n];break}return r<o?-1:o<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var o=a.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(F(i,Uint8Array))n+i.length>o.length?a.from(i).copy(o,n):Uint8Array.prototype.set.call(o,i,n);else{if(!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(o,n)}n+=i.length}return o},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?P(this,0,e):v.apply(this,arguments)}
vendor: 9,901 bytes, line 31
31,a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,o,n){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===o&&(o=0),void 0===n&&(n=this.length),t<0||r>e.length||o<0||n>this.length)throw new RangeError("out of range index");if(o>=n&&t>=r)return 0;if(o>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(o>>>=0),l=(r>>>=0)-(t>>>=0),s=Math.min(i,l),u=this.slice(o,n),c=e.slice(t,r),d=0;d<s;++d)if(u[d]!==c[d]){i=u[d],l=c[d];break}return i<l?-1:l<i?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},a.prototype.write=function(e,t,r,o){if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)o=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return m(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":case"latin1":case"binary":return w(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function I(e,t,r){var o="";r=Math.min(e.length,r);for(var n=t;n<r;++n)o+=String.fromCharCode(127&e[n]);return o}function S(e,t,r){var o="";r=Math.min(e.length,r);for(var n=t;n<r;++n)o+=String.fromCharCode(e[n]);return o}function T(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var n="",i=t;i<r;++i)n+=z[e[i]];return n}function _(e,t,r){for(var o=e.slice(t,r),n="",i=0;i<o.length-1;i+=2)n+=String.fromCharCode(o[i]+256*o[i+1]);return n}function B(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,o,n,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}function O(e,t,r,o,n,i){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(e,t,o,n,i){return t=+t,o>>>=0,i||O(e,0,o,4),r.write(e,t,o,n,23,4),o+4}function M(e,t,o,n,i){return t=+t,o>>>=0,i||O(e,0,o,8),r.write(e,t,o,n,52,8),o+8}a.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var o=this.subarray(e,t);return Object.setPrototypeOf(o,a.prototype),o},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var o=this[e],n=1,i=0;++i<t&&(n*=256);)o+=this[e+i]*n;return o},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var o=this[e+--t],n=1;t>0&&(n*=256);)o+=this[e+--t]*n;return o},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var o=this[e],n=1,i=0;++i<t&&(n*=256);)o+=this[e+i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var o=t,n=1,i=this[e+--o];o>0&&(n*=256);)i+=this[e+--o]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||B(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||B(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||B(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||B(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,o){(e=+e,t>>>=0,r>>>=0,o)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,i=0;for(this[t]=255&e;++i<r&&(n*=256);)this[t+i]=e/n&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,o){(e=+e,t>>>=0,r>>>=0,o)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var n=Math.pow(2,8*r-1);R(this,e,t,r,n-1,-n)}var i=0,a=1,l=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===l&&0!==this[t+i-1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+r},a.prototype.writeIntBE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var n=Math.pow(2,8*r-1);R(this,e,t,r,n-1,-n)}var i=r-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return L(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return L(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return M(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,o){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<r&&(o=r),o===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-r&&(o=e.length-t+r);var n=o-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,o):Uint8Array.prototype.set.call(e,this.subarray(r,o),t),n},a.prototype.fill=function(e,t,r,o){if("string"==typeof e){if("string"==typeof t?(o=t,t=0,r=this.length):"string"==typeof r&&(o=r,r=this.length),void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!a.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===e.length){var n=e.charCodeAt(0);("utf8"===o&&n<128||"latin1"===o)&&(e=n)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var l=a.isBuffer(e)?e:a.from(e,o),s=l.length;
31if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=l[i%s]}return this};var N=/[^+/0-9A-Za-z-_]/g;function x(e,t){var r;t=t||1/0;for(var o=e.length,n=null,i=[],a=0;a<o;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function U(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,r,o){for(var n=0;n<o&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function j(e){return e!=e}var z=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=16*r,n=0;n<16;++n)t[o+n]=e[r]+e[n];return t}()}(ba);var Ba=Di,Ra=va,Oa=ba.Buffer;function La(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}La.prototype.initialize=function(e){this.degree=e,this.genPoly=Ra.generateECPolynomial(this.degree)},La.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=Ba.alloc(this.degree),r=Oa.concat([e,t],e.length+this.degree),o=Ra.mod(r,this.genPoly),n=this.degree-o.length;if(n>0){var i=Ba.alloc(this.degree);return o.copy(i,n),i}return o};var Ma=La,Na={},xa={},Ua={isValid:function(e){return!isNaN(e)&&e>=1&&e<=40}},Da={},Fa="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",ja="(?:(?![A-Z0-9 $%*+\\-./:]|"+(Fa=Fa.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";Da.KANJI=new RegExp(Fa,"g"),Da.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Da.BYTE=new RegExp(ja,"g"),Da.NUMERIC=new RegExp("[0-9]+","g"),Da.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var za=new RegExp("^"+Fa+"$"),qa=new RegExp("^[0-9]+$"),Va=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Da.testKanji=function(e){return za.test(e)},Da.testNumeric=function(e){return qa.test(e)},Da.testAlphanumeric=function(e){return Va.test(e)},function(e){var t=Ua,r=Da;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,r){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!t.isValid(r))throw new Error("Invalid version: "+r);return r>=1&&r<10?e.ccBits[0]:r<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return r.testNumeric(t)?e.NUMERIC:r.testAlphanumeric(t)?e.ALPHANUMERIC:r.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},e.isValid=function(e){return e&&e.bit&&e.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(ws){return r}}}(xa),function(e){var t=Wi,r=ca,o=ea,n=xa,i=Ua,a=ji,l=t.getBCHDigit(7973);function s(e,t){return n.getCharCountIndicator(e,t)+4}function u(e,t){var r=0;return e.forEach((function(e){var o=s(e.mode,t);r+=o+e.getBitsLength()})),r}e.from=function(e,t){return i.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,o,a){if(!i.isValid(e))throw new Error("Invalid QR Code version");void 0===a&&(a=n.BYTE);var l=8*(t.getSymbolTotalCodewords(e)-r.getTotalCodewordsCount(e,o));if(a===n.MIXED)return l;var u=l-s(a,e);switch(a){case n.NUMERIC:return Math.floor(u/10*3);case n.ALPHANUMERIC:return Math.floor(u/11*2);case n.KANJI:return Math.floor(u/13);case n.BYTE:default:return Math.floor(u/8)}},e.getBestVersionForData=function(t,r){var i,l=o.from(r,o.M);if(a(t)){if(t.length>1)return function(t,r){for(var o=1;o<=40;o++)if(u(t,o)<=e.getCapacity(o,r,n.MIXED))return o}(t,l);if(0===t.length)return 1;i=t[0]}else i=t;return function(t,r,o){for(var n=1;n<=40;n++)if(r<=e.getCapacity(n,o,t))return n}(i.mode,i.getLength(),l)},e.getEncodedBits=function(e){if(!i.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var r=e<<12;
31t.getBCHDigit(r)-l>=0;)r^=7973<<t.getBCHDigit(r)-l;return e<<12|r}}(Na);var Ka={},Ga=Wi,Ya=Ga.getBCHDigit(1335);Ka.getEncodedBits=function(e,t){for(var r=e.bit<<3|t,o=r<<10;Ga.getBCHDigit(o)-Ya>=0;)o^=1335<<Ga.getBCHDigit(o)-Ya;return 21522^(r<<10|o)};var $a={},Za=xa;function Ha(e){this.mode=Za.NUMERIC,this.data=e.toString()}Ha.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},Ha.prototype.getLength=function(){return this.data.length},Ha.prototype.getBitsLength=function(){return Ha.getBitsLength(this.data.length)},Ha.prototype.write=function(e){var t,r,o;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),o=parseInt(r,10),e.put(o,10);var n=this.data.length-t;n>0&&(r=this.data.substr(t),o=parseInt(r,10),e.put(o,3*n+1))};var Ja=Ha,Wa=xa,Qa=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Xa(e){this.mode=Wa.ALPHANUMERIC,this.data=e}Xa.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},Xa.prototype.getLength=function(){return this.data.length},Xa.prototype.getBitsLength=function(){return Xa.getBitsLength(this.data.length)},Xa.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*Qa.indexOf(this.data[t]);r+=Qa.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(Qa.indexOf(this.data[t]),6)};var el=Xa,tl=Di,rl=xa;function ol(e){this.mode=rl.BYTE,this.data=tl.from(e)}ol.getBitsLength=function(e){return 8*e},ol.prototype.getLength=function(){return this.data.length},ol.prototype.getBitsLength=function(){return ol.getBitsLength(this.data.length)},ol.prototype.write=function(e){for(var t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var nl=ol,il=xa,al=Wi;function ll(e){this.mode=il.KANJI,this.data=e}ll.getBitsLength=function(e){return 13*e},ll.prototype.getLength=function(){return this.data.length},ll.prototype.getBitsLength=function(){return ll.getBitsLength(this.data.length)},ll.prototype.write=function(e){var t;for(t=0;t<this.data.length;t++){var r=al.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}};var sl,ul=ll,cl={exports:{}};cl.exports=sl={single_source_shortest_paths:function(e,t,r){var o={},n={};n[t]=0;var i,a,l,s,u,c,d,p=sl.PriorityQueue.make();for(p.push(t,0);!p.empty();)for(l in a=(i=p.pop()).value,s=i.cost,u=e[a]||{})u.hasOwnProperty(l)&&(c=s+u[l],d=n[l],(void 0===n[l]||d>c)&&(n[l]=c,p.push(l,c),o[l]=a));if(void 0!==r&&void 0===n[r]){var f=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(f)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],o=t;o;)r.push(o),e[o],o=e[o];return r.reverse(),r},find_path:function(e,t,r){var o=sl.single_source_shortest_paths(e,t,r);return sl.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=sl.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}},function(e){var t=xa,r=Ja,o=el,n=nl,i=ul,a=Da,l=Wi,s=cl.exports;function u(e){return unescape(encodeURIComponent(e)).length}function c(e,t,r){for(var o,n=[];null!==(o=e.exec(r));)n.push({data:o[0],index:o.index,mode:t,length:o[0].length});return n}function d(e){var r,o,n=c(a.NUMERIC,t.NUMERIC,e),i=c(a.ALPHANUMERIC,t.ALPHANUMERIC,e);return l.isKanjiModeEnabled()?(r=c(a.BYTE,t.BYTE,e),o=c(a.KANJI,t.KANJI,e)):(r=c(a.BYTE_KANJI,t.BYTE,e),o=[]),n.concat(i,r,o).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function p(e,a){switch(a){case t.NUMERIC:return r.getBitsLength(e);case t.ALPHANUMERIC:return o.getBitsLength(e);case t.KANJI:return i.getBitsLength(e);case t.BYTE:return n.getBitsLength(e)}}function f(e,a){var s,u=t.getBestModeForData(e);if((s=t.from(a,u))!==t.BYTE&&s.bit<u.bit)throw new Error('"'+e+'" cannot be encoded with mode '+t.toString(s)+".\n Suggested mode is: "+t.toString(u));switch(s!==t.KANJI||l.isKanjiModeEnabled()||(s=t.BYTE),s){case t.NUMERIC:return new r(e);case t.ALPHANUMERIC:return new o(e);case t.KANJI:return new i(e);case t.BYTE:return new n(e)}}e.fromArray=function(e){return e.reduce((function(e,t){return"string"==typeof t?e.push(f(t,null)):t.data&&e.push(f(t.data,t.mode)),e}),[])},e.fromString=function(r,o){for(var n=function(e){for(var r=[],o=0;o<e.length;o++){var n=e[o];switch(n.mode){case t.NUMERIC:r.push([n,{data:n.data,mode:t.ALPHANUMERIC,length:n.length},{data:n.data,mode:t.BYTE,length:n.length}]);break;case t.ALPHANUMERIC:r.push([n,{data:n.data,mode:t.BYTE,length:n.length}]);break;case t.KANJI:r.push([n,{data:n.data,mode:t.BYTE,length:u(n.data)}]);break;case t.BYTE:r.push([{data:n.data,mode:t.BYTE,length:u(n.data)}])}}return r}(d(r,l.isKanjiModeEnabled())),i=function(e,r){for(var o={},n={start:{}},i=["start"],a=0;a<e.length;a++){for(var l=e[a],s=[],u=0;u<l.length;u++){var c=l[u],d=""+a+u;s.push(d),o[d]={node:c,lastCount:0},n[d]={};for(var f=0;f<i.length;f++){var v=i[f];o[v]&&o[v].node.mode===c.mode?(n[v][d]=p(o[v].lastCount+c.length,c.mode)-p(o[v].lastCount,c.mode),o[v].lastCount+=c.length):(o[v]&&(o[v].lastCount=c.length),n[v][d]=p(c.length,c.mode)+4+t.getCharCountIndicator(c.mode,r))}}i=s}for(f=0;f<i.length;f++)n[i[f]].end=0;return{map:n,table:o}}(n,o),a=s.find_path(i.map,"start","end"),c=[],f=1;f<a.length-1;f++)c.push(i.table[a[f]].node);return e.fromArray(function(e){return e.reduce((function(e,t){var r=e.length-1>=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(c))},e.rawSplit=function(t){return e.fromArray(d(t,l.isKanjiModeEnabled()))}}($a);var dl=Di,pl=Wi,fl=ea,vl=ra,hl=ia,gl=aa,yl=la,ml=ua,bl=ca,wl=Ma,kl=Na,Cl=Ka,Al=xa,Pl=$a,El=ji;function Il(e,t,r){var o,n,i=e.size,a=Cl.getEncodedBits(t,r);for(o=0;o<15;o++)n=1==(a>>o&1),o<6?e.set(o,8,n,!0):o<8?e.set(o+1,8,n,!0):e.set(i-15+o,8,n,!0),o<8?e.set(8,i-o-1,n,!0):o<9?e.set(8,15-o-1+1,n,!0):e.set(8,15-o-1,n,!0);e.set(i-8,8,1,!0)}function Sl(e,t,r){var o=new vl;r.forEach((function(t){o.put(t.mode.bit,4),o.put(t.getLength(),Al.getCharCountIndicator(t.mode,e)),t.write(o)}));var n=8*(pl.getSymbolTotalCodewords(e)-bl.getTotalCodewordsCount(e,t));for(o.getLengthInBits()+4<=n&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);for(var i=(n-o.getLengthInBits())/8,a=0;a<i;a++)o.put(a%2?17:236,8);return function(e,t,r){for(var o=pl.getSymbolTotalCodewords(t),n=bl.getTotalCodewordsCount(t,r),i=o-n,a=bl.getBlocksCount(t,r),l=a-o%a,s=Math.floor(o/a),u=Math.floor(i/a),c=u+1,d=s-u,p=new wl(d),f=0,v=new Array(a),h=new Array(a),g=0,y=dl.from(e.buffer),m=0;m<a;m++){var b=m<l?u:c;
31v[m]=y.slice(f,f+b),h[m]=p.encode(v[m]),f+=b,g=Math.max(g,b)}var w,k,C=dl.alloc(o),A=0;for(w=0;w<g;w++)for(k=0;k<a;k++)w<v[k].length&&(C[A++]=v[k][w]);for(w=0;w<d;w++)for(k=0;k<a;k++)C[A++]=h[k][w];return C}(o,e,t)}function Tl(e,t,r,o){var n;if(El(e))n=Pl.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var i=t;if(!i){var a=Pl.rawSplit(e);i=kl.getBestVersionForData(a,r)}n=Pl.fromString(e,i||40)}var l=kl.getBestVersionForData(n,r);if(!l)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<l)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+l+".\n")}else t=l;var s=Sl(t,r,n),u=pl.getSymbolSize(t),c=new hl(u);return function(e,t){for(var r=e.size,o=yl.getPositions(t),n=0;n<o.length;n++)for(var i=o[n][0],a=o[n][1],l=-1;l<=7;l++)if(!(i+l<=-1||r<=i+l))for(var s=-1;s<=7;s++)a+s<=-1||r<=a+s||(l>=0&&l<=6&&(0===s||6===s)||s>=0&&s<=6&&(0===l||6===l)||l>=2&&l<=4&&s>=2&&s<=4?e.set(i+l,a+s,!0,!0):e.set(i+l,a+s,!1,!0))}(c,t),function(e){for(var t=e.size,r=8;r<t-8;r++){var o=r%2==0;e.set(r,6,o,!0),e.set(6,r,o,!0)}}(c),function(e,t){for(var r=gl.getPositions(t),o=0;o<r.length;o++)for(var n=r[o][0],i=r[o][1],a=-2;a<=2;a++)for(var l=-2;l<=2;l++)-2===a||2===a||-2===l||2===l||0===a&&0===l?e.set(n+a,i+l,!0,!0):e.set(n+a,i+l,!1,!0)}(c,t),Il(c,r,0),t>=7&&function(e,t){for(var r,o,n,i=e.size,a=kl.getEncodedBits(t),l=0;l<18;l++)r=Math.floor(l/3),o=l%3+i-8-3,n=1==(a>>l&1),e.set(r,o,n,!0),e.set(o,r,n,!0)}(c,t),function(e,t){for(var r=e.size,o=-1,n=r-1,i=7,a=0,l=r-1;l>0;l-=2)for(6===l&&l--;;){for(var s=0;s<2;s++)if(!e.isReserved(n,l-s)){var u=!1;a<t.length&&(u=1==(t[a]>>>i&1)),e.set(n,l-s,u),-1==--i&&(a++,i=7)}if((n+=o)<0||r<=n){n-=o,o=-o;break}}}(c,s),isNaN(o)&&(o=ml.getBestMask(c,Il.bind(null,c,r))),ml.applyMask(o,c),Il(c,r,o),{modules:c,version:t,errorCorrectionLevel:r,maskPattern:o,segments:n}}Ui.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,o,n=fl.M;return void 0!==t&&(n=fl.from(t.errorCorrectionLevel,fl.M),r=kl.from(t.version),o=ml.from(t.maskPattern),t.toSJISFunc&&pl.setToSJISFunction(t.toSJISFunc)),Tl(e,r,n,o)};var _l={},Bl={};!function(e){function t(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}e.getOptions=function(e){e||(e={}),e.color||(e.color={});var r=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,o=e.width&&e.width>=21?e.width:void 0,n=e.scale||4;return{width:o,scale:o?4:n,margin:r,color:{dark:t(e.color.dark||"#000000ff"),light:t(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},e.getImageWidth=function(t,r){var o=e.getScale(t,r);return Math.floor((t+2*r.margin)*o)},e.qrToImageData=function(t,r,o){for(var n=r.modules.size,i=r.modules.data,a=e.getScale(n,o),l=Math.floor((n+2*o.margin)*a),s=o.margin*a,u=[o.color.light,o.color.dark],c=0;c<l;c++)for(var d=0;d<l;d++){var p=4*(c*l+d),f=o.color.light;if(c>=s&&d>=s&&c<l-s&&d<l-s)f=u[i[Math.floor((c-s)/a)*n+Math.floor((d-s)/a)]?1:0];t[p++]=f.r,t[p++]=f.g,t[p++]=f.b,t[p]=f.a}}}(Bl),function(e){var t=Bl;e.render=function(e,r,o){var n=o,i=r;void 0!==n||r&&r.getContext||(n=r,r=void 0),r||(i=function(){try{return document.createElement("canvas")}catch(ws){throw new Error("You need to specify a canvas element")}}()),n=t.getOptions(n);var a=t.getImageWidth(e.modules.size,n),l=i.getContext("2d"),s=l.createImageData(a,a);return t.qrToImageData(s.data,e,n),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(l,i,a),l.putImageData(s,0,0),i},e.renderToDataURL=function(t,r,o){var n=o;void 0!==n||r&&r.getContext||(n=r,r=void 0),n||(n={});var i=e.render(t,r,n),a=n.type||"image/png",l=n.rendererOpts||{};return i.toDataURL(a,l.quality)}}(_l);var Rl={},Ol=Bl;function Ll(e,t){var r=e.a/255,o=t+'="'+e.hex+'"';return r<1?o+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':o}function Ml(e,t,r){var o=e+t;return void 0!==r&&(o+=" "+r),o}
31Rl.render=function(e,t,r){var o=Ol.getOptions(t),n=e.modules.size,i=e.modules.data,a=n+2*o.margin,l=o.color.light.a?"<path "+Ll(o.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",s="<path "+Ll(o.color.dark,"stroke")+' d="'+function(e,t,r){for(var o="",n=0,i=!1,a=0,l=0;l<e.length;l++){var s=Math.floor(l%t),u=Math.floor(l/t);s||i||(i=!0),e[l]?(a++,l>0&&s>0&&e[l-1]||(o+=i?Ml("M",s+r,.5+u+r):Ml("m",n,0),n=0,i=!1),s+1<t&&e[l+1]||(o+=Ml("h",a),a=0)):n++}return o}(i,n,o.margin)+'"/>',u='viewBox="0 0 '+a+" "+a+'"',c='<svg xmlns="http://www.w3.org/2000/svg" '+(o.width?'width="'+o.width+'" height="'+o.width+'" ':"")+u+' shape-rendering="crispEdges">'+l+s+"</svg>\n";return"function"==typeof r&&r(null,c),c};var Nl=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},xl=Ui,Ul=_l,Dl=Rl;function Fl(e,t,r,o,n){var i=[].slice.call(arguments,1),a=i.length,l="function"==typeof i[a-1];if(!l&&!Nl())throw new Error("Callback required as last argument");if(!l){if(a<1)throw new Error("Too few arguments provided");return 1===a?(r=t,t=o=void 0):2!==a||t.getContext||(o=r,r=t,t=void 0),new Promise((function(n,i){try{var a=xl.create(r,o);n(e(a,t,o))}catch(ws){i(ws)}}))}if(a<2)throw new Error("Too few arguments provided");2===a?(n=r,r=t,t=o=void 0):3===a&&(t.getContext&&void 0===n?(n=o,o=void 0):(n=o,o=r,r=t,t=void 0));try{var s=xl.create(r,o);n(null,e(s,t,o))}catch(ws){n(ws)}}
31xi.create=xl.create,xi.toCanvas=Fl.bind(null,Ul.render),xi.toDataURL=Fl.bind(null,Ul.renderToDataURL),xi.toString=Fl.bind(null,(function(e,t,r){return Dl.render(e,r)}));const jl={components:{Modal:he},props:{url:{type:String,default:null},show:{type:Boolean,default:!1}},setup(e,t){const r=Y(null),o=Y(null);function n(t){return new Promise(((r,o)=>{e.url&&xi.toCanvas(t,e.url,{width:300},(function(e){e?o(e):r()})),r()}))}return T((()=>e.url),(()=>{o.value&&n(o.value)})),T((()=>e.show),(()=>{ge((()=>{o.value&&e.show&&n(o.value)}))})),Z((()=>{n(o.value)})),{qrCode:r,canvas:o,onUpdateShow:function(e){t.emit("update:show",e)}}}},zl={ref:"canvas",height:"300",width:"300",class:"product-viewer-qr"};var ql=e(jl,[["render",function(e,a,l,s,c,d){const p=t("Modal");return r(),o(p,{show:l.show,"show-close":!0,class:"product-viewer-qr-modal","onUpdate:show":s.onUpdateShow},{default:n((()=>[a[0]||(a[0]=i("div",{class:"qr-scan-text"},"Scan this QR code using the camera on your iOS device.",-1)),i("canvas",zl,null,512),a[1]||(a[1]=i("div",{class:"ar-supported-browsers"},[i("span",{class:"semibold"},"Note:"),u(" AR requires a device running iPadOS or iOS 12 or later.")],-1))])),_:1,__:[0,1]},8,["show","onUpdate:show"])}]]);var Vl=e(K({__name:"ProductInteractionContainer",props:{product:{type:Object,required:!0}},setup(e){const t=e,n=Y(Re.LOADING);T((()=>{var e;return null==(e=t.product)?void 0:e.hashKey}),(()=>{n.value=Re.LOADING}));const{mounted:i}=k(),s=Y(!1),u=Y(""),f=c((()=>n.value!==Re.NOTFOUND)),h=c((()=>{var e;return(null==(e=t.product)?void 0:e.isProductAvailableInGeo)&&i.value})),g=e=>{n.value=e},y=e=>{u.value=e,s.value=!0},m=e=>{s.value=e};return(e,t)=>(r(),d(p,null,[f.value?(r(),o(l(Ze),{key:0,height:"1px","margin-top":"var(--space-2)",class:"product-viewer__divider"})):v("",!0),f.value?(r(),d("div",{key:`product-viewer-button-${e.product.hashKey}-buy-section`,class:"ar-button-control"},[h.value?(r(),o(qo,{key:0,product:e.product,onArStatus:g,onShowQRModal:y},null,8,["product"])):v("",!0)])):v("",!0),a(ql,{show:s.value,url:u.value,"onUpdate:show":m},null,8,["show","url"])],64))}}),[["__scopeId","data-v-0d2db7fe"]]);const Kl={class:"product-slider__container"},Gl={class:"swiper-button-next"},Yl={class:"swiper-button-prev"},$l={class:"swiper-container__product-slider"},Zl={class:"swiper-wrapper"},Hl={key:1,class:"product-slider__video"},Jl=["src","poster"],Wl={class:"product-slider__thumbnails-container"},Ql=["onClick"];var Xl=e(K({__name:"ProductSlider",props:{medias:{type:Array,required:!0},activeMedia:{type:Number,default:0},updateActiveMedia:{type:Function,required:!0},product:{type:Object,required:!0},enableKeyboardInteraction:{type:Boolean,default:!0}},emits:["zoom"],setup(e){const t=e,s=Y(null),u=c((()=>({hashKey:t.product.hashKey,isProductAvailableInGeo:t.product.isProductAvailableInGeo,slug:t.product.slug})));return Z((()=>{s.value=new vt(".swiper-container__product-slider",{on:{slideChange:function(){this.pagination.render(),this.pagination.update(),b.track("PDPSlider_changed",{slide_index:this.activeIndex}),t.updateActiveMedia(this.activeIndex)}},grabCursor:!0,pagination:{el:".swiper-pagination",type:"bullets",dynamicBullets:!0},keyboard:{enabled:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{970:{grabCursor:!1}},observer:!0}),s.value.slideTo(t.activeMedia,0),t.enableKeyboardInteraction||s.value.keyboard.disable()})),T((()=>t.activeMedia),(e=>{s.value&&s.value.slideTo(e,0)})),T((()=>t.enableKeyboardInteraction),(e=>{var t;(null==(t=s.value)?void 0:t.keyboard)&&(e?s.value.keyboard.enable():s.value.keyboard.disable())})),(t,s)=>(r(),d(p,null,[i("div",Kl,[i("div",Gl,[(r(),o(re(l(Ni))))]),i("div",Yl,[(r(),o(re(l(Oi))))]),a(ht,{name:"display-ar","default-variant":"display-ar-show"},{"display-ar-show":n((()=>[a(Vl,{product:u.value},null,8,["product"])])),"display-ar-hide":n((()=>s[1]||(s[1]=[]))),_:1}),s[2]||(s[2]=i("div",{class:"swiper-pagination-container"},[i("div",{class:"swiper-pagination"})],-1)),i("div",$l,[i("div",Zl,[(r(!0),d(p,null,P(e.medias,((e,n)=>(r(),d("div",{key:n,class:"swiper-slide",onClick:s[0]||(s[0]=e=>t.$emit("zoom"))},["IMAGE"===e.type?(r(),o(A,{key:0,skeleton:!0,url:`${e.url}?fit=max&w={width}`,lazy:!1,"background-color":"var(--grey-ultra-light)"},null,8,["url"])):v("",!0),"VIDEO"===e.type?(r(),d("div",Hl,[i("video",{ref_for:!0,ref:"videoRef",src:e.url,playsinline:"",controls:!1,disableRemotePlayback:!0,loop:!0,muted:!0,autoplay:!0,poster:e.thumbnailUrl},null,8,Jl)])):v("",!0)])))),128))])])]),i("div",Wl,[(r(!0),d(p,null,P(e.medias,((t,o)=>(r(),d("div",{key:o,class:h(o===e.activeMedia?"product-slider__thumbnails-active":"product-slider__thumbnails"),onClick:t=>e.updateActiveMedia(o)},[a(A,{skeleton:!0,url:`${t.thumbnailUrl}?fit=max&w={width}`,lazy:!1,"background-color":"var(--grey-ultra-light)"},null,8,["url"])],10,Ql)))),128))])],64))}}),[["__scopeId","data-v-33d98ce0"]]);const es={name:"ProductViewer",components:{ProductGallery:z((()=>q((()=>import("./ProductGallery.f06148db.js")),["assets/ProductGallery.f06148db.js","assets/ProductGallery.d5d69d16.css","assets/index.061e774e.js","assets/index.db9dbc77.css","assets/index.9619e59b.js","assets/vue-scrollto.bb23a375.js","assets/InjectionKeys.77580dfc.js","assets/Snackbar.5ab4d14c.js","assets/Swipe.0435a3f8.js"]))),ProductSlider:Xl},directives:{intersection:Oe},props:{checkProductBuySectionATCInView:{type:Function,default:null},isAddToCartVisibleOnPageNav:Boolean,medias:{type:Array,default:()=>[]},product:{type:Object,default:null},price:{type:Object,default:null},ugcStatus:{type:Number,required:!0}},emits:["disableAtcPageNav","scrollToSection"],setup(e){const{mounted:t}=k(),r=w(),o=G(),n=Y(parseInt(o.query.gallery,10)||0),i=Y(!1),a=Y(null),l=Y(null),s=c((()=>{var t,r;return null==(r=null==(t=e.product)?void 0:t.value)?void 0:r.media.length})),u=c((()=>(null==n?void 0:n.value)+1||0)),d=c((()=>{var t,r,o,i;return null!=(i=null==(o=null==(r=null==(t=e.product)?void 0:t.value)?void 0:r.media)?void 0:o[n.value])?i:{}})),p=c((()=>{var t,r,o,n;return null!=(n=null==(o=null==(r=null==(t=e.product)?void 0:t.value)?void 0:r.media)?void 0:o.length)?n:0})),f=Y(!0);let v,h;const y=g(Ye,!1),m=()=>{clearTimeout(v)};function C(e){function t(e){1!==e.scale&&e.preventDefault()}const r=document.querySelector("html");
31r&&Object.prototype.hasOwnProperty.call(e.query,"gallery")?(h=window.scrollY,r.classList.add("overflow-hidden"),ye.instance.hideWidget(),document.addEventListener("touchmove",t,!1)):(r.classList.remove("overflow-hidden"),ye.instance.showWidget(),document.removeEventListener("touchmove",t))}function A(){f.value=!1}return T((()=>o.query),(()=>{C(o)})),T((()=>{var t;return null==(t=e.product)?void 0:t.hashKey}),((e,t)=>{e&&t&&e!==t&&(n.value=0)})),Z((async()=>{C(o)})),{route:o,activeMedia:n,currentImageIndex:u,flashChevrons:()=>{m(),i.value=!0,v=window.setTimeout((()=>{i.value=!1}),3e3)},gallerySize:s,media:d,mediaLength:p,mounted:t,openGallery:async function(){var t;b.track((y?"PLA":"PDP")+" Expand Product Image'",{productId:null==(t=e.product)?void 0:t.hashKey,index:null==n?void 0:n.value}),await r.push({name:y?"pla":"product",params:{id:e.product.hashKey,slug:e.product.slug},query:{gallery:null==n?void 0:n.value}})},productImage:a,resetTimer:m,scrollCallback:l,showChevrons:i,goBack:async function(){var t,n,i,a,l,s,u;(null==(n=null==(t=null==r?void 0:r.options.history)?void 0:t.state)?void 0:n.back)&&(null==(l=null==(a=null==(i=null==r?void 0:r.options)?void 0:i.history)?void 0:a.state)?void 0:l.back)===(null==o?void 0:o.path)?(null==r||r.back(),window.setTimeout((()=>{window.scrollTo({top:h,left:0})}),100)):await(null==r?void 0:r.push({name:y?"pla":"product",params:{id:null==(s=e.product)?void 0:s.hashKey,slug:null==(u=e.product)?void 0:u.slug}})),A()},notification:f,toggleSnackbar:A}},computed:{isProductAvailableInGeolocation(){return this.product&&this.product.isProductAvailableInGeo}},mounted(){this.initializeScrollListener()},beforeUnmount(){window.removeEventListener("scroll",this.scrollCallback)},methods:{initializeScrollListener(){if(!this.checkProductBuySectionATCInView)return;const e=me((e=>this.checkProductBuySectionATCInView(e)),100);this.scrollCallback=()=>e(this.$refs.atcSection),window.addEventListener("scroll",this.scrollCallback),window.addEventListener("resize",(()=>{this.$refs.atcSection&&"none"!==window.getComputedStyle(this.$refs.atcSection).display?(this.checkProductBuySectionATCInView(this.$refs.atcSection),window.addEventListener("scroll",this.scrollCallback)):(this.isAddToCartVisibleOnPageNav&&this.disableAtcOnProductPageNav(),window.removeEventListener("scroll",this.scrollCallback))}))},disableAtcOnProductPageNav(){this.$emit("disableAtcPageNav")},redirectToProductPageReviews(){window.location.href=`${this.product.productUrl}?pr=true`},updateActiveMedia(e){this.activeMedia=e}}},ts={class:"product-image-viewer-section"},rs={class:"product-buy-images"},os={class:"product-buy-image"};var ns=e(es,[["render",function(e,l,s,u,c,f){var h;const g=t("ProductSlider"),y=t("ProductGallery");return r(),d(p,null,[i("div",ts,[i("div",rs,[i("div",os,[a(g,{product:s.product,medias:s.medias,"active-media":u.activeMedia,"update-active-media":f.updateActiveMedia,"enable-keyboard-interaction":!(null==(h=u.route)?void 0:h.query.gallery),onZoom:u.openGallery},null,8,["product","medias","active-media","update-active-media","enable-keyboard-interaction","onZoom"])])])]),a(le,{name:"product-gallery-fade"},{default:n((()=>[(r(),o(be,null,{default:n((()=>{var e;return[(null==(e=u.route)?void 0:e.query.gallery)&&u.mounted?(r(),o(y,{key:0,"active-media":u.activeMedia,product:s.product,medias:s.medias,notification:u.notification,onClose:l[0]||(l[0]=e=>u.goBack()),onUpdateActiveMedia:f.updateActiveMedia,"onUpdate:notification":l[1]||(l[1]=e=>u.notification=e),onToggleSnackbar:u.toggleSnackbar},null,8,["active-media","product","medias","notification","onUpdateActiveMedia","onToggleSnackbar"])):v("",!0)]})),_:1}))])),_:1})],64)}],["__scopeId","data-v-53b3f241"]]);const is={key:2,class:"root container"},as={class:"dual-scroll-container"},ls={id:"sidebar"},ss={class:"sidebar__inner"},us={key:2,ref:"configuration",class:"configuration"},cs={class:"details-section"},ds={class:"delivery"},ps={class:"product-risky-eta"},fs={class:"stock"},vs={key:3,id:"details"},hs={key:4,class:"pla-details"},gs=["href"],ys={key:0};var ms=e(K({__name:"DualColumnLayout",props:{productToCartFormat:{type:Array,required:!0},product:{type:Object,required:!0},price:{type:Object,required:!0},loading:{type:Boolean,required:!1,default:!1},loadConfiguration:{type:Function,required:!0},lastImage:{type:Object,required:!0},trackAddToCart:{type:Function,required:!0},trackProductView:{type:Function,required:!0},configurations:{type:Array,required:!1,default:()=>[]},productBundleData:{type:null,required:!0,default:null},visible:{type:Object,required:!1,default:()=>({overview:!1,details:!1,reviews:!1,bundles:!1})},updateDetailsVisible:{type:Function,required:!1,default:()=>{}},hideProductHeader:{type:Boolean,required:!0},isCrossSellEnabled:{type:Boolean,required:!1,default:!0},ugcStatus:{type:Number,required:!0}},setup(e){C((e=>({"bf90e6c0-isGalleryOpen ? 14: 1":I.value?14:1})));const t=e,n=j(z((()=>q((()=>import("./ProductContentfulSection.7edb7ec5.js")),["assets/ProductContentfulSection.7edb7ec5.js","assets/ContentfulRichText.c69d02f8.js","assets/ContentfulRichText.f171e9ed.css","assets/ContentfulAsset.816d973a.js","assets/ContentfulAsset.a5a58f05.css","assets/index.061e774e.js","assets/index.db9dbc77.css","assets/useProduct.bdc14900.js","assets/EventAnalytics.7c2eca63.js","assets/ContentfulRichTextRenderer.6fb22222.js","assets/nodeRenderers.7801b185.js","assets/Divider.e0255c1e.js","assets/slugify.a1a5eaaf.js"])))),s=w(),u=G(),{loadMessaging:f}=L(),m=Y(null),A=Y(!1),P=Y(null),E=Y(!0),I=Y(!1),{mounted:S}=k(),B=Ce(),R=_.isUS(),O=function(e){const{assignedVariant:t}=we("gallery",at.CONTROL);return c((()=>{const r=e(),o=null==r?void 0:r.galleries,n=null==r?void 0:r.defaultGalleryId;if(!o||0===o.length)return(null==r?void 0:r.hashKey)&&b.sentryCaptureError(new Error(`No galleries for ${r.hashKey} found, using product.media`)),(null==r?void 0:r.media)||[];if(lt(o)&&"default"!==t.value){const e=st(o,t.value||at.CONTROL);if(e&&(null==r?void 0:r.skuNo))return ut(e,r.skuNo,!0)}const{gallery:i,usedFallback:a}=ct(o,n);if(a){const e=(null==r?void 0:r.hashKey)?r.hashKey:"unknown product";b.sentryCaptureError(new Error(`Default gallery for ${e} not found, using first available gallery`))}return i&&(null==r?void 0:r.skuNo)?ut(i,r.skuNo,!0):(null==r?void 0:r.media)||[]}))}((()=>t.product)),{loading:M,error:N,accurate:x,location:U,estimate:D,estimateMessage:F,campaignEligible:V,loadgql:K}=qr(),{assignedVariant:$}=we("pdp-story-block","control"),{assignedVariant:H}=we("jump","control"),{cohort:J}=Ie(),W=c((()=>J.value===Se)),Q=c((()=>J.value===Te)),X=c((()=>{var e;return!yt.includes(null==(e=t.product)?void 0:e.hashKey)||"test"===$.value})),ee=c((()=>{var e,r;return!(null==(r=null==(e=t.product)?void 0:e.restrictedRegions)?void 0:r.includes(U.value.region))})),te=c((()=>{var e;return null==(e=t.product)?void 0:e.isProductAvailableInGeo})),re=c((()=>{var e;return"DISCONTINUED"===(null==(e=t.product)?void 0:e.status)})),oe=c((()=>{var e,r;return s.resolve({name:"product",params:{id:null==(e=t.product)?void 0:e.hashKey,slug:null==(r=t.product)?void 0:r.slug,saveScrollPosition:!0},hash:"#details"}).fullPath})),ne=g(Ye,!1);async function ie(e){if(await t.loadConfiguration(e),H.value===ke){const e=s.resolve({name:ne?"pla":"product",params:{id:t.product.hashKey,slug:t.product.slug}});globalThis.history.replaceState({},"",e.href),b.trackContentSquarePageview(e.href)}else await s.replace({name:ne?"pla":"product",params:{id:t.product.hashKey,slug:t.product.slug,saveScrollPosition:!0}});t.trackProductView()}async function ae(){O.value.length&&await s.push({name:"product",params:{id:t.product.hashKey,slug:t.product.slug},query:{gallery:O.value.length-1}})}function le(e){b.track((ne?"PLA":"PDP")+"_Click_Floating_Nav",{element:"favorite",productId:e})}function se(e){var r;Be(e[0]),null==(r=t.trackAddToCart)||r.call(t),b.track((ne?"PLA":"PDP")+"_Click_Floating_Nav",{element:"add to cart",productId:e[0].id})}function ue(e){if(!P.value)return;if(e)return void(E.value=!0);const t=P.value.getBoundingClientRect();E.value=t.top>=0}function ce(e){t.product&&(K({product:t.product.hashKey,zip:e}),b.track((ne?"PLA":"PDP")+"_Zip Updated",{productId:t.product.hashKey,zip:e})),f(e)}function de(){b.track((ne?"PLA":"PDP")+"_View_Story",void 0)}function pe(e){b.track("PDP_Expand_Details",{section:e})}function fe(e){var r;"overview"!==e&&(B.value=!0),b.track((ne?"PLA":"PDP")+"_Click_Floating_Nav",{element:e,productId:null==(r=t.product)?void 0:r.hashKey});const o=`#${e}`,n=function(e){return window.matchMedia("(max-width: 970px)").matches?["details","reviews","bundles","product-ugc"].includes(e)?-90:-150:"details"===e?-60:["reviews","bundles","product-ugc"].includes(e)?-40:-150}(e);Ae.scrollTo(o,1e3,{offset:n,container:"body",lazy:!1,onDone:()=>B.value=!1})}return Z((()=>{t.product&&K({product:t.product.hashKey,zip:_.getPreferredLocation().zipcode})})),T((()=>{var e;return null==(e=t.product)?void 0:e.hashKey}),(e=>{e&&K({product:e,zip:_.getPreferredLocation().zipcode})})),Z((()=>
31{if(!m.value)return;new ResizeObserver((e=>{for(const t of e)A.value=t.contentRect.height>0})).observe(m.value)})),T((()=>u.query),(()=>I.value=Object.prototype.hasOwnProperty.call(u.query,"gallery")),{immediate:!0}),(e,t)=>{var s,u,c,f,g,b,w,k,C,I;return r(),d(p,null,[l(S)&&e.product&&l(ne)&&!E.value?(r(),o(hr,{key:0,"show-bundle":!!e.productBundleData,product:e.product,price:e.price,"product-to-cart-format":e.productToCartFormat,"hide-product-header":e.hideProductHeader,"is-add-to-cart-visible-on-page":E.value,"is-product-discontinued":re.value,"is-product-available-in-geolocation":te.value&&ee.value,onAddToCart:e.trackAddToCart},null,8,["show-bundle","product","price","product-to-cart-format","hide-product-header","is-add-to-cart-visible-on-page","is-product-discontinued","is-product-available-in-geolocation","onAddToCart"])):v("",!0),l(S)&&e.product&&!l(ne)&&!E.value?(r(),o(fr,{key:1,"show-bundle":!!e.productBundleData,product:e.product,price:e.price,"product-to-cart-format":e.productToCartFormat,visible:e.visible,"hide-product-header":e.hideProductHeader,"is-add-to-cart-visible-on-page":E.value,"is-product-discontinued":re.value,"is-product-available-in-geolocation":te.value&&ee.value,onAddToCart:e.trackAddToCart,onScrollToSection:fe},null,8,["show-bundle","product","price","product-to-cart-format","visible","hide-product-header","is-add-to-cart-visible-on-page","is-product-discontinued","is-product-available-in-geolocation","onAddToCart"])):v("",!0),e.product?(r(),d("div",is,[i("div",as,[i("div",ls,[i("div",ss,[l(R)?(r(),o(ai,{key:0,class:"header",product:e.product,price:e.price,isProductAvailableInGeolocation:te.value&&ee.value,onScrollToSection:fe},null,8,["product","price","isProductAvailableInGeolocation"])):(r(),o(Fn,{key:1,class:"header",product:e.product,price:e.price,isProductAvailableInGeolocation:te.value&&ee.value,onScrollToSection:fe},null,8,["product","price","isProductAvailableInGeolocation"])),0!==(null==(s=e.configurations)?void 0:s.length)?(r(),d("div",us,[a(jr,{configurations:e.configurations,"configurations-length":e.configurations?e.configurations.length:0,disabled:e.loading,"onUpdate:modelValue":ie},null,8,["configurations","configurations-length","disabled"])],512)):v("",!0),y(i("div",{ref_key:"addToCart",ref:P,class:"add-to-cart"},[te.value&&ee.value?(r(),o(_e,{key:0,"data-test":"add-to-cart-button","scroll-first":!1,products:e.productToCartFormat,isEtaAtRisk:null==(u=e.product)?void 0:u.isEtaAtRisk,onAdded:se},null,8,["products","isEtaAtRisk"])):v("",!0),a(Ge,{style:{position:"inherit"},"show-favorite":!re.value&&te.value&&ee.value,"show-favorite-text":!1,product:e.product,source:"product-page",onOnAdd:le},null,8,["show-favorite","product"])],512),[[l(Oe),ue]]),i("div",cs,[i("div",ds,[(null==(c=e.product)?void 0:c.isEtaAtRisk)?v("",!0):(r(),o(no,{key:0,loading:l(M),product:e.product,price:e.price,error:l(N),accurate:l(x),location:l(U),"estimate-message":l(F),onUpdateZip:ce},null,8,["loading","product","price","error","accurate","location","estimate-message"])),i("div",ps,[(null==(f=e.product)?void 0:f.isEtaAtRisk)&&te.value&&ee.value?(r(),o(Le,{key:0,messageSlug:"pdp-risky-eta-text",defaultMessage:"Sorry, this item is currently out of stock.","product-id":null==(g=e.product)?void 0:g.hashKey,"currency-code":"string"==typeof(null==(b=e.price)?void 0:b.currencyCode)?e.price.currencyCode:String((null==(w=e.price)?void 0:w.currencyCode)||""),"show-on-product-page":!0},null,8,["product-id","currency-code"])):v("",!0)])]),i("div",fs,[te.value&&ee.value&&!(null==(k=e.product)?void 0:k.isEtaAtRisk)?(r(),o(yi,{key:0,loading:l(M),product:e.product,error:l(N),estimate:l(D)},null,8,["loading","product","error","estimate"])):v("",!0)]),te.value&&ee.value&&!(null==(C=e.product)?void 0:C.isEtaAtRisk)?(r(),d(p,{key:0},[W.value?(r(),o(It,{key:0,product:e.product,"campaign-eligible":l(V),loading:l(M)},null,8,["product","campaign-eligible","loading"])):Q.value?(r(),o(br,{key:1,product:e.product},null,8,["product"])):(r(),o(kt,{key:2}))],64)):v("",!0),a(Me,{"is-product-available":te.value,"is-product-available-region":ee.value,"is-updated-gallery":!0,
31class:h("unavailable-message")},null,8,["is-product-available","is-product-available-region"]),te.value&&ee.value&&!(null==(I=e.product)?void 0:I.isEtaAtRisk)?(r(),d(p,{key:1},[l(R)?v("",!0):(r(),o(Ke,{key:0,class:"financing","amount-in-cents":e.price.final},null,8,["amount-in-cents"])),a(Ke,{class:"financing","amount-in-cents":e.price.final,showCreditKeyFinancingMessage:!0},null,8,["amount-in-cents"])],64)):v("",!0)]),(r(),o(_i,{key:`cross-sell-${e.product.hashKey}`,slug:`product-${e.product.hashKey}`,"is-dual-column":!0,"is-show-cross-sell":te.value&&ee.value&&e.isCrossSellEnabled},null,8,["slug","is-show-cross-sell"])),l(ne)?v("",!0):y((r(),d("div",vs,[a(Sn,{product:e.product,"last-image":e.lastImage,onOpenGallery:ae,onInteraction:pe},null,8,["product","last-image"])],512)),[[l(Oe),e.updateDetailsVisible]]),l(ne)?(r(),d("div",hs,[a(l(Ze),{class:"details-divider",height:"2px","margin-bottom":"var(--space-5)"}),i("a",{class:"accent",href:oe.value}," See Full Product Details ",8,gs)])):v("",!0)])]),i("div",{id:"product-viewer",class:h({"product-viewer-gallery":!E.value})},[a(ns,{price:e.price,product:e.product,medias:l(O),"ugc-status":e.ugcStatus,onScrollToSection:fe},null,8,["price","product","medias","ugc-status"])],2)]),e.product&&!l(ne)&&X.value?(r(),d("div",ys,[A.value?(r(),o(l(Ze),{key:0})):v("",!0),y(i("div",{id:"product-ctf-section",ref_key:"productCtfSection",ref:m},[(r(),o(gt,{key:`product-${e.product.hashKey}`,component:l(n),"content-type":"productPage",slug:`product-${e.product.hashKey}`,"is-required":!1,"show-loader":!1},null,8,["component","slug"]))],512),[[l(qe),de]])])):v("",!0)])):v("",!0)],64)}}}),[["__scopeId","data-v-bf90e6c0"]]),bs=Object.freeze(Object.defineProperty({__proto__:null,default:ms},Symbol.toStringTag,{value:"Module"}));export{bs as D,Bo as P,lo as T,So as a,Ko as b,qo as c,an as d,fo as r}; 32//# sourceMappingURL=DualColumnLayout.2bc83d58.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.