PageSourceSearch

https://storyloop.com/_next/static/chunks/7055-ec20050d6031f322.js

js storyloop.com collected 2026-10-08 07:23:14 UTC 38,099 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7055],{72397:function(e,l,i){var s=i(85893),t=i(67294);i(40500);var n=i(26787),o=i(89942);l.Z=e=>{let{productId:l,productName:i,onProductAdded:d}=e,[r,a]=(0,t.useState)([]),[c,h]=(0,t.useState)(""),{addProductToCollection:u,wishlist:p,fetchWishlist1:v}=(0,o.Z)(),[x,m]=(0,t.useState)(null),[j,w]=(0,t.useState)(!1),{closeAddIntoCollection:g}=(0,t.useContext)(n.t),f=(0,t.useRef)(null);(0,t.useEffect)(()=>{v(),b();let e=e=>{f.current&&!f.current.contains(e.target)&&g()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[m]);let b=async()=>{let e=localStorage.getItem("wishlist"),l=e?JSON.parse(e):[];if("undefined"==typeof localStorage)return!1;a(l);let i=localStorage.getItem("selectedCollectionId");if(i)m(Number(i));else{let e=l.find(e=>e.is_favorite);e&&m(e.id)}},k=async()=>{let e=localStorage.getItem("token");if(!c.trim()){x&&u(x,l,d),g();return}if(c.trim())try{let i=await fetch("".concat("https://storyloop.com/wp-json","/").concat("wp/v2","/user/wishlists?title=").concat(c),{method:"POST",headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok)throw Error("Failed to create collection");let s=await i.json();u(s.id,l,d),h(""),localStorage.setItem("selectedCollectionId",String(s.id))}catch(e){console.error("Error:",e)}else x&&u(x,l,d);g()};return(0,s.jsx)("div",{className:"info-popup info-active",id:"add-collection-popup",children:(0,s.jsx)("div",{className:"info-popup-outer",children:(0,s.jsxs)("div",{className:"info-popup-wrapper",ref:f,children:[" ",(0,s.jsxs)("div",{className:"info-popup-header",children:[(0,s.jsx)("h6",{children:i}),(0,s.jsx)("a",{href:"javascript:void(0)",className:"info-close",onClick:g,children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,s.jsx)("path",{d:"M15 5L5 15",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M5 5L15 15",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}),(0,s.jsx)("div",{className:"login-popup-form",children:(0,s.jsxs)("div",{className:"info-popup-form",children:[(0,s.jsx)("h3",{children:"Add to Collection"}),(0,s.jsxs)("div",{className:"form-row",children:[(0,s.jsxs)("div",{className:"form-column full-column",children:[(0,s.jsx)("label",{className:"collection name",children:"Select Collection"}),j?(0,s.jsx)("p",{children:"Loading collections..."}):(0,s.jsx)("div",{className:"select",children:(0,s.jsxs)("select",{className:"input-field",onChange:e=>{let l=Number(e.target.value);m(l),localStorage.setItem("selectedCollectionId",String(l))},value:x||"",defaultValue:"",children:[(0,s.jsx)("option",{value:"",disabled:!0,children:"Select Collection"}),r.map(e=>(0,s.jsx)("option",{value:e.id,children:e.title},e.id))]})})]}),(0,s.jsx)("div",{className:"form-column full-column",children:(0,s.jsx)("div",{className:"divider",children:(0,s.jsx)("span",{children:"OR"})})}),(0,s.jsxs)("div",{className:"form-column full-column",children:[(0,s.jsx)("label",{className:"collection name",children:"Create New Collection"}),(0,s.jsx)("div",{className:"input-column",children:(0,s.jsx)("input",{className:"input-field",type:"text",placeholder:"New Collection",value:c,onChange:e=>h(e.target.value)})})]})]}),(0,s.jsx)("div",{className:"info-popup-form-footer",children:(0,s.jsx)("button",{type:"button",className:"primary-btn info-close",onClick:k,children:"Save"})})]})})]})})})}},27661:function(e,l,i){var s=i(85893),t=i(67294),n=i(26787),o=i(54847),d=i(27569),r=i(11163),a=i(9595);l.Z=e=>{let l,i,{ID:c,can_download:h,product:u,price:p}=e,[v,x]=(0,t.useState)(!1),[m,j]=(0,t.useState)(!1),[w,g]=(0,t.useState)(!1),[f,b]=(0,t.useState)(!1),{addToCart:k,openDownloadPopup:C,SetMessageOfAlertPopup:N,SetHeadingOfAlertPopup:_,openAlertPopup:y,changeLoadingEffectState:Z}=(0,t.useContext)(n.t),L=(0,d.Fb)(c),S=(0,r.useRouter)();localStorage.getItem("token")&&(l=S.asPath.includes("type/freebie")),S.asPath.includes("type/freebie")&&(i=!0);let P=Array.isArray(u)?u[0]:u,M=i||(null==P?void 0:P.price)===0||0===p;(0,t.useEffect)(()=>{let e="false",l="false";l=localStorage.getItem("is_subscribed"),e=localStorage.getItem("access_all"),null===l&&(l="false"),"false"===l?x(!1):x(!0),"true"===e?j(!0):j(!1)},[]);let E=async()=>{let e=new AbortController,{signal:l}=e;try{let e="".concat("https://storyloop.com/wp-json","/").concat("wp/v2","/products/download-options/").concat(c),m=localStorage.getItem("token"),j={"Content-Type":"application/json"};m&&(j.Authorization="Bearer ".concat(m));let w=await fetch(e,{method:"GET",headers:j,signal:l}),g=w.headers.get("content-type");if(g&&g.includes("application/json")){var i,s,t,n,d,r,a,h,u,p,v,x;let e=await w.json();if((null==e?void 0:null===(i=e.download_options)||void 0===i?void 0:i.length)===0)Z(!1),_("Alert"),N("No download options available"),y();else if(void 0!==c){if((null==e?void 0:null===(t=e.download_options[0])||void 0===t?void 0:null===(s=t.assets)||void 0===s?void 0:s.length)===1){let l=await (0,o.y)({slug:null==e?void 0:e.slug,name:null==e?void 0:e.title,id:c,filename:null==e?void 0:null===(d=e.download_options[0])||void 0===d?void 0:null===(n=d.assets[
10])||void 0===n?void 0:n.filename,url:null==e?void 0:null===(a=e.download_options[0])||void 0===a?void 0:null===(r=a.assets[0])||void 0===r?void 0:r.url,detail:null==e?void 0:null===(u=e.download_options[0])||void 0===u?void 0:null===(h=u.assets[0])||void 0===h?void 0:h.name,type:(null==e?void 0:null===(p=e.download_options[0])||void 0===p?void 0:p.slug)?null==e?void 0:null===(v=e.download_options[0])||void 0===v?void 0:v.slug:"0",typeName:null==e?void 0:null===(x=e.download_options[0])||void 0===x?void 0:x.category}),i=null==l?void 0:l.url,s=document.createElement("a");s.href=i,s.setAttribute("download",""),document.body.appendChild(s),s.click(),document.body.removeChild(s)}else Z(!0),C(null==e?void 0:e.download_options,null==e?void 0:e.title,null==e?void 0:e.slug,c)}}else console.error("Unexpected content-type: ",g)}catch(e){l.aborted||console.error("Error while fetching the API: ",e)}finally{Z(!1)}return()=>{e.abort()}};return(0,s.jsxs)(s.Fragment,{children:[m||l||h?(0,s.jsx)("div",{onClick:()=>{Z(!0),E()},style:{cursor:"pointer",display:"flex",alignItems:"center"},children:(0,s.jsx)("svg",{width:"20",height:"24",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"svg-hover",children:(0,s.jsx)("path",{d:"M6.66675 10.0008L10.0001 13.3342M10.0001 13.3342L13.3334 10.0008M10.0001 13.3342V5.66749C10.0001 4.50857 10.0001 3.92911 9.54132 3.28032C9.2365 2.84926 8.3589 2.31722 7.83573 2.24634C7.04832 2.13966 6.74931 2.29564 6.15127 2.60761C3.48619 3.99785 1.66675 6.78686 1.66675 10.0008C1.66675 14.6032 5.39771 18.3342 10.0001 18.3342C14.6025 18.3342 18.3334 14.6032 18.3334 10.0008C18.3334 6.91631 16.6576 4.22322 14.1667 2.78234",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}):i?M&&(0,s.jsx)("div",{className:"add-btn",onClick:()=>{g(!0)},children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:L?"rgba(235, 127, 94, 1)":"none",children:[(0,s.jsx)("path",{d:"M2.5 5.00033H18.3333L15.8333 13.3337H5L2.5 5.00033ZM2.5 5.00033L1.875 2.91699",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M8.95825 9.16667H10.6249M10.6249 9.16667H12.2916M10.6249 9.16667V7.5M10.6249 9.16667V10.8333",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.16675 16.25C9.16675 16.9403 8.60708 17.5 7.91675 17.5C7.22639 17.5 6.66675 16.9403 6.66675 16.25",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M14.1667 16.25C14.1667 16.9403 13.6071 17.5 12.9167 17.5C12.2264 17.5 11.6667 16.9403 11.6667 16.25",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})}):(0,s.jsx)("div",{className:"add-btn",onClick:e=>{e.preventDefault(),k(c)},children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:L?"rgba(235, 127, 94, 1)":"none",children:[(0,s.jsx)("path",{d:"M2.5 5.00033H18.3333L15.8333 13.3337H5L2.5 5.00033ZM2.5 5.00033L1.875 2.91699",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M8.95825 9.16667H10.6249M10.6249 9.16667H12.2916M10.6249 9.16667V7.5M10.6249 9.16667V10.8333",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.16675 16.25C9.16675 16.9403 8.60708 17.5 7.91675 17.5C7.22639 17.5 6.66675 16.9403 6.66675 16.25",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M14.1667 16.25C14.1667 16.9403 13.6071 17.5 12.9167 17.5C12.2264 17.5 11.6667 16.9403 11.6667 16.25",stroke:L?"rgba(235, 127, 94, 1)":"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),w&&(0,s.jsx)(a.Z,{onClose:()=>g(!1)})]})}},76937:function(e,l,i){i.d(l,{N:function(){return o}});var s=i(85893),t=i(67294),n=i(50549);i(58862);let o=e=>{let{height:l,width:i,dynamicCount:o=!1}=e,[d,r]=(0,t.useState)(1),a=()=>{let e=window.innerWidth;e>1780?r(4):e>768?r(3):e>600?r(2):r(1)};return((0,t.useEffect)(()=>
1{if(o)return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}},[o]),o)?(0,s.jsx)("div",{className:"product-grid skeleton-gap",style:{marginBottom:"5px"},children:Array.from({length:d}).map((e,t)=>(0,s.jsx)("div",{className:"slider-item",children:(0,s.jsxs)("div",{className:"slider-item-outer",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsx)(n.Z,{height:l,width:i,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column",children:[(0,s.jsx)("h6",{children:(0,s.jsx)(n.Z,{width:"60%",baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})}),(0,s.jsx)("span",{children:(0,s.jsx)(n.Z,{width:"40%",baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)(n.Z,{circle:!0,height:30,width:30,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"}),(0,s.jsx)(n.Z,{circle:!0,height:30,width:30,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})]})]})]})},t))}):(0,s.jsx)("div",{className:"slider-item",children:(0,s.jsxs)("div",{className:"slider-item-outer",children:[(0,s.jsx)("div",{className:"graphic-wrapper skeleton-top",children:(0,s.jsx)(n.Z,{height:l,width:i,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column",children:[(0,s.jsx)("h6",{children:(0,s.jsx)(n.Z,{width:"60%",baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})}),(0,s.jsx)("span",{children:(0,s.jsx)(n.Z,{width:"40%",baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)(n.Z,{circle:!0,height:30,width:30,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"}),(0,s.jsx)(n.Z,{circle:!0,height:30,width:30,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})]})]})]})})}},67055:function(e,l,i){i.r(l);var s=i(85893),t=i(67294),n=i(25675),o=i.n(n),d=i(46066),r=i(41664),a=i.n(r),c=i(76937),h=i(38212),u=i(26787),p=i(72397),v=i(89942),x=i(11163),m=i(81458),j=i(9334),w=i(50549);i(58862);var g=i(54151),f=i(9134),b=i(27661),k=i(27569),C=i(90534);l.default=()=>{let[e,l]=(0,t.useState)(!0),[i,n]=(0,t.useState)(0),[r,N]=(0,t.useState)([]),[_,y]=(0,t.useState)([]),Z=[(0,t.useRef)(null),(0,t.useRef)(null)],[L,S]=(0,t.useState)(!0),[P,M]=(0,t.useState)(!1),[E,I]=(0,t.useState)(!1),[R,W]=(0,t.useState)(!1),{openAddIntoCollection:T,showAddIntoCollection:z,setTheProductID:B,productID:A,setTheProductName:V,productName:H,openDownloadPopup:D,showDownloadPopup:F,showAlertPopup:O}=(0,t.useContext)(u.t),{fetchWishlist1:G,isProductInWishlist1:U,handleDeleteProductFromCollection:Y}=(0,v.Z)(),J=(0,x.useRouter)(),q=(e,l)=>{U(e)?Y(e):(B(e),V(l),T())},K=e=>{let l=Z[e].current;l&&l.slickNext()},Q=e=>{let l=Z[e].current;l&&l.slickPrev()},X=async()=>{let e=localStorage.getItem("token");try{let i=await fetch("".concat("https://storyloop.com/wp-json","/").concat("wp/v2","/account/files"),{method:"GET",headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}});if(i.ok){let e=await i.json();N(e.recent_downloads),y(e.recent_purchases),l(!1)}else console.error("API response not ok:",i.status),403===i.status?(f.Am.error("Session has expired. Please log in again."),J.push("/")):alert("Error: ".concat(i.status," ").concat(i.statusText))}catch(e){console.error("Error fetching data:",e)}},$={dots:!1,arrows:!1,infinite:!1,speed:500,slidesToShow:3,slidesToScroll:3,centerPadding:"10%",autoplaySpeed:3e3,autoplay:!1,responsive:[{breakpoint:1200,settings:{slidesToShow:2,slidesToScroll:2,speed:500}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2,autoplay:!0,infinite:!0,speed:500}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,autoplay:!1,infinite:!0,speed:500}}]},ee={dots:!1,arrows:!1,infinite:!1,speed:500,slidesToShow:3,slidesToScroll:3,centerPadding:"10%",autoplaySpeed:3e3,autoplay:!1,responsive:[{breakpoint:1200,settings:{slidesToShow:2,slidesToScroll:2,speed:500}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2,autoplay:!0,infinite:!0,speed:500}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,autoplay:!0,infinite:!0,speed:500,autoplaySpeed:9e3}}]},[el,ei]=(0,t.useState)(new Map),es=(e,l)=>{if(!e||0===e.length)return null;let i=null;for(let t of e){var s;let e=null!==(s=t.term_id)&&void 0!==s?s:t.id,n=l.get(e);n&&(!i||n.rank<i.rank)&&(i=n)}return i};(0,t.useEffect)(()=>{(0,C.u)().then(e=>{ei((0,C.p)(e))})},[]),(0,t.useEffect)(()=>{X(),G()},[]),(0,t.useEffect)(()=>{let e=()=>{S(window.innerWidth>=600)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let et=e=>{let l=r.length||0;return e>=1200&&l<=3||e<1200&&e>=600&&l<=2||e<600&&l<=1},en=e=>{let l=_.length||0;return e>=1200&&l<=3||e<1200&&e>=600&&l<=2||e<600&&l<=1};function eo(e){return null==e?void 0:e.replace(/\b(\w)/g,e=>e.toUpperCase())}return(0,t.useEffect)(()=>{let e=()=>{M(et(window.innerWidth))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[r]),(0,t.useEffect)(()=>{let e=()=>{I(en(window.innerWidth))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[_]),(0,t.useEffect)(()=>{let e=()=>{W(window.innerWidth<=767)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.jsxs)("section",{className:"account-section",children:[(0,s.jsxs)("div",{className:"account-container",children:[(0,s.jsx)(h.Z,{}),(0,s.jsxs)("div",{className:"file-wrapper",children:[(0,s.jsxs)("div",{className:"file-header",children:[(0,s.jsx)("h2",{className:"custom-heading",children:"Files"}),(0,s.jsx)("p",{})]}),(0,s.jsxs)("div",{className:"latest-collections spacer-margin",children:[(0,s.jsxs)("div",{className:"section-header-collection",children:[e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w.Z,{width:"100%",baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})," ",(0,s.jsx)(w.Z,{width:"100%",height:15,baseColor:"#4a4a4a",highlightColor:"#6a6a6a"})]}):r.length>0?(0,s.jsx)("h3",{children:"Recent Downloads"}):(0,s.jsx)("p",{children:"You don't have any downloads yet"}),!P&&(0,s.jsxs)("div",{className:"slider-arrows",children:[(0,s.jsx)("button",{className:"prev-btn ".concat(0===i?"slick-disabled":""),onClick:()=>Q(0),disabled:0===i,style:{display:R?"none":""},children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,s.jsx)("path",{d:"M12.8332 7.00033H1.99984M6.99984 1.16699L1.1665 7.00033L6.99984 12.8337",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("button",{className:"next-btn ".concat(i>=6-$.slidesToShow?"slick-disabled":""),onClick:()=>K(0),disabled:i>=6-$.slidesToShow,style:{display:R?"none":""},children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,s.jsx)("path",{d:"M1.1665 7.00033H11.9998M6.99984 1.16699L12.8332 7.00033L6.99984 12.8337",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(a(),{href:"/account/files/recent-downloads",className:"secondary-btn",style:{display:R?"block":""},children:"View All"})]})]}),(0,s.jsx)("div",{children:e?(0,s.jsx)("div",{className:"product-grid",children:Array.from({length:3}).map((e,l)=>(0,s.jsx)(c.N,{height:200,width:680,dynamicCount:!0},l))}):1===r.length?(0,s.jsx)("div",{className:"product-grid",children:r.slice(0,6).map(e=>{var l,i,t;let n=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item",children:(0,s.jsxs)("div",{className:"slider-item-outer",children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url),children:(0,s.jsxs)("span",{className:"by-title",children:[n&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(n.url),children:[(null==e?void 0:e.post_parent)===0?(null==n?void 0:n.plural_label)||(null==n?void 0:n.name):(null==n?void 0:n.singular_label)||(null==n?void 0:n.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.url)||""),children:null==e?void 0:null===(t=e.producer)||void 0===t?void 0:t.name})]})})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)})}):2===r.length?L?(0,s.jsxs)(d.Z,{ref:Z[0],...$,afterChange:e=>n(e),children:[r.slice(0,6).map(e=>{var l,i,t;let n=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item slick-slider",children:(0,s.jsxs)("div",{className:"slider-item-outer",style:{marginRight:L?"16px":""},children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",tabIndex:0,children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||"",children:(0,s.jsxs)("span",{className:"by-title",children:[n&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(n.url),children:[(null==e?void 0:e.post_parent)===0?(null==n?void 0:n.plural_label)||(null==n?void 0:n.name):(null==n?void 0:n.singular_label)||(null==n?void 0:n.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.url)||""),children:null==e?void 0:null===(t=e.producer)||void 0===t?void 0:t.name})]})})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)}),(0,s.jsx)("div",{className:"slide empty-slide"},48327483274)]}):(0,s.jsx)(d.Z,{ref:Z[0],...$,afterChange:e=>n(e),children:r.slice(0,6).map(e=>{var l,i;let t=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item slick-slider",children:(0,s.jsxs)("div",{className:"slider-item-outer",style:{marginRight:L?"16px":""},children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",tabIndex:0,children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsxs)("span",{className:"by-title",children:[t&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(t.url),children:[(null==e?void 0:e.post_parent)===0?(null==t?void 0:t.plural_label)||(null==t?void 0:t.name):(null==t?void 0:t.singular_label)||(null==t?void 0:t.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||""),children:null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.name})]})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)})}):(0,s.jsx)(d.Z,{ref:Z[0],...$,afterChange:e=>n(e),children:r.slice(0,6).map(e=>{var l,i;let t=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item slick-slider",children:(0,s.jsxs)("div",{className:"slider-item-outer",style:{marginRight:L?"16px":""},children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",tabIndex:0,children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.download_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsxs)("span",{className:"by-title",children:[t&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(t.url),children:[(null==e?void 0:e.post_parent)===0?(null==t?void 0:t.plural_label)||(null==t?void 0:t.name):(null==t?void 0:t.singular_label)||(null==t?void 0:t.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||""),children:null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.name})]})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.p
1ost_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)})})})]}),(0,s.jsxs)("div",{className:"latest-collections spacer-margin",children:[(0,s.jsxs)("div",{className:"section-header-collection",children:[_.length>0&&(0,s.jsx)("h3",{children:"Purchases"}),!E&&(0,s.jsxs)("div",{className:"slider-arrows",children:[(0,s.jsx)("button",{className:"prev-btn ".concat(0===i?"slick-disabled":""),onClick:()=>Q(1),disabled:0===i,style:{display:R?"none":""},children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,s.jsx)("path",{d:"M12.8332 7.00033H1.99984M6.99984 1.16699L1.1665 7.00033L6.99984 12.8337",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("button",{className:"next-btn ".concat(i>=_.length-$.slidesToShow?"slick-disabled":""),onClick:()=>K(1),disabled:i>=6-$.slidesToShow,style:{display:R?"none":""},children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,s.jsx)("path",{d:"M1.1665 7.00033H11.9998M6.99984 1.16699L12.8332 7.00033L6.99984 12.8337",stroke:"#181818",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(a(),{href:"/account/files/purchases",className:"secondary-btn",style:{display:R?"block":""},children:"View All"})]})]}),(0,s.jsx)("div",{children:e?(0,s.jsx)("div",{className:"product-grid",children:Array.from({length:3}).map((e,l)=>(0,s.jsx)(c.N,{height:200,width:540},l))}):1===_.length?(0,s.jsx)("div",{className:"product-grid",children:_.slice(0,6).map(e=>{var l,i;let t=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item",children:(0,s.jsxs)("div",{className:"slider-item-outer",children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsxs)("span",{className:"by-title",children:[t&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(t.url),children:[(null==e?void 0:e.post_parent)===0?(null==t?void 0:t.plural_label)||(null==t?void 0:t.name):(null==t?void 0:t.singular_label)||(null==t?void 0:t.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||""),children:null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.name})]})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)})}):2===_.length?L?(0,s.jsxs)(d.Z,{ref:Z[1],...ee,afterChange:e=>n(e),children:[_.slice(0,6).map(e=>{var l,i;let t=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item slick-slider",children:(0,s.jsxs)("div",{className:"slider-item-outer",style:{marginRight:L?"16px":""},children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",tabIndex:0,children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsxs)("span",{className:"by-title",children:[t&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(t.url),children:[(null==e?void 0:e.post_parent)===0?(null==t?void 0:t.plural_label)||(null==t?void 0:t.name):(null==t?void 0:t.singular_label)||(null==t?void 0:t.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||""),children:null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.name})]})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)}),(0,s.jsx)("div",{className:"slide empty-slide"},48327483274)]}):(0,s.jsx)(d.Z,{ref:Z[1],...ee,afterChange:e=>n(e),children:_.slice(0,6).map(e=>{var l,i;let t=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item slick-slider",children:(0,s.jsxs)("div",{className:"slider-item-outer",style:{marginRight:L?"16px":""},children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",tabIndex:0,children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsxs)("span",{className:"by-title",children:[t&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(t.url),children:[(null==e?void 0:e.post_parent)===0?(null==t?void 0:t.plural_label)||(null==t?void 0:t.name):(null==t?void 0:t.singular_label)||(null==t?void 0:t.name)," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||""),children:null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.name})]})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)})}):(0,s.jsx)(d.Z,{ref:Z[1],...ee,afterChange:e=>n(e),children:_.slice(0,6).map(e=>{var l,i;let t=es(null==e?void 0:e.types,el);return(0,s.jsx)("div",{className:"slider-item slick-slider",children:(0,s.jsxs)("div",{className:"slider-item-outer",style:{marginRight:L?"16px":""},children:[(0,s.jsx)("div",{className:"graphic-wrapper",children:(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",tabIndex:0,children:(0,s.jsx)(o(),{src:e.thumbnail,alt:null==e?void 0:e.post_title,width:1024,height:576,loading:"lazy"})})}),(0,s.jsxs)("div",{className:"slide-content",children:[(0,s.jsxs)("div",{className:"content-column link-style",children:[(0,s.jsx)(a(),{href:(0,j.ZP)(null==e?void 0:e.purchase_url)||"",children:(0,s.jsx)("h6",{children:eo(null==e?void 0:e.post_title)})}),(0,s.jsxs)("span",{className:"by-title",children:[t&&(0,s.jsxs)("a",{className:"link-style type-title",href:(0,j.ZP)(t.url),children:[(null==e?void 0:e.post_parent)===0?t.plural_label:t.singular_label," "]}),(0,s.jsx)("span",{className:"by-text",children:"by"})," ",(0,s.jsx)("a",{href:(0,j.ZP)((null==e?void 0:null===(l=e.producer)||void 0===l?void 0:l.url)||""),children:null==e?void 0:null===(i=e.producer)||void 0===i?void 0:i.name})]})]}),(0,s.jsxs)("div",{className:"slide-btns",children:[(0,s.jsx)("a",{className:"wishlist-btn ".concat(U(e.product_id)?"filled":""),onClick:()=>q(null==e?void 0:e.product_id,(0,k.aV)(null==e?void 0:e.post_title)),children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"none"),children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99437 4.27985C8.32825 2.332 5.54987 1.80804 3.46233 3.59168C1.37478 5.37532 1.08089 8.35748 2.72025 10.467C4.08326 12.2209 8.20823 15.9201 9.56017 17.1174C9.71142 17.2513 9.78705 17.3183 9.87526 17.3446C9.95225 17.3676 10.0365 17.3676 10.1135 17.3446C10.2017 17.3183 10.2773 17.2513 10.4286 17.1174C11.7805 15.9201 15.9055 12.2209 17.2685 10.467C18.9079 8.35748 18.6498 5.35656 16.5264 3.59168C14.403 1.8268 11.6605 2.332 9.99437 4.27985Z",stroke:"".concat(U(e.product_id)?"rgba(235, 127, 94, 1)":"white"),strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)(b.Z,{ID:e.product_id,can_download:!0})]})]})]})},e.product_id)})})})]})]}),z&&(0,s.jsx)(p.Z,{productId:A,onProductAdded:()=>{G()},productName:H}),O&&(0,s.jsx)(g.Z,{message:"You don't have any downloads yet"})]}),F&&(0,s.jsx)(m.Z,{})]})}}}]);

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.