1import{c0 as u}from"./BI_O_UAr.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new i.Error().stack;c&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[c]="16903ae0-a4c3-4f64-a3b3-bf77ca2ca07c",i._sentryDebugIdIdentifier="sentry-dbid-16903ae0-a4c3-4f64-a3b3-bf77ca2ca07c")}catch{}})();function a(){return{removeListRecordByKey:(r,e)=>{let t={};for(const o in r)Object.hasOwn(r,o)&&o!==e&&(t[o]=r[o]);return t},pluck:(r,e,t=!1)=>{const o=r.map(n=>n[e]);return t?o.filter((n,s,d)=>d.indexOf(n)===s):o}}}const g={dest:["where"],sortPrice:["sort"],sortName:["sort"]};function f(){const i=r=>{let e={};const t=u(),o=new Set;for(const n of r){if(n in t.query){e[n]=t.query[n];continue}for(const s of g[n]??[])if(s in t.query&&!o.has(s)){e[n]=t.query[s],o.add(s);break}}return e};return{getRouteQueryParams:i,getQueryParamsFromFilterParams:(r,e)=>{var n;let t=i(r);const{removeListRecordByKey:o}=a();return(n=e.destinationIds)!=null&&n.length?t.dest=e.destinationIds.join(","):e.destinationId&&(t.dest=e.destinationId.toString()),e.sort&&e.sort.field&&e.sort.direction?(e.sort.field==="name"&&(t.sortName=e.sort.direction.toString(),t=o(t,"sortPrice")),e.sort.field==="price"&&(t.sortPrice=e.sort.direction.toString(),t=o(t,"sortName"))):(t=o(t,"sortName"),t=o(t,"sortPrice")),e.priceRange&&e.priceRange.length===2&&(t.priceMin=Math.round(e.priceRange[0]).toString(),t.priceMax=Math.round(e.priceRange[1]).toString()),e.page&&(t.page=e.page.toString()),e.duration&&(t.duration=e.duration),t}}}export{a,f as u};
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.