1"use strict";(self.webpackChunkkokuai_portal=self.webpackChunkkokuai_portal||[]).push([[4498],{94498:function(e,n,a){a.r(n),a.d(n,{PWAInstallation:function(){return p},default:function(){return f}});var t=a(74165),r=a(15861),s=a(29439),c=a(88391),i=a(20657),l=a(6280);var u=a.p+"static/media/share-apple.265c9b61e28239011a6bb69fc5e527b1.svg",o=a(34380),d=a(24948),m=a(23712);function p(){var e=(0,o.F)().deviceType,n=(0,c.useMemo)((function(){return"iphone"===e||"ipad"===e}),[e]),a=(0,c.useMemo)((function(){return"android-phone"===e||"android-tablet"===e}),[e]),p=(0,c.useState)((function(){return(0,d.dB)()})),f=(0,s.Z)(p,2),h=f[0],x=f[1];function b(){return(b=(0,r.Z)((0,t.Z)().mark((function e(){var n,a;return(0,t.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=(0,d.dB)()){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,n.prompt();case 5:return e.next=7,n.userChoice;case 7:a=e.sent,"accepted"===a.outcome&&((0,d.mr)(),x(null));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,c.useEffect)((function(){var e=(0,d.BJ)((function(){x((0,d.dB)())}));return x((0,d.dB)()),function(){e()}}),[]),(0,m.jsx)("div",{className:"d-flex align-items-center justify-content-center min-vh-100",style:{backgroundColor:"#DCE9D5"},children:(0,m.jsx)(i.KB,{className:"py-3",children:(0,m.jsx)(i.rb,{className:"justify-content-center",children:(0,m.jsx)(i.b7,{xs:12,md:8,lg:6,children:(0,m.jsx)(i.xH,{className:"text-center",children:(0,m.jsxs)(i.sl,{className:"p-3",children:[(0,m.jsx)("img",{className:"py-3 mb-4",src:l.Z,height:75,alt:"Kokuai Logo"}),(0,m.jsx)(i.tj,{className:"mb-3",children:"Instala la aplicaci\xf3n de Kokuai en tu pantalla de inicio para un acceso m\xe1s r\xe1pido y f\xe1cil."}),(0,m.jsxs)("div",{className:"d-flex flex-column align-items-center w-100",children:[n&&(0,m.jsxs)(i.uS,{className:"text-start w-100 mb-3",children:["Pulsa",(0,m.jsx)("img",{src:u,alt:"Share Icon",style:{width:20,marginLeft:6,marginRight:6}}),"y luego \u201cA\xf1adir a pantalla de inicio\u201d."]}),a&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.uS,{className:"text-start w-100 mb-3",children:'Pulsa "Instalar" o "A\xf1adir a la pantalla de inicio" en el men\xfa de opciones.'}),(0,m.jsx)(i.u5,{color:"primary",onClick:function(){return b.apply(this,arguments)},className:"mb-3",disabled:!h,children:"Instalar"})]})]})]})})})})})})}var f=p}}]);
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.