1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7842],{99993:function(e,n,o){"use strict";var i=o(10684),t=o(609),r=o(32701),l=o(67954),d=o(97985),a=o(79798),s=o(67294),c=o(19521),u=o(85893),v=(0,c.ZP)(i.Z).withConfig({displayName:"nonReturnableModalBody__ModalBody",componentId:"sc-1bj6vpi-0"})(["padding:1rem 20px;border-color:rgba(208,208,208,.25) transparent;border-style:solid;border-width:1px;"]),p=c.ZP.button.withConfig({displayName:"nonReturnableModalBody__CancelButton",componentId:"sc-1bj6vpi-1"})(["border:1px #d0d0d0 solid;background-color:#f6f6f6;color:black;margin-right:20px;padding:.375rem .75rem;font-size:1rem;font-weight:400;text-align:center;user-select:none;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;cursor:pointer;&:hover,&:active,&:focus{background-color:#e6e6e6;border-color:#b0b0b0;color:black;outline:none;}&:active{box-shadow:0 0 2px 2px #b0b0b0;background-color:#b6b6b6;border-color:#808080;}"]),h=(0,c.ZP)(p).withConfig({displayName:"nonReturnableModalBody__C
1onfirmButton",componentId:"sc-1bj6vpi-2"})(["border:1px rgba(0,0,0,.25) solid;background-color:",";color:white;&:hover,&:active,&:focus{background-color:",";color:black;outline:none;}&:active{box-shadow:0 0 2px 2px #b0b0b0;}&:disabled{cursor:default;color:gray;background-color:#f6f6f6;}"],(function(e){return e.theme.colors.accent}),(function(e){return e.theme.colors.accentHover})),m=(0,c.ZP)(t.Z).withConfig({displayName:"nonReturnableModalBody__StyledInput",componentId:"sc-1bj6vpi-3"})(["height:22px;width:22px;margin-left:-2.25rem;margin-top:.5rem;"]),g=c.ZP.div.withConfig({displayName:"nonReturnableModalBody__InputContainer",componentId:"sc-1bj6vpi-4"})(["float:right;margin-right:20px;padding:20px;font-size:22px;color:black;"]),f=c.ZP.span.withConfig({displayName:"nonReturnableModalBody__Message",componentId:"sc-1bj6vpi-5"})(["font-size:1.2em;display:block;padding:5px;font-weight:550;"]),b=c.ZP.ul.withConfig({displayName:"nonReturnableModalBody__TermsList",componentId:"sc-1bj6vpi-6"})(["width:",";margin:auto;font-size:18px;& li{padding:15px 0;}"],(function(e){return e.wider?"60%":"50%"})),x=c.ZP.div.withConfig({displayName:"nonReturnableModalBody__TermsContainer",componentId:"sc-1bj6vpi-7"})(["border-bottom:1px solid #666;"]),y=c.ZP.li.withConfig({displayName:"nonReturnableModalBody__NonReturnableItem",componentId:"sc-1bj6vpi-8"})(["font-weight:300;color:rgb(200,0,0);"]);n.Z=function(e){var n,o,i=e.confirm,t=e.toggle,c=e.nonReturnableOptions,w=e.inStock,j=e.finishType,k=e.product,C=(0,s.useState)(!1),S=C[0],Z=C[1],I=function(){t()},_=function(e){var n=!1;return e?e.includes("Sparkle")&&(n=!0):null===c||void 0===c||c.forEach((function(e){e.includes("Sparkle")&&(n=!0)})),n},N=(0,u.jsx)(a.ol,{style:{color:"white"},onClick:function(){return I()},children:"X"});null===c||void 0===c||c.map((function(e,n){return(0,u.jsx)("li",{style:{fontWeight:"300"},children:e},"option".concat(n))}));return(0,u.jsxs)(s.Fragment,{children:[(0,u.jsx)(r.Z,{toggle:I,close:N,style:{backgroundColor:"darkred"},children:(0,u.jsx)(a.r6,{style:{color:"white"},children:"Non-Returnable Instrument"})}),(0,u.jsxs)(v,{style:{textAlign:"center"},children:[(0,u.jsxs)("div",{children:["stain"===j&&(0,u.jsxs)(f,{style:{color:"rgb(200, 0, 0)",borderBottom:"1px solid black",padding:"8px 0",marginBottom:"8px"},children:[" ","Stain finishes are heavily affected by the individual piece of wood; thus, the actual finish may be darker or lighter than the graphical rendering."]}),(0,u.jsxs)(f,{style:{display:null!==k&&void 0!==k&&null!==(n=k.specs)&&void 0!==n&&null!==(o=n.nonReturnable)&&void 0!==o&&o.value?" block":"none"},children:[" ","This ",w?"instrument":"build"," contains non-returnable option(s)."]}),!w&&(0,u.jsxs)(s.Fragment,{children:[(0,u.jsxs)(f,{style:{fontWeight:"300",padding:"15px 0"},children:[" ","The following options make this build non-returnable:"]}),(0,u.jsx)(x,{children:(0,u.jsx)(b,{children:null===c||void 0===c?void 0:c.map((function(e,n){return(0,u.jsx)(y,{children:e},"option".concat(n))}))})})]})]}),(0,u.jsxs)("div",{style:{marginTop:"1em"},children:[(0,u.jsxs)(f,{children:[" "," ","By checking the box below you are agreeing to the following terms:"]}),(0,u.jsx)(x,{style:{borderBottom:"none"},children:(0,u.jsxs)(b,{wider:_(),children:[(0,u.jsx)("li",{children:"This instrument is not returnable."}),(0,u.jsx)("li",{children:"No 10 day trial period."}),_()&&(0,u.jsx)("li",{children:"Sparkle finishes are sprayed in batches, which may increase the build time by up to 10 weeks."})]})})]}),(0,u.jsx)(g,{children:(0,u.jsxs)(l.Z,{check:!0,children:[(0,u.jsx)(m,{type:"checkbox",onChange:function(){return Z(!S)}})," ","I Agree"]})})]}),(0,u.jsxs)(d.Z,{children:[(0,u.jsx)(p,{onClick:function(){return I()},children:"Cancel"}),(0,u.jsx)(h,{onClick:function(){return i(),void t()},disabled:!S,children:"Continue"})]})]})}},74100:function(e,n,o){"use strict";o(67294);var i=o(19521),t=o(85893),r=i.ZP.div.withConfig({displayName:"responsiveIframe__IframeContainer",componentId:"sc-nsyvxu-0"})(["width:100%;height:",";text-align:center;margin-top:",";margin-bottom:",";position:relative;overflow:hidden;max-width:1024px;margin-left:auto;margin-right:auto;"],(function(e){return e.fluid&&"100%"}),(function(e){return!e.fluid&&"40px"}),(function(e){return!e.fluid&&"25px"})),l=i.ZP.iframe.withConfig({displayName:"responsiveIframe__StyledIframe",componentId:"sc-nsyvxu-1"})(["position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;border:none;"]);n.Z=function(e){var n=e.src,o=e.dims,i=e.fluid,d=e.top;return(0,t.jsxs)(r,{fluid:i,children:[(0,t.jsx)("div",{style:{paddingTop:d||"56.25%"}}),(0,t.jsx)(l,{width:(null===o||void 0===o?void 0:o.width)||"640",height:(null===o||void 0===o?void 0:o.height)||"360",src:n,frameborder:"0",title:"Video Player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0})]})}},27509:function(e,n,o){"use strict";var i=o(59499),t=o(4730),r=o(10267),l=o(51252),d=o(56941),a=o(75351),s=o(67294),c=o(19521),u=o(85893),v=["hide"],p=["note","color"],h=["note"];function m(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.push.apply(o,i)}return o}function g(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};
1n%2?m(Object(o),!0).forEach((function(n){(0,i.Z)(e,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):m(Object(o)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))}))}return e}var f=(0,c.F4)(["0%{background-position:right 900% top 0;}50%{background-position:right -450% top 0;}100%{background-position:right -900% top 0;}"]),b=(0,c.ZP)((function(e){e.hide;var n=(0,t.Z)(e,v);return(0,u.jsx)(r.Z,g({},n))})).withConfig({displayName:"productSpecsTab__ProductSpecRow",componentId:"sc-zqcj40-0"})(["margin-left:.15em;border-bottom:1px solid #aaa;align-items:center;display:",";min-height:49px;"],(function(e){return e.hide&&"none"})),x=(0,c.ZP)((function(e){e.note,e.color;var n=(0,t.Z)(e,p);return(0,u.jsx)(l.Z,g({},n))})).withConfig({displayName:"productSpecsTab__ProductOptionColumn",componentId:"sc-zqcj40-1"})(["padding:.75em;color:",";text-transform:uppercase;@media (max-width:760px){padding:1.5em .75em;}"],(function(e){return e.note?e.theme.colors.accent:e.color?e.color:"#aaa"})),y=(0,c.ZP)((function(e){e.note;var n=(0,t.Z)(e,h);return(0,u.jsx)(l.Z,g({},n))})).withConfig({displayName:"productSpecsTab__SpecCategoryColumn",componentId:"sc-zqcj40-2"})(["padding:.75em;color:",";font-weight:600;text-transform:uppercase;&.loading{background-image:linear-gradient(90deg,rgba(75,75,75,0),rgba(75,75,75,0.5),rgba(75,75,75,0));background-size:90% 100%;background-repeat:no-repeat;background-position:left -900% top 0;animation:"," 3.25s linear infinite;}@media (max-width:619px){@media (min-width:577px){flex:0 0 30%;max-width:30%;}}"],(function(e){return e.note?e.theme.colors.accent:"white"}),f),w=(0,c.ZP)(d.Z).withConfig({displayName:"productSpecsTab__StyledCard",componentId:"sc-zqcj40-3"})(["background:transparent;border-radius:0;border:none;max-width:1400px;margin:auto;padding:1.25rem 1rem;@media (max-width:760px){padding:15px;}"]),j=(0,c.ZP)(a.Z).withConfig({displayName:"productSpecsTab__StyledCardTitle",componentId:"sc-zqcj40-4"})(["margin-left:-15px;font-weight:550;color:white;font-size:1.75rem;letter-spacing:1px;margin-bottom:0;@media (min-width:761px){margin-left:-1rem;}"]);n.Z=function(e){var n,o,i,t,r=e.model,l=(e.inStock,(0,s.useState)()),d=l[0],a=l[1],c=(0,s.useState)([]),v=(c[0],c[1]);(0,s.useLayoutEffect)((function(){null!==r&&void 0!==r&&r.specs&&a(r.specs)}),[r]),(0,s.useEffect)((function(){"In Stock"===(null===r||void 0===r?void 0:r.productType)&&v(h)}),[r]);var p=function(e){return"bridge"!==e.key||"Default"!==e.value&&"Standard"!==e.value&&e.value!==e.description?"".concat(e.value," ").concat(e.description?"- ".concat(e.description):""):e.description},h=function(){var e=[],n=["nonReturnable","extra","notes","model","price","stringCount","weight","modelName","serialNumber","case","hardCase","optionsPackage","newSaddles"];return Object.keys(null===r||void 0===r?void 0:r.specs).forEach((function(o){if(!n.includes(o)){var i,t,l=function(e){if(!e)return null;var n,o=e.split(/(?=[A-Z])/);return"num Frets"===(n=o.length>1?o.join(" "):o[0])&&(n="number of frets"),"cali"===n&&(n="california burst"),n}(o);e.push({key:l,value:null===(i=r.specs[o])||void 0===i?void 0:i.value,description:null===(t=r.specs[o])||void 0===t?void 0:t.description})}})),e.sort((function(e,n){return e.key>n.key?1:-1})),e.map((function(e,n){return(0,u.jsx)(s.Fragment,{children:e.value&&(0,u.jsxs)(b,{hide:"null"===e.value||!e.value,children:[(0,u.jsx)(y,{sm:"3",lg:"2",children:e.key}),(0,u.jsx)(x,{children:p(e)})]},"".concat(e.key).concat(n))},"".concat(e.key).concat(n))}))};return(0,u.jsxs)(w,{body:!0,children:[(0,u.jsx)(j,{children:"Specs"}),d?(0,u.jsxs)("div",{children:[(0,u.jsxs)(b,{children:[(0,u.jsx)(y,{sm:"3",lg:"2",children:"Model"}),(0,u.jsx)(x,{children:function(){var e,n,o,i,t;if(d)return"a2 aries 2"===(null===(e=d.modelName)||void 0===e||null===(n=e.value)||void 0===n?void 0:n.toLowerCase())?"A2":"aries 2 bass"===(null===(o=d.modelName)||void 0===o||null===(i=o.value)||void 0===i?void 0:i.toLowerCase())?"A2 Bass":null===(t=d.modelName)||void 0===t?void 0:t.value}()})]}),(0,u.jsxs)(b,{children:[(0,u.jsx)(y,{sm:"3",lg:"2",children:"String Count"}),(0,u.jsx)(x,{children:function(){var e;
1if(d)return null===(e=d.stringCount)||void 0===e?void 0:e.value}()})]}),(null===(n=d.optionsPackage)||void 0===n?void 0:n.value)&&(0,u.jsxs)(b,{children:[(0,u.jsx)(y,{sm:"3",md:"2",children:"Options Package"}),(0,u.jsxs)(x,{color:"#70000c",children:[null===(o=d.optionsPackage)||void 0===o?void 0:o.value," Package"]})]}),h(),function(){return!(null===d||void 0===d||!d.weight)&&("string"===typeof d.weight?!(null!==(e=d.weight)&&void 0!==e&&e.includes("Object")):Object.prototype.hasOwnProperty.call(d.weight,"value"));var e}()&&(0,u.jsxs)(b,{children:[(0,u.jsx)(y,{sm:"3",md:"2",children:"weight"}),(0,u.jsx)(x,{children:(null===(i=d.weight)||void 0===i?void 0:i.value)||d.weight})]}),(null===(t=d.notes)||void 0===t?void 0:t.value)&&(0,u.jsxs)(b,{children:[(0,u.jsx)(y,{sm:"3",md:"2",note:!0,children:"notes"}),(0,u.jsx)(x,{note:!0,children:function(){var e,n=null===(e=d.notes)||void 0===e?void 0:e.value.trim().split("");return","===n[n.length-1]&&n.pop(),n.join("")}()})]})]}):(0,u.jsx)("div",{children:function(){if(!r)return[];for(var e=[],n=0;n<Object.keys(r.specs).length-4;n++)e.push((0,u.jsx)(b,{children:(0,u.jsx)(y,{className:"loading",sm:"12"})},n));return e}()})]})}},23823:function(e,n,o){"use strict";var i=o(67294),t=o(98015),r=o(41664),l=o.n(r),d=o(19521),a=o(94573),s=o(11163),c=o(85893),u=o(48764).Buffer,v=d.ZP.div.withConfig({displayName:"sidebarBuilderButton__SoldOut",componentId:"sc-826ilf-0"})(["margin:0 0 .5em;width:100%;border:1px solid transparent;background-color:red;padding:.75rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:400;display:inline-block;text-align:center;user-select:none;color:white;"]);n.Z=function(e){var n,o,r=e.model,d=(0,s.useRouter)(),p=(d.query.id,function(){return d.asPath.includes("guitar")?"guitar":"bass"}),h=function(){if(r.modelName)try{(0,a.j)("Model Change",{model:"".concat(r.modelName," ").concat(p().includes("bass")?" - bass":"")})}catch(e){console.error(e)}};return(0,c.jsx)(i.Fragment,{children:function(){if(r)return!!r.variants.edges[0].node.hasOwnProperty("availableForSale")&&("JBBV"!==r.variants.edges[0].node.sku&&!r.variants.edges[0].node.availableForSale)}()?(0,c.jsx)(v,{children:"Sold Out"}):(0,c.jsx)(i.Fragment,{children:null!==r&&void 0!==r&&r.title.toLowerCase().includes("sugarman")?(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(t.ZP,{disabled:!0,style:{background:"red",cursor:"default",color:"white"},children:"Sold Out"})}):(0,c.jsx)(c.Fragment,{children:p().includes("bass")||null!==r&&void 0!==r&&r.title.toLowerCase().includes("k-series")?(0,c.jsx)(i.Fragment,{children:p().includes("bass")?(0,c.jsx)(l(),{href:{pathname:"/builder/".concat(p()),query:{type:p(),model:u.from((null===r||void 0===r?void 0:r.id)||"").toString("base64")}},children:(0,c.jsx)(t.ZP,{onClick:h,children:"Build Your Own"})}):(0,c.jsxs)(i.Fragment,{children:[(0,c.jsx)(t.ZP,{href:"tel:+1-858-484-8277",children:"Call To Order"}),(0,c.jsxs)("div",{style:{width:"100%",textAlign:"center",color:"white",marginBottom:"15px",marginTop:"-8px",fontSize:"1.15rem",fontWeight:"300"},children:["858-GUITARS",(0,c.jsx)("div",{style:{fontSize:".875rem"},children:"(858-484-8277)"})]})]})}):(0,c.jsx)(l(),{href:{pathname:null!==r&&void 0!==r&&null!==(n=r.title)&&void 0!==n&&n.toLowerCase().includes("sugarman")?"":"/builder/".concat(p()),query:{type:p(),model:u.from(null!==r&&void 0!==r&&r.builderId?r.builderId:(null===r||void 0===r?void 0:r.id)||"").toString("base64")}},children:(0,c.jsx)(t.ZP,{onClick:h,style:{background:null!==r&&void 0!==r&&null!==(o=r.title)&&void 0!==o&&o.toLowerCase().includes("sugarman")?"red":""},children:"Build Your Own"})})})})})}},36173:function(e,n,o){"use strict";var i=o(95591),t=function(){return fetch.apply(void 0,arguments).then((function(e){return e.json()}))};n.Z=function(e){var n=(0,i.ZP)(e?"/api/in-stock-status/".concat(e):"",t,{dedupingInterval:1e4,refreshInterval:3e5}).data;return{status:null===n||void 0===n?void 0:n.status}}},54842:function(e,n,o){"use strict";o.r(n),o.d(n,{__N_SSG:function(){return H},default:function(){return $}});var i=o(50942),t=o(67294),r=o(66520),l=o(64475),d=o(92879),a=o(68279),s=o(97975),c=o(10267),u=o(98595),v=o(98015),p=o(50029),h=o(87794),m=o.n(h),g=o(61618),f=o(36955),b=o(45046),x=o(79798),y=o(56637),w=o(10684),j=o(609),k=o(32701),C=o(97985),S=o(19521),Z=o(85893),I=(0,S.ZP)(w.Z).withConfig({displayName:"counterweightModalBody__ModalBody",componentId:"sc-1163iol-0"})(["padding:1rem 20px;border-color:rgba(208,208,208,.25) transparent;border-style:solid;border-width:1px;"]),_=S.ZP.button.withConfig({displayName:"counterweightModalBody__CancelButton",componentId:"sc-1163iol-1"})(["border:1px #d0d0d0 solid;background-color:#f6f6f6;color:black;margin-right:20px;padding:.375rem .75rem;font-size:1rem;font-weight:400;text-align:center;user-select:none;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;cursor:pointer;&:hover,&:active,&:focus{background-color:#e6e6e6;border-color:#b0b0b0;color:black;outline:none;}&:active{box-shadow:0 0 2px 2px #b0b0b0;background-color:#b6b6b6;border-color:#808080;}"]),N=(0,S.ZP)(_).withConfig({displayName:"counterweightModalBody__C
1onfirmButton",componentId:"sc-1163iol-2"})(["border:1px rgba(0,0,0,.25) solid;background-color:",";color:white;&:hover,&:active,&:focus{background-color:",";color:black;outline:none;}&:active{box-shadow:0 0 2px 2px #b0b0b0;}&:disabled{cursor:default;color:gray;background-color:#f6f6f6;}"],(function(e){return e.theme.colors.accent}),(function(e){return e.theme.colors.accentHover})),O=((0,S.ZP)(j.Z).withConfig({displayName:"counterweightModalBody__StyledInput",componentId:"sc-1163iol-3"})(["height:22px;width:22px;margin-left:-2.25rem;margin-top:.5rem;"]),S.ZP.div.withConfig({displayName:"counterweightModalBody__InputContainer",componentId:"sc-1163iol-4"})(["float:right;margin-right:20px;padding:20px;font-size:22px;color:black;"]),S.ZP.span.withConfig({displayName:"counterweightModalBody__Message",componentId:"sc-1163iol-5"})(["font-size:1.2em;display:block;padding:5px;"])),P=(S.ZP.ul.withConfig({displayName:"counterweightModalBody__TermsList",componentId:"sc-1163iol-6"})(["width:",";margin:auto;font-size:18px;& li{padding:15px 0;}"],(function(e){return e.wider?"60%":"50%"})),S.ZP.div.withConfig({displayName:"counterweightModalBody__TermsContainer",componentId:"sc-1163iol-7"})(["border-bottom:1px solid #666;"]),S.ZP.li.withConfig({displayName:"counterweightModalBody__NonReturnableItem",componentId:"sc-1163iol-8"})(["font-weight:300;color:rgb(200,0,0);"]),function(e){var n=e.confirm,o=e.toggle,i=(e.nonReturnableOptions,e.inStock,e.finishType,e.product,(0,t.useState)(!1)),r=(i[0],i[1],function(){o()}),l=(0,Z.jsx)(x.ol,{style:{color:"white"},onClick:function(){return r()},children:"X"});return(0,Z.jsxs)(t.Fragment,{children:[(0,Z.jsx)(k.Z,{toggle:r,close:l,style:{backgroundColor:"#303030"},children:(0,Z.jsx)(x.r6,{style:{color:"white"},children:"Antares Counterweight Installation"})}),(0,Z.jsx)(I,{style:{textAlign:"center"},children:(0,Z.jsx)("div",{children:(0,Z.jsx)(O,{children:(0,Z.jsxs)("p",{children:["Because of the aggressive and extreme nature of the Antares' shape, players may experience less-than-optimal balance when seated with certain specs. The solid brass, CNC-machined counterweight weighs just under a pound and sits in the electronics cavity. The piece can be removed at the player's discretion within minutes.",(0,Z.jsx)("br",{}),(0,Z.jsx)("br",{}),"Would you like to add the counterweight installation to your order for $75?"]})})})}),(0,Z.jsxs)(C.Z,{children:[(0,Z.jsx)(_,{onClick:function(){return r()},children:"No"}),(0,Z.jsx)(N,{onClick:function(){return n(),void o()},children:"Yes"})]})]})}),T=o(99993),B=o(84902),R=o(61897),z=o(36173),F=o(48764).Buffer,M=S.ZP.button.withConfig({displayName:"addToCartButton__Button",componentId:"sc-k5ysqx-0"})(["margin:0 0 .5em;width:100%;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:400;display:inline-block;text-align:center;user-select:none;cursor:pointer;color:white;background-color:",";&:hover{text-decoration:none;}&:disabled{cursor:initial;}"],(function(e){return e.color?e.color:e.theme.colors.accent})),A=function(e){var n,o=e.variant,i=e.data,l=e.color,d=e.product,a=e.caseItem,s=(e.nonReturnableOptions,(0,t.useContext)(r.Z)),c=s.checkout,u=s.client,v=s.dispatch,h=s.createNewCart,x=(0,t.useState)(!1),w=x[0],j=x[1],k=(0,t.useState)(!1),C=k[0],S=k[1],I=(0,t.useState)(!1),_=I[0],N=I[1],O=(0,t.useState)(!1),A=O[0],q=O[1],E=(0,t.useState)(!1),L=E[0],W=E[1],D=(0,z.Z)(null===(n=F.from((null===d||void 0===d?void 0:d.id)||"","base64"))||void 0===n?void 0:n.toString("utf-8").split("gid://shopify/Product/")[1]).status,U=function(){N(!_)},G=function(){W(!L),V()},J=function(){var e,n,t,r=[],l={key:"BuildIdentifier",value:null===o||void 0===o?void 0:o.sku},s=d.specs;null===i||void 0===i||null===(e=i.genOptions)||void 0===e||null===(n=e.products)||void 0===n||n.edges.map((function(e){for(var n=0;n<(null===(o=e.node)||void 0===o||null===(i=o.variants)||void 0===i||null===(r=i.edges)||void 0===r?void 0:r.length);n++){var o,i,r,l,d;if("SC10"===(null===(l=e.node)||void 0===l||null===(d=l.variants)||void 0===d?void 0:d.edges[n].sku)&&parseFloat(e.node.variants.edges[n].price)<1)return t=e.node.variants.edges[n],!0}}));var c=o;
1if(Object.keys(s).forEach((function(e){var n,o;["construction","stringCount","price","bridge","case","hardCase","modelName","notes","serialNumber","model"].includes(e)||Object.keys(i).forEach((function(t){var d;if(!n){var a=[];(n=null===(d=i[t].products.edges)||void 0===d?void 0:d.find((function(n){for(var i=0;i<(null===(t=n.node)||void 0===t||null===(r=t.variants)||void 0===r||null===(l=r.edges)||void 0===l?void 0:l.length);i++){var t,r,l,d,a,c,u,v,p,h,m,g,f,b,x,y,w,j;if((null===(d=n.node)||void 0===d||null===(a=d.variants)||void 0===a||null===(c=a.edges[i].node)||void 0===c?void 0:c.sku)===(null===(u=s[e])||void 0===u?void 0:u.value))if(s[e].id){if(s[e].id===(null===(f=n.node)||void 0===f?void 0:f.id)||s[e].id===F.from(null===(b=n.node)||void 0===b?void 0:b.id).toString("base64"))if(0===parseFloat((null===(x=n.node)||void 0===x||null===(y=x.variants)||void 0===y||null===(w=y.edges[i].node)||void 0===w||null===(j=w.price)||void 0===j?void 0:j.amount)||0)){o=n.node.variants.edges[i].node;break}}else if("G"===(null===(v=s[e])||void 0===v?void 0:v.value)){var k,C,S,Z,I,_;if("hardware"===e&&"Hardware Color"===(null===(k=n.node)||void 0===k?void 0:k.productType)){if(0===parseFloat((null===(S=n.node)||void 0===S||null===(Z=S.variants)||void 0===Z||null===(I=Z.edges[i].node)||void 0===I||null===(_=I.price)||void 0===_?void 0:_.amount)||0)){o=n.node.variants.edges[i].node;break}}else if("bridge"===e&&"Bridge"===(null===(C=n.node)||void 0===C?void 0:C.productType)){var N,O,P,T;if(0===parseFloat((null===(N=n.node)||void 0===N||null===(O=N.variants)||void 0===O||null===(P=O.edges[i].node)||void 0===P||null===(T=P.price)||void 0===T?void 0:T.amount)||0)){o=n.node.variants.edges[i].node;break}}}else if(0===parseFloat((null===(p=n.node)||void 0===p||null===(h=p.variants)||void 0===h||null===(m=h.edges[i].node)||void 0===m||null===(g=m.price)||void 0===g?void 0:g.amount)||0)){o=n.node.variants.edges[i].node;break}}return!!o})))&&(a.unshift(l),r.push({merchandiseId:o.id,quantity:1,attributes:a}))}}))})),r.length>0&&c&&r.splice(0,0,{merchandiseId:c.id,quantity:1,attributes:[l]}),A){var u,v=null===(u=i.hardwareOptions)||void 0===u?void 0:u.find((function(e){var n,o;return"ANTCW"===(null===(n=e.product)||void 0===n||null===(o=n.variants[0])||void 0===o?void 0:o.sku)}));v&&r.push({merchandiseId:v.product.variants[0].id,quantity:1,attributes:[l]})}if(r.length>0&&(a?r.push({merchandiseId:a,quantity:1,attributes:[{key:"case",value:"case"},l]}):t&&r.push({merchandiseId:t.id,quantity:1,attributes:[{key:"case",value:"case"},l]})),X()){var p=i.genOptions.products.edges.find((function(e){var n,o,i;return"NRI"===(null===(n=e.node)||void 0===n||null===(o=n.variants)||void 0===o||null===(i=o.edges[0].node)||void 0===i?void 0:i.sku)}));p&&r.push({merchandiseId:p.node.variants.edges[0].node.id,quantity:1,attributes:[l]})}return r},V=function(){var e=(0,p.Z)(m().mark((function e(){var n,o,i,t,r,l,d,a,s,p;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v({type:g.OC,payload:!0}),n=J(),e.prev=2,o=c){e.next=11;break}return e.next=7,h();case 7:i=e.sent,t=i.data,i.errors||(o=t);case 11:return e.next=13,u.request(B.Re,{variables:{cartId:o.id,lines:n}});case 13:return r=e.sent,l=r.data,(d=r.errors)?R.Z.error(JSON.stringify({call:"addToCart",message:d})):o=l,e.next=19,v({type:g.k4,payload:o});case 19:null===localStorage.getItem("cart")&&localStorage.setItem("cart",o.id),v({type:g.OC,payload:!1}),v({type:g.tN}),S(!1),e.next=46;break;case 25:if(e.prev=25,e.t0=e.catch(2),!e.t0.message.includes("$checkoutId of type ID!")){e.next=45;break}return e.next=30,h();case 30:return a=e.sent,e.next=33,u.request(B.Re,{variables:{cartId:a.id,lines:n}});case 33:if(s=e.sent,p=s.data,s.errors){e.next=39;break}return e.next=39,v({type:g.k4,payload:p});case 39:null===localStorage.getItem("cart")&&localStorage.setItem("cart",p.id),v({type:g.OC,payload:!1}),v({type:g.tN}),S(!1),e.next=46;break;case 45:R.Z.error(JSON.stringify({call:"addToCart",message:e.t0.message}));case 46:case"end":return e.stop()}}),e,null,[[2,25]])})));return function(){return e.apply(this,arguments)}}(),X=function(){var e,n,o,i=!1;(null===d||void 0===d||null===(e=d.tags)||void 0===e||e.forEach((function(e){"non-returnable"===e&&(i=!0)})),i)||null!==d&&void 0!==d&&null!==(n=d.specs)&&void 0!==n&&null!==(o=n.nonReturnable)&&void 0!==o&&o.value&&(i=!0);return i};return(0,Z.jsxs)(t.Fragment,{children:[(0,Z.jsx)(M,{color:o?null!==o&&void 0!==o&&o.availableForSale&&"available"===D?l:"#a40014":l,disabled:!(null!==o&&void 0!==o&&o.availableForSale)||"available"!==D||C,"aria-label":"Add to cart button",onClick:function(){var e,n,o,i,t;(null===c||void 0===c||null===(e=c.lines)||void 0===e||null===(n=e.nodes)||void 0===n?void 0:n.length)>0?j(!0):(S(!0),X()||null!==d&&void 0!==d&&null!==(o=d.tags)&&void 0!==o&&o.includes("headless")?N(!0):null!==d&&void 0!==d&&null!==(i=d.specs)&&void 0!==i&&null!==(t=i.modelName)&&void 0!==t&&t.value.includes("Antares")?W(!0):V())},children:C?(0,Z.jsx)(f.Z,{color:"light",size:"sm"}):(0,Z.jsx)(Z.Fragment,{children:null!==o&&void 0!==o&&o.availableForSale&&"available"===D?"Add to Cart":"Sold Out"})}),(0,Z.jsx)(y.Z,{isOpen:w,setIsOpen:j}),(0,Z.jsx)(b.Z,{centered:!0,isOpen:_,toggle:U,modalTransition:{timeout:100},backdropTransition:{timeout:100},style:{maxWidth:"800px"},contentClassName:"no-border",backdrop:"static",fade:!1,children:(0,Z.jsx)(T.Z,{toggle:U,confirm:function(){V()},product:d,inStock:!0})}),(0,Z.jsx)(b.Z,{centered:!0,isOpen:L,toggle:G,modalTransition:{timeout:100},backdropTransition:{timeout:100},style:{maxWidth:"800px"},contentClassName:"no-border",backdrop:"static",fade:!1,children:(0,Z.jsx)(P,{toggle:G,confirm:function(){q(!0),V()}})})]})},q=(o(23823),o(18591)),E=o(64143),L=((0,S.ZP)(s.Z).withConfig({displayName:"productSidebar__StyledButton",componentId:"sc-1cblmt8-0"}
1)(["width:200px;background-color:",";"],(function(e){return e.theme.colors.accent})),S.ZP.span.withConfig({displayName:"productSidebar__Title",componentId:"sc-1cblmt8-1"})(["font-weight:700;font-size:2.5rem;letter-spacing:1px;line-height:4.25rem;margin-bottom:0;text-transform:uppercase;display:block;@media (min-width:992px){margin-left:0;margin-right:0;margin-left:-10%;margin-right:-10%;}@media (min-width:1000px){font-size:3.25rem;}@media (min-width:1200px){font-size:",";}@media (min-width:1600px){font-size:",";}"],(function(e){return e.large?"3.25rem":"4rem"}),(function(e){return e.large&&"4rem"}))),W=S.ZP.div.withConfig({displayName:"productSidebar__SubTitle",componentId:"sc-1cblmt8-2"})(["font-weight:300;text-transform:uppercase;font-size:2rem;width:100%;@media (min-width:1000px){font-size:1.5rem;}"]),D=S.ZP.div.withConfig({displayName:"productSidebar__SerialNumber",componentId:"sc-1cblmt8-3"})(["font-weight:300;font-size:1.5rem;width:100%;color:rgba(255,255,255,.65);@media (max-width:500px){font-size:1rem;}@media (max-width:820px){font-size:1.5rem;}@media (max-width:1000px){font-size:1rem;}"]),U=function(e){var n,o,i,l,d=e.model,a=e.fontColor,s=e.data,p=e.nonReturnableOptions,h=e.order,m=(0,t.useContext)(r.Z).cases,g=(0,t.useState)({lineOne:null,lineTwo:null}),f=g[0],b=g[1],x=(0,t.useState)(),y=(x[0],x[1]),w=(0,t.useState)(),j=(w[0],w[1]),k=(0,t.useState)(),C=k[0],S=k[1];(0,t.useEffect)((function(){var e;if(d){var n=["signature series","headless","acoustic","signature","neck-through","bolt-on","artist edition"],o=["jason becker","aries"],i=[{title:"andy james 1",displayName:"andy james"}],t=null===d||void 0===d||null===(e=d.title)||void 0===e?void 0:e.toLowerCase();if("a2 neck-through"!==t)if("neo circle"!==t)if("neo circle"!==t)if(t.includes("a2 aries 2"))b({lineOne:"A2",lineTwo:"Bolt-On"});else if(t.includes("phillip mcknight"))b({lineOne:"Phillip McKnight",lineTwo:"Delos Edition"});else{"k-series-jk43"===t&&b({lineOne:"K-Series",lineTwo:null});for(var r=0;r<n.length;r++){var l=t.split(n[r]);if(l.length>1){for(var a,s=0;s<i.length;s++){var c;if(i[s].title===l[0].trim())return void b({lineOne:i[s].displayName,lineTwo:null===d||void 0===d||null===(c=d.title)||void 0===c?void 0:c.toLowerCase().match(n[s])})}return void b({lineOne:l[0].trim(),lineTwo:null===d||void 0===d||null===(a=d.title)||void 0===a?void 0:a.toLowerCase().match(n[r])})}}for(var u=0;u<o.length;u++){var v=t.split(o[u]),p=void 0;if(v&&v[1]&&(p=v[1].toLowerCase().split(/-[0-9]\w+/)),v.length>1){b({lineOne:t.match(o[u])[0],lineTwo:p||v[1].trim()});break}}}else b({lineOne:"Neo",lineTwo:"Devin Townsend Signature"});else b({lineOne:"neo",lineTwo:"Devin Townsend Signature"});else b({lineOne:"a2",lineTwo:"neck-through"})}}),[d]),(0,t.useEffect)((function(){var e,n,o,i;if(d&&m&&"In Stock"===(null===d||void 0===d?void 0:d.productType)){var t,r=null===d||void 0===d||null===(e=d.specs)||void 0===e||null===(n=e.case)||void 0===n?void 0:n.value,l=null===d||void 0===d||null===(o=d.specs)||void 0===o||null===(i=o.hardCase)||void 0===i?void 0:i.value,a=null===m||void 0===m?void 0:m.find((function(e){var n;return(null===(n=e.variants[0])||void 0===n?void 0:n.sku)===r})),s=null===m||void 0===m?void 0:m.find((function(e){var n;return(null===(n=e.variants[0])||void 0===n?void 0:n.sku)===l}));if(a)y(a.variants[0]),S(null===(t=a.variants[0])||void 0===t?void 0:t.id);s&&j(s.variants[0])}}),[d,m]);return(0,Z.jsxs)(v.$h,{children:[(0,Z.jsxs)(v.R8,{fontColor:a,children:[(0,Z.jsx)(L,{large:function(){var e,n,o;return"function"===typeof(null===(e=f.lineOne)||void 0===e?void 0:e.split)?(null===f||void 0===f||null===(n=f.lineOne)||void 0===n||null===(o=n.split(" ")[1])||void 0===o?void 0:o.length)>9:(null===d||void 0===d?void 0:d.title.length)>9}(),children:f.lineOne||function(){var e,n,o;if(null!==d&&void 0!==d&&null!==(e=d.title)&&void 0!==e&&e.toLowerCase().includes("a2 aries 2"))return"a2";var i=null===d||void 0===d||null===(n=d.title)||void 0===n?void 0:n.toLowerCase().split(/-[0-9]\w+/);return i&&i[0]?i[0]:null===d||void 0===d||null===(o=d.title)||void 0===o?void 0:o.toLowerCase()}()||(null===d||void 0===d?void 0:d.title)}),(0,Z.jsx)(W,{children:f.lineTwo}),(0,Z.jsxs)(D,{children:["S/N: ",function(){var e;if(null!==d&&void 0!==d&&d.specs)return(null===d||void 0===d||null===(e=d.specs.serialNumber)||void 0===e?void 0:e.value)||"N/A"}()]})]}),(0,Z.jsxs)(c.Z,{className:"justify-content-center",style:{fontWeight:"300"},children:[(0,Z.jsx)(q.Z,{product:d,sold:!(null!==d&&void 0!==d&&null!==(n=d.variants)&&void 0!==n&&null!==(o=n.edges[0])&&void 0!==o&&null!==(i=o.node)&&void 0!==i&&i.availableForSale),order:h,createdAt:null===d||void 0===d?void 0:d.createdAt,compareAt:function(){var e,n,o,i,t,r,l;return parseInt((null===d||void 0===d||null===(e=d.variants)||void 0===e||null===(n=e.edges[0])||void 0===n||null===(o=n.node)||void 0===o||null===(i=o.compareAtPrice)||void 0===i?void 0:i.amount)||(null===d||void 0===d||null===(t=d.variants)||void 0===t||null===(r=t.edges[0])||void 0===r||null===(l=r.node)||void 0===l?void 0:l.compareAtPrice)||0)}(),fixed:"In Stock"===(null===d||void 0===d?void 0:d.productType),price:function(){var e;return parseFloat((null===d||void 0===d||null===(e=d.variants.edges[0].node.price)||void 0===e?void 0:e.amount)||(null===d||void 0===d?void 0:d.variants.edges[0].node.price)||0)}()}),function(){var e,n,o;return!(null===d||void 0===d||null===(e=d.tags)||void 0===e||!e.includes("nonReturnable"))||!(null===d||void 0===d||null===(n=d.specs)||void 0===n||null===(o=n.nonReturnable)||void 0===o||!o.value)}()&&(0,Z.jsx)("div",{style:{color:"#ff0000",fontSize:"1rem",fontWeight:"500"},children:"* Non-Returnable Instrument"})]}),(0,Z.jsxs)(u.Z,{fluid:"sm",children:["In Stock"===(null===d||void 0===d?void 0:d.productType)&&(0,Z.jsx)("div",{style:{color:"white",textAlign:"center",margin:"1.25rem 0"},children:"Includes Kiesel Guitars Soft Case"}),(0,Z.jsx)(v.vb,{children:(0,Z.jsx)(v.Uj,{children:(0,Z.jsx)(A,{inStock:"In Stock"===(null===d||void 0===d?void 0:d.productType),product:d,variant:null===d||void 0===d||null===(l=d.variants.edges[0])||void 0===l?void 0:l.node,attribute:{key:"type",value:"In Stock"===(null===d||void 0===d?void 0:d.productType)?"inStock":"Limited Edition"===(null===d||void 0===d?void 0:d.productType)&&"Limited Edition"},quantity:1,data:s,caseItem:C,nonReturnableOptions:p})})}),(0,Z.jsx)(E.Z,{})]})]})},G=o(27509),J=o(74100),V=o(23434),X=o(11163),H=!0,$=function(e){var n,o,s,c,u,v=e.product,p=e.nonReturnableOptions,h=e.seoDescription,m=e.seoImage,g=e.seoImageAlt,f=e.order,b=(e.discounts,(0,X.useRouter)()),x=(0,t.useState)(!1),y=x[0],w=x[1],j=(0,t.useState)(),k=j[0],C=(j[1],(0,t.useState)()),S=C[0],I=C[1],_=(0,t.useState)([]),N=_[0],O=(_[1],(0,t.useState)(0)),P=O[0],T=O[1],B=((0,t.useContext)(r.Z).client,(0,t.useState)([])),R=B[0],z=B[1],F=(0,t.useContext)(r.Z).shopifyData;(0,t.useEffect)((function(){"object"===typeof F&&z(F)}),[F]);var M=(0,t.useCallback)((function(e){y||"loaded"===e&&w(!0)}),[y]);return(0,Z.jsx)(l.Z,{title:"".concat((null===v||void 0===v?void 0:v.title)||""),description:h,image:m,imageAlt:g,children:b.isFallback?(0,Z.jsx)("div",{style:{height:"75vh"},children:(0,Z.jsx)(V.Z,{background:"#111",light:!0})}):(0,Z.jsxs)(t.Fragment,{children:[(0,Z.jsxs)(i.EZ,{children:[(0,Z.jsxs)(i.Me,{children:[(0,Z.jsx)(i.HX,{children:(0,Z.jsx)(i._G,{children:(0,Z.jsx)(U,{order:f?JSON.parse(f):null,nonReturnableOptions:p?JSON.parse(p):[],data:R,model:v})})}),(0,Z.jsx)(i.kW,{children:(0,Z.jsx)(a.Z,{handleLoad:M,model:v,variant:k})})]}),(null===v||void 0===v||null===(n=v.specs)||void 0===n?void 0:n.videoUrl)&&(0,Z.jsx)("div",{style:{background:"#222",maxWidth:"1920px",margin:"0 auto",padding:"1px 0",borderBottom:null!==v&&void 0!==v&&null!==(o=v.specs)&&void 0!==o&&o.secondVideoUrl?"":"2px s
1olid #333"},children:(0,Z.jsx)("div",{style:{maxWidth:"900px",margin:"auto"},children:(0,Z.jsx)(J.Z,{src:null===v||void 0===v||null===(s=v.specs)||void 0===s?void 0:s.videoUrl})})}),(null===v||void 0===v||null===(c=v.specs)||void 0===c?void 0:c.secondVideoUrl)&&(0,Z.jsx)("div",{style:{background:"#222",maxWidth:"1920px",margin:"0 auto",padding:"1px 0",borderBottom:"2px solid #333",marginTop:"-45px"},children:(0,Z.jsx)("div",{style:{maxWidth:"900px",margin:"auto"},children:(0,Z.jsx)(J.Z,{src:null===v||void 0===v||null===(u=v.specs)||void 0===u?void 0:u.secondVideoUrl})})}),(0,Z.jsx)(i.$3,{children:(0,Z.jsx)(G.Z,{model:v})})]}),S&&N.length>0&&(0,Z.jsx)(d.Z,{mainSrc:N[P].src,nextSrc:N[(P+1)%N.length].src,prevSrc:N[(P+N.length-1)%N.length].src,onCloseRequest:function(){return I(!S)},onMoveNextRequest:function(){return T((P+1)%N.length)},onMovePrevRequest:function(){return T((P+N.length-1)%N.length)}})]})})}},23993:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/in-stock/[id]",function(){return o(54842)}])}},function(e){e.O(0,[8051,5726,8523,7112,2313,2257,3189,3108,9982,4935,4643,8279,9774,2888,179],(function(){return n=23993,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.