PageSourceSearch

https://saofranciscodegoias.go.gov.br/wp-content/themes/araguaia/b…/view.js?ver=c860cbd5bdea67f84e4d

js saofranciscodegoias.go.gov.br collected 2026-10-06 00:17:33 UTC 2,467 bytes, 1 lines download raw bytes

1(()=>{"use strict";const e=window.wp.element,a=window.wp.data,t=window.wp.url,r=window.location.href,s={params:(0,t.getQueryArgs)(r),values:{}},n=(0,a.createReduxStore)("search-params",{reducer(e=s,a){switch(a.type){case"SET_SEARCH_PARAM":return{...e,params:{...e.params,[a.param]:a.value}};case"SET_SEARCH_PARAMS":{const r={...e.params,...a.searchParams},s=window.location.href,n=(0,t.addQueryArgs)(s,r);return window.history.replaceState({},document.title,n),{...e,params:{...e.params,...a.searchParams}}}case"UNSET_SEARCH_PARAMS":{const a=window.location.href.split("?")[0];return window.history.replaceState({},document.title,a),{...e,params:{},values:{...e.values,search:""}}}case"SET_VALUE":return{...e,values:{...e.values,[a.key]:a.value}};default:return e}},actions:{setParam:(e,a)=>({type:"SET_SEARCH_PARAM",param:e,value:a}),setParams:e=>({type:"SET_SEARCH_PARAMS",searchParams:e}),unSetParams:()=>({type:"UNSET_SEARCH_PARAMS"}),setValue:(e,a)=>({type:"SET_VALUE",key:e,value:a})},selectors:{getParam:(e,a)=>e.params[a],getParams:e=>e.params,unSetParams:e=>e.params,getValue:(e,a)=>e.values[a]},controls:{},resolvers:{}});(0,a.select)(n)||(0,a.register)(n);const l=window.ReactJSXRuntime,o=({clientId:e,taxonomy:t,allItemsLabel:r})=>{const s=Object.values(window[e][t]),o=(0,a.useSelect)(e=>e(n).getParams(),[]),{setParams:c}=(0,a.dispatch)(n),i=e=>{c({[t]:e.toString(),pg:1})},d=(e,a)=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a())};return(0,l.jsxs)("div",{className:"filters-wrapper",children:[(0,l.jsxs)("div",{className:"filter-item "+(o[t]?"":"active"),onClick:()=>i(""),onKeyDown:e=>d(e,()=>i("")),role:"button",tabIndex:0,children:[(0,l.jsx)("span",{children:r}),(0,l.jsx)("i",{className:"icon nmi-default-arrow-forward"})]}),s?.map(e=>(0,l.jsxs)("div",{className:"filter-item has-background has-text-color "+(o[t]?.toString()===e.value.toString()?"active":""),onClick:()=>i(e.value),onKeyDown:a=>d(a,()=>i(e.value)),role:"button",tabIndex:0,children:[(0,l.jsx)("span",{children:e.label}),(0,l.jsx)("i",{className:"icon nmi-default-arrow-forward"})]},e.value))]})};var c;c=()=>{const a=document.querySelectorAll(".wp-block-araguaia-sidebar-filters");a?.forEach(a=>{a&&(0,e.render)((0,l.jsx)(o,{clientId:a.dataset.clientid,taxonomy:a.dataset.taxonomy,allItemsLabel:a.dataset.allItemsLabel}),a)})},(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?c():document.addEventListener("DOMContentLoaded",c)})();

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.