PageSourceSearch

https://inserted.com/_next/static/chunks/2337-de385de17019c7cd.js

js inserted.com collected 2026-10-06 03:48:10 UTC 9,819 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2337],{10286:(e,t,a)=>{a.d(t,{A:()=>p});var s=a(6029),r=a(55729),l=a(50999),n=a(66314),i=a(45345);function p(e){let{contents:t,contents_display_total:a,models:p,tags:c,keyword:o,handlePageChange:d,variant:g,result_scenes:h,result_photos:x,result_models:m,result_tags:u,is_video:j,hide_mobile_search_field:v,has_photos:P,photos:w,show_tags:I,hide_models:_,onTabChange:$}=e,[N,f]=(0,r.useState)(e.active_tab||""),[b,C]=(0,r.useState)({width:0,height:0});(0,r.useEffect)(()=>{function e(){let{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function t(){C(e())}return 0==b.width&&0==b.height&&C(e()),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]);let[k,T]=(0,r.useState)(!1),y=(0,r.useMemo)(()=>({searchOn:k,setSearchOn:T}),[k]),S=e.is_episodes||!1,F=e.playlists||null,E=!!F,W=e.result_series||null;(0,r.useEffect)(()=>{e.active_tab?f(e.active_tab):_||N||!(p.total>=1)?F?.total>=1?f("series"):f("scenes"):f("models")},[p.total,t.total,F?.total,e.active_tab]);let J=e=>{f(e),$&&$(e)},G=e.container,L=e.pagination_prev_text,z=e.pagination_first_text,A=e.pagination_next_text,R=e.pagination_last_text,D=e.custom_videos_label,M=e.custom_models_label,B=e.search_results_text||"Search results for",H=e.search_results_subtext||null,O=e.no_results_title||"No results found!",V=e.no_results_message||"We couldn't find anything, please try another keyword.",q=e.hide_sorter||!1,K=e.pagination_range||12,Q=e.hide_first_last_pages||!1;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:`${G||"container-2 container"} content-items`,children:[b.width<=767&&(0,s.jsx)(s.Fragment,{children:!v&&(0,s.jsx)(n.o7.Provider,{value:y,children:(0,s.jsx)("div",{className:"search-page-header-wrap",children:(0,s.jsx)(n.ng,{ga:i,hide_menu:!0})})})}),(0,s.jsxs)("div",{className:"row search-results",children:[o.length>0&&(0,s.jsxs)("div",{className:"item-title",children:[(0,s.jsxs)("h1",{className:"section-title","data-ypp":`Search results for: ${o}`,children:[B,": ",(0,s.jsx)("span",{className:"keyword",children:o})]}),H]}),!q&&(0,s.jsx)("div",{className:"col-xs-6 items-sorter-wrap",children:(0,s.jsxs)("ul",{className:"items-sorter",children:[E&&(0,s.jsx)("li",{className:`${0!=parseInt(F.total)&&"series"==N?"active":""} ${0===parseInt(F.total)?"disabled":""}`,children:(0,s.jsx)("a",{className:"btn-fx to-preload",onClick:()=>J("series"),children:(0,s.jsxs)("span",{"data-hover":`Series: ${F.total}`,children:["Series: ",F.total]})})}),(0,s.jsx)("li",{className:`${0!=parseInt(t.total)&&"scenes"==N?"active":""} ${0===parseInt(t.total)?"disabled":""}`,children:(0,s.jsx)("a",{className:"btn-fx to-preload",onClick:()=>J("scenes"),children:(0,s.jsxs)("span",{"data-hover":`Scenes: ${t.total}`,children:[j?"Videos":S?"Episodes":D||"Scenes",": ",a||t.total]})})}),!_&&(0,s.jsx)("li",{className:`${0!=parseInt(p.total)&&"models"==N?"active":""} ${0===parseInt(p.total)?"disabled":""}`,children:(0,s.jsx)("a",{className:"btn-fx to-preload",onClick:()=>J("models"),children:(0,s.jsxs)("span",{"data-hover":` Models: ${p.total}`,children:[" ",M||"Models",": ",p.total]})})}),!0==P&&(0,s.jsx)("li",{className:`${0!=parseInt(p.total)&&"photos"==N?"active":""} ${0===parseInt(w.total)?"disabled":""}`,children:(0,s.jsx)("a",{className:"btn-fx to-preload",onClick:()=>J("photos"),children:(0,s.jsxs)("span",{"data-hover":` Photos: ${w.total}`,children:[" Photos: ",w.total]})})}),I&&(0,s.jsx)("li",{className:`${0!=parseInt(c.total)&&"tags"==N?"active":""} ${0===parseInt(c.total)?"disabled":""}`,children:(0,s.jsx)("a",{className:"btn-fx to-preload",onClick:()=>J("tags"),children:(0,s.jsxs)("span",{"data-hover":`Tags: ${c.total}`,children:[" Tags: ",c.total]})})})]})})]}),"series"==N&&E&&(0,s.jsxs)(s.Fragment,{children:[W,0===parseInt(F.total)&&(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"no-result text-center",children:[(0,s.jsx)("p",{className:"no-result-title",children:O}),(0,s.jsx)("p",{children:V})]})}),parseInt(F.total)>parseInt(F.per_page)&&(0,s.jsx)("div",{className:"pagination-wrap text-center",children:(0,s.jsx)(l.A,{activePage:parseInt(F.page),itemsCountPerPage:parseInt(F.per_page),totalItemsCount:parseInt(F.total),pageRangeDisplayed:K,onChange:d,itemClass:"page-item",linkClass:"page-link",prevPageText:L,firstPageText:z,nextPageText:A,lastPageText:R,hideFirstLastPages:Q})})]}),"scenes"==N&&(0,s.jsxs)(s.Fragment,{children:[h,0===parseInt(t.total)&&(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"no-result text-center",children:[(0,s.jsx)("p",{className:"no-result-title",children:O}),(0,s.jsx)("p",{children:V})]})}),parseInt(t.total)>parseInt(t.per_page)&&(0,s.jsx)("div",{className:"pagination-wrap text-center",children:(0,s.jsx)(l.A,{activePage:parseInt(t.page),itemsCountPerPage:parseInt(t.per_page),totalItemsCount:parseInt(t.total),pageRangeDisplayed:K,onChange:d,itemClass:"page-item",linkClass:"page-link",prevPageText:L,firstPageText:z,nextPageText:A,lastPageText:R,hideFirstLastPages:Q})})]}),!_&&"models"==N&&(0,s.jsxs)(s.Fragment,{children:[m,parseInt(p.total)>parseInt(p.per_page)&&(0,s.jsx)("div",{className:"pagination-wrap",children:(0,s.jsx)(l.A,{activePage:parseInt(p.page),itemsCountPerPage:parseInt(p.per_page),totalItemsCount:parseInt(p.total),pageRangeDisplayed:K,onChange:d,itemClass:"page-item",linkClass:"page-link",prevPageText:L,firstPageText:z,nextPageText:A,lastPageText:R,hideFirstLastPages:Q})})]}),!0==P&&"photos"==N&&(0,s.jsxs)(s.Fragment,{children:[x,0===parseInt(w.total)&&(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"no-result text-center",children:[(0,s.jsx)("p",{className:"no-result-title",children:O}),(0,s.jsx)("p",{children:V})]})}),parseInt(w.total)>parseInt(w.per_page)&&(0,s.jsx)("div",{className:"pagination-wrap text-center",children:(0,s.jsx)(l.A,{activePage:parseInt(w.page),itemsCountPerPage:parseInt(w.per_page),totalItemsCount:parseInt(w.total),pageRangeDisplayed:K,onChange:d,itemClass:"page-item",linkClass:"page-link",prevPageText:L,firstPageText:z,nextPageText:A,lastPageText:R,hideFirstLastPages:Q})})]}),I&&"tags"==N&&(0,s.jsxs)(s.Fragment,{children:[u,0===parseInt(c.total)&&(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"no-result text-center",children:[(0,s.jsx)("p",{className:"no-result-title",children:"No results found!"}),(0,s.jsx)("p",{children:"We couldn't find anything, please try another keyword."})]})}),parseInt(c.total)>parseInt(c.per_page)&&(0,s.jsx)("div",{className:"pagination-wrap text-center",children:(0,s.jsx)(l.A,{activePage:parseInt(c.page),itemsCountPerPage:parseInt(c.per_page),totalItemsCount:parseInt(c.total),pageRangeDisplayed:K,onChange:d,itemClass:"page-item",linkClass:"page-link",prevPageText:L,firstPageText:z,nextPageText:A,lastPageText:R,hideFirstLastPages:Q})})]})]})})}a(78696)},32856:(e,t,a)=>{a.d(t,{J:()=>n});var s=a(6029),r=a(55729),l=a(73009);let n=e=>{var t;let a=e.autothumb,n=e.isSFW||!1,i=e.col||3,p=e.maxWidth||0,c=e.className||"",o=e.imageMaxWidth,d=e.orientation||"landscape",g=e.width||"landscape"==d?16:7,h=e.height||"landscape"==d?9:10,x=e.sizes||[p||1920,1200,600],m=((e,t,a,s)=>{if(s)return[s.split("x")[0].replace("-c","")];let r=t||3,l=e.sort((e,t)=>
1t-e);return l.map(e=>{if(1!==t||a||console.warn("Setting 1 as column value will set the largest image to width 1920px. When using 1 column provide imageMaxWidth prop with your desired width or get the rendered image size from your browser dev tools. To get optimal image sizes, please provide column value greater than 1."),1==r)return e>a?a:e;if(e>l[l.length-1]&&r>1){let t=e/(r+1);return r>1&&r--,t}if(l[l.length-1]<=e&&r>1)return .7*l[l.length-1]})})(x,i,o,a),u=a?e.src.replace(".jpg",`${a}.jpg`).replace(".JPG",`${a}.JPG`).replace(".png",`${a}.png`).replace(".jpeg",`${a}.jpeg`):e.src,j=n?(0,l.i5)(e.sfwSrc,u):u,{srcSet:v,sizesStr:P}=(t=e.src,{srcSet:((e,t,a)=>{if(a)return{src:[e.replace(".jpg",`${a}.jpg`).replace(".JPG",`${a}.JPG`).replace(".png",`${a}.png`).replace(".jpeg",`${a}.jpeg`)],webp:[e.replace(".jpg",`${a}.webp`).replace(".JPG",`${a}.WEBP`).replace(".png",`${a}.webp`).replace(".jpeg",`${a}.webp`)]};let s=t.sort((e,t)=>e-t),r=s.map(t=>`${e.replace(".jpg",`-${t}x0.webp`).replace(".JPG",`-${t}x0.WEBP`).replace(".png",`-${t}x0.webp`).replace(".jpeg",`-${t}x0.webp`)}`);return{src:s.map(t=>`${e.replace(".jpg",`-${t}x0.jpg`).replace(".jpeg",`-${t}x0.jpeg`).replace(".JPG",`-${t}x0.JPG`).replace(".png",`-${t}x0.png`)}`),webp:r}})(t,m,a),sizesStr:((e,t)=>{if(t)return[`(max-width: ${t.split("x")[0].replace("-c","")}px)`];let a=e.sort((e,t)=>e-t);return a.map(e=>e===a[a.length-1]?`(min-width: ${a[1]+1}px)`:`(max-width: ${e}px)`)})(x,a)}),[w,I]=(e=>{let[t,a]=(0,r.useState)(!1),s=(0,r.useRef)(null);return[t,(0,r.useCallback)(t=>{s.current&&s.current.disconnect(),t&&(s.current=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(a(!0),s.current.disconnect())})},e),s.current.observe(t))},[e])]})({threshold:.05}),[_,$]=(0,r.useState)(!0);return a&&a.split("x")[0].replace("-c",""),a&&a.split("x")[1].replace("-c",""),(0,s.jsxs)("picture",{children:[!n&&w&&e.src.includes(".jpg")?v.webp.map((e,t)=>(0,s.jsx)("source",{srcSet:e,type:"image/webp",media:a?null:P[t]},t)):null,!n&&w?v.src.map((e,t)=>(0,s.jsx)("source",{srcSet:e,type:e.includes(".png")?"image/png":"image/jpeg",media:a?null:P[t]},t)):null,(0,s.jsx)("img",{ref:I,src:w?j:`https://c745a37d96.mjedge.net/placeholder/placeholder-${g}x${h}.png`,alt:e.alt,className:w&&!_?c:"yppimage",width:w?"100%":a?a.split("x")[0].replace("-c",""):g,height:w?"auto":a?a.split("x")[1].replace("-c",""):h,loading:"lazy",onLoad:()=>{$(!1)},style:w?{width:"100%"}:{opacity:0,width:"100%"}})]})}},73009:(e,t,a)=>{a.d(t,{i5:()=>s.i5});var s=a(80852)}}]);

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.