1import{aP as $,cZ as v,bA as B,ba as R,bb as E,aT as x,bi as I,aZ as m,aV as d,a_ as _,bw as w,aW as b,aU as N,d2 as A,d3 as D,dS as C,b4 as L,b1 as V}from"./DqUoKSZT.js";import{R as M}from"./DmVsXH6P.js";import{R as U}from"./DGoTsuF-.js";import{_ as j}from"./DKqqQUIz.js";import{_ as W}from"./BfPc9dOr.js";import{T as Z}from"./kUwWI_zE.js";import"./D6ib26MG.js";import"./COl0qh72.js";import"./iIAdkhjK.js";import"./Csta6Wv8.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"5e0fb5f8cfa644e65037bca5f9960ea76b3077d0"};var l=new n.Error().stack;l&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[l]="47436d5a-e1e6-49d5-831c-d006132db8f7",n._sentryDebugIdIdentifier="sentry-dbid-47436d5a-e1e6-49d5-831c-d006132db8f7")}catch{}})();const K={class:"filter-runtime"},Y={class:"filter-toolbar"},q={class:"title"},z={class:"jw-padding"},G={style:{display:"flex","flex-flow":"wrap"}},g=0,u=150,ne=$({__name:"FilterRuntime",props:{collectionType:{},currentFilters:{}},setup(n){const l=n,h=v(),F=B(),a=L(),s=[30,45,60,90,120,150],i=V(()=>({lower:l.currentFilters.min_runtime||g,upper:l.currentFilters.max_runtime||u}));function P(e){const{min_runtime:r,max_runtime:t}=l.currentFilters,o=r===e.lower&&t===e.upper,c=e.upper===s[0]&&t===e.upper,f=e.lower===s.slice(-1)[0]&&r===e.lower,p=o||f?null:e.lower,T=o||c?null:e.upper;k([p,T],e.key,!0)}function k(e,r,t=!1){let o=1;(e[0]===g||!e[0])&&(e[1]===u||!e[1])&&(o=0);const c={rangeName:"runtime",trackingKey:r,upper:e[1]<u?e[1]:null,lower:e[0]?e[0]:null,selectedState:o,isPremiumFilter:!0};if(t){const p=e[0];c.lower=p>s[0]?p:null}const f=F.setRange(c);y({lower:c.lower,upper:c.upper}),f&&h.push(f)}function S(e){let r="m",t="",o="";return e===s[0]&&(t="<"),e===s[s.length-1]&&(o="+"),e>=60&&(e=e/60,r="h"),`${t}${e}${r}${o}`}function y(e){a.value=[e.lower,e.upper]}return R(i,e=>{y(e)}),R(a,()=>{a.value[1]===i.value.upper&&a.value[0]===i.value.lower||k(a.value,"knob")}),E(()=>{y(i.value)}),(e,r)=>(x(),I(j,null,{default:m(()=>[d("div",K,[d("div",Y,[d("span",q,[_(w(e.$t("WEBAPP_RUNTIME"))+" ",1),b(W)]),b(U,{filterNames:["min_runtime","max_runtime"]})]),d("div",z,[b(M,{class:"range",modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=t=>a.value=t),min:g,max:u},{start:m(()=>[_(w(g))]),end:m(()=>[_(w(`${u/60} h+`),1)]),_:1},8,["modelValue"]),d("div",G,[(x(),N(A,null,D(s,t=>b(Z,{class:"filter-content-runtime__button",active:i.value.lower===t&&i.value.upper===t||i.value.upper===s[0]&&t===s[0],key:t,icon:"jw-check-icon",onClick:C(o=>P({lower:t,upper:t,key:t.toString()}),["prevent"])},{default:m(()=>[_(w(S(t)),1)]),_:2},1032,["active","onClick"])),64))])])])]),_:1}))}});export{ne as default}; 2//# sourceMappingURL=C3nSqW_n.js.map
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.