From 2baadbe63dd2cb84e4bed9d9e6ef86aaccbc569e Mon Sep 17 00:00:00 2001 From: ValkyrJS Date: Wed, 16 Oct 2024 17:57:14 +0100 Subject: [PATCH] PerformerDetailsExtended v1.0.1 --- .../PerformerDetailsExtended/PerformerDetailsExtended.js | 2 +- .../PerformerDetailsExtended/PerformerDetailsExtended.yml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/PerformerDetailsExtended/PerformerDetailsExtended.js b/plugins/PerformerDetailsExtended/PerformerDetailsExtended.js index eb3d299..e51b829 100644 --- a/plugins/PerformerDetailsExtended/PerformerDetailsExtended.js +++ b/plugins/PerformerDetailsExtended/PerformerDetailsExtended.js @@ -1,2 +1,2 @@ /*! For license information please see PerformerDetailsExtended.js.LICENSE.txt */ -(()=>{var e={264:(e,t,a)=>{"use strict";a.r(t)},333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GENDERS=void 0,t.GENDERS=["MALE","FEMALE","TRANSGENDER_MALE","TRANSGENDER_FEMALE","INTERSEX","NON_BINARY"]},687:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(942)),{React:r}=window.PluginApi;t.default=e=>r.createElement("div",{id:e.id,className:(0,l.default)("detail-group",e.className),children:e.children})},645:function(e,t){"use strict";var a=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var{additionalData:t,id:l,title:r}=e,o=a(e,["additionalData","id","title"]);const i=o.collapsed?null:":",s=["detail-item",l];return o.wide&&s.push("detail-item-wide"),n.createElement("div",{className:s.join(" ")},n.createElement("span",{className:"detail-item-title "+l},r,i),n.createElement("span",{className:"detail-item-value "+l,"data-value":o.dataValue},n.createElement("span",{className:"performer-"+l},o.value,t?n.createElement("span",{className:"additional-data performer-"+t.id,"data-value":t.dataValue},t.value):null)))}},327:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var t,a,{allTagsQueryResult:l,performer:c}=e,p=n(e,["allTagsQueryResult","performer"]);const{appearsMostWithTagsBlacklist:m,appearsMostWithTagsBlacklistChildren:f,appearsMostWithGendered:g,maximumTops:v,minimumAppearances:h}=p.pluginConfig,y=m.split(",").map((e=>e.trim())),E=[],_=p.scenesQueryResult.scenes.filter((e=>e.performers.length>1));if((m?_.filter((({tags:e})=>!e.map((e=>{if(-1!==y.findIndex((t=>t===e.name.trim())))return!1;if(f)for(const t of y)if(l.tags.find((e=>e.name===t))&&(0,r.tagIsDescendantOf)(l,e.name,t))return!1;return!0})).includes(!1))):_).forEach((e=>{e.performers.forEach((e=>{if(e.id!==c.id){const t=E.findIndex((t=>t.data.id===e.id));-1!==t?E[t].count++:E.push({count:1,data:e})}}))})),E.sort(((e,t)=>t.count-e.count)),0===E.length||E[0].count{var t,a;const n=E.filter((t=>t.data.gender===e));if(0===n.length||n[0].counte.count===l)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))),m=o.map((e=>{const t=(0,r.linkToPartnerProfile)(c,e.data.id);return{data:e.data,scenesLink:t}})),f=(0,r.getGenderFromEnum)(e),g=f?" ("+f+")":"",y=f?"-"+f.toLowerCase().split(" ").join("-"):"",_=o[0].count+" "+(1===o[0].count?"scene":"scenes"),w=o.lengthw){const e=o.map((e=>({data:e.data,link:(0,r.linkToPartnerProfile)(c,e.data.id)})));b.push(u.createElement(s.default,{items:e,overflowAt:w,type:"performer"},u.createElement("span",{className:"top-meta-overflow hoverable"},"and ",o.length-w," more")))}const P=u.createElement("div",{className:"inner-wrapper"},...b);return u.createElement(i.default,{collapsed:p.collapsed,id:"appears-most-with"+y,title:"Appears Most With "+g,value:P,wide:!0,additionalData:{dataValue:l,id:"scene-count",value:_}})}));const w=E[0].count,b=E.filter((e=>e.count===w)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))),P=b.map((e=>{const t=(0,r.linkToPartnerProfile)(c,e.data.id);return{data:e.data,scenesLink:t}})),O=b[0].count+" "+(1===b[0].count?"scene":"scenes"),N=b.lengthN){const e=b.map((e=>({data:e.data,link:(0,r.linkToPartnerProfile)(c,e.data.id)})));T.push(u.createElement(s.default,{items:e,overflowAt:N,type:"performer"},u.createElement("span",{className:"top-meta-overflow hoverable"},"and ",b.length-N," more")))}const R=u.createElement("div",{className:"inner-wrapper"},...T);return u.createElement(i.default,{collapsed:p.collapsed,id:"appears-most-with",title:"Appears Most With",value:R,wide:!0,additionalData:{dataValue:w,id:"scene-count",value:O}})}},138:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>{var t;const a=(null===(t=e.configurationQueryResult.ui)||void 0===t?void 0:t.ratingSystemOptions)||{type:"stars",starPrecision:"full"},{scenes:n}=e.scenesQueryResult,o=n.map((e=>void 0===e.rating100?null:e.rating100)).filter((e=>null!==e));if(!o.length)return null;const i=Math.round(((o.reduce(((e,t)=>(e||0)+(t||0)),0)||0)+Number.EPSILON)/o.length),s="decimal"===a.type?i/10:i/20,u=`${o.length} of ${n.length} rated`;return r.createElement(l.default,{collapsed:e.collapsed,dataValue:s,id:"average-rating",title:"Average Scene Rating",value:s,wide:!0,additionalData:{id:"scenes-rated",value:u}})}},806:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>{const{total_o_count:t}=e.statsQueryResult;if(0===t)return null;let a=0;if(e.scenesQueryResult.scenes.forEach((e=>{void 0!==e.o_counter&&(a+=e.o_counter||0)})),0===a)return null;const n=Math.round(1e4*(a/t+Number.EPSILON))/100,o=`${n}% of ${t} total`;return r.createElement(l.default,{collapsed:e.collapsed,dataValue:a,id:"o-count",title:"O Count",value:a,wide:!0,additionalData:{id:"o-count-of-total",dataValue:n,value:o}})}},740:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>{const{scenes:t}=e.scenesQueryResult,a=t.length;if(a<1)return null;const n=t.filter((e=>e.organized)).length,o=Math.round(100*(n/a+Number.EPSILON)),i=n?{id:"scenes-organized-number",dataValue:o,value:o+"% of "+a}:void 0;return r.createElement(l.default,{collapsed:e.collapsed,dataValue:n,id:"scenes-organized",title:"Scenes Organized",value:n,wide:!0,additionalData:i})}},222:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{PluginApi:r}=window,{React:o}=r;t.default=e=>{var t,a;const{scenesTimespanReverse:n}=e.pluginConfig;if(r.hooks.useLoadComponents([r.loadableComponents.SceneCard]))return null;const{HoverPopover:i,SceneCard:s}=r.components,{scenes:u}=e.scenesQueryResult,d=u.filter((({date:e})=>!!e));if(d.length<2)return null;const c=d[0],p=d[d.length-1],m=n?p:c,f=n?c:p;return o.createElement(l.default,{collapsed:e.collapsed,id:"scenes-timespan",title:"Scenes Timespan",value:o.createElement("div",{className:"inner-wrapper"},o.createElement(i,{placement:"bottom",content:o.createElement(s,{scene:m,compact:!0}),leaveDelay:100},o.createElement("span",{className:"hoverable"},null===(t=m.date)||void 0===t?void 0:t.split("-").join("/"))),o.createElement("span",{className:"separator"},"–"),o.createElement(i,{placement:"bottom",content:o.createElement(s,{scene:f,compact:!0}),leaveDelay:100},o.createElement("span",{className:"hoverable"},null===(a=f.date)||void 0===a?void 0:a.split("-").join("/")))),wide:!0})}},291:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var t,a,l,d,{performer:c}=e,p=n(e,["performer"]);const{maximumTops:m,minimumAppearances:f,topNetworkOn:g}=p.pluginConfig,{studios:v}=p.studiosQueryResult,{scenes:h}=p.scenesQueryResult;if(0===v.length)return null;const y=[];h.forEach((e=>{if(!e.studio)return;const t=y.findIndex((t=>{var a;return t.data.id===(null===(a=e.studio)||void 0===a?void 0:a.id)}));-1!==t?y[t].count++:y.push({count:1,data:e.studio})}));const E=(e,t)=>t.count-e.count,_=y.sort(E);if(0===_.length||_[0].counte.count===w)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))).map((e=>({scenesLink:(0,r.linkToStudioProfile)(c,e.data.id),data:e.data}))),P=w+(1===w?" scene":" scenes"),O=b.lengthO){const e=b.map((e=>({data:e.data,link:(0,r.linkToStudioProfile)(c,e.data.id)})));N.push(s.createElement(i.default,{items:e,overflowAt:O,type:"studio"},s.createElement("span",{className:"top-meta-overflow hoverable"},"and ",b.length-O," more")))}const T=s.createElement("div",{className:"inner-wrapper"},...N);let R=null;if(g){const e=[],t=e=>{if(void 0===e)return;const t=p.studiosQueryResult.studios.find((t=>t.id===e));return(null==t?void 0:t.parent_studio)?t.parent_studio:t};if(h.forEach((a=>{var n;const l=t(null===(n=a.studio)||void 0===n?void 0:n.id);if(!l)return;const r=e.findIndex((e=>e.data.id===l.id));-1!==r?e[r].count++:e.push({count:1,data:l})})),e.length>0){const t=e.sort(E);if(0===t.length||t[0].counte.count===a)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))).map((e=>({scenesLink:`/studios/${e.data.id}/scenes?c=("type":"performers","value":("items":%5B("id":"${c.id}","label":"${encodeURIComponent(c.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`,data:e.data}))),g=a+(1===a?" scene":" scenes"),v=n.lengthv){const e=n.map((e=>({data:e.data,link:(0,r.linkToStudioProfile)(c,e.data.id)})));h.push(s.createElement(i.default,{items:e,overflowAt:v,type:"studio"},s.createElement("span",{className:"top-meta-overflow hoverable"},"and ",n.length-v," more")))}const y=s.createElement("div",{className:"inner-wrapper"},...h);a1?"s":""),value:y,wide:!0,additionalData:{dataValue:a,id:"top-network-scenes",value:g}}))}}return s.createElement(s.Fragment,null,s.createElement(o.default,{collapsed:p.collapsed,id:"top-studio",title:"Top Studio"+(b.length>1?"s":""),value:T,wide:!0,additionalData:{dataValue:w,id:"top-studio-scenes",value:P}}),R)}},182:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var{allTagsQueryResult:t,performer:a}=e,l=n(e,["allTagsQueryResult","performer"]);const{topTagsBlacklist:d,topTagsBlacklistChildren:c,topTagsCount:p,topTagsOn:m}=l.pluginConfig;if(!m)return null;const f=d.split(",").map((e=>e.trim())),g=[];if(l.scenesQueryResult.scenes.forEach((e=>{e.tags.forEach((e=>{if(-1!==f.findIndex((t=>t===e.name.trim())))return;if(c)for(const a of f)if(t.tags.find((e=>e.name===a))&&(0,r.tagIsDescendantOf)(t,e.name,a))return;const a=g.findIndex((t=>t.data.id===e.id));-1!==a?g[a].count++:g.push({count:1,data:e})}))})),g.sort(((e,t)=>t.count-e.count)),!g.length)return null;const v=g.length`/tags/${t}/scenes?c=("type":"performers","value":("items":%5B("id":"${e.id}","label":"${encodeURIComponent(e.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`},959:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=a(730),r=n(a(645)),{React:o}=window.PluginApi;t.default=e=>{const{duration:t,filesize:a}=e.scenesQueryResult;return 0===a?null:o.createElement(r.default,{collapsed:e.collapsed,id:"total-content",title:"Total Content",value:(0,l.createDuration)(t),wide:!0,additionalData:{dataValue:a,id:"total-filesize",value:(0,l.createFilesize)(a)}})}},632:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var{collapsed:t,scenesQueryResult:a}=e,l=n(e,["collapsed","scenesQueryResult"]);const{totalPlayCountOn:u}=l.pluginConfig,{total_play_count:d,total_play_duration:c}=l.statsQueryResult;let p=0,m=0;for(const e of a.scenes)p+=(null==e?void 0:e.play_count)||0,m+=e.play_duration||0;if(0===m)return null;const f={id:"play-duration-percentage",value:`${Math.round(1e4*(m/c+Number.EPSILON))/100}% of ${(0,r.createDuration)(c)} total`},g=u?f:p?{dataValue:p,id:"total-play-count",value:`${p} ${1===p?"play":"plays"}`}:void 0;return i.createElement(i.Fragment,null,i.createElement(o.default,{collapsed:t,dataValue:m,id:"total-play-duration",title:"Total Play Duration",value:(0,r.createDuration)(m),wide:!0,additionalData:g}),i.createElement(s,{collapsed:t,playCount:p,show:u,totalPlayCount:d}))};const s=e=>{var{playCount:t,totalPlayCount:a}=e,l=n(e,["playCount","totalPlayCount"]);if(!l.show)return null;const r={id:"play-count-percentage",value:`${Math.round(1e4*(t/a+Number.EPSILON))/100}% of ${a} total`};return i.createElement(o.default,{collapsed:l.collapsed,dataValue:t,id:"total-play-count",title:"Total Play Count",value:t,wide:!0,additionalData:r})}},638:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>r.createElement(l.default,{collapsed:e.collapsed,id:e.id,title:e.title,value:e.value,wide:e.fullWidth})},382:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(942)),{PluginApi:r}=window,{React:o}=r;t.default=e=>{if(r.hooks.useLoadComponents([r.loadableComponents.SceneCard]))return null;const{HoverPopover:t}=r.components,a=o.createElement(o.Fragment,null,e.items.map((({data:t,link:a},n)=>{var r,i;const s=(0,l.default)("performer-tag-container","row",{"studio-tag-container":"studio"===e.type});return n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const{React:a}=window.PluginApi;t.default=e=>a.createElement("span",{className:"tag-item badge badge-secondary"},a.createElement("a",{href:e.link},e.title))},730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tagIsDescendantOf=t.createOverflowText=t.getGenderFromEnum=t.createFilesize=t.createDuration=t.linkToStudioProfile=t.linkToPartnerProfile=void 0;t.linkToPartnerProfile=(e,t)=>`/performers/${t}/scenes?c=("type":"performers","value":("items":%5B("id":"${e.id}","label":"${encodeURIComponent(e.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`;t.linkToStudioProfile=(e,t)=>`/studios/${t}/scenes?c=("type":"performers","value":("items":%5B("id":"${e.id}","label":"${encodeURIComponent(e.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`;t.createDuration=e=>{const t=Math.floor(e/60),a=Math.floor(t/60),n=Math.floor(a/24);let l="";const r=a%24,o=t%60,i=e%60;return n>0&&(l+=n+" days "),(r||l.length)&&(l+=r+"h "),(o||l.length)&&(l+=o+"m "),l+=Math.floor(i)+"s ",l};t.createFilesize=e=>{const t=a(e),n=a(e/1024);if(n<1)return t+"B";const l=a(n/1024);if(l<1)return n+"KB";const r=a(l/1024);if(r<1)return l+"MB";const o=a(r/1024);return o<1?r+"GB":o+"TB"};t.getGenderFromEnum=e=>{switch(e){case"MALE":return"Male";case"FEMALE":return"Female";case"TRANSGENDER_MALE":return"Transgender male";case"TRANSGENDER_FEMALE":return"Transgender female";case"INTERSEX":return"Intersex";case"NON_BINARY":return"Non-binary"}return null};const a=e=>Math.round(100*(e+Number.EPSILON))/100;t.createOverflowText=(e,t)=>{let a="";for(let n=t;n{var l,r;const o=e.tags.find((e=>e.name===a)),i=e.tags.find((e=>e.name===n));if(o&&i){if(0===o.parent_count)return!1;for(const a of o.parents)return a.id===i.id||(0,t.tagIsDescendantOf)(e,null===(l=e.tags.find((e=>e.name===a.name)))||void 0===l?void 0:l.name,null===(r=e.tags.find((e=>e.name===i.name)))||void 0===r?void 0:r.name)}return!1}},221:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(687)),r=n(a(138)),o=n(a(327)),i=n(a(806)),s=n(a(740)),u=n(a(222)),d=n(a(291)),c=n(a(182)),p=n(a(959)),m=n(a(632)),f=n(a(638)),g=n(a(942));a(264);const{PluginApi:v}=window,{GQL:h,React:y}=v,{LoadingIndicator:E}=v.components;v.patch.instead("PerformerDetailsPanel.DetailGroup",(function(e,t,a){var n,f,v,w,b,P,O,N,T,R,D,S,M,C;const{children:k,collapsed:j,performer:A}=e,x=A.id,Q=h.useConfigurationQuery();if(Q.loading)return[];const I=Q.data.configuration,{compactExpandedDetails:L,showAllDetails:B}=I.ui,$=I.plugins.PerformerDetailsExtended,F={additionalStyling:null!==(n=null==$?void 0:$.additionalStyling)&&void 0!==n&&n,appearsMostWithTagsBlacklist:null!==(f=null==$?void 0:$.appearsMostWithTagsBlacklist)&&void 0!==f?f:"",appearsMostWithTagsBlacklistChildren:null!==(v=null==$?void 0:$.appearsMostWithTagsBlacklistChildren)&&void 0!==v&&v,appearsMostWithGendered:null===(w=null==$?void 0:$.appearsMostWithGendered)||void 0===w||w,maximumTops:null!==(b=null==$?void 0:$.maximumTops)&&void 0!==b?b:3,minimumAppearances:null!==(P=null==$?void 0:$.minimumAppearances)&&void 0!==P?P:2,nativeFakeTitsHeading:null==$?void 0:$.nativeFakeTitsHeading,scenesTimespanReverse:null!==(O=null==$?void 0:$.scenesTimespanReverse)&&void 0!==O&&O,showWhenCollapsed:null!==(N=null==$?void 0:$.showWhenCollapsed)&&void 0!==N?N:B||!1,topNetworkOn:null===(T=null==$?void 0:$.topNetworkOn)||void 0===T||T,topTagsBlacklist:null!==(R=null==$?void 0:$.topTagsBlacklist)&&void 0!==R?R:"",topTagsBlacklistChildren:null!==(D=null==$?void 0:$.topTagsBlacklistChildren)&&void 0!==D&&D,topTagsCount:null!==(S=null==$?void 0:$.topTagsCount)&&void 0!==S?S:3,topTagsOn:null===(M=null==$?void 0:$.topTagsOn)||void 0===M||M,totalPlayCountOn:null!==(C=null==$?void 0:$.totalPlayCountOn)&&void 0!==C&&C},W=y.createElement(l.default,Object.assign({},e,{children:_(k,F,j),className:(0,g.default)({"detail-group-pde-themed":F.additionalStyling})})),G=h.useFindScenesQuery({variables:{filter:{per_page:-1,sort:"date"},scene_filter:{performers:{modifier:"INCLUDES",value:[x]}}}}),V=h.useFindTagsQuery({variables:{filter:{per_page:-1,sort:"id"}}}),z=h.useFindStudiosQuery({variables:{filter:{per_page:-1,sort:"id"},studio_filter:{scenes_filter:{performers:{modifier:"INCLUDES",value:[x]}}}}}),U=h.useStatsQuery(),H=G.loading||V.loading||U.loading||z.loading,X=j||!!L,Y=!j||F.showWhenCollapsed;if(H&&Y)return[y.createElement(y.Fragment,null,W,y.createElement(E,{card:!0,message:"Loading extended details..."}))];if(H||!Y)return[W];const K=G.data.findScenes,q=V.data.findTags,J=U.data.stats,Z=z.data.findStudios;return[y.createElement(y.Fragment,null,W,y.createElement(l.default,{id:"performerDetailsExtended",className:(0,g.default)("performer-details-extended",{"detail-group-pde-themed":F.additionalStyling})},y.createElement(r.default,{collapsed:X,configurationQueryResult:I,performer:A,scenesQueryResult:K}),y.createElement(o.default,{allTagsQueryResult:q,collapsed:X,performer:A,pluginConfig:F,scenesQueryResult:K}),y.createElement(d.default,{collapsed:X,performer:A,pluginConfig:F,scenesQueryResult:K,studiosQueryResult:Z}),y.createElement(p.default,{collapsed:X,scenesQueryResult:K}),y.createElement(m.default,{collapsed:X,pluginConfig:F,scenesQueryResult:K,statsQueryResult:J}),y.createElement(u.default,{collapsed:X,pluginConfig:F,scenesQueryResult:K}),y.createElement(s.default,{collapsed:X,scenesQueryResult:K}),y.createElement(i.default,{collapsed:X,scenesQueryResult:K,statsQueryResult:J}),y.createElement(c.default,{allTagsQueryResult:q,collapsed:j,performer:A,pluginConfig:F,scenesQueryResult:K})))]}));const _=(e,t,a)=>e.map((e=>{if("fake_tits"===(null==e?void 0:e.props.id)&&t.nativeFakeTitsHeading){const n={collapsed:a,fullWidth:e.props.fullWidth,id:e.props.id,title:t.nativeFakeTitsHeading,value:e.props.value};return y.createElement(f.default,Object.assign({},n))}return e}))},942:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e="",t=0;t{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};a(221)})(); \ No newline at end of file +(()=>{var e={264:(e,t,a)=>{"use strict";a.r(t)},333:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GENDERS=void 0,t.GENDERS=["MALE","FEMALE","TRANSGENDER_MALE","TRANSGENDER_FEMALE","INTERSEX","NON_BINARY"]},687:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(942)),{React:r}=window.PluginApi;t.default=e=>r.createElement("div",{id:e.id,className:(0,l.default)("detail-group",e.className),children:e.children})},645:function(e,t){"use strict";var a=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var{additionalData:t,id:l,title:r}=e,o=a(e,["additionalData","id","title"]);const i=o.collapsed?null:":",s=["detail-item",l];return o.wide&&s.push("detail-item-wide"),n.createElement("div",{className:s.join(" ")},n.createElement("span",{className:"detail-item-title "+l},r,i),n.createElement("span",{className:"detail-item-value "+l,"data-value":o.dataValue},n.createElement("span",{className:"performer-"+l},o.value,t?n.createElement("span",{className:"additional-data performer-"+t.id,"data-value":t.dataValue},t.value):null)))}},327:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var t,a,{allTagsQueryResult:l,performer:c}=e,p=n(e,["allTagsQueryResult","performer"]);const{appearsMostWithTagsBlacklist:m,appearsMostWithTagsBlacklistChildren:f,appearsMostWithGendered:g,maximumTops:v,minimumAppearances:h}=p.pluginConfig,y=m.split(",").map((e=>e.trim())),E=[],_=p.scenesQueryResult.scenes.filter((e=>e.performers.length>1));if((m?_.filter((({tags:e})=>!e.map((e=>{if(-1!==y.findIndex((t=>t===e.name.trim())))return!1;if(f)for(const t of y)if(l.tags.find((e=>e.name===t))&&(0,r.tagIsDescendantOf)(l,e.name,t))return!1;return!0})).includes(!1))):_).forEach((e=>{e.performers.forEach((e=>{if(e.id!==c.id){const t=E.findIndex((t=>t.data.id===e.id));-1!==t?E[t].count++:E.push({count:1,data:e})}}))})),E.sort(((e,t)=>t.count-e.count)),0===E.length||E[0].count{var t,a;const n=E.filter((t=>t.data.gender===e));if(0===n.length||n[0].counte.count===l)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))),m=o.map((e=>{const t=(0,r.linkToPartnerProfile)(c,e.data.id);return{data:e.data,scenesLink:t}})),f=(0,r.getGenderFromEnum)(e),g=f?" ("+f+")":"",y=f?"-"+f.toLowerCase().split(" ").join("-"):"",_=o[0].count+" "+(1===o[0].count?"scene":"scenes"),b=o.lengthb){const e=o.map((e=>({data:e.data,link:(0,r.linkToPartnerProfile)(c,e.data.id)})));w.push(u.createElement(s.default,{items:e,overflowAt:b,type:"performer"},u.createElement("span",{className:"top-meta-overflow hoverable"},"and ",o.length-b," more")))}const P=u.createElement("div",{className:"inner-wrapper"},...w);return u.createElement(i.default,{collapsed:p.collapsed,id:"appears-most-with"+y,title:"Appears Most With "+g,value:P,wide:!0,additionalData:{dataValue:l,id:"scene-count",value:_}})}));const b=E[0].count,w=E.filter((e=>e.count===b)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))),P=w.map((e=>{const t=(0,r.linkToPartnerProfile)(c,e.data.id);return{data:e.data,scenesLink:t}})),O=w[0].count+" "+(1===w[0].count?"scene":"scenes"),N=w.lengthN){const e=w.map((e=>({data:e.data,link:(0,r.linkToPartnerProfile)(c,e.data.id)})));R.push(u.createElement(s.default,{items:e,overflowAt:N,type:"performer"},u.createElement("span",{className:"top-meta-overflow hoverable"},"and ",w.length-N," more")))}const T=u.createElement("div",{className:"inner-wrapper"},...R);return u.createElement(i.default,{collapsed:p.collapsed,id:"appears-most-with",title:"Appears Most With",value:T,wide:!0,additionalData:{dataValue:b,id:"scene-count",value:O}})}},138:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>{var t;const a=(null===(t=e.configurationQueryResult.ui)||void 0===t?void 0:t.ratingSystemOptions)||{type:"stars",starPrecision:"full"},{scenes:n}=e.scenesQueryResult,o=n.map((e=>void 0===e.rating100?null:e.rating100)).filter((e=>null!==e));if(!o.length)return null;const i=Math.round(((o.reduce(((e,t)=>(e||0)+(t||0)),0)||0)+Number.EPSILON)/o.length),s="decimal"===a.type?i/10:i/20,u=`${o.length} of ${n.length} rated`;return r.createElement(l.default,{collapsed:e.collapsed,dataValue:s,id:"average-rating",title:"Average Scene Rating",value:s,wide:!0,additionalData:{id:"scenes-rated",value:u}})}},806:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>{const{total_o_count:t}=e.statsQueryResult;if(0===t)return null;let a=0;if(e.scenesQueryResult.scenes.forEach((e=>{void 0!==e.o_counter&&(a+=e.o_counter||0)})),0===a)return null;const n=Math.round(1e4*(a/t+Number.EPSILON))/100,o=`${n}% of ${t} total`;return r.createElement(l.default,{collapsed:e.collapsed,dataValue:a,id:"o-count",title:"O Count",value:a,wide:!0,additionalData:{id:"o-count-of-total",dataValue:n,value:o}})}},740:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{React:r}=window.PluginApi;t.default=e=>{const{scenes:t}=e.scenesQueryResult,a=t.length;if(a<1)return null;const n=t.filter((e=>e.organized)).length,o=Math.round(100*(n/a+Number.EPSILON)),i=n?{id:"scenes-organized-number",dataValue:o,value:o+"% of "+a}:void 0;return r.createElement(l.default,{collapsed:e.collapsed,dataValue:n,id:"scenes-organized",title:"Scenes Organized",value:n,wide:!0,additionalData:i})}},222:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(645)),{PluginApi:r}=window,{React:o}=r;t.default=e=>{var t,a;const{scenesTimespanReverse:n}=e.pluginConfig;if(r.hooks.useLoadComponents([r.loadableComponents.SceneCard]))return null;const{HoverPopover:i,SceneCard:s}=r.components,{scenes:u}=e.scenesQueryResult,d=u.filter((({date:e})=>!!e));if(d.length<2)return null;const c=d[0],p=d[d.length-1],m=n?p:c,f=n?c:p;return o.createElement(l.default,{collapsed:e.collapsed,id:"scenes-timespan",title:"Scenes Timespan",value:o.createElement("div",{className:"inner-wrapper"},o.createElement(i,{placement:"bottom",content:o.createElement(s,{scene:m,compact:!0}),leaveDelay:100},o.createElement("span",{className:"hoverable"},null===(t=m.date)||void 0===t?void 0:t.split("-").join("/"))),o.createElement("span",{className:"separator"},"–"),o.createElement(i,{placement:"bottom",content:o.createElement(s,{scene:f,compact:!0}),leaveDelay:100},o.createElement("span",{className:"hoverable"},null===(a=f.date)||void 0===a?void 0:a.split("-").join("/")))),wide:!0})}},291:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var t,a,l,d,{performer:c}=e,p=n(e,["performer"]);const{maximumTops:m,minimumAppearances:f,topNetworkOn:g}=p.pluginConfig,{studios:v}=p.studiosQueryResult,{scenes:h}=p.scenesQueryResult;if(0===v.length)return null;const y=[];h.forEach((e=>{if(!e.studio)return;const t=y.findIndex((t=>{var a;return t.data.id===(null===(a=e.studio)||void 0===a?void 0:a.id)}));-1!==t?y[t].count++:y.push({count:1,data:e.studio})}));const E=(e,t)=>t.count-e.count,_=y.sort(E);if(0===_.length||_[0].counte.count===b)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))).map((e=>({scenesLink:(0,r.linkToStudioProfile)(c,e.data.id),data:e.data}))),P=b+(1===b?" scene":" scenes"),O=w.lengthO){const e=w.map((e=>({data:e.data,link:(0,r.linkToStudioProfile)(c,e.data.id)})));N.push(s.createElement(i.default,{items:e,overflowAt:O,type:"studio"},s.createElement("span",{className:"top-meta-overflow hoverable"},"and ",w.length-O," more")))}const R=s.createElement("div",{className:"inner-wrapper"},...N);let T=null;if(g){const e=[],t=e=>{if(void 0===e)return;const t=p.studiosQueryResult.studios.find((t=>t.id===e));return(null==t?void 0:t.parent_studio)?t.parent_studio:t};if(h.forEach((a=>{var n;const l=t(null===(n=a.studio)||void 0===n?void 0:n.id);if(!l)return;const r=e.findIndex((e=>e.data.id===l.id));-1!==r?e[r].count++:e.push({count:1,data:l})})),e.length>0){const t=e.sort(E);if(0===t.length||t[0].counte.count===a)).sort(((e,t)=>e.data.name.localeCompare(t.data.name,"en"))).map((e=>({scenesLink:`/studios/${e.data.id}/scenes?c=("type":"performers","value":("items":%5B("id":"${c.id}","label":"${encodeURIComponent(c.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`,data:e.data}))),g=a+(1===a?" scene":" scenes"),v=n.lengthv){const e=n.map((e=>({data:e.data,link:(0,r.linkToStudioProfile)(c,e.data.id)})));h.push(s.createElement(i.default,{items:e,overflowAt:v,type:"studio"},s.createElement("span",{className:"top-meta-overflow hoverable"},"and ",n.length-v," more")))}const y=s.createElement("div",{className:"inner-wrapper"},...h);a1?"s":""),value:y,wide:!0,additionalData:{dataValue:a,id:"top-network-scenes",value:g}}))}}return s.createElement(s.Fragment,null,s.createElement(o.default,{collapsed:p.collapsed,id:"top-studio",title:"Top Studio"+(w.length>1?"s":""),value:R,wide:!0,additionalData:{dataValue:b,id:"top-studio-scenes",value:P}}),T)}},182:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var{allTagsQueryResult:t,performer:a}=e,l=n(e,["allTagsQueryResult","performer"]);const{topTagsBlacklist:d,topTagsBlacklistChildren:c,topTagsCount:p,topTagsOn:m}=l.pluginConfig;if(!m)return null;const f=d.split(",").map((e=>e.trim())),g=[];if(l.scenesQueryResult.scenes.forEach((e=>{e.tags.forEach((e=>{if(-1!==f.findIndex((t=>t===e.name.trim())))return;if(c)for(const a of f)if(t.tags.find((e=>e.name===a))&&(0,r.tagIsDescendantOf)(t,e.name,a))return;const a=g.findIndex((t=>t.data.id===e.id));-1!==a?g[a].count++:g.push({count:1,data:e})}))})),g.sort(((e,t)=>t.count-e.count)),!g.length)return null;const v=g.length`/tags/${t}/scenes?c=("type":"performers","value":("items":%5B("id":"${e.id}","label":"${encodeURIComponent(e.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`},959:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=a(730),r=n(a(645)),{React:o}=window.PluginApi;t.default=e=>{const{duration:t,filesize:a}=e.scenesQueryResult;return 0===a?null:o.createElement(r.default,{collapsed:e.collapsed,id:"total-content",title:"Total Content",value:(0,l.createDuration)(t),wide:!0,additionalData:{dataValue:a,id:"total-filesize",value:(0,l.createFilesize)(a)}})}},632:function(e,t,a){"use strict";var n=this&&this.__rest||function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(n=Object.getOwnPropertySymbols(e);l{var{collapsed:t,scenesQueryResult:a}=e,l=n(e,["collapsed","scenesQueryResult"]);const{totalPlayCountOn:u}=l.pluginConfig,{total_play_count:d,total_play_duration:c}=l.statsQueryResult;let p=0,m=0;for(const e of a.scenes)p+=(null==e?void 0:e.play_count)||0,m+=e.play_duration||0;if(0===m)return null;const f={id:"play-duration-percentage",value:`${Math.round(1e4*(m/c+Number.EPSILON))/100}% of ${(0,r.createDuration)(c)} total`},g=u?f:p?{dataValue:p,id:"total-play-count",value:`${p} ${1===p?"play":"plays"}`}:void 0;return i.createElement(i.Fragment,null,i.createElement(o.default,{collapsed:t,dataValue:m,id:"total-play-duration",title:"Total Play Duration",value:(0,r.createDuration)(m),wide:!0,additionalData:g}),i.createElement(s,{collapsed:t,playCount:p,show:u,totalPlayCount:d}))};const s=e=>{var{playCount:t,totalPlayCount:a}=e,l=n(e,["playCount","totalPlayCount"]);if(!l.show)return null;const r={id:"play-count-percentage",value:`${Math.round(1e4*(t/a+Number.EPSILON))/100}% of ${a} total`};return i.createElement(o.default,{collapsed:l.collapsed,dataValue:t,id:"total-play-count",title:"Total Play Count",value:t,wide:!0,additionalData:r})}},382:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(942)),{PluginApi:r}=window,{React:o}=r;t.default=e=>{if(r.hooks.useLoadComponents([r.loadableComponents.SceneCard]))return null;const{HoverPopover:t}=r.components,a=o.createElement(o.Fragment,null,e.items.map((({data:t,link:a},n)=>{var r,i;const s=(0,l.default)("performer-tag-container","row",{"studio-tag-container":"studio"===e.type});return n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const{React:a}=window.PluginApi;t.default=e=>a.createElement("span",{className:"tag-item badge badge-secondary"},a.createElement("a",{href:e.link},e.title))},730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tagIsDescendantOf=t.createOverflowText=t.getGenderFromEnum=t.createFilesize=t.createDuration=t.linkToStudioProfile=t.linkToPartnerProfile=void 0;t.linkToPartnerProfile=(e,t)=>`/performers/${t}/scenes?c=("type":"performers","value":("items":%5B("id":"${e.id}","label":"${encodeURIComponent(e.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`;t.linkToStudioProfile=(e,t)=>`/studios/${t}/scenes?c=("type":"performers","value":("items":%5B("id":"${e.id}","label":"${encodeURIComponent(e.name)}")%5D,"excluded":%5B%5D),"modifier":"INCLUDES")`;t.createDuration=e=>{const t=Math.floor(e/60),a=Math.floor(t/60),n=Math.floor(a/24);let l="";const r=a%24,o=t%60,i=e%60;return n>0&&(l+=n+" days "),(r||l.length)&&(l+=r+"h "),(o||l.length)&&(l+=o+"m "),l+=Math.floor(i)+"s ",l};t.createFilesize=e=>{const t=a(e),n=a(e/1024);if(n<1)return t+"B";const l=a(n/1024);if(l<1)return n+"KB";const r=a(l/1024);if(r<1)return l+"MB";const o=a(r/1024);return o<1?r+"GB":o+"TB"};t.getGenderFromEnum=e=>{switch(e){case"MALE":return"Male";case"FEMALE":return"Female";case"TRANSGENDER_MALE":return"Transgender male";case"TRANSGENDER_FEMALE":return"Transgender female";case"INTERSEX":return"Intersex";case"NON_BINARY":return"Non-binary"}return null};const a=e=>Math.round(100*(e+Number.EPSILON))/100;t.createOverflowText=(e,t)=>{let a="";for(let n=t;n{var l,r;const o=e.tags.find((e=>e.name===a)),i=e.tags.find((e=>e.name===n));if(o&&i){if(0===o.parent_count)return!1;for(const a of o.parents)return a.id===i.id||(0,t.tagIsDescendantOf)(e,null===(l=e.tags.find((e=>e.name===a.name)))||void 0===l?void 0:l.name,null===(r=e.tags.find((e=>e.name===i.name)))||void 0===r?void 0:r.name)}return!1}},221:function(e,t,a){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(a(687)),r=n(a(138)),o=n(a(327)),i=n(a(806)),s=n(a(740)),u=n(a(222)),d=n(a(291)),c=n(a(182)),p=n(a(959)),m=n(a(632)),f=n(a(942));a(264);const{PluginApi:g}=window,{GQL:v,React:h}=g,{LoadingIndicator:y}=g.components;g.patch.instead("PerformerDetailsPanel.DetailGroup",(function(e,t,a){var n,g,E,_,b,w,P,O,N,R,T,D,S,M;const{collapsed:C,performer:k}=e,j=k.id,A=v.useConfigurationQuery();if(A.loading)return[];const x=A.data.configuration,{compactExpandedDetails:Q,showAllDetails:I}=x.ui,L=x.plugins.PerformerDetailsExtended,B={additionalStyling:null!==(n=null==L?void 0:L.additionalStyling)&&void 0!==n&&n,appearsMostWithTagsBlacklist:null!==(g=null==L?void 0:L.appearsMostWithTagsBlacklist)&&void 0!==g?g:"",appearsMostWithTagsBlacklistChildren:null!==(E=null==L?void 0:L.appearsMostWithTagsBlacklistChildren)&&void 0!==E&&E,appearsMostWithGendered:null===(_=null==L?void 0:L.appearsMostWithGendered)||void 0===_||_,maximumTops:null!==(b=null==L?void 0:L.maximumTops)&&void 0!==b?b:3,minimumAppearances:null!==(w=null==L?void 0:L.minimumAppearances)&&void 0!==w?w:2,scenesTimespanReverse:null!==(P=null==L?void 0:L.scenesTimespanReverse)&&void 0!==P&&P,showWhenCollapsed:null!==(O=null==L?void 0:L.showWhenCollapsed)&&void 0!==O?O:I||!1,topNetworkOn:null===(N=null==L?void 0:L.topNetworkOn)||void 0===N||N,topTagsBlacklist:null!==(R=null==L?void 0:L.topTagsBlacklist)&&void 0!==R?R:"",topTagsBlacklistChildren:null!==(T=null==L?void 0:L.topTagsBlacklistChildren)&&void 0!==T&&T,topTagsCount:null!==(D=null==L?void 0:L.topTagsCount)&&void 0!==D?D:3,topTagsOn:null===(S=null==L?void 0:L.topTagsOn)||void 0===S||S,totalPlayCountOn:null!==(M=null==L?void 0:L.totalPlayCountOn)&&void 0!==M&&M},$=h.createElement(l.default,Object.assign({},e,{className:(0,f.default)({"detail-group-pde-themed":B.additionalStyling})})),F=v.useFindScenesQuery({variables:{filter:{per_page:-1,sort:"date"},scene_filter:{performers:{modifier:"INCLUDES",value:[j]}}}}),G=v.useFindTagsQuery({variables:{filter:{per_page:-1,sort:"id"}}}),V=v.useFindStudiosQuery({variables:{filter:{per_page:-1,sort:"id"},studio_filter:{scenes_filter:{performers:{modifier:"INCLUDES",value:[j]}}}}}),W=v.useStatsQuery(),z=F.loading||G.loading||W.loading||V.loading,U=C||!!Q,H=!C||B.showWhenCollapsed;if(z&&H)return[h.createElement(h.Fragment,null,$,h.createElement(y,{card:!0,message:"Loading extended details..."}))];if(z||!H)return[$];const X=F.data.findScenes,Y=G.data.findTags,K=W.data.stats,q=V.data.findStudios;return[h.createElement(h.Fragment,null,$,h.createElement(l.default,{id:"performerDetailsExtended",className:(0,f.default)("performer-details-extended",{"detail-group-pde-themed":B.additionalStyling})},h.createElement(r.default,{collapsed:U,configurationQueryResult:x,performer:k,scenesQueryResult:X}),h.createElement(o.default,{allTagsQueryResult:Y,collapsed:U,performer:k,pluginConfig:B,scenesQueryResult:X}),h.createElement(d.default,{collapsed:U,performer:k,pluginConfig:B,scenesQueryResult:X,studiosQueryResult:q}),h.createElement(p.default,{collapsed:U,scenesQueryResult:X}),h.createElement(m.default,{collapsed:U,pluginConfig:B,scenesQueryResult:X,statsQueryResult:K}),h.createElement(u.default,{collapsed:U,pluginConfig:B,scenesQueryResult:X}),h.createElement(s.default,{collapsed:U,scenesQueryResult:X}),h.createElement(i.default,{collapsed:U,scenesQueryResult:X,statsQueryResult:K}),h.createElement(c.default,{allTagsQueryResult:Y,collapsed:C,performer:k,pluginConfig:B,scenesQueryResult:X})))]}))},942:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e="",t=0;t{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};a(221)})(); \ No newline at end of file diff --git a/plugins/PerformerDetailsExtended/PerformerDetailsExtended.yml b/plugins/PerformerDetailsExtended/PerformerDetailsExtended.yml index f9dee5b..9d876e0 100644 --- a/plugins/PerformerDetailsExtended/PerformerDetailsExtended.yml +++ b/plugins/PerformerDetailsExtended/PerformerDetailsExtended.yml @@ -1,7 +1,7 @@ name: Performer Details Extended description: Displays additional metadata on performer pages, such as their most regular scene partners, top studio, and total play duration. Requires Stash v0.27.0 or higher. url: https://github.com/Valkyr-JS/PerformerDetailsExtended -version: 1.0.0 +version: 1.0.1 ui: javascript: - PerformerDetailsExtended.js @@ -32,10 +32,6 @@ settings: displayName: Minimum number of appearances description: The minimum number of appearances a performer needs to have had with a partner/studio/network in order to show the data. The default value is 2. type: NUMBER - nativeFakeTitsHeading: - displayName: Replace "Fake Tits" item heading - description: Replaces the "Fake Tits" heading in the native Stash interface with the provided text. - type: STRING scenesTimespanReverse: displayName: Reverse Scenes Timespan description: When enabled, the Scenes Timespan will display as "newest scene - oldest scene", instead of the default "oldest scene - newest scene".