PageSourceSearch

https://reg-kursk.ru/build/assets/dialog-D9nKO9Xa.js

js reg-kursk.ru collected 2026-10-02 06:45:22 UTC 5,273 bytes, 1 lines download raw bytes

1import{r as u,j as i}from"./app-tjZ_-OOu.js";import{j as v,q as j,f as $,aM as k,aN as R,c,a as d,aO as z,aP as b,aQ as y,aR as N,aS as D,aT as C,X as F}from"./sonner-BnWx1Tnu.js";function M(s){const a=u.useRef({value:s,previous:s});return u.useMemo(()=>(a.current.value!==s&&(a.current.previous=a.current.value,a.current.value=s),a.current.previous),[s])}const n=(s,a)=>({url:n.url(s,a),method:"get"});n.definition={methods:["get","head"],url:"/download/{id}"};n.url=(s,a)=>{(typeof s=="string"||typeof s=="number")&&(s={id:s}),Array.isArray(s)&&(s={id:s[0]}),s=v(s);const e={id:s.id};return n.definition.url.replace("{id}",e.id.toString()).replace(/\/+$/,"")+j(a)};n.get=(s,a)=>({url:n.url(s,a),method:"get"});n.head=(s,a)=>({url:n.url(s,a),method:"head"});const h=(s,a)=>({action:n.url(s,a),method:"get"});h.get=(s,a)=>({action:n.url(s,a),method:"get"});h.head=(s,a)=>({action:n.url(s,$("head",a)),method:"get"});n.form=h;const _={download:n},Q=k,U=R,P=z,w=u.forwardRef((s,a)=>{const e=c.c(9);let o,t;e[0]!==s?({className:o,...t}=s,e[0]=s,e[1]=o,e[2]=t):(o=e[1],t=e[2]);let l;e[3]!==o?(l=d("fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-summer-night/65 backdrop-blur-[10px] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",o),e[3]=o,e[4]=l):l=e[4];let r;return e[5]!==t||e[6]!==a||e[7]!==l?(r=i.jsx(D,{ref:a,className:l,...t}),e[5]=t,e[6]=a,e[7]=l,e[8]=r):r=e[8],r});w.displayName=D.displayName;const S=u.forwardRef((s,a)=>{const e=c.c(17);let o,t,l,r;e[0]!==s?({className:t,children:o,paymentStatus:l,...r}=s,e[0]=s,e[1]=o,e[2]=t,e[3]=l,e[4]=r):(o=e[1],t=e[2],l=e[3],r=e[4]);let m;e[5]!==t?(m=d("relative z-50 flex flex-col max-h-dvh md:max-h-[calc(100dvh-96px-96px)] w-full max-w-[634px] bg-white duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:rounded-gos-6",t),e[5]=t,e[6]=m):m=e[6];const x=r["aria-describedby"]||void 0;let p;e[7]!==l?(p=l&&i.jsx("div",{className:"flex justify-center px-gos-12 pt-gos-12",children:i.jsx("img",{src:l==="success"?"/img/base/payment-success.png":"/img/base/payment-fail.png",alt:l==="success"?"Оплата прошла успешно":"Оплата не выполнена",className:"h-auto w-[120px]"})}),e[7]=l,e[8]=p):p=e[8];let f;e[9]===Symbol.for("react.memo_cache_sentinel")?(f=i.jsxs(C,{className:"absolute top-gos-12 right-gos-12 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i.jsx(F,{className:"text-gosblue",size:24}),i.jsx("span",{className:"sr-only",children:"Close"})]}),e[9]=f):f=e[9];let g;return e[10]!==o||e[11]!==r||e[12]!==a||e[13]!==m||e[14]!==x||e[15]!==p?(g=i.jsx(P,{children:i.jsx(w,{children:i.jsxs(b,{ref:a,className:m,"aria-describedby":x,...r,children:[p,o,f]})})}),e[10]=o,e[11]=r,e[12]=a,e[13]=m,e[14]=x,e[15]=p,e[16]=g):g=e[16],g});S.displayName=b.displayName;const T=s=>{const a=c.c(8);let e,o;a[0]!==s?({className:e,...o}=s,a[0]=s,a[1]=e,a[2]=o):(e=a[1],o=a[2]);let t;a[3]!==e?(t=d("flex flex-col text-left shrink-0 px-gos-12 pt-gos-12 pb-gos-8",e),a[3]=e,a[4]=t):t=a[4];let l;return a[5]!==o||a[6]!==t?(l=i.jsx("div",{className:t,...o}),a[5]=o,a[6]=t,a[7]=l):l=a[7],l};T.displayName="DialogHeader";const O=s=>{const a=c.c(5),{className:e,children:o}=s;let t;a[0]!==e?(t=d("flex-1 min-h-0 overflow-y-auto pl-gos-12 pr-gos-12 py-gos-4","scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-transparent","hover:scrollbar-thumb-gray-400","[&::-webkit-scrollbar]:w-2","[&::-webkit-scrollbar-track]:bg-transparent","[&::-webkit-scrollbar-thumb]:bg-gray-300","[&::-webkit-scrollbar-thumb]:rounded-full","[&::-webkit-scrollbar-thumb]:hover:bg-gray-400",e),a[0]=e,a[1]=t):t=a[1];let l;return a[2]!==o||a[3]!==t?(l=i.jsx("div",{className:t,children:o}),a[2]=o,a[3]=t,a[4]=l):l=a[4],l};O.displayName="DialogBody";const A=s=>{const a=c.c(8);let e,o;a[0]!==s?({className:e,...o}=s,a[0]=s,a[1]=e,a[2]=o):(e=a[1],o=a[2]);let t;a[3]!==e?(t=d("flex flex-col-reverse sm:flex-row sm:justify-end gap-gos-8 shrink-0 px-gos-12 pb-gos-12 pt-gos-8",e),a[3]=e,a[4]=t):t=a[4];let l;return a[5]!==o||a[6]!==t?(l=i.jsx("div",{className:t,...o}
1),a[5]=o,a[6]=t,a[7]=l):l=a[7],l};A.displayName="DialogFooter";const E=u.forwardRef((s,a)=>{const e=c.c(9);let o,t;e[0]!==s?({className:o,...t}=s,e[0]=s,e[1]=o,e[2]=t):(o=e[1],t=e[2]);let l;e[3]!==o?(l=d("pr-gos-12 text-h3",o),e[3]=o,e[4]=l):l=e[4];let r;return e[5]!==t||e[6]!==a||e[7]!==l?(r=i.jsx(y,{ref:a,className:l,...t}),e[5]=t,e[6]=a,e[7]=l,e[8]=r):r=e[8],r});E.displayName=y.displayName;const q=u.forwardRef((s,a)=>{const e=c.c(9);let o,t;e[0]!==s?({className:o,...t}=s,e[0]=s,e[1]=o,e[2]=t):(o=e[1],t=e[2]);let l;e[3]!==o?(l=d("text-plain-small text-muted-foreground",o),e[3]=o,e[4]=l):l=e[4];let r;return e[5]!==t||e[6]!==a||e[7]!==l?(r=i.jsx(N,{ref:a,className:l,...t}),e[5]=t,e[6]=a,e[7]=l,e[8]=r):r=e[8],r});q.displayName=N.displayName;export{T as D,_ as F,E as a,q as b,A as c,Q as d,S as e,O as f,U as g,M 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.