PageSourceSearch

https://www.administradores.com.br/_next/static/chunks/5216.9533648b20b0ed26.js

js administradores.com.br collected 2026-10-01 10:18:37 UTC 1,950 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5216],{45216:(e,s,l)=>{l.r(s),l.d(s,{default:()=>n});var a=l(37876),t=l(78028),c=l(32607),i=l(80807),r=l(14232);let d=e=>t.A.get(e).then(e=>e.data);function n(e){let{accessKey:s,imageChoosed:l,setimageChoosed:t}=e,[n,m]=(0,r.useState)(""),{data:o,error:p}=(0,c.A)(n&&n.length>=3?"https://api.unsplash.com/search/photos?per_page=9&lang=pt&orientation=landscape&query=".concat(n,"&client_id=").concat(s):null,d);return(0,a.jsx)("div",{className:"col-12 mt-3 mb-2",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{className:"text-uppercase mb-1 text-gray-light",htmlFor:"imagem",children:"Imagem"}),(0,a.jsx)("input",{value:n,onChange:e=>{m(e.target.value)},type:"text",className:"form-control",id:"imagem",placeholder:"Busque pela imagem (Unsplash)"}),(0,a.jsxs)("div",{className:"row mt-3",children:[(l&&!o||l&&!o.results.filter(e=>e.id==l.id).length)&&(0,a.jsx)("div",{className:"col-12 my-2",children:(0,a.jsxs)("div",{style:{cursor:"pointer"},className:"card",children:[(0,a.jsx)("img",{className:"img-fluid",onClick:()=>{t("")},style:{aspectRatio:"16/4",objectFit:"cover"},src:l.urls.regular,alt:l.alt_description,title:l.description}),(0,a.jsx)("div",{className:"card-body text-center p-0 py-2",children:(0,a.jsxs)("p",{className:"card-text p-0",children:["Selecionado ",(0,a.jsx)(i.iBF,{size:24})]})})]})}),o&&o.results.length>0&&o.results.map(e=>(0,a.jsx)("div",{className:"col-md-4 col-6 my-2",children:(0,a.jsxs)("div",{style:{cursor:"pointer"},className:"card",children:[(0,a.jsx)("img",{className:"img-fluid",src:e.urls.small,alt:e.alt_description,title:e.description,onClick:()=>{if(l===e)return void t("");t(e)}}),l&&l.urls.small===e.urls.small&&(0,a.jsx)("div",{className:"card-body text-center p-0 py-2",children:(0,a.jsxs)("p",{className:"card-text p-0",children:["Selecionado ",(0,a.jsx)(i.iBF,{size:24})]})})]})},e.id))]})]})})}}}]);

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.