PageSourceSearch

https://www.msp.gov.ua/_next/static/chunks/7356.141d7ca29d50f3b9.js

js msp.gov.ua collected 2026-10-02 02:48:07 UTC 12,932 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7356],{91296:function(e,t,n){var a=0/0,l=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,u=o||d||Function("return this")(),m=Object.prototype.toString,f=Math.max,x=Math.min,h=function(){return u.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==m.call(t))return a;if(g(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=g(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var o=i.test(e);return o||s.test(e)?c(e.slice(2),o?2:8):r.test(e)?a:+e}e.exports=function(e,t,n){var a,l,r,i,s,c,o=0,d=!1,u=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=a,r=l;return a=l=void 0,o=t,i=e.apply(r,n)}function v(e){var n=e-c,a=e-o;return void 0===c||n>=t||n<0||u&&a>=r}function j(){var e,n,a,l=h();if(v(l))return w(l);s=setTimeout(j,(e=l-c,n=l-o,a=t-e,u?x(a,r-n):a))}function w(e){return(s=void 0,m&&a)?b(e):(a=l=void 0,i)}function y(){var e,n=h(),r=v(n);if(a=arguments,l=this,c=n,r){if(void 0===s)return o=e=c,s=setTimeout(j,t),d?b(e):i;if(u)return s=setTimeout(j,t),b(c)}return void 0===s&&(s=setTimeout(j,t)),i}return t=p(t)||0,g(n)&&(d=!!n.leading,r=(u="maxWait"in n)?f(p(n.maxWait)||0,t):r,m="trailing"in n?!!n.trailing:m),y.cancel=function(){void 0!==s&&clearTimeout(s),o=0,a=c=l=s=void 0},y.flush=function(){return void 0===s?i:w(h())},y}},85130:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(85893);function l(e){let{className:t,size:n=24,color:l="black"}=e;return(0,a.jsx)("svg",{className:t,width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{className:"fill-current",fillRule:"evenodd",clipRule:"evenodd",d:"M12.287 2.0625L22.6995 12.0018L12.3287 21.9012L11.0323 20.6638L19.1949 12.8722L1.91406 12.8369L1.91798 11.087L19.1854 11.1222L10.9906 3.29994L12.287 2.0625Z",fill:""})})}n(67294)},59565:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(85893);function l(e){let{className:t,size:n=24}=e;return(0,a.jsx)("svg",{className:t,width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M12 21C9.4875 21 7.35938 20.1281 5.61563 18.3844C3.87188 16.6406 3 14.5125 3 12C3 9.4875 3.87188 7.35938 5.61563 5.61563C7.35938 3.87188 9.4875 3 12 3C13.2937 3 14.5312 3.26737 15.7125 3.80212C16.8938 4.33613 17.9062 5.1 18.75 6.09375V3H21V10.875H13.125V8.625H17.85C17.25 7.575 16.4299 6.75 15.3896 6.15C14.3487 5.55 13.2187 5.25 12 5.25C10.125 5.25 8.53125 5.90625 7.21875 7.21875C5.90625 8.53125 5.25 10.125 5.25 12C5.25 13.875 5.90625 15.4687 7.21875 16.7812C8.53125 18.0938 10.125 18.75 12 18.75C13.4437 18.75 14.7469 18.3375 15.9094 17.5125C17.0718 16.6875 17.8875 15.6 18.3562 14.25H20.7188C20.1937 16.2375 19.125 17.8593 17.5125 19.1156C15.9 20.3719 14.0625 21 12 21Z",className:"fill-current"})})}n(67294)},37356:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var a=n(85893),l=n(67294),r=n(16887),i=n(95364),s=n(91296),c=n.n(s),o=n(72104),d=n(74560),u=n(20944),m=n(23276),f=n(98388),x=n(70595);function h(e){let{data:t,placeholder:n,value:s=[],onChange:h,disabled:g=!1,disabledTooltip:p}=e,{t:b}=(0,r.$G)(),v=null!=n?n:b("select_placeholder"),[j,w]=(0,l.useState)(!1),[y,N]=(0,l.useState)(""),[k,C]=(0,l.useState)(""),[_,L]=(0,l.useState)(!1),T=(0,l.useMemo)(()=>c()(e=>C(e),300),[]);(0,l.useEffect)(()=>{g&&(w(!1),L(!1))},[g]);let O=e=>{s.some(t=>t.id===e.id)?h(s.filter(t=>t.id!==e.id)):h([...s,e])},E=t.filter(e=>e.label.toLowerCase().includes(k.toLowerCase())),M=g?_:j;return(0,a.jsxs)(x.J2,{open:M,onOpenChange:e=>{if(g){L(e);return}w(e)},children:[(0,a.jsx)(x.xo,{asChild:!0,onClick:()=>{g||w(!j)},onMouseEnter:()=>{g&&L(!0)},onMouseLeave:()=>{g&&L(!1)},onFocus:()=>{g&&L(!0)},onBlur:()=>{g&&L(!1)},children:(0,a.jsx)("div",{className:"w-fit max-sm:w-full max-sm:min-w-0",children:(0,a.jsxs)(i.z,{className:"gap-2 bg-white text-black px-6 max-sm:w-full max-sm:justify-between max-sm:min-w-0 max-sm:px-4 hover:after:opacity-0",disabled:g,"aria-disabled":g,"aria-label":s.length>0?"".concat(v,", ").concat(b("selected"),": ").concat(s.map(e=>e.label).join(", ")):"".concat(v,": ").concat(b("all")),title:g?p:void 0,children:[(0,a.jsxs)("span",{className:"truncate max-sm:max-w-[70vw]",children:[v,":"]}
1),(0,a.jsxs)("span",{className:"inline-flex items-center ml-auto whitespace-nowrap shrink-0",children:[s.length>0?s.length:b("all"),(0,a.jsx)(d.Z,{className:(0,f.m6)(j&&"rotate-180")})]})]})})}),g?(0,a.jsx)(x.yk,{side:"top",align:"center",className:"max-w-xs text-sm text-black text-center",children:p}):(0,a.jsxs)(x.yk,{align:"start",className:"flex flex-col gap-4 w-fit max-h-[calc(var(--radix-popper-available-height)-1.5rem)] md:max-h-[22.25rem] p-4 md:p-6 [&>span]:hidden",children:[(0,a.jsxs)("div",{className:"relative flex",children:[(0,a.jsx)(o.I,{type:"text",className:"bg-container w-full",placeholder:b("search"),value:y,onChange:e=>{N(e.target.value),T(e.target.value)}}),y?(0,a.jsx)("button",{type:"button",className:"absolute right-0 top-0 bottom-0 flex items-center justify-center px-5",onClick:()=>{N(""),C("")},children:(0,a.jsx)(u.Z,{size:24})}):(0,a.jsx)(m.Z,{className:"absolute right-6 top-4 pointer-events-none"})]}),(0,a.jsx)("div",{role:"menu",className:(0,f.m6)("grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-4 gap-y-4 md:gap-y-6 overflow-auto",E.length<3&&"md:grid-cols-2"),onKeyDown:e=>{let t=Array.from(e.currentTarget.querySelectorAll('[tabindex="0"]')),n=t.indexOf(document.activeElement);"ArrowDown"===e.key&&n<t.length-1&&(e.preventDefault(),t[n+1].focus()),"ArrowUp"===e.key&&n>0&&(e.preventDefault(),t[n-1].focus())},children:E.length>0?E.map(e=>{let t=s.some(t=>t.id===e.id);return(0,a.jsxs)("div",{tabIndex:0,role:"menuitemcheckbox","aria-checked":t,"aria-label":t?"".concat(e.label,": ").concat(b("selected")):"".concat(e.label,": ").concat(b("not_selected")),"data-state":t?"checked":"unchecked",onClick:()=>O(e),onKeyDown:t=>{"Enter"===t.key&&O(e)},className:"flex items-center justify-between gap-3 rounded-xl px-3 py-3 cursor-pointer data-[state=checked]:bg-[#eef5f5] hover:bg-[#f4f6f7]",children:[(0,a.jsx)("span",{className:"text-left",children:e.label}),t&&(0,a.jsx)(u.Z,{size:16,className:"shrink-0 opacity-70"})]},e.id)}):(0,a.jsx)("p",{className:"text-sm text-grey1",children:b("empty_search_title")})})]})]})}var g=n(59565),p=n(33359),b=e=>{let{filters:t,title:n,background:s,required_filter_tooltip_text:c}=e,{t:o}=(0,r.$G)(),{setActiveTags:d}=(0,p.m)(),[m,f]=(0,l.useState)({}),x=(0,l.useMemo)(()=>t.find(e=>e.is_required_to_select),[t]),b=!!x,v=(0,l.useMemo)(()=>{var e,t;return!x||(null!==(t=null===(e=m[x.name])||void 0===e?void 0:e.length)&&void 0!==t?t:0)>0},[m,x]),j=(0,l.useMemo)(()=>Object.values(m).some(e=>(null==e?void 0:e.length)>0),[m]),w=e=>{d(Object.values(e).flat())},y=(e,t)=>{f(n=>b&&!v&&e!==(null==x?void 0:x.name)?n:x&&e===x.name&&0===t.length?{}:{...n,[e]:t})},N=(e,t)=>{f(n=>{var a;let l={...n,[e]:null===(a=n[e])||void 0===a?void 0:a.filter(e=>e.id!==t)};return x&&e===x.name&&(!l[e]||0===l[e].length)?{}:l})},k={default:"bg-container",grey:"bg-[#F1F1F1]"},C=(null==k?void 0:k[s])||k.default,_=c||o("select_child_age_first");return(0,a.jsxs)("section",{"data-filters-section":!0,className:"".concat(C," rounded-20 py-8 px-4 md:px-8 my-4 md:my-5"),children:[n&&(0,a.jsx)("p",{className:"text-md md:text-[24px] leading-snug mb-6",children:n}),(0,a.jsxs)("form",{onSubmit:e=>e.preventDefault(),className:"w-full flex flex-col gap-6",children:[(0,a.jsx)("div",{className:"flex flex-row flex-wrap gap-4",children:t.map(e=>(0,a.jsx)(h,{placeholder:e.place_holder,data:e.options,value:m[e.name]||[],onChange:t=>y(e.name,t),disabled:b&&!v&&e.name!==(null==x?void 0:x.name),disabledTooltip:_},e.name))}),j&&(0,a.jsx)("div",{className:"flex flex-row flex-wrap gap-2 md:gap-4 mt-4",children:Object.entries(m).map(e=>{let[t,n]=e;return n.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-1 bg-white px-4 pr-2 py-2 rounded-full",children:[(0,a.jsx)("p",{className:"flex-1",children:e.label}),(0,a.jsx)(i.z,{variant:"gray","aria-label":o("remove_tag"),onClick:()=>N(t,e.id),className:"p-1 bg-transparent text-black hover:bg-grey1",children:(0,a.jsx)(u.Z,{size:16})})]},"".concat(t,"-").concat(e.id)))})}),(0,a.jsxs)("div",{className:"flex gap-4 mt-4 flex-wrap",children:[(0,a.jsx)(i.z,{type:"button",className:"max-sm:w-full",onClick:()=>{w(m)},children:o("show_results")}),j&&(0,a.jsxs)(i.z,{type:"button",variant:"link",className:"gap-2 p-0 max-sm:w-full",onClick:()=>{f({}),d([])},children:[(0,a.jsx)(g.Z,{}),o("clear_search")]})]})]})]})},v=n(2195);function j(e){let{settings:t,filters:n,title:l,background:r,required_filter_tooltip_text:i}=e;return(0,a.jsx)(v.Z,{settings:t,children:(0,a.jsx)(b,{filters:n,title:l,background:r,required_filter_tooltip_text:i})})}},72104:function(e,t,n){"use strict";n.d(t,{I:function(){return s}});var a=n(85893),l=n(67294),r={src:"/_next/static/media/warning.3b2100df.svg"},i=n(27742);let s=l.forwardRef((e,t)=>
1{let{className:n,type:l,...s}=e,c=!!s["aria-invalid"];return(0,a.jsx)("input",{type:l,className:(0,i.cn)("flex w-full rounded-full bg-white px-6 py-4 transition-colors border-none text-ellipsis file:border-0 max-w-full file:bg-transparent file:text-sm file:font-medium file:text-neutral-950 placeholder:text-neutral-500 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-indigo-600 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-800 dark:file:text-neutral-50 dark:placeholder:text-neutral-400 dark:focus-visible:ring-neutral-300",'aria-[invalid=true]:pr-14 aria-[invalid=true]:border aria-[invalid=true]:border-solid aria-[invalid=true]:border-warning aria-[invalid=true]:text-warning")] aria-[invalid=true]:bg-no-repeat aria-[invalid=true]:bg-[length:1.5rem] aria-[invalid=true]:bg-[center_right_20px]',n),style:{backgroundImage:c?'url("'.concat(r.src,'")'):void 0},ref:t,...s})});s.displayName="Input"},2195:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var a=n(85893);n(67294);var l=n(55915),r=n(9003),i=n(41664),s=n.n(i),c=n(85130),o=n(14263),d=n(39846),u=n(95364),m=n(98388),f=n(27742);function x(e){let{id:t,children:n,settings:i}=e,{title:x,title_component:h,background_color:g,button:p,button_position:b,wrap_content:v,disable_padding:j,disable_margin:w}=i||{},y=g?(0,d.Z)(g):"",N=!g||"bg-white"===y,k=h||"h2";return(0,a.jsx)("section",{id:t,className:(0,f.cn)(i&&!j&&(v?"py-8 md:py-20":"mb-8 md:mb-20"),j&&!w&&"mb-6 md:mb-10",w&&"mb-0 md:mb-0",!i&&"mb-8 md:mb-20",!N&&!v&&"px-4 py-6 rounded",y,e.sectionClassName),children:(0,a.jsxs)(l.default,{fullWidth:!v,className:"grid grid-cols-1 md:grid-cols-[1fr_auto] items-center gap-6 md:gap-10",children:[x&&(0,a.jsx)(k,{className:(0,m.m6)("max-md:mb-2","h2"===k&&"h2","h3"===k&&"h3"),children:x}),p&&b===r.Wm.INLINE&&(0,a.jsx)("div",{className:"max-md:order-1 md:text-right",children:(0,a.jsxs)(s(),{href:(0,o.Rg)(p.link),className:"inline-flex items-center gap-4 hover:underline",children:[p.label,(0,a.jsx)(c.Z,{})]})}),(0,a.jsx)("div",{className:"md:col-span-2",children:n}),p&&b===r.Wm.BOTTOM&&(0,a.jsx)("div",{className:"",children:(0,a.jsx)(u.z,{asChild:!0,className:"max-sm:w-full",children:(0,a.jsx)(s(),{href:(0,o.Rg)(p.link),children:p.label})})})]})})}},39846:function(e,t,n){"use strict";function a(e){return e?({yellow:"bg-yellow",gradient:"bg-[linear-gradient(90deg,rgba(249,168,0,0.8),rgba(0,174,239,0.8))]",gradientLight:"bg-[linear-gradient(90deg,rgba(0,174,239,0.2),rgba(249,168,0,0.2))]",block:"bg-block",white:"bg-white",gray:"bg-container",lightGray:"bg-gray-100",lightBlue:"bg-lightBlue"})[e]:""}n.d(t,{Z:function(){return a}})},9003:function(e,t,n){"use strict";var a,l,r,i,s,c,o,d,u,m,f,x,h,g,p,b;n.d(t,{Qb:function(){return i},Wm:function(){return l},hM:function(){return c},mQ:function(){return d},yl:function(){return r}}),(u=a||(a={})).EN="en",u.UK="uk",(m=l||(l={})).INLINE="inline",m.BOTTOM="bottom",(f=r||(r={})).LINK="link",f.ATTACHMENT="attachment",(x=i||(i={})).ROW="row",x.COLUMN="column",(h=s||(s={})).white="white",h.tealWhite="tealWhite",h.lightGreen="lightGreen",h.darkGreen="darkGreen",h.lightGray="lightGray",(g=c||(c={})).access_to_public_information="Електронна форма запиту на публічну інформацію",g.electronic_request="Електронне звернення громадянина",(p=o||(o={})).HALF="half",p.THIRD="third",p.FULL="full",(b=d||(d={})).SHORT_TEXT="short_text",b.LONG_TEXT="long_text",b.NUMBER="number",b.SELECT="select",b.CHECKBOX="checkbox",b.RADIO="radio",b.DATE="date",b.EMAIL="email",b.FILE="file"}}]);

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.