1"use strict";(self.webpackChunkfacua=self.webpackChunkfacua||[]).push([[5772],{48675:function(e,t,a){var n=a(67294),s=a(20574),r=a(68835);t.Z=e=>{let{links:t,isDarkMode:a=!1}=e;return n.createElement("div",{className:"mx-auto border-y border-y-gray-200"+(a?" text-white":"")},n.createElement("div",{className:"flex flex-row mx-auto max-w-content items-center justify-start gap-2 px-3 py-2 text-xs md:text-sm"},n.createElement("button",{onClick:()=>{"undefined"!=typeof window&&window.history.length>1?window.history.back():(0,s.navigate)("/")}},n.createElement(r.Z,{className:"h-6 w-6"})),t.map(((e,t)=>n.createElement("div",{key:t},0!=t&&n.createElement("span",{className:"pr-2"},"/"),e&&e.link&&n.createElement(s.Link,{to:e.link},n.createElement("span",null,e.name)),e&&!e.link&&n.createElement("span",{className:"overflow-hidden truncate"},e.name))))))}},33175:function(e,t,a){a.r(t);var n=a(67294),s=a(5497),r=a(98347),c=a(48675);t.default=()=>{const{0:e,1:t}=(0,n.useState)("Encuestas"),{0:a,1:l}=(0,n.useState)(""),o=(0,n.useRef)(null);return(0,n.useEffect)((()=>{const e=new URLSearchParams(window.location.search),a=e.get("encuesta"),n=e.get("title");a&&l(a),n&&t(n);const s=e=>{if("object"==typeof e.data&&e.data.frameHeight){const t=e.data.frameHeight;o.current&&(o.current.style.height=`${t}px`)}"object"==typeof e.data&&e.data.scrollToTop&&window.scrollTo(0,0)};return window.addEventListener("message",s),()=>{window.removeEventListener("message",s)}}),[]),n.createElement(s.Z,{isHomePage:!0},n.createElement(r.Z,{title:e||"Encuestas",description:"Participa en las encuestas de FACUA sobre cuestiones que te afectan como consumidor."}),n.createElement(c.Z,{links:[{name:"Encuestas",link:"/encuestas"}]}),!!a&&n.createElement("div",{className:"max-w-content p-4"},n.createElement("iframe",{ref:o,src:a,className:"w-full min-h-[500px]",sandbox:"allow-scripts allow-same-origin allow-forms allow-popups"},n.createElement("p",null,"Tu navegador no soporta iframes."))))}}}]);
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.