PageSourceSearch

https://realitni-pes.cz/assets/authRedirect-BGt_PM4r.js

js realitni-pes.cz collected 2026-10-07 00:52:29 UTC 1,689 bytes, 10 lines download raw bytes

1import{j as t}from"./index-DYSxZb0c.js";import{D as c,a as d,b as p}from"./DialogTitle-BdTAtlsk.js";import{D as u,a as f}from"./DialogContentText-VbR22gKF.js";import{a}from"./Button-cOKPiu6O.js";import{r as m}from"./components-t_mF0GA0.js";/**
2 * @remix-run/server-runtime v2.17.4
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */const l=(e,r=302)=>m(e,r);function g({watchOfferId:e,open:r,handleClose:n}){return t.jsxs(c,{open:r,onClose:()=>n(),PaperProps:{component:"form",onSubmit:async s=>{s.preventDefault();try{const o=await fetch(`/api/watch-offers/${e}`,{method:"DELETE"});if(o.ok)n({isSuccess:!0});else{const i=await o.json();n({isSuccess:!1,error:i.errorMessage||"Chyba při mazání sledování nabídky"})}}catch{n({isSuccess:!1,error:"Chyba při mazání sledování nabídky"})}}},children:[t.jsx(d,{children:"Opravdu si přejete odstranit sledování této nabídky?"}),t.jsx(p,{sx:{display:"flex",flexDirection:"column",gap:2,width:"100%"},children:t.jsxs(u,{children:["Pokud tuto nabídku přestanete sledovat, nedostanete žádné upozornění pokud se změní ",t.jsx("b",{children:"cena"})," této nabídky nebo bude tato nabídka ",t.jsx("b",{children:"odstraněna"}),"."]})}),t.jsxs(f,{sx:{pb:3,px:3},children:[t.jsx(a,{onClick:()=>n(),children:"Zavřít"}),t.jsx(a,{variant:"contained",type:"submit",children:"Odstranit"})]})]})}function k(e){const{pathname:r,search:n}=new URL(e.url);return r+n}function y(e,r){if(e.status===401)throw l(`/prihlasit?redirectAfter=${encodeURIComponent(r)}`)}export{g as R,k as g,y as t};

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.