PageSourceSearch

https://www.fattystattoos.com/_next/static/chunks/74-9ec18055c5c25eb5.js

js fattystattoos.com collected 2026-09-26 15:36:12 UTC 21,401 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74],{415:function(e,t,n){var i,o=n(7294);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}t.Z=e=>o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 100 100"},e),i||(i=o.createElement("path",{fill:"currentColor",d:"M73 50c0-12.7-10.3-23-23-23S27 37.3 27 50m3.9 0c0-10.5 8.5-19.1 19.1-19.1S69.1 39.5 69.1 50"},o.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",dur:"1s",from:"0 50 50",repeatCount:"indefinite",to:"360 50 50",type:"rotate"}))))},4162:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(5893),o=n(9644);function l(e){var t,n=e.artist,l=e.buttonText,a=void 0===l?o.i:l,s=e.buttonTextFromName,r=e.onClick,c=null==n?void 0:null===(t=n.mangomint)||void 0===t?void 0:t.url,d=null==n?void 0:n.title;return a=void 0!==s&&s&&d?d:a,(0,i.jsx)(o.Z,{mangomintFormUrl:c,text:a,onClick:void 0===r?function(){}:r})}},1763:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(5893),o=n(9644);function l(e){var t,n=e.location,l=e.type,a=e.buttonText,s=void 0===a?o.i:a,r=null==n?void 0:null===(t=n.mangomint)||void 0===t?void 0:t["".concat(void 0===l?"tattoo":l,"Url")];return(0,i.jsx)(o.Z,{mangomintFormUrl:r,text:s})}},9644:function(e,t,n){n.d(t,{Z:function(){return d},i:function(){return c}});var i=n(1309),o=n(5893),l=n(1558),a=n(7294),s=n(2311);function r(e){var t=e.url,n=e.forceOpen,i=e.cancelHandle;return(0,o.jsx)(s.Z,{forceOpen:void 0===n||n,cancelHandle:void 0===i?function(){}:i,children:(0,o.jsx)("iframe",{src:t,className:"absolute inset-0 w-full h-full max-w-[500px] z-10"})})}var c="Book Now";function d(e){var t=e.mangomintFormUrl,n=e.text,s=e.onClick,d=void 0===s?function(){}:s,u=(0,i._)((0,a.useState)(!1),2),m=u[0],h=u[1];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.Z,{type:"accent",className:"w-full md:w-auto",onClick:function(){h(!0),d()},children:void 0===n?c:n}),(0,o.jsx)(r,{forceOpen:m,url:t,cancelHandle:function(){h(!1)}})]})}},4594:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(5893),o=n(599);function l(e){var t=e.locations,n=e.classes,l=e.listClasses,a=e.children,s=void 0===a?(0,i.jsx)(i.Fragment,{}):a;return(0,i.jsxs)("div",{className:void 0===n?"":n,children:[(0,i.jsx)("h2",{className:"h3 mb-7 text-accent",children:"Select A Location"}),(0,i.jsx)(o.Z,{locations:t,listClassName:void 0===l?"w-full flex flex-col md:flex-row flex-nowrap gap-7 mb-4 md:mb-10":l,listItemClassName:"md:basis-1/3",addressClassName:"py-5 text-xl font-light",subTitleClassName:"py-5 text-5xl font-bold leading-10 title-font",asLink:!1,showImage:!1,showTitle:!1,showDescription:!1,showSubTitle:!0,children:s})]})}},2311:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(1309),o=n(5893),l=n(7294),a=n(4171);function s(e){var t=e.forceOpen,n=void 0===t||t,s=e.cancelHandle,r=void 0===s?function(){}:s,c=e.children,d=void 0===c?(0,o.jsx)(o.Fragment,{}):c,u=(0,i._)((0,l.useState)(n),2),m=u[0],h=u[1];(0,l.useEffect)(function(){h(n)},[n]);var x=function(){h(!1),r()};return(0,o.jsxs)("div",{className:"fixed w-screen h-screen top-0 left-0".concat(m?"":" hidden"),children:[(0,o.jsx)(a.Z,{className:"absolute inset-1 w-12 h-12 cursor-pointer ml-auto text-black drop-shadow-md z-20 md:text-white",onClick:x}),d,(0,o.jsx)("div",{className:"absolute inset-0 w-full h-full bg-black opacity-50 pointer",onClick:x})]})}},3264:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(5893);function o(e){var t=e.text,n=e.type,o=e.className,l=void 0===o?"":o,a=e.id,s=void 0===a?"":a;switch(void 0===n?"success":n){case"success":return(0,i.jsx)("div",{className:"px-5 py-2 bg-green-800 text-white rounded mb-3 ".concat(l),id:s,children:t});case"error":return(0,i.jsx)("div",{className:"px-5 py-2 bg-red-900 text-white rounded mb-3 ".concat(l),id:s,children:t})}}},4905:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(5893),o=n(415);function l(e){var t=e.className;return(0,i.jsx)(o.Z,{className:"absolute top-0 left-0 w-full h-full text-accent bg-lightergrey bg-opacity-50 ".concat(void 0===t?"":t)})}},599:function(e,t,n){n.d(t,{Z:function(){return d}});var i=n(5893),o=n(1664),l=n.n(o),a=n(5675),s=n.n(a),r=n(7294),c=function(e){var t,n,o,l,a,c=e.location,d=e.imageClassName,m=e.textClassName,h=e.addressClassName,x=e.subTitleClassName,v=e.contentClassName,f=e.width,p=e.height,g=e.showImage,j=e.showTitle,b=e.showSubTitle,w=e.showShortenCityName,N=e.showDescription,y=e.children,C=void 0===y?(0,i.jsx)(i.Fragment,{}):y;return(0,i.jsxs)(i.Fragment,{children:[(void 0===g||g)&&u(c)?(0,i.jsx)(s(),{alt:(null==(o=null==c?void 0:null===(n=c.locationCustomFields)||void 0===n?void 0:null===(t=n.images)||void 0===t?void 0:t.listing)?void 0:o.altText)||(null==o?void 0:o.title),src:u(c),width:void 0===f?447:f,height:void 0===p?368:p,className:d}):"",(void 0===j||j)&&(null==c?void 0:c.title)?(0,i.jsx)("div",{className:m,children:c.title}):"",(void 0===w||w)&&(null==c?void 0:null===(l=c.locationCustomFields)||void 0===l?void 0:l.shortenCityName)?(0,i.jsx)("div",{className:h,children:c.locationCustomFields.shortenCityName}):"",void 0!==b&&b&&(null==c?void 0:null===(a=c.locationCustomFields)||void 0===a?void 0:a.subTitle)?(0,i.jsx)("div",{className:x,children:c.locationCustomFields.subTitle}):"",(void 0===N||N)&&(null==c?void 0:c.content)?(0,i.jsx)("div",{className:v,dangerouslySetInnerHTML:{__html:c.content}}):"",C?r.cloneElement(C,{location:c}):""]})};function d(e){var t=e.locations,n=e.listClassName,o=e.listItemClassName,a=void 0===o?"w-auto":o,s=e.linkClassName,r=void 0===s?"inline-block":s,d=e.imageClassName,u=void 0===d?"":d,m=e.textClassName,h=void 0===m?"text-2.5xl font-light leading-none mt-6":m,x=e.addressClassName,v=void 0===x?"font-bold":x,f=e.subTitleClassName,p=void 0===f?"":f,g=e.contentClassName,j=void 0===g?"":g,b=e.width,w=void 0===b?447:b,N=e.height,y=void 0===N?368:N,C=e.asLink,k=void 0===C||C,S=e.showImage,T=void 0===S||S,I=e.showTitle,F=void 0===I||I,O=e.showSubTitle,Z=void 0!==O&&O,P=e.showShortenCityName,_=void 0===P||P,B=e.showDescription,A=void 0===B||B,E=e.children,M=void 0===E?(0,i.jsx)(i.Fragment,{}):E;return(0,i.jsx)("ul",{className:void 0===n?"w-full flex flex-row flex-wrap gap-7 md:whitespace-nowrap":n,children:t.map(function(e){return(0,i.jsx)("li",{className:a,children:(null==e?void 0:e.slug)&&k?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l(),{href:"/location/".concat(e.slug),className:r,children:(0,i.jsx)(c,{location:e,imageClassName:u,textClassName:h,addressClassName:v,subTitleClassName:p,contentClassName:j,width:w,height:y,showImage:T,showTitle:F,showSubTitle:Z,showShortenCityName:_,showDescription:!1,children:M})}),A&&(null==e?void 0:e.content)?(0,i.jsx)("div",{className:j,dangerouslySetInnerHTML:{__html:e.content}}):""]}):(0,i.jsx)(c,{location:e,imageClassName:u,textClassName:h,addressClassName:v,subTitleClassName:p,contentClassName:j,width:w,height:y,showImage:T,showTitle:F,showSubTitle:Z,showShortenCityName:_,showDescription:A,children:M})},e.id)})})}function u(e){var t,n,i;return null==e?void 0:null===(i=e.locationCustomFields)||void 0===i?void 0:null===(n=i.images)||void 0===n?void 0:null===(t=n.listing)||void 0===t?void 0:t.sourceUrl}},7219:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(5893);function o(e){var t=e.children,n=e.className;return(0,i.jsx)("h1",{className:void 0===n?"text-3xl md:text-6xl uppercase leading-none text-left mb-6 md:mb-12":n,dangerouslySetInnerHTML:{__html:t}})}},6074:function(e,t,n){n.r(t),n.d(t,{__N_SSG:function(){return O},default:function(){return Z}});var i=n(1309),o=n(5893),l=n(2773),a=n(4195),s=n(5922),r=n(6026),c=n(7294),d=n(7219),u=n(1558),m=n(1010),h=n(7582),x=n(415),v=n(3264),f=n(2437),p=n.n(f),g=["
1Not Sure/Other","American Traditional","Neo Traditional","Japanese/Asian","Lettering & Script","Fine line","Cover-Up","Black & Grey","Realism","Color","Portrait","White Ink Only","Black Ink Only","Biomechanical/Bio-organic","Watercolor","New School","Celtic/Norse","Dot work/Pointillism","Geometric","Tribal/Polynesian/Maori/Hawaiian"],j=["Not Sure/undecided","Arm","Leg","Wrist","Hand","Foot","Neck","Head","Face","Back","Ribs/side","Chest","Sternum","Stomach","Hip","Buttock"];function b(e){var t,n,l,a=e.artists,s=e.shops,d=e.styles,u=e.placements,f=e.submitHandle,b=void 0===f?function(e){}:f,N=e.defaultArtistName,y=void 0===N?"":N,C=(0,i._)((0,c.useState)(!1),2),k=C[0],S=C[1],T=(0,i._)((0,c.useState)([]),2),I=T[0],F=T[1],O=(0,i._)((0,c.useState)([]),2),Z=O[0],P=O[1],_=new Date().toLocaleDateString("fr-ca"),B=a.find(function(e){return e.title===y})||{};function A(e){var t=document.getElementById(e);if(!t){setTimeout(function(){return A(e)},100);return}t.scrollIntoView({behavior:"smooth",block:"center"})}var E=(l=(0,m._)(function(e){var t,n,o,l,a,s,c,d,u,m,x;return(0,h.Jh)(this,function(h){switch(h.label){case 0:var v,f;if(e.preventDefault(),S(!0),F([]),P([]),o=new FormData(e.target),l=[],(f={Email:(v=o).get("contact-via[email]"),Text:v.get("contact-via[text]"),Phone:v.get("contact-via[phone]"),InPerson:v.get("contact-via[in-person]")},v.delete("contact-via[email]"),v.delete("contact-via[text]"),v.delete("contact-via[phone]"),v.delete("contact-via[in-person]"),s=Object.keys(Object.fromEntries(Object.entries(f).filter(function(e){var t=(0,i._)(e,2);return null!=(t[0],t[1])}))).join(", "))?o.set("contact-via",s):a="Please select one of communication types",(null==B?void 0:B.email)?o.set("custom-recipient",B.email):o.delete("custom-recipient"),(c=null===(t=o.get("any-image"))||void 0===t?void 0:t.size)&&c>r.I3&&l.push("Please choose a smaller image. Maximum limit is ".concat(r.i_," megabytes")),(d=null===(n=o.get("existing-tattoo"))||void 0===n?void 0:n.size)&&d>r.I3&&l.push("Please choose a smaller image for existing tattoo. Maximum limit is ".concat(r.i_," megabytes")),(null==(u=o.getAll("style"))?void 0:u.length)&&o.set("style",u.join(", ")),(null==(m=o.getAll("body"))?void 0:m.length)&&o.set("body",m.join(", ")),!(!l.length&&!a))return[3,4];h.label=1;case 1:return h.trys.push([1,3,,4]),[4,function(e){return w.apply(this,arguments)}(o)];case 2:return(null==(x=h.sent())?void 0:x.error)&&l.push(x.error),[3,4];case 3:return h.sent(),l.push("Something went wrong. Please try again later."),[3,4];case 4:return b(!l.length&&!a),a&&P([a]),l.length&&F(l),!a&&l.length?A("data-form-errors"):a&&A("data-choose-contact-errors"),S(!1),[2]}})}),function(e){return l.apply(this,arguments)});return t=["date","artist-or-shop","test"],n={},(0,c.useEffect)(function(){var e=function(t,i){if((null==n?void 0:n[t])||(n[t]=0),!(n[t]++>=100)){var o=document.getElementById(t);o?i(o):setTimeout(function(){return e(t,i)},100)}};t.forEach(function(t){e(t,function(e){new(p())(window.navigator.userAgent).is("IOS")&&e.addEventListener("focus",function(){e.scrollIntoView({behavior:"smooth",block:"center"})})})})}),(0,o.jsxs)("form",{onSubmit:E,className:"relative",children:[k?(0,o.jsx)(x.Z,{className:"absolute top-0 left-0 w-full h-full text-accent bg-lightergrey bg-opacity-50"}):"",I.length?I.map(function(e,t){return(0,o.jsx)(v.Z,{type:"error",text:e,id:"data-form-errors"},t)}):"",(0,o.jsxs)("div",{className:"bg-white mb-10 rounded-3xl p-10 grid md:grid-cols-2 gap-x-20 gap-y-4",children:[(0,o.jsxs)("label",{className:"grow",children:[(0,o.jsx)("strong",{children:"Your Name *"}),(0,o.jsx)("input",{type:"text",name:"name",required:!0})]}),(0,o.jsxs)("label",{className:"grow",children:[(0,o.jsx)("strong",{children:"Your Email *"}),(0,o.jsx)("input",{type:"email",name:"email",required:!0})]}),(0,o.jsxs)("label",{className:"grow",children:[(0,o.jsx)("strong",{children:"Mobile Number *"}),(0,o.jsx)("input",{type:"tel",name:"phone",required:!0,pattern:"\\d{".concat(10,"}"),minLength:10,maxLength:10})]}),(0,o.jsxs)("label",{className:"grow",children:[(0,o.jsx)("strong",{children:"Date of Birth (Must be 18 or Older) *"}),(0,o.jsx)("input",{id:"date",type:"date",name:"birth",required:!0,max:_})]})]}),(0,o.jsxs)("div",{className:"bg-white mb-10 rounded-3xl p-10 grid md:grid-cols-2 gap-x-20 gap-y-4",children:[(0,o.jsxs)("div",{className:"flex flex-col",children:[(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"Artist or Shop Preference *"}),(0,o.jsxs)("select",{id:"artist-or-shop",name:"artist-or-shop",required:!0,placeholder:"Choose an Artist or Shop Preference",onChange:function(e){var t,n,i,o,l=e.target,s=parseInt(null===(i=l.options)||void 0===i?void 0:null===(n=i[l.selectedIndex])||void 0===n?void 0:null===(t=n.dataset)||void 0===t?void 0:t.artistId);B=(null===(o=a.find)||void 0===o?void 0:o.call(a,function(e){return parseInt(null==e?void 0:e.id)===s||parseInt(null==e?void 0:e.databaseId)===s}))||{}},children:[(0,o.jsx)("option",{},0),(0,o.jsx)("optgroup",{label:"Shops",children:s.map(function(e){return(0,o.jsxs)("option",{value:e.title,children:["First available - ",e.title]},e.id||e.databaseId)})}),(null==a?void 0:a.length)?(0,o.jsx)("optgroup",{label:"Artists",children:a.map(function(e){var t,n,i,l;return e.title===y?(0,o.jsx)("option",{value:e.title,"data-artist-id":e.id||e.databaseId,selected:!0,children:"".concat(e.title+((null==e?void 0:null===(n=e.location)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.t
1itle)?"(".concat(e.location[0].title," location)"):""))},e.id||e.databaseId):(0,o.jsx)("option",{value:e.title,"data-artist-id":e.id||e.databaseId,children:"".concat(e.title+((null==e?void 0:null===(l=e.location)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:i.title)?"(".concat(e.location[0].title," location)"):""))},e.id||e.databaseId)})}):""]})]}),(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"Style Preference (Choose One or More)"}),(0,o.jsx)("select",{name:"style",placeholder:"Choose All Styles (Optional)",multiple:!0,children:(void 0===d?g:d).map(function(e,t){return(0,o.jsx)("option",{value:e,children:e},t)})})]}),(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"Body Placement (Choose One or More)"}),(0,o.jsx)("select",{name:"body",placeholder:"Choose All Body Locations",multiple:!0,children:(void 0===u?j:u).map(function(e,t){return(0,o.jsx)("option",{value:e,children:e},t)})})]}),(0,o.jsxs)("div",{className:"flex flex-col",children:[(0,o.jsx)("strong",{className:"block",children:"How would you like us to contact you? (Choose One or More) *"}),(0,o.jsxs)("label",{className:"flex-row gap-2 mb-0 items-center",children:[(0,o.jsx)("input",{type:"checkbox",name:"contact-via[email]"}),"Email"]}),(0,o.jsxs)("label",{className:"flex-row gap-2 mb-0 items-center",children:[(0,o.jsx)("input",{type:"checkbox",name:"contact-via[text]"}),"Text"]}),(0,o.jsxs)("label",{className:"flex-row gap-2 mb-0 items-center",children:[(0,o.jsx)("input",{type:"checkbox",name:"contact-via[phone]"}),"Phone Call"]}),Z.length?Z.map(function(e,t){return(0,o.jsx)(v.Z,{type:"error",text:e,id:"data-choose-contact-errors"},t)}):""]})]}),(0,o.jsxs)("div",{className:"flex flex-col",children:[(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"Size in inches (rough guess)"}),(0,o.jsx)("input",{type:"text",name:"size",placeholder:"Enter a rough guess at the dimensions"})]}),(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"Please list any other details that will help us understand your tattoo"}),(0,o.jsx)("textarea",{name:"details",placeholder:"Enter Your Tattoo Details"})]}),(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"Send any images that will help us understand your tattoo"}),(0,o.jsx)("input",{type:"file",name:"any-image",placeholder:"Upload Image",accept:"image/*"}),(0,o.jsxs)("span",{children:["File Formats PNG, JPG, GIF Max ",r.i_,"MB"]})]}),(0,o.jsxs)("label",{children:[(0,o.jsx)("strong",{children:"If this is a cover up request, please send a picture of your existing tattoo"}),(0,o.jsx)("input",{type:"file",name:"existing-tattoo",placeholder:"Upload Image",accept:"image/*"}),(0,o.jsxs)("span",{children:["File Formats PNG, JPG, GIF Max ",r.i_,"MB"]})]})]})]}),(0,o.jsx)("button",{type:"submit",className:"bg-accent text-white py-4 px-8 m-auto block font-bold text-xl",children:"Submit"})]})}function w(){return(w=(0,m._)(function(e){return(0,h.Jh)(this,function(t){switch(t.label){case 0:return e.set("key",r.t$),[4,fetch("/api/book-now",{body:e,headers:{Accept:"application/json"},method:"POST"})];case 1:return[4,t.sent().json()];case 2:return[2,t.sent()]}})})).apply(this,arguments)}var N=n(1163);function y(e){var t=e.onBookNowTattooClick,n=void 0===t?function(){}:t,i=e.onBookNowPiercingClick,l=void 0===i?function(){}:i;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{className:"h3 mb-7 text-accent",children:"Choose A Service"}),(0,o.jsxs)("div",{className:"flex flex-wrap gap-5 text-white text-center",children:[(0,o.jsxs)("div",{className:"flex flex-col items-center justify-between bg-grey rounded-3xl p-6 md:p-10 lg:p-14 flex-1 min-w-full lg:min-w-0",children:[(0,o.jsx)("h3",{className:"h3 mb-9",children:"Tattoo"}),(0,o.jsx)("span",{className:"h4 mb-8",children:"Appointments, Consulations & Estimates"}),(0,o.jsx)(u.Z,{onClick:function(){return n()},className:"w-full md:w-auto",children:"Book Now"})]}),(0,o.jsxs)("div",{className:"flex flex-col items-center justify-between bg-grey rounded-3xl p-6 md:p-10 lg:p-14 flex-1 min-w-full lg:min-w-0",children:[(0,o.jsx)("h3",{className:"h3 mb-9",children:"Piercing & Jewelry"}),(0,o.jsx)("span",{className:"h4 mb-8",children:"Piercing & Jewelry Purchase/Installation Appointments"}),(0,o.jsx)(u.Z,{onClick:function(){return l()},className:"w-full md:w-auto",children:"Book Now"})]})]})]})}n(4905);var C=n(4594),k=n(1763),S=n(4162);function T(e){var t=e.artists,n=e.title,i=e.children,l=void 0===i?(0,o.jsx)(o.Fragment,{}):i;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{className:"h3 mb-7 text-accent",children:void 0===n?"Select An Artist":n}),(0,o.jsxs)("ul",{className:"w-full flex flex-col md:flex-row flex-wrap gap-7 mb-4 md:mb-10",children:[l,t.map(function(e){return(0,o.jsx)("li",{children:(0,o.jsx)(S.Z,{artist:e,buttonTextFromName:!0})},(null==e?void 0:e.id)||(null==e?void 0:e.databaseId))})]})]})}var I=n(9644);function F(e){var t,n=e.location,i=e.onClick,l=e.buttonText,a=void 0===l?I.i:l,s=e.type,r=null==n?void 0:null===(t=n.mangomint)||void 0===t?void 0:t["".concat(void 0===s?"tattoo":s,"Url")];return(0,o.jsx)(o.Fragment,{children:r?(0,o.jsx)(u.Z,{type:"accent",href:r,className:"w-full md:w-auto",onClick:function(){i(n)},children:a}):(0,o.jsx)(u.Z,{type:"accent",className:"w-full md:w-auto",onClick:function(){i(n)},children:a})})}var O=!0;function Z(e){var t,n,u=e.layoutItems,m=e.artists,h=e.locations,x=e.initialStep,v=e.initialStepType,f=e.metaTitle,p=e.metaDescription,g=(0,i._)((0,c.useState)([void 0===x?"info":x]),2),j=g[0],b=g[1],w=(0,i._)((0,c.useState)(void 0===v?"":v),2),S=w[0],I=w[1],O=(0,i._)((0,c.useState)(),2),Z=O[0],P=O[1],_=(0,N.useRouter)();return null==_||null===(t=_.query)||void 0===t||t.artist,(0,s.EE)(m,"tattoo"),(0,c.useEffect)(function(){window.scrollTo(0,0)},[j]),(0,o.jsx)(a.Z,{layoutItems:u,metaData:{metaTitle:(void 0===f?"":f)||"".concat(r.pB," - Book Now"),metaDescription:(void 0===p?"":p)||r.W$.BOOK_
1NOW},children:(0,o.jsxs)(l.Z,{children:[(0,o.jsxs)(o.Fragment,{children:[~j.indexOf("info")?(0,o.jsx)(d.Z,{children:"Book Tattoo, Piercing, Jewelry purchase appointment"}):"",~j.indexOf("form")&&~S.indexOf("tattoo")?(0,o.jsx)(d.Z,{children:"Book Tattoo appointment"}):"",~j.indexOf("artists")&&~S.indexOf("tattoo")?(0,o.jsx)(d.Z,{children:"Book Tattoo appointment - ".concat(Z.title)}):"",~j.indexOf("form")&&~S.indexOf("piercing")?(0,o.jsx)(d.Z,{children:"Book Piercing, Jewelry purchase appointment"}):""]}),"",(0,o.jsxs)("div",{className:"bg-lightergrey py-4 px-8 md:py-10 md:px-20 lg:py-14 lg:px-32 mb-4 md:mb-10",children:[~j.indexOf("info")?(0,o.jsx)(y,{onBookNowTattooClick:function(){I("tattoo"),b(["form"])},onBookNowPiercingClick:function(){I("piercing"),b(["form"])}}):"",(0,o.jsx)(o.Fragment,{children:~j.indexOf("form")?(0,o.jsxs)(o.Fragment,{children:[~S.indexOf("tattoo")?(0,o.jsx)(C.Z,{locations:h,children:(0,o.jsx)(F,{location:void 0,type:S,onClick:function(e){P(e),b(["artists"])}})}):"",~S.indexOf("piercing")?(0,o.jsx)(C.Z,{locations:h,children:(0,o.jsx)(F,{location:void 0,type:S,onClick:function(e){P(e),b(["artists"])}})}):""]}):""}),"",(0,o.jsx)(o.Fragment,{children:~j.indexOf("artists")?(0,o.jsx)(T,{artists:m.filter(function(e){var t,n,i,o,l,a,s=Object.values(e.location).filter(function(e){return e.id===Z.id}),r=null===(i=e.mangomint.urls)||void 0===i?void 0:null===(n=i.find)||void 0===n?void 0:null===(t=n.call(i,function(e){return e.location[0].databaseId===Z.databaseId}))||void 0===t?void 0:t.url;return e.mangomint.url=r||e.mangomint.url,(null==s?void 0:s.length)&&(null==e?void 0:null===(o=e.mangomint)||void 0===o?void 0:o.url)&&~(null==e?void 0:null===(l=(a=e.artistType).indexOf)||void 0===l?void 0:l.call(a,S))}),title:"piercing"===S?"Select A Piercer":"Select An Artist",children:(0,o.jsx)(o.Fragment,{children:(null==Z?void 0:null===(n=Z.mangomint)||void 0===n?void 0:n["".concat(S,"Url")])?(0,o.jsx)("li",{children:(0,o.jsx)(k.Z,{location:Z,buttonText:"First Available",type:S})},(null==Z?void 0:Z.id)||"selected-location-book-now"):""})}):""})]})]})})}}}]);

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.