PageSourceSearch

https://dropdepot.com/_next/static/chunks/1459.577b1ca5f5db4ca6.js

js dropdepot.com collected 2026-10-05 19:25:08 UTC 9,271 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1459,2681],{65854:function(e,n,t){"use strict";t.d(n,{T_:function(){return p},oR:function(){return h}});var i=t(31791),r=t(35373),l=t(35669);function o(){let e=(0,i._)(["\n    fragment CertificateParts on Certificate {\n  id\n  certificate_number\n  certificate_url\n  certification {\n    id\n    name\n    description\n    logo {\n      id\n      thumbnail\n      original\n    }\n  }\n}\n    "]);return o=function(){return e},e}function a(){let e=(0,i._)(["\n    fragment CertificationParts on Certification {\n  id\n  name\n  title\n  slug\n  description\n  logo {\n    id\n    thumbnail\n    original\n  }\n  is_active\n  is_environmental\n  created_at\n  updated_at\n}\n    "]);return a=function(){return e},e}function s(){let e=(0,i._)(["\n    fragment PaginatorParts on PaginatorInfo {\n  count\n  currentPage\n  firstItem\n  hasMorePages\n  lastItem\n  lastPage\n  perPage\n  total\n}\n    "]);return s=function(){return e},e}function c(){let e=(0,i._)(["\n    query Certifications($first: Int = 15, $page: Int, $text: String, $is_environmental: Boolean, $is_active: Boolean) {\n  certifications(\n    first: $first\n    page: $page\n    text: $text\n    is_environmental: $is_environmental\n    is_active: $is_active\n  ) {\n    data {\n      ...CertificationParts\n    }\n    paginatorInfo {\n      ...PaginatorParts\n    }\n  }\n}\n    ","\n",""]);return c=function(){return e},e}function d(){let e=(0,i._)(["\n    query Certificates($product_id: ID!, $only_environmental: Boolean, $language: String) {\n  certificates(\n    product_id: $product_id\n    only_environmental: $only_environmental\n    language: $language\n  ) {\n    data {\n      ...CertificateParts\n    }\n  }\n}\n    ",""]);return d=function(){return e},e}let u={},f=(0,r.Ps)(o()),v=(0,r.Ps)(a()),x=(0,r.Ps)(s()),m=(0,r.Ps)(c(),v,x);function p(e){let n={...u,...e};return l.aM(m,n)}let g=(0,r.Ps)(d(),f);function h(e){let n={...u,...e};return l.aM(g,n)}},71459:function(e,n,t){"use strict";t.r(n);var i=t(31549),r=t(98912),l=t(5519),o=t(52681),a=t(1313),s=t(92630),c=t.n(s),d=t(90031),u=t(87153),f=t(22672);n.default=()=>{let{data:e}=(0,r.X9)(),{t:n}=(0,a.$G)("common"),{certificates:t,isLoading:s}=(0,l.X)({product_id:e,only_environmental:!0});return s?(0,i.jsx)(o.default,{text:n("text-loading")}):(0,i.jsxs)("div",{className:"p-8 bg-white rounded-lg max-w-2xl",children:[(0,i.jsxs)("h2",{className:"text-xl font-bold mb-2 flex items-center",children:[(0,i.jsx)("span",{className:"mr-2",children:(0,i.jsx)(d.e,{className:"w-6 h-6 text-teal-600"})}),n("text-environmental-features")]}),(0,i.jsx)("span",{className:"text-sm text-gray-500",children:n("text-environmental-features-description",{count:null==t?void 0:t.length})}),(null==t?void 0:t.length)>0?(0,i.jsxs)("div",{className:"grid grid-cols-1 gap-4 mt-4",children:[null==t?void 0:t.map(e=>{var t,r,l,o,a,s,d;return(0,i.jsxs)("div",{className:"border-t border-gray-200 pt-4 flex flex-col gap-2",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2",children:[(0,i.jsx)("p",{className:"text-lg font-bold",children:null===(t=e.certification)||void 0===t?void 0:t.name}),(0,i.jsx)(c(),{src:null!==(s=null===(l=e.certification)||void 0===l?void 0:null===(r=l.logo)||void 0===r?void 0:r.original)&&void 0!==s?s:"/product-placeholder.svg",alt:null===(o=e.certification)||void 0===o?void 0:o.name,width:60,height:40,className:"object-contain"})]}),(0,i.jsx)(u.Z,{text:null!==(d=null===(a=e.certification)||void 0===a?void 0:a.description)&&void 0!==d?d:"No description available",maxRows:2,compressText:"text-read-more",expandedText:"text-less"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"text-sm font-bold",children:n("text-certificate-number")}),(0,i.jsx)("p",{className:"text-sm",children:e.certificate_number})]}),e.certificate_url&&(0,i.jsxs)("div",{className:"flex items-center gap-2 cursor-pointer font-bold text-sm",onClick:()=>{var n;window.open(null!==(n=e.certificate_url)&&void 0!==n?n:"#","_blank")},children:[(0,i.jsx)("p",{children:n("text-certificate")}),(0,i.jsx)(f.x,{className:"w-4 h-4"})]})]},e.id)}),(0,i.jsxs)("div",{className:"border-t border-gray-200 pt-4 flex gap-2",children:[(0,i.jsx)("p",{children:n("text-discover-environmental-features")}),(0,i.jsx)("span",{className:"text-blue-500 cursor-pointer whitespace-nowrap",onClick:()=>{window.open("https://dropdepot.com/docs/environmental-features","_blank")},children:n("text-see-more")})]},"more")]}):(0,i.jsx)("p",{children:n("text-no-result-found")})]})}},52681:function(e,n,t){"use strict";t.r(n),t.d(n,{SpinnerLoader:function(){return s}});var i=t(31549),r=t(85431),l=t.n(r),o=t(87608),a=t.n(o);let s=e=>{let{className:n}=e;return(0,i.jsx)("span",{className:a()("inline-flex h-5 w-5 animate-spin rounded-full border-2 border-t-2 border-transparent border-t-blue-500",n)})};n.default=e=>{let{className:n,showText:t=!0,text:r="Loading",simple:o}=e;return(0,i.jsx)(i.Fragment,{children:o?(0,i.jsx)("span",{className:a()(n,l().simple_loading)}):(0,i.jsxs)("span",{className:a()("flex h-screen w-full flex-col items-center justify-center",n),children:[(0,i.jsx)("span",{className:l().loading}),t&&(0,i.jsx)("h3",{className:"text-lg font-semibold italic text-body",children:r})]})})}},87153:function(e,n,t){"use strict";var i=t(31549),r=t(44194),l=t(1313);n.Z=e=>{let{text:n,maxRows:t=3,expandedText:o="common:text-less",compressText:a="common:text-show-more",btnClassName:s,onClick:c}=e,{t:d}=(0,l.$G)(),[u,f]=(0,r.useState)(!1),[v,x]=(0,r.useState)(!1),m=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=()=>{let e=m.current;if(!e)return;let n=e.style.maxHeight,i=e.getAttribute("style");e.style.maxHeight="none",i&&e.removeAttribute("style"),x(e.scrollHeight>parseFloat(getComputedStyle(e).lineHeight)*t),e.style.maxHeight=n,i&&e.setAttribute("style",i)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[t,n]);let p=u?{}:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:t,WebkitBoxOrient:"vertical",maxHeight:"".concat(1.5*t,"em")};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:m,className:"custom-list-style",style:p,dangerouslySetInnerHTML:{__html:n}}),v&&(0,i.jsx)("span",{children:(0,i.jsx)("button",{onClick:c||(()=>{f(e=>!e)}),className:"mt-1 inline-block text-blue-600 ".concat(s||""),children:d(u?o:a)})})]})}},5519:function(e,n,t){"use strict";t.d(n,{X:function(){return a},j:function(){return o}});var i=t(23986),r=t(458),l=t(65854);function o(e){var n,t,r,o,a,s;
1let{data:c,loading:d,error:u,fetchMore:f,networkStatus:v}=(0,l.T_)({variables:e,notifyOnNetworkStatusChange:!0,skip:null!==(a=e.skip)&&void 0!==a&&a});return{certifications:null!==(s=null==c?void 0:null===(n=c.certifications)||void 0===n?void 0:n.data)&&void 0!==s?s:[],paginatorInfo:null==c?void 0:null===(t=c.certifications)||void 0===t?void 0:t.paginatorInfo,isLoading:d,error:u,isLoadingMore:v===i.Ie.fetchMore,loadMore:function(){var e,n,t;(null==c?void 0:null===(e=c.certifications)||void 0===e?void 0:e.paginatorInfo.hasMorePages)&&f({variables:{page:(null==c?void 0:null===(t=c.certifications)||void 0===t?void 0:null===(n=t.paginatorInfo)||void 0===n?void 0:n.currentPage)+1}})},hasMore:!!(null==c?void 0:null===(o=c.certifications)||void 0===o?void 0:null===(r=o.paginatorInfo)||void 0===r?void 0:r.hasMorePages)}}function a(e){var n,t;let{product_id:i,only_environmental:o}=e,a=(0,r.Z)(),{data:s,loading:c,error:d}=(0,l.oR)({variables:{language:a,product_id:i,only_environmental:o}});return{certificates:null!==(t=null==s?void 0:null===(n=s.certificates)||void 0===n?void 0:n.data)&&void 0!==t?t:[],isLoading:c,error:d}}},90031:function(e,n,t){"use strict";t.d(n,{e:function(){return r}});var i=t(31549);let r=e=>(0,i.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",ver
1sion:"1.2",baseProfile:"tiny",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,i.jsx)("path",{d:"M20 11c0-4.9-3.499-9.1-8.32-9.983l-.18-.034-.18.033c-4.821.884-8.32 5.084-8.32 9.984 0 4.617 3.108 8.61 7.5 9.795v1.205c0 .553.448 1 1 1s1-.447 1-1v-1.205c4.392-1.185 7.5-5.178 7.5-9.795zm-7.5 7.7v-2.993l4.354-4.354c.195-.195.195-.512 0-.707s-.512-.195-.707 0l-3.647 3.647v-3.586l2.354-2.354c.195-.195.195-.512 0-.707s-.512-.195-.707 0l-1.647 1.647v-3.293c0-.553-.448-1-1-1s-1 .447-1 1v3.293l-1.646-1.647c-.195-.195-.512-.195-.707 0s-.195.512 0 .707l2.354 2.354v3.586l-3.646-3.646c-.195-.195-.512-.195-.707 0s-.195.512 0 .707l4.354 4.354v2.992c-3.249-1.116-5.502-4.179-5.502-7.7 0-3.874 2.723-7.201 6.5-7.981 3.777.78 6.5 4.107 6.5 7.981 0 3.521-2.253 6.584-5.5 7.7z"})})},22672:function(e,n,t){"use strict";t.d(n,{x:function(){return r}});var i=t(31549);let r=e=>(0,i.jsxs)("svg",{stroke:"currentColor",fill:"none",strokeWidth:"2",viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,i.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,i.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]})},85431:function(e){e.exports={loading:"spinner_loading__oxEJH",spin:"spinner_spin__F8IIK",simple_loading:"spinner_simple_loading__9C9C7",pulse:"spinner_pulse__pGk4M"}}}]);

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.