PageSourceSearch

https://pawfect-match-app.vercel.app/_next/static/chunks/pages/details/[id]-1cbf47a4d856f83b.js

js pawfect-match-app.vercel.app collected 2026-10-03 07:28:19 UTC 8,083 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[585],{7944:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/details/[id]",function(){return e(2386)}])},7615:function(n,t,e){"use strict";e.d(t,{Z:function(){return h}});var i=e(7297),o=e(5893),r=e(9521),c=e(9990),a=e(7294),s=e(8193);function d(){let n=(0,i.Z)(["\n  width: 30px;\n  height: 30px;\n  background-color: transparent;\n  border: none;\n  cursor: pointer;\n  margin-right: 20px;\n\n  &:focus {\n    outline: none;\n  }\n\n  &:hover {\n    opacity: 0.8;\n    transition: 0.3s;\n    transform: scale(1.1);\n  }\n"]);return d=function(){return n},n}function l(){let n=(0,i.Z)(["\n  color: red;\n  font-size: 1.5rem;\n  font-weight: bold;\n"]);return l=function(){return n},n}function x(){let n=(0,i.Z)(["\n  color: darkslategray;\n  font-size: 1.5rem;\n  font-weight: bold;\n"]);return x=function(){return n},n}function h(n){var t;let{breedID:e}=n,{favorites:i,handleFavorite:r}=(0,a.useContext)(c.Favorite);return(0,o.jsx)(f,{onClick:()=>r(e),children:(null===(t=i.find(n=>n._id===e))||void 0===t?void 0:t.favorite)?(0,o.jsx)(u,{}):(0,o.jsx)(m,{})})}let f=r.ZP.button.withConfig({componentId:"sc-6dd21ce8-0"})(d()),u=(0,r.ZP)(s.lo).withConfig({componentId:"sc-6dd21ce8-1"})(l()),m=(0,r.ZP)(s.lo).withConfig({componentId:"sc-6dd21ce8-2"})(x())},7210:function(n,t,e){"use strict";e.d(t,{Z:function(){return r}});var i=e(5893),o=e(5767);function r(){return(0,i.jsx)(o.fe,{visible:!0,height:"80",width:"80",ariaLabel:"dna-loading",wrapperStyle:{display:"flex",justifyContent:"center",marginTop:"30vh"},wrapperClass:"dna-wrapper"})}},2386:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return z}});var i=e(7297),o=e(5893),r=e(1163),c=e(7294),a=e(9990),s=e(9521),d=e(5675),l=e.n(d),x=e(9327),h=e(155);function f(){let n=(0,i.Z)(["\n  display: flex;\n  align-items: center;\n"]);return f=function(){return n},n}function u(){let n=(0,i.Z)(["\n  margin-right: 5px;\n  font-size: 1.5rem;\n  // color: #3742fa;\n"]);return u=function(){return n},n}function m(n){let{score:t,title:e}=n,i=[];for(let n=1;n<=5;n++)n<=Number(t)?i.push((0,o.jsx)(g,{children:(0,o.jsx)(h.TWo,{})},n)):i.push((0,o.jsx)(g,{children:(0,o.jsx)(h.Oik,{})},n));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:e}),(0,o.jsx)(p,{children:i})]})}let p=s.ZP.div.withConfig({componentId:"sc-2ca9b38c-0"})(f()),g=s.ZP.span.withConfig({componentId:"sc-2ca9b38c-1"})(u());function w(){let n=(0,i.Z)(["\n  margin-right: 5px;\n  font-size: 1.2rem;\n  margin-bottom: 25px;\n  line-height: 0.5;\n"]);return w=function(){return n},n}function _(n){let{title:t,min:e,max:i,unit:r}=n;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h3",{children:t}),(0,o.jsxs)(b,{children:[e," - ",i,""," ",r]})]})}let b=s.ZP.span.withConfig({componentId:"sc-f1f64f8f-0"})(w());var j=e(7615),Z=e(7210);function y(){let n=(0,i.Z)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 100%;\n  max-width: 612px;\n  height: 100%;\n\n  @media (min-width: 1024px) {\n    width: 100%;\n    max-width: 1200px;\n    flex-direction: row;\n    align-items: flex-start;\n    gap: 50px;\n  }\n"]);return y=function(){return n},n}function C(){let n=(0,i.Z)(["\n  background-color: #fffefa;\n  position: fixed;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  justify-content: space-between;\n  width: 100%;\n  max-width: 650px;\n  padding-right: 10px;\n\n  @media (min-width: 1024px) {\n    width: 100%;\n    max-width: 1220px;\n  }\n"]);return C=function(){return n},n}function k(){let n=(0,i.Z)(["\n  text-decoration: none;\n  background-color: #fffefa;\n  padding-left: 20px;\n  font-size: 1rem;\n  font-weight: 500;\n  color: darkslategray;\n  border: none;\n"]);return k=function(){return n},n}function v(){let n=(0,i.Z)(["\n  width: 100%;\n  height: 67vw;\n  max-height: 400px;\n  overflow: hidden;\n  border-radius: 30px 30px 0 0;\n  box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.3);\n  z-index: -1;\n  margin-top: 40px;\n  margin-bottom: -23px;\n\n  @media (min-width: 1024px) {\n    position: sticky;\n    top: 190px;\n    margin-top: 120px;\n    border-radius: 30px;\n    height: 100%;\n\n"]);return v=function(){return n},n}function P(){let n=(0,i.Z)(["\n  width: 100%;\n  height: auto;\n  object-fit: cover;\n  transform: scale(1.1);\n  object-position: 50% 50%;\n  margin-top: 10px;\n"]);return P=function(){return n},n}function F(){let n=(0,i.Z)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  width: 100%;\n  border: 1px solid #3742fa;\n  border-radius: 30px;\n  padding-bottom: 50px;\n  background-color: #fff;\n  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3);\n\n  @media (min-width: 1024px) {\n    width: 100%;\n    max-width: 450px;\n    margin-top: 120px;\n  }\n"]);return F=function(){return n},n}function I(){let n=(0,i.Z)(["\n  color: darkslategray;\n  text-align: center;\n  margin: 20px;\n\n  @media (min-width: 1024px) {\n    display: block;\n    position: fixed;\n    top: 120px;\n    left: 23%;\n    transform: translate(-50%, -50%);\n    width: 1200px;\n    background-color: transparent;\n    padding: 10px;\n  }\n\n  @media (min-width: 1150px) {\n    left: 27%;\n  }\n\n  @media (min-width: 1300px) {\n    left: 30%;\n  }\n\n  @media (min-width: 1400px) {\n    left: 33%;\n  }\n\n  @media (min-width: 1500px) {\n    left: 35%;\n  }\n"]);return I=function(){return n},n}function E(){let n=(0,i.Z)(["\n  width: 80%;\n  border-top: 0.1px solid rgba(55, 66, 250, 0.3);\n"]);return E=function(){return n},n}function z(){let n=(0,c.useContext)(a.BreedData),t=(0,r.useRouter)(),{id:e}=t.query,i=null;return(n&&(i=n.find(n=>n._id===e)),i)?(0,o.jsxs)(N,{children:[(0,o.jsxs)(G,{children:[(0,o.jsxs)(T,{href:"#",onClick:()=>t.back(),children:[(0,o.jsx)(x.VG_,{}),"Back"]}),(0,o.jsx)(j.Z,{breedID:i._id})]}),(0,o.jsx)(D,{children:(0,o.jsx)(O,{src:i.image_link,width:600,height:500,alt:i.name})}),(0,o.jsxs)(B,{children:[(0,o.jsx)(L,{children:i.name}),(0,o.jsx)(_,{title:"Height (Female)",min:(2.54*i.min_height_female).toFixed(1),max:(2.54*i.max_height_female).toFixed(1),unit:"centimeters"}),(0,o.jsx)(_,{title:"Height (Male)",min:(2.54*i.min_height_male).toFixed(1),max:(2.54*i.max_height_male).toFixed(1),unit:"centimeters"}),(0,o.jsx)(_,{title:"Weight (Female)",min:(.453592*i.min_weight_female).toFixed(1),max:(.453592*i.max_weight_female).toFixed(1),unit:"kilograms"}),(0,o.jsx)(_,{title:"Weight (Male)",min:(.453592*i.min_weight_male).toFixed(1),max:(.453592*i.max_weight_male).toFixed(1),unit:"kilograms"}),(0,o.jsx)(_,{title:"min. Monthly Cost ~",min:((.7*i.min_weight_female+10)*2).toFixed(2),max:((.6*i.max_weight_male+10)*2).toFixed(2),unit:"euros"}),(0,o.jsx)(_,{title:"Life Expectancy",min:i.min_life_expectancy,max:i.max_life_expectancy,unit:"years"}),(0,o.jsx)(M,{}),(0,o.jsx)(m,{title:"Energy",score:i.energy}),(0,o.jsx)(m,{title:"Good with Children",score:i.good_with_children}),(0,o.jsx)(m,{title:"Good with Other Dogs",score:i.good_with_other_dogs}),(0,o.jsx)(m,{title:"Shedding",score:i.shedding}),(0,o.jsx)(m,{title:"Grooming",score:i.grooming}),(0,o.jsx)(m,{title:"Drooling",score:i.drooling}),(0,o.jsx)(m,{title:"Coat Length",score:i.coat_length}),(0,o.jsx)(m,{title:"Good with Strangers",score:i.good_with_strangers}),(0,o.jsx)(m,{title:"Playfulness",score:i.playfulness}),(0,o.jsx)(m,{title:"Protectiveness",score:i.protectiveness}),(0,o.jsx)(m,{title:"Trainability",score:i.trainability}),(0,o.jsx)(m,{title:"Barking",score:i.barking})]})]}):(0,o.jsx)(Z.Z,{})}e(1664);let N=s.ZP.article.withConfig({componentId:"sc-5e3cb540-0"})(y()),G=s.ZP.header.withConfig({componentId:"sc-5e3cb540-1"})(C()),T=s.ZP.a.withConfig({componentId:"sc-5e3cb540-2"})(k()),D=s.ZP.div.withConfig({componentId:"sc-5e3cb540-3"}
1)(v()),O=(0,s.ZP)(l()).withConfig({componentId:"sc-5e3cb540-4"})(P()),B=s.ZP.section.withConfig({componentId:"sc-5e3cb540-5"})(F()),L=s.ZP.h2.withConfig({componentId:"sc-5e3cb540-6"})(I()),M=s.ZP.hr.withConfig({componentId:"sc-5e3cb540-7"})(E())}},function(n){n.O(0,[90,260,767,774,888,179],function(){return n(n.s=7944)}),_N_E=n.O()}]);

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.